@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
package/src/Genesis.json CHANGED
@@ -2,7 +2,6 @@
2
2
  "identity": "TYPE-Genesis",
3
3
  "name": "Genesis",
4
4
  "description": "dummy-description",
5
- "resourceTypeImplementationKind": "internal-without-identity",
6
5
  "nucleusSchema": {
7
6
  "$comment": "This file defines all schemas used internally by ToolProof.",
8
7
  "$anchor": "Genesis",
@@ -13,7 +12,6 @@
13
12
  "identity": "TYPE-Name",
14
13
  "name": "Name",
15
14
  "description": "dummy-description",
16
- "resourceTypeImplementationKind": "internal-without-identity",
17
15
  "nucleusSchema": {
18
16
  "$anchor": "Name",
19
17
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -28,7 +26,6 @@
28
26
  "identity": "TYPE-NameFacet",
29
27
  "name": "NameFacet",
30
28
  "description": "dummy-description",
31
- "resourceTypeImplementationKind": "internal-without-identity",
32
29
  "nucleusSchema": {
33
30
  "$anchor": "NameFacet",
34
31
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -47,7 +44,6 @@
47
44
  "identity": "TYPE-Description",
48
45
  "name": "Description",
49
46
  "description": "dummy-description",
50
- "resourceTypeImplementationKind": "internal-without-identity",
51
47
  "nucleusSchema": {
52
48
  "$anchor": "Description",
53
49
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -61,7 +57,6 @@
61
57
  "identity": "TYPE-DescriptionFacet",
62
58
  "name": "DescriptionFacet",
63
59
  "description": "dummy-description",
64
- "resourceTypeImplementationKind": "internal-without-identity",
65
60
  "nucleusSchema": {
66
61
  "$anchor": "DescriptionFacet",
67
62
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -80,7 +75,6 @@
80
75
  "identity": "TYPE-DocumentationFacet",
81
76
  "name": "DocumentationFacet",
82
77
  "description": "dummy-description",
83
- "resourceTypeImplementationKind": "internal-without-identity",
84
78
  "nucleusSchema": {
85
79
  "$anchor": "DocumentationFacet",
86
80
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -95,46 +89,10 @@
95
89
  ]
96
90
  }
97
91
  },
98
- "ResourceTypeImplementationKind": {
99
- "identity": "TYPE-ResourceTypeImplementationKind",
100
- "name": "ResourceTypeImplementationKind",
101
- "description": "dummy-description",
102
- "resourceTypeImplementationKind": "internal-without-identity",
103
- "nucleusSchema": {
104
- "$anchor": "ResourceTypeImplementationKind",
105
- "$schema": "https://json-schema.org/draft/2020-12/schema",
106
- "type": "string",
107
- "enum": [
108
- "internal-without-identity",
109
- "internal-with-identity",
110
- "external"
111
- ]
112
- }
113
- },
114
- "ResourceTypeImplementationKindFacet": {
115
- "identity": "TYPE-ResourceTypeImplementationKindFacet",
116
- "name": "ResourceTypeImplementationKindFacet",
117
- "description": "dummy-description",
118
- "resourceTypeImplementationKind": "internal-without-identity",
119
- "nucleusSchema": {
120
- "$anchor": "ResourceTypeImplementationKindFacet",
121
- "$schema": "https://json-schema.org/draft/2020-12/schema",
122
- "type": "object",
123
- "required": [
124
- "resourceTypeImplementationKind"
125
- ],
126
- "properties": {
127
- "resourceTypeImplementationKind": {
128
- "$ref": "#ResourceTypeImplementationKind"
129
- }
130
- }
131
- }
132
- },
133
92
  "Uri": {
134
93
  "identity": "TYPE-Uri",
135
94
  "name": "Uri",
136
95
  "description": "dummy-description",
137
- "resourceTypeImplementationKind": "internal-without-identity",
138
96
  "nucleusSchema": {
139
97
  "$anchor": "Uri",
140
98
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -146,7 +104,6 @@
146
104
  "identity": "TYPE-ResourceTypeIdentity",
147
105
  "name": "ResourceTypeIdentity",
148
106
  "description": "dummy-description",
149
- "resourceTypeImplementationKind": "internal-without-identity",
150
107
  "nucleusSchema": {
151
108
  "$anchor": "ResourceTypeIdentity",
152
109
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -158,7 +115,6 @@
158
115
  "identity": "TYPE-ResourceType",
159
116
  "name": "ResourceType",
160
117
  "description": "dummy-description",
161
- "resourceTypeImplementationKind": "internal-with-identity",
162
118
  "nucleusSchema": {
163
119
  "$anchor": "ResourceType",
164
120
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -200,9 +156,6 @@
200
156
  "allOf": [
201
157
  {
202
158
  "$ref": "#DocumentationFacet"
203
- },
204
- {
205
- "$ref": "#ResourceTypeImplementationKindFacet"
206
159
  }
207
160
  ]
208
161
  }
@@ -211,7 +164,6 @@
211
164
  "identity": "TYPE-ResourceRoleIdentity",
212
165
  "name": "ResourceRoleIdentity",
213
166
  "description": "dummy-description",
214
- "resourceTypeImplementationKind": "internal-without-identity",
215
167
  "nucleusSchema": {
216
168
  "$anchor": "ResourceRoleIdentity",
217
169
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -223,7 +175,6 @@
223
175
  "identity": "TYPE-ResourceRoleValue",
224
176
  "name": "ResourceRoleValue",
225
177
  "description": "dummy-description",
226
- "resourceTypeImplementationKind": "internal-without-identity",
227
178
  "nucleusSchema": {
228
179
  "$anchor": "ResourceRoleValue",
229
180
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -251,7 +202,6 @@
251
202
  "identity": "TYPE-RoleMap",
252
203
  "name": "RoleMap",
253
204
  "description": "dummy-description",
254
- "resourceTypeImplementationKind": "internal-without-identity",
255
205
  "nucleusSchema": {
256
206
  "$anchor": "RoleMap",
257
207
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -268,7 +218,6 @@
268
218
  "identity": "TYPE-Error",
269
219
  "name": "Error",
270
220
  "description": "dummy-description",
271
- "resourceTypeImplementationKind": "internal-without-identity",
272
221
  "nucleusSchema": {
273
222
  "$anchor": "Error",
274
223
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -292,7 +241,6 @@
292
241
  "identity": "TYPE-Roles",
293
242
  "name": "Roles",
294
243
  "description": "dummy-description",
295
- "resourceTypeImplementationKind": "internal-without-identity",
296
244
  "nucleusSchema": {
297
245
  "$anchor": "Roles",
298
246
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -353,7 +301,6 @@
353
301
  "identity": "TYPE-RolesFacet",
354
302
  "name": "RolesFacet",
355
303
  "description": "dummy-description",
356
- "resourceTypeImplementationKind": "internal-without-identity",
357
304
  "nucleusSchema": {
358
305
  "$anchor": "RolesFacet",
359
306
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -368,48 +315,10 @@
368
315
  }
369
316
  }
370
317
  },
371
- "Domain": {
372
- "identity": "TYPE-Domain",
373
- "name": "Domain",
374
- "description": "dummy-description",
375
- "resourceTypeImplementationKind": "internal-without-identity",
376
- "nucleusSchema": {
377
- "$anchor": "Domain",
378
- "$schema": "https://json-schema.org/draft/2020-12/schema",
379
- "type": "string",
380
- "enum": [
381
- "internal",
382
- "numerical",
383
- "biological",
384
- "logical",
385
- "augmental"
386
- ]
387
- }
388
- },
389
- "DomainFacet": {
390
- "identity": "TYPE-DomainFacet",
391
- "name": "DomainFacet",
392
- "description": "dummy-description",
393
- "resourceTypeImplementationKind": "internal-without-identity",
394
- "nucleusSchema": {
395
- "$anchor": "DomainFacet",
396
- "$schema": "https://json-schema.org/draft/2020-12/schema",
397
- "type": "object",
398
- "required": [
399
- "domain"
400
- ],
401
- "properties": {
402
- "domain": {
403
- "$ref": "#Domain"
404
- }
405
- }
406
- }
407
- },
408
318
  "JobIdentity": {
409
319
  "identity": "TYPE-JobIdentity",
410
320
  "name": "JobIdentity",
411
321
  "description": "dummy-description",
412
- "resourceTypeImplementationKind": "internal-without-identity",
413
322
  "nucleusSchema": {
414
323
  "$anchor": "JobIdentity",
415
324
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -421,7 +330,6 @@
421
330
  "identity": "TYPE-Job",
422
331
  "name": "Job",
423
332
  "description": "dummy-description",
424
- "resourceTypeImplementationKind": "internal-with-identity",
425
333
  "nucleusSchema": {
426
334
  "$anchor": "Job",
427
335
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -442,9 +350,6 @@
442
350
  {
443
351
  "$ref": "#DocumentationFacet"
444
352
  },
445
- {
446
- "$ref": "#DomainFacet"
447
- },
448
353
  {
449
354
  "$ref": "#RolesFacet"
450
355
  }
@@ -456,7 +361,6 @@
456
361
  "identity": "TYPE-RoleBindingArray",
457
362
  "name": "RoleBindingArray",
458
363
  "description": "dummy-description",
459
- "resourceTypeImplementationKind": "internal-without-identity",
460
364
  "nucleusSchema": {
461
365
  "$anchor": "RoleBindingArray",
462
366
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -470,7 +374,6 @@
470
374
  "identity": "TYPE-RoleBindings",
471
375
  "name": "RoleBindings",
472
376
  "description": "dummy-description",
473
- "resourceTypeImplementationKind": "internal-without-identity",
474
377
  "nucleusSchema": {
475
378
  "$anchor": "RoleBindings",
476
379
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -494,7 +397,6 @@
494
397
  "identity": "TYPE-RoleBindingsFacet",
495
398
  "name": "RoleBindingsFacet",
496
399
  "description": "dummy-description",
497
- "resourceTypeImplementationKind": "internal-without-identity",
498
400
  "nucleusSchema": {
499
401
  "$anchor": "RoleBindingsFacet",
500
402
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -513,7 +415,6 @@
513
415
  "identity": "TYPE-StepKind",
514
416
  "name": "StepKind",
515
417
  "description": "dummy-description",
516
- "resourceTypeImplementationKind": "internal-without-identity",
517
418
  "nucleusSchema": {
518
419
  "$anchor": "StepKind",
519
420
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -530,7 +431,6 @@
530
431
  "identity": "TYPE-StepKindFacet",
531
432
  "name": "StepKindFacet",
532
433
  "description": "dummy-description",
533
- "resourceTypeImplementationKind": "internal-without-identity",
534
434
  "nucleusSchema": {
535
435
  "$anchor": "StepKindFacet",
536
436
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -549,7 +449,6 @@
549
449
  "identity": "TYPE-JobStepIdentity",
550
450
  "name": "JobStepIdentity",
551
451
  "description": "dummy-description",
552
- "resourceTypeImplementationKind": "internal-without-identity",
553
452
  "nucleusSchema": {
554
453
  "$anchor": "JobStepIdentity",
555
454
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -561,7 +460,6 @@
561
460
  "identity": "TYPE-JobStep",
562
461
  "name": "JobStep",
563
462
  "description": "dummy-description",
564
- "resourceTypeImplementationKind": "internal-with-identity",
565
463
  "nucleusSchema": {
566
464
  "$anchor": "JobStep",
567
465
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -597,7 +495,6 @@
597
495
  "identity": "TYPE-Conditional",
598
496
  "name": "Conditional",
599
497
  "description": "dummy-description",
600
- "resourceTypeImplementationKind": "internal-without-identity",
601
498
  "nucleusSchema": {
602
499
  "$anchor": "Conditional",
603
500
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -621,7 +518,6 @@
621
518
  "identity": "TYPE-BranchStepIdentity",
622
519
  "name": "BranchStepIdentity",
623
520
  "description": "dummy-description",
624
- "resourceTypeImplementationKind": "internal-without-identity",
625
521
  "nucleusSchema": {
626
522
  "$anchor": "BranchStepIdentity",
627
523
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -633,7 +529,6 @@
633
529
  "identity": "TYPE-BranchStep",
634
530
  "name": "BranchStep",
635
531
  "description": "dummy-description",
636
- "resourceTypeImplementationKind": "internal-with-identity",
637
532
  "nucleusSchema": {
638
533
  "$anchor": "BranchStep",
639
534
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -670,7 +565,6 @@
670
565
  "identity": "TYPE-WhileStepIdentity",
671
566
  "name": "WhileStepIdentity",
672
567
  "description": "dummy-description",
673
- "resourceTypeImplementationKind": "internal-without-identity",
674
568
  "nucleusSchema": {
675
569
  "$anchor": "WhileStepIdentity",
676
570
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -682,7 +576,6 @@
682
576
  "identity": "TYPE-WhileStep",
683
577
  "name": "WhileStep",
684
578
  "description": "dummy-description",
685
- "resourceTypeImplementationKind": "internal-with-identity",
686
579
  "nucleusSchema": {
687
580
  "$anchor": "WhileStep",
688
581
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -714,7 +607,6 @@
714
607
  "identity": "TYPE-ForStepIdentity",
715
608
  "name": "ForStepIdentity",
716
609
  "description": "dummy-description",
717
- "resourceTypeImplementationKind": "internal-without-identity",
718
610
  "nucleusSchema": {
719
611
  "$anchor": "ForStepIdentity",
720
612
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -726,7 +618,6 @@
726
618
  "identity": "TYPE-ForStep",
727
619
  "name": "ForStep",
728
620
  "description": "dummy-description",
729
- "resourceTypeImplementationKind": "internal-with-identity",
730
621
  "nucleusSchema": {
731
622
  "$anchor": "ForStep",
732
623
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -758,7 +649,6 @@
758
649
  "identity": "TYPE-StepIdentity",
759
650
  "name": "StepIdentity",
760
651
  "description": "dummy-description",
761
- "resourceTypeImplementationKind": "internal-without-identity",
762
652
  "nucleusSchema": {
763
653
  "$anchor": "StepIdentity",
764
654
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -783,7 +673,6 @@
783
673
  "identity": "TYPE-Step",
784
674
  "name": "Step",
785
675
  "description": "dummy-description",
786
- "resourceTypeImplementationKind": "internal-without-identity",
787
676
  "nucleusSchema": {
788
677
  "$anchor": "Step",
789
678
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -809,7 +698,6 @@
809
698
  "identity": "TYPE-CreationContext",
810
699
  "name": "CreationContext",
811
700
  "description": "dummy-description",
812
- "resourceTypeImplementationKind": "internal-without-identity",
813
701
  "nucleusSchema": {
814
702
  "$anchor": "CreationContext",
815
703
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -832,7 +720,6 @@
832
720
  "identity": "TYPE-CreationContextFacet",
833
721
  "name": "CreationContextFacet",
834
722
  "description": "dummy-description",
835
- "resourceTypeImplementationKind": "internal-without-identity",
836
723
  "nucleusSchema": {
837
724
  "$anchor": "CreationContextFacet",
838
725
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -851,7 +738,6 @@
851
738
  "identity": "TYPE-ResourceIdentity",
852
739
  "name": "ResourceIdentity",
853
740
  "description": "dummy-description",
854
- "resourceTypeImplementationKind": "internal-without-identity",
855
741
  "nucleusSchema": {
856
742
  "$anchor": "ResourceIdentity",
857
743
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -863,7 +749,6 @@
863
749
  "identity": "TYPE-ResourceShellBase",
864
750
  "name": "ResourceShellBase",
865
751
  "description": "dummy-description",
866
- "resourceTypeImplementationKind": "internal-with-identity",
867
752
  "nucleusSchema": {
868
753
  "$anchor": "ResourceShellBase",
869
754
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -890,7 +775,6 @@
890
775
  "identity": "TYPE-ResourceKind",
891
776
  "name": "ResourceKind",
892
777
  "description": "dummy-description",
893
- "resourceTypeImplementationKind": "internal-without-identity",
894
778
  "nucleusSchema": {
895
779
  "$anchor": "ResourceKind",
896
780
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -907,7 +791,6 @@
907
791
  "identity": "TYPE-ResourceKindFacet",
908
792
  "name": "ResourceKindFacet",
909
793
  "description": "dummy-description",
910
- "resourceTypeImplementationKind": "internal-without-identity",
911
794
  "nucleusSchema": {
912
795
  "$anchor": "ResourceKindFacet",
913
796
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -926,7 +809,6 @@
926
809
  "identity": "TYPE-ShellMissing",
927
810
  "name": "ShellMissing",
928
811
  "description": "dummy-description",
929
- "resourceTypeImplementationKind": "internal-with-identity",
930
812
  "nucleusSchema": {
931
813
  "$anchor": "ShellMissing",
932
814
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -951,7 +833,6 @@
951
833
  "identity": "TYPE-ShellInputPotential",
952
834
  "name": "ShellInputPotential",
953
835
  "description": "dummy-description",
954
- "resourceTypeImplementationKind": "internal-with-identity",
955
836
  "nucleusSchema": {
956
837
  "$anchor": "ShellInputPotential",
957
838
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -979,7 +860,6 @@
979
860
  "identity": "TYPE-ShellOutputPotential",
980
861
  "name": "ShellOutputPotential",
981
862
  "description": "dummy-description",
982
- "resourceTypeImplementationKind": "internal-with-identity",
983
863
  "nucleusSchema": {
984
864
  "$anchor": "ShellOutputPotential",
985
865
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1007,7 +887,6 @@
1007
887
  "identity": "TYPE-Timestamp",
1008
888
  "name": "Timestamp",
1009
889
  "description": "dummy-description",
1010
- "resourceTypeImplementationKind": "internal-without-identity",
1011
890
  "nucleusSchema": {
1012
891
  "$anchor": "Timestamp",
1013
892
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1019,7 +898,6 @@
1019
898
  "identity": "TYPE-TimestampFacet",
1020
899
  "name": "TimestampFacet",
1021
900
  "description": "dummy-description",
1022
- "resourceTypeImplementationKind": "internal-without-identity",
1023
901
  "nucleusSchema": {
1024
902
  "$anchor": "TimestampFacet",
1025
903
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1038,7 +916,6 @@
1038
916
  "identity": "TYPE-Path",
1039
917
  "name": "Path",
1040
918
  "description": "dummy-description",
1041
- "resourceTypeImplementationKind": "internal-without-identity",
1042
919
  "nucleusSchema": {
1043
920
  "$anchor": "Path",
1044
921
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1050,7 +927,6 @@
1050
927
  "identity": "TYPE-PathFacet",
1051
928
  "name": "PathFacet",
1052
929
  "description": "dummy-description",
1053
- "resourceTypeImplementationKind": "internal-without-identity",
1054
930
  "nucleusSchema": {
1055
931
  "$anchor": "PathFacet",
1056
932
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1069,7 +945,6 @@
1069
945
  "identity": "TYPE-ShellMaterializedBase",
1070
946
  "name": "ShellMaterializedBase",
1071
947
  "description": "dummy-description",
1072
- "resourceTypeImplementationKind": "internal-with-identity",
1073
948
  "nucleusSchema": {
1074
949
  "$anchor": "ShellMaterializedBase",
1075
950
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1108,7 +983,6 @@
1108
983
  "identity": "TYPE-ShellMaterialized",
1109
984
  "name": "ShellMaterialized",
1110
985
  "description": "dummy-description",
1111
- "resourceTypeImplementationKind": "internal-with-identity",
1112
986
  "nucleusSchema": {
1113
987
  "$anchor": "ShellMaterialized",
1114
988
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1121,7 +995,6 @@
1121
995
  "identity": "TYPE-ResourceMissing",
1122
996
  "name": "ResourceMissing",
1123
997
  "description": "dummy-description",
1124
- "resourceTypeImplementationKind": "internal-with-identity",
1125
998
  "nucleusSchema": {
1126
999
  "$anchor": "ResourceMissing",
1127
1000
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1134,7 +1007,6 @@
1134
1007
  "identity": "TYPE-ResourceInputPotential",
1135
1008
  "name": "ResourceInputPotential",
1136
1009
  "description": "dummy-description",
1137
- "resourceTypeImplementationKind": "internal-with-identity",
1138
1010
  "nucleusSchema": {
1139
1011
  "$anchor": "ResourceInputPotential",
1140
1012
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1147,7 +1019,6 @@
1147
1019
  "identity": "TYPE-ResourceOutputPotential",
1148
1020
  "name": "ResourceOutputPotential",
1149
1021
  "description": "dummy-description",
1150
- "resourceTypeImplementationKind": "internal-with-identity",
1151
1022
  "nucleusSchema": {
1152
1023
  "$anchor": "ResourceOutputPotential",
1153
1024
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1160,7 +1031,6 @@
1160
1031
  "identity": "TYPE-JsonData",
1161
1032
  "name": "JsonData",
1162
1033
  "description": "dummy-description",
1163
- "resourceTypeImplementationKind": "internal-without-identity",
1164
1034
  "nucleusSchema": {
1165
1035
  "$anchor": "JsonData",
1166
1036
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1196,7 +1066,6 @@
1196
1066
  "identity": "TYPE-Nucleus",
1197
1067
  "name": "Nucleus",
1198
1068
  "description": "dummy-description",
1199
- "resourceTypeImplementationKind": "internal-without-identity",
1200
1069
  "nucleusSchema": {
1201
1070
  "$anchor": "Nucleus",
1202
1071
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1210,7 +1079,6 @@
1210
1079
  "identity": "TYPE-NucleusFacet",
1211
1080
  "name": "NucleusFacet",
1212
1081
  "description": "dummy-description",
1213
- "resourceTypeImplementationKind": "internal-without-identity",
1214
1082
  "nucleusSchema": {
1215
1083
  "$anchor": "NucleusFacet",
1216
1084
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1229,7 +1097,6 @@
1229
1097
  "identity": "TYPE-ResourceMaterialized",
1230
1098
  "name": "ResourceMaterialized",
1231
1099
  "description": "dummy-description",
1232
- "resourceTypeImplementationKind": "internal-with-identity",
1233
1100
  "nucleusSchema": {
1234
1101
  "$anchor": "ResourceMaterialized",
1235
1102
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1250,7 +1117,6 @@
1250
1117
  "identity": "TYPE-Resource",
1251
1118
  "name": "Resource",
1252
1119
  "description": "dummy-description",
1253
- "resourceTypeImplementationKind": "internal-with-identity",
1254
1120
  "nucleusSchema": {
1255
1121
  "$anchor": "Resource",
1256
1122
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1276,7 +1142,6 @@
1276
1142
  "identity": "TYPE-JobStepSocket",
1277
1143
  "name": "JobStepSocket",
1278
1144
  "description": "dummy-description",
1279
- "resourceTypeImplementationKind": "internal-without-identity",
1280
1145
  "nucleusSchema": {
1281
1146
  "$anchor": "JobStepSocket",
1282
1147
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1293,7 +1158,6 @@
1293
1158
  "identity": "TYPE-StrategyState",
1294
1159
  "name": "StrategyState",
1295
1160
  "description": "dummy-description",
1296
- "resourceTypeImplementationKind": "internal-without-identity",
1297
1161
  "nucleusSchema": {
1298
1162
  "$anchor": "StrategyState",
1299
1163
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1310,7 +1174,6 @@
1310
1174
  "identity": "TYPE-StrategyStateFacet",
1311
1175
  "name": "StrategyStateFacet",
1312
1176
  "description": "dummy-description",
1313
- "resourceTypeImplementationKind": "internal-without-identity",
1314
1177
  "nucleusSchema": {
1315
1178
  "$anchor": "StrategyStateFacet",
1316
1179
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1329,7 +1192,6 @@
1329
1192
  "identity": "TYPE-StepArray",
1330
1193
  "name": "StepArray",
1331
1194
  "description": "dummy-description",
1332
- "resourceTypeImplementationKind": "internal-without-identity",
1333
1195
  "nucleusSchema": {
1334
1196
  "$anchor": "StepArray",
1335
1197
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1344,7 +1206,6 @@
1344
1206
  "identity": "TYPE-StepsFacet",
1345
1207
  "name": "StepsFacet",
1346
1208
  "description": "dummy-description",
1347
- "resourceTypeImplementationKind": "internal-without-identity",
1348
1209
  "nucleusSchema": {
1349
1210
  "$anchor": "StepsFacet",
1350
1211
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1363,7 +1224,6 @@
1363
1224
  "identity": "TYPE-RawStrategy",
1364
1225
  "name": "RawStrategy",
1365
1226
  "description": "dummy-description",
1366
- "resourceTypeImplementationKind": "internal-without-identity",
1367
1227
  "nucleusSchema": {
1368
1228
  "$anchor": "RawStrategy",
1369
1229
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1383,7 +1243,6 @@
1383
1243
  "identity": "TYPE-RunnableStrategyIdentity",
1384
1244
  "name": "RunnableStrategyIdentity",
1385
1245
  "description": "dummy-description",
1386
- "resourceTypeImplementationKind": "internal-without-identity",
1387
1246
  "nucleusSchema": {
1388
1247
  "$anchor": "RunnableStrategyIdentity",
1389
1248
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1395,7 +1254,6 @@
1395
1254
  "identity": "TYPE-RunnableStrategyStatus",
1396
1255
  "name": "RunnableStrategyStatus",
1397
1256
  "description": "dummy-description",
1398
- "resourceTypeImplementationKind": "internal-without-identity",
1399
1257
  "nucleusSchema": {
1400
1258
  "$anchor": "RunnableStrategyStatus",
1401
1259
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1413,7 +1271,6 @@
1413
1271
  "identity": "TYPE-RunnableStrategyContext",
1414
1272
  "name": "RunnableStrategyContext",
1415
1273
  "description": "dummy-description",
1416
- "resourceTypeImplementationKind": "internal-without-identity",
1417
1274
  "nucleusSchema": {
1418
1275
  "$anchor": "RunnableStrategyContext",
1419
1276
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1439,7 +1296,6 @@
1439
1296
  "identity": "TYPE-StrategyThreadIdentity",
1440
1297
  "name": "StrategyThreadIdentity",
1441
1298
  "description": "dummy-description",
1442
- "resourceTypeImplementationKind": "internal-without-identity",
1443
1299
  "nucleusSchema": {
1444
1300
  "$anchor": "StrategyThreadIdentity",
1445
1301
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1451,7 +1307,6 @@
1451
1307
  "identity": "TYPE-StrategyThreadMap",
1452
1308
  "name": "StrategyThreadMap",
1453
1309
  "description": "dummy-description",
1454
- "resourceTypeImplementationKind": "internal-without-identity",
1455
1310
  "nucleusSchema": {
1456
1311
  "$anchor": "StrategyThreadMap",
1457
1312
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1469,7 +1324,6 @@
1469
1324
  "identity": "TYPE-StrategyThreadMapFacet",
1470
1325
  "name": "StrategyThreadMapFacet",
1471
1326
  "description": "dummy-description",
1472
- "resourceTypeImplementationKind": "internal-without-identity",
1473
1327
  "nucleusSchema": {
1474
1328
  "$anchor": "StrategyThreadMapFacet",
1475
1329
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1488,7 +1342,6 @@
1488
1342
  "identity": "TYPE-RunnableStrategy",
1489
1343
  "name": "RunnableStrategy",
1490
1344
  "description": "dummy-description",
1491
- "resourceTypeImplementationKind": "internal-with-identity",
1492
1345
  "nucleusSchema": {
1493
1346
  "$anchor": "RunnableStrategy",
1494
1347
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1522,7 +1375,6 @@
1522
1375
  "identity": "TYPE-StrategyStateDelta",
1523
1376
  "name": "StrategyStateDelta",
1524
1377
  "description": "dummy-description",
1525
- "resourceTypeImplementationKind": "internal-without-identity",
1526
1378
  "nucleusSchema": {
1527
1379
  "$anchor": "StrategyStateDelta",
1528
1380
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1541,7 +1393,6 @@
1541
1393
  "identity": "TYPE-RunnableStrategyUpdate",
1542
1394
  "name": "RunnableStrategyUpdate",
1543
1395
  "description": "dummy-description",
1544
- "resourceTypeImplementationKind": "internal-without-identity",
1545
1396
  "nucleusSchema": {
1546
1397
  "$anchor": "RunnableStrategyUpdate",
1547
1398
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1552,10 +1403,6 @@
1552
1403
  "properties": {
1553
1404
  "runnableStrategyHandle": {
1554
1405
  "$ref": "#RunnableStrategyIdentity"
1555
- },
1556
- "runnableStrategy": {
1557
- "$comment": "Optional embedded snapshot; runnableStrategyHandle remains the canonical pointer.",
1558
- "$ref": "#RunnableStrategy"
1559
1406
  }
1560
1407
  },
1561
1408
  "allOf": [
@@ -1570,7 +1417,6 @@
1570
1417
  "identity": "TYPE-RunEventCounters",
1571
1418
  "name": "RunEventCounters",
1572
1419
  "description": "dummy-description",
1573
- "resourceTypeImplementationKind": "internal-without-identity",
1574
1420
  "nucleusSchema": {
1575
1421
  "$anchor": "RunEventCounters",
1576
1422
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1589,7 +1435,6 @@
1589
1435
  "identity": "TYPE-RunEventStepMetadata",
1590
1436
  "name": "RunEventStepMetadata",
1591
1437
  "description": "dummy-description",
1592
- "resourceTypeImplementationKind": "internal-without-identity",
1593
1438
  "nucleusSchema": {
1594
1439
  "$anchor": "RunEventStepMetadata",
1595
1440
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1616,7 +1461,6 @@
1616
1461
  "identity": "TYPE-RunEventUpdates",
1617
1462
  "name": "RunEventUpdates",
1618
1463
  "description": "dummy-description",
1619
- "resourceTypeImplementationKind": "internal-without-identity",
1620
1464
  "nucleusSchema": {
1621
1465
  "$anchor": "RunEventUpdates",
1622
1466
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1656,7 +1500,6 @@
1656
1500
  "identity": "TYPE-RunEventKind",
1657
1501
  "name": "RunEventKind",
1658
1502
  "description": "dummy-description",
1659
- "resourceTypeImplementationKind": "internal-without-identity",
1660
1503
  "nucleusSchema": {
1661
1504
  "$anchor": "RunEventKind",
1662
1505
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1673,7 +1516,6 @@
1673
1516
  "identity": "TYPE-RunEventBase",
1674
1517
  "name": "RunEventBase",
1675
1518
  "description": "dummy-description",
1676
- "resourceTypeImplementationKind": "internal-without-identity",
1677
1519
  "nucleusSchema": {
1678
1520
  "$anchor": "RunEventBase",
1679
1521
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1721,7 +1563,6 @@
1721
1563
  "identity": "TYPE-GraphStartRunEvent",
1722
1564
  "name": "GraphStartRunEvent",
1723
1565
  "description": "dummy-description",
1724
- "resourceTypeImplementationKind": "internal-without-identity",
1725
1566
  "nucleusSchema": {
1726
1567
  "$anchor": "GraphStartRunEvent",
1727
1568
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1750,7 +1591,6 @@
1750
1591
  "identity": "TYPE-TickRunEvent",
1751
1592
  "name": "TickRunEvent",
1752
1593
  "description": "dummy-description",
1753
- "resourceTypeImplementationKind": "internal-without-identity",
1754
1594
  "nucleusSchema": {
1755
1595
  "$anchor": "TickRunEvent",
1756
1596
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1773,7 +1613,6 @@
1773
1613
  "identity": "TYPE-InterruptRunEvent",
1774
1614
  "name": "InterruptRunEvent",
1775
1615
  "description": "dummy-description",
1776
- "resourceTypeImplementationKind": "internal-without-identity",
1777
1616
  "nucleusSchema": {
1778
1617
  "$anchor": "InterruptRunEvent",
1779
1618
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1796,7 +1635,6 @@
1796
1635
  "identity": "TYPE-GraphEndRunEvent",
1797
1636
  "name": "GraphEndRunEvent",
1798
1637
  "description": "dummy-description",
1799
- "resourceTypeImplementationKind": "internal-without-identity",
1800
1638
  "nucleusSchema": {
1801
1639
  "$anchor": "GraphEndRunEvent",
1802
1640
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1819,7 +1657,6 @@
1819
1657
  "identity": "TYPE-RunEvent",
1820
1658
  "name": "RunEvent",
1821
1659
  "description": "dummy-description",
1822
- "resourceTypeImplementationKind": "internal-without-identity",
1823
1660
  "nucleusSchema": {
1824
1661
  "$anchor": "RunEvent",
1825
1662
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1844,7 +1681,6 @@
1844
1681
  "identity": "TYPE-StrategyRunIdentity",
1845
1682
  "name": "StrategyRunIdentity",
1846
1683
  "description": "dummy-description",
1847
- "resourceTypeImplementationKind": "internal-without-identity",
1848
1684
  "nucleusSchema": {
1849
1685
  "$anchor": "StrategyRunIdentity",
1850
1686
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1856,7 +1692,6 @@
1856
1692
  "identity": "TYPE-StrategyRun",
1857
1693
  "name": "StrategyRun",
1858
1694
  "description": "dummy-description",
1859
- "resourceTypeImplementationKind": "internal-with-identity",
1860
1695
  "nucleusSchema": {
1861
1696
  "$anchor": "StrategyRun",
1862
1697
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1892,7 +1727,6 @@
1892
1727
  "identity": "TYPE-GoalIdentity",
1893
1728
  "name": "GoalIdentity",
1894
1729
  "description": "dummy-description",
1895
- "resourceTypeImplementationKind": "internal-without-identity",
1896
1730
  "nucleusSchema": {
1897
1731
  "$anchor": "GoalIdentity",
1898
1732
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1904,7 +1738,6 @@
1904
1738
  "identity": "TYPE-Goal",
1905
1739
  "name": "Goal",
1906
1740
  "description": "dummy-description",
1907
- "resourceTypeImplementationKind": "internal-with-identity",
1908
1741
  "nucleusSchema": {
1909
1742
  "$anchor": "Goal",
1910
1743
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1945,11 +1778,6 @@
1945
1778
  "minimum": 1
1946
1779
  }
1947
1780
  },
1948
- "allOf": [
1949
- {
1950
- "$ref": "#DomainFacet"
1951
- }
1952
- ],
1953
1781
  "unevaluatedProperties": false
1954
1782
  }
1955
1783
  },
@@ -1957,7 +1785,6 @@
1957
1785
  "identity": "TYPE-Natural",
1958
1786
  "name": "Natural",
1959
1787
  "description": "dummy-description",
1960
- "resourceTypeImplementationKind": "internal-with-identity",
1961
1788
  "nucleusSchema": {
1962
1789
  "$anchor": "Natural",
1963
1790
  "$schema": "https://json-schema.org/draft/2020-12/schema",
@@ -1982,7 +1809,6 @@
1982
1809
  "identity": "TYPE-Boolean",
1983
1810
  "name": "Boolean",
1984
1811
  "description": "dummy-description",
1985
- "resourceTypeImplementationKind": "internal-with-identity",
1986
1812
  "nucleusSchema": {
1987
1813
  "$anchor": "Boolean",
1988
1814
  "$schema": "https://json-schema.org/draft/2020-12/schema",