@arcforges/api-client 1.0.0-ci.3.1 → 1.0.0-ci.306.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/NOTICE +57 -5
  2. package/README.md +9 -2
  3. package/build-identity.json +266 -0
  4. package/contracts.binpb +0 -0
  5. package/dist/gen/http.d.ts +31 -0
  6. package/dist/gen/http.js +34 -0
  7. package/dist/index.d.ts +10 -1
  8. package/dist/index.js +20 -2
  9. package/dist/shapes/gen/AndroidUpdate.d.ts +41 -0
  10. package/dist/shapes/gen/AndroidUpdate.js +620 -0
  11. package/dist/shapes/gen/BrowserAuthChallenge.d.ts +35 -0
  12. package/dist/shapes/gen/BrowserAuthChallenge.js +531 -0
  13. package/dist/shapes/gen/BrowserBeginAuthenticationRequest.d.ts +28 -0
  14. package/dist/shapes/gen/BrowserBeginAuthenticationRequest.js +384 -0
  15. package/dist/shapes/gen/BrowserBeginRecoveryRequest.d.ts +22 -0
  16. package/dist/shapes/gen/BrowserBeginRecoveryRequest.js +370 -0
  17. package/dist/shapes/gen/BrowserBeginStepUpRequest.d.ts +20 -0
  18. package/dist/shapes/gen/BrowserBeginStepUpRequest.js +279 -0
  19. package/dist/shapes/gen/BrowserBootstrapResponse.d.ts +37 -0
  20. package/dist/shapes/gen/BrowserBootstrapResponse.js +534 -0
  21. package/dist/shapes/gen/BrowserCompleteAuthenticationRequest.d.ts +45 -0
  22. package/dist/shapes/gen/BrowserCompleteAuthenticationRequest.js +564 -0
  23. package/dist/shapes/gen/BrowserCompleteEnrollmentRequest.d.ts +90 -0
  24. package/dist/shapes/gen/BrowserCompleteEnrollmentRequest.js +1145 -0
  25. package/dist/shapes/gen/BrowserCompleteRecoveryRequest.d.ts +22 -0
  26. package/dist/shapes/gen/BrowserCompleteRecoveryRequest.js +733 -0
  27. package/dist/shapes/gen/BrowserCompleteStepUpRequest.d.ts +20 -0
  28. package/dist/shapes/gen/BrowserCompleteStepUpRequest.js +564 -0
  29. package/dist/shapes/gen/BrowserOidcCallbackFailure.d.ts +20 -0
  30. package/dist/shapes/gen/BrowserOidcCallbackFailure.js +200 -0
  31. package/dist/shapes/gen/BrowserOidcCallbackSuccess.d.ts +19 -0
  32. package/dist/shapes/gen/BrowserOidcCallbackSuccess.js +185 -0
  33. package/dist/shapes/gen/BrowserReceipt.d.ts +20 -0
  34. package/dist/shapes/gen/BrowserReceipt.js +285 -0
  35. package/dist/shapes/gen/BrowserSessionRoutes.d.ts +17 -0
  36. package/dist/shapes/gen/BrowserSessionRoutes.js +13 -0
  37. package/dist/shapes/gen/BrowserSessionView.d.ts +25 -0
  38. package/dist/shapes/gen/BrowserSessionView.js +388 -0
  39. package/dist/shapes/gen/BrowserStepUpEvidence.d.ts +19 -0
  40. package/dist/shapes/gen/BrowserStepUpEvidence.js +266 -0
  41. package/dist/shapes/gen/CatalogIndex.d.ts +49 -0
  42. package/dist/shapes/gen/CatalogIndex.js +703 -0
  43. package/dist/shapes/gen/CatalogRevocations.d.ts +46 -0
  44. package/dist/shapes/gen/CatalogRevocations.js +647 -0
  45. package/dist/shapes/gen/DeclarativePanel.d.ts +154 -0
  46. package/dist/shapes/gen/DeclarativePanel.js +2988 -0
  47. package/dist/shapes/gen/ExtensionManifest.d.ts +278 -0
  48. package/dist/shapes/gen/ExtensionManifest.js +3974 -0
  49. package/dist/shapes/gen/ExtensionWorkflow.d.ts +151 -0
  50. package/dist/shapes/gen/ExtensionWorkflow.js +2251 -0
  51. package/dist/shapes/gen/NativeAuthRoutes.d.ts +17 -0
  52. package/dist/shapes/gen/NativeAuthRoutes.js +5 -0
  53. package/dist/shapes/gen/NativeAuthorizeCallbackFailure.d.ts +19 -0
  54. package/dist/shapes/gen/NativeAuthorizeCallbackFailure.js +185 -0
  55. package/dist/shapes/gen/NativeAuthorizeCallbackSuccess.d.ts +19 -0
  56. package/dist/shapes/gen/NativeAuthorizeCallbackSuccess.js +185 -0
  57. package/dist/shapes/gen/NativeAuthorizeRequest.d.ts +24 -0
  58. package/dist/shapes/gen/NativeAuthorizeRequest.js +271 -0
  59. package/dist/shapes/gen/NativeTokenRequest.d.ts +23 -0
  60. package/dist/shapes/gen/NativeTokenRequest.js +258 -0
  61. package/dist/shapes/gen/NativeTokenResponse.d.ts +40 -0
  62. package/dist/shapes/gen/NativeTokenResponse.js +572 -0
  63. package/dist/shapes/gen/PackageInventory.d.ts +24 -0
  64. package/dist/shapes/gen/PackageInventory.js +327 -0
  65. package/dist/shapes/gen/PartReceipt.d.ts +21 -0
  66. package/dist/shapes/gen/PartReceipt.js +290 -0
  67. package/dist/shapes/gen/PolicyBody.d.ts +269 -0
  68. package/dist/shapes/gen/PolicyBody.js +4188 -0
  69. package/dist/shapes/gen/RealmDescriptor.d.ts +39 -0
  70. package/dist/shapes/gen/RealmDescriptor.js +627 -0
  71. package/package.json +15 -7
  72. package/sbom.cdx.json +17 -17
  73. package/schemas/public/http/v1/browser.schema.json +1300 -0
  74. package/schemas/public/http/v1/inventory.schema.json +49 -0
  75. package/schemas/public/http/v1/manifest.schema.json +1459 -0
  76. package/schemas/public/http/v1/native-auth.schema.json +341 -0
  77. package/schemas/public/http/v1/panel.schema.json +963 -0
  78. package/schemas/public/http/v1/policy-body.schema.json +1376 -0
  79. package/schemas/public/http/v1/schema.json +30 -0
  80. package/schemas/public/http/v1/signed-formats.schema.json +748 -0
  81. package/schemas/public/http/v1/workflow.schema.json +715 -0
  82. package/schemas/public/proto/arcforges/catalog/v1/catalog.proto +204 -0
  83. package/schemas/public/proto/arcforges/events/v1/events.proto +343 -0
  84. package/schemas/public/proto/arcforges/foundation/v1/foundation.proto +384 -0
  85. package/schemas/public/proto/arcforges/hello/v1/hello.proto +23 -0
  86. package/schemas/public/proto/arcforges/publicapi/v1/application.proto +297 -0
  87. package/schemas/public/proto/arcforges/publicapi/v1/chat.proto +1507 -0
  88. package/schemas/public/proto/arcforges/publicapi/v1/commerce.proto +542 -0
  89. package/schemas/public/proto/arcforges/publicapi/v1/content.proto +813 -0
  90. package/schemas/public/proto/arcforges/publicapi/v1/descriptors.proto +27 -0
  91. package/schemas/public/proto/arcforges/publicapi/v1/export.proto +112 -0
  92. package/schemas/public/proto/arcforges/publicapi/v1/identity.proto +1350 -0
  93. package/schemas/public/proto/arcforges/publicapi/v1/inprocess-values.proto +134 -0
  94. package/schemas/public/proto/arcforges/publicapi/v1/scope.proto +81 -0
  95. package/schemas/public/proto/arcforges/publicapi/v1/support.proto +242 -0
  96. package/schemas/public/proto/arcforges/publicapi/v1/sync.proto +459 -0
  97. package/schemas/public/proto/arcforges/publicapi/v1/transfer.proto +190 -0
  98. package/schemas/public/proto/arcforges/simulation/v1/simulation.proto +413 -0
  99. package/source.json +49 -6
