@eudiplo/cli 7.6.1 → 8.0.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 (92) hide show
  1. package/dist/commands/config/portability/action.d.ts +1 -1
  2. package/dist/commands/config/portability/action.d.ts.map +1 -1
  3. package/dist/commands/config/portability/action.js +49 -95
  4. package/dist/commands/config/portability/action.js.map +1 -1
  5. package/dist/commands/config/portability/index.d.ts.map +1 -1
  6. package/dist/commands/config/portability/index.js +37 -5
  7. package/dist/commands/config/portability/index.js.map +1 -1
  8. package/dist/commands/config/portability/migrations.d.ts +3 -21
  9. package/dist/commands/config/portability/migrations.d.ts.map +1 -1
  10. package/dist/commands/config/portability/migrations.js +4 -92
  11. package/dist/commands/config/portability/migrations.js.map +1 -1
  12. package/dist/commands/config/portability/migrations.spec.js +12 -14
  13. package/dist/commands/config/portability/migrations.spec.js.map +1 -1
  14. package/dist/commands/config/portability/upgrade.d.ts +3 -0
  15. package/dist/commands/config/portability/upgrade.d.ts.map +1 -0
  16. package/dist/commands/config/portability/upgrade.js +199 -0
  17. package/dist/commands/config/portability/upgrade.js.map +1 -0
  18. package/dist/commands/config/tenant/action.js +3 -4
  19. package/dist/commands/config/tenant/action.js.map +1 -1
  20. package/dist/commands/config/validate/validator.d.ts.map +1 -1
  21. package/dist/commands/config/validate/validator.js +50 -30
  22. package/dist/commands/config/validate/validator.js.map +1 -1
  23. package/dist/commands/demo/action.d.ts.map +1 -1
  24. package/dist/commands/demo/action.js +2 -0
  25. package/dist/commands/demo/action.js.map +1 -1
  26. package/dist/commands/deployment/action.d.ts +1 -1
  27. package/dist/commands/deployment/action.d.ts.map +1 -1
  28. package/dist/commands/deployment/action.js +1 -0
  29. package/dist/commands/deployment/action.js.map +1 -1
  30. package/dist/commands/deployment/index.d.ts.map +1 -1
  31. package/dist/commands/deployment/index.js +29 -9
  32. package/dist/commands/deployment/index.js.map +1 -1
  33. package/dist/commands/init/action.d.ts.map +1 -1
  34. package/dist/commands/init/action.js +1 -0
  35. package/dist/commands/init/action.js.map +1 -1
  36. package/dist/commands/instance/action.d.ts.map +1 -1
  37. package/dist/commands/instance/action.js +42 -1
  38. package/dist/commands/instance/action.js.map +1 -1
  39. package/dist/commands/instance/index.d.ts.map +1 -1
  40. package/dist/commands/instance/index.js +5 -1
  41. package/dist/commands/instance/index.js.map +1 -1
  42. package/dist/index.js +23288 -3
  43. package/dist/services/cli-config.d.ts.map +1 -1
  44. package/dist/services/cli-config.js +46 -1
  45. package/dist/services/cli-config.js.map +1 -1
  46. package/dist/services/deployment-drivers.d.ts +10 -0
  47. package/dist/services/deployment-drivers.d.ts.map +1 -1
  48. package/dist/services/deployment-drivers.js +357 -6
  49. package/dist/services/deployment-drivers.js.map +1 -1
  50. package/dist/services/deployment-target.js +1 -1
  51. package/dist/services/deployment-target.js.map +1 -1
  52. package/dist/services/diagnostics.d.ts +3 -9
  53. package/dist/services/diagnostics.d.ts.map +1 -1
  54. package/dist/services/diagnostics.js +1 -7
  55. package/dist/services/diagnostics.js.map +1 -1
  56. package/dist/services/kubectl.d.ts +51 -0
  57. package/dist/services/kubectl.d.ts.map +1 -0
  58. package/dist/services/kubectl.js +150 -0
  59. package/dist/services/kubectl.js.map +1 -0
  60. package/dist/types.d.ts +15 -2
  61. package/dist/types.d.ts.map +1 -1
  62. package/package.json +4 -3
  63. package/templates/demo-config/attribute-providers/claims-provider.json +8 -2
  64. package/templates/demo-config/clients/presentation-test.json +8 -2
  65. package/templates/demo-config/clients/test.json +12 -6
  66. package/templates/demo-config/info.json +7 -1
  67. package/templates/demo-config/issuance/credentials/citizen.json +43 -37
  68. package/templates/demo-config/issuance/credentials/pid-key.json +371 -365
  69. package/templates/demo-config/issuance/credentials/pid-mdoc.json +444 -438
  70. package/templates/demo-config/issuance/credentials/pid.json +472 -466
  71. package/templates/demo-config/issuance/issuance.json +1 -3
  72. package/templates/demo-config/issuance/status-lists/pid.json +12 -6
  73. package/templates/demo-config/key-chains/access.json +2 -4
  74. package/templates/demo-config/key-chains/attestation.json +2 -4
  75. package/templates/demo-config/key-chains/status-list.json +1 -3
  76. package/templates/demo-config/key-chains/trust-list.json +1 -3
  77. package/templates/demo-config/presentation/age-over-18.json +20 -7
  78. package/templates/demo-config/presentation/pid.json +1 -3
  79. package/templates/demo-config/trust-lists/trustlist-580831bc-ef11-43f4-a3be-a2b6bf1b29a3-config.json +96 -90
  80. package/templates/demo-config/webhook-endpoints/notification.json +8 -2
  81. package/templates/schemas/AttributeProviderConfigFile.schema.json +38 -15
  82. package/templates/schemas/ClientConfigFile.schema.json +38 -15
  83. package/templates/schemas/CredentialConfigFile.schema.json +38 -15
  84. package/templates/schemas/IssuanceConfigFile.schema.json +24 -12
  85. package/templates/schemas/KeyChainConfigFile.schema.json +373 -19
  86. package/templates/schemas/KmsConfigFile.schema.json +21 -14
  87. package/templates/schemas/PresentationConfigFile.schema.json +41 -13
  88. package/templates/schemas/RegistrarConfigFile.schema.json +21 -14
  89. package/templates/schemas/StatusListConfigFile.schema.json +38 -15
  90. package/templates/schemas/TenantConfigFile.schema.json +136 -20
  91. package/templates/schemas/TrustListConfigFile.schema.json +38 -15
  92. package/templates/schemas/WebhookEndpointConfigFile.schema.json +38 -15
