@toolproof-npm/schema 0.1.34 → 0.1.36

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 (53) hide show
  1. package/dist/_lib/test.js +12 -12
  2. package/dist/_lib/types/Resource_Job.d.ts +55 -0
  3. package/dist/_lib/types/Resource_ResourceFormat.d.ts +40 -0
  4. package/dist/_lib/types/Resource_ResourceFormat.js +1 -0
  5. package/dist/_lib/types/Resource_ResourceType.d.ts +61 -0
  6. package/dist/_lib/types/Resource_ResourceType.js +1 -0
  7. package/dist/_lib/types/Resource_StatelessStrategy.d.ts +79 -0
  8. package/dist/_lib/types/Resource_StatelessStrategy.js +1 -0
  9. package/dist/_lib/types/types.d.ts +495 -355
  10. package/dist/genesis/generated/resources/Genesis.d.ts +2 -0
  11. package/dist/genesis/generated/resources/Genesis.js +2 -0
  12. package/dist/genesis/generated/resources/Genesis.json +2120 -0
  13. package/dist/{schemas → genesis/generated/schemas}/Genesis.json +273 -345
  14. package/dist/{schemas → genesis/generated/schemas}/Job.json +24 -26
  15. package/dist/genesis/generated/schemas/ResourceFormat.d.ts +2 -0
  16. package/dist/genesis/generated/schemas/ResourceFormat.js +2 -0
  17. package/dist/genesis/generated/schemas/ResourceFormat.json +74 -0
  18. package/dist/genesis/generated/schemas/ResourceType.d.ts +2 -0
  19. package/dist/genesis/generated/schemas/ResourceType.js +2 -0
  20. package/dist/genesis/generated/schemas/ResourceType.json +368 -0
  21. package/dist/genesis/generated/schemas/StatefulStrategy.d.ts +2 -0
  22. package/dist/genesis/generated/schemas/StatefulStrategy.js +2 -0
  23. package/dist/genesis/generated/schemas/StatefulStrategy.json +647 -0
  24. package/dist/genesis/generated/schemas/StatelessStrategy.d.ts +2 -0
  25. package/dist/genesis/generated/schemas/StatelessStrategy.js +2 -0
  26. package/dist/genesis/generated/schemas/StatelessStrategy.json +324 -0
  27. package/dist/genesis/resourceTypes/Genesis.d.ts +2 -0
  28. package/dist/genesis/resourceTypes/Genesis.js +2 -0
  29. package/dist/genesis/resourceTypes/Genesis.json +1530 -0
  30. package/dist/index.d.ts +8 -5
  31. package/dist/index.js +4 -3
  32. package/dist/scripts/_lib/config.d.ts +45 -0
  33. package/dist/scripts/_lib/config.js +109 -0
  34. package/dist/scripts/brandFactories.d.ts +5 -5
  35. package/dist/scripts/brandFactories.js +4 -5
  36. package/dist/scripts/extractSchemas.js +33 -8
  37. package/dist/scripts/extractSubschemaWithDefs.js +36 -7
  38. package/dist/scripts/generateResourceEnvelopes.js +77 -0
  39. package/dist/scripts/generateResourceTypeType.d.ts +1 -0
  40. package/dist/scripts/{generateResourceData.js → generateResourceTypeType.js} +21 -19
  41. package/dist/scripts/generateSchemaShims.d.ts +1 -0
  42. package/dist/scripts/generateSchemaShims.js +63 -0
  43. package/dist/scripts/generateTypes.js +125 -83
  44. package/dist/scripts/rewriteAnchors.d.ts +1 -0
  45. package/dist/scripts/rewriteAnchors.js +90 -0
  46. package/package.json +6 -3
  47. package/dist/_lib/types/ResourceData_Job.d.ts +0 -97
  48. /package/dist/_lib/types/{ResourceData_Job.js → Resource_Job.js} +0 -0
  49. /package/dist/{schemas → genesis/generated/schemas}/Genesis.d.ts +0 -0
  50. /package/dist/{schemas → genesis/generated/schemas}/Genesis.js +0 -0
  51. /package/dist/{schemas → genesis/generated/schemas}/Job.d.ts +0 -0
  52. /package/dist/{schemas → genesis/generated/schemas}/Job.js +0 -0
  53. /package/dist/scripts/{generateResourceData.d.ts → generateResourceEnvelopes.d.ts} +0 -0
