@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
|
@@ -1,7 +1,7 @@
|
|
|
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
|
-
"$id": "https://schemas.toolproof.com/
|
|
4
|
+
"$id": "https://schemas.toolproof.com/v1/Genesis.json",
|
|
5
5
|
"$defs": {
|
|
6
6
|
"Name": {
|
|
7
7
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"$ref": "#/$defs/ResourceTypeIdentity"
|
|
77
77
|
},
|
|
78
78
|
"nucleusSchema": true,
|
|
79
|
-
"
|
|
79
|
+
"embeddingUriDict": {
|
|
80
80
|
"type": "object",
|
|
81
81
|
"propertyNames": {
|
|
82
82
|
"type": "string",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
"$ref": "#/$defs/Uri"
|
|
87
87
|
},
|
|
88
88
|
"minProperties": 1,
|
|
89
|
-
"$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
|
|
89
|
+
"$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."
|
|
90
90
|
},
|
|
91
|
-
"
|
|
91
|
+
"generatorUriDict": {
|
|
92
92
|
"type": "object",
|
|
93
93
|
"propertyNames": {
|
|
94
94
|
"type": "string",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"$ref": "#/$defs/Uri"
|
|
99
99
|
},
|
|
100
100
|
"minProperties": 1,
|
|
101
|
-
"$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
|
|
101
|
+
"$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."
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"allOf": [
|
|
@@ -117,7 +117,6 @@
|
|
|
117
117
|
"type": "object",
|
|
118
118
|
"allOf": [
|
|
119
119
|
{
|
|
120
|
-
"$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).",
|
|
121
120
|
"required": [
|
|
122
121
|
"resourceTypeHandle"
|
|
123
122
|
],
|
|
@@ -132,7 +131,27 @@
|
|
|
132
131
|
}
|
|
133
132
|
]
|
|
134
133
|
},
|
|
135
|
-
"
|
|
134
|
+
"ResourceRole": {
|
|
135
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
136
|
+
"type": "object",
|
|
137
|
+
"allOf": [
|
|
138
|
+
{
|
|
139
|
+
"type": "object",
|
|
140
|
+
"required": [
|
|
141
|
+
"identity"
|
|
142
|
+
],
|
|
143
|
+
"properties": {
|
|
144
|
+
"identity": {
|
|
145
|
+
"$ref": "#/$defs/ResourceRoleIdentity"
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"$ref": "#/$defs/ResourceRoleValue"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"RoleDict": {
|
|
136
155
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
137
156
|
"type": "object",
|
|
138
157
|
"propertyNames": {
|
|
@@ -163,19 +182,20 @@
|
|
|
163
182
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
164
183
|
"type": "object",
|
|
165
184
|
"required": [
|
|
166
|
-
"
|
|
167
|
-
"
|
|
185
|
+
"inputDict",
|
|
186
|
+
"outputDict"
|
|
168
187
|
],
|
|
169
188
|
"properties": {
|
|
170
|
-
"
|
|
171
|
-
"$ref": "#/$defs/
|
|
189
|
+
"inputDict": {
|
|
190
|
+
"$ref": "#/$defs/RoleDict"
|
|
172
191
|
},
|
|
173
|
-
"
|
|
192
|
+
"outputDict": {
|
|
174
193
|
"allOf": [
|
|
175
194
|
{
|
|
176
|
-
"$ref": "#/$defs/
|
|
195
|
+
"$ref": "#/$defs/RoleDict"
|
|
177
196
|
},
|
|
178
197
|
{
|
|
198
|
+
"type": "object",
|
|
179
199
|
"required": [
|
|
180
200
|
"ROLE-ErrorOutput"
|
|
181
201
|
],
|
|
@@ -242,6 +262,7 @@
|
|
|
242
262
|
"$ref": "#/$defs/JobIdentity"
|
|
243
263
|
},
|
|
244
264
|
"implementationUri": {
|
|
265
|
+
"$comment": "Instances of a ResourceType that requires implementationUri are 'executable' ResourceTypes. TYPE-Job is the canonical executable ResourceType in the ecosystem.",
|
|
245
266
|
"$ref": "#/$defs/Uri"
|
|
246
267
|
}
|
|
247
268
|
},
|
|
@@ -534,7 +555,7 @@
|
|
|
534
555
|
"required": [
|
|
535
556
|
"identity",
|
|
536
557
|
"resourceTypeHandle",
|
|
537
|
-
"
|
|
558
|
+
"resourceShellKind"
|
|
538
559
|
],
|
|
539
560
|
"properties": {
|
|
540
561
|
"identity": {
|
|
@@ -543,12 +564,12 @@
|
|
|
543
564
|
"resourceTypeHandle": {
|
|
544
565
|
"$ref": "#/$defs/ResourceTypeIdentity"
|
|
545
566
|
},
|
|
546
|
-
"
|
|
547
|
-
"$ref": "#/$defs/
|
|
567
|
+
"resourceShellKind": {
|
|
568
|
+
"$ref": "#/$defs/ResourceShellKind"
|
|
548
569
|
}
|
|
549
570
|
}
|
|
550
571
|
},
|
|
551
|
-
"
|
|
572
|
+
"ResourceShellKind": {
|
|
552
573
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
553
574
|
"type": "string",
|
|
554
575
|
"enum": [
|
|
@@ -558,23 +579,26 @@
|
|
|
558
579
|
"materialized"
|
|
559
580
|
]
|
|
560
581
|
},
|
|
561
|
-
"
|
|
582
|
+
"ResourceShellKindFacet": {
|
|
562
583
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
563
584
|
"type": "object",
|
|
564
585
|
"required": [
|
|
565
|
-
"
|
|
586
|
+
"resourceShellKind"
|
|
566
587
|
],
|
|
567
588
|
"properties": {
|
|
568
|
-
"
|
|
569
|
-
"$ref": "#/$defs/
|
|
589
|
+
"resourceShellKind": {
|
|
590
|
+
"$ref": "#/$defs/ResourceShellKind"
|
|
570
591
|
}
|
|
571
592
|
}
|
|
572
593
|
},
|
|
573
594
|
"ShellMissing": {
|
|
574
595
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
575
596
|
"type": "object",
|
|
597
|
+
"required": [
|
|
598
|
+
"resourceShellKind"
|
|
599
|
+
],
|
|
576
600
|
"properties": {
|
|
577
|
-
"
|
|
601
|
+
"resourceShellKind": {
|
|
578
602
|
"const": "missing"
|
|
579
603
|
}
|
|
580
604
|
},
|
|
@@ -583,7 +607,7 @@
|
|
|
583
607
|
"$ref": "#/$defs/ResourceShellBase"
|
|
584
608
|
},
|
|
585
609
|
{
|
|
586
|
-
"$ref": "#/$defs/
|
|
610
|
+
"$ref": "#/$defs/ResourceShellKindFacet"
|
|
587
611
|
}
|
|
588
612
|
],
|
|
589
613
|
"unevaluatedProperties": false
|
|
@@ -591,8 +615,11 @@
|
|
|
591
615
|
"ShellInputPotential": {
|
|
592
616
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
593
617
|
"type": "object",
|
|
618
|
+
"required": [
|
|
619
|
+
"resourceShellKind"
|
|
620
|
+
],
|
|
594
621
|
"properties": {
|
|
595
|
-
"
|
|
622
|
+
"resourceShellKind": {
|
|
596
623
|
"const": "inputPotential"
|
|
597
624
|
}
|
|
598
625
|
},
|
|
@@ -604,7 +631,7 @@
|
|
|
604
631
|
"$ref": "#/$defs/CreationContextFacet"
|
|
605
632
|
},
|
|
606
633
|
{
|
|
607
|
-
"$ref": "#/$defs/
|
|
634
|
+
"$ref": "#/$defs/ResourceShellKindFacet"
|
|
608
635
|
}
|
|
609
636
|
],
|
|
610
637
|
"unevaluatedProperties": false
|
|
@@ -612,8 +639,11 @@
|
|
|
612
639
|
"ShellOutputPotential": {
|
|
613
640
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
614
641
|
"type": "object",
|
|
642
|
+
"required": [
|
|
643
|
+
"resourceShellKind"
|
|
644
|
+
],
|
|
615
645
|
"properties": {
|
|
616
|
-
"
|
|
646
|
+
"resourceShellKind": {
|
|
617
647
|
"const": "outputPotential"
|
|
618
648
|
}
|
|
619
649
|
},
|
|
@@ -625,7 +655,7 @@
|
|
|
625
655
|
"$ref": "#/$defs/CreationContextFacet"
|
|
626
656
|
},
|
|
627
657
|
{
|
|
628
|
-
"$ref": "#/$defs/
|
|
658
|
+
"$ref": "#/$defs/ResourceShellKindFacet"
|
|
629
659
|
}
|
|
630
660
|
],
|
|
631
661
|
"unevaluatedProperties": false
|
|
@@ -668,13 +698,14 @@
|
|
|
668
698
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
669
699
|
"type": "object",
|
|
670
700
|
"required": [
|
|
671
|
-
"version"
|
|
701
|
+
"version",
|
|
702
|
+
"resourceShellKind"
|
|
672
703
|
],
|
|
673
704
|
"properties": {
|
|
674
705
|
"version": {
|
|
675
706
|
"const": 1
|
|
676
707
|
},
|
|
677
|
-
"
|
|
708
|
+
"resourceShellKind": {
|
|
678
709
|
"const": "materialized"
|
|
679
710
|
}
|
|
680
711
|
},
|
|
@@ -686,7 +717,7 @@
|
|
|
686
717
|
"$ref": "#/$defs/CreationContextFacet"
|
|
687
718
|
},
|
|
688
719
|
{
|
|
689
|
-
"$ref": "#/$defs/
|
|
720
|
+
"$ref": "#/$defs/ResourceShellKindFacet"
|
|
690
721
|
},
|
|
691
722
|
{
|
|
692
723
|
"$ref": "#/$defs/TimestampFacet"
|
|
@@ -720,6 +751,22 @@
|
|
|
720
751
|
"$ref": "#/$defs/ShellOutputPotential",
|
|
721
752
|
"unevaluatedProperties": false
|
|
722
753
|
},
|
|
754
|
+
"ResourcePotential": {
|
|
755
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
756
|
+
"type": "object",
|
|
757
|
+
"oneOf": [
|
|
758
|
+
{
|
|
759
|
+
"$ref": "#/$defs/ResourceMissing"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"$ref": "#/$defs/ResourceInputPotential"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"$ref": "#/$defs/ResourceOutputPotential"
|
|
766
|
+
}
|
|
767
|
+
],
|
|
768
|
+
"unevaluatedProperties": false
|
|
769
|
+
},
|
|
723
770
|
"JsonData": {
|
|
724
771
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
725
772
|
"oneOf": [
|
|
@@ -763,12 +810,10 @@
|
|
|
763
810
|
"nucleus"
|
|
764
811
|
],
|
|
765
812
|
"properties": {
|
|
766
|
-
"nucleus":
|
|
767
|
-
"$ref": "#/$defs/Nucleus"
|
|
768
|
-
}
|
|
813
|
+
"nucleus": true
|
|
769
814
|
}
|
|
770
815
|
},
|
|
771
|
-
"
|
|
816
|
+
"Resource": {
|
|
772
817
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
773
818
|
"type": "object",
|
|
774
819
|
"allOf": [
|
|
@@ -782,25 +827,6 @@
|
|
|
782
827
|
],
|
|
783
828
|
"unevaluatedProperties": false
|
|
784
829
|
},
|
|
785
|
-
"Resource": {
|
|
786
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
787
|
-
"type": "object",
|
|
788
|
-
"oneOf": [
|
|
789
|
-
{
|
|
790
|
-
"$ref": "#/$defs/ResourceMissing"
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
"$ref": "#/$defs/ResourceInputPotential"
|
|
794
|
-
},
|
|
795
|
-
{
|
|
796
|
-
"$ref": "#/$defs/ResourceOutputPotential"
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
"$ref": "#/$defs/ResourceMaterialized"
|
|
800
|
-
}
|
|
801
|
-
],
|
|
802
|
-
"unevaluatedProperties": false
|
|
803
|
-
},
|
|
804
830
|
"JobStepSocket": {
|
|
805
831
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
806
832
|
"type": "object",
|
|
@@ -808,7 +834,14 @@
|
|
|
808
834
|
"$ref": "#/$defs/ResourceRoleIdentity"
|
|
809
835
|
},
|
|
810
836
|
"additionalProperties": {
|
|
811
|
-
"
|
|
837
|
+
"oneOf": [
|
|
838
|
+
{
|
|
839
|
+
"$ref": "#/$defs/ResourcePotential"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"$ref": "#/$defs/Resource"
|
|
843
|
+
}
|
|
844
|
+
]
|
|
812
845
|
}
|
|
813
846
|
},
|
|
814
847
|
"StrategyState": {
|
|
@@ -906,7 +939,7 @@
|
|
|
906
939
|
"type": "string",
|
|
907
940
|
"pattern": "^STRATEGY_THREAD-.+$"
|
|
908
941
|
},
|
|
909
|
-
"
|
|
942
|
+
"StrategyThreadDict": {
|
|
910
943
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
911
944
|
"type": "object",
|
|
912
945
|
"propertyNames": {
|
|
@@ -917,15 +950,15 @@
|
|
|
917
950
|
},
|
|
918
951
|
"$comment": "Each thread contains an array of steps, allowing for sequential execution within a thread while supporting parallel execution across multiple threads."
|
|
919
952
|
},
|
|
920
|
-
"
|
|
953
|
+
"StrategyThreadDictFacet": {
|
|
921
954
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
922
955
|
"type": "object",
|
|
923
956
|
"required": [
|
|
924
|
-
"
|
|
957
|
+
"strategyThreadDict"
|
|
925
958
|
],
|
|
926
959
|
"properties": {
|
|
927
|
-
"
|
|
928
|
-
"$ref": "#/$defs/
|
|
960
|
+
"strategyThreadDict": {
|
|
961
|
+
"$ref": "#/$defs/StrategyThreadDict"
|
|
929
962
|
}
|
|
930
963
|
}
|
|
931
964
|
},
|
|
@@ -946,8 +979,8 @@
|
|
|
946
979
|
},
|
|
947
980
|
"allOf": [
|
|
948
981
|
{
|
|
949
|
-
"$comment": "The Engine runs jobs specified by steps in
|
|
950
|
-
"$ref": "#/$defs/
|
|
982
|
+
"$comment": "The Engine runs jobs specified by steps in strategyThreadDict. The Engine also injects repeted steps when encountering loops.",
|
|
983
|
+
"$ref": "#/$defs/StrategyThreadDictFacet"
|
|
951
984
|
},
|
|
952
985
|
{
|
|
953
986
|
"$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.",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"$ref": "#/$defs/JobIdentity"
|
|
11
11
|
},
|
|
12
12
|
"implementationUri": {
|
|
13
|
+
"$comment": "Instances of a ResourceType that requires implementationUri are 'executable' ResourceTypes. TYPE-Job is the canonical executable ResourceType in the ecosystem.",
|
|
13
14
|
"$ref": "#/$defs/Uri"
|
|
14
15
|
}
|
|
15
16
|
},
|
|
@@ -85,19 +86,20 @@
|
|
|
85
86
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
86
87
|
"type": "object",
|
|
87
88
|
"required": [
|
|
88
|
-
"
|
|
89
|
-
"
|
|
89
|
+
"inputDict",
|
|
90
|
+
"outputDict"
|
|
90
91
|
],
|
|
91
92
|
"properties": {
|
|
92
|
-
"
|
|
93
|
-
"$ref": "#/$defs/
|
|
93
|
+
"inputDict": {
|
|
94
|
+
"$ref": "#/$defs/RoleDict"
|
|
94
95
|
},
|
|
95
|
-
"
|
|
96
|
+
"outputDict": {
|
|
96
97
|
"allOf": [
|
|
97
98
|
{
|
|
98
|
-
"$ref": "#/$defs/
|
|
99
|
+
"$ref": "#/$defs/RoleDict"
|
|
99
100
|
},
|
|
100
101
|
{
|
|
102
|
+
"type": "object",
|
|
101
103
|
"required": [
|
|
102
104
|
"ROLE-ErrorOutput"
|
|
103
105
|
],
|
|
@@ -150,7 +152,7 @@
|
|
|
150
152
|
"$comment": "Validation is intercepted by an AI Agent that verifies the description against Toolproof's documentation standards.",
|
|
151
153
|
"semanticValidation": "Ajv custom keyword to verify description."
|
|
152
154
|
},
|
|
153
|
-
"
|
|
155
|
+
"RoleDict": {
|
|
154
156
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
155
157
|
"type": "object",
|
|
156
158
|
"propertyNames": {
|
|
@@ -165,7 +167,6 @@
|
|
|
165
167
|
"type": "object",
|
|
166
168
|
"allOf": [
|
|
167
169
|
{
|
|
168
|
-
"$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).",
|
|
169
170
|
"required": [
|
|
170
171
|
"resourceTypeHandle"
|
|
171
172
|
],
|