@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.
Files changed (57) hide show
  1. package/dist/generated/normalized/Genesis.json +16 -265
  2. package/dist/generated/resources/Genesis.json +18 -305
  3. package/dist/generated/schemas/Genesis.json +14 -152
  4. package/dist/generated/schemas/standalone/Goal.json +0 -33
  5. package/dist/generated/schemas/standalone/Job.json +0 -42
  6. package/dist/generated/schemas/standalone/RawStrategy.json +14 -52
  7. package/dist/generated/schemas/standalone/ResourceType.json +0 -34
  8. package/dist/generated/schemas/standalone/RunnableStrategy.json +14 -57
  9. package/dist/generated/schemas/standalone/StrategyRun.json +14 -71
  10. package/dist/generated/types/standalone/Resource_Genesis.d.ts +1 -1
  11. package/dist/generated/types/standalone/Resource_Job.d.ts +1 -1
  12. package/dist/generated/types/standalone/Resource_RawStrategy.d.ts +1 -1
  13. package/dist/generated/types/standalone/Resource_ResourceType.d.ts +1 -1
  14. package/dist/generated/types/standalone/Resource_RunnableStrategy.d.ts +1 -1
  15. package/dist/generated/types/types.d.ts +119 -1126
  16. package/dist/index.d.ts +1 -4
  17. package/dist/index.js +0 -2
  18. package/dist/scripts/_lib/config.d.ts +6 -6
  19. package/dist/scripts/_lib/config.js +10 -12
  20. package/dist/scripts/extractSchemasFromResourceTypeShells.js +109 -103
  21. package/dist/scripts/generateDependencies.js +15 -14
  22. package/dist/scripts/generateSchemaShims.js +77 -85
  23. package/dist/scripts/generateStandaloneSchema.js +47 -37
  24. package/dist/scripts/generateStandaloneType.js +85 -79
  25. package/dist/scripts/generateTypes.js +350 -470
  26. package/dist/scripts/normalizeAnchorsToPointers.d.ts +1 -1
  27. package/dist/scripts/normalizeAnchorsToPointers.js +61 -33
  28. package/dist/scripts/wrapResourceTypesWithResourceShells.js +14 -16
  29. package/package.json +7 -8
  30. package/src/Genesis.json +1837 -1999
  31. package/src/generated/{dependencyMap.json → dependencies/dependencyMap.json} +9 -19
  32. package/src/generated/normalized/Genesis.json +16 -265
  33. package/src/generated/resources/Genesis.json +18 -305
  34. package/src/generated/schemas/Genesis.json +14 -152
  35. package/src/generated/schemas/standalone/Goal.json +0 -33
  36. package/src/generated/schemas/standalone/Job.json +0 -42
  37. package/src/generated/schemas/standalone/RawStrategy.json +14 -52
  38. package/src/generated/schemas/standalone/ResourceType.json +0 -34
  39. package/src/generated/schemas/standalone/RunnableStrategy.json +14 -57
  40. package/src/generated/schemas/standalone/StrategyRun.json +14 -71
  41. package/src/generated/types/standalone/Resource_Genesis.d.ts +1 -1
  42. package/src/generated/types/standalone/Resource_Job.d.ts +1 -1
  43. package/src/generated/types/standalone/Resource_RawStrategy.d.ts +1 -1
  44. package/src/generated/types/standalone/Resource_ResourceType.d.ts +1 -1
  45. package/src/generated/types/standalone/Resource_RunnableStrategy.d.ts +1 -1
  46. package/src/generated/types/types.d.ts +119 -1126
  47. package/src/index.ts +66 -93
  48. package/src/scripts/_lib/config.ts +203 -205
  49. package/src/scripts/extractSchemasFromResourceTypeShells.ts +261 -218
  50. package/src/scripts/generateDependencies.ts +121 -120
  51. package/src/scripts/generateSchemaShims.ts +127 -135
  52. package/src/scripts/generateStandaloneSchema.ts +185 -175
  53. package/src/scripts/generateStandaloneType.ts +127 -119
  54. package/src/scripts/generateTypes.ts +532 -615
  55. package/src/scripts/normalizeAnchorsToPointers.ts +141 -123
  56. package/src/scripts/wrapResourceTypesWithResourceShells.ts +82 -84
  57. package/dist/generated/dependencyMap.json +0 -292