@@ -0,0 +1,2120 @@
1
+ {
2
+ "Genesis": {
3
+ "identity": "RESOURCE-Genesis",
4
+ "resourceTypeId": "TYPE-ResourceType",
5
+ "creationContext": {
6
+ "resourceRoleId": "ROLE-Genesis",
7
+ "executionId": "EXECUTION-Genesis"
8
+ },
9
+ "kind": "materialized",
10
+ "timestamp": "2025-11-30T00:00:00.000Z",
11
+ "extractedData": {}
12
+ },
13
+ "Name": {
14
+ "identity": "RESOURCE-Name",
15
+ "resourceTypeId": "TYPE-ResourceType",
16
+ "creationContext": {
17
+ "resourceRoleId": "ROLE-Genesis",
18
+ "executionId": "EXECUTION-Name"
19
+ },
20
+ "kind": "materialized",
21
+ "timestamp": "2025-11-30T00:00:00.000Z",
22
+ "extractedData": {
23
+ "identity": "TYPE-Name",
24
+ "name": "Name",
25
+ "description": "dummy-description",
26
+ "resourceFormatId": "FORMAT-ApplicationJson",
27
+ "extractionSchema": {
28
+ "$anchor": "Name",
29
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
30
+ "type": "object",
31
+ "required": [
32
+ "name"
33
+ ],
34
+ "properties": {
35
+ "name": {
36
+ "type": "string",
37
+ "minLength": 1,
38
+ "pattern": "^(?:[A-Z].*|[a-z]+/[a-z0-9.+-]+)$",
39
+ "$comment": "Validation is intercepted by an AI Agent that verifies the name against Toolproof's naming conventions.",
40
+ "semanticValidation": "Ajv custom keyword to verify name."
41
+ }
42
+ }
43
+ }
44
+ }
45
+ },
46
+ "Description": {
47
+ "identity": "RESOURCE-Description",
48
+ "resourceTypeId": "TYPE-ResourceType",
49
+ "creationContext": {
50
+ "resourceRoleId": "ROLE-Genesis",
51
+ "executionId": "EXECUTION-Description"
52
+ },
53
+ "kind": "materialized",
54
+ "timestamp": "2025-11-30T00:00:00.000Z",
55
+ "extractedData": {
56
+ "identity": "TYPE-Description",
57
+ "name": "Description",
58
+ "description": "dummy-description",
59
+ "resourceFormatId": "FORMAT-ApplicationJson",
60
+ "extractionSchema": {
61
+ "$anchor": "Description",
62
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
63
+ "type": "object",
64
+ "required": [
65
+ "description"
66
+ ],
67
+ "properties": {
68
+ "description": {
69
+ "type": "string",
70
+ "minLength": 1,
71
+ "$comment": "Validation is intercepted by an AI Agent that verifies the description against Toolproof's documentation standards.",
72
+ "semanticValidation": "Ajv custom keyword to verify description."
73
+ }
74
+ }
75
+ }
76
+ }
77
+ },
78
+ "Documented": {
79
+ "identity": "RESOURCE-Documented",
80
+ "resourceTypeId": "TYPE-ResourceType",
81
+ "creationContext": {
82
+ "resourceRoleId": "ROLE-Genesis",
83
+ "executionId": "EXECUTION-Documented"
84
+ },
85
+ "kind": "materialized",
86
+ "timestamp": "2025-11-30T00:00:00.000Z",
87
+ "extractedData": {
88
+ "identity": "TYPE-Documented",
89
+ "name": "Documented",
90
+ "description": "dummy-description",
91
+ "resourceFormatId": "FORMAT-ApplicationJson",
92
+ "extractionSchema": {
93
+ "$anchor": "Documented",
94
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
95
+ "type": "object",
96
+ "allOf": [
97
+ {
98
+ "$ref": "#/$defs/Name"
99
+ },
100
+ {
101
+ "$ref": "#/$defs/Description"
102
+ }
103
+ ]
104
+ }
105
+ }
106
+ },
107
+ "IdentityValue": {
108
+ "identity": "RESOURCE-IdentityValue",
109
+ "resourceTypeId": "TYPE-ResourceType",
110
+ "creationContext": {
111
+ "resourceRoleId": "ROLE-Genesis",
112
+ "executionId": "EXECUTION-IdentityValue"
113
+ },
114
+ "kind": "materialized",
115
+ "timestamp": "2025-11-30T00:00:00.000Z",
116
+ "extractedData": {
117
+ "identity": "TYPE-IdentityValue",
118
+ "name": "IdentityValue",
119
+ "description": "dummy-description",
120
+ "resourceFormatId": "FORMAT-ApplicationJson",
121
+ "extractionSchema": {
122
+ "$anchor": "IdentityValue",
123
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
124
+ "type": "object",
125
+ "required": [
126
+ "$ref"
127
+ ],
128
+ "properties": {
129
+ "$ref": {
130
+ "type": "string",
131
+ "$comment": "Anchors-only: use #<Name>Id for identity refs. Top-level and nested $defs should expose an $anchor matching <Name>Id.",
132
+ "pattern": "^#[A-Za-z][A-Za-z0-9._-]*Id$"
133
+ }
134
+ },
135
+ "additionalProperties": false
136
+ }
137
+ }
138
+ },
139
+ "IdSchemaValue": {
140
+ "identity": "RESOURCE-IdSchemaValue",
141
+ "resourceTypeId": "TYPE-ResourceType",
142
+ "creationContext": {
143
+ "resourceRoleId": "ROLE-Genesis",
144
+ "executionId": "EXECUTION-IdSchemaValue"
145
+ },
146
+ "kind": "materialized",
147
+ "timestamp": "2025-11-30T00:00:00.000Z",
148
+ "extractedData": {
149
+ "identity": "TYPE-IdSchemaValue",
150
+ "name": "IdSchemaValue",
151
+ "description": "dummy-description",
152
+ "resourceFormatId": "FORMAT-ApplicationJson",
153
+ "extractionSchema": {
154
+ "$anchor": "IdSchemaValue",
155
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
156
+ "type": "object",
157
+ "required": [
158
+ "type",
159
+ "pattern"
160
+ ],
161
+ "properties": {
162
+ "type": {
163
+ "const": "string"
164
+ },
165
+ "pattern": {
166
+ "type": "string",
167
+ "pattern": "^[A-Z][A-Z0-9._-]*-.+$"
168
+ }
169
+ }
170
+ }
171
+ }
172
+ },
173
+ "IdentityProp": {
174
+ "identity": "RESOURCE-IdentityProp",
175
+ "resourceTypeId": "TYPE-ResourceType",
176
+ "creationContext": {
177
+ "resourceRoleId": "ROLE-Genesis",
178
+ "executionId": "EXECUTION-IdentityProp"
179
+ },
180
+ "kind": "materialized",
181
+ "timestamp": "2025-11-30T00:00:00.000Z",
182
+ "extractedData": {
183
+ "identity": "TYPE-IdentityProp",
184
+ "name": "IdentityProp",
185
+ "description": "dummy-description",
186
+ "resourceFormatId": "FORMAT-ApplicationJson",
187
+ "extractionSchema": {
188
+ "$anchor": "IdentityProp",
189
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
190
+ "type": "object",
191
+ "required": [
192
+ "$defs",
193
+ "required",
194
+ "properties"
195
+ ],
196
+ "properties": {
197
+ "$defs": {
198
+ "type": "object",
199
+ "patternProperties": {
200
+ "^[A-Za-z][A-Za-z0-9._-]*Id$": {
201
+ "$ref": "#/$defs/IdSchemaValue"
202
+ }
203
+ },
204
+ "$comment": "Ajv-specific: patternRequired enforces at least one Id-like key in this $defs block when identity is present.",
205
+ "patternRequired": [
206
+ "^[A-Za-z][A-Za-z0-9._-]*Id$"
207
+ ],
208
+ "minProperties": 1,
209
+ "additionalProperties": true
210
+ },
211
+ "required": {
212
+ "type": "array",
213
+ "items": {
214
+ "type": "string"
215
+ },
216
+ "uniqueItems": true,
217
+ "contains": {
218
+ "const": "identity"
219
+ }
220
+ },
221
+ "properties": {
222
+ "type": "object",
223
+ "required": [
224
+ "identity"
225
+ ],
226
+ "properties": {
227
+ "identity": {
228
+ "$ref": "#/$defs/IdentityValue"
229
+ }
230
+ }
231
+ }
232
+ }
233
+ }
234
+ }
235
+ },
236
+ "MeritValue": {
237
+ "identity": "RESOURCE-MeritValue",
238
+ "resourceTypeId": "TYPE-ResourceType",
239
+ "creationContext": {
240
+ "resourceRoleId": "ROLE-Genesis",
241
+ "executionId": "EXECUTION-MeritValue"
242
+ },
243
+ "kind": "materialized",
244
+ "timestamp": "2025-11-30T00:00:00.000Z",
245
+ "extractedData": {
246
+ "identity": "TYPE-MeritValue",
247
+ "name": "MeritValue",
248
+ "description": "dummy-description",
249
+ "resourceFormatId": "FORMAT-ApplicationJson",
250
+ "extractionSchema": {
251
+ "$anchor": "MeritValue",
252
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
253
+ "type": "object",
254
+ "oneOf": [
255
+ {
256
+ "required": [
257
+ "type"
258
+ ],
259
+ "properties": {
260
+ "type": {
261
+ "enum": [
262
+ "number",
263
+ "integer"
264
+ ]
265
+ }
266
+ }
267
+ },
268
+ {
269
+ "required": [
270
+ "enum"
271
+ ],
272
+ "properties": {
273
+ "enum": {
274
+ "type": "array",
275
+ "items": {
276
+ "type": "number"
277
+ },
278
+ "minItems": 1
279
+ }
280
+ }
281
+ }
282
+ ]
283
+ }
284
+ }
285
+ },
286
+ "MeritProp": {
287
+ "identity": "RESOURCE-MeritProp",
288
+ "resourceTypeId": "TYPE-ResourceType",
289
+ "creationContext": {
290
+ "resourceRoleId": "ROLE-Genesis",
291
+ "executionId": "EXECUTION-MeritProp"
292
+ },
293
+ "kind": "materialized",
294
+ "timestamp": "2025-11-30T00:00:00.000Z",
295
+ "extractedData": {
296
+ "identity": "TYPE-MeritProp",
297
+ "name": "MeritProp",
298
+ "resourceFormatId": "FORMAT-ApplicationJson",
299
+ "extractionSchema": {
300
+ "$anchor": "MeritProp",
301
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
302
+ "type": "object",
303
+ "properties": {
304
+ "properties": {
305
+ "type": "object",
306
+ "properties": {
307
+ "merit": {
308
+ "$ref": "#/$defs/MeritValue"
309
+ }
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ },
316
+ "ExtractionSchemaValue": {
317
+ "identity": "RESOURCE-ExtractionSchemaValue",
318
+ "resourceTypeId": "TYPE-ResourceType",
319
+ "creationContext": {
320
+ "resourceRoleId": "ROLE-Genesis",
321
+ "executionId": "EXECUTION-ExtractionSchemaValue"
322
+ },
323
+ "kind": "materialized",
324
+ "timestamp": "2025-11-30T00:00:00.000Z",
325
+ "extractedData": {
326
+ "identity": "TYPE-ExtractionSchemaValue",
327
+ "name": "ExtractionSchemaValue",
328
+ "description": "dummy-description",
329
+ "resourceFormatId": "FORMAT-ApplicationJson",
330
+ "extractionSchema": {
331
+ "$anchor": "ExtractionSchemaValue",
332
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
333
+ "type": "object",
334
+ "required": [
335
+ "$schema",
336
+ "$anchor",
337
+ "type"
338
+ ],
339
+ "properties": {
340
+ "$anchor": {
341
+ "type": "string",
342
+ "pattern": "^[A-Za-z][A-Za-z0-9._-]*$"
343
+ },
344
+ "$schema": {
345
+ "const": "https://json-schema.org/draft/2020-12/schema"
346
+ },
347
+ "$defs": {
348
+ "type": "object"
349
+ },
350
+ "type": {
351
+ "const": "object"
352
+ },
353
+ "required": {
354
+ "type": "array",
355
+ "items": {
356
+ "type": "string"
357
+ },
358
+ "uniqueItems": true
359
+ },
360
+ "properties": {
361
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
362
+ "type": "object"
363
+ },
364
+ "allOf": {
365
+ "type": "array",
366
+ "items": {
367
+ "type": "object"
368
+ }
369
+ },
370
+ "additionalProperties": {
371
+ "const": false
372
+ },
373
+ "unevaluatedProperties": {
374
+ "const": false
375
+ }
376
+ },
377
+ "allOf": [
378
+ {
379
+ "if": {
380
+ "anyOf": [
381
+ {
382
+ "properties": {
383
+ "properties": {
384
+ "type": "object",
385
+ "properties": {
386
+ "identity": {}
387
+ }
388
+ }
389
+ }
390
+ },
391
+ {
392
+ "properties": {
393
+ "required": {
394
+ "type": "array",
395
+ "contains": {
396
+ "const": "identity"
397
+ }
398
+ }
399
+ }
400
+ }
401
+ ]
402
+ },
403
+ "then": {
404
+ "$ref": "#/$defs/IdentityProp"
405
+ }
406
+ },
407
+ {
408
+ "if": {
409
+ "properties": {
410
+ "properties": {
411
+ "type": "object",
412
+ "properties": {
413
+ "merit": {}
414
+ }
415
+ }
416
+ }
417
+ },
418
+ "then": {
419
+ "$ref": "#/$defs/MeritProp"
420
+ }
421
+ },
422
+ {
423
+ "oneOf": [
424
+ {
425
+ "required": [
426
+ "additionalProperties"
427
+ ]
428
+ },
429
+ {
430
+ "required": [
431
+ "unevaluatedProperties"
432
+ ]
433
+ }
434
+ ]
435
+ }
436
+ ],
437
+ "unevaluatedProperties": false
438
+ }
439
+ }
440
+ },
441
+ "ExtractionSchema": {
442
+ "identity": "RESOURCE-ExtractionSchema",
443
+ "resourceTypeId": "TYPE-ResourceType",
444
+ "creationContext": {
445
+ "resourceRoleId": "ROLE-Genesis",
446
+ "executionId": "EXECUTION-ExtractionSchema"
447
+ },
448
+ "kind": "materialized",
449
+ "timestamp": "2025-11-30T00:00:00.000Z",
450
+ "extractedData": {
451
+ "identity": "TYPE-ExtractionSchema",
452
+ "name": "ExtractionSchema",
453
+ "description": "dummy-description",
454
+ "resourceFormatId": "FORMAT-ApplicationJson",
455
+ "extractionSchema": {
456
+ "$anchor": "ExtractionSchema",
457
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
458
+ "type": "object",
459
+ "required": [
460
+ "extractionSchema"
461
+ ],
462
+ "properties": {
463
+ "extractionSchema": {
464
+ "$ref": "#/$defs/ExtractionSchemaValue"
465
+ }
466
+ }
467
+ }
468
+ }
469
+ },
470
+ "ResourceFormatId": {
471
+ "identity": "RESOURCE-ResourceFormatId",
472
+ "resourceTypeId": "TYPE-ResourceType",
473
+ "creationContext": {
474
+ "resourceRoleId": "ROLE-Genesis",
475
+ "executionId": "EXECUTION-ResourceFormatId"
476
+ },
477
+ "kind": "materialized",
478
+ "timestamp": "2025-11-30T00:00:00.000Z",
479
+ "extractedData": {
480
+ "identity": "TYPE-ResourceFormatId",
481
+ "name": "ResourceFormatId",
482
+ "description": "dummy-description",
483
+ "resourceFormatId": "FORMAT-ApplicationJson",
484
+ "extractionSchema": {
485
+ "$anchor": "ResourceFormatId",
486
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
487
+ "type": "string",
488
+ "pattern": "^FORMAT-.+$"
489
+ }
490
+ }
491
+ },
492
+ "ResourceTypeId": {
493
+ "identity": "RESOURCE-ResourceTypeId",
494
+ "resourceTypeId": "TYPE-ResourceType",
495
+ "creationContext": {
496
+ "resourceRoleId": "ROLE-Genesis",
497
+ "executionId": "EXECUTION-ResourceTypeId"
498
+ },
499
+ "kind": "materialized",
500
+ "timestamp": "2025-11-30T00:00:00.000Z",
501
+ "extractedData": {
502
+ "identity": "TYPE-ResourceTypeId",
503
+ "name": "ResourceTypeId",
504
+ "description": "dummy-description",
505
+ "resourceFormatId": "FORMAT-ApplicationJson",
506
+ "extractionSchema": {
507
+ "$anchor": "ResourceTypeId",
508
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
509
+ "type": "string",
510
+ "pattern": "^TYPE-.+$"
511
+ }
512
+ }
513
+ },
514
+ "ResourceType": {
515
+ "identity": "RESOURCE-ResourceType",
516
+ "resourceTypeId": "TYPE-ResourceType",
517
+ "creationContext": {
518
+ "resourceRoleId": "ROLE-Genesis",
519
+ "executionId": "EXECUTION-ResourceType"
520
+ },
521
+ "kind": "materialized",
522
+ "timestamp": "2025-11-30T00:00:00.000Z",
523
+ "extractedData": {
524
+ "identity": "TYPE-ResourceType",
525
+ "name": "ResourceType",
526
+ "description": "dummy-description",
527
+ "resourceFormatId": "FORMAT-ApplicationJson",
528
+ "extractionSchema": {
529
+ "$anchor": "ResourceType",
530
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
531
+ "type": "object",
532
+ "allOf": [
533
+ {
534
+ "required": [
535
+ "identity",
536
+ "resourceFormatId"
537
+ ],
538
+ "properties": {
539
+ "identity": {
540
+ "$ref": "#/$defs/ResourceTypeId"
541
+ },
542
+ "resourceFormatId": {
543
+ "$ref": "#/$defs/ResourceFormatId"
544
+ }
545
+ }
546
+ },
547
+ {
548
+ "$ref": "#/$defs/Documented"
549
+ },
550
+ {
551
+ "$ref": "#/$defs/ExtractionSchema"
552
+ },
553
+ {
554
+ "if": {
555
+ "$comment": "If resourceFormatId is FORMAT-ApplicationJson, then extractor must not be present, but if resourceFormatId is not FORMAT-ApplicationJson, then extractor must be present. This is because resources of types with format FORMAT-ApplicationJson are self-contained and do not need an extractor.",
556
+ "properties": {
557
+ "resourceFormatId": {
558
+ "const": "FORMAT-ApplicationJson"
559
+ }
560
+ }
561
+ },
562
+ "then": {
563
+ "not": {
564
+ "required": [
565
+ "extractor"
566
+ ]
567
+ }
568
+ },
569
+ "else": {
570
+ "type": "object",
571
+ "required": [
572
+ "extractor"
573
+ ],
574
+ "properties": {
575
+ "extractor": {
576
+ "type": "string",
577
+ "format": "uri"
578
+ }
579
+ }
580
+ }
581
+ }
582
+ ]
583
+ }
584
+ }
585
+ },
586
+ "ResourceFormat": {
587
+ "identity": "RESOURCE-ResourceFormat",
588
+ "resourceTypeId": "TYPE-ResourceType",
589
+ "creationContext": {
590
+ "resourceRoleId": "ROLE-Genesis",
591
+ "executionId": "EXECUTION-ResourceFormat"
592
+ },
593
+ "kind": "materialized",
594
+ "timestamp": "2025-11-30T00:00:00.000Z",
595
+ "extractedData": {
596
+ "identity": "TYPE-ResourceFormat",
597
+ "name": "ResourceFormat",
598
+ "description": "dummy-description",
599
+ "resourceFormatId": "FORMAT-ApplicationJson",
600
+ "extractionSchema": {
601
+ "$anchor": "ResourceFormat",
602
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
603
+ "type": "object",
604
+ "allOf": [
605
+ {
606
+ "required": [
607
+ "identity"
608
+ ],
609
+ "properties": {
610
+ "identity": {
611
+ "$ref": "#/$defs/ResourceFormatId"
612
+ }
613
+ }
614
+ },
615
+ {
616
+ "$ref": "#/$defs/Documented"
617
+ }
618
+ ]
619
+ }
620
+ }
621
+ },
622
+ "ResourceRoleId": {
623
+ "identity": "RESOURCE-ResourceRoleId",
624
+ "resourceTypeId": "TYPE-ResourceType",
625
+ "creationContext": {
626
+ "resourceRoleId": "ROLE-Genesis",
627
+ "executionId": "EXECUTION-ResourceRoleId"
628
+ },
629
+ "kind": "materialized",
630
+ "timestamp": "2025-11-30T00:00:00.000Z",
631
+ "extractedData": {
632
+ "identity": "TYPE-ResourceRoleId",
633
+ "name": "ResourceRoleId",
634
+ "description": "dummy-description",
635
+ "resourceFormatId": "FORMAT-ApplicationJson",
636
+ "extractionSchema": {
637
+ "$anchor": "ResourceRoleId",
638
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
639
+ "type": "string",
640
+ "pattern": "^ROLE-.+$"
641
+ }
642
+ }
643
+ },
644
+ "ResourceId": {
645
+ "identity": "RESOURCE-ResourceId",
646
+ "resourceTypeId": "TYPE-ResourceType",
647
+ "creationContext": {
648
+ "resourceRoleId": "ROLE-Genesis",
649
+ "executionId": "EXECUTION-ResourceId"
650
+ },
651
+ "kind": "materialized",
652
+ "timestamp": "2025-11-30T00:00:00.000Z",
653
+ "extractedData": {
654
+ "identity": "TYPE-ResourceId",
655
+ "name": "ResourceId",
656
+ "description": "dummy-description",
657
+ "resourceFormatId": "FORMAT-ApplicationJson",
658
+ "extractionSchema": {
659
+ "$anchor": "ResourceId",
660
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
661
+ "type": "string",
662
+ "$comment": "",
663
+ "pattern": "^RESOURCE-.+$"
664
+ }
665
+ }
666
+ },
667
+ "ResourceRoleValue": {
668
+ "identity": "RESOURCE-ResourceRoleValue",
669
+ "resourceTypeId": "TYPE-ResourceType",
670
+ "creationContext": {
671
+ "resourceRoleId": "ROLE-Genesis",
672
+ "executionId": "EXECUTION-ResourceRoleValue"
673
+ },
674
+ "kind": "materialized",
675
+ "timestamp": "2025-11-30T00:00:00.000Z",
676
+ "extractedData": {
677
+ "identity": "TYPE-ResourceRoleValue",
678
+ "name": "ResourceRoleValue",
679
+ "description": "dummy-description",
680
+ "resourceFormatId": "FORMAT-ApplicationJson",
681
+ "extractionSchema": {
682
+ "$anchor": "ResourceRoleValue",
683
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
684
+ "type": "object",
685
+ "allOf": [
686
+ {
687
+ "$comment": "A ResourceRole does not have a self-contained identity, as it is always defined in the context of a RoleMap.",
688
+ "required": [
689
+ "resourceTypeId"
690
+ ],
691
+ "properties": {
692
+ "resourceTypeId": {
693
+ "$ref": "#/$defs/ResourceTypeId"
694
+ }
695
+ }
696
+ },
697
+ {
698
+ "$ref": "#/$defs/Documented"
699
+ }
700
+ ]
701
+ }
702
+ }
703
+ },
704
+ "RoleMap": {
705
+ "identity": "RESOURCE-RoleMap",
706
+ "resourceTypeId": "TYPE-ResourceType",
707
+ "creationContext": {
708
+ "resourceRoleId": "ROLE-Genesis",
709
+ "executionId": "EXECUTION-RoleMap"
710
+ },
711
+ "kind": "materialized",
712
+ "timestamp": "2025-11-30T00:00:00.000Z",
713
+ "extractedData": {
714
+ "identity": "TYPE-RoleMap",
715
+ "name": "RoleMap",
716
+ "description": "dummy-description",
717
+ "resourceFormatId": "FORMAT-ApplicationJson",
718
+ "extractionSchema": {
719
+ "$anchor": "RoleMap",
720
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
721
+ "type": "object",
722
+ "propertyNames": {
723
+ "$ref": "#/$defs/ResourceRoleId"
724
+ },
725
+ "additionalProperties": {
726
+ "$ref": "#/$defs/ResourceRoleValue"
727
+ }
728
+ }
729
+ }
730
+ },
731
+ "RolesInner": {
732
+ "identity": "RESOURCE-RolesInner",
733
+ "resourceTypeId": "TYPE-ResourceType",
734
+ "creationContext": {
735
+ "resourceRoleId": "ROLE-Genesis",
736
+ "executionId": "EXECUTION-RolesInner"
737
+ },
738
+ "kind": "materialized",
739
+ "timestamp": "2025-11-30T00:00:00.000Z",
740
+ "extractedData": {
741
+ "identity": "TYPE-RolesInner",
742
+ "name": "RolesInner",
743
+ "description": "dummy-description",
744
+ "resourceFormatId": "FORMAT-ApplicationJson",
745
+ "extractionSchema": {
746
+ "$anchor": "RolesInner",
747
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
748
+ "type": "object",
749
+ "required": [
750
+ "inputMap",
751
+ "outputMap"
752
+ ],
753
+ "properties": {
754
+ "inputMap": {
755
+ "$ref": "#/$defs/RoleMap"
756
+ },
757
+ "outputMap": {
758
+ "$ref": "#/$defs/RoleMap"
759
+ }
760
+ },
761
+ "unevaluatedProperties": false
762
+ }
763
+ }
764
+ },
765
+ "RolesOuter": {
766
+ "identity": "RESOURCE-RolesOuter",
767
+ "resourceTypeId": "TYPE-ResourceType",
768
+ "creationContext": {
769
+ "resourceRoleId": "ROLE-Genesis",
770
+ "executionId": "EXECUTION-RolesOuter"
771
+ },
772
+ "kind": "materialized",
773
+ "timestamp": "2025-11-30T00:00:00.000Z",
774
+ "extractedData": {
775
+ "identity": "TYPE-RolesOuter",
776
+ "name": "RolesOuter",
777
+ "description": "dummy-description",
778
+ "resourceFormatId": "FORMAT-ApplicationJson",
779
+ "extractionSchema": {
780
+ "$anchor": "RolesOuter",
781
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
782
+ "type": "object",
783
+ "required": [
784
+ "roles"
785
+ ],
786
+ "properties": {
787
+ "roles": {
788
+ "$ref": "#/$defs/RolesInner"
789
+ }
790
+ }
791
+ }
792
+ }
793
+ },
794
+ "JobId": {
795
+ "identity": "RESOURCE-JobId",
796
+ "resourceTypeId": "TYPE-ResourceType",
797
+ "creationContext": {
798
+ "resourceRoleId": "ROLE-Genesis",
799
+ "executionId": "EXECUTION-JobId"
800
+ },
801
+ "kind": "materialized",
802
+ "timestamp": "2025-11-30T00:00:00.000Z",
803
+ "extractedData": {
804
+ "identity": "TYPE-JobId",
805
+ "name": "JobId",
806
+ "description": "dummy-description",
807
+ "resourceFormatId": "FORMAT-ApplicationJson",
808
+ "jobFormatId": "FORMAT-ApplicationJson",
809
+ "extractionSchema": {
810
+ "$anchor": "JobId",
811
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
812
+ "type": "string",
813
+ "$comment": "",
814
+ "pattern": "^JOB-.+$"
815
+ }
816
+ }
817
+ },
818
+ "Job": {
819
+ "identity": "RESOURCE-Job",
820
+ "resourceTypeId": "TYPE-ResourceType",
821
+ "creationContext": {
822
+ "resourceRoleId": "ROLE-Genesis",
823
+ "executionId": "EXECUTION-Job"
824
+ },
825
+ "kind": "materialized",
826
+ "timestamp": "2025-11-30T00:00:00.000Z",
827
+ "extractedData": {
828
+ "identity": "TYPE-Job",
829
+ "name": "Job",
830
+ "description": "dummy-description",
831
+ "resourceFormatId": "FORMAT-ApplicationJob",
832
+ "extractor": "https://extractors.toolproof.com/v0/JobExtractor.js",
833
+ "extractionSchema": {
834
+ "$anchor": "Job",
835
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
836
+ "type": "object",
837
+ "allOf": [
838
+ {
839
+ "required": [
840
+ "identity",
841
+ "implementation"
842
+ ],
843
+ "properties": {
844
+ "identity": {
845
+ "$ref": "#/$defs/JobId"
846
+ },
847
+ "implementation": {
848
+ "type": "string",
849
+ "format": "uri"
850
+ }
851
+ }
852
+ },
853
+ {
854
+ "$ref": "#/$defs/Documented"
855
+ },
856
+ {
857
+ "$ref": "#/$defs/RolesOuter"
858
+ }
859
+ ],
860
+ "unevaluatedProperties": false
861
+ }
862
+ }
863
+ },
864
+ "RoleBindingMap": {
865
+ "identity": "RESOURCE-RoleBindingMap",
866
+ "resourceTypeId": "TYPE-ResourceType",
867
+ "creationContext": {
868
+ "resourceRoleId": "ROLE-Genesis",
869
+ "executionId": "EXECUTION-RoleBindingMap"
870
+ },
871
+ "kind": "materialized",
872
+ "timestamp": "2025-11-30T00:00:00.000Z",
873
+ "extractedData": {
874
+ "identity": "TYPE-RoleBindingMap",
875
+ "name": "RoleBindingMap",
876
+ "description": "dummy-description",
877
+ "resourceFormatId": "FORMAT-ApplicationJson",
878
+ "extractionSchema": {
879
+ "$anchor": "RoleBindingMap",
880
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
881
+ "type": "object",
882
+ "propertyNames": {
883
+ "$ref": "#/$defs/ResourceRoleId"
884
+ },
885
+ "additionalProperties": {
886
+ "$ref": "#/$defs/ResourceId"
887
+ }
888
+ }
889
+ }
890
+ },
891
+ "RoleBindingsInner": {
892
+ "identity": "RESOURCE-RoleBindingsInner",
893
+ "resourceTypeId": "TYPE-ResourceType",
894
+ "creationContext": {
895
+ "resourceRoleId": "ROLE-Genesis",
896
+ "executionId": "EXECUTION-RoleBindingsInner"
897
+ },
898
+ "kind": "materialized",
899
+ "timestamp": "2025-11-30T00:00:00.000Z",
900
+ "extractedData": {
901
+ "identity": "TYPE-RoleBindingsInner",
902
+ "name": "RoleBindingsInner",
903
+ "description": "dummy-description",
904
+ "resourceFormatId": "FORMAT-ApplicationJson",
905
+ "extractionSchema": {
906
+ "$anchor": "RoleBindingsInner",
907
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
908
+ "type": "object",
909
+ "required": [
910
+ "inputBindingMap",
911
+ "outputBindingMap"
912
+ ],
913
+ "properties": {
914
+ "inputBindingMap": {
915
+ "$ref": "#/$defs/RoleBindingMap"
916
+ },
917
+ "outputBindingMap": {
918
+ "$ref": "#/$defs/RoleBindingMap"
919
+ }
920
+ },
921
+ "unevaluatedProperties": false
922
+ }
923
+ }
924
+ },
925
+ "RoleBindingsOuter": {
926
+ "identity": "RESOURCE-RoleBindingsOuter",
927
+ "resourceTypeId": "TYPE-ResourceType",
928
+ "creationContext": {
929
+ "resourceRoleId": "ROLE-Genesis",
930
+ "executionId": "EXECUTION-RoleBindingsOuter"
931
+ },
932
+ "kind": "materialized",
933
+ "timestamp": "2025-11-30T00:00:00.000Z",
934
+ "extractedData": {
935
+ "identity": "TYPE-RoleBindingsOuter",
936
+ "name": "RoleBindingsOuter",
937
+ "description": "dummy-description",
938
+ "resourceFormatId": "FORMAT-ApplicationJson",
939
+ "extractionSchema": {
940
+ "$anchor": "RoleBindingsOuter",
941
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
942
+ "type": "object",
943
+ "required": [
944
+ "roleBindings"
945
+ ],
946
+ "properties": {
947
+ "roleBindings": {
948
+ "$ref": "#/$defs/RoleBindingsInner"
949
+ }
950
+ }
951
+ }
952
+ }
953
+ },
954
+ "ResourceSocket": {
955
+ "identity": "RESOURCE-ResourceSocket",
956
+ "resourceTypeId": "TYPE-ResourceType",
957
+ "creationContext": {
958
+ "resourceRoleId": "ROLE-Genesis",
959
+ "executionId": "EXECUTION-ResourceSocket"
960
+ },
961
+ "kind": "materialized",
962
+ "timestamp": "2025-11-30T00:00:00.000Z",
963
+ "extractedData": {
964
+ "identity": "TYPE-ResourceSocket",
965
+ "name": "ResourceSocket",
966
+ "description": "dummy-description",
967
+ "resourceFormatId": "FORMAT-ApplicationJson",
968
+ "extractionSchema": {
969
+ "$anchor": "ResourceSocket",
970
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
971
+ "type": "object",
972
+ "required": [
973
+ "resourceRoleId",
974
+ "executionId"
975
+ ],
976
+ "properties": {
977
+ "resourceRoleId": {
978
+ "$ref": "#/$defs/ResourceRoleId"
979
+ },
980
+ "executionId": {
981
+ "$ref": "#/$defs/ExecutionId"
982
+ }
983
+ }
984
+ }
985
+ }
986
+ },
987
+ "CreationContext": {
988
+ "identity": "RESOURCE-CreationContext",
989
+ "resourceTypeId": "TYPE-ResourceType",
990
+ "creationContext": {
991
+ "resourceRoleId": "ROLE-Genesis",
992
+ "executionId": "EXECUTION-CreationContext"
993
+ },
994
+ "kind": "materialized",
995
+ "timestamp": "2025-11-30T00:00:00.000Z",
996
+ "extractedData": {
997
+ "identity": "TYPE-CreationContext",
998
+ "name": "CreationContext",
999
+ "description": "dummy-description",
1000
+ "resourceFormatId": "FORMAT-ApplicationJson",
1001
+ "extractionSchema": {
1002
+ "$anchor": "CreationContext",
1003
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1004
+ "type": "object",
1005
+ "required": [
1006
+ "creationContext"
1007
+ ],
1008
+ "properties": {
1009
+ "creationContext": {
1010
+ "$ref": "#/$defs/ResourceSocket"
1011
+ }
1012
+ }
1013
+ }
1014
+ }
1015
+ },
1016
+ "ResourceBase": {
1017
+ "identity": "RESOURCE-ResourceBase",
1018
+ "resourceTypeId": "TYPE-ResourceType",
1019
+ "creationContext": {
1020
+ "resourceRoleId": "ROLE-Genesis",
1021
+ "executionId": "EXECUTION-ResourceBase"
1022
+ },
1023
+ "kind": "materialized",
1024
+ "timestamp": "2025-11-30T00:00:00.000Z",
1025
+ "extractedData": {
1026
+ "identity": "TYPE-ResourceBase",
1027
+ "name": "ResourceBase",
1028
+ "description": "dummy-description",
1029
+ "resourceFormatId": "FORMAT-ApplicationJson",
1030
+ "extractionSchema": {
1031
+ "$anchor": "ResourceBase",
1032
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1033
+ "type": "object",
1034
+ "allOf": [
1035
+ {
1036
+ "required": [
1037
+ "identity",
1038
+ "resourceTypeId"
1039
+ ],
1040
+ "properties": {
1041
+ "identity": {
1042
+ "$ref": "#/$defs/ResourceId"
1043
+ },
1044
+ "resourceTypeId": {
1045
+ "$ref": "#/$defs/ResourceTypeId"
1046
+ }
1047
+ }
1048
+ },
1049
+ {
1050
+ "$ref": "#/$defs/CreationContext"
1051
+ }
1052
+ ]
1053
+ }
1054
+ }
1055
+ },
1056
+ "ResourceKind": {
1057
+ "identity": "RESOURCE-ResourceKind",
1058
+ "resourceTypeId": "TYPE-ResourceType",
1059
+ "creationContext": {
1060
+ "resourceRoleId": "ROLE-Genesis",
1061
+ "executionId": "EXECUTION-ResourceKind"
1062
+ },
1063
+ "kind": "materialized",
1064
+ "timestamp": "2025-11-30T00:00:00.000Z",
1065
+ "extractedData": {
1066
+ "identity": "TYPE-ResourceKind",
1067
+ "name": "ResourceKind",
1068
+ "description": "dummy-description",
1069
+ "resourceFormatId": "FORMAT-ApplicationJson",
1070
+ "extractionSchema": {
1071
+ "$anchor": "ResourceKind",
1072
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1073
+ "type": "object",
1074
+ "required": [
1075
+ "kind"
1076
+ ],
1077
+ "properties": {
1078
+ "kind": {
1079
+ "enum": [
1080
+ "potential-input",
1081
+ "potential-output",
1082
+ "materialized"
1083
+ ]
1084
+ }
1085
+ }
1086
+ }
1087
+ }
1088
+ },
1089
+ "PendingRef": {
1090
+ "identity": "RESOURCE-PendingRef",
1091
+ "resourceTypeId": "TYPE-ResourceType",
1092
+ "creationContext": {
1093
+ "resourceRoleId": "ROLE-Genesis",
1094
+ "executionId": "EXECUTION-PendingRef"
1095
+ },
1096
+ "kind": "materialized",
1097
+ "timestamp": "2025-11-30T00:00:00.000Z",
1098
+ "extractedData": {
1099
+ "identity": "TYPE-PendingRef",
1100
+ "name": "PendingRef",
1101
+ "description": "dummy-description",
1102
+ "resourceFormatId": "FORMAT-ApplicationJson",
1103
+ "extractionSchema": {
1104
+ "$anchor": "PendingRef",
1105
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1106
+ "type": "object",
1107
+ "required": [
1108
+ "pendingRef"
1109
+ ],
1110
+ "properties": {
1111
+ "pendingRef": {
1112
+ "$comment": "This points to a resource created at a previous step in the same workflow. This resource is not yet materialized at the time of defining the workflow, but will be materialized when the step using this resource is executed.The Engine resolves this ref at runtime.",
1113
+ "$ref": "#/$defs/ResourceSocket"
1114
+ }
1115
+ }
1116
+ }
1117
+ }
1118
+ },
1119
+ "ResourcePotentialInput": {
1120
+ "identity": "RESOURCE-ResourcePotentialInput",
1121
+ "resourceTypeId": "TYPE-ResourceType",
1122
+ "creationContext": {
1123
+ "resourceRoleId": "ROLE-Genesis",
1124
+ "executionId": "EXECUTION-ResourcePotentialInput"
1125
+ },
1126
+ "kind": "materialized",
1127
+ "timestamp": "2025-11-30T00:00:00.000Z",
1128
+ "extractedData": {
1129
+ "identity": "TYPE-ResourcePotentialInput",
1130
+ "name": "ResourcePotentialInput",
1131
+ "description": "dummy-description",
1132
+ "resourceFormatId": "FORMAT-ApplicationJson",
1133
+ "extractionSchema": {
1134
+ "$anchor": "ResourcePotentialInput",
1135
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1136
+ "type": "object",
1137
+ "allOf": [
1138
+ {
1139
+ "$ref": "#/$defs/ResourceBase"
1140
+ },
1141
+ {
1142
+ "$ref": "#/$defs/ResourceKind"
1143
+ },
1144
+ {
1145
+ "required": [
1146
+ "kind"
1147
+ ],
1148
+ "properties": {
1149
+ "kind": {
1150
+ "const": "potential-input"
1151
+ }
1152
+ }
1153
+ },
1154
+ {
1155
+ "$ref": "#/$defs/PendingRef"
1156
+ }
1157
+ ],
1158
+ "unevaluatedProperties": false
1159
+ }
1160
+ }
1161
+ },
1162
+ "ResourcePotentialOutput": {
1163
+ "identity": "RESOURCE-ResourcePotentialOutput",
1164
+ "resourceTypeId": "TYPE-ResourceType",
1165
+ "creationContext": {
1166
+ "resourceRoleId": "ROLE-Genesis",
1167
+ "executionId": "EXECUTION-ResourcePotentialOutput"
1168
+ },
1169
+ "kind": "materialized",
1170
+ "timestamp": "2025-11-30T00:00:00.000Z",
1171
+ "extractedData": {
1172
+ "identity": "TYPE-ResourcePotentialOutput",
1173
+ "name": "ResourcePotentialOutput",
1174
+ "description": "dummy-description",
1175
+ "resourceFormatId": "FORMAT-ApplicationJson",
1176
+ "extractionSchema": {
1177
+ "$anchor": "ResourcePotentialOutput",
1178
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1179
+ "type": "object",
1180
+ "allOf": [
1181
+ {
1182
+ "$ref": "#/$defs/ResourceBase"
1183
+ },
1184
+ {
1185
+ "$ref": "#/$defs/ResourceKind"
1186
+ },
1187
+ {
1188
+ "required": [
1189
+ "kind"
1190
+ ],
1191
+ "properties": {
1192
+ "kind": {
1193
+ "const": "potential-output"
1194
+ }
1195
+ }
1196
+ }
1197
+ ],
1198
+ "unevaluatedProperties": false
1199
+ }
1200
+ }
1201
+ },
1202
+ "CanonicalRef": {
1203
+ "identity": "RESOURCE-CanonicalRef",
1204
+ "resourceTypeId": "TYPE-ResourceType",
1205
+ "creationContext": {
1206
+ "resourceRoleId": "ROLE-Genesis",
1207
+ "executionId": "EXECUTION-CanonicalRef"
1208
+ },
1209
+ "kind": "materialized",
1210
+ "timestamp": "2025-11-30T00:00:00.000Z",
1211
+ "extractedData": {
1212
+ "identity": "TYPE-CanonicalRef",
1213
+ "name": "CanonicalRef",
1214
+ "description": "dummy-description",
1215
+ "resourceFormatId": "FORMAT-ApplicationJson",
1216
+ "extractionSchema": {
1217
+ "$anchor": "CanonicalRef",
1218
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1219
+ "type": "object",
1220
+ "required": [
1221
+ "canonicalRef"
1222
+ ],
1223
+ "properties": {
1224
+ "canonicalRef": {
1225
+ "$comment": "This points to the canonical resource with an identical contentHash as this one. If no such resource exists, this resource will itself be the canonical resource and point to itself (i.e. canonicalRef = identity).",
1226
+ "$ref": "#/$defs/ResourceId"
1227
+ }
1228
+ }
1229
+ }
1230
+ }
1231
+ },
1232
+ "Timestamp": {
1233
+ "identity": "RESOURCE-Timestamp",
1234
+ "resourceTypeId": "TYPE-ResourceType",
1235
+ "creationContext": {
1236
+ "resourceRoleId": "ROLE-Genesis",
1237
+ "executionId": "EXECUTION-Timestamp"
1238
+ },
1239
+ "kind": "materialized",
1240
+ "timestamp": "2025-11-30T00:00:00.000Z",
1241
+ "extractedData": {
1242
+ "identity": "TYPE-Timestamp",
1243
+ "name": "Timestamp",
1244
+ "description": "dummy-description",
1245
+ "resourceFormatId": "FORMAT-ApplicationJson",
1246
+ "extractionSchema": {
1247
+ "$anchor": "Timestamp",
1248
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1249
+ "type": "object",
1250
+ "required": [
1251
+ "timestamp"
1252
+ ],
1253
+ "properties": {
1254
+ "timestamp": {
1255
+ "type": "string",
1256
+ "format": "date-time"
1257
+ }
1258
+ }
1259
+ }
1260
+ }
1261
+ },
1262
+ "ResourceRawMeta": {
1263
+ "identity": "RESOURCE-ResourceRawMeta",
1264
+ "resourceTypeId": "TYPE-ResourceType",
1265
+ "creationContext": {
1266
+ "resourceRoleId": "ROLE-Genesis",
1267
+ "executionId": "EXECUTION-ResourceRawMeta"
1268
+ },
1269
+ "kind": "materialized",
1270
+ "timestamp": "2025-11-30T00:00:00.000Z",
1271
+ "extractedData": {
1272
+ "identity": "TYPE-ResourceRawMeta",
1273
+ "name": "ResourceRawMeta",
1274
+ "description": "dummy-description",
1275
+ "resourceFormatId": "FORMAT-ApplicationJson",
1276
+ "extractionSchema": {
1277
+ "$anchor": "ResourceRawMeta",
1278
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1279
+ "type": "object",
1280
+ "allOf": [
1281
+ {
1282
+ "$ref": "#/$defs/ResourceBase"
1283
+ },
1284
+ {
1285
+ "$ref": "#/$defs/CanonicalRef"
1286
+ },
1287
+ {
1288
+ "$ref": "#/$defs/Timestamp"
1289
+ }
1290
+ ],
1291
+ "unevaluatedProperties": false
1292
+ }
1293
+ }
1294
+ },
1295
+ "Path": {
1296
+ "identity": "RESOURCE-Path",
1297
+ "resourceTypeId": "TYPE-ResourceType",
1298
+ "creationContext": {
1299
+ "resourceRoleId": "ROLE-Genesis",
1300
+ "executionId": "EXECUTION-Path"
1301
+ },
1302
+ "kind": "materialized",
1303
+ "timestamp": "2025-11-30T00:00:00.000Z",
1304
+ "extractedData": {
1305
+ "identity": "TYPE-Path",
1306
+ "name": "Path",
1307
+ "description": "dummy-description",
1308
+ "resourceFormatId": "FORMAT-ApplicationJson",
1309
+ "extractionSchema": {
1310
+ "$anchor": "Path",
1311
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1312
+ "type": "object",
1313
+ "required": [
1314
+ "path"
1315
+ ],
1316
+ "properties": {
1317
+ "path": {
1318
+ "type": "string"
1319
+ }
1320
+ }
1321
+ }
1322
+ }
1323
+ },
1324
+ "ResourceMetaBase": {
1325
+ "identity": "RESOURCE-ResourceMetaBase",
1326
+ "resourceTypeId": "TYPE-ResourceType",
1327
+ "creationContext": {
1328
+ "resourceRoleId": "ROLE-Genesis",
1329
+ "executionId": "EXECUTION-ResourceMetaBase"
1330
+ },
1331
+ "kind": "materialized",
1332
+ "timestamp": "2025-11-30T00:00:00.000Z",
1333
+ "extractedData": {
1334
+ "identity": "TYPE-ResourceMetaBase",
1335
+ "name": "ResourceMetaBase",
1336
+ "description": "dummy-description",
1337
+ "resourceFormatId": "FORMAT-ApplicationJson",
1338
+ "extractionSchema": {
1339
+ "$anchor": "ResourceMetaBase",
1340
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1341
+ "type": "object",
1342
+ "allOf": [
1343
+ {
1344
+ "$ref": "#/$defs/ResourceBase"
1345
+ },
1346
+ {
1347
+ "$ref": "#/$defs/ResourceKind"
1348
+ },
1349
+ {
1350
+ "required": [
1351
+ "kind"
1352
+ ],
1353
+ "properties": {
1354
+ "kind": {
1355
+ "const": "materialized"
1356
+ }
1357
+ }
1358
+ },
1359
+ {
1360
+ "$ref": "#/$defs/Timestamp"
1361
+ },
1362
+ {
1363
+ "$ref": "#/$defs/Path"
1364
+ }
1365
+ ]
1366
+ }
1367
+ }
1368
+ },
1369
+ "ResourceMeta": {
1370
+ "identity": "RESOURCE-ResourceMeta",
1371
+ "resourceTypeId": "TYPE-ResourceType",
1372
+ "creationContext": {
1373
+ "resourceRoleId": "ROLE-Genesis",
1374
+ "executionId": "EXECUTION-ResourceMeta"
1375
+ },
1376
+ "kind": "materialized",
1377
+ "timestamp": "2025-11-30T00:00:00.000Z",
1378
+ "extractedData": {
1379
+ "identity": "TYPE-ResourceMeta",
1380
+ "name": "ResourceMeta",
1381
+ "description": "dummy-description",
1382
+ "resourceFormatId": "FORMAT-ApplicationJson",
1383
+ "extractionSchema": {
1384
+ "$anchor": "ResourceMeta",
1385
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1386
+ "type": "object",
1387
+ "$ref": "#/$defs/ResourceMetaBase",
1388
+ "unevaluatedProperties": false
1389
+ }
1390
+ }
1391
+ },
1392
+ "JsonValue": {
1393
+ "identity": "RESOURCE-JsonValue",
1394
+ "resourceTypeId": "TYPE-ResourceType",
1395
+ "creationContext": {
1396
+ "resourceRoleId": "ROLE-Genesis",
1397
+ "executionId": "EXECUTION-JsonValue"
1398
+ },
1399
+ "kind": "materialized",
1400
+ "timestamp": "2025-11-30T00:00:00.000Z",
1401
+ "extractedData": {
1402
+ "identity": "TYPE-JsonValue",
1403
+ "name": "JsonValue",
1404
+ "description": "dummy-description",
1405
+ "resourceFormatId": "FORMAT-ApplicationJson",
1406
+ "extractionSchema": {
1407
+ "$anchor": "JsonValue",
1408
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1409
+ "oneOf": [
1410
+ {
1411
+ "type": "null"
1412
+ },
1413
+ {
1414
+ "type": "boolean"
1415
+ },
1416
+ {
1417
+ "type": "number"
1418
+ },
1419
+ {
1420
+ "type": "string"
1421
+ },
1422
+ {
1423
+ "type": "array",
1424
+ "items": {
1425
+ "$ref": "#/$defs/JsonValue"
1426
+ }
1427
+ },
1428
+ {
1429
+ "type": "object",
1430
+ "additionalProperties": {
1431
+ "$ref": "#/$defs/JsonValue"
1432
+ }
1433
+ }
1434
+ ]
1435
+ }
1436
+ }
1437
+ },
1438
+ "Resource": {
1439
+ "identity": "RESOURCE-Resource",
1440
+ "resourceTypeId": "TYPE-ResourceType",
1441
+ "creationContext": {
1442
+ "resourceRoleId": "ROLE-Genesis",
1443
+ "executionId": "EXECUTION-Resource"
1444
+ },
1445
+ "kind": "materialized",
1446
+ "timestamp": "2025-11-30T00:00:00.000Z",
1447
+ "extractedData": {
1448
+ "identity": "TYPE-Resource",
1449
+ "name": "Resource",
1450
+ "description": "dummy-description",
1451
+ "resourceFormatId": "FORMAT-ApplicationJson",
1452
+ "extractionSchema": {
1453
+ "$anchor": "Resource",
1454
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1455
+ "type": "object",
1456
+ "allOf": [
1457
+ {
1458
+ "$ref": "#/$defs/ResourceMetaBase"
1459
+ },
1460
+ {
1461
+ "required": [
1462
+ "extractedData"
1463
+ ],
1464
+ "properties": {
1465
+ "extractedData": {
1466
+ "$comment": "This will be overlayed at runtime to match the data structure of the underlying type's extractionSchema. At compile time, we guarantee it has an identity property.",
1467
+ "type": "object",
1468
+ "additionalProperties": {
1469
+ "$ref": "#/$defs/JsonValue"
1470
+ }
1471
+ }
1472
+ }
1473
+ }
1474
+ ],
1475
+ "unevaluatedProperties": false
1476
+ }
1477
+ }
1478
+ },
1479
+ "ExecutionId": {
1480
+ "identity": "RESOURCE-ExecutionId",
1481
+ "resourceTypeId": "TYPE-ResourceType",
1482
+ "creationContext": {
1483
+ "resourceRoleId": "ROLE-Genesis",
1484
+ "executionId": "EXECUTION-ExecutionId"
1485
+ },
1486
+ "kind": "materialized",
1487
+ "timestamp": "2025-11-30T00:00:00.000Z",
1488
+ "extractedData": {
1489
+ "identity": "TYPE-ExecutionId",
1490
+ "name": "ExecutionId",
1491
+ "description": "dummy-description",
1492
+ "resourceFormatId": "FORMAT-ApplicationJson",
1493
+ "extractionSchema": {
1494
+ "$anchor": "ExecutionId",
1495
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1496
+ "type": "string",
1497
+ "pattern": "^EXECUTION-.+$"
1498
+ }
1499
+ }
1500
+ },
1501
+ "Execution": {
1502
+ "identity": "RESOURCE-Execution",
1503
+ "resourceTypeId": "TYPE-ResourceType",
1504
+ "creationContext": {
1505
+ "resourceRoleId": "ROLE-Genesis",
1506
+ "executionId": "EXECUTION-Execution"
1507
+ },
1508
+ "kind": "materialized",
1509
+ "timestamp": "2025-11-30T00:00:00.000Z",
1510
+ "extractedData": {
1511
+ "identity": "TYPE-Execution",
1512
+ "name": "Execution",
1513
+ "description": "dummy-description",
1514
+ "resourceFormatId": "FORMAT-ApplicationJson",
1515
+ "extractionSchema": {
1516
+ "$anchor": "Execution",
1517
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1518
+ "type": "object",
1519
+ "allOf": [
1520
+ {
1521
+ "type": "object",
1522
+ "required": [
1523
+ "identity",
1524
+ "jobId"
1525
+ ],
1526
+ "properties": {
1527
+ "identity": {
1528
+ "$ref": "#/$defs/ExecutionId"
1529
+ },
1530
+ "jobId": {
1531
+ "$ref": "#/$defs/ResourceId"
1532
+ }
1533
+ }
1534
+ },
1535
+ {
1536
+ "$comment": "This will be overlayed at runtime to specify roleBindings corresponding to the roles of the underlying job.",
1537
+ "$ref": "#/$defs/RoleBindingsOuter"
1538
+ }
1539
+ ]
1540
+ }
1541
+ }
1542
+ },
1543
+ "ConditionalWrapper": {
1544
+ "identity": "RESOURCE-ConditionalWrapper",
1545
+ "resourceTypeId": "TYPE-ResourceType",
1546
+ "creationContext": {
1547
+ "resourceRoleId": "ROLE-Genesis",
1548
+ "executionId": "EXECUTION-ConditionalWrapper"
1549
+ },
1550
+ "kind": "materialized",
1551
+ "timestamp": "2025-11-30T00:00:00.000Z",
1552
+ "extractedData": {
1553
+ "identity": "TYPE-ConditionalWrapper",
1554
+ "name": "ConditionalWrapper",
1555
+ "description": "dummy-description",
1556
+ "resourceFormatId": "FORMAT-ApplicationJson",
1557
+ "extractionSchema": {
1558
+ "$anchor": "ConditionalWrapper",
1559
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1560
+ "type": "object",
1561
+ "required": [
1562
+ "when",
1563
+ "what"
1564
+ ],
1565
+ "properties": {
1566
+ "when": {
1567
+ "$ref": "#/$defs/WorkStep"
1568
+ },
1569
+ "what": {
1570
+ "$ref": "#/$defs/WorkStep"
1571
+ }
1572
+ },
1573
+ "unevaluatedProperties": false
1574
+ }
1575
+ }
1576
+ },
1577
+ "StepKind": {
1578
+ "identity": "RESOURCE-StepKind",
1579
+ "resourceTypeId": "TYPE-ResourceType",
1580
+ "creationContext": {
1581
+ "resourceRoleId": "ROLE-Genesis",
1582
+ "executionId": "EXECUTION-StepKind"
1583
+ },
1584
+ "kind": "materialized",
1585
+ "timestamp": "2025-11-30T00:00:00.000Z",
1586
+ "extractedData": {
1587
+ "identity": "TYPE-StepKind",
1588
+ "name": "StepKind",
1589
+ "description": "dummy-description",
1590
+ "resourceFormatId": "FORMAT-ApplicationJson",
1591
+ "extractionSchema": {
1592
+ "$anchor": "StepKind",
1593
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1594
+ "type": "object",
1595
+ "required": [
1596
+ "kind"
1597
+ ],
1598
+ "properties": {
1599
+ "kind": {
1600
+ "type": "string",
1601
+ "enum": [
1602
+ "work",
1603
+ "branch",
1604
+ "while",
1605
+ "for"
1606
+ ]
1607
+ }
1608
+ }
1609
+ }
1610
+ }
1611
+ },
1612
+ "WorkStepId": {
1613
+ "identity": "RESOURCE-WorkStepId",
1614
+ "resourceTypeId": "TYPE-ResourceType",
1615
+ "creationContext": {
1616
+ "resourceRoleId": "ROLE-Genesis",
1617
+ "executionId": "EXECUTION-WorkStepId"
1618
+ },
1619
+ "kind": "materialized",
1620
+ "timestamp": "2025-11-30T00:00:00.000Z",
1621
+ "extractedData": {
1622
+ "identity": "TYPE-WorkStepId",
1623
+ "name": "WorkStepId",
1624
+ "description": "dummy-description",
1625
+ "resourceFormatId": "FORMAT-ApplicationJson",
1626
+ "extractionSchema": {
1627
+ "$anchor": "WorkStepId",
1628
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1629
+ "type": "string",
1630
+ "pattern": "^WORKSTEP-.+$"
1631
+ }
1632
+ }
1633
+ },
1634
+ "WorkStep": {
1635
+ "identity": "RESOURCE-WorkStep",
1636
+ "resourceTypeId": "TYPE-ResourceType",
1637
+ "creationContext": {
1638
+ "resourceRoleId": "ROLE-Genesis",
1639
+ "executionId": "EXECUTION-WorkStep"
1640
+ },
1641
+ "kind": "materialized",
1642
+ "timestamp": "2025-11-30T00:00:00.000Z",
1643
+ "extractedData": {
1644
+ "identity": "TYPE-WorkStep",
1645
+ "name": "WorkStep",
1646
+ "description": "dummy-description",
1647
+ "resourceFormatId": "FORMAT-ApplicationJson",
1648
+ "extractionSchema": {
1649
+ "$anchor": "WorkStep",
1650
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1651
+ "type": "object",
1652
+ "allOf": [
1653
+ {
1654
+ "$ref": "#/$defs/StepKind"
1655
+ },
1656
+ {
1657
+ "type": "object",
1658
+ "required": [
1659
+ "identity",
1660
+ "kind",
1661
+ "execution"
1662
+ ],
1663
+ "properties": {
1664
+ "identity": {
1665
+ "$ref": "#/$defs/WorkStepId"
1666
+ },
1667
+ "kind": {
1668
+ "const": "work"
1669
+ },
1670
+ "execution": {
1671
+ "$ref": "#/$defs/Execution"
1672
+ }
1673
+ }
1674
+ }
1675
+ ]
1676
+ }
1677
+ }
1678
+ },
1679
+ "BranchStepId": {
1680
+ "identity": "RESOURCE-BranchStepId",
1681
+ "resourceTypeId": "TYPE-ResourceType",
1682
+ "creationContext": {
1683
+ "resourceRoleId": "ROLE-Genesis",
1684
+ "executionId": "EXECUTION-BranchStepId"
1685
+ },
1686
+ "kind": "materialized",
1687
+ "timestamp": "2025-11-30T00:00:00.000Z",
1688
+ "extractedData": {
1689
+ "identity": "TYPE-BranchStepId",
1690
+ "name": "BranchStepId",
1691
+ "description": "dummy-description",
1692
+ "resourceFormatId": "FORMAT-ApplicationJson",
1693
+ "extractionSchema": {
1694
+ "$anchor": "BranchStepId",
1695
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1696
+ "type": "string",
1697
+ "pattern": "^BRANCHSTEP-.+$"
1698
+ }
1699
+ }
1700
+ },
1701
+ "BranchStep": {
1702
+ "identity": "RESOURCE-BranchStep",
1703
+ "resourceTypeId": "TYPE-ResourceType",
1704
+ "creationContext": {
1705
+ "resourceRoleId": "ROLE-Genesis",
1706
+ "executionId": "EXECUTION-BranchStep"
1707
+ },
1708
+ "kind": "materialized",
1709
+ "timestamp": "2025-11-30T00:00:00.000Z",
1710
+ "extractedData": {
1711
+ "identity": "TYPE-BranchStep",
1712
+ "name": "BranchStep",
1713
+ "description": "dummy-description",
1714
+ "resourceFormatId": "FORMAT-ApplicationJson",
1715
+ "extractionSchema": {
1716
+ "$anchor": "BranchStep",
1717
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1718
+ "type": "object",
1719
+ "allOf": [
1720
+ {
1721
+ "$ref": "#/$defs/StepKind"
1722
+ },
1723
+ {
1724
+ "type": "object",
1725
+ "required": [
1726
+ "identity",
1727
+ "kind",
1728
+ "cases"
1729
+ ],
1730
+ "properties": {
1731
+ "identity": {
1732
+ "$ref": "#/$defs/BranchStepId"
1733
+ },
1734
+ "kind": {
1735
+ "const": "branch"
1736
+ },
1737
+ "cases": {
1738
+ "type": "array",
1739
+ "items": {
1740
+ "$ref": "#/$defs/ConditionalWrapper"
1741
+ },
1742
+ "minItems": 1,
1743
+ "uniqueItems": true
1744
+ }
1745
+ }
1746
+ }
1747
+ ]
1748
+ }
1749
+ }
1750
+ },
1751
+ "WhileStepId": {
1752
+ "identity": "RESOURCE-WhileStepId",
1753
+ "resourceTypeId": "TYPE-ResourceType",
1754
+ "creationContext": {
1755
+ "resourceRoleId": "ROLE-Genesis",
1756
+ "executionId": "EXECUTION-WhileStepId"
1757
+ },
1758
+ "kind": "materialized",
1759
+ "timestamp": "2025-11-30T00:00:00.000Z",
1760
+ "extractedData": {
1761
+ "identity": "TYPE-WhileStepId",
1762
+ "name": "WhileStepId",
1763
+ "description": "dummy-description",
1764
+ "resourceFormatId": "FORMAT-ApplicationJson",
1765
+ "extractionSchema": {
1766
+ "$anchor": "WhileStepId",
1767
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1768
+ "type": "string",
1769
+ "pattern": "^WHILESTEP-.+$"
1770
+ }
1771
+ }
1772
+ },
1773
+ "WhileStep": {
1774
+ "identity": "RESOURCE-WhileStep",
1775
+ "resourceTypeId": "TYPE-ResourceType",
1776
+ "creationContext": {
1777
+ "resourceRoleId": "ROLE-Genesis",
1778
+ "executionId": "EXECUTION-WhileStep"
1779
+ },
1780
+ "kind": "materialized",
1781
+ "timestamp": "2025-11-30T00:00:00.000Z",
1782
+ "extractedData": {
1783
+ "identity": "TYPE-WhileStep",
1784
+ "name": "WhileStep",
1785
+ "description": "dummy-description",
1786
+ "resourceFormatId": "FORMAT-ApplicationJson",
1787
+ "extractionSchema": {
1788
+ "$anchor": "WhileStep",
1789
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1790
+ "type": "object",
1791
+ "allOf": [
1792
+ {
1793
+ "$ref": "#/$defs/StepKind"
1794
+ },
1795
+ {
1796
+ "type": "object",
1797
+ "required": [
1798
+ "identity",
1799
+ "kind",
1800
+ "case"
1801
+ ],
1802
+ "properties": {
1803
+ "identity": {
1804
+ "$ref": "#/$defs/WhileStepId"
1805
+ },
1806
+ "kind": {
1807
+ "const": "while"
1808
+ },
1809
+ "case": {
1810
+ "$ref": "#/$defs/ConditionalWrapper"
1811
+ }
1812
+ }
1813
+ }
1814
+ ]
1815
+ }
1816
+ }
1817
+ },
1818
+ "ForStepId": {
1819
+ "identity": "RESOURCE-ForStepId",
1820
+ "resourceTypeId": "TYPE-ResourceType",
1821
+ "creationContext": {
1822
+ "resourceRoleId": "ROLE-Genesis",
1823
+ "executionId": "EXECUTION-ForStepId"
1824
+ },
1825
+ "kind": "materialized",
1826
+ "timestamp": "2025-11-30T00:00:00.000Z",
1827
+ "extractedData": {
1828
+ "identity": "TYPE-ForStepId",
1829
+ "name": "ForStepId",
1830
+ "description": "dummy-description",
1831
+ "resourceFormatId": "FORMAT-ApplicationJson",
1832
+ "extractionSchema": {
1833
+ "$anchor": "ForStepId",
1834
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1835
+ "type": "string",
1836
+ "pattern": "^FORSTEP-.+$"
1837
+ }
1838
+ }
1839
+ },
1840
+ "ForStep": {
1841
+ "identity": "RESOURCE-ForStep",
1842
+ "resourceTypeId": "TYPE-ResourceType",
1843
+ "creationContext": {
1844
+ "resourceRoleId": "ROLE-Genesis",
1845
+ "executionId": "EXECUTION-ForStep"
1846
+ },
1847
+ "kind": "materialized",
1848
+ "timestamp": "2025-11-30T00:00:00.000Z",
1849
+ "extractedData": {
1850
+ "identity": "TYPE-ForStep",
1851
+ "name": "ForStep",
1852
+ "description": "dummy-description",
1853
+ "resourceFormatId": "FORMAT-ApplicationJson",
1854
+ "extractionSchema": {
1855
+ "$anchor": "ForStep",
1856
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1857
+ "type": "object",
1858
+ "allOf": [
1859
+ {
1860
+ "$ref": "#/$defs/StepKind"
1861
+ },
1862
+ {
1863
+ "type": "object",
1864
+ "required": [
1865
+ "identity",
1866
+ "kind",
1867
+ "case"
1868
+ ],
1869
+ "properties": {
1870
+ "identity": {
1871
+ "$ref": "#/$defs/ForStepId"
1872
+ },
1873
+ "kind": {
1874
+ "const": "for"
1875
+ },
1876
+ "case": {
1877
+ "$ref": "#/$defs/ConditionalWrapper"
1878
+ }
1879
+ }
1880
+ }
1881
+ ]
1882
+ }
1883
+ }
1884
+ },
1885
+ "Step": {
1886
+ "identity": "RESOURCE-Step",
1887
+ "resourceTypeId": "TYPE-ResourceType",
1888
+ "creationContext": {
1889
+ "resourceRoleId": "ROLE-Genesis",
1890
+ "executionId": "EXECUTION-Step"
1891
+ },
1892
+ "kind": "materialized",
1893
+ "timestamp": "2025-11-30T00:00:00.000Z",
1894
+ "extractedData": {
1895
+ "identity": "TYPE-Step",
1896
+ "name": "Step",
1897
+ "description": "dummy-description",
1898
+ "resourceFormatId": "FORMAT-ApplicationJson",
1899
+ "extractionSchema": {
1900
+ "$anchor": "Step",
1901
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1902
+ "type": "object",
1903
+ "oneOf": [
1904
+ {
1905
+ "$ref": "#/$defs/WorkStep"
1906
+ },
1907
+ {
1908
+ "$ref": "#/$defs/BranchStep"
1909
+ },
1910
+ {
1911
+ "$ref": "#/$defs/WhileStep"
1912
+ },
1913
+ {
1914
+ "$ref": "#/$defs/ForStep"
1915
+ }
1916
+ ],
1917
+ "unevaluatedProperties": false
1918
+ }
1919
+ }
1920
+ },
1921
+ "StatelessStrategyId": {
1922
+ "identity": "RESOURCE-StatelessStrategyId",
1923
+ "resourceTypeId": "TYPE-ResourceType",
1924
+ "creationContext": {
1925
+ "resourceRoleId": "ROLE-Genesis",
1926
+ "executionId": "EXECUTION-StatelessStrategyId"
1927
+ },
1928
+ "kind": "materialized",
1929
+ "timestamp": "2025-11-30T00:00:00.000Z",
1930
+ "extractedData": {
1931
+ "identity": "TYPE-StatelessStrategyId",
1932
+ "name": "StatelessStrategyId",
1933
+ "description": "dummy-description",
1934
+ "resourceFormatId": "FORMAT-ApplicationJson",
1935
+ "extractionSchema": {
1936
+ "$anchor": "StatelessStrategyId",
1937
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1938
+ "type": "string",
1939
+ "pattern": "^STATELESSSTRATEGY-.+$"
1940
+ }
1941
+ }
1942
+ },
1943
+ "StatelessStrategy": {
1944
+ "identity": "RESOURCE-StatelessStrategy",
1945
+ "resourceTypeId": "TYPE-ResourceType",
1946
+ "creationContext": {
1947
+ "resourceRoleId": "ROLE-Genesis",
1948
+ "executionId": "EXECUTION-StatelessStrategy"
1949
+ },
1950
+ "kind": "materialized",
1951
+ "timestamp": "2025-11-30T00:00:00.000Z",
1952
+ "extractedData": {
1953
+ "identity": "TYPE-StatelessStrategy",
1954
+ "name": "StatelessStrategy",
1955
+ "description": "dummy-description",
1956
+ "resourceFormatId": "FORMAT-ApplicationJson",
1957
+ "extractionSchema": {
1958
+ "$anchor": "StatelessStrategy",
1959
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1960
+ "type": "object",
1961
+ "allOf": [
1962
+ {
1963
+ "type": "object",
1964
+ "required": [
1965
+ "identity",
1966
+ "steps"
1967
+ ],
1968
+ "properties": {
1969
+ "identity": {
1970
+ "$ref": "#/$defs/StatelessStrategyId"
1971
+ },
1972
+ "steps": {
1973
+ "type": "array",
1974
+ "items": {
1975
+ "$ref": "#/$defs/Step"
1976
+ },
1977
+ "uniqueItems": true
1978
+ }
1979
+ }
1980
+ }
1981
+ ],
1982
+ "unevaluatedProperties": false
1983
+ }
1984
+ }
1985
+ },
1986
+ "StrategyStateValue": {
1987
+ "identity": "RESOURCE-StrategyStateValue",
1988
+ "resourceTypeId": "TYPE-ResourceType",
1989
+ "creationContext": {
1990
+ "resourceRoleId": "ROLE-Genesis",
1991
+ "executionId": "EXECUTION-StrategyStateValue"
1992
+ },
1993
+ "kind": "materialized",
1994
+ "timestamp": "2025-11-30T00:00:00.000Z",
1995
+ "extractedData": {
1996
+ "identity": "TYPE-StrategyStateValue",
1997
+ "name": "StrategyStateValue",
1998
+ "description": "dummy-description",
1999
+ "resourceFormatId": "FORMAT-ApplicationJson",
2000
+ "extractionSchema": {
2001
+ "$anchor": "StrategyStateValue",
2002
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2003
+ "type": "object",
2004
+ "propertyNames": {
2005
+ "$ref": "#/$defs/ExecutionId"
2006
+ },
2007
+ "additionalProperties": {
2008
+ "type": "object",
2009
+ "propertyNames": {
2010
+ "$ref": "#/$defs/ResourceRoleId"
2011
+ },
2012
+ "additionalProperties": {
2013
+ "oneOf": [
2014
+ {
2015
+ "$ref": "#/$defs/ResourcePotentialInput"
2016
+ },
2017
+ {
2018
+ "$ref": "#/$defs/ResourcePotentialOutput"
2019
+ },
2020
+ {
2021
+ "$ref": "#/$defs/Resource"
2022
+ }
2023
+ ]
2024
+ }
2025
+ }
2026
+ }
2027
+ }
2028
+ },
2029
+ "StrategyState": {
2030
+ "identity": "RESOURCE-StrategyState",
2031
+ "resourceTypeId": "TYPE-ResourceType",
2032
+ "creationContext": {
2033
+ "resourceRoleId": "ROLE-Genesis",
2034
+ "executionId": "EXECUTION-StrategyState"
2035
+ },
2036
+ "kind": "materialized",
2037
+ "timestamp": "2025-11-30T00:00:00.000Z",
2038
+ "extractedData": {
2039
+ "identity": "TYPE-StrategyState",
2040
+ "name": "StrategyState",
2041
+ "description": "dummy-description",
2042
+ "resourceFormatId": "FORMAT-ApplicationJson",
2043
+ "extractionSchema": {
2044
+ "$anchor": "StrategyState",
2045
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2046
+ "type": "object",
2047
+ "required": [
2048
+ "strategyState"
2049
+ ],
2050
+ "properties": {
2051
+ "strategyState": {
2052
+ "$ref": "#/$defs/StrategyStateValue"
2053
+ }
2054
+ }
2055
+ }
2056
+ }
2057
+ },
2058
+ "StatefulStrategyId": {
2059
+ "identity": "RESOURCE-StatefulStrategyId",
2060
+ "resourceTypeId": "TYPE-ResourceType",
2061
+ "creationContext": {
2062
+ "resourceRoleId": "ROLE-Genesis",
2063
+ "executionId": "EXECUTION-StatefulStrategyId"
2064
+ },
2065
+ "kind": "materialized",
2066
+ "timestamp": "2025-11-30T00:00:00.000Z",
2067
+ "extractedData": {
2068
+ "identity": "TYPE-StatefulStrategyId",
2069
+ "name": "StatefulStrategyId",
2070
+ "description": "dummy-description",
2071
+ "resourceFormatId": "FORMAT-ApplicationJson",
2072
+ "extractionSchema": {
2073
+ "$anchor": "StatefulStrategyId",
2074
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2075
+ "type": "string",
2076
+ "pattern": "^STATEFULSTRATEGY-.+$"
2077
+ }
2078
+ }
2079
+ },
2080
+ "StatefulStrategy": {
2081
+ "identity": "RESOURCE-StatefulStrategy",
2082
+ "resourceTypeId": "TYPE-ResourceType",
2083
+ "creationContext": {
2084
+ "resourceRoleId": "ROLE-Genesis",
2085
+ "executionId": "EXECUTION-StatefulStrategy"
2086
+ },
2087
+ "kind": "materialized",
2088
+ "timestamp": "2025-11-30T00:00:00.000Z",
2089
+ "extractedData": {
2090
+ "identity": "TYPE-StatefulStrategy",
2091
+ "name": "StatefulStrategy",
2092
+ "description": "dummy-description",
2093
+ "resourceFormatId": "FORMAT-ApplicationJson",
2094
+ "extractionSchema": {
2095
+ "$anchor": "StatefulStrategy",
2096
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2097
+ "type": "object",
2098
+ "allOf": [
2099
+ {
2100
+ "required": [
2101
+ "identity",
2102
+ "statelessStrategy"
2103
+ ],
2104
+ "properties": {
2105
+ "identity": {
2106
+ "$ref": "#/$defs/StatefulStrategyId"
2107
+ },
2108
+ "statelessStrategy": {
2109
+ "$ref": "#/$defs/StatelessStrategy"
2110
+ }
2111
+ }
2112
+ },
2113
+ {
2114
+ "$ref": "#/$defs/StrategyState"
2115
+ }
2116
+ ]
2117
+ }
2118
+ }
2119
+ }
2120
+ }