-
Notifications
You must be signed in to change notification settings - Fork 1
/
json_schema.json.uzi.example
105 lines (105 loc) · 2.67 KB
/
json_schema.json.uzi.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://localhost:8006/json-schema.json",
"title": "userinfo",
"description": "JSON Schema for the userinfo endpoint",
"type": "object",
"properties": {
"initials": {
"type": "string",
"description": "The Initials of the Subject"
},
"surname": {
"type": "string",
"description": "The Surname of the Subject"
},
"surname_prefix": {
"type": "string",
"description": "The Surname Prefix of the Subject"
},
"uzi_id": {
"type": "string",
"description": "The UZI number of the Subject"
},
"relations": {
"type": "array",
"description": "The relations of the Subject",
"items": {
"type": "object",
"properties": {
"entity_name": {
"type": "string",
"description": "The name of the relationl"
},
"roles": {
"type": "array",
"description": "The roles of the subject for this relation",
"items": {
"type": "string",
"properties": {
"rolecode": {
"type": "string",
"description": "The rolecode of this relation"
}
},
"required": [
"rolecode"
]
}
}
},
"required": [
"entity_name",
"roles"
]
}
},
"loa_uzi": {
"type": "string",
"description": "The level of assurance of the credentials stored at UZI"
},
"session_id": {
"type": "string",
"description": "The id of the session created at the Issuer."
},
"loa_authn": {
"type": "string",
"description": "The level of assurance of the authentication performed at the Issuer."
},
"iss": {
"type": "string",
"description": "The identifier of the Issuer of the userinfo."
},
"aud": {
"type": "string",
"description": "The audience(s) that the userinfo is intended for."
},
"nbf": {
"type": "integer",
"description": "The time before which the userinfo MUST NOT be accepted for processing."
},
"exp": {
"type": "integer",
"description": "The time on or after which the userinfo MUST NOT be accepted for processing."
},
"x5c": {
"type": "string",
"description": "The client pubkey used for authentication."
}
},
"required": [
"initials",
"surname",
"surname_prefix",
"uzi_id",
"relations",
"loa_uzi",
"session_id",
"loa_authn",
"iss",
"aud",
"nbf",
"exp",
"x5c"
]
}