@eudiplo/cli 8.0.2 → 8.1.0-main.05183ed
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.
- package/README.md +7 -3
- package/dist/commands/config/portability/migrations.spec.js +5 -3
- package/dist/commands/config/portability/migrations.spec.js.map +1 -1
- package/dist/commands/deployment/action.d.ts +1 -1
- package/dist/commands/deployment/action.d.ts.map +1 -1
- package/dist/commands/deployment/action.js.map +1 -1
- package/dist/commands/deployment/index.d.ts.map +1 -1
- package/dist/commands/deployment/index.js +7 -4
- package/dist/commands/deployment/index.js.map +1 -1
- package/dist/commands/doctor/action.d.ts +2 -1
- package/dist/commands/doctor/action.d.ts.map +1 -1
- package/dist/commands/doctor/action.js +25 -7
- package/dist/commands/doctor/action.js.map +1 -1
- package/dist/commands/doctor/index.d.ts.map +1 -1
- package/dist/commands/doctor/index.js +2 -0
- package/dist/commands/doctor/index.js.map +1 -1
- package/dist/commands/open/action.d.ts +9 -0
- package/dist/commands/open/action.d.ts.map +1 -0
- package/dist/commands/open/action.js +41 -0
- package/dist/commands/open/action.js.map +1 -0
- package/dist/commands/open/index.d.ts +5 -0
- package/dist/commands/open/index.d.ts.map +1 -0
- package/dist/commands/open/index.js +15 -0
- package/dist/commands/open/index.js.map +1 -0
- package/dist/commands/upgrade/action.d.ts +3 -0
- package/dist/commands/upgrade/action.d.ts.map +1 -0
- package/dist/commands/upgrade/action.js +95 -0
- package/dist/commands/upgrade/action.js.map +1 -0
- package/dist/commands/upgrade/index.d.ts +5 -0
- package/dist/commands/upgrade/index.d.ts.map +1 -0
- package/dist/commands/upgrade/index.js +15 -0
- package/dist/commands/upgrade/index.js.map +1 -0
- package/dist/index.js +3139 -550
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +5 -1
- package/dist/runtime.js.map +1 -1
- package/dist/services/api-auth.d.ts +31 -0
- package/dist/services/api-auth.d.ts.map +1 -0
- package/dist/services/api-auth.js +78 -0
- package/dist/services/api-auth.js.map +1 -0
- package/dist/services/backend-checks.d.ts +24 -0
- package/dist/services/backend-checks.d.ts.map +1 -0
- package/dist/services/backend-checks.js +105 -0
- package/dist/services/backend-checks.js.map +1 -0
- package/dist/services/browser.d.ts +30 -0
- package/dist/services/browser.d.ts.map +1 -0
- package/dist/services/browser.js +102 -0
- package/dist/services/browser.js.map +1 -0
- package/dist/services/compose-args.d.ts +28 -0
- package/dist/services/compose-args.d.ts.map +1 -0
- package/dist/services/compose-args.js +117 -0
- package/dist/services/compose-args.js.map +1 -0
- package/dist/services/compose-project.js +6 -6
- package/dist/services/compose-project.js.map +1 -1
- package/dist/services/compose-upgrade.d.ts +40 -0
- package/dist/services/compose-upgrade.d.ts.map +1 -0
- package/dist/services/compose-upgrade.js +102 -0
- package/dist/services/compose-upgrade.js.map +1 -0
- package/dist/services/container-state.d.ts +14 -0
- package/dist/services/container-state.d.ts.map +1 -0
- package/dist/services/container-state.js +70 -0
- package/dist/services/container-state.js.map +1 -0
- package/dist/services/deployment-drivers.d.ts +8 -1
- package/dist/services/deployment-drivers.d.ts.map +1 -1
- package/dist/services/deployment-drivers.js +162 -19
- package/dist/services/deployment-drivers.js.map +1 -1
- package/dist/services/diagnostics.d.ts +19 -2
- package/dist/services/diagnostics.d.ts.map +1 -1
- package/dist/services/diagnostics.js +219 -50
- package/dist/services/diagnostics.js.map +1 -1
- package/dist/services/tls-expiry.d.ts +16 -0
- package/dist/services/tls-expiry.d.ts.map +1 -0
- package/dist/services/tls-expiry.js +80 -0
- package/dist/services/tls-expiry.js.map +1 -0
- package/dist/types.d.ts +5 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
- package/templates/demo-config/trust-lists/trustlist-580831bc-ef11-43f4-a3be-a2b6bf1b29a3-config.json +1 -97
- package/templates/docker-compose.yml +35 -28
- package/templates/schemas/IssuanceConfig.schema.json +13 -0
- package/templates/schemas/IssuanceConfigFile.schema.json +663 -1
- package/templates/schemas/KeyChainConfigFile.schema.json +7 -3
- package/templates/schemas/KeyChainImportDto.schema.json +7 -3
- package/templates/schemas/PresentationConfigCreateDto.schema.json +3 -6
- package/templates/schemas/PresentationConfigFile.schema.json +723 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"properties": {
|
|
10
10
|
"$schema": {
|
|
11
11
|
"type": "string",
|
|
12
|
-
"const": "https://eudiplo.dev/schemas/
|
|
12
|
+
"const": "https://eudiplo.dev/schemas/v2/PresentationConfigFile.schema.json"
|
|
13
13
|
},
|
|
14
14
|
"metadata": {
|
|
15
15
|
"type": "object",
|
|
@@ -55,6 +55,728 @@
|
|
|
55
55
|
"spec"
|
|
56
56
|
],
|
|
57
57
|
"additionalProperties": false
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
61
|
+
"$id": "https://eudiplo.dev/schemas/v1/PresentationConfigFile.schema.json",
|
|
62
|
+
"title": "PresentationConfigFile",
|
|
63
|
+
"type": "object",
|
|
64
|
+
"properties": {
|
|
65
|
+
"$schema": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"const": "https://eudiplo.dev/schemas/v1/PresentationConfigFile.schema.json"
|
|
68
|
+
},
|
|
69
|
+
"metadata": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"generation": {
|
|
73
|
+
"type": "integer",
|
|
74
|
+
"minimum": 1,
|
|
75
|
+
"description": "Monotonically increasing configuration generation."
|
|
76
|
+
},
|
|
77
|
+
"ownership": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"enum": [
|
|
80
|
+
"unmanaged",
|
|
81
|
+
"file-managed"
|
|
82
|
+
],
|
|
83
|
+
"description": "Requested ownership recorded when the document is applied."
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"additionalProperties": false
|
|
87
|
+
},
|
|
88
|
+
"spec": {
|
|
89
|
+
"allOf": [
|
|
90
|
+
{
|
|
91
|
+
"$ref": "#/$defs/PresentationConfigCreateDto"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "object",
|
|
95
|
+
"required": [
|
|
96
|
+
"id"
|
|
97
|
+
],
|
|
98
|
+
"properties": {
|
|
99
|
+
"id": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"minLength": 1
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"required": [
|
|
109
|
+
"$schema",
|
|
110
|
+
"spec"
|
|
111
|
+
],
|
|
112
|
+
"additionalProperties": false,
|
|
113
|
+
"$defs": {
|
|
114
|
+
"PresentationConfigCreateDto": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"properties": {
|
|
117
|
+
"id": {
|
|
118
|
+
"type": "string",
|
|
119
|
+
"minLength": 1,
|
|
120
|
+
"description": "Presentation configuration identifier."
|
|
121
|
+
},
|
|
122
|
+
"description": {
|
|
123
|
+
"description": "Optional presentation configuration description.",
|
|
124
|
+
"type": [
|
|
125
|
+
"string",
|
|
126
|
+
"null"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"lifeTime": {
|
|
130
|
+
"description": "Presentation request lifetime in seconds.",
|
|
131
|
+
"type": "integer",
|
|
132
|
+
"minimum": 1,
|
|
133
|
+
"maximum": 9007199254740991
|
|
134
|
+
},
|
|
135
|
+
"skewSeconds": {
|
|
136
|
+
"description": "Clock skew tolerance in seconds.",
|
|
137
|
+
"type": "integer",
|
|
138
|
+
"minimum": 0,
|
|
139
|
+
"maximum": 9007199254740991
|
|
140
|
+
},
|
|
141
|
+
"statusCheckMode": {
|
|
142
|
+
"description": "Revocation/status check mode.",
|
|
143
|
+
"type": "string",
|
|
144
|
+
"enum": [
|
|
145
|
+
"strict",
|
|
146
|
+
"best_effort",
|
|
147
|
+
"disabled"
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
"dcql_query": {
|
|
151
|
+
"type": "object",
|
|
152
|
+
"properties": {
|
|
153
|
+
"credentials": {
|
|
154
|
+
"minItems": 1,
|
|
155
|
+
"type": "array",
|
|
156
|
+
"items": {
|
|
157
|
+
"oneOf": [
|
|
158
|
+
{
|
|
159
|
+
"type": "object",
|
|
160
|
+
"properties": {
|
|
161
|
+
"id": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"minLength": 1,
|
|
164
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
165
|
+
"description": "Credential query identifier."
|
|
166
|
+
},
|
|
167
|
+
"multiple": {
|
|
168
|
+
"description": "Allow multiple matching credentials.",
|
|
169
|
+
"type": "boolean"
|
|
170
|
+
},
|
|
171
|
+
"claim_sets": {
|
|
172
|
+
"description": "Optional claim set constraints.",
|
|
173
|
+
"type": "array",
|
|
174
|
+
"items": {
|
|
175
|
+
"type": "array",
|
|
176
|
+
"items": {
|
|
177
|
+
"type": "string"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"trusted_authorities": {
|
|
182
|
+
"description": "Optional trusted authority constraints.",
|
|
183
|
+
"type": "array",
|
|
184
|
+
"items": {
|
|
185
|
+
"oneOf": [
|
|
186
|
+
{
|
|
187
|
+
"type": "object",
|
|
188
|
+
"properties": {
|
|
189
|
+
"type": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"const": "etsi_tl",
|
|
192
|
+
"description": "Trusted authority type discriminator for ETSI trust lists."
|
|
193
|
+
},
|
|
194
|
+
"values": {
|
|
195
|
+
"type": "array",
|
|
196
|
+
"items": {
|
|
197
|
+
"type": "object",
|
|
198
|
+
"properties": {
|
|
199
|
+
"trustListId": {
|
|
200
|
+
"description": "Optional trust list id reference.",
|
|
201
|
+
"type": "string"
|
|
202
|
+
},
|
|
203
|
+
"url": {
|
|
204
|
+
"description": "Optional trust list URL reference.",
|
|
205
|
+
"anyOf": [
|
|
206
|
+
{
|
|
207
|
+
"type": "string",
|
|
208
|
+
"format": "uri"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"type": "string",
|
|
212
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
213
|
+
}
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
"verifierKey": {
|
|
217
|
+
"description": "Optional verifier key material.",
|
|
218
|
+
"type": "object",
|
|
219
|
+
"propertyNames": {
|
|
220
|
+
"type": "string"
|
|
221
|
+
},
|
|
222
|
+
"additionalProperties": {}
|
|
223
|
+
},
|
|
224
|
+
"verifierX509Der": {
|
|
225
|
+
"description": "Optional verifier certificate in DER/base64 form.",
|
|
226
|
+
"type": "string"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"additionalProperties": false
|
|
230
|
+
},
|
|
231
|
+
"description": "Trust list references for ETSI TL verification."
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"required": [
|
|
235
|
+
"type",
|
|
236
|
+
"values"
|
|
237
|
+
],
|
|
238
|
+
"additionalProperties": false
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"type": "object",
|
|
242
|
+
"properties": {
|
|
243
|
+
"type": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"const": "openid_federation",
|
|
246
|
+
"description": "Trusted authority type discriminator for OpenID Federation."
|
|
247
|
+
},
|
|
248
|
+
"values": {
|
|
249
|
+
"type": "array",
|
|
250
|
+
"items": {
|
|
251
|
+
"type": "string"
|
|
252
|
+
},
|
|
253
|
+
"description": "OpenID Federation authority identifiers."
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
"required": [
|
|
257
|
+
"type",
|
|
258
|
+
"values"
|
|
259
|
+
],
|
|
260
|
+
"additionalProperties": false
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"format": {
|
|
266
|
+
"type": "string",
|
|
267
|
+
"const": "dc+sd-jwt",
|
|
268
|
+
"description": "Credential format discriminator."
|
|
269
|
+
},
|
|
270
|
+
"meta": {
|
|
271
|
+
"type": "object",
|
|
272
|
+
"properties": {
|
|
273
|
+
"vct_values": {
|
|
274
|
+
"minItems": 1,
|
|
275
|
+
"type": "array",
|
|
276
|
+
"items": {
|
|
277
|
+
"type": "string"
|
|
278
|
+
},
|
|
279
|
+
"description": "Accepted VCT values."
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"required": [
|
|
283
|
+
"vct_values"
|
|
284
|
+
],
|
|
285
|
+
"additionalProperties": false
|
|
286
|
+
},
|
|
287
|
+
"claims": {
|
|
288
|
+
"description": "Optional claim-level constraints.",
|
|
289
|
+
"type": "array",
|
|
290
|
+
"items": {
|
|
291
|
+
"type": "object",
|
|
292
|
+
"properties": {
|
|
293
|
+
"id": {
|
|
294
|
+
"description": "Optional claim query id.",
|
|
295
|
+
"type": "string"
|
|
296
|
+
},
|
|
297
|
+
"path": {
|
|
298
|
+
"type": "array",
|
|
299
|
+
"items": {
|
|
300
|
+
"type": [
|
|
301
|
+
"string",
|
|
302
|
+
"number"
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
"description": "Path to the claim value in presented credentials."
|
|
306
|
+
},
|
|
307
|
+
"values": {
|
|
308
|
+
"description": "Optional allowed values for the claim.",
|
|
309
|
+
"type": "array",
|
|
310
|
+
"items": {
|
|
311
|
+
"type": "string"
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"required": [
|
|
316
|
+
"path"
|
|
317
|
+
],
|
|
318
|
+
"additionalProperties": false
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"required": [
|
|
323
|
+
"id",
|
|
324
|
+
"format",
|
|
325
|
+
"meta"
|
|
326
|
+
],
|
|
327
|
+
"additionalProperties": false
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"type": "object",
|
|
331
|
+
"properties": {
|
|
332
|
+
"id": {
|
|
333
|
+
"type": "string",
|
|
334
|
+
"minLength": 1,
|
|
335
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
336
|
+
"description": "Credential query identifier."
|
|
337
|
+
},
|
|
338
|
+
"multiple": {
|
|
339
|
+
"description": "Allow multiple matching credentials.",
|
|
340
|
+
"type": "boolean"
|
|
341
|
+
},
|
|
342
|
+
"claim_sets": {
|
|
343
|
+
"description": "Optional claim set constraints.",
|
|
344
|
+
"type": "array",
|
|
345
|
+
"items": {
|
|
346
|
+
"type": "array",
|
|
347
|
+
"items": {
|
|
348
|
+
"type": "string"
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"trusted_authorities": {
|
|
353
|
+
"description": "Optional trusted authority constraints.",
|
|
354
|
+
"type": "array",
|
|
355
|
+
"items": {
|
|
356
|
+
"oneOf": [
|
|
357
|
+
{
|
|
358
|
+
"type": "object",
|
|
359
|
+
"properties": {
|
|
360
|
+
"type": {
|
|
361
|
+
"type": "string",
|
|
362
|
+
"const": "etsi_tl",
|
|
363
|
+
"description": "Trusted authority type discriminator for ETSI trust lists."
|
|
364
|
+
},
|
|
365
|
+
"values": {
|
|
366
|
+
"type": "array",
|
|
367
|
+
"items": {
|
|
368
|
+
"type": "object",
|
|
369
|
+
"properties": {
|
|
370
|
+
"trustListId": {
|
|
371
|
+
"description": "Optional trust list id reference.",
|
|
372
|
+
"type": "string"
|
|
373
|
+
},
|
|
374
|
+
"url": {
|
|
375
|
+
"description": "Optional trust list URL reference.",
|
|
376
|
+
"anyOf": [
|
|
377
|
+
{
|
|
378
|
+
"type": "string",
|
|
379
|
+
"format": "uri"
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"type": "string",
|
|
383
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
384
|
+
}
|
|
385
|
+
]
|
|
386
|
+
},
|
|
387
|
+
"verifierKey": {
|
|
388
|
+
"description": "Optional verifier key material.",
|
|
389
|
+
"type": "object",
|
|
390
|
+
"propertyNames": {
|
|
391
|
+
"type": "string"
|
|
392
|
+
},
|
|
393
|
+
"additionalProperties": {}
|
|
394
|
+
},
|
|
395
|
+
"verifierX509Der": {
|
|
396
|
+
"description": "Optional verifier certificate in DER/base64 form.",
|
|
397
|
+
"type": "string"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
"additionalProperties": false
|
|
401
|
+
},
|
|
402
|
+
"description": "Trust list references for ETSI TL verification."
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"required": [
|
|
406
|
+
"type",
|
|
407
|
+
"values"
|
|
408
|
+
],
|
|
409
|
+
"additionalProperties": false
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"type": "object",
|
|
413
|
+
"properties": {
|
|
414
|
+
"type": {
|
|
415
|
+
"type": "string",
|
|
416
|
+
"const": "openid_federation",
|
|
417
|
+
"description": "Trusted authority type discriminator for OpenID Federation."
|
|
418
|
+
},
|
|
419
|
+
"values": {
|
|
420
|
+
"type": "array",
|
|
421
|
+
"items": {
|
|
422
|
+
"type": "string"
|
|
423
|
+
},
|
|
424
|
+
"description": "OpenID Federation authority identifiers."
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"required": [
|
|
428
|
+
"type",
|
|
429
|
+
"values"
|
|
430
|
+
],
|
|
431
|
+
"additionalProperties": false
|
|
432
|
+
}
|
|
433
|
+
]
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
"format": {
|
|
437
|
+
"type": "string",
|
|
438
|
+
"const": "mso_mdoc",
|
|
439
|
+
"description": "Credential format discriminator."
|
|
440
|
+
},
|
|
441
|
+
"meta": {
|
|
442
|
+
"type": "object",
|
|
443
|
+
"properties": {
|
|
444
|
+
"doctype_value": {
|
|
445
|
+
"type": "string",
|
|
446
|
+
"minLength": 1,
|
|
447
|
+
"description": "Expected mDoc doctype value."
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
"required": [
|
|
451
|
+
"doctype_value"
|
|
452
|
+
],
|
|
453
|
+
"additionalProperties": false
|
|
454
|
+
},
|
|
455
|
+
"claims": {
|
|
456
|
+
"description": "Optional mDoc claim-level constraints.",
|
|
457
|
+
"type": "array",
|
|
458
|
+
"items": {
|
|
459
|
+
"type": "object",
|
|
460
|
+
"properties": {
|
|
461
|
+
"id": {
|
|
462
|
+
"description": "Optional claim query id.",
|
|
463
|
+
"type": "string"
|
|
464
|
+
},
|
|
465
|
+
"path": {
|
|
466
|
+
"type": "array",
|
|
467
|
+
"items": {
|
|
468
|
+
"type": [
|
|
469
|
+
"string",
|
|
470
|
+
"number"
|
|
471
|
+
]
|
|
472
|
+
},
|
|
473
|
+
"description": "Path to the claim value in presented credentials."
|
|
474
|
+
},
|
|
475
|
+
"values": {
|
|
476
|
+
"description": "Optional allowed values for the claim.",
|
|
477
|
+
"type": "array",
|
|
478
|
+
"items": {
|
|
479
|
+
"type": "string"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"intent_to_retain": {
|
|
483
|
+
"description": "Whether relying party intends to retain the claim.",
|
|
484
|
+
"type": "boolean"
|
|
485
|
+
}
|
|
486
|
+
},
|
|
487
|
+
"required": [
|
|
488
|
+
"path"
|
|
489
|
+
],
|
|
490
|
+
"additionalProperties": false
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
"required": [
|
|
495
|
+
"id",
|
|
496
|
+
"format",
|
|
497
|
+
"meta"
|
|
498
|
+
],
|
|
499
|
+
"additionalProperties": false
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
|
+
},
|
|
503
|
+
"description": "Credential queries requested by the verifier."
|
|
504
|
+
},
|
|
505
|
+
"credential_sets": {
|
|
506
|
+
"description": "Optional higher-level credential set requirements.",
|
|
507
|
+
"type": "array",
|
|
508
|
+
"items": {
|
|
509
|
+
"type": "object",
|
|
510
|
+
"properties": {
|
|
511
|
+
"options": {
|
|
512
|
+
"minItems": 1,
|
|
513
|
+
"type": "array",
|
|
514
|
+
"items": {
|
|
515
|
+
"minItems": 1,
|
|
516
|
+
"type": "array",
|
|
517
|
+
"items": {
|
|
518
|
+
"type": "string"
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"description": "Alternative credential query id combinations."
|
|
522
|
+
},
|
|
523
|
+
"required": {
|
|
524
|
+
"description": "Whether this credential set is mandatory.",
|
|
525
|
+
"type": "boolean"
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
"required": [
|
|
529
|
+
"options"
|
|
530
|
+
],
|
|
531
|
+
"additionalProperties": false
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
"required": [
|
|
536
|
+
"credentials"
|
|
537
|
+
],
|
|
538
|
+
"additionalProperties": false,
|
|
539
|
+
"description": "DCQL query defining requested credentials and claims."
|
|
540
|
+
},
|
|
541
|
+
"transaction_data": {
|
|
542
|
+
"description": "Optional transaction data descriptors.",
|
|
543
|
+
"anyOf": [
|
|
544
|
+
{
|
|
545
|
+
"type": "array",
|
|
546
|
+
"items": {
|
|
547
|
+
"type": "object",
|
|
548
|
+
"properties": {
|
|
549
|
+
"type": {
|
|
550
|
+
"type": "string",
|
|
551
|
+
"description": "Transaction data type identifier."
|
|
552
|
+
},
|
|
553
|
+
"credential_ids": {
|
|
554
|
+
"type": "array",
|
|
555
|
+
"items": {
|
|
556
|
+
"type": "string"
|
|
557
|
+
},
|
|
558
|
+
"description": "Credential query ids this transaction data applies to."
|
|
559
|
+
},
|
|
560
|
+
"payload": {
|
|
561
|
+
"description": "Transaction details. Required for TS12 SCA transaction data."
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
"required": [
|
|
565
|
+
"type",
|
|
566
|
+
"credential_ids"
|
|
567
|
+
],
|
|
568
|
+
"additionalProperties": {}
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"type": "null"
|
|
573
|
+
}
|
|
574
|
+
]
|
|
575
|
+
},
|
|
576
|
+
"registration_cert": {
|
|
577
|
+
"description": "Optional registration certificate request settings.",
|
|
578
|
+
"anyOf": [
|
|
579
|
+
{
|
|
580
|
+
"type": "object",
|
|
581
|
+
"properties": {
|
|
582
|
+
"id": {
|
|
583
|
+
"type": "string"
|
|
584
|
+
},
|
|
585
|
+
"body": {
|
|
586
|
+
"type": "object",
|
|
587
|
+
"properties": {
|
|
588
|
+
"privacy_policy": {
|
|
589
|
+
"type": "string"
|
|
590
|
+
},
|
|
591
|
+
"support_uri": {
|
|
592
|
+
"type": "string"
|
|
593
|
+
},
|
|
594
|
+
"intermediary": {
|
|
595
|
+
"type": "string"
|
|
596
|
+
},
|
|
597
|
+
"purpose": {
|
|
598
|
+
"type": "array",
|
|
599
|
+
"items": {
|
|
600
|
+
"type": "object",
|
|
601
|
+
"properties": {
|
|
602
|
+
"lang": {
|
|
603
|
+
"type": "string"
|
|
604
|
+
},
|
|
605
|
+
"content": {
|
|
606
|
+
"type": "string"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"required": [
|
|
610
|
+
"lang",
|
|
611
|
+
"content"
|
|
612
|
+
],
|
|
613
|
+
"additionalProperties": false
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
"credentials": {
|
|
617
|
+
"type": "array",
|
|
618
|
+
"items": {
|
|
619
|
+
"type": "object",
|
|
620
|
+
"propertyNames": {
|
|
621
|
+
"type": "string"
|
|
622
|
+
},
|
|
623
|
+
"additionalProperties": {}
|
|
624
|
+
}
|
|
625
|
+
},
|
|
626
|
+
"provided_attestations": {
|
|
627
|
+
"type": "array",
|
|
628
|
+
"items": {
|
|
629
|
+
"type": "object",
|
|
630
|
+
"propertyNames": {
|
|
631
|
+
"type": "string"
|
|
632
|
+
},
|
|
633
|
+
"additionalProperties": {}
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
},
|
|
637
|
+
"additionalProperties": false
|
|
638
|
+
},
|
|
639
|
+
"jwt": {
|
|
640
|
+
"type": "string"
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
"additionalProperties": false
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"type": "null"
|
|
647
|
+
}
|
|
648
|
+
]
|
|
649
|
+
},
|
|
650
|
+
"registrationCertImportJwt": {
|
|
651
|
+
"description": "Optional imported registration certificate JWT.",
|
|
652
|
+
"type": [
|
|
653
|
+
"string",
|
|
654
|
+
"null"
|
|
655
|
+
]
|
|
656
|
+
},
|
|
657
|
+
"registrationCertImportId": {
|
|
658
|
+
"description": "Optional registrar-side registration certificate id.",
|
|
659
|
+
"type": [
|
|
660
|
+
"string",
|
|
661
|
+
"null"
|
|
662
|
+
]
|
|
663
|
+
},
|
|
664
|
+
"registrationCertBodyPrivacyPolicy": {
|
|
665
|
+
"description": "Optional registration certificate privacy policy URI.",
|
|
666
|
+
"type": [
|
|
667
|
+
"string",
|
|
668
|
+
"null"
|
|
669
|
+
]
|
|
670
|
+
},
|
|
671
|
+
"registrationCertBodySupportUri": {
|
|
672
|
+
"description": "Optional registration certificate support URI.",
|
|
673
|
+
"type": [
|
|
674
|
+
"string",
|
|
675
|
+
"null"
|
|
676
|
+
]
|
|
677
|
+
},
|
|
678
|
+
"registrationCertBodyIntermediary": {
|
|
679
|
+
"description": "Optional registration certificate intermediary.",
|
|
680
|
+
"type": [
|
|
681
|
+
"string",
|
|
682
|
+
"null"
|
|
683
|
+
]
|
|
684
|
+
},
|
|
685
|
+
"registrationCertBodyPurpose": {
|
|
686
|
+
"description": "Optional registration certificate purpose entries.",
|
|
687
|
+
"anyOf": [
|
|
688
|
+
{
|
|
689
|
+
"type": "array",
|
|
690
|
+
"items": {
|
|
691
|
+
"type": "object",
|
|
692
|
+
"properties": {
|
|
693
|
+
"lang": {
|
|
694
|
+
"type": "string"
|
|
695
|
+
},
|
|
696
|
+
"content": {
|
|
697
|
+
"type": "string"
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
"additionalProperties": false
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"type": "null"
|
|
705
|
+
}
|
|
706
|
+
]
|
|
707
|
+
},
|
|
708
|
+
"webhookEndpointId": {
|
|
709
|
+
"description": "Optional webhook endpoint id for presentation callbacks.",
|
|
710
|
+
"type": [
|
|
711
|
+
"string",
|
|
712
|
+
"null"
|
|
713
|
+
]
|
|
714
|
+
},
|
|
715
|
+
"attached": {
|
|
716
|
+
"description": "Optional attachments included with presentation requests.",
|
|
717
|
+
"anyOf": [
|
|
718
|
+
{
|
|
719
|
+
"type": "array",
|
|
720
|
+
"items": {
|
|
721
|
+
"type": "object",
|
|
722
|
+
"properties": {
|
|
723
|
+
"format": {
|
|
724
|
+
"type": "string",
|
|
725
|
+
"description": "Attachment format identifier."
|
|
726
|
+
},
|
|
727
|
+
"data": {
|
|
728
|
+
"description": "Attachment payload."
|
|
729
|
+
},
|
|
730
|
+
"credential_ids": {
|
|
731
|
+
"description": "Optional credential query ids bound to this attachment.",
|
|
732
|
+
"type": "array",
|
|
733
|
+
"items": {
|
|
734
|
+
"type": "string"
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
},
|
|
738
|
+
"required": [
|
|
739
|
+
"format",
|
|
740
|
+
"data"
|
|
741
|
+
],
|
|
742
|
+
"additionalProperties": false
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"type": "null"
|
|
747
|
+
}
|
|
748
|
+
]
|
|
749
|
+
},
|
|
750
|
+
"redirectUri": {
|
|
751
|
+
"description": "Optional redirect URI after presentation completion.",
|
|
752
|
+
"type": [
|
|
753
|
+
"string",
|
|
754
|
+
"null"
|
|
755
|
+
]
|
|
756
|
+
},
|
|
757
|
+
"accessKeyChainId": {
|
|
758
|
+
"description": "Optional key chain id for access token/auth operations.",
|
|
759
|
+
"type": [
|
|
760
|
+
"string",
|
|
761
|
+
"null"
|
|
762
|
+
]
|
|
763
|
+
},
|
|
764
|
+
"readerAuth": {
|
|
765
|
+
"description": "Whether reader authentication is required for mDoc requests.",
|
|
766
|
+
"type": [
|
|
767
|
+
"boolean",
|
|
768
|
+
"null"
|
|
769
|
+
]
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
"required": [
|
|
773
|
+
"id",
|
|
774
|
+
"dcql_query"
|
|
775
|
+
],
|
|
776
|
+
"additionalProperties": false,
|
|
777
|
+
"title": "PresentationConfigCreateDto"
|
|
778
|
+
}
|
|
779
|
+
}
|
|
58
780
|
}
|
|
59
781
|
]
|
|
60
782
|
}
|