@eudiplo/cli 9.1.0-main.9e52ff4 → 9.1.0-main.9ef2054

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/dist/commands/config/index.d.ts.map +1 -1
  2. package/dist/commands/config/index.js +1 -1
  3. package/dist/commands/config/index.js.map +1 -1
  4. package/dist/commands/config/portability/action.d.ts.map +1 -1
  5. package/dist/commands/config/portability/action.js +129 -13
  6. package/dist/commands/config/portability/action.js.map +1 -1
  7. package/dist/commands/config/portability/folder-bundle.d.ts +60 -0
  8. package/dist/commands/config/portability/folder-bundle.d.ts.map +1 -0
  9. package/dist/commands/config/portability/folder-bundle.js +270 -0
  10. package/dist/commands/config/portability/folder-bundle.js.map +1 -0
  11. package/dist/commands/config/portability/folder-export.d.ts +22 -0
  12. package/dist/commands/config/portability/folder-export.d.ts.map +1 -0
  13. package/dist/commands/config/portability/folder-export.js +146 -0
  14. package/dist/commands/config/portability/folder-export.js.map +1 -0
  15. package/dist/commands/config/portability/index.d.ts.map +1 -1
  16. package/dist/commands/config/portability/index.js +8 -4
  17. package/dist/commands/config/portability/index.js.map +1 -1
  18. package/dist/commands/config/portability/migrations.spec.js +5 -2
  19. package/dist/commands/config/portability/migrations.spec.js.map +1 -1
  20. package/dist/commands/config/portability/upgrade.d.ts +2 -0
  21. package/dist/commands/config/portability/upgrade.d.ts.map +1 -1
  22. package/dist/commands/config/portability/upgrade.js +46 -17
  23. package/dist/commands/config/portability/upgrade.js.map +1 -1
  24. package/dist/commands/config/tenant/action.d.ts.map +1 -1
  25. package/dist/commands/config/tenant/action.js +3 -2
  26. package/dist/commands/config/tenant/action.js.map +1 -1
  27. package/dist/commands/config/validate/registry.d.ts +3 -0
  28. package/dist/commands/config/validate/registry.d.ts.map +1 -1
  29. package/dist/commands/config/validate/registry.js +5 -0
  30. package/dist/commands/config/validate/registry.js.map +1 -1
  31. package/dist/commands/config/validate/registry.json +15 -5
  32. package/dist/commands/config/validate/report.d.ts +4 -0
  33. package/dist/commands/config/validate/report.d.ts.map +1 -1
  34. package/dist/commands/config/validate/report.js +7 -0
  35. package/dist/commands/config/validate/report.js.map +1 -1
  36. package/dist/commands/config/validate/types.d.ts +6 -0
  37. package/dist/commands/config/validate/types.d.ts.map +1 -1
  38. package/dist/commands/config/validate/validator.d.ts +10 -1
  39. package/dist/commands/config/validate/validator.d.ts.map +1 -1
  40. package/dist/commands/config/validate/validator.js +52 -18
  41. package/dist/commands/config/validate/validator.js.map +1 -1
  42. package/dist/commands/init/action.js +1 -1
  43. package/dist/commands/init/action.js.map +1 -1
  44. package/dist/commands/status/action.js +1 -1
  45. package/dist/commands/status/action.js.map +1 -1
  46. package/dist/commands/version/action.d.ts.map +1 -1
  47. package/dist/commands/version/action.js.map +1 -1
  48. package/dist/index.js +24507 -7996
  49. package/dist/runtime.js +1 -1
  50. package/dist/runtime.js.map +1 -1
  51. package/dist/services/cli-config.d.ts.map +1 -1
  52. package/dist/services/cli-config.js +1 -1
  53. package/dist/services/cli-config.js.map +1 -1
  54. package/dist/services/compose-project.d.ts +6 -0
  55. package/dist/services/compose-project.d.ts.map +1 -1
  56. package/dist/services/compose-project.js +13 -2
  57. package/dist/services/compose-project.js.map +1 -1
  58. package/dist/services/deployment-drivers.d.ts.map +1 -1
  59. package/dist/services/deployment-drivers.js +3 -3
  60. package/dist/services/deployment-drivers.js.map +1 -1
  61. package/dist/services/diagnostics.d.ts.map +1 -1
  62. package/dist/services/diagnostics.js +1 -1
  63. package/dist/services/diagnostics.js.map +1 -1
  64. package/package.json +7 -6
  65. package/templates/demo-config/info.json +1 -1
  66. package/templates/demo-config/issuance/credentials/citizen.json +1 -1
  67. package/templates/demo-config/issuance/credentials/pid-key.json +1 -1
  68. package/templates/demo-config/issuance/credentials/pid-mdoc.json +1 -1
  69. package/templates/demo-config/issuance/credentials/pid.json +1 -1
  70. package/templates/demo-config/issuance/issuance.json +1 -1
  71. package/templates/demo-config/key-chains/access.json +1 -1
  72. package/templates/demo-config/key-chains/attestation.json +1 -1
  73. package/templates/demo-config/key-chains/status-list.json +4 -4
  74. package/templates/demo-config/key-chains/trust-list.json +1 -1
  75. package/templates/demo-config/presentation/age-over-18.json +1 -1
  76. package/templates/demo-config/presentation/pid.json +1 -1
  77. package/templates/demo-config/trust-lists/trustlist-580831bc-ef11-43f4-a3be-a2b6bf1b29a3-config.json +4 -2
  78. package/templates/docker-compose.yml +2 -2
  79. package/templates/schemas/CreateFederationTrustAnchorDto.schema.json +82 -0
  80. package/templates/schemas/CreateTenantDto.schema.json +3 -3
  81. package/templates/schemas/CredentialConfigCreate.schema.json +251 -15
  82. package/templates/schemas/CredentialConfigFile.schema.json +1823 -1
  83. package/templates/schemas/DCQL.schema.json +168 -52
  84. package/templates/schemas/FederationTrustAnchorConfigFile.schema.json +60 -0
  85. package/templates/schemas/IssuanceConfig.schema.json +84 -22
  86. package/templates/schemas/IssuanceConfigFile.schema.json +2369 -1
  87. package/templates/schemas/KeyChainConfigFile.schema.json +740 -1
  88. package/templates/schemas/KeyChainCreateDto.schema.json +2 -0
  89. package/templates/schemas/KeyChainDefaultsConfigFile.schema.json +123 -0
  90. package/templates/schemas/KeyChainImportDto.schema.json +2 -0
  91. package/templates/schemas/PresentationConfigCreateDto.schema.json +214 -163
  92. package/templates/schemas/PresentationConfigFile.schema.json +1623 -1
  93. package/templates/schemas/TenantConfigFile.schema.json +395 -0
  94. package/templates/schemas/TrustListConfigFile.schema.json +263 -1
  95. package/templates/schemas/TrustListCreateDto.schema.json +556 -22
  96. package/templates/schemas/UpdateFederationTrustAnchorDto.schema.json +70 -0
  97. package/templates/schemas.manifest.json +4 -2
  98. package/templates/schemas/CreateRegistrarConfigDto.schema.json +0 -90
  99. package/templates/schemas/RegistrarConfigFile.schema.json +0 -144