@@ -1,11 +1,9 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$comment": "This file defines all schemas used internally by ToolProof.",
4
- "$anchor": "Genesis",
5
4
  "$id": "https://schemas.toolproof.com/v2/Genesis.json",
6
5
  "$defs": {
7
6
  "Name": {
8
- "$anchor": "Name",
9
7
  "$schema": "https://json-schema.org/draft/2020-12/schema",
10
8
  "type": "string",
11
9
  "minLength": 1,
@@ -14,7 +12,6 @@
14
12
  "semanticValidation": "Ajv custom keyword to verify name."
15
13
  },
16
14
  "NameFacet": {
17
- "$anchor": "NameFacet",
18
15
  "$schema": "https://json-schema.org/draft/2020-12/schema",
19
16
  "type": "object",
20
17
  "required": [
@@ -27,7 +24,6 @@
27
24
  }
28
25
  },
29
26
  "Description": {
30
- "$anchor": "Description",
31
27
  "$schema": "https://json-schema.org/draft/2020-12/schema",
32
28
  "type": "string",
33
29
  "minLength": 1,
@@ -35,7 +31,6 @@
35
31
  "semanticValidation": "Ajv custom keyword to verify description."
36
32
  },
37
33
  "DescriptionFacet": {
38
- "$anchor": "DescriptionFacet",
39
34
  "$schema": "https://json-schema.org/draft/2020-12/schema",
40
35
  "type": "object",
41
36
  "required": [
@@ -48,7 +43,6 @@
48
43
  }
49
44
  },
50
45
  "DocumentationFacet": {
51
- "$anchor": "DocumentationFacet",
52
46
  "$schema": "https://json-schema.org/draft/2020-12/schema",
53
47
  "type": "object",
54
48
  "allOf": [
@@ -60,43 +54,17 @@
60
54
  }
61
55
  ]
62
56
  },
63
- "ResourceTypeImplementationKind": {
64
- "$anchor": "ResourceTypeImplementationKind",
65
- "$schema": "https://json-schema.org/draft/2020-12/schema",
66
- "type": "string",
67
- "enum": [
68
- "internal-without-identity",
69
- "internal-with-identity",
70
- "external"
71
- ]
72
- },
73
- "ResourceTypeImplementationKindFacet": {
74
- "$anchor": "ResourceTypeImplementationKindFacet",
75
- "$schema": "https://json-schema.org/draft/2020-12/schema",
76
- "type": "object",
77
- "required": [
78
- "resourceTypeImplementationKind"
79
- ],
80
- "properties": {
81
- "resourceTypeImplementationKind": {
82
- "$ref": "#/$defs/ResourceTypeImplementationKind"
83
- }
84
- }
85
- },
86
57
  "Uri": {
87
- "$anchor": "Uri",
88
58
  "$schema": "https://json-schema.org/draft/2020-12/schema",
89
59
  "type": "string",
90
60
  "format": "uri"
91
61
  },
92
62
  "ResourceTypeIdentity": {
93
- "$anchor": "ResourceTypeIdentity",
94
63
  "$schema": "https://json-schema.org/draft/2020-12/schema",
95
64
  "type": "string",
96
65
  "pattern": "^TYPE-.+$"
97
66
  },
