Skip to content

Commit c4eb17e

Browse files
Removed non-base $id's
1 parent 693b32c commit c4eb17e

12 files changed

+0
-124
lines changed

dist/v3.0.0/authorization-code-flow/JARM-response-schema.json

-6
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,19 @@
1313
],
1414
"properties": {
1515
"iss": {
16-
"$id": "#/properties/iss",
1716
"type": "string",
1817
"format": "uri",
1918
"minLength": 1,
2019
"description": "Token issuer - e.g. https://secure.examplebank.co.nz/token",
2120
"examples": ["https://secure.examplebank.co.nz/token"]
2221
},
2322
"code": {
24-
"$id": "#/properties/code",
2523
"type": "string",
2624
"minLength": 1,
2725
"description": "Authorization Code, to be exchanged for Access Token.",
2826
"examples": ["AItOawmwtWwcT0k51BayewNvutrJUqsvl6qs7A4"]
2927
},
3028
"aud": {
31-
"$id": "#/properties/aud",
3229
"description": "The audience for the token, must contain the Client ID of the third party. May also contain other audiences.",
3330
"oneOf": [
3431
{
@@ -39,7 +36,6 @@
3936
{
4037
"type": "array",
4138
"items": {
42-
"$id": "#/properties/aud/items",
4339
"type": "string",
4440
"minLength": 1
4541
},
@@ -52,13 +48,11 @@
5248
]
5349
},
5450
"exp": {
55-
"$id": "#/properties/exp",
5651
"type": "integer",
5752
"description": "Expiration time on or after which the ID Token MUST NOT be accepted for processing.",
5853
"examples": [1496397168]
5954
},
6055
"state": {
61-
"$id": "#/properties/state",
6256
"type": "string",
6357
"minLength": 1,
6458
"description": "The state value as sent by the client in the authorization request",

dist/v3.0.0/authorization-code-flow/PAR-response-schema.json

-2
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@
1010
],
1111
"properties": {
1212
"request_uri": {
13-
"$id": "#/properties/request_uri",
1413
"type": "string",
1514
"format": "uri",
1615
"description": "A unique reference for the request object requiring authorization",
1716
"examples": ["urn:ietf:params:oauth:request_uri:8qi1b0XAGrV9Ypv1cMyLAS_2AIchvqXx"]
1817
},
1918
"expires_in": {
20-
"$id": "#/properties/expires_in",
2119
"type": "integer",
2220
"description": "Expiration time on or after which the request_uri MUST NOT be accepted for processing.",
2321
"examples": [1496397168]

dist/v3.0.0/authorization-code-flow/authorization-request-schema.json

-27
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
],
2424
"properties": {
2525
"aud": {
26-
"$id": "#/properties/aud",
2726
"title": "The audiences for the token",
2827
"description": "The value should be or include the API Provider Issuer Identifier URL",
2928
"oneOf": [
@@ -34,7 +33,6 @@
3433
},
3534
{
3635
"type": "array",
37-
"$id": "#/properties/aud/items",
3836
"items": {
3937
"type": "string",
4038
"pattern": "^(.+)$"
@@ -44,25 +42,21 @@
4442
]
4543
},
4644
"iat":{
47-
"$id": "#/properties/iat",
4845
"type": "integer",
4946
"description": "Time on which the Request Object was issued. May be used for determining age",
5047
"examples": [1496397168]
5148
},
5249
"exp": {
53-
"$id": "#/properties/exp",
5450
"type": "integer",
5551
"description": "Expiration time on or after which the Request Object MUST NOT be accepted for processing.",
5652
"examples": [1496397168]
5753
},
5854
"nbf": {
59-
"$id": "#/properties/nbf",
6055
"type": "integer",
6156
"description": "Time before which the Request Object MUST NOT be accepted for processing.",
6257
"examples": [1496397168]
6358
},
6459
"iss": {
65-
"$id": "#/properties/iss",
6660
"type": "string",
6761
"title": "The Issuer of the token",
6862
"description": "The value should be the client ID of the third party, unless signed by a different party",
@@ -71,61 +65,53 @@
7165
"pattern": "^(.+)$"
7266
},
7367
"jti": {
74-
"$id": "#/properties/jti",
7568
"type": "string",
7669
"title": "The unique identifier of the token",
7770
"description": "Used for determining token uniqueness. The value should be have sufficient entropy to make likelihood of collisions negligible.",
7871
"examples": ["d92f1393-752e-49c2-8ce3-90abc6b29655"]
7972
},
8073
"response_type": {
81-
"$id": "#/properties/response_type",
8274
"type": "string",
8375
"title": "The type of the response token",
8476
"default": "code",
8577
"examples": ["code"],
8678
"enum": ["code"]
8779
},
8880
"response_mode": {
89-
"$id": "#/properties/response_mode",
9081
"type": "string",
9182
"title": "The mode used to deliver the response token",
9283
"default": "jwt",
9384
"examples": ["jwt"],
9485
"enum": ["jwt"]
9586
},
9687
"client_id": {
97-
"$id": "#/properties/client_id",
9888
"type": "string",
9989
"title": "The ID of the third-party client",
10090
"default": "",
10191
"examples": ["s6BhdRkqt3"],
10292
"pattern": "^(.+)$"
10393
},
10494
"redirect_uri": {
105-
"$id": "#/properties/redirect_uri",
10695
"type": "string",
10796
"title": "The URI to which to redirect the customer User Agent after authorization",
10897
"default": "",
10998
"examples": ["https://api.mytpp.com/cb"],
11099
"format": "uri"
111100
},
112101
"code_challenge": {
113-
"$id": "#/properties/code_challenge",
114102
"type": "string",
115103
"title": "The PKCE code challenge value",
116104
"examples": ["roXsvRC1K-5WAYWLWsqQJpXTR8NznFgysjjqKhqhSO4"],
117105
"pattern": "^[a-zA-Z0-9\\-_]*$"
118106
},
119107
"code_challenge_method": {
120-
"$id": "#/properties/code_challenge_method",
121108
"type": "string",
122109
"title": "The mode used to deliver the response token",
123110
"examples": ["S256"],
124111
"default": "S256",
125112
"enum": ["S256"]
126113
},
127114
"scope": {
128-
"$id": "#/properties/scope",
129115
"type": "string",
130116
"title": "The OAuth scopes requested",
131117
"description": "Must include 'openid' and any other scopes required",
@@ -134,7 +120,6 @@
134120
"pattern": "^openid([ ].*)*$"
135121
},
136122
"state": {
137-
"$id": "#/properties/state",
138123
"type": "string",
139124
"title": "The third-party specific state",
140125
"description": "Opaque to API provider",
@@ -143,80 +128,68 @@
143128
"pattern": "^(.+)$"
144129
},
145130
"nonce": {
146-
"$id": "#/properties/nonce",
147131
"type": "string",
148132
"title": "Third party nonce to avoid replay",
149133
"default": "",
150134
"examples": ["n-0S6_WzA2Mj"],
151135
"pattern": "^(.+)$"
152136
},
153137
"max_age": {
154-
"$id": "#/properties/max_age",
155138
"type": "integer",
156139
"title": "Third-party specified maximum authentication age",
157140
"default": 0,
158141
"examples": [86400]
159142
},
160143
"display": {
161-
"$id": "#/properties/display",
162144
"type": "string",
163145
"title": "Specify how to display authentication and consent to customer",
164146
"enum": ["page", "popup", "touch", "wap"]
165147
},
166148
"prompt": {
167-
"$id": "#/properties/prompt",
168149
"type": "string",
169150
"title": "Specify whether the authorisation server should prompt for authentication and consent to customer",
170151
"examples": ["none", "login consent", "consent", "select_account"]
171152
},
172153
"ui_locales": {
173-
"$id": "#/properties/ui_locales",
174154
"type": "string",
175155
"title": "Specify preferred languages to display authentication and consent to customer",
176156
"examples": ["en-nz", "mi", "en-nz mi"]
177157
},
178158
"id_token_hint": {
179-
"$id": "#/properties/id_token_hint",
180159
"type": "string",
181160
"description": "An ID token that was previously issued to the third party being replayed as a hint to the user identity"
182161
},
183162
"claims_locales":{
184-
"$id": "#/properties/claims_locales",
185163
"type": "string",
186164
"title": "Specify preferred languages to return claims to third party",
187165
"examples": ["en-nz", "mi", "en-nz mi"]
188166
},
189167
"claims": {
190-
"$id": "#/properties/claims",
191168
"type": "object",
192169
"title": "Claims object that holds the id_token request",
193170
"additionalProperties": true,
194171
"required": ["id_token"],
195172
"properties": {
196173
"id_token": {
197-
"$id": "#/properties/claims/properties/id_token",
198174
"type": "object",
199175
"title": "The ID token request claims",
200176
"additionalProperties": true,
201177
"required": ["ConsentId"],
202178
"properties": {
203179
"ConsentId": {
204-
"$id": "#/properties/claims/properties/id_token/properties/ConsentId",
205180
"type": "object",
206181
"title": "The Consent ID object",
207182
"additionalProperties": false,
208183
"required": ["value", "essential"],
209184
"properties": {
210185
"value": {
211-
"$id": "#/properties/claims/properties/id_token/properties/ConsentId/properties/value",
212186
"type": "string",
213187
"title": "The value of Consent ID",
214188
"default": "",
215189
"examples": ["urn-alphabank-intent-58923"],
216190
"pattern": "^(.+)$"
217191
},
218192
"essential": {
219-
"$id": "#/properties/claims/properties/id_token/properties/ConsentId/properties/essential",
220193
"type": "boolean",
221194
"title": "Essential claim identifier",
222195
"default": false,

dist/v3.0.0/ciba-flow/CIBA-authorization-request-object-schema.json

-16
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"required": ["aud", "iss", "exp", "iat", "nbf", "jti", "scope", "ConsentId"],
99
"properties": {
1010
"aud": {
11-
"$id": "#/properties/aud",
1211
"title": "The audiences for the token",
1312
"description": "The value should be or include the client ID of the third party",
1413
"oneOf": [
@@ -19,7 +18,6 @@
1918
},
2019
{
2120
"type": "array",
22-
"$id": "#/properties/aud/items",
2321
"items": {
2422
"type": "string",
2523
"pattern": "^(.+)$"
@@ -29,7 +27,6 @@
2927
]
3028
},
3129
"iss": {
32-
"$id": "#/properties/iss",
3330
"type": "string",
3431
"title": "The Issuer of the token",
3532
"description": "The value should be the client ID of the third party, unless signed by a different party",
@@ -38,32 +35,27 @@
3835
"pattern": "^(.+)$"
3936
},
4037
"exp": {
41-
"$id": "#/properties/exp",
4238
"type": "integer",
4339
"description": "Expiration time on or after which the Request Object MUST NOT be accepted for processing.",
4440
"examples": [1496397168]
4541
},
4642
"iat": {
47-
"$id": "#/properties/iat",
4843
"type": "integer",
4944
"description": "Time at which the JWT was issued.",
5045
"examples": [1496361168]
5146
},
5247
"nbf": {
53-
"$id": "#/properties/nbf",
5448
"type": "integer",
5549
"description": "The time before which the ID Token MUST NOT be accepted for processing.",
5650
"examples": [1496397168]
5751
},
5852
"jti": {
59-
"$id": "#/properties/jti",
6053
"type": "string",
6154
"description": "The unique identifier of the current JWT token",
6255
"examples": ["b8fd0a32-5e00-4b73-b3d8-b4af743b26e8"],
6356
"pattern": "^(.+)$"
6457
},
6558
"scope": {
66-
"$id": "#/properties/scope",
6759
"type": "string",
6860
"title": "The OAuth scopes requested",
6961
"description": "Must include 'openid' and any other scopes required",
@@ -72,14 +64,12 @@
7264
"pattern": "^openid([ ].*)*$"
7365
},
7466
"ConsentId": {
75-
"$id": "#/properties/ConsentId",
7667
"type": "string",
7768
"pattern": "^(.+)$",
7869
"description": "The ID of the consent to which this token is related",
7970
"examples": ["20353a34-8be1-4c76-a0ae-4b8c1bbf9ec6"]
8071
},
8172
"client_notification_token": {
82-
"$id": "#/properties/client_notification_token",
8373
"type": "string",
8474
"title": "The bearer token for third party ping callback",
8575
"description": "The API provider must use this to authenticate to the third party for a ping notification",
@@ -90,33 +80,27 @@
9080
]
9181
},
9282
"login_hint_token": {
93-
"$id": "#/properties/login_hint_token",
9483
"type": "string",
9584
"description": "A JWT token containing information to be used as a hint to the user identity"
9685
},
9786
"id_token_hint": {
98-
"$id": "#/properties/id_token_hint",
9987
"type": "string",
10088
"description": "An ID token that was previously issued to the third party being replayed as a hint to the user identity"
10189
},
10290
"requested_expiry": {
103-
"$id": "#/properties/requested_expiry",
10491
"type": "integer",
10592
"description": "A positive integer allowing the third party to request the expires_in value for auth_req_id the API provider will return",
10693
"examples": [300]
10794
},
10895
"binding_message": {
109-
"$id": "#/properties/binding_message",
11096
"type": "string",
11197
"description": "A human-readable identifier or message intended to be displayed on both the consumption device and the authentication device to interlock them"
11298
},
11399
"user_code": {
114-
"$id": "#/properties/user_code",
115100
"type": "string",
116101
"description": "A secret code, such as a password or pin, that is known only to the user but verifiable by the authorisation server"
117102
},
118103
"request_context": {
119-
"$id": "#/properties/request_context",
120104
"type": "object",
121105
"description": "A JSON object containing information to inform fraud and threat decisions. See CIBA FAPI."
122106
}

dist/v3.0.0/ciba-flow/CIBA-authorization-request-response-schema.json

-3
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,19 @@
88
"required": ["auth_req_id", "expires_in"],
99
"properties": {
1010
"auth_req_id": {
11-
"$id": "#/properties/auth_req_id",
1211
"type": "string",
1312
"description": "This is a unique identifier for the authentication request made by the CIBA Client (third party)",
1413
"minLength": 22,
1514
"pattern": "^[a-zA-Z0-9.\\-_]{22,}$",
1615
"examples": ["1c26_6114-a1be-4252-8ad1-04986c5b.9ac1"]
1716
},
1817
"expires_in": {
19-
"$id": "#/properties/expires_in",
2018
"type": "integer",
2119
"exclusiveMinimum": 0,
2220
"description": "A positive integer value in seconds, indicating the expiration time since the authentication request was received",
2321
"examples": [3600]
2422
},
2523
"interval": {
26-
"$id": "#/properties/interval",
2724
"type": "integer",
2825
"minimum": 0,
2926
"description": "The number of seconds a client MUST wait between polling requests to the token endpoint",

0 commit comments

Comments
 (0)