@@ -0,0 +1,1300 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$comment": "SPDX-License-Identifier: Apache-2.0",
4
+ "title": "BrowserSession",
5
+ "description": "Closed same-origin browser session exceptions under /session/v1: strict JSON bodies mirroring the numbered Identity records as precise-value projections, plus the OIDC provider callback query. Shape validity is not authentication, CSRF, origin or flow-state authorization.",
6
+ "oneOf": [
7
+ {
8
+ "$ref": "#/$defs/BrowserBootstrapResponse"
9
+ },
10
+ {
11
+ "$ref": "#/$defs/BrowserBeginAuthenticationRequest"
12
+ },
13
+ {
14
+ "$ref": "#/$defs/BrowserCompleteAuthenticationRequest"
15
+ },
16
+ {
17
+ "$ref": "#/$defs/BrowserCompleteEnrollmentRequest"
18
+ },
19
+ {
20
+ "$ref": "#/$defs/BrowserBeginRecoveryRequest"
21
+ },
22
+ {
23
+ "$ref": "#/$defs/BrowserCompleteRecoveryRequest"
24
+ },
25
+ {
26
+ "$ref": "#/$defs/BrowserBeginStepUpRequest"
27
+ },
28
+ {
29
+ "$ref": "#/$defs/BrowserCompleteStepUpRequest"
30
+ },
31
+ {
32
+ "$ref": "#/$defs/BrowserAuthChallenge"
33
+ },
34
+ {
35
+ "$ref": "#/$defs/BrowserSessionView"
36
+ },
37
+ {
38
+ "$ref": "#/$defs/BrowserStepUpEvidence"
39
+ },
40
+ {
41
+ "$ref": "#/$defs/BrowserReceipt"
42
+ },
43
+ {
44
+ "$ref": "#/$defs/BrowserOidcCallbackSuccess"
45
+ },
46
+ {
47
+ "$ref": "#/$defs/BrowserOidcCallbackFailure"
48
+ }
49
+ ],
50
+ "$defs": {
51
+ "BrowserInstallationClaim": {
52
+ "title": "BrowserInstallationClaim",
53
+ "type": "object",
54
+ "properties": {
55
+ "installationId": {
56
+ "type": "string",
57
+ "minLength": 36,
58
+ "maxLength": 36,
59
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
60
+ "x-arcforges-rules": ["nonzeroUuid"]
61
+ },
62
+ "product": {
63
+ "type": "string",
64
+ "enum": ["arcscope", "companion"]
65
+ },
66
+ "platform": {
67
+ "type": "string",
68
+ "minLength": 1,
69
+ "maxLength": 128,
70
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
71
+ },
72
+ "appVersion": {
73
+ "type": "string",
74
+ "minLength": 1,
75
+ "maxLength": 128,
76
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
77
+ }
78
+ },
79
+ "required": ["installationId", "product", "platform", "appVersion"],
80
+ "additionalProperties": false
81
+ },
82
+ "BrowserWebAuthnOptions": {
83
+ "title": "BrowserWebAuthnOptions",
84
+ "type": "object",
85
+ "properties": {
86
+ "rpId": {
87
+ "type": "string",
88
+ "minLength": 1,
89
+ "maxLength": 128,
90
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
91
+ },
92
+ "userHandle": {
93
+ "type": "string",
94
+ "minLength": 2,
95
+ "maxLength": 86,
96
+ "pattern": "^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$"
97
+ },
98
+ "allowedCredentials": {
99
+ "type": "array",
100
+ "items": {
101
+ "type": "string",
102
+ "minLength": 2,
103
+ "maxLength": 1364,
104
+ "pattern": "^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$"
105
+ },
106
+ "maxItems": 64
107
+ },
108
+ "excludedCredentials": {
109
+ "type": "array",
110
+ "items": {
111
+ "type": "string",
112
+ "minLength": 2,
113
+ "maxLength": 1364,
114
+ "pattern": "^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$"
115
+ },
116
+ "maxItems": 64
117
+ },
118
+ "userVerification": {
119
+ "type": "string",
120
+ "const": "required"
121
+ },
122
+ "algorithms": {
123
+ "type": "array",
124
+ "items": {
125
+ "type": "integer",
126
+ "enum": [-7]
127
+ },
128
+ "minItems": 1,
129
+ "maxItems": 1
130
+ }
131
+ },
132
+ "required": ["rpId", "userVerification", "algorithms"],
133
+ "additionalProperties": false
134
+ },
135
+ "BrowserWebAuthnAssertion": {
136
+ "title": "BrowserWebAuthnAssertion",
137
+ "type": "object",
138
+ "properties": {
139
+ "credentialId": {
140
+ "type": "string",
141
+ "minLength": 2,
142
+ "maxLength": 1364,
143
+ "pattern": "^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$"
144
+ },
145
+ "clientDataJson": {
146
+ "type": "string",
147
+ "minLength": 2,
148
+ "maxLength": 21846,
149
+ "pattern": "^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$"
150
+ },
151
+ "authenticatorData": {
152
+ "type": "string",
153
+ "minLength": 2,
154
+ "maxLength": 21846,
155
+ "pattern": "^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$"
156
+ },
157
+ "signature": {
158
+ "type": "string",
159
+ "minLength": 2,
160
+ "maxLength": 342,
161
+ "pattern": "^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$"
162
+ },
163
+ "userHandle": {
164
+ "type": "string",
165
+ "minLength": 2,
166
+ "maxLength": 86,
167
+ "pattern": "^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$"
168
+ }
169
+ },
170
+ "required": ["credentialId", "clientDataJson", "authenticatorData", "signature"],
171
+ "additionalProperties": false
172
+ },
173
+ "BrowserWebAuthnCreation": {
174
+ "title": "BrowserWebAuthnCreation",
175
+ "type": "object",
176
+ "properties": {
177
+ "credentialId": {
178
+ "type": "string",
179
+ "minLength": 2,
180
+ "maxLength": 1364,
181
+ "pattern": "^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$"
182
+ },
183
+ "clientDataJson": {
184
+ "type": "string",
185
+ "minLength": 2,
186
+ "maxLength": 21846,
187
+ "pattern": "^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$"
188
+ },
189
+ "attestationObject": {
190
+ "type": "string",
191
+ "minLength": 2,
192
+ "maxLength": 21846,
193
+ "pattern": "^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$"
194
+ },
195
+ "transports": {
196
+ "type": "array",
197
+ "items": {
198
+ "type": "string",
199
+ "minLength": 1,
200
+ "maxLength": 128,
201
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
202
+ },
203
+ "maxItems": 8
204
+ }
205
+ },
206
+ "required": ["credentialId", "clientDataJson", "attestationObject"],
207
+ "additionalProperties": false
208
+ },
209
+ "BrowserAuthProofPasskey": {
210
+ "title": "BrowserAuthProofPasskey",
211
+ "type": "object",
212
+ "properties": {
213
+ "passkey": {
214
+ "$ref": "#/$defs/BrowserWebAuthnAssertion"
215
+ }
216
+ },
217
+ "required": ["passkey"],
218
+ "additionalProperties": false
219
+ },
220
+ "BrowserAuthProofEmailCode": {
221
+ "title": "BrowserAuthProofEmailCode",
222
+ "type": "object",
223
+ "properties": {
224
+ "emailCode": {
225
+ "type": "string",
226
+ "minLength": 1,
227
+ "maxLength": 128,
228
+ "x-arcforges-max-utf8-bytes": 8192
229
+ }
230
+ },
231
+ "required": ["emailCode"],
232
+ "additionalProperties": false
233
+ },
234
+ "BrowserAuthProofRecoveryCode": {
235
+ "title": "BrowserAuthProofRecoveryCode",
236
+ "type": "object",
237
+ "properties": {
238
+ "recoveryCode": {
239
+ "type": "string",
240
+ "minLength": 1,
241
+ "maxLength": 128,
242
+ "x-arcforges-max-utf8-bytes": 8192
243
+ }
244
+ },
245
+ "required": ["recoveryCode"],
246
+ "additionalProperties": false
247
+ },
248
+ "BrowserAuthProofPassword": {
249
+ "title": "BrowserAuthProofPassword",
250
+ "type": "object",
251
+ "properties": {
252
+ "password": {
253
+ "type": "string",
254
+ "minLength": 1,
255
+ "maxLength": 128,
256
+ "x-arcforges-max-utf8-bytes": 8192
257
+ }
258
+ },
259
+ "required": ["password"],
260
+ "additionalProperties": false
261
+ },
262
+ "BrowserAuthProofProviderReceipt": {
263
+ "title": "BrowserAuthProofProviderReceipt",
264
+ "type": "object",
265
+ "properties": {
266
+ "providerReceipt": {
267
+ "type": "string",
268
+ "minLength": 1,
269
+ "x-arcforges-max-utf8-bytes": 8192
270
+ }
271
+ },
272
+ "required": ["providerReceipt"],
273
+ "additionalProperties": false
274
+ },
275
+ "BrowserAuthProofAdminGrant": {
276
+ "title": "BrowserAuthProofAdminGrant",
277
+ "type": "object",
278
+ "properties": {
279
+ "adminGrant": {
280
+ "type": "string",
281
+ "minLength": 1,
282
+ "x-arcforges-max-utf8-bytes": 8192
283
+ }
284
+ },
285
+ "required": ["adminGrant"],
286
+ "additionalProperties": false
287
+ },
288
+ "BrowserAuthProof": {
289
+ "title": "BrowserAuthProof",
290
+ "oneOf": [
291
+ {
292
+ "$ref": "#/$defs/BrowserAuthProofPasskey"
293
+ },
294
+ {
295
+ "$ref": "#/$defs/BrowserAuthProofEmailCode"
296
+ },
297
+ {
298
+ "$ref": "#/$defs/BrowserAuthProofRecoveryCode"
299
+ },
300
+ {
301
+ "$ref": "#/$defs/BrowserAuthProofPassword"
302
+ },
303
+ {
304
+ "$ref": "#/$defs/BrowserAuthProofProviderReceipt"
305
+ },
306
+ {
307
+ "$ref": "#/$defs/BrowserAuthProofAdminGrant"
308
+ }
309
+ ]
310
+ },
311
+ "BrowserEnrollmentProofEmailCode": {
312
+ "title": "BrowserEnrollmentProofEmailCode",
313
+ "type": "object",
314
+ "properties": {
315
+ "emailCode": {
316
+ "type": "string",
317
+ "minLength": 1,
318
+ "maxLength": 128,
319
+ "x-arcforges-max-utf8-bytes": 8192
320
+ }
321
+ },
322
+ "required": ["emailCode"],
323
+ "additionalProperties": false
324
+ },
325
+ "BrowserEnrollmentProofLocalCode": {
326
+ "title": "BrowserEnrollmentProofLocalCode",
327
+ "type": "object",
328
+ "properties": {
329
+ "localCode": {
330
+ "type": "string",
331
+ "minLength": 1,
332
+ "maxLength": 128,
333
+ "x-arcforges-max-utf8-bytes": 8192
334
+ }
335
+ },
336
+ "required": ["localCode"],
337
+ "additionalProperties": false
338
+ },
339
+ "BrowserEnrollmentProofProviderReceipt": {
340
+ "title": "BrowserEnrollmentProofProviderReceipt",
341
+ "type": "object",
342
+ "properties": {
343
+ "providerReceipt": {
344
+ "type": "string",
345
+ "minLength": 1,
346
+ "x-arcforges-max-utf8-bytes": 8192
347
+ }
348
+ },
349
+ "required": ["providerReceipt"],
350
+ "additionalProperties": false
351
+ },
352
+ "BrowserEnrollmentProof": {
353
+ "title": "BrowserEnrollmentProof",
354
+ "oneOf": [
355
+ {
356
+ "$ref": "#/$defs/BrowserEnrollmentProofEmailCode"
357
+ },
358
+ {
359
+ "$ref": "#/$defs/BrowserEnrollmentProofLocalCode"
360
+ },
361
+ {
362
+ "$ref": "#/$defs/BrowserEnrollmentProofProviderReceipt"
363
+ }
364
+ ]
365
+ },
366
+ "BrowserCredentialReplacementPasskey": {
367
+ "title": "BrowserCredentialReplacementPasskey",
368
+ "type": "object",
369
+ "properties": {
370
+ "passkey": {
371
+ "$ref": "#/$defs/BrowserWebAuthnCreation"
372
+ }
373
+ },
374
+ "required": ["passkey"],
375
+ "additionalProperties": false
376
+ },
377
+ "BrowserCredentialReplacementPassword": {
378
+ "title": "BrowserCredentialReplacementPassword",
379
+ "type": "object",
380
+ "properties": {
381
+ "password": {
382
+ "type": "string",
383
+ "minLength": 15,
384
+ "maxLength": 128,
385
+ "x-arcforges-max-utf8-bytes": 8192
386
+ }
387
+ },
388
+ "required": ["password"],
389
+ "additionalProperties": false
390
+ },
391
+ "BrowserCredentialReplacement": {
392
+ "title": "BrowserCredentialReplacement",
393
+ "oneOf": [
394
+ {
395
+ "$ref": "#/$defs/BrowserCredentialReplacementPasskey"
396
+ },
397
+ {
398
+ "$ref": "#/$defs/BrowserCredentialReplacementPassword"
399
+ }
400
+ ]
401
+ },
402
+ "BrowserResourceRef": {
403
+ "title": "BrowserResourceRef",
404
+ "type": "object",
405
+ "properties": {
406
+ "realmId": {
407
+ "type": "string",
408
+ "minLength": 36,
409
+ "maxLength": 36,
410
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
411
+ "x-arcforges-rules": ["nonzeroUuid"]
412
+ },
413
+ "workspaceId": {
414
+ "type": "string",
415
+ "minLength": 36,
416
+ "maxLength": 36,
417
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
418
+ "x-arcforges-rules": ["nonzeroUuid"]
419
+ },
420
+ "ownerAppId": {
421
+ "type": "string",
422
+ "minLength": 1,
423
+ "maxLength": 128,
424
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
425
+ },
426
+ "resourceKind": {
427
+ "type": "string",
428
+ "minLength": 1,
429
+ "maxLength": 128,
430
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
431
+ },
432
+ "resourceId": {
433
+ "type": "string",
434
+ "minLength": 36,
435
+ "maxLength": 36,
436
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
437
+ "x-arcforges-rules": ["nonzeroUuid"]
438
+ },
439
+ "displayHint": {
440
+ "type": "string",
441
+ "minLength": 1,
442
+ "maxLength": 256
443
+ },
444
+ "availability": {
445
+ "type": "string",
446
+ "enum": ["alwaysKeep", "availableOffline", "onDemand", "cloudOnly", "missingExternal"]
447
+ },
448
+ "holdingDeviceId": {
449
+ "type": "string",
450
+ "minLength": 36,
451
+ "maxLength": 36,
452
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
453
+ "x-arcforges-rules": ["nonzeroUuid"]
454
+ }
455
+ },
456
+ "required": ["realmId", "ownerAppId", "resourceKind", "resourceId", "availability"],
457
+ "additionalProperties": false
458
+ },
459
+ "BrowserBlobRef": {
460
+ "title": "BrowserBlobRef",
461
+ "type": "object",
462
+ "properties": {
463
+ "blobId": {
464
+ "type": "string",
465
+ "minLength": 36,
466
+ "maxLength": 36,
467
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
468
+ "x-arcforges-rules": ["nonzeroUuid"]
469
+ },
470
+ "contentHash": {
471
+ "type": "string",
472
+ "minLength": 64,
473
+ "maxLength": 64,
474
+ "pattern": "^[0-9a-f]{64}$"
475
+ },
476
+ "sizeBytes": {
477
+ "type": "string",
478
+ "minLength": 1,
479
+ "maxLength": 20,
480
+ "pattern": "^(0|[1-9][0-9]*)$",
481
+ "x-arcforges-rules": ["uint64String"]
482
+ }
483
+ },
484
+ "required": ["blobId", "contentHash", "sizeBytes"],
485
+ "additionalProperties": false
486
+ },
487
+ "BrowserAvatarCloud": {
488
+ "title": "BrowserAvatarCloud",
489
+ "type": "object",
490
+ "properties": {
491
+ "resource": {
492
+ "$ref": "#/$defs/BrowserResourceRef"
493
+ },
494
+ "contentHash": {
495
+ "type": "string",
496
+ "minLength": 64,
497
+ "maxLength": 64,
498
+ "pattern": "^[0-9a-f]{64}$"
499
+ },
500
+ "blob": {
501
+ "$ref": "#/$defs/BrowserBlobRef"
502
+ },
503
+ "cloud": {
504
+ "type": "string",
505
+ "minLength": 1,
506
+ "maxLength": 19,
507
+ "pattern": "^[1-9][0-9]*$",
508
+ "x-arcforges-rules": ["positiveInt64String"]
509
+ }
510
+ },
511
+ "required": ["resource", "cloud"],
512
+ "additionalProperties": false
513
+ },
514
+ "BrowserAvatarNative": {
515
+ "title": "BrowserAvatarNative",
516
+ "type": "object",
517
+ "properties": {
518
+ "resource": {
519
+ "$ref": "#/$defs/BrowserResourceRef"
520
+ },
521
+ "contentHash": {
522
+ "type": "string",
523
+ "minLength": 64,
524
+ "maxLength": 64,
525
+ "pattern": "^[0-9a-f]{64}$"
526
+ },
527
+ "blob": {
528
+ "$ref": "#/$defs/BrowserBlobRef"
529
+ },
530
+ "native": {
531
+ "type": "string",
532
+ "minLength": 1,
533
+ "maxLength": 20,
534
+ "pattern": "^(0|[1-9][0-9]*)$",
535
+ "x-arcforges-rules": ["uint64String"]
536
+ }
537
+ },
538
+ "required": ["resource", "native"],
539
+ "additionalProperties": false
540
+ },
541
+ "BrowserAvatarRef": {
542
+ "title": "BrowserAvatarRef",
543
+ "oneOf": [
544
+ {
545
+ "$ref": "#/$defs/BrowserAvatarCloud"
546
+ },
547
+ {
548
+ "$ref": "#/$defs/BrowserAvatarNative"
549
+ }
550
+ ]
551
+ },
552
+ "BrowserProfileUpdateKeepAvatar": {
553
+ "title": "BrowserProfileUpdateKeepAvatar",
554
+ "type": "object",
555
+ "properties": {
556
+ "displayName": {
557
+ "type": "string",
558
+ "minLength": 1,
559
+ "maxLength": 256
560
+ },
561
+ "locale": {
562
+ "type": "string",
563
+ "minLength": 1,
564
+ "maxLength": 128,
565
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
566
+ },
567
+ "timezone": {
568
+ "type": "string",
569
+ "minLength": 1,
570
+ "maxLength": 128,
571
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
572
+ }
573
+ },
574
+ "required": [],
575
+ "additionalProperties": false
576
+ },
577
+ "BrowserProfileUpdateSetAvatar": {
578
+ "title": "BrowserProfileUpdateSetAvatar",
579
+ "type": "object",
580
+ "properties": {
581
+ "displayName": {
582
+ "type": "string",
583
+ "minLength": 1,
584
+ "maxLength": 256
585
+ },
586
+ "locale": {
587
+ "type": "string",
588
+ "minLength": 1,
589
+ "maxLength": 128,
590
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
591
+ },
592
+ "timezone": {
593
+ "type": "string",
594
+ "minLength": 1,
595
+ "maxLength": 128,
596
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
597
+ },
598
+ "avatar": {
599
+ "$ref": "#/$defs/BrowserAvatarRef"
600
+ }
601
+ },
602
+ "required": ["avatar"],
603
+ "additionalProperties": false
604
+ },
605
+ "BrowserProfileUpdateClearAvatar": {
606
+ "title": "BrowserProfileUpdateClearAvatar",
607
+ "type": "object",
608
+ "properties": {
609
+ "displayName": {
610
+ "type": "string",
611
+ "minLength": 1,
612
+ "maxLength": 256
613
+ },
614
+ "locale": {
615
+ "type": "string",
616
+ "minLength": 1,
617
+ "maxLength": 128,
618
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
619
+ },
620
+ "timezone": {
621
+ "type": "string",
622
+ "minLength": 1,
623
+ "maxLength": 128,
624
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
625
+ },
626
+ "clearAvatar": {
627
+ "type": "boolean",
628
+ "const": true
629
+ }
630
+ },
631
+ "required": ["clearAvatar"],
632
+ "additionalProperties": false
633
+ },
634
+ "BrowserProfileUpdate": {
635
+ "title": "BrowserProfileUpdate",
636
+ "oneOf": [
637
+ {
638
+ "$ref": "#/$defs/BrowserProfileUpdateKeepAvatar"
639
+ },
640
+ {
641
+ "$ref": "#/$defs/BrowserProfileUpdateSetAvatar"
642
+ },
643
+ {
644
+ "$ref": "#/$defs/BrowserProfileUpdateClearAvatar"
645
+ }
646
+ ]
647
+ },
648
+ "BrowserSessionProjection": {
649
+ "title": "BrowserSessionProjection",
650
+ "type": "object",
651
+ "properties": {
652
+ "sessionId": {
653
+ "type": "string",
654
+ "minLength": 36,
655
+ "maxLength": 36,
656
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
657
+ "x-arcforges-rules": ["nonzeroUuid"]
658
+ },
659
+ "expiresAt": {
660
+ "type": "string",
661
+ "minLength": 20,
662
+ "maxLength": 30,
663
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,9})?Z$"
664
+ },
665
+ "idleExpiresAt": {
666
+ "type": "string",
667
+ "minLength": 20,
668
+ "maxLength": 30,
669
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,9})?Z$"
670
+ },
671
+ "userId": {
672
+ "type": "string",
673
+ "minLength": 36,
674
+ "maxLength": 36,
675
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
676
+ "x-arcforges-rules": ["nonzeroUuid"]
677
+ },
678
+ "deviceId": {
679
+ "type": "string",
680
+ "minLength": 36,
681
+ "maxLength": 36,
682
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
683
+ "x-arcforges-rules": ["nonzeroUuid"]
684
+ },
685
+ "workspaceIds": {
686
+ "type": "array",
687
+ "items": {
688
+ "type": "string",
689
+ "minLength": 36,
690
+ "maxLength": 36,
691
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
692
+ "x-arcforges-rules": ["nonzeroUuid"]
693
+ },
694
+ "maxItems": 100
695
+ },
696
+ "recoveryGeneration": {
697
+ "type": "string",
698
+ "minLength": 1,
699
+ "maxLength": 20,
700
+ "pattern": "^(0|[1-9][0-9]*)$",
701
+ "x-arcforges-rules": ["uint64String"]
702
+ },
703
+ "purpose": {
704
+ "type": "string",
705
+ "enum": ["authenticate", "enroll", "stepUp", "recover", "cancelDeletion"]
706
+ }
707
+ },
708
+ "required": [
709
+ "sessionId",
710
+ "expiresAt",
711
+ "userId",
712
+ "deviceId",
713
+ "workspaceIds",
714
+ "recoveryGeneration",
715
+ "purpose"
716
+ ],
717
+ "additionalProperties": false
718
+ },
719
+ "BrowserProfileProjection": {
720
+ "title": "BrowserProfileProjection",
721
+ "type": "object",
722
+ "properties": {
723
+ "displayName": {
724
+ "type": "string",
725
+ "minLength": 1,
726
+ "maxLength": 256
727
+ },
728
+ "locale": {
729
+ "type": "string",
730
+ "minLength": 1,
731
+ "maxLength": 128,
732
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
733
+ },
734
+ "timezone": {
735
+ "type": "string",
736
+ "minLength": 1,
737
+ "maxLength": 128,
738
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
739
+ },
740
+ "revision": {
741
+ "type": "string",
742
+ "minLength": 1,
743
+ "maxLength": 19,
744
+ "pattern": "^[1-9][0-9]*$",
745
+ "x-arcforges-rules": ["positiveInt64String"]
746
+ }
747
+ },
748
+ "required": ["displayName", "locale", "timezone", "revision"],
749
+ "additionalProperties": false
750
+ },
751
+ "BrowserBootstrapResponse": {
752
+ "title": "BrowserBootstrapResponse",
753
+ "type": "object",
754
+ "properties": {
755
+ "csrfToken": {
756
+ "type": "string",
757
+ "minLength": 16,
758
+ "maxLength": 128,
759
+ "pattern": "^[A-Za-z0-9_-]+$"
760
+ },
761
+ "authenticated": {
762
+ "type": "boolean"
763
+ },
764
+ "session": {
765
+ "$ref": "#/$defs/BrowserSessionProjection"
766
+ },
767
+ "profile": {
768
+ "$ref": "#/$defs/BrowserProfileProjection"
769
+ }
770
+ },
771
+ "required": ["csrfToken", "authenticated"],
772
+ "additionalProperties": false,
773
+ "x-arcforges-max-bytes": 16384
774
+ },
775
+ "BrowserBeginAuthenticationRequest": {
776
+ "title": "BrowserBeginAuthenticationRequest",
777
+ "type": "object",
778
+ "properties": {
779
+ "method": {
780
+ "type": "string",
781
+ "enum": ["passkey", "email", "password", "oidc"]
782
+ },
783
+ "loginHint": {
784
+ "type": "string",
785
+ "minLength": 3,
786
+ "maxLength": 320,
787
+ "pattern": "^[\\x21-\\x3F\\x41-\\x7E]+@[\\x21-\\x3F\\x41-\\x7E]+$"
788
+ },
789
+ "installation": {
790
+ "$ref": "#/$defs/BrowserInstallationClaim"
791
+ },
792
+ "providerId": {
793
+ "type": "string",
794
+ "minLength": 1,
795
+ "maxLength": 128,
796
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
797
+ },
798
+ "purpose": {
799
+ "type": "string",
800
+ "enum": ["authenticate", "enroll", "stepUp", "recover", "cancelDeletion"]
801
+ }
802
+ },
803
+ "required": ["method", "installation", "purpose"],
804
+ "additionalProperties": false,
805
+ "x-arcforges-max-bytes": 8192
806
+ },
807
+ "BrowserCompleteAuthenticationRequest": {
808
+ "title": "BrowserCompleteAuthenticationRequest",
809
+ "type": "object",
810
+ "properties": {
811
+ "flowId": {
812
+ "type": "string",
813
+ "minLength": 36,
814
+ "maxLength": 36,
815
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
816
+ "x-arcforges-rules": ["nonzeroUuid"]
817
+ },
818
+ "proof": {
819
+ "$ref": "#/$defs/BrowserAuthProof"
820
+ }
821
+ },
822
+ "required": ["flowId", "proof"],
823
+ "additionalProperties": false,
824
+ "x-arcforges-max-bytes": 131072
825
+ },
826
+ "BrowserCompleteEnrollmentRequest": {
827
+ "title": "BrowserCompleteEnrollmentRequest",
828
+ "type": "object",
829
+ "properties": {
830
+ "flowId": {
831
+ "type": "string",
832
+ "minLength": 36,
833
+ "maxLength": 36,
834
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
835
+ "x-arcforges-rules": ["nonzeroUuid"]
836
+ },
837
+ "proof": {
838
+ "$ref": "#/$defs/BrowserEnrollmentProof"
839
+ },
840
+ "credential": {
841
+ "$ref": "#/$defs/BrowserCredentialReplacement"
842
+ },
843
+ "profile": {
844
+ "$ref": "#/$defs/BrowserProfileUpdate"
845
+ }
846
+ },
847
+ "required": ["flowId", "proof", "profile"],
848
+ "additionalProperties": false,
849
+ "x-arcforges-max-bytes": 262144
850
+ },
851
+ "BrowserBeginRecoveryRequest": {
852
+ "title": "BrowserBeginRecoveryRequest",
853
+ "type": "object",
854
+ "properties": {
855
+ "email": {
856
+ "type": "string",
857
+ "minLength": 3,
858
+ "maxLength": 320,
859
+ "pattern": "^[\\x21-\\x3F\\x41-\\x7E]+@[\\x21-\\x3F\\x41-\\x7E]+$"
860
+ },
861
+ "method": {
862
+ "type": "string",
863
+ "enum": ["emailCode", "recoveryCode", "passkey", "adminGrant"]
864
+ },
865
+ "accountHint": {
866
+ "type": "string",
867
+ "minLength": 1,
868
+ "maxLength": 128,
869
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
870
+ },
871
+ "installation": {
872
+ "$ref": "#/$defs/BrowserInstallationClaim"
873
+ }
874
+ },
875
+ "required": ["method", "installation"],
876
+ "additionalProperties": false,
877
+ "x-arcforges-max-bytes": 8192
878
+ },
879
+ "BrowserCompleteRecoveryRequest": {
880
+ "title": "BrowserCompleteRecoveryRequest",
881
+ "type": "object",
882
+ "properties": {
883
+ "flowId": {
884
+ "type": "string",
885
+ "minLength": 36,
886
+ "maxLength": 36,
887
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
888
+ "x-arcforges-rules": ["nonzeroUuid"]
889
+ },
890
+ "proof": {
891
+ "$ref": "#/$defs/BrowserAuthProof"
892
+ },
893
+ "replacement": {
894
+ "$ref": "#/$defs/BrowserCredentialReplacement"
895
+ }
896
+ },
897
+ "required": ["flowId", "proof", "replacement"],
898
+ "additionalProperties": false,
899
+ "x-arcforges-max-bytes": 262144
900
+ },
901
+ "BrowserBeginStepUpRequest": {
902
+ "title": "BrowserBeginStepUpRequest",
903
+ "type": "object",
904
+ "properties": {
905
+ "operationClass": {
906
+ "type": "string",
907
+ "minLength": 1,
908
+ "maxLength": 128,
909
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
910
+ },
911
+ "method": {
912
+ "type": "string",
913
+ "enum": ["passkey", "email", "password", "oidc"]
914
+ },
915
+ "targetHash": {
916
+ "type": "string",
917
+ "minLength": 64,
918
+ "maxLength": 64,
919
+ "pattern": "^[0-9a-f]{64}$"
920
+ }
921
+ },
922
+ "required": ["operationClass", "method"],
923
+ "additionalProperties": false,
924
+ "x-arcforges-max-bytes": 4096
925
+ },
926
+ "BrowserCompleteStepUpRequest": {
927
+ "title": "BrowserCompleteStepUpRequest",
928
+ "type": "object",
929
+ "properties": {
930
+ "flowId": {
931
+ "type": "string",
932
+ "minLength": 36,
933
+ "maxLength": 36,
934
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
935
+ "x-arcforges-rules": ["nonzeroUuid"]
936
+ },
937
+ "proof": {
938
+ "$ref": "#/$defs/BrowserAuthProof"
939
+ }
940
+ },
941
+ "required": ["flowId", "proof"],
942
+ "additionalProperties": false,
943
+ "x-arcforges-max-bytes": 131072
944
+ },
945
+ "BrowserAuthChallenge": {
946
+ "title": "BrowserAuthChallenge",
947
+ "type": "object",
948
+ "properties": {
949
+ "flowId": {
950
+ "type": "string",
951
+ "minLength": 36,
952
+ "maxLength": 36,
953
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
954
+ "x-arcforges-rules": ["nonzeroUuid"]
955
+ },
956
+ "method": {
957
+ "type": "string",
958
+ "enum": ["passkey", "email", "password", "oidc"]
959
+ },
960
+ "challenge": {
961
+ "type": "string",
962
+ "minLength": 0,
963
+ "maxLength": 43,
964
+ "pattern": "^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$"
965
+ },
966
+ "rpId": {
967
+ "type": "string",
968
+ "minLength": 1,
969
+ "maxLength": 128,
970
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
971
+ },
972
+ "expiresAt": {
973
+ "type": "string",
974
+ "minLength": 20,
975
+ "maxLength": 30,
976
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,9})?Z$"
977
+ },
978
+ "options": {
979
+ "$ref": "#/$defs/BrowserWebAuthnOptions"
980
+ },
981
+ "providerId": {
982
+ "type": "string",
983
+ "minLength": 1,
984
+ "maxLength": 128,
985
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
986
+ },
987
+ "redirectUrl": {
988
+ "type": "string",
989
+ "minLength": 1,
990
+ "x-arcforges-max-utf8-bytes": 4096
991
+ },
992
+ "purpose": {
993
+ "type": "string",
994
+ "enum": ["authenticate", "enroll", "stepUp", "recover", "cancelDeletion"]
995
+ },
996
+ "recoveryMethod": {
997
+ "type": "string",
998
+ "enum": ["emailCode", "recoveryCode", "passkey", "adminGrant"]
999
+ }
1000
+ },
1001
+ "required": ["flowId", "challenge", "expiresAt", "purpose"],
1002
+ "additionalProperties": false,
1003
+ "x-arcforges-max-bytes": 65536,
1004
+ "x-arcforges-rules": ["authChallengePurpose"]
1005
+ },
1006
+ "BrowserSessionView": {
1007
+ "title": "BrowserSessionView",
1008
+ "type": "object",
1009
+ "properties": {
1010
+ "sessionId": {
1011
+ "type": "string",
1012
+ "minLength": 36,
1013
+ "maxLength": 36,
1014
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
1015
+ "x-arcforges-rules": ["nonzeroUuid"]
1016
+ },
1017
+ "expiresAt": {
1018
+ "type": "string",
1019
+ "minLength": 20,
1020
+ "maxLength": 30,
1021
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,9})?Z$"
1022
+ },
1023
+ "idleExpiresAt": {
1024
+ "type": "string",
1025
+ "minLength": 20,
1026
+ "maxLength": 30,
1027
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,9})?Z$"
1028
+ },
1029
+ "userId": {
1030
+ "type": "string",
1031
+ "minLength": 36,
1032
+ "maxLength": 36,
1033
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
1034
+ "x-arcforges-rules": ["nonzeroUuid"]
1035
+ },
1036
+ "deviceId": {
1037
+ "type": "string",
1038
+ "minLength": 36,
1039
+ "maxLength": 36,
1040
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
1041
+ "x-arcforges-rules": ["nonzeroUuid"]
1042
+ },
1043
+ "workspaceIds": {
1044
+ "type": "array",
1045
+ "items": {
1046
+ "type": "string",
1047
+ "minLength": 36,
1048
+ "maxLength": 36,
1049
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
1050
+ "x-arcforges-rules": ["nonzeroUuid"]
1051
+ },
1052
+ "maxItems": 100
1053
+ },
1054
+ "recoveryGeneration": {
1055
+ "type": "string",
1056
+ "minLength": 1,
1057
+ "maxLength": 20,
1058
+ "pattern": "^(0|[1-9][0-9]*)$",
1059
+ "x-arcforges-rules": ["uint64String"]
1060
+ },
1061
+ "purpose": {
1062
+ "type": "string",
1063
+ "enum": ["authenticate", "enroll", "stepUp", "recover", "cancelDeletion"]
1064
+ }
1065
+ },
1066
+ "required": [
1067
+ "sessionId",
1068
+ "expiresAt",
1069
+ "userId",
1070
+ "deviceId",
1071
+ "workspaceIds",
1072
+ "recoveryGeneration",
1073
+ "purpose"
1074
+ ],
1075
+ "additionalProperties": false,
1076
+ "x-arcforges-max-bytes": 16384
1077
+ },
1078
+ "BrowserStepUpEvidence": {
1079
+ "title": "BrowserStepUpEvidence",
1080
+ "type": "object",
1081
+ "properties": {
1082
+ "operationClass": {
1083
+ "type": "string",
1084
+ "minLength": 1,
1085
+ "maxLength": 128,
1086
+ "pattern": "^[A-Za-z0-9._:/-]{1,128}$"
1087
+ },
1088
+ "expiresAt": {
1089
+ "type": "string",
1090
+ "minLength": 20,
1091
+ "maxLength": 30,
1092
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]{1,9})?Z$"
1093
+ }
1094
+ },
1095
+ "required": ["operationClass", "expiresAt"],
1096
+ "additionalProperties": false,
1097
+ "x-arcforges-max-bytes": 4096
1098
+ },
1099
+ "BrowserReceipt": {
1100
+ "title": "BrowserReceipt",
1101
+ "type": "object",
1102
+ "properties": {
1103
+ "commandId": {
1104
+ "type": "string",
1105
+ "minLength": 36,
1106
+ "maxLength": 36,
1107
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
1108
+ "x-arcforges-rules": ["nonzeroUuid"]
1109
+ },
1110
+ "resultRevision": {
1111
+ "type": "string",
1112
+ "minLength": 1,
1113
+ "maxLength": 19,
1114
+ "pattern": "^[1-9][0-9]*$",
1115
+ "x-arcforges-rules": ["positiveInt64String"]
1116
+ },
1117
+ "effect": {
1118
+ "type": "string",
1119
+ "enum": ["didNotHappen", "happened", "unknown"]
1120
+ }
1121
+ },
1122
+ "required": ["commandId", "effect"],
1123
+ "additionalProperties": false,
1124
+ "x-arcforges-max-bytes": 4096
1125
+ },
1126
+ "BrowserOidcCallbackSuccess": {
1127
+ "title": "BrowserOidcCallbackSuccess",
1128
+ "type": "object",
1129
+ "properties": {
1130
+ "code": {
1131
+ "type": "string",
1132
+ "minLength": 1,
1133
+ "maxLength": 2048,
1134
+ "pattern": "^[\\x21-\\x7E]+$"
1135
+ },
1136
+ "state": {
1137
+ "type": "string",
1138
+ "minLength": 1,
1139
+ "maxLength": 128,
1140
+ "pattern": "^[\\x21-\\x7E]+$"
1141
+ }
1142
+ },
1143
+ "required": ["code", "state"],
1144
+ "additionalProperties": false,
1145
+ "x-arcforges-max-bytes": 16384,
1146
+ "x-arcforges-wire": "form-urlencoded"
1147
+ },
1148
+ "BrowserOidcCallbackFailure": {
1149
+ "title": "BrowserOidcCallbackFailure",
1150
+ "type": "object",
1151
+ "properties": {
1152
+ "error": {
1153
+ "type": "string",
1154
+ "minLength": 1,
1155
+ "maxLength": 64,
1156
+ "pattern": "^[a-z][a-z_]*$"
1157
+ },
1158
+ "error_description": {
1159
+ "type": "string",
1160
+ "minLength": 1,
1161
+ "maxLength": 512,
1162
+ "pattern": "^[\\x20-\\x7E]+$"
1163
+ },
1164
+ "state": {
1165
+ "type": "string",
1166
+ "minLength": 1,
1167
+ "maxLength": 128,
1168
+ "pattern": "^[\\x21-\\x7E]+$"
1169
+ }
1170
+ },
1171
+ "required": ["error", "state"],
1172
+ "additionalProperties": false,
1173
+ "x-arcforges-max-bytes": 16384,
1174
+ "x-arcforges-wire": "form-urlencoded"
1175
+ }
1176
+ },
1177
+ "x-arcforges-routes": [
1178
+ {
1179
+ "id": "browser.bootstrap",
1180
+ "method": "GET",
1181
+ "path": "/session/v1/bootstrap",
1182
+ "credential": "anonymous-or-session-cookie",
1183
+ "origin": "exact-configured",
1184
+ "csrf": "issues-token",
1185
+ "setCookie": "none",
1186
+ "cache": "no-store",
1187
+ "request": [],
1188
+ "response": ["BrowserBootstrapResponse"]
1189
+ },
1190
+ {
1191
+ "id": "browser.beginAuthentication",
1192
+ "method": "POST",
1193
+ "path": "/session/v1/authentication/begin",
1194
+ "credential": "preauth-flow",
1195
+ "origin": "exact-configured",
1196
+ "csrf": "required",
1197
+ "setCookie": "none",
1198
+ "cache": "no-store",
1199
+ "request": ["BrowserBeginAuthenticationRequest"],
1200
+ "response": ["BrowserAuthChallenge"]
1201
+ },
1202
+ {
1203
+ "id": "browser.completeAuthentication",
1204
+ "method": "POST",
1205
+ "path": "/session/v1/authentication/complete",
1206
+ "credential": "preauth-flow",
1207
+ "origin": "exact-configured",
1208
+ "csrf": "required",
1209
+ "setCookie": "session",
1210
+ "cache": "no-store",
1211
+ "request": ["BrowserCompleteAuthenticationRequest"],
1212
+ "response": ["BrowserSessionView"]
1213
+ },
1214
+ {
1215
+ "id": "browser.completeEnrollment",
1216
+ "method": "POST",
1217
+ "path": "/session/v1/enrollment/complete",
1218
+ "credential": "preauth-flow",
1219
+ "origin": "exact-configured",
1220
+ "csrf": "required",
1221
+ "setCookie": "session",
1222
+ "cache": "no-store",
1223
+ "request": ["BrowserCompleteEnrollmentRequest"],
1224
+ "response": ["BrowserSessionView"]
1225
+ },
1226
+ {
1227
+ "id": "browser.beginRecovery",
1228
+ "method": "POST",
1229
+ "path": "/session/v1/recovery/begin",
1230
+ "credential": "preauth-flow",
1231
+ "origin": "exact-configured",
1232
+ "csrf": "required",
1233
+ "setCookie": "none",
1234
+ "cache": "no-store",
1235
+ "request": ["BrowserBeginRecoveryRequest"],
1236
+ "response": ["BrowserAuthChallenge"]
1237
+ },
1238
+ {
1239
+ "id": "browser.completeRecovery",
1240
+ "method": "POST",
1241
+ "path": "/session/v1/recovery/complete",
1242
+ "credential": "preauth-flow",
1243
+ "origin": "exact-configured",
1244
+ "csrf": "required",
1245
+ "setCookie": "none",
1246
+ "cache": "no-store",
1247
+ "request": ["BrowserCompleteRecoveryRequest"],
1248
+ "response": ["BrowserReceipt"]
1249
+ },
1250
+ {
1251
+ "id": "browser.beginStepUp",
1252
+ "method": "POST",
1253
+ "path": "/session/v1/step-up/begin",
1254
+ "credential": "session-cookie",
1255
+ "origin": "exact-configured",
1256
+ "csrf": "required",
1257
+ "setCookie": "none",
1258
+ "cache": "no-store",
1259
+ "request": ["BrowserBeginStepUpRequest"],
1260
+ "response": ["BrowserAuthChallenge"]
1261
+ },
1262
+ {
1263
+ "id": "browser.completeStepUp",
1264
+ "method": "POST",
1265
+ "path": "/session/v1/step-up/complete",
1266
+ "credential": "session-cookie",
1267
+ "origin": "exact-configured",
1268
+ "csrf": "required",
1269
+ "setCookie": "none",
1270
+ "cache": "no-store",
1271
+ "request": ["BrowserCompleteStepUpRequest"],
1272
+ "response": ["BrowserStepUpEvidence"]
1273
+ },
1274
+ {
1275
+ "id": "browser.logout",
1276
+ "method": "POST",
1277
+ "path": "/session/v1/logout",
1278
+ "credential": "session-cookie",
1279
+ "origin": "exact-configured",
1280
+ "csrf": "required",
1281
+ "setCookie": "clear",
1282
+ "cache": "no-store",
1283
+ "request": [],
1284
+ "response": ["BrowserReceipt"]
1285
+ },
1286
+ {
1287
+ "id": "browser.oidcCallback",
1288
+ "method": "GET",
1289
+ "path": "/session/v1/providers/{providerId}/callback",
1290
+ "credential": "flow-cookie",
1291
+ "origin": "none",
1292
+ "csrf": "none",
1293
+ "setCookie": "none",
1294
+ "cache": "no-store",
1295
+ "request": ["BrowserOidcCallbackSuccess", "BrowserOidcCallbackFailure"],
1296
+ "response": []
1297
+ }
1298
+ ],
1299
+ "x-arcforges-schema-version": "1"
1300
+ }