98
67
  "ResourceType": {
99
- "$anchor": "ResourceType",
100
68
  "$schema": "https://json-schema.org/draft/2020-12/schema",
101
69
  "type": "object",
102
70
  "required": [
@@ -136,20 +104,15 @@
136
104
  "allOf": [
137
105
  {
138
106
  "$ref": "#/$defs/DocumentationFacet"
139
- },
140
- {
141
- "$ref": "#/$defs/ResourceTypeImplementationKindFacet"
142
107
  }
143
108
  ]
144
109
  },
145
110
  "ResourceRoleIdentity": {
146
- "$anchor": "ResourceRoleIdentity",
147
111
  "$schema": "https://json-schema.org/draft/2020-12/schema",
148
112
  "type": "string",
149
113
  "pattern": "^ROLE-.+$"
150
114
  },
151
115
  "ResourceRoleValue": {
152
- "$anchor": "ResourceRoleValue",
153
116
  "$schema": "https://json-schema.org/draft/2020-12/schema",
154
117
  "type": "object",
155
118
  "allOf": [
@@ -170,7 +133,6 @@
170
133
  ]
171
134
  },
172
135
  "RoleMap": {
173
- "$anchor": "RoleMap",
174
136
  "$schema": "https://json-schema.org/draft/2020-12/schema",
175
137
  "type": "object",
176
138
  "propertyNames": {
@@ -181,7 +143,6 @@
181
143
  }
182
144
  },
183
145
  "Error": {
184
- "$anchor": "Error",
185
146
  "$schema": "https://json-schema.org/draft/2020-12/schema",
186
147
  "type": "object",
187
148
  "allOf": [
@@ -199,7 +160,6 @@
199
160
  "unevaluatedProperties": false
200
161
  },
201
162
  "Roles": {
202
- "$anchor": "Roles",
203
163
  "$schema": "https://json-schema.org/draft/2020-12/schema",
204
164
  "type": "object",
205
165
  "required": [
@@ -254,7 +214,6 @@
254
214
  "unevaluatedProperties": false
255
215
  },
256
216
  "RolesFacet": {
257
- "$anchor": "RolesFacet",
258
217
  "$schema": "https://json-schema.org/draft/2020-12/schema",
259
218
  "type": "object",
260
219
  "required": [
@@ -266,39 +225,12 @@
266
225
  }
267
226
  }
268
227
  },
269
- "Domain": {
270
- "$anchor": "Domain",
271
- "$schema": "https://json-schema.org/draft/2020-12/schema",
272
- "type": "string",
273
- "enum": [
274
- "internal",
275
- "numerical",
276
- "biological",
277
- "logical",
278
- "augmental"
279
- ]
280
- },
281
- "DomainFacet": {
282
- "$anchor": "DomainFacet",
283
- "$schema": "https://json-schema.org/draft/2020-12/schema",
284
- "type": "object",
285
- "required": [
286
- "domain"
287
- ],
288
- "properties": {
289
- "domain": {
290
- "$ref": "#/$defs/Domain"
291
- }
292
- }
293
- },
294
228
  "JobIdentity": {
295
- "$anchor": "JobIdentity",
296
229
  "$schema": "https://json-schema.org/draft/2020-12/schema",
297
230
  "type": "string",
298
231
  "pattern": "^JOB-.+$"
299
232
  },
300
233
  "Job": {
301
- "$anchor": "Job",
302
234
  "$schema": "https://json-schema.org/draft/2020-12/schema",
303
235
  "type": "object",
304
236
  "required": [
@@ -317,9 +249,6 @@
317
249
  {
318
250
  "$ref": "#/$defs/DocumentationFacet"
319
251
  },
320
- {
321
- "$ref": "#/$defs/DomainFacet"
322
- },
323
252
  {
324
253
  "$ref": "#/$defs/RolesFacet"
325
254
  }
@@ -327,7 +256,6 @@
327
256
  "unevaluatedProperties": false
328
257
  },
329
258
  "RoleBindingArray": {
330
- "$anchor": "RoleBindingArray",
331
259
  "$schema": "https://json-schema.org/draft/2020-12/schema",
332
260
  "type": "array",
333
261
  "items": {
@@ -335,7 +263,6 @@
335
263
  }
336
264
  },
337
265
  "RoleBindings": {
338
- "$anchor": "RoleBindings",
339
266
  "$schema": "https://json-schema.org/draft/2020-12/schema",
340
267
  "type": "object",
341
268
  "required": [
@@ -352,7 +279,6 @@
352
279
  }
353
280
  },
354
281
  "RoleBindingsFacet": {
355
- "$anchor": "RoleBindingsFacet",
356
282
  "$schema": "https://json-schema.org/draft/2020-12/schema",
357
283
  "type": "object",
358
284
  "required": [
@@ -365,7 +291,6 @@
365
291
  }
366
292
  },
367
293
  "StepKind": {
368
- "$anchor": "StepKind",
369
294
  "$schema": "https://json-schema.org/draft/2020-12/schema",
370
295
  "type": "string",
371
296
  "enum": [
@@ -376,7 +301,6 @@
376
301
  ]
377
302
  },
378
303
  "StepKindFacet": {
379
- "$anchor": "StepKindFacet",
380
304
  "$schema": "https://json-schema.org/draft/2020-12/schema",
381
305
  "type": "object",
382
306
  "required": [
@@ -389,17 +313,16 @@
389
313
  }
390
314
  },
391
315
  "JobStepIdentity": {
392
- "$anchor": "JobStepIdentity",
393
316
  "$schema": "https://json-schema.org/draft/2020-12/schema",
394
317
  "type": "string",
395
318
  "pattern": "^JOB_STEP-.+$"
396
319
  },
397
320
  "JobStep": {
398
- "$anchor": "JobStep",
399
321
  "$schema": "https://json-schema.org/draft/2020-12/schema",
400
322
  "type": "object",
401
323
  "required": [
402
324
  "identity",
325
+ "stepKind",
403
326
  "jobHandle"
404
327
  ],
405
328
  "properties": {
@@ -424,7 +347,6 @@
424
347
  ]
425
348
  },
426
349
  "Conditional": {
427
- "$anchor": "Conditional",
428
350
  "$schema": "https://json-schema.org/draft/2020-12/schema",
429
351
  "type": "object",
430
352
  "required": [
@@ -442,17 +364,16 @@
442
364
  "unevaluatedProperties": false
443
365
  },
444
366
  "BranchStepIdentity": {
445
- "$anchor": "BranchStepIdentity",
446
367
  "$schema": "https://json-schema.org/draft/2020-12/schema",
447
368
  "type": "string",
448
369
  "pattern": "^BRANCH_STEP-.+$"
449
370
  },
450
371
  "BranchStep": {
451
- "$anchor": "BranchStep",
452
372
  "$schema": "https://json-schema.org/draft/2020-12/schema",
453
373
  "type": "object",
454
374
  "required": [
455
375
  "identity",
376
+ "stepKind",
456
377
  "cases"
457
378
  ],
458
379
  "properties": {
@@ -478,17 +399,16 @@
478
399
  ]
479
400
  },
480
401
  "WhileStepIdentity": {
481
- "$anchor": "WhileStepIdentity",
482
402
  "$schema": "https://json-schema.org/draft/2020-12/schema",
483
403
  "type": "string",
484
404
  "pattern": "^WHILE_STEP-.+$"
485
405
  },
486
406
  "WhileStep": {
487
- "$anchor": "WhileStep",
488
407
  "$schema": "https://json-schema.org/draft/2020-12/schema",
489
408
  "type": "object",
490
409
  "required": [
491
410
  "identity",
411
+ "stepKind",
492
412
  "case"
493
413
  ],
494
414
  "properties": {
@@ -509,17 +429,16 @@
509
429
  ]
510
430
  },
511
431
  "ForStepIdentity": {
512
- "$anchor": "ForStepIdentity",
513
432
  "$schema": "https://json-schema.org/draft/2020-12/schema",
514
433
  "type": "string",
515
434
  "pattern": "^FOR_STEP-.+$"
516
435
  },
517
436
  "ForStep": {
518
- "$anchor": "ForStep",
519
437
  "$schema": "https://json-schema.org/draft/2020-12/schema",
520
438
  "type": "object",
521
439
  "required": [
522
440
  "identity",
441
+ "stepKind",
523
442
  "case"
524
443
  ],
525
444
  "properties": {
@@ -540,7 +459,6 @@
540
459
  ]
541
460
  },
542
461
  "StepIdentity": {
543
- "$anchor": "StepIdentity",
544
462
  "$schema": "https://json-schema.org/draft/2020-12/schema",
545
463
  "type": "object",
546
464
  "oneOf": [
@@ -559,7 +477,6 @@
559
477
  ]
560
478
  },
561
479
  "Step": {
562
- "$anchor": "Step",
563
480
  "$schema": "https://json-schema.org/draft/2020-12/schema",
564
481
  "type": "object",
565
482
  "oneOf": [
@@ -579,7 +496,6 @@
579
496
  "unevaluatedProperties": false
580
497
  },
581
498
  "CreationContext": {
582
- "$anchor": "CreationContext",
583
499
  "$schema": "https://json-schema.org/draft/2020-12/schema",
584
500
  "type": "object",
585
501
  "required": [
@@ -596,7 +512,6 @@
596
512
  }
597
513
  },
598
514
  "CreationContextFacet": {
599
- "$anchor": "CreationContextFacet",
600
515
  "$schema": "https://json-schema.org/draft/2020-12/schema",
601
516
  "type": "object",
602
517
  "required": [
@@ -609,18 +524,17 @@
609
524
  }
610
525
  },
611
526
  "ResourceIdentity": {
612
- "$anchor": "ResourceIdentity",
613
527
  "$schema": "https://json-schema.org/draft/2020-12/schema",
614
528
  "type": "string",
615
529
  "pattern": "^RESOURCE-.+$"
616
530
  },
617
- "ResourceBase": {
618
- "$anchor": "ResourceBase",
531
+ "ResourceShellBase": {
619
532
  "$schema": "https://json-schema.org/draft/2020-12/schema",
620
533
  "type": "object",
621
534
  "required": [
622
535
  "identity",
623
- "resourceTypeHandle"
536
+ "resourceTypeHandle",
537
+ "resourceKind"
624
538
  ],
625
539
  "properties": {
626
540
  "identity": {
@@ -628,11 +542,13 @@
628
542
  },
629
543
  "resourceTypeHandle": {
630
544
  "$ref": "#/$defs/ResourceTypeIdentity"
545
+ },
546
+ "resourceKind": {
547
+ "$ref": "#/$defs/ResourceKind"
631
548
  }
632
549
  }
633
550
  },
634
551
  "ResourceKind": {
635
- "$anchor": "ResourceKind",
636
552
  "$schema": "https://json-schema.org/draft/2020-12/schema",
637
553
  "type": "string",
638
554
  "enum": [
@@ -643,7 +559,6 @@
643
559
  ]
644
560
  },
645
561
  "ResourceKindFacet": {
646
- "$anchor": "ResourceKindFacet",
647
562
  "$schema": "https://json-schema.org/draft/2020-12/schema",
648
563
  "type": "object",
649
564
  "required": [
@@ -656,7 +571,6 @@
656
571
  }
657
572
  },
658
573
  "ShellMissing": {
659
- "$anchor": "ShellMissing",
660
574
  "$schema": "https://json-schema.org/draft/2020-12/schema",
661
575
  "type": "object",
662
576
  "properties": {
@@ -666,7 +580,7 @@
666
580
  },
667
581
  "allOf": [
668
582
  {
669
- "$ref": "#/$defs/ResourceBase"
583
+ "$ref": "#/$defs/ResourceShellBase"
670
584
  },
671
585
  {
672
586
  "$ref": "#/$defs/ResourceKindFacet"
@@ -675,7 +589,6 @@
675
589
  "unevaluatedProperties": false
676
590
  },
677
591
  "ShellInputPotential": {
678
- "$anchor": "ShellInputPotential",
679
592
  "$schema": "https://json-schema.org/draft/2020-12/schema",
680
593
  "type": "object",
681
594
  "properties": {
@@ -685,7 +598,7 @@
685
598
  },
686
599
  "allOf": [
687
600
  {
688
- "$ref": "#/$defs/ResourceBase"
601
+ "$ref": "#/$defs/ResourceShellBase"
689
602
  },
690
603
  {
691
604
  "$ref": "#/$defs/CreationContextFacet"
@@ -697,7 +610,6 @@
697
610
  "unevaluatedProperties": false
698
611
  },
699
612
  "ShellOutputPotential": {
700
- "$anchor": "ShellOutputPotential",
701
613
  "$schema": "https://json-schema.org/draft/2020-12/schema",
702
614
  "type": "object",
703
615
  "properties": {
@@ -707,7 +619,7 @@
707
619
  },
708
620
  "allOf": [
709
621
  {
710
- "$ref": "#/$defs/ResourceBase"
622
+ "$ref": "#/$defs/ResourceShellBase"
711
623
  },
712
624
  {
713
625
  "$ref": "#/$defs/CreationContextFacet"
@@ -719,13 +631,11 @@
719
631
  "unevaluatedProperties": false
720
632
  },
721
633
  "Timestamp": {
722
- "$anchor": "Timestamp",
723
634
  "$schema": "https://json-schema.org/draft/2020-12/schema",
724
635
  "type": "string",
725
636
  "format": "date-time"
726
637
  },
727
638
  "TimestampFacet": {
728
- "$anchor": "TimestampFacet",
729
639
  "$schema": "https://json-schema.org/draft/2020-12/schema",
730
640
  "type": "object",
731
641
  "required": [
@@ -738,13 +648,11 @@
738
648
  }
739
649
  },
740
650
  "Path": {
741
- "$anchor": "Path",
742
651
  "$schema": "https://json-schema.org/draft/2020-12/schema",
743
652
  "type": "string",
744
653
  "format": "uri-reference"
745
654
  },
746
655
  "PathFacet": {
747
- "$anchor": "PathFacet",
748
656
  "$schema": "https://json-schema.org/draft/2020-12/schema",
749
657
  "type": "object",
750
658
  "required": [
@@ -757,7 +665,6 @@
757
665
  }
758
666
  },
759
667
  "ShellMaterializedBase": {
760
- "$anchor": "ShellMaterializedBase",
761
668
  "$schema": "https://json-schema.org/draft/2020-12/schema",
762
669
  "type": "object",
763
670
  "required": [
@@ -773,7 +680,7 @@
773
680
  },
774
681
  "allOf": [
775
682
  {
776
- "$ref": "#/$defs/ResourceBase"
683
+ "$ref": "#/$defs/ResourceShellBase"
777
684
  },
778
685
  {
779
686
  "$ref": "#/$defs/CreationContextFacet"
@@ -790,35 +697,30 @@
790
697
  ]
791
698
  },
792
699
  "ShellMaterialized": {
793
- "$anchor": "ShellMaterialized",
794
700
  "$schema": "https://json-schema.org/draft/2020-12/schema",
795
701
  "type": "object",
796
702
  "$ref": "#/$defs/ShellMaterializedBase",
797
703
  "unevaluatedProperties": false
798
704
  },
799
705
  "ResourceMissing": {
800
- "$anchor": "ResourceMissing",
801
706
  "$schema": "https://json-schema.org/draft/2020-12/schema",
802
707
  "type": "object",
803
708
  "$ref": "#/$defs/ShellMissing",
804
709
  "unevaluatedProperties": false
805
710
  },
806
711
  "ResourceInputPotential": {
807
- "$anchor": "ResourceInputPotential",
808
712
  "$schema": "https://json-schema.org/draft/2020-12/schema",
809
713
  "type": "object",
810
714
  "$ref": "#/$defs/ShellInputPotential",
811
715
  "unevaluatedProperties": false
812
716
  },
813
717
  "ResourceOutputPotential": {
814
- "$anchor": "ResourceOutputPotential",
815
718
  "$schema": "https://json-schema.org/draft/2020-12/schema",
816
719
  "type": "object",
817
720
  "$ref": "#/$defs/ShellOutputPotential",
818
721
  "unevaluatedProperties": false
819
722
  },
820
723
  "JsonData": {
821
- "$anchor": "JsonData",
822
724
  "$schema": "https://json-schema.org/draft/2020-12/schema",
823
725
  "oneOf": [
824
726
  {
@@ -848,7 +750,6 @@
848
750
  ]
849
751
  },
850
752
  "Nucleus": {
851
- "$anchor": "Nucleus",
852
753
  "$schema": "https://json-schema.org/draft/2020-12/schema",
853
754
  "type": "object",
854
755
  "additionalProperties": {
@@ -856,7 +757,6 @@
856
757
  }
857
758
  },
858
759
  "NucleusFacet": {
859
- "$anchor": "NucleusFacet",
860
760
  "$schema": "https://json-schema.org/draft/2020-12/schema",
861
761
  "type": "object",
862
762
  "required": [
@@ -869,7 +769,6 @@
869
769
  }
870
770
  },
871
771
  "ResourceMaterialized": {
872
- "$anchor": "ResourceMaterialized",
873
772
  "$schema": "https://json-schema.org/draft/2020-12/schema",
874
773
  "type": "object",
875
774
  "allOf": [
@@ -884,7 +783,6 @@
884
783
  "unevaluatedProperties": false
885
784
  },
886
785
  "Resource": {
887
- "$anchor": "Resource",
888
786
  "$schema": "https://json-schema.org/draft/2020-12/schema",
889
787
  "type": "object",
890
788
  "oneOf": [
@@ -904,7 +802,6 @@
904
802
  "unevaluatedProperties": false
905
803
  },
906
804
  "JobStepSocket": {
907
- "$anchor": "JobStepSocket",
908
805
  "$schema": "https://json-schema.org/draft/2020-12/schema",
909
806
  "type": "object",
910
807
  "propertyNames": {
@@ -915,7 +812,6 @@
915
812
  }
916
813
  },
917
814
  "StrategyState": {
918
- "$anchor": "StrategyState",
919
815
  "$schema": "https://json-schema.org/draft/2020-12/schema",
920
816
  "type": "object",
921
817
  "propertyNames": {
@@ -926,7 +822,6 @@
926
822
  }
927
823
  },
928
824
  "StrategyStateFacet": {
929
- "$anchor": "StrategyStateFacet",
930
825
  "$schema": "https://json-schema.org/draft/2020-12/schema",
931
826
  "type": "object",
932
827
  "required": [
@@ -939,7 +834,6 @@
939
834
  }
940
835
  },
941
836
  "StepArray": {
942
- "$anchor": "StepArray",
943
837
  "$schema": "https://json-schema.org/draft/2020-12/schema",
944
838
  "type": "array",
945
839
  "items": {
@@ -948,7 +842,6 @@
948
842
  "uniqueItems": true
949
843
  },
950
844
  "StepsFacet": {
951
- "$anchor": "StepsFacet",
952
845
  "$schema": "https://json-schema.org/draft/2020-12/schema",
953
846
  "type": "object",
954
847
  "required": [
@@ -961,7 +854,6 @@
961
854
  }
962
855
  },
963
856
  "RawStrategy": {
964
- "$anchor": "RawStrategy",
965
857
  "$schema": "https://json-schema.org/draft/2020-12/schema",
966
858
  "type": "object",
967
859
  "allOf": [
@@ -975,13 +867,11 @@
975
867
  "unevaluatedProperties": false
976
868
  },
977
869
  "RunnableStrategyIdentity": {
978
- "$anchor": "RunnableStrategyIdentity",
979
870
  "$schema": "https://json-schema.org/draft/2020-12/schema",
980
871
  "type": "string",
981
872
  "pattern": "^RUNNABLE_STRATEGY-.+$"
982
873
  },
983
874
  "RunnableStrategyStatus": {
984
- "$anchor": "RunnableStrategyStatus",
985
875
  "$schema": "https://json-schema.org/draft/2020-12/schema",
986
876
  "type": "string",
987
877
  "enum": [
@@ -993,7 +883,6 @@
993
883
  ]
994
884
  },
995
885
  "RunnableStrategyContext": {
996
- "$anchor": "RunnableStrategyContext",
997
886
  "$schema": "https://json-schema.org/draft/2020-12/schema",
998
887
  "type": "object",
999
888
  "required": [
@@ -1013,13 +902,11 @@
1013
902
  "unevaluatedProperties": false
1014
903
  },
1015
904
  "StrategyThreadIdentity": {
1016
- "$anchor": "StrategyThreadIdentity",
1017
905
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1018
906
  "type": "string",
1019
907
  "pattern": "^STRATEGY_THREAD-.+$"
1020
908
  },
1021
909
  "StrategyThreadMap": {
1022
- "$anchor": "StrategyThreadMap",
1023
910
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1024
911
  "type": "object",
1025
912
  "propertyNames": {
@@ -1031,7 +918,6 @@
1031
918
  "$comment": "Each thread contains an array of steps, allowing for sequential execution within a thread while supporting parallel execution across multiple threads."
1032
919
  },
1033
920
  "StrategyThreadMapFacet": {
1034
- "$anchor": "StrategyThreadMapFacet",
1035
921
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1036
922
  "type": "object",
1037
923
  "required": [
@@ -1044,7 +930,6 @@
1044
930
  }
1045
931
  },
1046
932
  "RunnableStrategy": {
1047
- "$anchor": "RunnableStrategy",
1048
933
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1049
934
  "type": "object",
1050
935
  "required": [
@@ -1072,7 +957,6 @@
1072
957
  "unevaluatedProperties": false
1073
958
  },
1074
959
  "StrategyStateDelta": {
1075
- "$anchor": "StrategyStateDelta",
1076
960
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1077
961
  "type": "object",
1078
962
  "required": [
@@ -1085,7 +969,6 @@
1085
969
  }
1086
970
  },
1087
971
  "RunnableStrategyUpdate": {
1088
- "$anchor": "RunnableStrategyUpdate",
1089
972
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1090
973
  "type": "object",
1091
974
  "required": [
@@ -1108,7 +991,6 @@
1108
991
  "unevaluatedProperties": false
1109
992
  },
1110
993
  "RunEventCounters": {
1111
- "$anchor": "RunEventCounters",
1112
994
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1113
995
  "type": "object",
1114
996
  "properties": {
@@ -1121,7 +1003,6 @@
1121
1003
  }
1122
1004
  },
1123
1005
  "RunEventStepMetadata": {
1124
- "$anchor": "RunEventStepMetadata",
1125
1006
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1126
1007
  "type": "object",
1127
1008
  "required": [
@@ -1142,7 +1023,6 @@
1142
1023
  }
1143
1024
  },
1144
1025
  "RunEventUpdates": {
1145
- "$anchor": "RunEventUpdates",
1146
1026
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1147
1027
  "type": "object",
1148
1028
  "properties": {
@@ -1176,7 +1056,6 @@
1176
1056
  ]
1177
1057
  },
1178
1058
  "RunEventKind": {
1179
- "$anchor": "RunEventKind",
1180
1059
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1181
1060
  "type": "string",
1182
1061
  "enum": [
@@ -1187,7 +1066,6 @@
1187
1066
  ]
1188
1067
  },
1189
1068
  "RunEventBase": {
1190
- "$anchor": "RunEventBase",
1191
1069
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1192
1070
  "type": "object",
1193
1071
  "required": [
@@ -1229,7 +1107,6 @@
1229
1107
  }
1230
1108
  },
1231
1109
  "GraphStartRunEvent": {
1232
- "$anchor": "GraphStartRunEvent",
1233
1110
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1234
1111
  "allOf": [
1235
1112
  {
@@ -1252,7 +1129,6 @@
1252
1129
  ]
1253
1130
  },
1254
1131
  "TickRunEvent": {
1255
- "$anchor": "TickRunEvent",
1256
1132
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1257
1133
  "allOf": [
1258
1134
  {
@@ -1269,7 +1145,6 @@
1269
1145
  ]
1270
1146
  },
1271
1147
  "InterruptRunEvent": {
1272
- "$anchor": "InterruptRunEvent",
1273
1148
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1274
1149
  "allOf": [
1275
1150
  {
@@ -1286,7 +1161,6 @@
1286
1161
  ]
1287
1162
  },
1288
1163
  "GraphEndRunEvent": {
1289
- "$anchor": "GraphEndRunEvent",
1290
1164
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1291
1165
  "allOf": [
1292
1166
  {
@@ -1303,7 +1177,6 @@
1303
1177
  ]
1304
1178
  },
1305
1179
  "RunEvent": {
1306
- "$anchor": "RunEvent",
1307
1180
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1308
1181
  "type": "object",
1309
1182
  "oneOf": [
@@ -1322,13 +1195,11 @@
1322
1195
  ]
1323
1196
  },
1324
1197
  "StrategyRunIdentity": {
1325
- "$anchor": "StrategyRunIdentity",
1326
1198
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1327
1199
  "type": "string",
1328
1200
  "pattern": "^STRATEGY_RUN-.+$"
1329
1201
  },
1330
1202
  "StrategyRun": {
1331
- "$anchor": "StrategyRun",
1332
1203
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1333
1204
  "type": "object",
1334
1205
  "required": [
@@ -1358,13 +1229,11 @@
1358
1229
  "unevaluatedProperties": false
1359
1230
  },
1360
1231
  "GoalIdentity": {
1361
- "$anchor": "GoalIdentity",
1362
1232
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1363
1233
  "type": "string",
1364
1234
  "pattern": "^GOAL-.+$"
1365
1235
  },
1366
1236
  "Goal": {
1367
- "$anchor": "Goal",
1368
1237
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1369
1238
  "type": "object",
1370
1239
  "required": [
@@ -1403,15 +1272,9 @@
1403
1272
  "minimum": 1
1404
1273
  }
1405
1274
  },
1406
- "allOf": [
1407
- {
1408
- "$ref": "#/$defs/DomainFacet"
1409
- }
1410
- ],
1411
1275
  "unevaluatedProperties": false
1412
1276
  },
1413
1277
  "Natural": {
1414
- "$anchor": "Natural",
1415
1278
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1416
1279
  "type": "object",
1417
1280
  "required": [
@@ -1430,7 +1293,6 @@
1430
1293
  "additionalProperties": false
1431
1294
  },
1432
1295
  "Boolean": {
1433
- "$anchor": "Boolean",
1434
1296
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1435
1297
  "type": "object",
1436
1298
  "required": [