@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": "StrategyRun",
|
|
3
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
3
|
"type": "object",
|
|
5
4
|
"required": [
|
|
@@ -29,25 +28,21 @@
|
|
|
29
28
|
"unevaluatedProperties": false,
|
|
30
29
|
"$defs": {
|
|
31
30
|
"StrategyRunIdentity": {
|
|
32
|
-
"$anchor": "StrategyRunIdentity",
|
|
33
31
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
34
32
|
"type": "string",
|
|
35
33
|
"pattern": "^STRATEGY_RUN-.+$"
|
|
36
34
|
},
|
|
37
35
|
"RunnableStrategyIdentity": {
|
|
38
|
-
"$anchor": "RunnableStrategyIdentity",
|
|
39
36
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
40
37
|
"type": "string",
|
|
41
38
|
"pattern": "^RUNNABLE_STRATEGY-.+$"
|
|
42
39
|
},
|
|
43
40
|
"Timestamp": {
|
|
44
|
-
"$anchor": "Timestamp",
|
|
45
41
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
46
42
|
"type": "string",
|
|
47
43
|
"format": "date-time"
|
|
48
44
|
},
|
|
49
45
|
"RunEvent": {
|
|
50
|
-
"$anchor": "RunEvent",
|
|
51
46
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
52
47
|
"type": "object",
|
|
53
48
|
"oneOf": [
|
|
@@ -66,7 +61,6 @@
|
|
|
66
61
|
]
|
|
67
62
|
},
|
|
68
63
|
"GraphStartRunEvent": {
|
|
69
|
-
"$anchor": "GraphStartRunEvent",
|
|
70
64
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
71
65
|
"allOf": [
|
|
72
66
|
{
|
|
@@ -89,7 +83,6 @@
|
|
|
89
83
|
]
|
|
90
84
|
},
|
|
91
85
|
"TickRunEvent": {
|
|
92
|
-
"$anchor": "TickRunEvent",
|
|
93
86
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
94
87
|
"allOf": [
|
|
95
88
|
{
|
|
@@ -106,7 +99,6 @@
|
|
|
106
99
|
]
|
|
107
100
|
},
|
|
108
101
|
"InterruptRunEvent": {
|
|
109
|
-
"$anchor": "InterruptRunEvent",
|
|
110
102
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
111
103
|
"allOf": [
|
|
112
104
|
{
|
|
@@ -123,7 +115,6 @@
|
|
|
123
115
|
]
|
|
124
116
|
},
|
|
125
117
|
"GraphEndRunEvent": {
|
|
126
|
-
"$anchor": "GraphEndRunEvent",
|
|
127
118
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
128
119
|
"allOf": [
|
|
129
120
|
{
|
|
@@ -140,7 +131,6 @@
|
|
|
140
131
|
]
|
|
141
132
|
},
|
|
142
133
|
"RunEventBase": {
|
|
143
|
-
"$anchor": "RunEventBase",
|
|
144
134
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
145
135
|
"type": "object",
|
|
146
136
|
"required": [
|
|
@@ -182,7 +172,6 @@
|
|
|
182
172
|
}
|
|
183
173
|
},
|
|
184
174
|
"RunnableStrategy": {
|
|
185
|
-
"$anchor": "RunnableStrategy",
|
|
186
175
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
187
176
|
"type": "object",
|
|
188
177
|
"required": [
|
|
@@ -210,7 +199,6 @@
|
|
|
210
199
|
"unevaluatedProperties": false
|
|
211
200
|
},
|
|
212
201
|
"RunEventKind": {
|
|
213
|
-
"$anchor": "RunEventKind",
|
|
214
202
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
215
203
|
"type": "string",
|
|
216
204
|
"enum": [
|
|
@@ -221,13 +209,11 @@
|
|
|
221
209
|
]
|
|
222
210
|
},
|
|
223
211
|
"StrategyThreadIdentity": {
|
|
224
|
-
"$anchor": "StrategyThreadIdentity",
|
|
225
212
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
226
213
|
"type": "string",
|
|
227
214
|
"pattern": "^STRATEGY_THREAD-.+$"
|
|
228
215
|
},
|
|
229
216
|
"RunEventCounters": {
|
|
230
|
-
"$anchor": "RunEventCounters",
|
|
231
217
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
232
218
|
"type": "object",
|
|
233
219
|
"properties": {
|
|
@@ -240,7 +226,6 @@
|
|
|
240
226
|
}
|
|
241
227
|
},
|
|
242
228
|
"RunEventStepMetadata": {
|
|
243
|
-
"$anchor": "RunEventStepMetadata",
|
|
244
229
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
245
230
|
"type": "object",
|
|
246
231
|
"required": [
|
|
@@ -261,7 +246,6 @@
|
|
|
261
246
|
}
|
|
262
247
|
},
|
|
263
248
|
"RunEventUpdates": {
|
|
264
|
-
"$anchor": "RunEventUpdates",
|
|
265
249
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
266
250
|
"type": "object",
|
|
267
251
|
"properties": {
|
|
@@ -295,7 +279,6 @@
|
|
|
295
279
|
]
|
|
296
280
|
},
|
|
297
281
|
"RunnableStrategyContext": {
|
|
298
|
-
"$anchor": "RunnableStrategyContext",
|
|
299
282
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
300
283
|
"type": "object",
|
|
301
284
|
"required": [
|
|
@@ -315,7 +298,6 @@
|
|
|
315
298
|
"unevaluatedProperties": false
|
|
316
299
|
},
|
|
317
300
|
"StrategyThreadMapFacet": {
|
|
318
|
-
"$anchor": "StrategyThreadMapFacet",
|
|
319
301
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
320
302
|
"type": "object",
|
|
321
303
|
"required": [
|
|
@@ -328,7 +310,6 @@
|
|
|
328
310
|
}
|
|
329
311
|
},
|
|
330
312
|
"StrategyStateFacet": {
|
|
331
|
-
"$anchor": "StrategyStateFacet",
|
|
332
313
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
333
314
|
"type": "object",
|
|
334
315
|
"required": [
|
|
@@ -341,7 +322,6 @@
|
|
|
341
322
|
}
|
|
342
323
|
},
|
|
343
324
|
"StepIdentity": {
|
|
344
|
-
"$anchor": "StepIdentity",
|
|
345
325
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
346
326
|
"type": "object",
|
|
347
327
|
"oneOf": [
|
|
@@ -360,7 +340,6 @@
|
|
|
360
340
|
]
|
|
361
341
|
},
|
|
362
342
|
"StepKind": {
|
|
363
|
-
"$anchor": "StepKind",
|
|
364
343
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
365
344
|
"type": "string",
|
|
366
345
|
"enum": [
|
|
@@ -371,7 +350,6 @@
|
|
|
371
350
|
]
|
|
372
351
|
},
|
|
373
352
|
"StepArray": {
|
|
374
|
-
"$anchor": "StepArray",
|
|
375
353
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
376
354
|
"type": "array",
|
|
377
355
|
"items": {
|
|
@@ -380,7 +358,6 @@
|
|
|
380
358
|
"uniqueItems": true
|
|
381
359
|
},
|
|
382
360
|
"StrategyStateDelta": {
|
|
383
|
-
"$anchor": "StrategyStateDelta",
|
|
384
361
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
385
362
|
"type": "object",
|
|
386
363
|
"required": [
|
|
@@ -393,7 +370,6 @@
|
|
|
393
370
|
}
|
|
394
371
|
},
|
|
395
372
|
"RunnableStrategyStatus": {
|
|
396
|
-
"$anchor": "RunnableStrategyStatus",
|
|
397
373
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
398
374
|
"type": "string",
|
|
399
375
|
"enum": [
|
|
@@ -405,7 +381,6 @@
|
|
|
405
381
|
]
|
|
406
382
|
},
|
|
407
383
|
"StrategyThreadMap": {
|
|
408
|
-
"$anchor": "StrategyThreadMap",
|
|
409
384
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
410
385
|
"type": "object",
|
|
411
386
|
"propertyNames": {
|
|
@@ -417,7 +392,6 @@
|
|
|
417
392
|
"$comment": "Each thread contains an array of steps, allowing for sequential execution within a thread while supporting parallel execution across multiple threads."
|
|
418
393
|
},
|
|
419
394
|
"StrategyState": {
|
|
420
|
-
"$anchor": "StrategyState",
|
|
421
395
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
422
396
|
"type": "object",
|
|
423
397
|
"propertyNames": {
|
|
@@ -428,31 +402,26 @@
|
|
|
428
402
|
}
|
|
429
403
|
},
|
|
430
404
|
"JobStepIdentity": {
|
|
431
|
-
"$anchor": "JobStepIdentity",
|
|
432
405
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
433
406
|
"type": "string",
|
|
434
407
|
"pattern": "^JOB_STEP-.+$"
|
|
435
408
|
},
|
|
436
409
|
"BranchStepIdentity": {
|
|
437
|
-
"$anchor": "BranchStepIdentity",
|
|
438
410
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
439
411
|
"type": "string",
|
|
440
412
|
"pattern": "^BRANCH_STEP-.+$"
|
|
441
413
|
},
|
|
442
414
|
"WhileStepIdentity": {
|
|
443
|
-
"$anchor": "WhileStepIdentity",
|
|
444
415
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
445
416
|
"type": "string",
|
|
446
417
|
"pattern": "^WHILE_STEP-.+$"
|
|
447
418
|
},
|
|
448
419
|
"ForStepIdentity": {
|
|
449
|
-
"$anchor": "ForStepIdentity",
|
|
450
420
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
451
421
|
"type": "string",
|
|
452
422
|
"pattern": "^FOR_STEP-.+$"
|
|
453
423
|
},
|
|
454
424
|
"Step": {
|
|
455
|
-
"$anchor": "Step",
|
|
456
425
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
457
426
|
"type": "object",
|
|
458
427
|
"oneOf": [
|
|
@@ -472,7 +441,6 @@
|
|
|
472
441
|
"unevaluatedProperties": false
|
|
473
442
|
},
|
|
474
443
|
"JobStepSocket": {
|
|
475
|
-
"$anchor": "JobStepSocket",
|
|
476
444
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
477
445
|
"type": "object",
|
|
478
446
|
"propertyNames": {
|
|
@@ -483,11 +451,11 @@
|
|
|
483
451
|
}
|
|
484
452
|
},
|
|
485
453
|
"JobStep": {
|
|
486
|
-
"$anchor": "JobStep",
|
|
487
454
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
488
455
|
"type": "object",
|
|
489
456
|
"required": [
|
|
490
457
|
"identity",
|
|
458
|
+
"stepKind",
|
|
491
459
|
"jobHandle"
|
|
492
460
|
],
|
|
493
461
|
"properties": {
|
|
@@ -512,11 +480,11 @@
|
|
|
512
480
|
]
|
|
513
481
|
},
|
|
514
482
|
"BranchStep": {
|
|
515
|
-
"$anchor": "BranchStep",
|
|
516
483
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
517
484
|
"type": "object",
|
|
518
485
|
"required": [
|
|
519
486
|
"identity",
|
|
487
|
+
"stepKind",
|
|
520
488
|
"cases"
|
|
521
489
|
],
|
|
522
490
|
"properties": {
|
|
@@ -542,11 +510,11 @@
|
|
|
542
510
|
]
|
|
543
511
|
},
|
|
544
512
|
"WhileStep": {
|
|
545
|
-
"$anchor": "WhileStep",
|
|
546
513
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
547
514
|
"type": "object",
|
|
548
515
|
"required": [
|
|
549
516
|
"identity",
|
|
517
|
+
"stepKind",
|
|
550
518
|
"case"
|
|
551
519
|
],
|
|
552
520
|
"properties": {
|
|
@@ -567,11 +535,11 @@
|
|
|
567
535
|
]
|
|
568
536
|
},
|
|
569
537
|
"ForStep": {
|
|
570
|
-
"$anchor": "ForStep",
|
|
571
538
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
572
539
|
"type": "object",
|
|
573
540
|
"required": [
|
|
574
541
|
"identity",
|
|
542
|
+
"stepKind",
|
|
575
543
|
"case"
|
|
576
544
|
],
|
|
577
545
|
"properties": {
|
|
@@ -592,13 +560,11 @@
|
|
|
592
560
|
]
|
|
593
561
|
},
|
|
594
562
|
"ResourceRoleIdentity": {
|
|
595
|
-
"$anchor": "ResourceRoleIdentity",
|
|
596
563
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
597
564
|
"type": "string",
|
|
598
565
|
"pattern": "^ROLE-.+$"
|
|
599
566
|
},
|
|
600
567
|
"Resource": {
|
|
601
|
-
"$anchor": "Resource",
|
|
602
568
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
603
569
|
"type": "object",
|
|
604
570
|
"oneOf": [
|
|
@@ -618,13 +584,11 @@
|
|
|
618
584
|
"unevaluatedProperties": false
|
|
619
585
|
},
|
|
620
586
|
"JobIdentity": {
|
|
621
|
-
"$anchor": "JobIdentity",
|
|
622
587
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
623
588
|
"type": "string",
|
|
624
589
|
"pattern": "^JOB-.+$"
|
|
625
590
|
},
|
|
626
591
|
"StepKindFacet": {
|
|
627
|
-
"$anchor": "StepKindFacet",
|
|
628
592
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
629
593
|
"type": "object",
|
|
630
594
|
"required": [
|
|
@@ -637,7 +601,6 @@
|
|
|
637
601
|
}
|
|
638
602
|
},
|
|
639
603
|
"RoleBindingsFacet": {
|
|
640
|
-
"$anchor": "RoleBindingsFacet",
|
|
641
604
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
642
605
|
"type": "object",
|
|
643
606
|
"required": [
|
|
@@ -650,7 +613,6 @@
|
|
|
650
613
|
}
|
|
651
614
|
},
|
|
652
615
|
"Conditional": {
|
|
653
|
-
"$anchor": "Conditional",
|
|
654
616
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
655
617
|
"type": "object",
|
|
656
618
|
"required": [
|
|
@@ -668,28 +630,24 @@
|
|
|
668
630
|
"unevaluatedProperties": false
|
|
669
631
|
},
|
|
670
632
|
"ResourceMissing": {
|
|
671
|
-
"$anchor": "ResourceMissing",
|
|
672
633
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
673
634
|
"type": "object",
|
|
674
635
|
"$ref": "#/$defs/ShellMissing",
|
|
675
636
|
"unevaluatedProperties": false
|
|
676
637
|
},
|
|
677
638
|
"ResourceInputPotential": {
|
|
678
|
-
"$anchor": "ResourceInputPotential",
|
|
679
639
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
680
640
|
"type": "object",
|
|
681
641
|
"$ref": "#/$defs/ShellInputPotential",
|
|
682
642
|
"unevaluatedProperties": false
|
|
683
643
|
},
|
|
684
644
|
"ResourceOutputPotential": {
|
|
685
|
-
"$anchor": "ResourceOutputPotential",
|
|
686
645
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
687
646
|
"type": "object",
|
|
688
647
|
"$ref": "#/$defs/ShellOutputPotential",
|
|
689
648
|
"unevaluatedProperties": false
|
|
690
649
|
},
|
|
691
650
|
"ResourceMaterialized": {
|
|
692
|
-
"$anchor": "ResourceMaterialized",
|
|
693
651
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
694
652
|
"type": "object",
|
|
695
653
|
"allOf": [
|
|
@@ -704,7 +662,6 @@
|
|
|
704
662
|
"unevaluatedProperties": false
|
|
705
663
|
},
|
|
706
664
|
"RoleBindings": {
|
|
707
|
-
"$anchor": "RoleBindings",
|
|
708
665
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
709
666
|
"type": "object",
|
|
710
667
|
"required": [
|
|
@@ -721,7 +678,6 @@
|
|
|
721
678
|
}
|
|
722
679
|
},
|
|
723
680
|
"ShellMissing": {
|
|
724
|
-
"$anchor": "ShellMissing",
|
|
725
681
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
726
682
|
"type": "object",
|
|
727
683
|
"properties": {
|
|
@@ -731,7 +687,7 @@
|
|
|
731
687
|
},
|
|
732
688
|
"allOf": [
|
|
733
689
|
{
|
|
734
|
-
"$ref": "#/$defs/
|
|
690
|
+
"$ref": "#/$defs/ResourceShellBase"
|
|
735
691
|
},
|
|
736
692
|
{
|
|
737
693
|
"$ref": "#/$defs/ResourceKindFacet"
|
|
@@ -740,7 +696,6 @@
|
|
|
740
696
|
"unevaluatedProperties": false
|
|
741
697
|
},
|
|
742
698
|
"ShellInputPotential": {
|
|
743
|
-
"$anchor": "ShellInputPotential",
|
|
744
699
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
745
700
|
"type": "object",
|
|
746
701
|
"properties": {
|
|
@@ -750,7 +705,7 @@
|
|
|
750
705
|
},
|
|
751
706
|
"allOf": [
|
|
752
707
|
{
|
|
753
|
-
"$ref": "#/$defs/
|
|
708
|
+
"$ref": "#/$defs/ResourceShellBase"
|
|
754
709
|
},
|
|
755
710
|
{
|
|
756
711
|
"$ref": "#/$defs/CreationContextFacet"
|
|
@@ -762,7 +717,6 @@
|
|
|
762
717
|
"unevaluatedProperties": false
|
|
763
718
|
},
|
|
764
719
|
"ShellOutputPotential": {
|
|
765
|
-
"$anchor": "ShellOutputPotential",
|
|
766
720
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
767
721
|
"type": "object",
|
|
768
722
|
"properties": {
|
|
@@ -772,7 +726,7 @@
|
|
|
772
726
|
},
|
|
773
727
|
"allOf": [
|
|
774
728
|
{
|
|
775
|
-
"$ref": "#/$defs/
|
|
729
|
+
"$ref": "#/$defs/ResourceShellBase"
|
|
776
730
|
},
|
|
777
731
|
{
|
|
778
732
|
"$ref": "#/$defs/CreationContextFacet"
|
|
@@ -784,7 +738,6 @@
|
|
|
784
738
|
"unevaluatedProperties": false
|
|
785
739
|
},
|
|
786
740
|
"ShellMaterializedBase": {
|
|
787
|
-
"$anchor": "ShellMaterializedBase",
|
|
788
741
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
789
742
|
"type": "object",
|
|
790
743
|
"required": [
|
|
@@ -800,7 +753,7 @@
|
|
|
800
753
|
},
|
|
801
754
|
"allOf": [
|
|
802
755
|
{
|
|
803
|
-
"$ref": "#/$defs/
|
|
756
|
+
"$ref": "#/$defs/ResourceShellBase"
|
|
804
757
|
},
|
|
805
758
|
{
|
|
806
759
|
"$ref": "#/$defs/CreationContextFacet"
|
|
@@ -817,7 +770,6 @@
|
|
|
817
770
|
]
|
|
818
771
|
},
|
|
819
772
|
"NucleusFacet": {
|
|
820
|
-
"$anchor": "NucleusFacet",
|
|
821
773
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
822
774
|
"type": "object",
|
|
823
775
|
"required": [
|
|
@@ -830,20 +782,19 @@
|
|
|
830
782
|
}
|
|
831
783
|
},
|
|
832
784
|
"RoleBindingArray": {
|
|
833
|
-
"$anchor": "RoleBindingArray",
|
|
834
785
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
835
786
|
"type": "array",
|
|
836
787
|
"items": {
|
|
837
788
|
"$ref": "#/$defs/ResourceRoleIdentity"
|
|
838
789
|
}
|
|
839
790
|
},
|
|
840
|
-
"
|
|
841
|
-
"$anchor": "ResourceBase",
|
|
791
|
+
"ResourceShellBase": {
|
|
842
792
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
843
793
|
"type": "object",
|
|
844
794
|
"required": [
|
|
845
795
|
"identity",
|
|
846
|
-
"resourceTypeHandle"
|
|
796
|
+
"resourceTypeHandle",
|
|
797
|
+
"resourceKind"
|
|
847
798
|
],
|
|
848
799
|
"properties": {
|
|
849
800
|
"identity": {
|
|
@@ -851,11 +802,13 @@
|
|
|
851
802
|
},
|
|
852
803
|
"resourceTypeHandle": {
|
|
853
804
|
"$ref": "#/$defs/ResourceTypeIdentity"
|
|
805
|
+
},
|
|
806
|
+
"resourceKind": {
|
|
807
|
+
"$ref": "#/$defs/ResourceKind"
|
|
854
808
|
}
|
|
855
809
|
}
|
|
856
810
|
},
|
|
857
811
|
"ResourceKindFacet": {
|
|
858
|
-
"$anchor": "ResourceKindFacet",
|
|
859
812
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
860
813
|
"type": "object",
|
|
861
814
|
"required": [
|
|
@@ -868,7 +821,6 @@
|
|
|
868
821
|
}
|
|
869
822
|
},
|
|
870
823
|
"CreationContextFacet": {
|
|
871
|
-
"$anchor": "CreationContextFacet",
|
|
872
824
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
873
825
|
"type": "object",
|
|
874
826
|
"required": [
|
|
@@ -881,7 +833,6 @@
|
|
|
881
833
|
}
|
|
882
834
|
},
|
|
883
835
|
"TimestampFacet": {
|
|
884
|
-
"$anchor": "TimestampFacet",
|
|
885
836
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
886
837
|
"type": "object",
|
|
887
838
|
"required": [
|
|
@@ -894,7 +845,6 @@
|
|
|
894
845
|
}
|
|
895
846
|
},
|
|
896
847
|
"PathFacet": {
|
|
897
|
-
"$anchor": "PathFacet",
|
|
898
848
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
899
849
|
"type": "object",
|
|
900
850
|
"required": [
|
|
@@ -907,7 +857,6 @@
|
|
|
907
857
|
}
|
|
908
858
|
},
|
|
909
859
|
"Nucleus": {
|
|
910
|
-
"$anchor": "Nucleus",
|
|
911
860
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
912
861
|
"type": "object",
|
|
913
862
|
"additionalProperties": {
|
|
@@ -915,19 +864,16 @@
|
|
|
915
864
|
}
|
|
916
865
|
},
|
|
917
866
|
"ResourceIdentity": {
|
|
918
|
-
"$anchor": "ResourceIdentity",
|
|
919
867
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
920
868
|
"type": "string",
|
|
921
869
|
"pattern": "^RESOURCE-.+$"
|
|
922
870
|
},
|
|
923
871
|
"ResourceTypeIdentity": {
|
|
924
|
-
"$anchor": "ResourceTypeIdentity",
|
|
925
872
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
926
873
|
"type": "string",
|
|
927
874
|
"pattern": "^TYPE-.+$"
|
|
928
875
|
},
|
|
929
876
|
"ResourceKind": {
|
|
930
|
-
"$anchor": "ResourceKind",
|
|
931
877
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
932
878
|
"type": "string",
|
|
933
879
|
"enum": [
|
|
@@ -938,7 +884,6 @@
|
|
|
938
884
|
]
|
|
939
885
|
},
|
|
940
886
|
"CreationContext": {
|
|
941
|
-
"$anchor": "CreationContext",
|
|
942
887
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
943
888
|
"type": "object",
|
|
944
889
|
"required": [
|
|
@@ -955,13 +900,11 @@
|
|
|
955
900
|
}
|
|
956
901
|
},
|
|
957
902
|
"Path": {
|
|
958
|
-
"$anchor": "Path",
|
|
959
903
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
960
904
|
"type": "string",
|
|
961
905
|
"format": "uri-reference"
|
|
962
906
|
},
|
|
963
907
|
"JsonData": {
|
|
964
|
-
"$anchor": "JsonData",
|
|
965
908
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
966
909
|
"oneOf": [
|
|
967
910
|
{
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Auto-generated strict composite type. Do not edit.
|
|
2
|
-
import type { ShellMaterializedBase, Genesis as NucleusSchema } from
|
|
2
|
+
import type { ShellMaterializedBase, Genesis as NucleusSchema } from "../types.js";
|
|
3
3
|
export type Resource_Genesis = ShellMaterializedBase & { nucleus: NucleusSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Auto-generated strict composite type. Do not edit.
|
|
2
|
-
import type { ShellMaterializedBase, Job as NucleusSchema } from
|
|
2
|
+
import type { ShellMaterializedBase, Job as NucleusSchema } from "../types.js";
|
|
3
3
|
export type Resource_Job = ShellMaterializedBase & { nucleus: NucleusSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Auto-generated strict composite type. Do not edit.
|
|
2
|
-
import type { ShellMaterializedBase, RawStrategy as NucleusSchema } from
|
|
2
|
+
import type { ShellMaterializedBase, RawStrategy as NucleusSchema } from "../types.js";
|
|
3
3
|
export type Resource_RawStrategy = ShellMaterializedBase & { nucleus: NucleusSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Auto-generated strict composite type. Do not edit.
|
|
2
|
-
import type { ShellMaterializedBase, ResourceType as NucleusSchema } from
|
|
2
|
+
import type { ShellMaterializedBase, ResourceType as NucleusSchema } from "../types.js";
|
|
3
3
|
export type Resource_ResourceType = ShellMaterializedBase & { nucleus: NucleusSchema };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Auto-generated strict composite type. Do not edit.
|
|
2
|
-
import type { ShellMaterializedBase, RunnableStrategy as NucleusSchema } from
|
|
2
|
+
import type { ShellMaterializedBase, RunnableStrategy as NucleusSchema } from "../types.js";
|
|
3
3
|
export type Resource_RunnableStrategy = ShellMaterializedBase & { nucleus: NucleusSchema };
|