@@ -5,6 +5,132 @@
5
5
  "description": "Configuration file identified by its $schema URL.",
6
6
  "oneOf": [
7
7
  {
8
+ "type": "object",
9
+ "properties": {
10
+ "$schema": {
11
+ "type": "string",
12
+ "const": "https://eudiplo.dev/schemas/v4/TenantConfigFile.schema.json"
13
+ },
14
+ "metadata": {
15
+ "type": "object",
16
+ "properties": {
17
+ "generation": {
18
+ "type": "integer",
19
+ "minimum": 1,
20
+ "maximum": 9007199254740991
21
+ },
22
+ "ownership": {
23
+ "type": "string",
24
+ "enum": [
25
+ "unmanaged",
26
+ "file-managed"
27
+ ]
28
+ }
29
+ },
30
+ "additionalProperties": false
31
+ },
32
+ "spec": {
33
+ "type": "object",
34
+ "properties": {
35
+ "name": {
36
+ "default": "EUDIPLO",
37
+ "description": "Display name of the tenant.",
38
+ "type": "string",
39
+ "minLength": 1
40
+ },
41
+ "description": {
42
+ "description": "Optional tenant description.",
43
+ "type": "string",
44
+ "minLength": 1
45
+ },
46
+ "sessionConfig": {
47
+ "description": "Optional tenant-specific session storage configuration.",
48
+ "type": "object",
49
+ "properties": {
50
+ "ttlSeconds": {
51
+ "description": "Session time-to-live in seconds.",
52
+ "type": "integer",
53
+ "minimum": 60,
54
+ "maximum": 9007199254740991
55
+ },
56
+ "cleanupMode": {
57
+ "description": "Whether to fully delete or anonymize expired sessions.",
58
+ "type": "string",
59
+ "enum": [
60
+ "full",
61
+ "anonymize"
62
+ ]
63
+ }
64
+ },
65
+ "additionalProperties": false
66
+ },
67
+ "statusListConfig": {
68
+ "description": "Optional tenant-specific status list defaults.",
69
+ "type": "object",
70
+ "properties": {
71
+ "capacity": {
72
+ "description": "Default status list capacity.",
73
+ "type": "integer",
74
+ "minimum": 100,
75
+ "maximum": 9007199254740991
76
+ },
77
+ "bits": {
78
+ "description": "Bits-per-status setting (1, 2, 4, or 8).",
79
+ "anyOf": [
80
+ {
81
+ "type": "number",
82
+ "const": 1
83
+ },
84
+ {
85
+ "type": "number",
86
+ "const": 2
87
+ },
88
+ {
89
+ "type": "number",
90
+ "const": 4
91
+ },
92
+ {
93
+ "type": "number",
94
+ "const": 8
95
+ }
96
+ ]
97
+ },
98
+ "ttl": {
99
+ "description": "JWT TTL for status list tokens in seconds.",
100
+ "type": "integer",
101
+ "minimum": 60,
102
+ "maximum": 9007199254740991
103
+ },
104
+ "immediateUpdate": {
105
+ "description": "Regenerate status list JWTs immediately after status updates.",
106
+ "type": "boolean"
107
+ },
108
+ "enableAggregation": {
109
+ "description": "Include aggregation_uri in generated status list JWTs.",
110
+ "type": "boolean"
111
+ }
112
+ },
113
+ "additionalProperties": false
114
+ }
115
+ },
116
+ "required": [
117
+ "name"
118
+ ],
119
+ "additionalProperties": false,
120
+ "description": "Payload used when importing tenant metadata from config files."
121
+ }
122
+ },
123
+ "required": [
124
+ "$schema",
125
+ "metadata",
126
+ "spec"
127
+ ],
128
+ "additionalProperties": false
129
+ },
130
+ {
131
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
132
+ "$id": "https://eudiplo.dev/schemas/v1/TenantConfigFile.schema.json",
133
+ "title": "TenantConfigFile",
8
134
  "type": "object",
9
135
  "properties": {
10
136
  "$schema": {
@@ -127,6 +253,275 @@
127
253
  ],
128
254
  "additionalProperties": false
129
255
  },
256
+ {
257
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
258
+ "$id": "https://eudiplo.dev/schemas/v2/TenantConfigFile.schema.json",
259
+ "title": "TenantConfigFile",
260
+ "type": "object",
261
+ "properties": {
262
+ "$schema": {
263
+ "type": "string",
264
+ "const": "https://eudiplo.dev/schemas/v2/TenantConfigFile.schema.json"
265
+ },
266
+ "metadata": {
267
+ "type": "object",
268
+ "properties": {
269
+ "generation": {
270
+ "type": "integer",
271
+ "minimum": 1,
272
+ "maximum": 9007199254740991
273
+ },
274
+ "ownership": {
275
+ "type": "string",
276
+ "enum": [
277
+ "unmanaged",
278
+ "file-managed"
279
+ ]
280
+ }
281
+ },
282
+ "additionalProperties": false
283
+ },
284
+ "spec": {
285
+ "type": "object",
286
+ "properties": {
287
+ "name": {
288
+ "default": "EUDIPLO",
289
+ "description": "Display name of the tenant.",
290
+ "type": "string",
291
+ "minLength": 1
292
+ },
293
+ "description": {
294
+ "description": "Optional tenant description.",
295
+ "type": "string",
296
+ "minLength": 1
297
+ },
298
+ "sessionConfig": {
299
+ "description": "Optional tenant-specific session storage configuration.",
300
+ "type": "object",
301
+ "properties": {
302
+ "ttlSeconds": {
303
+ "description": "Session time-to-live in seconds.",
304
+ "type": "integer",
305
+ "minimum": 60,
306
+ "maximum": 9007199254740991
307
+ },
308
+ "cleanupMode": {
309
+ "description": "Whether to fully delete or anonymize expired sessions.",
310
+ "type": "string",
311
+ "enum": [
312
+ "full",
313
+ "anonymize"
314
+ ]
315
+ }
316
+ },
317
+ "additionalProperties": false
318
+ },
319
+ "statusListConfig": {
320
+ "description": "Optional tenant-specific status list defaults.",
321
+ "type": "object",
322
+ "properties": {
323
+ "capacity": {
324
+ "description": "Default status list capacity.",
325
+ "type": "integer",
326
+ "minimum": 100,
327
+ "maximum": 9007199254740991
328
+ },
329
+ "bits": {
330
+ "description": "Bits-per-status setting (1, 2, 4, or 8).",
331
+ "anyOf": [
332
+ {
333
+ "type": "number",
334
+ "const": 1
335
+ },
336
+ {
337
+ "type": "number",
338
+ "const": 2
339
+ },
340
+ {
341
+ "type": "number",
342
+ "const": 4
343
+ },
344
+ {
345
+ "type": "number",
346
+ "const": 8
347
+ }
348
+ ]
349
+ },
350
+ "ttl": {
351
+ "description": "JWT TTL for status list tokens in seconds.",
352
+ "type": "integer",
353
+ "minimum": 60,
354
+ "maximum": 9007199254740991
355
+ },
356
+ "immediateUpdate": {
357
+ "description": "Regenerate status list JWTs immediately after status updates.",
358
+ "type": "boolean"
359
+ },
360
+ "enableAggregation": {
361
+ "description": "Include aggregation_uri in generated status list JWTs.",
362
+ "type": "boolean"
363
+ }
364
+ },
365
+ "additionalProperties": false
366
+ },
367
+ "defaultAccessKeyChainId": {
368
+ "description": "ID of the access key chain used where no configuration names one: presentation requests of configurations without accessKeyChainId and the signed issuer metadata. Without it, EUDIPLO picks one of the tenant's access key chains by rule.",
369
+ "type": "string",
370
+ "minLength": 1
371
+ }
372
+ },
373
+ "required": [
374
+ "name"
375
+ ],
376
+ "additionalProperties": false,
377
+ "description": "Payload used when importing tenant metadata from config files."
378
+ }
379
+ },
380
+ "required": [
381
+ "$schema",
382
+ "metadata",
383
+ "spec"
384
+ ],
385
+ "additionalProperties": false
386
+ },
387
+ {
388
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
389
+ "$id": "https://eudiplo.dev/schemas/v3/TenantConfigFile.schema.json",
390
+ "title": "TenantConfigFile",
391
+ "type": "object",
392
+ "properties": {
393
+ "$schema": {
394
+ "type": "string",
395
+ "const": "https://eudiplo.dev/schemas/v3/TenantConfigFile.schema.json"
396
+ },
397
+ "metadata": {
398
+ "type": "object",
399
+ "properties": {
400
+ "generation": {
401
+ "type": "integer",
402
+ "minimum": 1,
403
+ "maximum": 9007199254740991
404
+ },
405
+ "ownership": {
406
+ "type": "string",
407
+ "enum": [
408
+ "unmanaged",
409
+ "file-managed"
410
+ ]
411
+ }
412
+ },
413
+ "additionalProperties": false
414
+ },
415
+ "spec": {
416
+ "type": "object",
417
+ "properties": {
418
+ "name": {
419
+ "default": "EUDIPLO",
420
+ "description": "Display name of the tenant.",
421
+ "type": "string",
422
+ "minLength": 1
423
+ },
424
+ "description": {
425
+ "description": "Optional tenant description.",
426
+ "type": "string",
427
+ "minLength": 1
428
+ },
429
+ "sessionConfig": {
430
+ "description": "Optional tenant-specific session storage configuration.",
431
+ "type": "object",
432
+ "properties": {
433
+ "ttlSeconds": {
434
+ "description": "Session time-to-live in seconds.",
435
+ "type": "integer",
436
+ "minimum": 60,
437
+ "maximum": 9007199254740991
438
+ },
439
+ "cleanupMode": {
440
+ "description": "Whether to fully delete or anonymize expired sessions.",
441
+ "type": "string",
442
+ "enum": [
443
+ "full",
444
+ "anonymize"
445
+ ]
446
+ }
447
+ },
448
+ "additionalProperties": false
449
+ },
450
+ "statusListConfig": {
451
+ "description": "Optional tenant-specific status list defaults.",
452
+ "type": "object",
453
+ "properties": {
454
+ "capacity": {
455
+ "description": "Default status list capacity.",
456
+ "type": "integer",
457
+ "minimum": 100,
458
+ "maximum": 9007199254740991
459
+ },
460
+ "bits": {
461
+ "description": "Bits-per-status setting (1, 2, 4, or 8).",
462
+ "anyOf": [
463
+ {
464
+ "type": "number",
465
+ "const": 1
466
+ },
467
+ {
468
+ "type": "number",
469
+ "const": 2
470
+ },
471
+ {
472
+ "type": "number",
473
+ "const": 4
474
+ },
475
+ {
476
+ "type": "number",
477
+ "const": 8
478
+ }
479
+ ]
480
+ },
481
+ "ttl": {
482
+ "description": "JWT TTL for status list tokens in seconds.",
483
+ "type": "integer",
484
+ "minimum": 60,
485
+ "maximum": 9007199254740991
486
+ },
487
+ "immediateUpdate": {
488
+ "description": "Regenerate status list JWTs immediately after status updates.",
489
+ "type": "boolean"
490
+ },
491
+ "enableAggregation": {
492
+ "description": "Include aggregation_uri in generated status list JWTs.",
493
+ "type": "boolean"
494
+ }
495
+ },
496
+ "additionalProperties": false
497
+ },
498
+ "defaultKeyChains": {
499
+ "type": "object",
500
+ "properties": {
501
+ "access": {
502
+ "description": "ID of the access key chain used where no configuration names one: presentation requests of configurations without accessKeyChainId and the signed issuer metadata. Without it, EUDIPLO picks one of the tenant's access key chains by rule.",
503
+ "type": "string",
504
+ "minLength": 1
505
+ }
506
+ },
507
+ "additionalProperties": false,
508
+ "description": "The tenant's key chain per usage type, used where no configuration names one. A usage type without an entry uses a key chain picked by rule."
509
+ }
510
+ },
511
+ "required": [
512
+ "name"
513
+ ],
514
+ "additionalProperties": false,
515
+ "description": "Payload used when importing tenant metadata from config files."
516
+ }
517
+ },
518
+ "required": [
519
+ "$schema",
520
+ "metadata",
521
+ "spec"
522
+ ],
523
+ "additionalProperties": false
524
+ },
130
525
  {
131
526
  "type": "object",
132
527
  "properties": {
@@ -9,7 +9,7 @@
9
9
  "properties": {
10
10
  "$schema": {
11
11
  "type": "string",
12
- "const": "https://eudiplo.dev/schemas/v1/TrustListConfigFile.schema.json"
12
+ "const": "https://eudiplo.dev/schemas/v2/TrustListConfigFile.schema.json"
13
13
  },
14
14
  "metadata": {
15
15
  "type": "object",
@@ -55,6 +55,268 @@
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/TrustListConfigFile.schema.json",
62
+ "title": "TrustListConfigFile",
63
+ "type": "object",
64
+ "properties": {
65
+ "$schema": {
66
+ "type": "string",
67
+ "const": "https://eudiplo.dev/schemas/v1/TrustListConfigFile.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/TrustListCreateDto"
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
+ "TrustListCreateDto": {
115
+ "type": "object",
116
+ "properties": {
117
+ "id": {
118
+ "description": "Optional trust list id. If omitted, one may be generated.",
119
+ "type": "string",
120
+ "minLength": 1
121
+ },
122
+ "description": {
123
+ "description": "Optional trust list description.",
124
+ "type": "string"
125
+ },
126
+ "keyChainId": {
127
+ "description": "Optional key chain id used to sign trust list payloads.",
128
+ "type": "string",
129
+ "minLength": 1
130
+ },
131
+ "entities": {
132
+ "minItems": 1,
133
+ "type": "array",
134
+ "items": {
135
+ "oneOf": [
136
+ {
137
+ "type": "object",
138
+ "properties": {
139
+ "type": {
140
+ "type": "string",
141
+ "const": "internal",
142
+ "description": "Use locally managed key chains for trust material."
143
+ },
144
+ "issuerKeyChainId": {
145
+ "type": "string",
146
+ "minLength": 1,
147
+ "description": "Key chain id for issuer certificate material."
148
+ },
149
+ "revocationKeyChainId": {
150
+ "type": "string",
151
+ "minLength": 1,
152
+ "description": "Key chain id for revocation/status list certificate material."
153
+ },
154
+ "providerType": {
155
+ "description": "Provider role; defaults to attestation-provider.",
156
+ "type": "string",
157
+ "enum": [
158
+ "attestation-provider",
159
+ "wallet-provider"
160
+ ]
161
+ },
162
+ "info": {
163
+ "type": "object",
164
+ "properties": {
165
+ "name": {
166
+ "type": "string",
167
+ "minLength": 1,
168
+ "description": "Display name of the trusted entity."
169
+ },
170
+ "lang": {
171
+ "description": "Optional language tag for entity info.",
172
+ "type": "string"
173
+ },
174
+ "locale": {
175
+ "description": "Optional locale identifier.",
176
+ "type": "string"
177
+ },
178
+ "uri": {
179
+ "description": "Optional entity URI.",
180
+ "type": "string"
181
+ },
182
+ "country": {
183
+ "description": "Optional country name or code.",
184
+ "type": "string"
185
+ },
186
+ "locality": {
187
+ "description": "Optional locality or city.",
188
+ "type": "string"
189
+ },
190
+ "postalCode": {
191
+ "description": "Optional postal code.",
192
+ "type": "string"
193
+ },
194
+ "streetAddress": {
195
+ "description": "Optional street address.",
196
+ "type": "string"
197
+ },
198
+ "contactUri": {
199
+ "description": "Optional contact URI for the entity.",
200
+ "type": "string"
201
+ }
202
+ },
203
+ "required": [
204
+ "name"
205
+ ],
206
+ "additionalProperties": false,
207
+ "description": "Entity metadata."
208
+ }
209
+ },
210
+ "required": [
211
+ "type",
212
+ "issuerKeyChainId",
213
+ "revocationKeyChainId",
214
+ "info"
215
+ ],
216
+ "additionalProperties": false
217
+ },
218
+ {
219
+ "type": "object",
220
+ "properties": {
221
+ "type": {
222
+ "type": "string",
223
+ "const": "external",
224
+ "description": "Provide external PEM certificates directly."
225
+ },
226
+ "issuerCertPem": {
227
+ "type": "string",
228
+ "minLength": 1,
229
+ "description": "Issuer certificate in PEM format."
230
+ },
231
+ "revocationCertPem": {
232
+ "type": "string",
233
+ "minLength": 1,
234
+ "description": "Revocation/status certificate in PEM format."
235
+ },
236
+ "providerType": {
237
+ "description": "Provider role; defaults to attestation-provider.",
238
+ "type": "string",
239
+ "enum": [
240
+ "attestation-provider",
241
+ "wallet-provider"
242
+ ]
243
+ },
244
+ "info": {
245
+ "type": "object",
246
+ "properties": {
247
+ "name": {
248
+ "type": "string",
249
+ "minLength": 1,
250
+ "description": "Display name of the trusted entity."
251
+ },
252
+ "lang": {
253
+ "description": "Optional language tag for entity info.",
254
+ "type": "string"
255
+ },
256
+ "locale": {
257
+ "description": "Optional locale identifier.",
258
+ "type": "string"
259
+ },
260
+ "uri": {
261
+ "description": "Optional entity URI.",
262
+ "type": "string"
263
+ },
264
+ "country": {
265
+ "description": "Optional country name or code.",
266
+ "type": "string"
267
+ },
268
+ "locality": {
269
+ "description": "Optional locality or city.",
270
+ "type": "string"
271
+ },
272
+ "postalCode": {
273
+ "description": "Optional postal code.",
274
+ "type": "string"
275
+ },
276
+ "streetAddress": {
277
+ "description": "Optional street address.",
278
+ "type": "string"
279
+ },
280
+ "contactUri": {
281
+ "description": "Optional contact URI for the entity.",
282
+ "type": "string"
283
+ }
284
+ },
285
+ "required": [
286
+ "name"
287
+ ],
288
+ "additionalProperties": false,
289
+ "description": "Entity metadata."
290
+ }
291
+ },
292
+ "required": [
293
+ "type",
294
+ "issuerCertPem",
295
+ "revocationCertPem",
296
+ "info"
297
+ ],
298
+ "additionalProperties": false
299
+ }
300
+ ]
301
+ },
302
+ "description": "One or more entities included in this trust list."
303
+ },
304
+ "data": {
305
+ "description": "Optional additional custom payload data.",
306
+ "type": "object",
307
+ "propertyNames": {
308
+ "type": "string"
309
+ },
310
+ "additionalProperties": {}
311
+ }
312
+ },
313
+ "required": [
314
+ "entities"
315
+ ],
316
+ "additionalProperties": false,
317
+ "title": "TrustListCreateDto"
318
+ }
319
+ }
58
320
  }
59
321
  ]
60
322
  }