@toolproof-core/schema 1.0.4 → 1.0.6

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 (74) hide show
  1. package/dist/generated/constants/constants.d.ts +60 -0
  2. package/dist/generated/constants/constants.js +60 -0
  3. package/dist/generated/normalized/Genesis.json +0 -261
  4. package/dist/generated/resources/Genesis.json +0 -299
  5. package/dist/generated/schemas/Genesis.json +0 -150
  6. package/dist/generated/schemas/standalone/Goal.json +0 -33
  7. package/dist/generated/schemas/standalone/Job.json +0 -42
  8. package/dist/generated/schemas/standalone/RawStrategy.json +0 -46
  9. package/dist/generated/schemas/standalone/ResourceType.json +0 -34
  10. package/dist/generated/schemas/standalone/RunnableStrategy.json +0 -51
  11. package/dist/generated/schemas/standalone/StrategyRun.json +0 -65
  12. package/dist/generated/{typesTS → types}/standalone/Resource_Genesis.d.ts +1 -1
  13. package/{src/generated/typesTS → dist/generated/types}/standalone/Resource_Job.d.ts +1 -1
  14. package/{src/generated/typesTS → dist/generated/types}/standalone/Resource_RawStrategy.d.ts +1 -1
  15. package/{src/generated/typesTS → dist/generated/types}/standalone/Resource_ResourceType.d.ts +1 -1
  16. package/dist/generated/{typesTS → types}/standalone/Resource_RunnableStrategy.d.ts +1 -1
  17. package/dist/generated/{typesTS/typesTS.d.ts → types/types.d.ts} +13 -49
  18. package/dist/index.d.ts +7 -6
  19. package/dist/index.js +1 -0
  20. package/dist/scripts/_lib/config.d.ts +15 -12
  21. package/dist/scripts/_lib/config.js +34 -27
  22. package/dist/scripts/generateConstants.d.ts +12 -0
  23. package/dist/scripts/generateConstants.js +179 -0
  24. package/dist/scripts/generateSchemaShims.js +2 -2
  25. package/dist/scripts/generateStandaloneSchema.js +1 -1
  26. package/dist/scripts/{generateStandaloneTypeTS.js → generateStandaloneType.js} +9 -9
  27. package/dist/scripts/generateTerminals.js +58 -0
  28. package/dist/scripts/generateTypes.d.ts +1 -0
  29. package/dist/scripts/{generateTypesTS.js → generateTypes.js} +11 -11
  30. package/dist/scripts/normalizeAnchorsToPointers.d.ts +1 -1
  31. package/dist/scripts/normalizeAnchorsToPointers.js +33 -12
  32. package/package.json +7 -5
  33. package/src/Genesis.json +0 -174
  34. package/src/generated/constants/constants.ts +61 -0
  35. package/src/generated/dependencies/dependencyMap.json +2 -14
  36. package/src/generated/dependencies/terminals.json +12 -0
  37. package/src/generated/normalized/Genesis.json +0 -261
  38. package/src/generated/resources/Genesis.json +0 -299
  39. package/src/generated/schemas/Genesis.json +0 -150
  40. package/src/generated/schemas/standalone/Goal.json +0 -33
  41. package/src/generated/schemas/standalone/Job.json +0 -42
  42. package/src/generated/schemas/standalone/RawStrategy.json +0 -46
  43. package/src/generated/schemas/standalone/ResourceType.json +0 -34
  44. package/src/generated/schemas/standalone/RunnableStrategy.json +0 -51
  45. package/src/generated/schemas/standalone/StrategyRun.json +0 -65
  46. package/src/generated/{typesTS → types}/standalone/Resource_Genesis.d.ts +1 -1
  47. package/{dist/generated/typesTS → src/generated/types}/standalone/Resource_Job.d.ts +1 -1
  48. package/{dist/generated/typesTS → src/generated/types}/standalone/Resource_RawStrategy.d.ts +1 -1
  49. package/{dist/generated/typesTS → src/generated/types}/standalone/Resource_ResourceType.d.ts +1 -1
  50. package/src/generated/{typesTS → types}/standalone/Resource_RunnableStrategy.d.ts +1 -1
  51. package/src/generated/{typesTS/typesTS.d.ts → types/types.d.ts} +13 -49
  52. package/src/index.ts +9 -7
  53. package/src/scripts/_lib/config.ts +39 -29
  54. package/src/scripts/generateConstants.ts +217 -0
  55. package/src/scripts/generateSchemaShims.ts +2 -2
  56. package/src/scripts/generateStandaloneSchema.ts +1 -1
  57. package/src/scripts/{generateStandaloneTypeTS.ts → generateStandaloneType.ts} +9 -9
  58. package/src/scripts/generateTerminals.ts +73 -0
  59. package/src/scripts/{generateTypesTS.ts → generateTypes.ts} +11 -11
  60. package/src/scripts/normalizeAnchorsToPointers.ts +38 -12
  61. /package/dist/generated/{typesTS → types}/standalone/Resource_Genesis.js +0 -0
  62. /package/dist/generated/{typesTS → types}/standalone/Resource_Job.js +0 -0
  63. /package/dist/generated/{typesTS → types}/standalone/Resource_RawStrategy.js +0 -0
  64. /package/dist/generated/{typesTS → types}/standalone/Resource_ResourceType.js +0 -0
  65. /package/dist/generated/{typesTS → types}/standalone/Resource_RunnableStrategy.js +0 -0
  66. /package/dist/generated/{typesTS/typesTS.js → types/types.js} +0 -0
  67. /package/dist/scripts/{generateStandaloneTypeTS.d.ts → generateStandaloneType.d.ts} +0 -0
  68. /package/dist/scripts/{generateTypesTS.d.ts → generateTerminals.d.ts} +0 -0
  69. /package/src/generated/{typesTS → types}/standalone/Resource_Genesis.js +0 -0
  70. /package/src/generated/{typesTS → types}/standalone/Resource_Job.js +0 -0
  71. /package/src/generated/{typesTS → types}/standalone/Resource_RawStrategy.js +0 -0
  72. /package/src/generated/{typesTS → types}/standalone/Resource_ResourceType.js +0 -0
  73. /package/src/generated/{typesTS → types}/standalone/Resource_RunnableStrategy.js +0 -0
  74. /package/src/generated/{typesTS/typesTS.js → types/types.js} +0 -0