@@ -1,6 +1,362 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "anyOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "$schema": {
8
+ "type": "string",
9
+ "const": "https://eudiplo.dev/schemas/v1/KeyChainConfigFile.schema.json"
10
+ },
11
+ "metadata": {
12
+ "type": "object",
13
+ "properties": {
14
+ "generation": {
15
+ "type": "integer",
16
+ "minimum": 1,
17
+ "maximum": 9007199254740991
18
+ },
19
+ "ownership": {
20
+ "type": "string",
21
+ "enum": [
22
+ "unmanaged",
23
+ "file-managed"
24
+ ]
25
+ }
26
+ },
27
+ "additionalProperties": false
28
+ },
29
+ "spec": {
30
+ "type": "object",
31
+ "properties": {
32
+ "id": {
33
+ "type": "string"
34
+ },
35
+ "description": {
36
+ "type": "string"
37
+ },
38
+ "usageType": {
39
+ "type": "string",
40
+ "enum": [
41
+ "access",
42
+ "attestation",
43
+ "trustList",
44
+ "statusList",
45
+ "encrypt"
46
+ ]
47
+ },
48
+ "keySource": {
49
+ "oneOf": [
50
+ {
51
+ "type": "object",
52
+ "properties": {
53
+ "type": {
54
+ "type": "string",
55
+ "const": "private-jwk"
56
+ },
57
+ "jwk": {
58
+ "type": "object",
59
+ "properties": {
60
+ "kty": {
61
+ "type": "string",
62
+ "description": "Key type (for example EC)."
63
+ },
64
+ "x": {
65
+ "type": "string",
66
+ "description": "Elliptic curve public x coordinate."
67
+ },
68
+ "y": {
69
+ "type": "string",
70
+ "description": "Elliptic curve public y coordinate."
71
+ },
72
+ "crv": {
73
+ "type": "string",
74
+ "description": "Elliptic curve name."
75
+ },
76
+ "d": {
77
+ "type": "string",
78
+ "description": "Private key value."
79
+ },
80
+ "alg": {
81
+ "description": "Optional algorithm hint.",
82
+ "type": "string"
83
+ },
84
+ "kid": {
85
+ "description": "Optional key identifier.",
86
+ "type": "string"
87
+ }
88
+ },
89
+ "required": [
90
+ "kty",
91
+ "x",
92
+ "y",
93
+ "crv",
94
+ "d"
95
+ ],
96
+ "additionalProperties": false
97
+ },
98
+ "activeJwk": {
99
+ "type": "object",
100
+ "properties": {
101
+ "kty": {
102
+ "type": "string",
103
+ "description": "Key type (for example EC)."
104
+ },
105
+ "x": {
106
+ "type": "string",
107
+ "description": "Elliptic curve public x coordinate."
108
+ },
109
+ "y": {
110
+ "type": "string",
111
+ "description": "Elliptic curve public y coordinate."
112
+ },
113
+ "crv": {
114
+ "type": "string",
115
+ "description": "Elliptic curve name."
116
+ },
117
+ "d": {
118
+ "type": "string",
119
+ "description": "Private key value."
120
+ },
121
+ "alg": {
122
+ "description": "Optional algorithm hint.",
123
+ "type": "string"
124
+ },
125
+ "kid": {
126
+ "description": "Optional key identifier.",
127
+ "type": "string"
128
+ }
129
+ },
130
+ "required": [
131
+ "kty",
132
+ "x",
133
+ "y",
134
+ "crv",
135
+ "d"
136
+ ],
137
+ "additionalProperties": false
138
+ }
139
+ },
140
+ "required": [
141
+ "type",
142
+ "jwk"
143
+ ],
144
+ "additionalProperties": false
145
+ },
146
+ {
147
+ "type": "object",
148
+ "properties": {
149
+ "type": {
150
+ "type": "string",
151
+ "const": "external-reference"
152
+ },
153
+ "provider": {
154
+ "type": "string"
155
+ },
156
+ "externalKeyId": {
157
+ "type": "string"
158
+ },
159
+ "publicJwk": {
160
+ "type": "object",
161
+ "properties": {
162
+ "kty": {
163
+ "type": "string"
164
+ },
165
+ "x": {
166
+ "type": "string"
167
+ },
168
+ "y": {
169
+ "type": "string"
170
+ },
171
+ "crv": {
172
+ "type": "string"
173
+ },
174
+ "alg": {
175
+ "type": "string"
176
+ },
177
+ "kid": {
178
+ "type": "string"
179
+ }
180
+ },
181
+ "required": [
182
+ "kty",
183
+ "x",
184
+ "y",
185
+ "crv"
186
+ ],
187
+ "additionalProperties": false
188
+ },
189
+ "activeExternalKeyId": {
190
+ "type": "string"
191
+ },
192
+ "activePublicJwk": {
193
+ "type": "object",
194
+ "properties": {
195
+ "kty": {
196
+ "type": "string"
197
+ },
198
+ "x": {
199
+ "type": "string"
200
+ },
201
+ "y": {
202
+ "type": "string"
203
+ },
204
+ "crv": {
205
+ "type": "string"
206
+ },
207
+ "alg": {
208
+ "type": "string"
209
+ },
210
+ "kid": {
211
+ "type": "string"
212
+ }
213
+ },
214
+ "required": [
215
+ "kty",
216
+ "x",
217
+ "y",
218
+ "crv"
219
+ ],
220
+ "additionalProperties": false
221
+ }
222
+ },
223
+ "required": [
224
+ "type",
225
+ "provider",
226
+ "externalKeyId",
227
+ "publicJwk"
228
+ ],
229
+ "additionalProperties": false
230
+ },
231
+ {
232
+ "type": "object",
233
+ "properties": {
234
+ "type": {
235
+ "type": "string",
236
+ "const": "required"
237
+ },
238
+ "publicJwk": {
239
+ "type": "object",
240
+ "properties": {
241
+ "kty": {
242
+ "type": "string"
243
+ },
244
+ "x": {
245
+ "type": "string"
246
+ },
247
+ "y": {
248
+ "type": "string"
249
+ },
250
+ "crv": {
251
+ "type": "string"
252
+ },
253
+ "alg": {
254
+ "type": "string"
255
+ },
256
+ "kid": {
257
+ "type": "string"
258
+ }
259
+ },
260
+ "required": [
261
+ "kty",
262
+ "x",
263
+ "y",
264
+ "crv"
265
+ ],
266
+ "additionalProperties": false
267
+ }
268
+ },
269
+ "required": [
270
+ "type"
271
+ ],
272
+ "additionalProperties": false
273
+ },
274
+ {
275
+ "type": "object",
276
+ "properties": {
277
+ "type": {
278
+ "type": "string",
279
+ "const": "regenerate"
280
+ },
281
+ "keyChainType": {
282
+ "type": "string",
283
+ "enum": [
284
+ "standalone",
285
+ "internalChain"
286
+ ]
287
+ }
288
+ },
289
+ "required": [
290
+ "type"
291
+ ],
292
+ "additionalProperties": false
293
+ }
294
+ ]
295
+ },
296
+ "crt": {
297
+ "type": "array",
298
+ "items": {
299
+ "type": "string"
300
+ }
301
+ },
302
+ "activeCertificate": {
303
+ "description": "Active certificate for an internal key chain.",
304
+ "type": "string"
305
+ },
306
+ "kmsProvider": {
307
+ "type": "string"
308
+ },
309
+ "rotationPolicy": {
310
+ "type": "object",
311
+ "properties": {
312
+ "enabled": {
313
+ "type": "boolean"
314
+ },
315
+ "intervalDays": {
316
+ "anyOf": [
317
+ {
318
+ "type": "number",
319
+ "minimum": 1,
320
+ "maximum": 3650
321
+ },
322
+ {
323
+ "type": "null"
324
+ }
325
+ ]
326
+ },
327
+ "certValidityDays": {
328
+ "anyOf": [
329
+ {
330
+ "type": "number",
331
+ "minimum": 1,
332
+ "maximum": 3650
333
+ },
334
+ {
335
+ "type": "null"
336
+ }
337
+ ]
338
+ }
339
+ },
340
+ "required": [
341
+ "enabled"
342
+ ],
343
+ "additionalProperties": false
344
+ }
345
+ },
346
+ "required": [
347
+ "usageType",
348
+ "keySource"
349
+ ],
350
+ "additionalProperties": false
351
+ }
352
+ },
353
+ "required": [
354
+ "$schema",
355
+ "metadata",
356
+ "spec"
357
+ ],
358
+ "additionalProperties": false
359
+ },
4
360
  {
5
361
  "type": "object",
6
362
  "properties": {
@@ -108,26 +464,26 @@
108
464
  "usageType"
109
465
  ],
110
466
  "additionalProperties": false
111
- },
467
+ }
468
+ ],
469
+ "$id": "./KeyChainConfigFile.schema.json",
470
+ "title": "KeyChainConfigFile",
471
+ "description": "Configuration file identified by its $schema URL.",
472
+ "oneOf": [
112
473
  {
113
474
  "type": "object",
114
475
  "properties": {
115
- "apiVersion": {
116
- "type": "string",
117
- "const": "eudiplo.io/key-chain/v2"
118
- },
119
- "kind": {
476
+ "$schema": {
120
477
  "type": "string",
121
- "const": "KeyChain"
478
+ "const": "https://eudiplo.dev/schemas/v1/KeyChainConfigFile.schema.json"
122
479
  },
123
480
  "metadata": {
124
481
  "type": "object",
125
482
  "properties": {
126
- "id": {
127
- "type": "string"
128
- },
129
483
  "generation": {
130
- "type": "number"
484
+ "type": "integer",
485
+ "minimum": 1,
486
+ "maximum": 9007199254740991
131
487
  },
132
488
  "ownership": {
133
489
  "type": "string",
@@ -137,9 +493,6 @@
137
493
  ]
138
494
  }
139
495
  },
140
- "required": [
141
- "id"
142
- ],
143
496
  "additionalProperties": false
144
497
  },
145
498
  "spec": {
@@ -415,6 +768,10 @@
415
768
  "type": "string"
416
769
  }
417
770
  },
771
+ "activeCertificate": {
772
+ "description": "Active certificate for an internal key chain.",
773
+ "type": "string"
774
+ },
418
775
  "kmsProvider": {
419
776
  "type": "string"
420
777
  },
@@ -463,14 +820,11 @@
463
820
  }
464
821
  },
