@toolproof-npm/schema 0.1.48 → 0.1.51
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/genesis/generated/resources/Genesis.json +164 -191
- package/dist/genesis/generated/schemas/Genesis.json +157 -184
- package/dist/genesis/generated/schemas/Job.json +20 -22
- package/dist/genesis/generated/schemas/ResourceFormat.json +14 -16
- package/dist/genesis/generated/schemas/ResourceType.json +36 -33
- package/dist/genesis/generated/schemas/StatefulStrategy.json +225 -251
- package/dist/genesis/generated/schemas/StatelessStrategy.json +103 -123
- package/dist/genesis/generated/types/types.d.ts +549 -149
- package/dist/genesis/resourceTypes/Genesis.json +164 -191
- package/package.json +1 -1
|
@@ -8,31 +8,28 @@
|
|
|
8
8
|
"allOf": [
|
|
9
9
|
{
|
|
10
10
|
"$ref": "#/$defs/StepKind"
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"$ref": "#/$defs/Conditional"
|
|
19
|
-
},
|
|
20
|
-
"minItems": 1,
|
|
21
|
-
"uniqueItems": true
|
|
22
|
-
},
|
|
23
|
-
"identity": {
|
|
24
|
-
"$ref": "#/$defs/BranchStepIdentity"
|
|
25
|
-
},
|
|
26
|
-
"kind": {
|
|
27
|
-
"const": "branch"
|
|
28
|
-
}
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"cases": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"$ref": "#/$defs/Conditional"
|
|
29
18
|
},
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
19
|
+
"minItems": 1,
|
|
20
|
+
"uniqueItems": true
|
|
21
|
+
},
|
|
22
|
+
"identity": {
|
|
23
|
+
"$ref": "#/$defs/BranchStepIdentity"
|
|
24
|
+
},
|
|
25
|
+
"kind": {
|
|
26
|
+
"const": "branch"
|
|
35
27
|
}
|
|
28
|
+
},
|
|
29
|
+
"required": [
|
|
30
|
+
"identity",
|
|
31
|
+
"kind",
|
|
32
|
+
"cases"
|
|
36
33
|
],
|
|
37
34
|
"$anchor": "BranchStep"
|
|
38
35
|
},
|
|
@@ -123,26 +120,23 @@
|
|
|
123
120
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
124
121
|
"type": "object",
|
|
125
122
|
"allOf": [
|
|
126
|
-
{
|
|
127
|
-
"type": "object",
|
|
128
|
-
"properties": {
|
|
129
|
-
"identity": {
|
|
130
|
-
"$ref": "#/$defs/ExecutionIdentity"
|
|
131
|
-
},
|
|
132
|
-
"jobRef": {
|
|
133
|
-
"$ref": "#/$defs/JobIdentity"
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
"required": [
|
|
137
|
-
"identity",
|
|
138
|
-
"jobRef"
|
|
139
|
-
]
|
|
140
|
-
},
|
|
141
123
|
{
|
|
142
124
|
"$comment": "This will be overlayed at runtime to specify roleBindings corresponding to the roles of the underlying job.",
|
|
143
125
|
"$ref": "#/$defs/RoleBindingsWrapper"
|
|
144
126
|
}
|
|
145
127
|
],
|
|
128
|
+
"properties": {
|
|
129
|
+
"identity": {
|
|
130
|
+
"$ref": "#/$defs/ExecutionIdentity"
|
|
131
|
+
},
|
|
132
|
+
"jobRef": {
|
|
133
|
+
"$ref": "#/$defs/JobIdentity"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"required": [
|
|
137
|
+
"identity",
|
|
138
|
+
"jobRef"
|
|
139
|
+
],
|
|
146
140
|
"$anchor": "Execution"
|
|
147
141
|
},
|
|
148
142
|
"ExecutionIdentity": {
|
|
@@ -164,7 +158,10 @@
|
|
|
164
158
|
"type": "object",
|
|
165
159
|
"properties": {
|
|
166
160
|
"identity": {}
|
|
167
|
-
}
|
|
161
|
+
},
|
|
162
|
+
"required": [
|
|
163
|
+
"identity"
|
|
164
|
+
]
|
|
168
165
|
}
|
|
169
166
|
}
|
|
170
167
|
},
|
|
@@ -193,7 +190,10 @@
|
|
|
193
190
|
"type": "object",
|
|
194
191
|
"properties": {
|
|
195
192
|
"merit": {}
|
|
196
|
-
}
|
|
193
|
+
},
|
|
194
|
+
"required": [
|
|
195
|
+
"merit"
|
|
196
|
+
]
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
},
|
|
@@ -293,26 +293,23 @@
|
|
|
293
293
|
"allOf": [
|
|
294
294
|
{
|
|
295
295
|
"$ref": "#/$defs/StepKind"
|
|
296
|
+
}
|
|
297
|
+
],
|
|
298
|
+
"properties": {
|
|
299
|
+
"case": {
|
|
300
|
+
"$ref": "#/$defs/Conditional"
|
|
296
301
|
},
|
|
297
|
-
{
|
|
298
|
-
"
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
},
|
|
303
|
-
"identity": {
|
|
304
|
-
"$ref": "#/$defs/ForStepIdentity"
|
|
305
|
-
},
|
|
306
|
-
"kind": {
|
|
307
|
-
"const": "for"
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
"required": [
|
|
311
|
-
"identity",
|
|
312
|
-
"kind",
|
|
313
|
-
"case"
|
|
314
|
-
]
|
|
302
|
+
"identity": {
|
|
303
|
+
"$ref": "#/$defs/ForStepIdentity"
|
|
304
|
+
},
|
|
305
|
+
"kind": {
|
|
306
|
+
"const": "for"
|
|
315
307
|
}
|
|
308
|
+
},
|
|
309
|
+
"required": [
|
|
310
|
+
"identity",
|
|
311
|
+
"kind",
|
|
312
|
+
"case"
|
|
316
313
|
],
|
|
317
314
|
"$anchor": "ForStep"
|
|
318
315
|
},
|
|
@@ -537,21 +534,6 @@
|
|
|
537
534
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
538
535
|
"type": "object",
|
|
539
536
|
"allOf": [
|
|
540
|
-
{
|
|
541
|
-
"properties": {
|
|
542
|
-
"identity": {
|
|
543
|
-
"$ref": "#/$defs/JobIdentity"
|
|
544
|
-
},
|
|
545
|
-
"implementationUri": {
|
|
546
|
-
"type": "string",
|
|
547
|
-
"format": "uri"
|
|
548
|
-
}
|
|
549
|
-
},
|
|
550
|
-
"required": [
|
|
551
|
-
"identity",
|
|
552
|
-
"implementationUri"
|
|
553
|
-
]
|
|
554
|
-
},
|
|
555
537
|
{
|
|
556
538
|
"$ref": "#/$defs/Documented"
|
|
557
539
|
},
|
|
@@ -559,6 +541,19 @@
|
|
|
559
541
|
"$ref": "#/$defs/RolesWrapper"
|
|
560
542
|
}
|
|
561
543
|
],
|
|
544
|
+
"properties": {
|
|
545
|
+
"identity": {
|
|
546
|
+
"$ref": "#/$defs/JobIdentity"
|
|
547
|
+
},
|
|
548
|
+
"implementationUri": {
|
|
549
|
+
"type": "string",
|
|
550
|
+
"format": "uri"
|
|
551
|
+
}
|
|
552
|
+
},
|
|
553
|
+
"required": [
|
|
554
|
+
"identity",
|
|
555
|
+
"implementationUri"
|
|
556
|
+
],
|
|
562
557
|
"unevaluatedProperties": false,
|
|
563
558
|
"$anchor": "Job"
|
|
564
559
|
},
|
|
@@ -641,7 +636,6 @@
|
|
|
641
636
|
"required",
|
|
642
637
|
"properties"
|
|
643
638
|
],
|
|
644
|
-
"additionalProperties": false,
|
|
645
639
|
"$anchor": "MeritProp"
|
|
646
640
|
},
|
|
647
641
|
"MeritSchema": {
|
|
@@ -837,21 +831,17 @@
|
|
|
837
831
|
"ResourceBase": {
|
|
838
832
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
839
833
|
"type": "object",
|
|
840
|
-
"
|
|
841
|
-
{
|
|
842
|
-
"
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
"resourceTypeRef": {
|
|
847
|
-
"$ref": "#/$defs/ResourceTypeIdentity"
|
|
848
|
-
}
|
|
849
|
-
},
|
|
850
|
-
"required": [
|
|
851
|
-
"identity",
|
|
852
|
-
"resourceTypeRef"
|
|
853
|
-
]
|
|
834
|
+
"properties": {
|
|
835
|
+
"identity": {
|
|
836
|
+
"$ref": "#/$defs/ResourceIdentity"
|
|
837
|
+
},
|
|
838
|
+
"resourceTypeRef": {
|
|
839
|
+
"$ref": "#/$defs/ResourceTypeIdentity"
|
|
854
840
|
}
|
|
841
|
+
},
|
|
842
|
+
"required": [
|
|
843
|
+
"identity",
|
|
844
|
+
"resourceTypeRef"
|
|
855
845
|
],
|
|
856
846
|
"$anchor": "ResourceBase"
|
|
857
847
|
},
|
|
@@ -859,20 +849,18 @@
|
|
|
859
849
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
860
850
|
"type": "object",
|
|
861
851
|
"allOf": [
|
|
862
|
-
{
|
|
863
|
-
"properties": {
|
|
864
|
-
"identity": {
|
|
865
|
-
"$ref": "#/$defs/ResourceFormatIdentity"
|
|
866
|
-
}
|
|
867
|
-
},
|
|
868
|
-
"required": [
|
|
869
|
-
"identity"
|
|
870
|
-
]
|
|
871
|
-
},
|
|
872
852
|
{
|
|
873
853
|
"$ref": "#/$defs/Documented"
|
|
874
854
|
}
|
|
875
855
|
],
|
|
856
|
+
"properties": {
|
|
857
|
+
"identity": {
|
|
858
|
+
"$ref": "#/$defs/ResourceFormatIdentity"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
"required": [
|
|
862
|
+
"identity"
|
|
863
|
+
],
|
|
876
864
|
"$anchor": "ResourceFormat"
|
|
877
865
|
},
|
|
878
866
|
"ResourceFormatIdentity": {
|
|
@@ -1054,20 +1042,6 @@
|
|
|
1054
1042
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1055
1043
|
"type": "object",
|
|
1056
1044
|
"allOf": [
|
|
1057
|
-
{
|
|
1058
|
-
"properties": {
|
|
1059
|
-
"identity": {
|
|
1060
|
-
"$ref": "#/$defs/ResourceTypeIdentity"
|
|
1061
|
-
},
|
|
1062
|
-
"resourceFormatRef": {
|
|
1063
|
-
"$ref": "#/$defs/ResourceFormatIdentity"
|
|
1064
|
-
}
|
|
1065
|
-
},
|
|
1066
|
-
"required": [
|
|
1067
|
-
"identity",
|
|
1068
|
-
"resourceFormatRef"
|
|
1069
|
-
]
|
|
1070
|
-
},
|
|
1071
1045
|
{
|
|
1072
1046
|
"$ref": "#/$defs/Documented"
|
|
1073
1047
|
},
|
|
@@ -1081,29 +1055,41 @@
|
|
|
1081
1055
|
"const": "FORMAT-ApplicationJson"
|
|
1082
1056
|
}
|
|
1083
1057
|
},
|
|
1084
|
-
"$comment": "If resourceFormatRef is FORMAT-ApplicationJson, then
|
|
1058
|
+
"$comment": "If resourceFormatRef is FORMAT-ApplicationJson, then extractorUri must not be present, but if resourceFormatRef is not FORMAT-ApplicationJson, then extractorUri must be present. This is because resources of types with format FORMAT-ApplicationJson are self-contained and do not need an extractor."
|
|
1085
1059
|
},
|
|
1086
1060
|
"then": {
|
|
1087
1061
|
"not": {
|
|
1088
1062
|
"required": [
|
|
1089
|
-
"
|
|
1063
|
+
"extractorUri"
|
|
1090
1064
|
]
|
|
1091
1065
|
}
|
|
1092
1066
|
},
|
|
1093
1067
|
"else": {
|
|
1094
1068
|
"type": "object",
|
|
1095
1069
|
"properties": {
|
|
1096
|
-
"
|
|
1070
|
+
"extractorUri": {
|
|
1097
1071
|
"type": "string",
|
|
1098
1072
|
"format": "uri"
|
|
1099
1073
|
}
|
|
1100
1074
|
},
|
|
1101
1075
|
"required": [
|
|
1102
|
-
"
|
|
1076
|
+
"extractorUri"
|
|
1103
1077
|
]
|
|
1104
1078
|
}
|
|
1105
1079
|
}
|
|
1106
1080
|
],
|
|
1081
|
+
"properties": {
|
|
1082
|
+
"identity": {
|
|
1083
|
+
"$ref": "#/$defs/ResourceTypeIdentity"
|
|
1084
|
+
},
|
|
1085
|
+
"resourceFormatRef": {
|
|
1086
|
+
"$ref": "#/$defs/ResourceFormatIdentity"
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
"required": [
|
|
1090
|
+
"identity",
|
|
1091
|
+
"resourceFormatRef"
|
|
1092
|
+
],
|
|
1107
1093
|
"$anchor": "ResourceType"
|
|
1108
1094
|
},
|
|
1109
1095
|
"ResourceTypeIdentity": {
|
|
@@ -1200,24 +1186,22 @@
|
|
|
1200
1186
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1201
1187
|
"type": "object",
|
|
1202
1188
|
"allOf": [
|
|
1203
|
-
{
|
|
1204
|
-
"properties": {
|
|
1205
|
-
"identity": {
|
|
1206
|
-
"$ref": "#/$defs/StatefulStrategyIdentity"
|
|
1207
|
-
},
|
|
1208
|
-
"statelessStrategy": {
|
|
1209
|
-
"$ref": "#/$defs/StatelessStrategy"
|
|
1210
|
-
}
|
|
1211
|
-
},
|
|
1212
|
-
"required": [
|
|
1213
|
-
"identity",
|
|
1214
|
-
"statelessStrategy"
|
|
1215
|
-
]
|
|
1216
|
-
},
|
|
1217
1189
|
{
|
|
1218
1190
|
"$ref": "#/$defs/StrategyStateWrapper"
|
|
1219
1191
|
}
|
|
1220
1192
|
],
|
|
1193
|
+
"properties": {
|
|
1194
|
+
"identity": {
|
|
1195
|
+
"$ref": "#/$defs/StatefulStrategyIdentity"
|
|
1196
|
+
},
|
|
1197
|
+
"statelessStrategy": {
|
|
1198
|
+
"$ref": "#/$defs/StatelessStrategy"
|
|
1199
|
+
}
|
|
1200
|
+
},
|
|
1201
|
+
"required": [
|
|
1202
|
+
"identity",
|
|
1203
|
+
"statelessStrategy"
|
|
1204
|
+
],
|
|
1221
1205
|
"$anchor": "StatefulStrategy"
|
|
1222
1206
|
},
|
|
1223
1207
|
"StatefulStrategyIdentity": {
|
|
@@ -1229,26 +1213,21 @@
|
|
|
1229
1213
|
"StatelessStrategy": {
|
|
1230
1214
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1231
1215
|
"type": "object",
|
|
1232
|
-
"
|
|
1233
|
-
{
|
|
1234
|
-
"
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
"
|
|
1240
|
-
"type": "array",
|
|
1241
|
-
"items": {
|
|
1242
|
-
"$ref": "#/$defs/Step"
|
|
1243
|
-
},
|
|
1244
|
-
"uniqueItems": true
|
|
1245
|
-
}
|
|
1216
|
+
"properties": {
|
|
1217
|
+
"identity": {
|
|
1218
|
+
"$ref": "#/$defs/StatelessStrategyIdentity"
|
|
1219
|
+
},
|
|
1220
|
+
"steps": {
|
|
1221
|
+
"type": "array",
|
|
1222
|
+
"items": {
|
|
1223
|
+
"$ref": "#/$defs/Step"
|
|
1246
1224
|
},
|
|
1247
|
-
"
|
|
1248
|
-
"identity",
|
|
1249
|
-
"steps"
|
|
1250
|
-
]
|
|
1225
|
+
"uniqueItems": true
|
|
1251
1226
|
}
|
|
1227
|
+
},
|
|
1228
|
+
"required": [
|
|
1229
|
+
"identity",
|
|
1230
|
+
"steps"
|
|
1252
1231
|
],
|
|
1253
1232
|
"unevaluatedProperties": false,
|
|
1254
1233
|
"$anchor": "StatelessStrategy"
|
|
@@ -1361,26 +1340,23 @@
|
|
|
1361
1340
|
"allOf": [
|
|
1362
1341
|
{
|
|
1363
1342
|
"$ref": "#/$defs/StepKind"
|
|
1343
|
+
}
|
|
1344
|
+
],
|
|
1345
|
+
"properties": {
|
|
1346
|
+
"case": {
|
|
1347
|
+
"$ref": "#/$defs/Conditional"
|
|
1364
1348
|
},
|
|
1365
|
-
{
|
|
1366
|
-
"
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
},
|
|
1371
|
-
"identity": {
|
|
1372
|
-
"$ref": "#/$defs/WhileStepIdentity"
|
|
1373
|
-
},
|
|
1374
|
-
"kind": {
|
|
1375
|
-
"const": "while"
|
|
1376
|
-
}
|
|
1377
|
-
},
|
|
1378
|
-
"required": [
|
|
1379
|
-
"identity",
|
|
1380
|
-
"kind",
|
|
1381
|
-
"case"
|
|
1382
|
-
]
|
|
1349
|
+
"identity": {
|
|
1350
|
+
"$ref": "#/$defs/WhileStepIdentity"
|
|
1351
|
+
},
|
|
1352
|
+
"kind": {
|
|
1353
|
+
"const": "while"
|
|
1383
1354
|
}
|
|
1355
|
+
},
|
|
1356
|
+
"required": [
|
|
1357
|
+
"identity",
|
|
1358
|
+
"kind",
|
|
1359
|
+
"case"
|
|
1384
1360
|
],
|
|
1385
1361
|
"$anchor": "WhileStep"
|
|
1386
1362
|
},
|
|
@@ -1396,26 +1372,23 @@
|
|
|
1396
1372
|
"allOf": [
|
|
1397
1373
|
{
|
|
1398
1374
|
"$ref": "#/$defs/StepKind"
|
|
1375
|
+
}
|
|
1376
|
+
],
|
|
1377
|
+
"properties": {
|
|
1378
|
+
"execution": {
|
|
1379
|
+
"$ref": "#/$defs/Execution"
|
|
1399
1380
|
},
|
|
1400
|
-
{
|
|
1401
|
-
"
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
},
|
|
1406
|
-
"identity": {
|
|
1407
|
-
"$ref": "#/$defs/WorkStepIdentity"
|
|
1408
|
-
},
|
|
1409
|
-
"kind": {
|
|
1410
|
-
"const": "work"
|
|
1411
|
-
}
|
|
1412
|
-
},
|
|
1413
|
-
"required": [
|
|
1414
|
-
"identity",
|
|
1415
|
-
"kind",
|
|
1416
|
-
"execution"
|
|
1417
|
-
]
|
|
1381
|
+
"identity": {
|
|
1382
|
+
"$ref": "#/$defs/WorkStepIdentity"
|
|
1383
|
+
},
|
|
1384
|
+
"kind": {
|
|
1385
|
+
"const": "work"
|
|
1418
1386
|
}
|
|
1387
|
+
},
|
|
1388
|
+
"required": [
|
|
1389
|
+
"identity",
|
|
1390
|
+
"kind",
|
|
1391
|
+
"execution"
|
|
1419
1392
|
],
|
|
1420
1393
|
"$anchor": "WorkStep"
|
|
1421
1394
|
},
|
|
@@ -2,21 +2,6 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"type": "object",
|
|
4
4
|
"allOf": [
|
|
5
|
-
{
|
|
6
|
-
"properties": {
|
|
7
|
-
"identity": {
|
|
8
|
-
"$ref": "#/$defs/JobIdentity"
|
|
9
|
-
},
|
|
10
|
-
"implementationUri": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"format": "uri"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"required": [
|
|
16
|
-
"identity",
|
|
17
|
-
"implementationUri"
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
5
|
{
|
|
21
6
|
"$ref": "#/$defs/Documented"
|
|
22
7
|
},
|
|
@@ -24,16 +9,22 @@
|
|
|
24
9
|
"$ref": "#/$defs/RolesWrapper"
|
|
25
10
|
}
|
|
26
11
|
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"identity": {
|
|
14
|
+
"$ref": "#/$defs/JobIdentity"
|
|
15
|
+
},
|
|
16
|
+
"implementationUri": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"format": "uri"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"identity",
|
|
23
|
+
"implementationUri"
|
|
24
|
+
],
|
|
27
25
|
"unevaluatedProperties": false,
|
|
28
26
|
"$anchor": "Job",
|
|
29
27
|
"$defs": {
|
|
30
|
-
"JobIdentity": {
|
|
31
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
32
|
-
"type": "string",
|
|
33
|
-
"$anchor": "JobIdentity",
|
|
34
|
-
"$comment": "",
|
|
35
|
-
"pattern": "^JOB-.+$"
|
|
36
|
-
},
|
|
37
28
|
"Documented": {
|
|
38
29
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
39
30
|
"type": "object",
|
|
@@ -60,6 +51,13 @@
|
|
|
60
51
|
],
|
|
61
52
|
"$anchor": "RolesWrapper"
|
|
62
53
|
},
|
|
54
|
+
"JobIdentity": {
|
|
55
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
56
|
+
"type": "string",
|
|
57
|
+
"$anchor": "JobIdentity",
|
|
58
|
+
"$comment": "",
|
|
59
|
+
"pattern": "^JOB-.+$"
|
|
60
|
+
},
|
|
63
61
|
"Named": {
|
|
64
62
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
65
63
|
"type": "object",
|
|
@@ -2,28 +2,20 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"type": "object",
|
|
4
4
|
"allOf": [
|
|
5
|
-
{
|
|
6
|
-
"properties": {
|
|
7
|
-
"identity": {
|
|
8
|
-
"$ref": "#/$defs/ResourceFormatIdentity"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"required": [
|
|
12
|
-
"identity"
|
|
13
|
-
]
|
|
14
|
-
},
|
|
15
5
|
{
|
|
16
6
|
"$ref": "#/$defs/Documented"
|
|
17
7
|
}
|
|
18
8
|
],
|
|
9
|
+
"properties": {
|
|
10
|
+
"identity": {
|
|
11
|
+
"$ref": "#/$defs/ResourceFormatIdentity"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": [
|
|
15
|
+
"identity"
|
|
16
|
+
],
|
|
19
17
|
"$anchor": "ResourceFormat",
|
|
20
18
|
"$defs": {
|
|
21
|
-
"ResourceFormatIdentity": {
|
|
22
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
23
|
-
"type": "string",
|
|
24
|
-
"$anchor": "ResourceFormatIdentity",
|
|
25
|
-
"pattern": "^FORMAT-.+$"
|
|
26
|
-
},
|
|
27
19
|
"Documented": {
|
|
28
20
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
29
21
|
"type": "object",
|
|
@@ -37,6 +29,12 @@
|
|
|
37
29
|
],
|
|
38
30
|
"$anchor": "Documented"
|
|
39
31
|
},
|
|
32
|
+
"ResourceFormatIdentity": {
|
|
33
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"$anchor": "ResourceFormatIdentity",
|
|
36
|
+
"pattern": "^FORMAT-.+$"
|
|
37
|
+
},
|
|
40
38
|
"Named": {
|
|
41
39
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
42
40
|
"type": "object",
|