@@ -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,13 +313,11 @@
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": [
@@ -425,7 +347,6 @@
425
347
  ]
426
348
  },
427
349
  "Conditional": {
428
- "$anchor": "Conditional",
429
350
  "$schema": "https://json-schema.org/draft/2020-12/schema",
430
351
  "type": "object",
431
352
  "required": [
@@ -443,13 +364,11 @@
443
364
  "unevaluatedProperties": false
444
365
  },
445
366
  "BranchStepIdentity": {
446
- "$anchor": "BranchStepIdentity",
447
367
  "$schema": "https://json-schema.org/draft/2020-12/schema",
448
368
  "type": "string",
449
369
  "pattern": "^BRANCH_STEP-.+$"
450
370
  },
451
371
  "BranchStep": {
452
- "$anchor": "BranchStep",
453
372
  "$schema": "https://json-schema.org/draft/2020-12/schema",
454
373
  "type": "object",
455
374
  "required": [
@@ -480,13 +399,11 @@
480
399
  ]
481
400
  },
482
401
  "WhileStepIdentity": {
483
- "$anchor": "WhileStepIdentity",
484
402
  "$schema": "https://json-schema.org/draft/2020-12/schema",
485
403
  "type": "string",
486
404
  "pattern": "^WHILE_STEP-.+$"
487
405
  },
488
406
  "WhileStep": {
489
- "$anchor": "WhileStep",
490
407
  "$schema": "https://json-schema.org/draft/2020-12/schema",
491
408
  "type": "object",
492
409
  "required": [
@@ -512,13 +429,11 @@
512
429
  ]
513
430
  },
514
431
  "ForStepIdentity": {
515
- "$anchor": "ForStepIdentity",
516
432
  "$schema": "https://json-schema.org/draft/2020-12/schema",
517
433
  "type": "string",
518
434
  "pattern": "^FOR_STEP-.+$"
519
435
  },
520
436
  "ForStep": {
521
- "$anchor": "ForStep",
522
437
  "$schema": "https://json-schema.org/draft/2020-12/schema",
523
438
  "type": "object",
524
439
  "required": [
@@ -544,7 +459,6 @@
544
459
  ]
545
460
  },
546
461
  "StepIdentity": {
547
- "$anchor": "StepIdentity",
548
462
  "$schema": "https://json-schema.org/draft/2020-12/schema",
549
463
  "type": "object",
550
464
  "oneOf": [
@@ -563,7 +477,6 @@
563
477
  ]
564
478
  },
565
479
  "Step": {
566
- "$anchor": "Step",
567
480
  "$schema": "https://json-schema.org/draft/2020-12/schema",
568
481
  "type": "object",
569
482
  "oneOf": [
@@ -583,7 +496,6 @@
583
496
  "unevaluatedProperties": false
584
497
  },
585
498
  "CreationContext": {
586
- "$anchor": "CreationContext",
587
499
  "$schema": "https://json-schema.org/draft/2020-12/schema",
588
500
  "type": "object",
589
501
  "required": [
@@ -600,7 +512,6 @@
600
512
  }
601
513
  },
602
514
  "CreationContextFacet": {
603
- "$anchor": "CreationContextFacet",
604
515
  "$schema": "https://json-schema.org/draft/2020-12/schema",
605
516
  "type": "object",
606
517
  "required": [
@@ -613,13 +524,11 @@
613
524
  }
614
525
  },
615
526
  "ResourceIdentity": {
616
- "$anchor": "ResourceIdentity",
617
527
  "$schema": "https://json-schema.org/draft/2020-12/schema",
618
528
  "type": "string",
619
529
  "pattern": "^RESOURCE-.+$"
620
530
  },
621
531
  "ResourceShellBase": {
622
- "$anchor": "ResourceShellBase",
623
532
  "$schema": "https://json-schema.org/draft/2020-12/schema",
624
533
  "type": "object",
625
534
  "required": [
@@ -640,7 +549,6 @@
640
549
  }
641
550
  },
642
551
  "ResourceKind": {
643
- "$anchor": "ResourceKind",
644
552
  "$schema": "https://json-schema.org/draft/2020-12/schema",
645
553
  "type": "string",
646
554
  "enum": [
@@ -651,7 +559,6 @@
651
559
  ]
652
560
  },
653
561
  "ResourceKindFacet": {
654
- "$anchor": "ResourceKindFacet",
655
562
  "$schema": "https://json-schema.org/draft/2020-12/schema",
656
563
  "type": "object",
657
564
  "required": [
@@ -664,7 +571,6 @@
664
571
  }
665
572
  },
666
573
  "ShellMissing": {
667
- "$anchor": "ShellMissing",
668
574
  "$schema": "https://json-schema.org/draft/2020-12/schema",
669
575
  "type": "object",
670
576
  "properties": {
@@ -683,7 +589,6 @@
683
589
  "unevaluatedProperties": false
684
590
  },
685
591
  "ShellInputPotential": {
686
- "$anchor": "ShellInputPotential",
687
592
  "$schema": "https://json-schema.org/draft/2020-12/schema",
688
593
  "type": "object",
689
594
  "properties": {
@@ -705,7 +610,6 @@
705
610
  "unevaluatedProperties": false
706
611
  },
707
612
  "ShellOutputPotential": {
708
- "$anchor": "ShellOutputPotential",
709
613
  "$schema": "https://json-schema.org/draft/2020-12/schema",
710
614
  "type": "object",
711
615
  "properties": {
@@ -727,13 +631,11 @@
727
631
  "unevaluatedProperties": false
728
632
  },
729
633
  "Timestamp": {
730
- "$anchor": "Timestamp",
731
634
  "$schema": "https://json-schema.org/draft/2020-12/schema",
732
635
  "type": "string",
733
636
  "format": "date-time"
734
637
  },
735
638
  "TimestampFacet": {
736
- "$anchor": "TimestampFacet",
737
639
  "$schema": "https://json-schema.org/draft/2020-12/schema",
738
640
  "type": "object",
739
641
  "required": [
@@ -746,13 +648,11 @@
746
648
  }
747
649
  },
748
650
  "Path": {
749
- "$anchor": "Path",
750
651
  "$schema": "https://json-schema.org/draft/2020-12/schema",
751
652
  "type": "string",
752
653
  "format": "uri-reference"
753
654
  },
754
655
  "PathFacet": {
755
- "$anchor": "PathFacet",
756
656
  "$schema": "https://json-schema.org/draft/2020-12/schema",
757
657
  "type": "object",
758
658
  "required": [
@@ -765,7 +665,6 @@
765
665
  }
766
666
  },
767
667
  "ShellMaterializedBase": {
768
- "$anchor": "ShellMaterializedBase",
769
668
  "$schema": "https://json-schema.org/draft/2020-12/schema",
770
669
  "type": "object",
771
670
  "required": [
@@ -798,35 +697,30 @@
798
697
  ]
799
698
  },
800
699
  "ShellMaterialized": {
801
- "$anchor": "ShellMaterialized",
802
700
  "$schema": "https://json-schema.org/draft/2020-12/schema",
803
701
  "type": "object",
804
702
  "$ref": "#/$defs/ShellMaterializedBase",
805
703
  "unevaluatedProperties": false
806
704
  },
807
705
  "ResourceMissing": {
808
- "$anchor": "ResourceMissing",
809
706
  "$schema": "https://json-schema.org/draft/2020-12/schema",
810
707
  "type": "object",
811
708
  "$ref": "#/$defs/ShellMissing",
812
709
  "unevaluatedProperties": false
813
710
  },
814
711
  "ResourceInputPotential": {
815
- "$anchor": "ResourceInputPotential",
816
712
  "$schema": "https://json-schema.org/draft/2020-12/schema",
817
713
  "type": "object",
818
714
  "$ref": "#/$defs/ShellInputPotential",
819
715
  "unevaluatedProperties": false
820
716
  },
821
717
  "ResourceOutputPotential": {
822
- "$anchor": "ResourceOutputPotential",
823
718
  "$schema": "https://json-schema.org/draft/2020-12/schema",
824
719
  "type": "object",
825
720
  "$ref": "#/$defs/ShellOutputPotential",
826
721
  "unevaluatedProperties": false
827
722
  },
828
723
  "JsonData": {
829
- "$anchor": "JsonData",
830
724
  "$schema": "https://json-schema.org/draft/2020-12/schema",
831
725
  "oneOf": [
832
726
  {
@@ -856,7 +750,6 @@
856
750
  ]
857
751
  },
858
752
  "Nucleus": {
859
- "$anchor": "Nucleus",
860
753
  "$schema": "https://json-schema.org/draft/2020-12/schema",
861
754
  "type": "object",
862
755
  "additionalProperties": {
@@ -864,7 +757,6 @@
864
757
  }
865
758
  },
866
759
  "NucleusFacet": {
867
- "$anchor": "NucleusFacet",
868
760
  "$schema": "https://json-schema.org/draft/2020-12/schema",
869
761
  "type": "object",
870
762
  "required": [
@@ -877,7 +769,6 @@
877
769
  }
878
770
  },
879
771
  "ResourceMaterialized": {
880
- "$anchor": "ResourceMaterialized",
881
772
  "$schema": "https://json-schema.org/draft/2020-12/schema",
882
773
  "type": "object",
883
774
  "allOf": [
@@ -892,7 +783,6 @@
892
783
  "unevaluatedProperties": false
893
784
  },
894
785
  "Resource": {
895
- "$anchor": "Resource",
896
786
  "$schema": "https://json-schema.org/draft/2020-12/schema",
897
787
  "type": "object",
898
788
  "oneOf": [
@@ -912,7 +802,6 @@
912
802
  "unevaluatedProperties": false
913
803
  },
914
804
  "JobStepSocket": {
915
- "$anchor": "JobStepSocket",
916
805
  "$schema": "https://json-schema.org/draft/2020-12/schema",
917
806
  "type": "object",
918
807
  "propertyNames": {
@@ -923,7 +812,6 @@
923
812
  }
924
813
  },
925
814
  "StrategyState": {
926
- "$anchor": "StrategyState",
927
815
  "$schema": "https://json-schema.org/draft/2020-12/schema",
928
816
  "type": "object",
929
817
  "propertyNames": {
@@ -934,7 +822,6 @@
934
822
  }
935
823
  },
936
824
  "StrategyStateFacet": {
937
- "$anchor": "StrategyStateFacet",
938
825
  "$schema": "https://json-schema.org/draft/2020-12/schema",
939
826
  "type": "object",
940
827
  "required": [
@@ -947,7 +834,6 @@
947
834
  }
948
835
  },
949
836
  "StepArray": {
950
- "$anchor": "StepArray",
951
837
  "$schema": "https://json-schema.org/draft/2020-12/schema",
952
838
  "type": "array",
953
839
  "items": {
@@ -956,7 +842,6 @@
956
842
  "uniqueItems": true
957
843
  },
958
844
  "StepsFacet": {
959
- "$anchor": "StepsFacet",
960
845
  "$schema": "https://json-schema.org/draft/2020-12/schema",
961
846
  "type": "object",
962
847
  "required": [
@@ -969,7 +854,6 @@
969
854
  }
970
855
  },
971
856
  "RawStrategy": {
972
- "$anchor": "RawStrategy",
973
857
  "$schema": "https://json-schema.org/draft/2020-12/schema",
974
858
  "type": "object",
975
859
  "allOf": [
@@ -983,13 +867,11 @@
983
867
  "unevaluatedProperties": false
984
868
  },
985
869
  "RunnableStrategyIdentity": {
986
- "$anchor": "RunnableStrategyIdentity",
987
870
  "$schema": "https://json-schema.org/draft/2020-12/schema",
988
871
  "type": "string",
989
872
  "pattern": "^RUNNABLE_STRATEGY-.+$"
990
873
  },
991
874
  "RunnableStrategyStatus": {
992
- "$anchor": "RunnableStrategyStatus",
993
875
  "$schema": "https://json-schema.org/draft/2020-12/schema",
994
876
  "type": "string",
995
877
  "enum": [
@@ -1001,7 +883,6 @@
1001
883
  ]
1002
884
  },
1003
885
  "RunnableStrategyContext": {
1004
- "$anchor": "RunnableStrategyContext",
1005
886
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1006
887
  "type": "object",
1007
888
  "required": [
@@ -1021,13 +902,11 @@
1021
902
  "unevaluatedProperties": false
1022
903
  },
1023
904
  "StrategyThreadIdentity": {
1024
- "$anchor": "StrategyThreadIdentity",
1025
905
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1026
906
  "type": "string",
1027
907
  "pattern": "^STRATEGY_THREAD-.+$"
1028
908
  },
1029
909
  "StrategyThreadMap": {
1030
- "$anchor": "StrategyThreadMap",
1031
910
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1032
911
  "type": "object",
1033
912
  "propertyNames": {
@@ -1039,7 +918,6 @@
1039
918
  "$comment": "Each thread contains an array of steps, allowing for sequential execution within a thread while supporting parallel execution across multiple threads."
1040
919
  },
1041
920
  "StrategyThreadMapFacet": {
1042
- "$anchor": "StrategyThreadMapFacet",
1043
921
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1044
922
  "type": "object",
1045
923
  "required": [
@@ -1052,7 +930,6 @@
1052
930
  }
1053
931
  },
1054
932
  "RunnableStrategy": {
1055
- "$anchor": "RunnableStrategy",
1056
933
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1057
934
  "type": "object",
1058
935
  "required": [
@@ -1080,7 +957,6 @@
1080
957
  "unevaluatedProperties": false
1081
958
  },
1082
959
  "StrategyStateDelta": {
1083
- "$anchor": "StrategyStateDelta",
1084
960
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1085
961
  "type": "object",
1086
962
  "required": [
@@ -1093,7 +969,6 @@
1093
969
  }
1094
970
  },
1095
971
  "RunnableStrategyUpdate": {
1096
- "$anchor": "RunnableStrategyUpdate",
1097
972
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1098
973
  "type": "object",
1099
974
  "required": [
@@ -1102,10 +977,6 @@
1102
977
  "properties": {
1103
978
  "runnableStrategyHandle": {
1104
979
  "$ref": "#/$defs/RunnableStrategyIdentity"
1105
- },
1106
- "runnableStrategy": {
1107
- "$comment": "Optional embedded snapshot; runnableStrategyHandle remains the canonical pointer.",
1108
- "$ref": "#/$defs/RunnableStrategy"
1109
980
  }
1110
981
  },
1111
982
  "allOf": [
@@ -1116,7 +987,6 @@
1116
987
  "unevaluatedProperties": false
1117
988
  },
1118
989
  "RunEventCounters": {
1119
- "$anchor": "RunEventCounters",
1120
990
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1121
991
  "type": "object",
1122
992
  "properties": {
@@ -1129,7 +999,6 @@
1129
999
  }
1130
1000
  },
1131
1001
  "RunEventStepMetadata": {
1132
- "$anchor": "RunEventStepMetadata",
1133
1002
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1134
1003
  "type": "object",
1135
1004
  "required": [
@@ -1150,7 +1019,6 @@
1150
1019
  }
1151
1020
  },
1152
1021
  "RunEventUpdates": {
1153
- "$anchor": "RunEventUpdates",
1154
1022
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1155
1023
  "type": "object",
1156
1024
  "properties": {
@@ -1184,7 +1052,6 @@
1184
1052
  ]
1185
1053
  },
1186
1054
  "RunEventKind": {
1187
- "$anchor": "RunEventKind",
1188
1055
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1189
1056
  "type": "string",
1190
1057
  "enum": [
@@ -1195,7 +1062,6 @@
1195
1062
  ]
1196
1063
  },
1197
1064
  "RunEventBase": {
1198
- "$anchor": "RunEventBase",
1199
1065
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1200
1066
  "type": "object",
1201
1067
  "required": [
@@ -1237,7 +1103,6 @@
1237
1103
  }
1238
1104
  },
1239
1105
  "GraphStartRunEvent": {
1240
- "$anchor": "GraphStartRunEvent",
1241
1106
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1242
1107
  "allOf": [
1243
1108
  {
@@ -1260,7 +1125,6 @@
1260
1125
  ]
1261
1126
  },
1262
1127
  "TickRunEvent": {
1263
- "$anchor": "TickRunEvent",
1264
1128
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1265
1129
  "allOf": [
1266
1130
  {
@@ -1277,7 +1141,6 @@
1277
1141
  ]
1278
1142
  },
1279
1143
  "InterruptRunEvent": {
1280
- "$anchor": "InterruptRunEvent",
1281
1144
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1282
1145
  "allOf": [
1283
1146
  {
@@ -1294,7 +1157,6 @@
1294
1157
  ]
1295
1158
  },
1296
1159
  "GraphEndRunEvent": {
1297
- "$anchor": "GraphEndRunEvent",
1298
1160
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1299
1161
  "allOf": [
1300
1162
  {
@@ -1311,7 +1173,6 @@
1311
1173
  ]
1312
1174
  },
1313
1175
  "RunEvent": {
1314
- "$anchor": "RunEvent",
1315
1176
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1316
1177
  "type": "object",
1317
1178
  "oneOf": [
@@ -1330,13 +1191,11 @@
1330
1191
  ]
1331
1192
  },
1332
1193
  "StrategyRunIdentity": {
1333
- "$anchor": "StrategyRunIdentity",
1334
1194
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1335
1195
  "type": "string",
1336
1196
  "pattern": "^STRATEGY_RUN-.+$"
1337
1197
  },
1338
1198
  "StrategyRun": {
1339
- "$anchor": "StrategyRun",
1340
1199
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1341
1200
  "type": "object",
1342
1201
  "required": [
@@ -1366,13 +1225,11 @@
1366
1225
  "unevaluatedProperties": false
1367
1226
  },
1368
1227
  "GoalIdentity": {
1369
- "$anchor": "GoalIdentity",
1370
1228
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1371
1229
  "type": "string",
1372
1230
  "pattern": "^GOAL-.+$"
1373
1231
  },
1374
1232
  "Goal": {
1375
- "$anchor": "Goal",
1376
1233
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1377
1234
  "type": "object",
1378
1235
  "required": [
@@ -1411,15 +1268,9 @@
1411
1268
  "minimum": 1
1412
1269
  }
1413
1270
  },
1414
- "allOf": [
1415
- {
1416
- "$ref": "#/$defs/DomainFacet"
1417
- }
1418
- ],
1419
1271
  "unevaluatedProperties": false
1420
1272
  },
1421
1273
  "Natural": {
1422
- "$anchor": "Natural",
1423
1274
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1424
1275
  "type": "object",
1425
1276
  "required": [
@@ -1438,7 +1289,6 @@
1438
1289
  "additionalProperties": false
1439
1290
  },
1440
1291
  "Boolean": {
1441
- "$anchor": "Boolean",
1442
1292
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1443
1293
  "type": "object",
1444
1294
  "required": [