@toolproof-core/schema 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/artifacts/constants.d.ts +121 -0
- package/dist/generated/artifacts/constants.js +121 -0
- package/dist/generated/artifacts/mappings.d.ts +23 -0
- package/dist/generated/artifacts/mappings.js +23 -0
- package/dist/generated/normalized/Genesis.json +117 -78
- package/dist/generated/resources/Genesis.json +489 -264
- package/dist/generated/schemas/Genesis.json +94 -61
- package/dist/generated/schemas/standalone/Job.json +9 -8
- package/dist/generated/schemas/standalone/RawStrategy.json +86 -110
- package/dist/generated/schemas/standalone/ResourceType.json +4 -4
- package/dist/generated/schemas/standalone/RunnableStrategy.json +115 -139
- package/dist/generated/schemas/standalone/StrategyRun.json +93 -117
- package/dist/generated/types/standalone/Resource_Genesis.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_Job.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_RawStrategy.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_ResourceType.d.ts +1 -1
- package/dist/generated/types/standalone/Resource_RunnableStrategy.d.ts +1 -1
- package/dist/generated/types/types.d.ts +247 -239
- package/dist/index.d.ts +6 -3
- package/dist/index.js +5 -2
- package/dist/scripts/_lib/config.d.ts +3 -5
- package/dist/scripts/_lib/config.js +8 -14
- package/dist/scripts/generateConstantsAndMappings.d.ts +31 -0
- package/dist/scripts/generateConstantsAndMappings.js +243 -0
- package/dist/scripts/generateDependencies.js +1 -1
- package/dist/scripts/generateStandaloneType.js +2 -1
- package/dist/scripts/generateTerminals.js +2 -2
- package/dist/scripts/generateTypes.js +183 -5
- package/dist/scripts/wrapResourceTypesWithResourceShells.js +7 -3
- package/package.json +9 -10
- package/src/Genesis.json +1873 -1833
- package/src/generated/artifacts/constants.ts +122 -0
- package/src/generated/{dependencies → artifacts}/dependencyMap.json +282 -280
- package/src/generated/artifacts/mappings.ts +24 -0
- package/src/generated/{dependencies → artifacts}/terminals.json +13 -11
- package/src/generated/normalized/Genesis.json +1785 -1746
- package/src/generated/resources/Genesis.json +2833 -2608
- package/src/generated/schemas/Genesis.json +1348 -1315
- package/src/generated/schemas/standalone/Job.json +195 -194
- package/src/generated/schemas/standalone/RawStrategy.json +86 -110
- package/src/generated/schemas/standalone/ResourceType.json +106 -106
- package/src/generated/schemas/standalone/RunnableStrategy.json +645 -669
- package/src/generated/schemas/standalone/StrategyRun.json +913 -937
- package/src/generated/types/standalone/Resource_Genesis.d.ts +3 -3
- package/src/generated/types/standalone/Resource_Job.d.ts +3 -3
- package/src/generated/types/standalone/Resource_RawStrategy.d.ts +3 -3
- package/src/generated/types/standalone/Resource_ResourceType.d.ts +3 -3
- package/src/generated/types/standalone/Resource_RunnableStrategy.d.ts +3 -3
- package/src/generated/types/types.d.ts +717 -709
- package/src/index.ts +77 -70
- package/src/scripts/_lib/config.ts +207 -215
- package/src/scripts/extractSchemasFromResourceTypeShells.ts +261 -261
- package/src/scripts/generateConstantsAndMappings.ts +309 -0
- package/src/scripts/generateDependencies.ts +121 -121
- package/src/scripts/generateSchemaShims.ts +127 -127
- package/src/scripts/generateStandaloneSchema.ts +185 -185
- package/src/scripts/generateStandaloneType.ts +129 -127
- package/src/scripts/generateTerminals.ts +73 -73
- package/src/scripts/generateTypes.ts +733 -531
- package/src/scripts/normalizeAnchorsToPointers.ts +141 -141
- package/src/scripts/wrapResourceTypesWithResourceShells.ts +86 -82
- package/dist/generated/constants/constants.d.ts +0 -60
- package/dist/generated/constants/constants.js +0 -60
- package/dist/scripts/generateConstants.d.ts +0 -12
- package/dist/scripts/generateConstants.js +0 -179
- package/src/generated/constants/constants.ts +0 -61
- package/src/scripts/generateConstants.ts +0 -217
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"description": "dummy-description",
|
|
5
5
|
"nucleusSchema": {
|
|
6
6
|
"$comment": "This file defines all schemas used internally by ToolProof.",
|
|
7
|
-
"$id": "https://schemas.toolproof.com/
|
|
7
|
+
"$id": "https://schemas.toolproof.com/v1/Genesis.json",
|
|
8
8
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
9
9
|
"$defs": {
|
|
10
10
|
"Name": {
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"$ref": "#/$defs/ResourceTypeIdentity"
|
|
120
120
|
},
|
|
121
121
|
"nucleusSchema": true,
|
|
122
|
-
"
|
|
122
|
+
"embeddingUriDict": {
|
|
123
123
|
"type": "object",
|
|
124
124
|
"propertyNames": {
|
|
125
125
|
"type": "string",
|
|
@@ -129,9 +129,9 @@
|
|
|
129
129
|
"$ref": "#/$defs/Uri"
|
|
130
130
|
},
|
|
131
131
|
"minProperties": 1,
|
|
132
|
-
"$comment": "A ResourceType may specify a set of embedding models that convert the raw data (or one of its alternative representations) into vector embeddings. The build process enforces that the keys of this
|
|
132
|
+
"$comment": "A ResourceType may specify a set of embedding models that convert the raw data (or one of its alternative representations) into vector embeddings. The build process enforces that the keys of this dict are members of a set of predefined embedding models."
|
|
133
133
|
},
|
|
134
|
-
"
|
|
134
|
+
"generatorUriDict": {
|
|
135
135
|
"type": "object",
|
|
136
136
|
"propertyNames": {
|
|
137
137
|
"type": "string",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"$ref": "#/$defs/Uri"
|
|
142
142
|
},
|
|
143
143
|
"minProperties": 1,
|
|
144
|
-
"$comment": "A ResourceType may specify a set of generators that generate different representations of its instances from the raw file. A ToolProof Resource is always backed by a raw file. This is also true for the Resources (of type ResourceType) defined in this file! The build process enforces that the keys of this
|
|
144
|
+
"$comment": "A ResourceType may specify a set of generators that generate different representations of its instances from the raw file. A ToolProof Resource is always backed by a raw file. This is also true for the Resources (of type ResourceType) defined in this file! The build process enforces that the keys of this dict are members of a set of predefined generators. GENERATOR-Json is an identifier for a generator that generates JSON data from the raw file. If the raw file is a JSON file, GENERATOR-Json is an implicit identity operation (i.e. an operation that does nothing) and must not be present in the dict. A ResourceType may also specify other generators, such as GENERATOR-LeanTerm, which generates an instance (or 'term' in Lean jargon) of a corresponding Lean type from the raw file. ResourceTypes that specify GENERATOR-LeanTerm must also specify a corresponding GENERATOR-LeanType. While the term-version runs when data instances enter the ecosystem, the type-version runs when the ResourceType itself enters the ecosystem."
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
147
|
"allOf": [
|
|
@@ -170,7 +170,6 @@
|
|
|
170
170
|
"type": "object",
|
|
171
171
|
"allOf": [
|
|
172
172
|
{
|
|
173
|
-
"$comment": "A ResourceRole does not have a self-contained identity, as it is always defined in the context of a RoleMap. ResourceRoleValue uses the Value suffix to mean 'the value stored in this map' (RoleMap.additionalProperties).",
|
|
174
173
|
"required": [
|
|
175
174
|
"resourceTypeHandle"
|
|
176
175
|
],
|
|
@@ -187,9 +186,35 @@
|
|
|
187
186
|
},
|
|
188
187
|
"unevaluatedProperties": false
|
|
189
188
|
},
|
|
190
|
-
"
|
|
191
|
-
"identity": "TYPE-
|
|
192
|
-
"name": "
|
|
189
|
+
"ResourceRole": {
|
|
190
|
+
"identity": "TYPE-ResourceRole",
|
|
191
|
+
"name": "ResourceRole",
|
|
192
|
+
"description": "dummy-description",
|
|
193
|
+
"nucleusSchema": {
|
|
194
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
195
|
+
"type": "object",
|
|
196
|
+
"allOf": [
|
|
197
|
+
{
|
|
198
|
+
"type": "object",
|
|
199
|
+
"required": [
|
|
200
|
+
"identity"
|
|
201
|
+
],
|
|
202
|
+
"properties": {
|
|
203
|
+
"identity": {
|
|
204
|
+
"$ref": "#/$defs/ResourceRoleIdentity"
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"$ref": "#/$defs/ResourceRoleValue"
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
"unevaluatedProperties": false
|
|
214
|
+
},
|
|
215
|
+
"RoleDict": {
|
|
216
|
+
"identity": "TYPE-RoleDict",
|
|
217
|
+
"name": "RoleDict",
|
|
193
218
|
"description": "dummy-description",
|
|
194
219
|
"nucleusSchema": {
|
|
195
220
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -232,19 +257,20 @@
|
|
|
232
257
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
233
258
|
"type": "object",
|
|
234
259
|
"required": [
|
|
235
|
-
"
|
|
236
|
-
"
|
|
260
|
+
"inputDict",
|
|
261
|
+
"outputDict"
|
|
237
262
|
],
|
|
238
263
|
"properties": {
|
|
239
|
-
"
|
|
240
|
-
"$ref": "#/$defs/
|
|
264
|
+
"inputDict": {
|
|
265
|
+
"$ref": "#/$defs/RoleDict"
|
|
241
266
|
},
|
|
242
|
-
"
|
|
267
|
+
"outputDict": {
|
|
243
268
|
"allOf": [
|
|
244
269
|
{
|
|
245
|
-
"$ref": "#/$defs/
|
|
270
|
+
"$ref": "#/$defs/RoleDict"
|
|
246
271
|
},
|
|
247
272
|
{
|
|
273
|
+
"type": "object",
|
|
248
274
|
"required": [
|
|
249
275
|
"ROLE-ErrorOutput"
|
|
250
276
|
],
|
|
@@ -326,6 +352,7 @@
|
|
|
326
352
|
"$ref": "#/$defs/JobIdentity"
|
|
327
353
|
},
|
|
328
354
|
"implementationUri": {
|
|
355
|
+
"$comment": "Instances of a ResourceType that requires implementationUri are 'executable' ResourceTypes. TYPE-Job is the canonical executable ResourceType in the ecosystem.",
|
|
329
356
|
"$ref": "#/$defs/Uri"
|
|
330
357
|
}
|
|
331
358
|
},
|
|
@@ -719,7 +746,7 @@
|
|
|
719
746
|
"required": [
|
|
720
747
|
"identity",
|
|
721
748
|
"resourceTypeHandle",
|
|
722
|
-
"
|
|
749
|
+
"resourceShellKind"
|
|
723
750
|
],
|
|
724
751
|
"properties": {
|
|
725
752
|
"identity": {
|
|
@@ -728,15 +755,15 @@
|
|
|
728
755
|
"resourceTypeHandle": {
|
|
729
756
|
"$ref": "#/$defs/ResourceTypeIdentity"
|
|
730
757
|
},
|
|
731
|
-
"
|
|
732
|
-
"$ref": "#/$defs/
|
|
758
|
+
"resourceShellKind": {
|
|
759
|
+
"$ref": "#/$defs/ResourceShellKind"
|
|
733
760
|
}
|
|
734
761
|
}
|
|
735
762
|
}
|
|
736
763
|
},
|
|
737
|
-
"
|
|
738
|
-
"identity": "TYPE-
|
|
739
|
-
"name": "
|
|
764
|
+
"ResourceShellKind": {
|
|
765
|
+
"identity": "TYPE-ResourceShellKind",
|
|
766
|
+
"name": "ResourceShellKind",
|
|
740
767
|
"description": "dummy-description",
|
|
741
768
|
"nucleusSchema": {
|
|
742
769
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -749,19 +776,19 @@
|
|
|
749
776
|
]
|
|
750
777
|
}
|
|
751
778
|
},
|
|
752
|
-
"
|
|
753
|
-
"identity": "TYPE-
|
|
754
|
-
"name": "
|
|
779
|
+
"ResourceShellKindFacet": {
|
|
780
|
+
"identity": "TYPE-ResourceShellKindFacet",
|
|
781
|
+
"name": "ResourceShellKindFacet",
|
|
755
782
|
"description": "dummy-description",
|
|
756
783
|
"nucleusSchema": {
|
|
757
784
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
758
785
|
"type": "object",
|
|
759
786
|
"required": [
|
|
760
|
-
"
|
|
787
|
+
"resourceShellKind"
|
|
761
788
|
],
|
|
762
789
|
"properties": {
|
|
763
|
-
"
|
|
764
|
-
"$ref": "#/$defs/
|
|
790
|
+
"resourceShellKind": {
|
|
791
|
+
"$ref": "#/$defs/ResourceShellKind"
|
|
765
792
|
}
|
|
766
793
|
}
|
|
767
794
|
}
|
|
@@ -773,8 +800,11 @@
|
|
|
773
800
|
"nucleusSchema": {
|
|
774
801
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
775
802
|
"type": "object",
|
|
803
|
+
"required": [
|
|
804
|
+
"resourceShellKind"
|
|
805
|
+
],
|
|
776
806
|
"properties": {
|
|
777
|
-
"
|
|
807
|
+
"resourceShellKind": {
|
|
778
808
|
"const": "missing"
|
|
779
809
|
}
|
|
780
810
|
},
|
|
@@ -783,7 +813,7 @@
|
|
|
783
813
|
"$ref": "#/$defs/ResourceShellBase"
|
|
784
814
|
},
|
|
785
815
|
{
|
|
786
|
-
"$ref": "#/$defs/
|
|
816
|
+
"$ref": "#/$defs/ResourceShellKindFacet"
|
|
787
817
|
}
|
|
788
818
|
],
|
|
789
819
|
"unevaluatedProperties": false
|
|
@@ -796,8 +826,11 @@
|
|
|
796
826
|
"nucleusSchema": {
|
|
797
827
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
798
828
|
"type": "object",
|
|
829
|
+
"required": [
|
|
830
|
+
"resourceShellKind"
|
|
831
|
+
],
|
|
799
832
|
"properties": {
|
|
800
|
-
"
|
|
833
|
+
"resourceShellKind": {
|
|
801
834
|
"const": "inputPotential"
|
|
802
835
|
}
|
|
803
836
|
},
|
|
@@ -809,7 +842,7 @@
|
|
|
809
842
|
"$ref": "#/$defs/CreationContextFacet"
|
|
810
843
|
},
|
|
811
844
|
{
|
|
812
|
-
"$ref": "#/$defs/
|
|
845
|
+
"$ref": "#/$defs/ResourceShellKindFacet"
|
|
813
846
|
}
|
|
814
847
|
],
|
|
815
848
|
"unevaluatedProperties": false
|
|
@@ -822,8 +855,11 @@
|
|
|
822
855
|
"nucleusSchema": {
|
|
823
856
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
824
857
|
"type": "object",
|
|
858
|
+
"required": [
|
|
859
|
+
"resourceShellKind"
|
|
860
|
+
],
|
|
825
861
|
"properties": {
|
|
826
|
-
"
|
|
862
|
+
"resourceShellKind": {
|
|
827
863
|
"const": "outputPotential"
|
|
828
864
|
}
|
|
829
865
|
},
|
|
@@ -835,7 +871,7 @@
|
|
|
835
871
|
"$ref": "#/$defs/CreationContextFacet"
|
|
836
872
|
},
|
|
837
873
|
{
|
|
838
|
-
"$ref": "#/$defs/
|
|
874
|
+
"$ref": "#/$defs/ResourceShellKindFacet"
|
|
839
875
|
}
|
|
840
876
|
],
|
|
841
877
|
"unevaluatedProperties": false
|
|
@@ -903,13 +939,14 @@
|
|
|
903
939
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
904
940
|
"type": "object",
|
|
905
941
|
"required": [
|
|
906
|
-
"version"
|
|
942
|
+
"version",
|
|
943
|
+
"resourceShellKind"
|
|
907
944
|
],
|
|
908
945
|
"properties": {
|
|
909
946
|
"version": {
|
|
910
947
|
"const": 1
|
|
911
948
|
},
|
|
912
|
-
"
|
|
949
|
+
"resourceShellKind": {
|
|
913
950
|
"const": "materialized"
|
|
914
951
|
}
|
|
915
952
|
},
|
|
@@ -921,7 +958,7 @@
|
|
|
921
958
|
"$ref": "#/$defs/CreationContextFacet"
|
|
922
959
|
},
|
|
923
960
|
{
|
|
924
|
-
"$ref": "#/$defs/
|
|
961
|
+
"$ref": "#/$defs/ResourceShellKindFacet"
|
|
925
962
|
},
|
|
926
963
|
{
|
|
927
964
|
"$ref": "#/$defs/TimestampFacet"
|
|
@@ -976,6 +1013,27 @@
|
|
|
976
1013
|
"unevaluatedProperties": false
|
|
977
1014
|
}
|
|
978
1015
|
},
|
|
1016
|
+
"ResourcePotential": {
|
|
1017
|
+
"identity": "TYPE-ResourcePotential",
|
|
1018
|
+
"name": "ResourcePotential",
|
|
1019
|
+
"description": "dummy-description",
|
|
1020
|
+
"nucleusSchema": {
|
|
1021
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1022
|
+
"type": "object",
|
|
1023
|
+
"oneOf": [
|
|
1024
|
+
{
|
|
1025
|
+
"$ref": "#/$defs/ResourceMissing"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"$ref": "#/$defs/ResourceInputPotential"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"$ref": "#/$defs/ResourceOutputPotential"
|
|
1032
|
+
}
|
|
1033
|
+
],
|
|
1034
|
+
"unevaluatedProperties": false
|
|
1035
|
+
}
|
|
1036
|
+
},
|
|
979
1037
|
"JsonData": {
|
|
980
1038
|
"identity": "TYPE-JsonData",
|
|
981
1039
|
"name": "JsonData",
|
|
@@ -1033,15 +1091,13 @@
|
|
|
1033
1091
|
"nucleus"
|
|
1034
1092
|
],
|
|
1035
1093
|
"properties": {
|
|
1036
|
-
"nucleus":
|
|
1037
|
-
"$ref": "#/$defs/Nucleus"
|
|
1038
|
-
}
|
|
1094
|
+
"nucleus": true
|
|
1039
1095
|
}
|
|
1040
1096
|
}
|
|
1041
1097
|
},
|
|
1042
|
-
"
|
|
1043
|
-
"identity": "TYPE-
|
|
1044
|
-
"name": "
|
|
1098
|
+
"Resource": {
|
|
1099
|
+
"identity": "TYPE-Resource",
|
|
1100
|
+
"name": "Resource",
|
|
1045
1101
|
"description": "dummy-description",
|
|
1046
1102
|
"nucleusSchema": {
|
|
1047
1103
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -1058,30 +1114,6 @@
|
|
|
1058
1114
|
"unevaluatedProperties": false
|
|
1059
1115
|
}
|
|
1060
1116
|
},
|
|
1061
|
-
"Resource": {
|
|
1062
|
-
"identity": "TYPE-Resource",
|
|
1063
|
-
"name": "Resource",
|
|
1064
|
-
"description": "dummy-description",
|
|
1065
|
-
"nucleusSchema": {
|
|
1066
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1067
|
-
"type": "object",
|
|
1068
|
-
"oneOf": [
|
|
1069
|
-
{
|
|
1070
|
-
"$ref": "#/$defs/ResourceMissing"
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
"$ref": "#/$defs/ResourceInputPotential"
|
|
1074
|
-
},
|
|
1075
|
-
{
|
|
1076
|
-
"$ref": "#/$defs/ResourceOutputPotential"
|
|
1077
|
-
},
|
|
1078
|
-
{
|
|
1079
|
-
"$ref": "#/$defs/ResourceMaterialized"
|
|
1080
|
-
}
|
|
1081
|
-
],
|
|
1082
|
-
"unevaluatedProperties": false
|
|
1083
|
-
}
|
|
1084
|
-
},
|
|
1085
1117
|
"JobStepSocket": {
|
|
1086
1118
|
"identity": "TYPE-JobStepSocket",
|
|
1087
1119
|
"name": "JobStepSocket",
|
|
@@ -1093,7 +1125,14 @@
|
|
|
1093
1125
|
"$ref": "#/$defs/ResourceRoleIdentity"
|
|
1094
1126
|
},
|
|
1095
1127
|
"additionalProperties": {
|
|
1096
|
-
"
|
|
1128
|
+
"oneOf": [
|
|
1129
|
+
{
|
|
1130
|
+
"$ref": "#/$defs/ResourcePotential"
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"$ref": "#/$defs/Resource"
|
|
1134
|
+
}
|
|
1135
|
+
]
|
|
1097
1136
|
}
|
|
1098
1137
|
}
|
|
1099
1138
|
},
|
|
@@ -1237,9 +1276,9 @@
|
|
|
1237
1276
|
"pattern": "^STRATEGY_THREAD-.+$"
|
|
1238
1277
|
}
|
|
1239
1278
|
},
|
|
1240
|
-
"
|
|
1241
|
-
"identity": "TYPE-
|
|
1242
|
-
"name": "
|
|
1279
|
+
"StrategyThreadDict": {
|
|
1280
|
+
"identity": "TYPE-StrategyThreadDict",
|
|
1281
|
+
"name": "StrategyThreadDict",
|
|
1243
1282
|
"description": "dummy-description",
|
|
1244
1283
|
"nucleusSchema": {
|
|
1245
1284
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -1253,19 +1292,19 @@
|
|
|
1253
1292
|
"$comment": "Each thread contains an array of steps, allowing for sequential execution within a thread while supporting parallel execution across multiple threads."
|
|
1254
1293
|
}
|
|
1255
1294
|
},
|
|
1256
|
-
"
|
|
1257
|
-
"identity": "TYPE-
|
|
1258
|
-
"name": "
|
|
1295
|
+
"StrategyThreadDictFacet": {
|
|
1296
|
+
"identity": "TYPE-StrategyThreadDictFacet",
|
|
1297
|
+
"name": "StrategyThreadDictFacet",
|
|
1259
1298
|
"description": "dummy-description",
|
|
1260
1299
|
"nucleusSchema": {
|
|
1261
1300
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1262
1301
|
"type": "object",
|
|
1263
1302
|
"required": [
|
|
1264
|
-
"
|
|
1303
|
+
"strategyThreadDict"
|
|
1265
1304
|
],
|
|
1266
1305
|
"properties": {
|
|
1267
|
-
"
|
|
1268
|
-
"$ref": "#/$defs/
|
|
1306
|
+
"strategyThreadDict": {
|
|
1307
|
+
"$ref": "#/$defs/StrategyThreadDict"
|
|
1269
1308
|
}
|
|
1270
1309
|
}
|
|
1271
1310
|
}
|
|
@@ -1291,8 +1330,8 @@
|
|
|
1291
1330
|
},
|
|
1292
1331
|
"allOf": [
|
|
1293
1332
|
{
|
|
1294
|
-
"$comment": "The Engine runs jobs specified by steps in
|
|
1295
|
-
"$ref": "#/$defs/
|
|
1333
|
+
"$comment": "The Engine runs jobs specified by steps in strategyThreadDict. The Engine also injects repeted steps when encountering loops.",
|
|
1334
|
+
"$ref": "#/$defs/StrategyThreadDictFacet"
|
|
1296
1335
|
},
|
|
1297
1336
|
{
|
|
1298
1337
|
"$comment": "The Engine updates strategyState with materialized Resources upon job completions and runtime-provided input events. It also inserts inputPotential and outputPotential Resources upon step injections.",
|