@toolproof-core/schema 1.0.3 → 1.0.5
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/dist/generated/normalized/Genesis.json +16 -265
- package/dist/generated/resources/Genesis.json +18 -305
- package/dist/generated/schemas/Genesis.json +14 -152
- package/dist/generated/schemas/standalone/Goal.json +0 -33
- package/dist/generated/schemas/standalone/Job.json +0 -42
- package/dist/generated/schemas/standalone/RawStrategy.json +14 -52
- package/dist/generated/schemas/standalone/ResourceType.json +0 -34
- package/dist/generated/schemas/standalone/RunnableStrategy.json +14 -57
- package/dist/generated/schemas/standalone/StrategyRun.json +14 -71
- package/dist/generated/types/standalone/Resource_Genesis.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_Job.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_RawStrategy.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_ResourceType.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_RunnableStrategy.d.ts +1 -1
- package/dist/generated/types/types.d.ts +119 -1126
- package/dist/index.d.ts +1 -4
- package/dist/index.js +0 -2
- package/dist/scripts/_lib/config.d.ts +6 -6
- package/dist/scripts/_lib/config.js +10 -12
- package/dist/scripts/extractSchemasFromResourceTypeShells.js +109 -103
- package/dist/scripts/generateDependencies.js +15 -14
- package/dist/scripts/generateSchemaShims.js +77 -85
- package/dist/scripts/generateStandaloneSchema.js +47 -37
- package/dist/scripts/generateStandaloneType.js +85 -79
- package/dist/scripts/generateTypes.js +350 -470
- package/dist/scripts/normalizeAnchorsToPointers.d.ts +1 -1
- package/dist/scripts/normalizeAnchorsToPointers.js +61 -33
- package/dist/scripts/wrapResourceTypesWithResourceShells.js +14 -16
- package/package.json +7 -8
- package/src/Genesis.json +1837 -1999
- package/src/generated/{dependencyMap.json → dependencies/dependencyMap.json} +9 -19
- package/src/generated/normalized/Genesis.json +16 -265
- package/src/generated/resources/Genesis.json +18 -305
- package/src/generated/schemas/Genesis.json +14 -152
- package/src/generated/schemas/standalone/Goal.json +0 -33
- package/src/generated/schemas/standalone/Job.json +0 -42
- package/src/generated/schemas/standalone/RawStrategy.json +14 -52
- package/src/generated/schemas/standalone/ResourceType.json +0 -34
- package/src/generated/schemas/standalone/RunnableStrategy.json +14 -57
- package/src/generated/schemas/standalone/StrategyRun.json +14 -71
- package/src/generated/types/standalone/Resource_Genesis.d.ts +1 -1
- package/src/generated/types/standalone/Resource_Job.d.ts +1 -1
- package/src/generated/types/standalone/Resource_RawStrategy.d.ts +1 -1
- package/src/generated/types/standalone/Resource_ResourceType.d.ts +1 -1
- package/src/generated/types/standalone/Resource_RunnableStrategy.d.ts +1 -1
- package/src/generated/types/types.d.ts +119 -1126
- package/src/index.ts +66 -93
- package/src/scripts/_lib/config.ts +203 -205
- package/src/scripts/extractSchemasFromResourceTypeShells.ts +261 -218
- package/src/scripts/generateDependencies.ts +121 -120
- package/src/scripts/generateSchemaShims.ts +127 -135
- package/src/scripts/generateStandaloneSchema.ts +185 -175
- package/src/scripts/generateStandaloneType.ts +127 -119
- package/src/scripts/generateTypes.ts +532 -615
- package/src/scripts/normalizeAnchorsToPointers.ts +141 -123
- package/src/scripts/wrapResourceTypesWithResourceShells.ts +82 -84
- package/dist/generated/dependencyMap.json +0 -292
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$anchor": "RunnableStrategy",
|
|
3
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"required": [
|
|
@@ -27,13 +26,11 @@
|
|
|
27
26
|
"unevaluatedProperties": false,
|
|
28
27
|
"$defs": {
|
|
29
28
|
"RunnableStrategyIdentity": {
|
|
30
|
-
"$anchor": "RunnableStrategyIdentity",
|
|
31
29
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
32
30
|
"type": "string",
|
|
33
31
|
"pattern": "^RUNNABLE_STRATEGY-.+$"
|
|
34
32
|
},
|
|
35
33
|
"RunnableStrategyContext": {
|
|
36
|
-
"$anchor": "RunnableStrategyContext",
|
|
37
34
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
38
35
|
"type": "object",
|
|
39
36
|
"required": [
|
|
@@ -53,7 +50,6 @@
|
|
|
53
50
|
"unevaluatedProperties": false
|
|
54
51
|
},
|
|
55
52
|
"StrategyThreadMapFacet": {
|
|
56
|
-
"$anchor": "StrategyThreadMapFacet",
|
|
57
53
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
58
54
|
"type": "object",
|
|
59
55
|
"required": [
|
|
@@ -66,7 +62,6 @@
|
|
|
66
62
|
}
|
|
67
63
|
},
|
|
68
64
|
"StrategyStateFacet": {
|
|
69
|
-
"$anchor": "StrategyStateFacet",
|
|
70
65
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
71
66
|
"type": "object",
|
|
72
67
|
"required": [
|
|
@@ -79,7 +74,6 @@
|
|
|
79
74
|
}
|
|
80
75
|
},
|
|
81
76
|
"RunnableStrategyStatus": {
|
|
82
|
-
"$anchor": "RunnableStrategyStatus",
|
|
83
77
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
84
78
|
"type": "string",
|
|
85
79
|
"enum": [
|
|
@@ -91,13 +85,11 @@
|
|
|
91
85
|
]
|
|
92
86
|
},
|
|
93
87
|
"Timestamp": {
|
|
94
|
-
"$anchor": "Timestamp",
|
|
95
88
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
96
89
|
"type": "string",
|
|
97
90
|
"format": "date-time"
|
|
98
91
|
},
|
|
99
92
|
"StrategyThreadMap": {
|
|
100
|
-
"$anchor": "StrategyThreadMap",
|
|
101
93
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
102
94
|
"type": "object",
|
|
103
95
|
"propertyNames": {
|
|
@@ -109,7 +101,6 @@
|
|
|
109
101
|
"$comment": "Each thread contains an array of steps, allowing for sequential execution within a thread while supporting parallel execution across multiple threads."
|
|
110
102
|
},
|
|
111
103
|
"StrategyState": {
|
|
112
|
-
"$anchor": "StrategyState",
|
|
113
104
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
114
105
|
"type": "object",
|
|
115
106
|
"propertyNames": {
|
|
@@ -120,13 +111,11 @@
|
|
|
120
111
|
}
|
|
121
112
|
},
|
|
122
113
|
"StrategyThreadIdentity": {
|
|
123
|
-
"$anchor": "StrategyThreadIdentity",
|
|
124
114
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
125
115
|
"type": "string",
|
|
126
116
|
"pattern": "^STRATEGY_THREAD-.+$"
|
|
127
117
|
},
|
|
128
118
|
"StepArray": {
|
|
129
|
-
"$anchor": "StepArray",
|
|
130
119
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
131
120
|
"type": "array",
|
|
132
121
|
"items": {
|
|
@@ -135,13 +124,11 @@
|
|
|
135
124
|
"uniqueItems": true
|
|
136
125
|
},
|
|
137
126
|
"JobStepIdentity": {
|
|
138
|
-
"$anchor": "JobStepIdentity",
|
|
139
127
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
140
128
|
"type": "string",
|
|
141
129
|
"pattern": "^JOB_STEP-.+$"
|
|
142
130
|
},
|
|
143
131
|
"JobStepSocket": {
|
|
144
|
-
"$anchor": "JobStepSocket",
|
|
145
132
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
146
133
|
"type": "object",
|
|
147
134
|
"propertyNames": {
|
|
@@ -152,7 +139,6 @@
|
|
|
152
139
|
}
|
|
153
140
|
},
|
|
154
141
|
"Step": {
|
|
155
|
-
"$anchor": "Step",
|
|
156
142
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
157
143
|
"type": "object",
|
|
158
144
|
"oneOf": [
|
|
@@ -172,13 +158,11 @@
|
|
|
172
158
|
"unevaluatedProperties": false
|
|
173
159
|
},
|
|
174
160
|
"ResourceRoleIdentity": {
|
|
175
|
-
"$anchor": "ResourceRoleIdentity",
|
|
176
161
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
177
162
|
"type": "string",
|
|
178
163
|
"pattern": "^ROLE-.+$"
|
|
179
164
|
},
|
|
180
165
|
"Resource": {
|
|
181
|
-
"$anchor": "Resource",
|
|
182
166
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
183
167
|
"type": "object",
|
|
184
168
|
"oneOf": [
|
|
@@ -198,11 +182,11 @@
|
|
|
198
182
|
"unevaluatedProperties": false
|
|
199
183
|
},
|
|
200
184
|
"JobStep": {
|
|
201
|
-
"$anchor": "JobStep",
|
|
202
185
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
203
186
|
"type": "object",
|
|
204
187
|
"required": [
|
|
205
188
|
"identity",
|
|
189
|
+
"stepKind",
|
|
206
190
|
"jobHandle"
|
|
207
191
|
],
|
|
208
192
|
"properties": {
|
|
@@ -227,11 +211,11 @@
|
|
|
227
211
|
]
|
|
228
212
|
},
|
|
229
213
|
"BranchStep": {
|
|
230
|
-
"$anchor": "BranchStep",
|
|
231
214
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
232
215
|
"type": "object",
|
|
233
216
|
"required": [
|
|
234
217
|
"identity",
|
|
218
|
+
"stepKind",
|
|
235
219
|
"cases"
|
|
236
220
|
],
|
|
237
221
|
"properties": {
|
|
@@ -257,11 +241,11 @@
|
|
|
257
241
|
]
|
|
258
242
|
},
|
|
259
243
|
"WhileStep": {
|
|
260
|
-
"$anchor": "WhileStep",
|
|
261
244
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
262
245
|
"type": "object",
|
|
263
246
|
"required": [
|
|
264
247
|
"identity",
|
|
248
|
+
"stepKind",
|
|
265
249
|
"case"
|
|
266
250
|
],
|
|
267
251
|
"properties": {
|
|
@@ -282,11 +266,11 @@
|
|
|
282
266
|
]
|
|
283
267
|
},
|
|
284
268
|
"ForStep": {
|
|
285
|
-
"$anchor": "ForStep",
|
|
286
269
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
287
270
|
"type": "object",
|
|
288
271
|
"required": [
|
|
289
272
|
"identity",
|
|
273
|
+
"stepKind",
|
|
290
274
|
"case"
|
|
291
275
|
],
|
|
292
276
|
"properties": {
|
|
@@ -307,28 +291,24 @@
|
|
|
307
291
|
]
|
|
308
292
|
},
|
|
309
293
|
"ResourceMissing": {
|
|
310
|
-
"$anchor": "ResourceMissing",
|
|
311
294
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
312
295
|
"type": "object",
|
|
313
296
|
"$ref": "#/$defs/ShellMissing",
|
|
314
297
|
"unevaluatedProperties": false
|
|
315
298
|
},
|
|
316
299
|
"ResourceInputPotential": {
|
|
317
|
-
"$anchor": "ResourceInputPotential",
|
|
318
300
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
319
301
|
"type": "object",
|
|
320
302
|
"$ref": "#/$defs/ShellInputPotential",
|
|
321
303
|
"unevaluatedProperties": false
|
|
322
304
|
},
|
|
323
305
|
"ResourceOutputPotential": {
|
|
324
|
-
"$anchor": "ResourceOutputPotential",
|
|
325
306
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
326
307
|
"type": "object",
|
|
327
308
|
"$ref": "#/$defs/ShellOutputPotential",
|
|
328
309
|
"unevaluatedProperties": false
|
|
329
310
|
},
|
|
330
311
|
"ResourceMaterialized": {
|
|
331
|
-
"$anchor": "ResourceMaterialized",
|
|
332
312
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
333
313
|
"type": "object",
|
|
334
314
|
"allOf": [
|
|
@@ -343,13 +323,11 @@
|
|
|
343
323
|
"unevaluatedProperties": false
|
|
344
324
|
},
|
|
345
325
|
"JobIdentity": {
|
|
346
|
-
"$anchor": "JobIdentity",
|
|
347
326
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
348
327
|
"type": "string",
|
|
349
328
|
"pattern": "^JOB-.+$"
|
|
350
329
|
},
|
|
351
330
|
"StepKindFacet": {
|
|
352
|
-
"$anchor": "StepKindFacet",
|
|
353
331
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
354
332
|
"type": "object",
|
|
355
333
|
"required": [
|
|
@@ -362,7 +340,6 @@
|
|
|
362
340
|
}
|
|
363
341
|
},
|
|
364
342
|
"RoleBindingsFacet": {
|
|
365
|
-
"$anchor": "RoleBindingsFacet",
|
|
366
343
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
367
344
|
"type": "object",
|
|
368
345
|
"required": [
|
|
@@ -375,13 +352,11 @@
|
|
|
375
352
|
}
|
|
376
353
|
},
|
|
377
354
|
"BranchStepIdentity": {
|
|
378
|
-
"$anchor": "BranchStepIdentity",
|
|
379
355
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
380
356
|
"type": "string",
|
|
381
357
|
"pattern": "^BRANCH_STEP-.+$"
|
|
382
358
|
},
|
|
383
359
|
"Conditional": {
|
|
384
|
-
"$anchor": "Conditional",
|
|
385
360
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
386
361
|
"type": "object",
|
|
387
362
|
"required": [
|
|
@@ -399,19 +374,16 @@
|
|
|
399
374
|
"unevaluatedProperties": false
|
|
400
375
|
},
|
|
401
376
|
"WhileStepIdentity": {
|
|
402
|
-
"$anchor": "WhileStepIdentity",
|
|
403
377
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
404
378
|
"type": "string",
|
|
405
379
|
"pattern": "^WHILE_STEP-.+$"
|
|
406
380
|
},
|
|
407
381
|
"ForStepIdentity": {
|
|
408
|
-
"$anchor": "ForStepIdentity",
|
|
409
382
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
410
383
|
"type": "string",
|
|
411
384
|
"pattern": "^FOR_STEP-.+$"
|
|
412
385
|
},
|
|
413
386
|
"ShellMissing": {
|
|
414
|
-
"$anchor": "ShellMissing",
|
|
415
387
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
416
388
|
"type": "object",
|
|
417
389
|
"properties": {
|
|
@@ -421,7 +393,7 @@
|
|
|
421
393
|
},
|
|
422
394
|
"allOf": [
|
|
423
395
|
{
|
|
424
|
-
"$ref": "#/$defs/
|
|
396
|
+
"$ref": "#/$defs/ResourceShellBase"
|
|
425
397
|
},
|
|
426
398
|
{
|
|
427
399
|
"$ref": "#/$defs/ResourceKindFacet"
|
|
@@ -430,7 +402,6 @@
|
|
|
430
402
|
"unevaluatedProperties": false
|
|
431
403
|
},
|
|
432
404
|
"ShellInputPotential": {
|
|
433
|
-
"$anchor": "ShellInputPotential",
|
|
434
405
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
435
406
|
"type": "object",
|
|
436
407
|
"properties": {
|
|
@@ -440,7 +411,7 @@
|
|
|
440
411
|
},
|
|
441
412
|
"allOf": [
|
|
442
413
|
{
|
|
443
|
-
"$ref": "#/$defs/
|
|
414
|
+
"$ref": "#/$defs/ResourceShellBase"
|
|
444
415
|
},
|
|
445
416
|
{
|
|
446
417
|
"$ref": "#/$defs/CreationContextFacet"
|
|
@@ -452,7 +423,6 @@
|
|
|
452
423
|
"unevaluatedProperties": false
|
|
453
424
|
},
|
|
454
425
|
"ShellOutputPotential": {
|
|
455
|
-
"$anchor": "ShellOutputPotential",
|
|
456
426
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
457
427
|
"type": "object",
|
|
458
428
|
"properties": {
|
|
@@ -462,7 +432,7 @@
|
|
|
462
432
|
},
|
|
463
433
|
"allOf": [
|
|
464
434
|
{
|
|
465
|
-
"$ref": "#/$defs/
|
|
435
|
+
"$ref": "#/$defs/ResourceShellBase"
|
|
466
436
|
},
|
|
467
437
|
{
|
|
468
438
|
"$ref": "#/$defs/CreationContextFacet"
|
|
@@ -474,7 +444,6 @@
|
|
|
474
444
|
"unevaluatedProperties": false
|
|
475
445
|
},
|
|
476
446
|
"ShellMaterializedBase": {
|
|
477
|
-
"$anchor": "ShellMaterializedBase",
|
|
478
447
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
479
448
|
"type": "object",
|
|
480
449
|
"required": [
|
|
@@ -490,7 +459,7 @@
|
|
|
490
459
|
},
|
|
491
460
|
"allOf": [
|
|
492
461
|
{
|
|
493
|
-
"$ref": "#/$defs/
|
|
462
|
+
"$ref": "#/$defs/ResourceShellBase"
|
|
494
463
|
},
|
|
495
464
|
{
|
|
496
465
|
"$ref": "#/$defs/CreationContextFacet"
|
|
@@ -507,7 +476,6 @@
|
|
|
507
476
|
]
|
|
508
477
|
},
|
|
509
478
|
"NucleusFacet": {
|
|
510
|
-
"$anchor": "NucleusFacet",
|
|
511
479
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
512
480
|
"type": "object",
|
|
513
481
|
"required": [
|
|
@@ -520,7 +488,6 @@
|
|
|
520
488
|
}
|
|
521
489
|
},
|
|
522
490
|
"StepKind": {
|
|
523
|
-
"$anchor": "StepKind",
|
|
524
491
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
525
492
|
"type": "string",
|
|
526
493
|
"enum": [
|
|
@@ -531,7 +498,6 @@
|
|
|
531
498
|
]
|
|
532
499
|
},
|
|
533
500
|
"RoleBindings": {
|
|
534
|
-
"$anchor": "RoleBindings",
|
|
535
501
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
536
502
|
"type": "object",
|
|
537
503
|
"required": [
|
|
@@ -547,13 +513,13 @@
|
|
|
547
513
|
}
|
|
548
514
|
}
|
|
549
515
|
},
|
|
550
|
-
"
|
|
551
|
-
"$anchor": "ResourceBase",
|
|
516
|
+
"ResourceShellBase": {
|
|
552
517
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
553
518
|
"type": "object",
|
|
554
519
|
"required": [
|
|
555
520
|
"identity",
|
|
556
|
-
"resourceTypeHandle"
|
|
521
|
+
"resourceTypeHandle",
|
|
522
|
+
"resourceKind"
|
|
557
523
|
],
|
|
558
524
|
"properties": {
|
|
559
525
|
"identity": {
|
|
@@ -561,11 +527,13 @@
|
|
|
561
527
|
},
|
|
562
528
|
"resourceTypeHandle": {
|
|
563
529
|
"$ref": "#/$defs/ResourceTypeIdentity"
|
|
530
|
+
},
|
|
531
|
+
"resourceKind": {
|
|
532
|
+
"$ref": "#/$defs/ResourceKind"
|
|
564
533
|
}
|
|
565
534
|
}
|
|
566
535
|
},
|
|
567
536
|
"ResourceKindFacet": {
|
|
568
|
-
"$anchor": "ResourceKindFacet",
|
|
569
537
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
570
538
|
"type": "object",
|
|
571
539
|
"required": [
|
|
@@ -578,7 +546,6 @@
|
|
|
578
546
|
}
|
|
579
547
|
},
|
|
580
548
|
"CreationContextFacet": {
|
|
581
|
-
"$anchor": "CreationContextFacet",
|
|
582
549
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
583
550
|
"type": "object",
|
|
584
551
|
"required": [
|
|
@@ -591,7 +558,6 @@
|
|
|
591
558
|
}
|
|
592
559
|
},
|
|
593
560
|
"TimestampFacet": {
|
|
594
|
-
"$anchor": "TimestampFacet",
|
|
595
561
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
596
562
|
"type": "object",
|
|
597
563
|
"required": [
|
|
@@ -604,7 +570,6 @@
|
|
|
604
570
|
}
|
|
605
571
|
},
|
|
606
572
|
"PathFacet": {
|
|
607
|
-
"$anchor": "PathFacet",
|
|
608
573
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
609
574
|
"type": "object",
|
|
610
575
|
"required": [
|
|
@@ -617,7 +582,6 @@
|
|
|
617
582
|
}
|
|
618
583
|
},
|
|
619
584
|
"Nucleus": {
|
|
620
|
-
"$anchor": "Nucleus",
|
|
621
585
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
622
586
|
"type": "object",
|
|
623
587
|
"additionalProperties": {
|
|
@@ -625,7 +589,6 @@
|
|
|
625
589
|
}
|
|
626
590
|
},
|
|
627
591
|
"RoleBindingArray": {
|
|
628
|
-
"$anchor": "RoleBindingArray",
|
|
629
592
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
630
593
|
"type": "array",
|
|
631
594
|
"items": {
|
|
@@ -633,19 +596,16 @@
|
|
|
633
596
|
}
|
|
634
597
|
},
|
|
635
598
|
"ResourceIdentity": {
|
|
636
|
-
"$anchor": "ResourceIdentity",
|
|
637
599
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
638
600
|
"type": "string",
|
|
639
601
|
"pattern": "^RESOURCE-.+$"
|
|
640
602
|
},
|
|
641
603
|
"ResourceTypeIdentity": {
|
|
642
|
-
"$anchor": "ResourceTypeIdentity",
|
|
643
604
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
644
605
|
"type": "string",
|
|
645
606
|
"pattern": "^TYPE-.+$"
|
|
646
607
|
},
|
|
647
608
|
"ResourceKind": {
|
|
648
|
-
"$anchor": "ResourceKind",
|
|
649
609
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
650
610
|
"type": "string",
|
|
651
611
|
"enum": [
|
|
@@ -656,7 +616,6 @@
|
|
|
656
616
|
]
|
|
657
617
|
},
|
|
658
618
|
"CreationContext": {
|
|
659
|
-
"$anchor": "CreationContext",
|
|
660
619
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
661
620
|
"type": "object",
|
|
662
621
|
"required": [
|
|
@@ -673,13 +632,11 @@
|
|
|
673
632
|
}
|
|
674
633
|
},
|
|
675
634
|
"Path": {
|
|
676
|
-
"$anchor": "Path",
|
|
677
635
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
678
636
|
"type": "string",
|
|
679
637
|
"format": "uri-reference"
|
|
680
638
|
},
|
|
681
639
|
"JsonData": {
|
|
682
|
-
"$anchor": "JsonData",
|
|
683
640
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
684
641
|
"oneOf": [
|
|
685
642
|
{
|