465
822
  "required": [
466
- "apiVersion",
467
- "kind",
823
+ "$schema",
468
824
  "metadata",
469
825
  "spec"
470
826
  ],
471
827
  "additionalProperties": false
472
828
  }
473
- ],
474
- "$id": "./KeyChainConfigFile.schema.json",
475
- "title": "KeyChainConfigFile"
829
+ ]
476
830
  }
@@ -2,33 +2,40 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "./KmsConfigFile.schema.json",
4
4
  "title": "KmsConfigFile",
5
- "description": "A tenant KMS configuration file in legacy payload or versioned-envelope form.",
5
+ "description": "Configuration file identified by its $schema URL.",
6
6
  "oneOf": [
7
- {
8
- "$ref": "./KmsConfigDto.schema.json"
9
- },
10
7
  {
11
8
  "type": "object",
12
9
  "properties": {
13
- "apiVersion": {
14
- "type": "string",
15
- "const": "eudiplo.io/kms-config/v1"
16
- },
17
- "kind": {
10
+ "$schema": {
18
11
  "type": "string",
19
- "const": "KmsConfig"
12
+ "const": "https://eudiplo.dev/schemas/v1/KmsConfigFile.schema.json"
20
13
  },
21
14
  "metadata": {
22
- "$ref": "./ConfigDocumentMetadata.schema.json"
15
+ "type": "object",
16
+ "properties": {
17
+ "generation": {
18
+ "type": "integer",
19
+ "minimum": 1,
20
+ "description": "Monotonically increasing configuration generation."
21
+ },
22
+ "ownership": {
23
+ "type": "string",
24
+ "enum": [
25
+ "unmanaged",
26
+ "file-managed"
27
+ ],
28
+ "description": "Requested ownership recorded when the document is applied."
29
+ }
30
+ },
31
+ "additionalProperties": false
23
32
  },
24
33
  "spec": {
25
34
  "$ref": "./KmsConfigDto.schema.json"
26
35
  }
27
36
  },
28
37
  "required": [
29
- "apiVersion",
30
- "kind",
31
- "metadata",
38
+ "$schema",
32
39
  "spec"
33
40
  ],
34
41
  "additionalProperties": false
@@ -2,30 +2,58 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "./PresentationConfigFile.schema.json",
4
4
  "title": "PresentationConfigFile",
5
- "description": "A presentation configuration file in legacy payload or versioned-envelope form.",
5
+ "description": "Configuration file identified by its $schema URL.",
6
6
  "oneOf": [
7
- {
8
- "$ref": "./PresentationConfigCreateDto.schema.json"
9
- },
10
7
  {
11
8
  "type": "object",
12
9
  "properties": {
13
- "apiVersion": {
14
- "type": "string",
15
- "const": "eudiplo.io/presentation-config/v2"
16
- },
17
- "kind": {
10
+ "$schema": {
18
11
  "type": "string",
19
- "const": "PresentationConfig"
12
+ "const": "https://eudiplo.dev/schemas/v1/PresentationConfigFile.schema.json"
20
13
  },
21
14
  "metadata": {
22
- "$ref": "./ConfigDocumentMetadata.schema.json"
15
+ "type": "object",
16
+ "properties": {
17
+ "generation": {
18
+ "type": "integer",
19
+ "minimum": 1,
20
+ "description": "Monotonically increasing configuration generation."
21
+ },
22
+ "ownership": {
23
+ "type": "string",
24
+ "enum": [
25
+ "unmanaged",
26
+ "file-managed"
27
+ ],
28
+ "description": "Requested ownership recorded when the document is applied."
29
+ }
30
+ },
31
+ "additionalProperties": false
23
32
  },
24
33
  "spec": {
25
- "$ref": "./PresentationConfigCreateDto.schema.json"
34
+ "allOf": [
35
+ {
36
+ "$ref": "./PresentationConfigCreateDto.schema.json"
37
+ },
38
+ {
39
+ "type": "object",
40
+ "required": [
41
+ "id"
42
+ ],
43
+ "properties": {
44
+ "id": {
45
+ "type": "string",
46
+ "minLength": 1
47
+ }
48
+ }
49
+ }
50
+ ]
26
51
  }
27
52
  },
28
- "required": ["apiVersion", "kind", "metadata", "spec"],
53
+ "required": [
54
+ "$schema",
55
+ "spec"
56
+ ],
29
57
  "additionalProperties": false
30
58
  }
31
59
  ]
@@ -2,33 +2,40 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "./RegistrarConfigFile.schema.json",
4
4
  "title": "RegistrarConfigFile",
5
- "description": "A registrar configuration file in legacy payload or versioned-envelope form.",
5
+ "description": "Configuration file identified by its $schema URL.",
6
6
  "oneOf": [
7
- {
8
- "$ref": "./CreateRegistrarConfigDto.schema.json"
9
- },
10
7
  {
11
8
  "type": "object",
12
9
  "properties": {
13
- "apiVersion": {
14
- "type": "string",
15
- "const": "eudiplo.io/registrar-config/v1"
16
- },
17
- "kind": {
10
+ "$schema": {
18
11
  "type": "string",
19
- "const": "RegistrarConfig"
12
+ "const": "https://eudiplo.dev/schemas/v1/RegistrarConfigFile.schema.json"
20
13
  },
21
14
  "metadata": {
22
- "$ref": "./ConfigDocumentMetadata.schema.json"
15
+ "type": "object",
16
+ "properties": {
17
+ "generation": {
18
+ "type": "integer",
19
+ "minimum": 1,
20
+ "description": "Monotonically increasing configuration generation."
21
+ },
22
+ "ownership": {
23
+ "type": "string",
24
+ "enum": [
25
+ "unmanaged",
26
+ "file-managed"
27
+ ],
28
+ "description": "Requested ownership recorded when the document is applied."
29
+ }
30
+ },
31
+ "additionalProperties": false
23
32
  },
24
33
  "spec": {
25
34
  "$ref": "./CreateRegistrarConfigDto.schema.json"
26
35
  }
27
36
  },
28
37
  "required": [
29
- "apiVersion",
30
- "kind",
31
- "metadata",
38
+ "$schema",
32
39
  "spec"
33
40
  ],
34
41
  "additionalProperties": false
@@ -2,33 +2,56 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "./StatusListConfigFile.schema.json",
4
4
  "title": "StatusListConfigFile",
5
- "description": "A status-list configuration file in legacy payload or versioned-envelope form.",
5
+ "description": "Configuration file identified by its $schema URL.",
6
6
  "oneOf": [
7
- {
8
- "$ref": "./StatusListImportDto.schema.json"
9
- },
10
7
  {
11
8
  "type": "object",
12
9
  "properties": {
13
- "apiVersion": {
14
- "type": "string",
15
- "const": "eudiplo.io/status-list/v1"
16
- },
17
- "kind": {
10
+ "$schema": {
18
11
  "type": "string",
19
- "const": "StatusList"
12
+ "const": "https://eudiplo.dev/schemas/v1/StatusListConfigFile.schema.json"
20
13
  },
21
14
  "metadata": {
22
- "$ref": "./ConfigDocumentMetadata.schema.json"
15
+ "type": "object",
16
+ "properties": {
17
+ "generation": {
18
+ "type": "integer",
19
+ "minimum": 1,
20
+ "description": "Monotonically increasing configuration generation."
21
+ },
22
+ "ownership": {
23
+ "type": "string",
24
+ "enum": [
25
+ "unmanaged",
26
+ "file-managed"
27
+ ],
28
+ "description": "Requested ownership recorded when the document is applied."
29
+ }
30
+ },
31
+ "additionalProperties": false
23
32
  },
24
33
  "spec": {
25
- "$ref": "./StatusListImportDto.schema.json"
34
+ "allOf": [
35
+ {
36
+ "$ref": "./StatusListImportDto.schema.json"
37
+ },
38
+ {
39
+ "type": "object",
40
+ "required": [
41
+ "id"
42
+ ],
43
+ "properties": {
44
+ "id": {
45
+ "type": "string",
46
+ "minLength": 1
47
+ }
48
+ }
49
+ }
50
+ ]
26
51
  }
27
52
  },
28
53
  "required": [
29
- "apiVersion",
30
- "kind",
31
- "metadata",
54
+ "$schema",
32
55
  "spec"
33
56
  ],
34
57
  "additionalProperties": false