@toolproof-core/schema 1.0.1 → 1.0.3

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 (47) hide show
  1. package/dist/generated/dependencyMap.json +292 -0
  2. package/dist/generated/normalized/Genesis.d.ts +2 -0
  3. package/dist/generated/normalized/Genesis.js +2 -0
  4. package/dist/generated/normalized/Genesis.json +2000 -0
  5. package/dist/generated/resources/Genesis.d.ts +2 -0
  6. package/dist/generated/resources/Genesis.js +2 -0
  7. package/dist/generated/resources/Genesis.json +2899 -0
  8. package/dist/generated/schemas/Genesis.d.ts +2 -0
  9. package/dist/generated/schemas/Genesis.js +2 -0
  10. package/dist/generated/schemas/Genesis.json +1458 -0
  11. package/dist/generated/schemas/standalone/Goal.d.ts +2 -0
  12. package/dist/generated/schemas/standalone/Goal.js +2 -0
  13. package/dist/generated/schemas/standalone/Goal.json +86 -0
  14. package/dist/generated/schemas/standalone/Job.d.ts +2 -0
  15. package/dist/generated/schemas/standalone/Job.js +2 -0
  16. package/dist/generated/schemas/standalone/Job.json +236 -0
  17. package/dist/generated/schemas/standalone/RawStrategy.d.ts +2 -0
  18. package/dist/generated/schemas/standalone/RawStrategy.js +2 -0
  19. package/dist/generated/schemas/standalone/RawStrategy.json +642 -0
  20. package/dist/generated/schemas/standalone/ResourceType.d.ts +2 -0
  21. package/dist/generated/schemas/standalone/ResourceType.js +2 -0
  22. package/dist/generated/schemas/standalone/ResourceType.json +140 -0
  23. package/dist/generated/schemas/standalone/RunnableStrategy.d.ts +2 -0
  24. package/dist/generated/schemas/standalone/RunnableStrategy.js +2 -0
  25. package/dist/generated/schemas/standalone/RunnableStrategy.json +712 -0
  26. package/dist/generated/schemas/standalone/StrategyRun.d.ts +2 -0
  27. package/dist/generated/schemas/standalone/StrategyRun.js +2 -0
  28. package/dist/generated/schemas/standalone/StrategyRun.json +994 -0
  29. package/dist/index.d.ts +13 -0
  30. package/dist/index.js +7 -0
  31. package/package.json +9 -8
  32. package/src/Genesis.json +1999 -1999
  33. package/src/generated/types/standalone/Resource_Genesis.js +1 -1
  34. package/src/generated/types/standalone/Resource_Job.js +1 -1
  35. package/src/generated/types/standalone/Resource_RawStrategy.js +1 -1
  36. package/src/generated/types/standalone/Resource_ResourceType.js +1 -1
  37. package/src/generated/types/standalone/Resource_RunnableStrategy.js +1 -1
  38. package/src/index.ts +93 -1
  39. package/src/scripts/_lib/config.ts +205 -205
  40. package/src/scripts/extractSchemasFromResourceTypeShells.ts +218 -218
  41. package/src/scripts/generateDependencies.ts +120 -120
  42. package/src/scripts/generateSchemaShims.ts +135 -135
  43. package/src/scripts/generateStandaloneSchema.ts +175 -175
  44. package/src/scripts/generateStandaloneType.ts +119 -119
  45. package/src/scripts/generateTypes.ts +614 -614
  46. package/src/scripts/normalizeAnchorsToPointers.ts +123 -123
  47. package/src/scripts/wrapResourceTypesWithResourceShells.ts +84 -84
@@ -0,0 +1,2899 @@
1
+ {
2
+ "Genesis": {
3
+ "identity": "RESOURCE-Genesis",
4
+ "resourceTypeHandle": "TYPE-ResourceType",
5
+ "creationContext": {
6
+ "resourceRoleHandle": "ROLE-Genesis",
7
+ "jobStepHandle": "JOB_STEP-Genesis"
8
+ },
9
+ "kind": "materialized",
10
+ "timestamp": "2025-11-30T00:00:00.000Z",
11
+ "nucleus": {}
12
+ },
13
+ "Name": {
14
+ "identity": "RESOURCE-Name",
15
+ "resourceTypeHandle": "TYPE-ResourceType",
16
+ "creationContext": {
17
+ "resourceRoleHandle": "ROLE-Genesis",
18
+ "jobStepHandle": "JOB_STEP-Name"
19
+ },
20
+ "kind": "materialized",
21
+ "timestamp": "2025-11-30T00:00:00.000Z",
22
+ "nucleus": {
23
+ "identity": "TYPE-Name",
24
+ "name": "Name",
25
+ "description": "dummy-description",
26
+ "resourceTypeImplementationKind": "internal-without-identity",
27
+ "nucleusSchema": {
28
+ "$anchor": "Name",
29
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
30
+ "type": "string",
31
+ "minLength": 1,
32
+ "pattern": "^(?:[A-Z][^0-9]*|[a-z]+/[a-z.+&-]+)$",
33
+ "$comment": "Validation is intercepted by an AI Agent that verifies the name against Toolproof's naming conventions.",
34
+ "semanticValidation": "Ajv custom keyword to verify name."
35
+ }
36
+ }
37
+ },
38
+ "NameFacet": {
39
+ "identity": "RESOURCE-NameFacet",
40
+ "resourceTypeHandle": "TYPE-ResourceType",
41
+ "creationContext": {
42
+ "resourceRoleHandle": "ROLE-Genesis",
43
+ "jobStepHandle": "JOB_STEP-NameFacet"
44
+ },
45
+ "kind": "materialized",
46
+ "timestamp": "2025-11-30T00:00:00.000Z",
47
+ "nucleus": {
48
+ "identity": "TYPE-NameFacet",
49
+ "name": "NameFacet",
50
+ "description": "dummy-description",
51
+ "resourceTypeImplementationKind": "internal-without-identity",
52
+ "nucleusSchema": {
53
+ "$anchor": "NameFacet",
54
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
55
+ "type": "object",
56
+ "required": [
57
+ "name"
58
+ ],
59
+ "properties": {
60
+ "name": {
61
+ "$ref": "#/$defs/Name"
62
+ }
63
+ }
64
+ }
65
+ }
66
+ },
67
+ "Description": {
68
+ "identity": "RESOURCE-Description",
69
+ "resourceTypeHandle": "TYPE-ResourceType",
70
+ "creationContext": {
71
+ "resourceRoleHandle": "ROLE-Genesis",
72
+ "jobStepHandle": "JOB_STEP-Description"
73
+ },
74
+ "kind": "materialized",
75
+ "timestamp": "2025-11-30T00:00:00.000Z",
76
+ "nucleus": {
77
+ "identity": "TYPE-Description",
78
+ "name": "Description",
79
+ "description": "dummy-description",
80
+ "resourceTypeImplementationKind": "internal-without-identity",
81
+ "nucleusSchema": {
82
+ "$anchor": "Description",
83
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
84
+ "type": "string",
85
+ "minLength": 1,
86
+ "$comment": "Validation is intercepted by an AI Agent that verifies the description against Toolproof's documentation standards.",
87
+ "semanticValidation": "Ajv custom keyword to verify description."
88
+ }
89
+ }
90
+ },
91
+ "DescriptionFacet": {
92
+ "identity": "RESOURCE-DescriptionFacet",
93
+ "resourceTypeHandle": "TYPE-ResourceType",
94
+ "creationContext": {
95
+ "resourceRoleHandle": "ROLE-Genesis",
96
+ "jobStepHandle": "JOB_STEP-DescriptionFacet"
97
+ },
98
+ "kind": "materialized",
99
+ "timestamp": "2025-11-30T00:00:00.000Z",
100
+ "nucleus": {
101
+ "identity": "TYPE-DescriptionFacet",
102
+ "name": "DescriptionFacet",
103
+ "description": "dummy-description",
104
+ "resourceTypeImplementationKind": "internal-without-identity",
105
+ "nucleusSchema": {
106
+ "$anchor": "DescriptionFacet",
107
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
108
+ "type": "object",
109
+ "required": [
110
+ "description"
111
+ ],
112
+ "properties": {
113
+ "description": {
114
+ "$ref": "#/$defs/Description"
115
+ }
116
+ }
117
+ }
118
+ }
119
+ },
120
+ "DocumentationFacet": {
121
+ "identity": "RESOURCE-DocumentationFacet",
122
+ "resourceTypeHandle": "TYPE-ResourceType",
123
+ "creationContext": {
124
+ "resourceRoleHandle": "ROLE-Genesis",
125
+ "jobStepHandle": "JOB_STEP-DocumentationFacet"
126
+ },
127
+ "kind": "materialized",
128
+ "timestamp": "2025-11-30T00:00:00.000Z",
129
+ "nucleus": {
130
+ "identity": "TYPE-DocumentationFacet",
131
+ "name": "DocumentationFacet",
132
+ "description": "dummy-description",
133
+ "resourceTypeImplementationKind": "internal-without-identity",
134
+ "nucleusSchema": {
135
+ "$anchor": "DocumentationFacet",
136
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
137
+ "type": "object",
138
+ "allOf": [
139
+ {
140
+ "$ref": "#/$defs/NameFacet"
141
+ },
142
+ {
143
+ "$ref": "#/$defs/DescriptionFacet"
144
+ }
145
+ ]
146
+ }
147
+ }
148
+ },
149
+ "ResourceTypeImplementationKind": {
150
+ "identity": "RESOURCE-ResourceTypeImplementationKind",
151
+ "resourceTypeHandle": "TYPE-ResourceType",
152
+ "creationContext": {
153
+ "resourceRoleHandle": "ROLE-Genesis",
154
+ "jobStepHandle": "JOB_STEP-ResourceTypeImplementationKind"
155
+ },
156
+ "kind": "materialized",
157
+ "timestamp": "2025-11-30T00:00:00.000Z",
158
+ "nucleus": {
159
+ "identity": "TYPE-ResourceTypeImplementationKind",
160
+ "name": "ResourceTypeImplementationKind",
161
+ "description": "dummy-description",
162
+ "resourceTypeImplementationKind": "internal-without-identity",
163
+ "nucleusSchema": {
164
+ "$anchor": "ResourceTypeImplementationKind",
165
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
166
+ "type": "string",
167
+ "enum": [
168
+ "internal-without-identity",
169
+ "internal-with-identity",
170
+ "external"
171
+ ]
172
+ }
173
+ }
174
+ },
175
+ "ResourceTypeImplementationKindFacet": {
176
+ "identity": "RESOURCE-ResourceTypeImplementationKindFacet",
177
+ "resourceTypeHandle": "TYPE-ResourceType",
178
+ "creationContext": {
179
+ "resourceRoleHandle": "ROLE-Genesis",
180
+ "jobStepHandle": "JOB_STEP-ResourceTypeImplementationKindFacet"
181
+ },
182
+ "kind": "materialized",
183
+ "timestamp": "2025-11-30T00:00:00.000Z",
184
+ "nucleus": {
185
+ "identity": "TYPE-ResourceTypeImplementationKindFacet",
186
+ "name": "ResourceTypeImplementationKindFacet",
187
+ "description": "dummy-description",
188
+ "resourceTypeImplementationKind": "internal-without-identity",
189
+ "nucleusSchema": {
190
+ "$anchor": "ResourceTypeImplementationKindFacet",
191
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
192
+ "type": "object",
193
+ "required": [
194
+ "resourceTypeImplementationKind"
195
+ ],
196
+ "properties": {
197
+ "resourceTypeImplementationKind": {
198
+ "$ref": "#/$defs/ResourceTypeImplementationKind"
199
+ }
200
+ }
201
+ }
202
+ }
203
+ },
204
+ "Uri": {
205
+ "identity": "RESOURCE-Uri",
206
+ "resourceTypeHandle": "TYPE-ResourceType",
207
+ "creationContext": {
208
+ "resourceRoleHandle": "ROLE-Genesis",
209
+ "jobStepHandle": "JOB_STEP-Uri"
210
+ },
211
+ "kind": "materialized",
212
+ "timestamp": "2025-11-30T00:00:00.000Z",
213
+ "nucleus": {
214
+ "identity": "TYPE-Uri",
215
+ "name": "Uri",
216
+ "description": "dummy-description",
217
+ "resourceTypeImplementationKind": "internal-without-identity",
218
+ "nucleusSchema": {
219
+ "$anchor": "Uri",
220
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
221
+ "type": "string",
222
+ "format": "uri"
223
+ }
224
+ }
225
+ },
226
+ "ResourceTypeIdentity": {
227
+ "identity": "RESOURCE-ResourceTypeIdentity",
228
+ "resourceTypeHandle": "TYPE-ResourceType",
229
+ "creationContext": {
230
+ "resourceRoleHandle": "ROLE-Genesis",
231
+ "jobStepHandle": "JOB_STEP-ResourceTypeIdentity"
232
+ },
233
+ "kind": "materialized",
234
+ "timestamp": "2025-11-30T00:00:00.000Z",
235
+ "nucleus": {
236
+ "identity": "TYPE-ResourceTypeIdentity",
237
+ "name": "ResourceTypeIdentity",
238
+ "description": "dummy-description",
239
+ "resourceTypeImplementationKind": "internal-without-identity",
240
+ "nucleusSchema": {
241
+ "$anchor": "ResourceTypeIdentity",
242
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
243
+ "type": "string",
244
+ "pattern": "^TYPE-.+$"
245
+ }
246
+ }
247
+ },
248
+ "ResourceType": {
249
+ "identity": "RESOURCE-ResourceType",
250
+ "resourceTypeHandle": "TYPE-ResourceType",
251
+ "creationContext": {
252
+ "resourceRoleHandle": "ROLE-Genesis",
253
+ "jobStepHandle": "JOB_STEP-ResourceType"
254
+ },
255
+ "kind": "materialized",
256
+ "timestamp": "2025-11-30T00:00:00.000Z",
257
+ "nucleus": {
258
+ "identity": "TYPE-ResourceType",
259
+ "name": "ResourceType",
260
+ "description": "dummy-description",
261
+ "resourceTypeImplementationKind": "internal-with-identity",
262
+ "nucleusSchema": {
263
+ "$anchor": "ResourceType",
264
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
265
+ "type": "object",
266
+ "required": [
267
+ "identity",
268
+ "nucleusSchema"
269
+ ],
270
+ "properties": {
271
+ "identity": {
272
+ "$ref": "#/$defs/ResourceTypeIdentity"
273
+ },
274
+ "nucleusSchema": true,
275
+ "embeddingUriMap": {
276
+ "type": "object",
277
+ "propertyNames": {
278
+ "type": "string",
279
+ "pattern": "^EMBEDDING-.+$"
280
+ },
281
+ "additionalProperties": {
282
+ "$ref": "#/$defs/Uri"
283
+ },
284
+ "minProperties": 1,
285
+ "$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 map are members of a set of predefined embedding models."
286
+ },
287
+ "generatorUriMap": {
288
+ "type": "object",
289
+ "propertyNames": {
290
+ "type": "string",
291
+ "pattern": "^GENERATOR-.+$"
292
+ },
293
+ "additionalProperties": {
294
+ "$ref": "#/$defs/Uri"
295
+ },
296
+ "minProperties": 1,
297
+ "$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 map 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 map. 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."
298
+ }
299
+ },
300
+ "allOf": [
301
+ {
302
+ "$ref": "#/$defs/DocumentationFacet"
303
+ },
304
+ {
305
+ "$ref": "#/$defs/ResourceTypeImplementationKindFacet"
306
+ }
307
+ ]
308
+ }
309
+ }
310
+ },
311
+ "ResourceRoleIdentity": {
312
+ "identity": "RESOURCE-ResourceRoleIdentity",
313
+ "resourceTypeHandle": "TYPE-ResourceType",
314
+ "creationContext": {
315
+ "resourceRoleHandle": "ROLE-Genesis",
316
+ "jobStepHandle": "JOB_STEP-ResourceRoleIdentity"
317
+ },
318
+ "kind": "materialized",
319
+ "timestamp": "2025-11-30T00:00:00.000Z",
320
+ "nucleus": {
321
+ "identity": "TYPE-ResourceRoleIdentity",
322
+ "name": "ResourceRoleIdentity",
323
+ "description": "dummy-description",
324
+ "resourceTypeImplementationKind": "internal-without-identity",
325
+ "nucleusSchema": {
326
+ "$anchor": "ResourceRoleIdentity",
327
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
328
+ "type": "string",
329
+ "pattern": "^ROLE-.+$"
330
+ }
331
+ }
332
+ },
333
+ "ResourceRoleValue": {
334
+ "identity": "RESOURCE-ResourceRoleValue",
335
+ "resourceTypeHandle": "TYPE-ResourceType",
336
+ "creationContext": {
337
+ "resourceRoleHandle": "ROLE-Genesis",
338
+ "jobStepHandle": "JOB_STEP-ResourceRoleValue"
339
+ },
340
+ "kind": "materialized",
341
+ "timestamp": "2025-11-30T00:00:00.000Z",
342
+ "nucleus": {
343
+ "identity": "TYPE-ResourceRoleValue",
344
+ "name": "ResourceRoleValue",
345
+ "description": "dummy-description",
346
+ "resourceTypeImplementationKind": "internal-without-identity",
347
+ "nucleusSchema": {
348
+ "$anchor": "ResourceRoleValue",
349
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
350
+ "type": "object",
351
+ "allOf": [
352
+ {
353
+ "$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).",
354
+ "required": [
355
+ "resourceTypeHandle"
356
+ ],
357
+ "properties": {
358
+ "resourceTypeHandle": {
359
+ "$ref": "#/$defs/ResourceTypeIdentity"
360
+ }
361
+ }
362
+ },
363
+ {
364
+ "$ref": "#/$defs/DocumentationFacet"
365
+ }
366
+ ]
367
+ },
368
+ "unevaluatedProperties": false
369
+ }
370
+ },
371
+ "RoleMap": {
372
+ "identity": "RESOURCE-RoleMap",
373
+ "resourceTypeHandle": "TYPE-ResourceType",
374
+ "creationContext": {
375
+ "resourceRoleHandle": "ROLE-Genesis",
376
+ "jobStepHandle": "JOB_STEP-RoleMap"
377
+ },
378
+ "kind": "materialized",
379
+ "timestamp": "2025-11-30T00:00:00.000Z",
380
+ "nucleus": {
381
+ "identity": "TYPE-RoleMap",
382
+ "name": "RoleMap",
383
+ "description": "dummy-description",
384
+ "resourceTypeImplementationKind": "internal-without-identity",
385
+ "nucleusSchema": {
386
+ "$anchor": "RoleMap",
387
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
388
+ "type": "object",
389
+ "propertyNames": {
390
+ "$ref": "#/$defs/ResourceRoleIdentity"
391
+ },
392
+ "additionalProperties": {
393
+ "$ref": "#/$defs/ResourceRoleValue"
394
+ }
395
+ }
396
+ }
397
+ },
398
+ "Error": {
399
+ "identity": "RESOURCE-Error",
400
+ "resourceTypeHandle": "TYPE-ResourceType",
401
+ "creationContext": {
402
+ "resourceRoleHandle": "ROLE-Genesis",
403
+ "jobStepHandle": "JOB_STEP-Error"
404
+ },
405
+ "kind": "materialized",
406
+ "timestamp": "2025-11-30T00:00:00.000Z",
407
+ "nucleus": {
408
+ "identity": "TYPE-Error",
409
+ "name": "Error",
410
+ "description": "dummy-description",
411
+ "resourceTypeImplementationKind": "internal-without-identity",
412
+ "nucleusSchema": {
413
+ "$anchor": "Error",
414
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
415
+ "type": "object",
416
+ "allOf": [
417
+ {
418
+ "$ref": "#/$defs/DocumentationFacet"
419
+ },
420
+ {
421
+ "properties": {
422
+ "details": {
423
+ "type": "object"
424
+ }
425
+ }
426
+ }
427
+ ],
428
+ "unevaluatedProperties": false
429
+ }
430
+ }
431
+ },
432
+ "Roles": {
433
+ "identity": "RESOURCE-Roles",
434
+ "resourceTypeHandle": "TYPE-ResourceType",
435
+ "creationContext": {
436
+ "resourceRoleHandle": "ROLE-Genesis",
437
+ "jobStepHandle": "JOB_STEP-Roles"
438
+ },
439
+ "kind": "materialized",
440
+ "timestamp": "2025-11-30T00:00:00.000Z",
441
+ "nucleus": {
442
+ "identity": "TYPE-Roles",
443
+ "name": "Roles",
444
+ "description": "dummy-description",
445
+ "resourceTypeImplementationKind": "internal-without-identity",
446
+ "nucleusSchema": {
447
+ "$anchor": "Roles",
448
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
449
+ "type": "object",
450
+ "required": [
451
+ "inputMap",
452
+ "outputMap"
453
+ ],
454
+ "properties": {
455
+ "inputMap": {
456
+ "$ref": "#/$defs/RoleMap"
457
+ },
458
+ "outputMap": {
459
+ "allOf": [
460
+ {
461
+ "$ref": "#/$defs/RoleMap"
462
+ },
463
+ {
464
+ "required": [
465
+ "ROLE-ErrorOutput"
466
+ ],
467
+ "properties": {
468
+ "ROLE-ErrorOutput": {
469
+ "type": "object",
470
+ "allOf": [
471
+ {
472
+ "$ref": "#/$defs/ResourceRoleValue"
473
+ },
474
+ {
475
+ "required": [
476
+ "resourceTypeHandle",
477
+ "name",
478
+ "description"
479
+ ],
480
+ "properties": {
481
+ "resourceTypeHandle": {
482
+ "const": "TYPE-Error"
483
+ },
484
+ "name": {
485
+ "const": "ErrorOutput"
486
+ },
487
+ "description": {
488
+ "const": "Represents error outputs from job runs."
489
+ }
490
+ }
491
+ }
492
+ ]
493
+ }
494
+ }
495
+ }
496
+ ]
497
+ }
498
+ },
499
+ "unevaluatedProperties": false
500
+ }
501
+ }
502
+ },
503
+ "RolesFacet": {
504
+ "identity": "RESOURCE-RolesFacet",
505
+ "resourceTypeHandle": "TYPE-ResourceType",
506
+ "creationContext": {
507
+ "resourceRoleHandle": "ROLE-Genesis",
508
+ "jobStepHandle": "JOB_STEP-RolesFacet"
509
+ },
510
+ "kind": "materialized",
511
+ "timestamp": "2025-11-30T00:00:00.000Z",
512
+ "nucleus": {
513
+ "identity": "TYPE-RolesFacet",
514
+ "name": "RolesFacet",
515
+ "description": "dummy-description",
516
+ "resourceTypeImplementationKind": "internal-without-identity",
517
+ "nucleusSchema": {
518
+ "$anchor": "RolesFacet",
519
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
520
+ "type": "object",
521
+ "required": [
522
+ "roles"
523
+ ],
524
+ "properties": {
525
+ "roles": {
526
+ "$ref": "#/$defs/Roles"
527
+ }
528
+ }
529
+ }
530
+ }
531
+ },
532
+ "Domain": {
533
+ "identity": "RESOURCE-Domain",
534
+ "resourceTypeHandle": "TYPE-ResourceType",
535
+ "creationContext": {
536
+ "resourceRoleHandle": "ROLE-Genesis",
537
+ "jobStepHandle": "JOB_STEP-Domain"
538
+ },
539
+ "kind": "materialized",
540
+ "timestamp": "2025-11-30T00:00:00.000Z",
541
+ "nucleus": {
542
+ "identity": "TYPE-Domain",
543
+ "name": "Domain",
544
+ "description": "dummy-description",
545
+ "resourceTypeImplementationKind": "internal-without-identity",
546
+ "nucleusSchema": {
547
+ "$anchor": "Domain",
548
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
549
+ "type": "string",
550
+ "enum": [
551
+ "internal",
552
+ "numerical",
553
+ "biological",
554
+ "logical",
555
+ "augmental"
556
+ ]
557
+ }
558
+ }
559
+ },
560
+ "DomainFacet": {
561
+ "identity": "RESOURCE-DomainFacet",
562
+ "resourceTypeHandle": "TYPE-ResourceType",
563
+ "creationContext": {
564
+ "resourceRoleHandle": "ROLE-Genesis",
565
+ "jobStepHandle": "JOB_STEP-DomainFacet"
566
+ },
567
+ "kind": "materialized",
568
+ "timestamp": "2025-11-30T00:00:00.000Z",
569
+ "nucleus": {
570
+ "identity": "TYPE-DomainFacet",
571
+ "name": "DomainFacet",
572
+ "description": "dummy-description",
573
+ "resourceTypeImplementationKind": "internal-without-identity",
574
+ "nucleusSchema": {
575
+ "$anchor": "DomainFacet",
576
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
577
+ "type": "object",
578
+ "required": [
579
+ "domain"
580
+ ],
581
+ "properties": {
582
+ "domain": {
583
+ "$ref": "#/$defs/Domain"
584
+ }
585
+ }
586
+ }
587
+ }
588
+ },
589
+ "JobIdentity": {
590
+ "identity": "RESOURCE-JobIdentity",
591
+ "resourceTypeHandle": "TYPE-ResourceType",
592
+ "creationContext": {
593
+ "resourceRoleHandle": "ROLE-Genesis",
594
+ "jobStepHandle": "JOB_STEP-JobIdentity"
595
+ },
596
+ "kind": "materialized",
597
+ "timestamp": "2025-11-30T00:00:00.000Z",
598
+ "nucleus": {
599
+ "identity": "TYPE-JobIdentity",
600
+ "name": "JobIdentity",
601
+ "description": "dummy-description",
602
+ "resourceTypeImplementationKind": "internal-without-identity",
603
+ "nucleusSchema": {
604
+ "$anchor": "JobIdentity",
605
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
606
+ "type": "string",
607
+ "pattern": "^JOB-.+$"
608
+ }
609
+ }
610
+ },
611
+ "Job": {
612
+ "identity": "RESOURCE-Job",
613
+ "resourceTypeHandle": "TYPE-ResourceType",
614
+ "creationContext": {
615
+ "resourceRoleHandle": "ROLE-Genesis",
616
+ "jobStepHandle": "JOB_STEP-Job"
617
+ },
618
+ "kind": "materialized",
619
+ "timestamp": "2025-11-30T00:00:00.000Z",
620
+ "nucleus": {
621
+ "identity": "TYPE-Job",
622
+ "name": "Job",
623
+ "description": "dummy-description",
624
+ "resourceTypeImplementationKind": "internal-with-identity",
625
+ "nucleusSchema": {
626
+ "$anchor": "Job",
627
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
628
+ "type": "object",
629
+ "required": [
630
+ "identity",
631
+ "implementationUri"
632
+ ],
633
+ "properties": {
634
+ "identity": {
635
+ "$ref": "#/$defs/JobIdentity"
636
+ },
637
+ "implementationUri": {
638
+ "$ref": "#/$defs/Uri"
639
+ }
640
+ },
641
+ "allOf": [
642
+ {
643
+ "$ref": "#/$defs/DocumentationFacet"
644
+ },
645
+ {
646
+ "$ref": "#/$defs/DomainFacet"
647
+ },
648
+ {
649
+ "$ref": "#/$defs/RolesFacet"
650
+ }
651
+ ],
652
+ "unevaluatedProperties": false
653
+ }
654
+ }
655
+ },
656
+ "RoleBindingArray": {
657
+ "identity": "RESOURCE-RoleBindingArray",
658
+ "resourceTypeHandle": "TYPE-ResourceType",
659
+ "creationContext": {
660
+ "resourceRoleHandle": "ROLE-Genesis",
661
+ "jobStepHandle": "JOB_STEP-RoleBindingArray"
662
+ },
663
+ "kind": "materialized",
664
+ "timestamp": "2025-11-30T00:00:00.000Z",
665
+ "nucleus": {
666
+ "identity": "TYPE-RoleBindingArray",
667
+ "name": "RoleBindingArray",
668
+ "description": "dummy-description",
669
+ "resourceTypeImplementationKind": "internal-without-identity",
670
+ "nucleusSchema": {
671
+ "$anchor": "RoleBindingArray",
672
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
673
+ "type": "array",
674
+ "items": {
675
+ "$ref": "#/$defs/ResourceRoleIdentity"
676
+ }
677
+ }
678
+ }
679
+ },
680
+ "RoleBindings": {
681
+ "identity": "RESOURCE-RoleBindings",
682
+ "resourceTypeHandle": "TYPE-ResourceType",
683
+ "creationContext": {
684
+ "resourceRoleHandle": "ROLE-Genesis",
685
+ "jobStepHandle": "JOB_STEP-RoleBindings"
686
+ },
687
+ "kind": "materialized",
688
+ "timestamp": "2025-11-30T00:00:00.000Z",
689
+ "nucleus": {
690
+ "identity": "TYPE-RoleBindings",
691
+ "name": "RoleBindings",
692
+ "description": "dummy-description",
693
+ "resourceTypeImplementationKind": "internal-without-identity",
694
+ "nucleusSchema": {
695
+ "$anchor": "RoleBindings",
696
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
697
+ "type": "object",
698
+ "required": [
699
+ "inputBindings",
700
+ "outputBindings"
701
+ ],
702
+ "properties": {
703
+ "inputBindings": {
704
+ "$ref": "#/$defs/RoleBindingArray"
705
+ },
706
+ "outputBindings": {
707
+ "$ref": "#/$defs/RoleBindingArray"
708
+ }
709
+ }
710
+ },
711
+ "unevaluatedProperties": false
712
+ }
713
+ },
714
+ "RoleBindingsFacet": {
715
+ "identity": "RESOURCE-RoleBindingsFacet",
716
+ "resourceTypeHandle": "TYPE-ResourceType",
717
+ "creationContext": {
718
+ "resourceRoleHandle": "ROLE-Genesis",
719
+ "jobStepHandle": "JOB_STEP-RoleBindingsFacet"
720
+ },
721
+ "kind": "materialized",
722
+ "timestamp": "2025-11-30T00:00:00.000Z",
723
+ "nucleus": {
724
+ "identity": "TYPE-RoleBindingsFacet",
725
+ "name": "RoleBindingsFacet",
726
+ "description": "dummy-description",
727
+ "resourceTypeImplementationKind": "internal-without-identity",
728
+ "nucleusSchema": {
729
+ "$anchor": "RoleBindingsFacet",
730
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
731
+ "type": "object",
732
+ "required": [
733
+ "roleBindings"
734
+ ],
735
+ "properties": {
736
+ "roleBindings": {
737
+ "$ref": "#/$defs/RoleBindings"
738
+ }
739
+ }
740
+ }
741
+ }
742
+ },
743
+ "StepKind": {
744
+ "identity": "RESOURCE-StepKind",
745
+ "resourceTypeHandle": "TYPE-ResourceType",
746
+ "creationContext": {
747
+ "resourceRoleHandle": "ROLE-Genesis",
748
+ "jobStepHandle": "JOB_STEP-StepKind"
749
+ },
750
+ "kind": "materialized",
751
+ "timestamp": "2025-11-30T00:00:00.000Z",
752
+ "nucleus": {
753
+ "identity": "TYPE-StepKind",
754
+ "name": "StepKind",
755
+ "description": "dummy-description",
756
+ "resourceTypeImplementationKind": "internal-without-identity",
757
+ "nucleusSchema": {
758
+ "$anchor": "StepKind",
759
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
760
+ "type": "string",
761
+ "enum": [
762
+ "job",
763
+ "branch",
764
+ "while",
765
+ "for"
766
+ ]
767
+ }
768
+ }
769
+ },
770
+ "StepKindFacet": {
771
+ "identity": "RESOURCE-StepKindFacet",
772
+ "resourceTypeHandle": "TYPE-ResourceType",
773
+ "creationContext": {
774
+ "resourceRoleHandle": "ROLE-Genesis",
775
+ "jobStepHandle": "JOB_STEP-StepKindFacet"
776
+ },
777
+ "kind": "materialized",
778
+ "timestamp": "2025-11-30T00:00:00.000Z",
779
+ "nucleus": {
780
+ "identity": "TYPE-StepKindFacet",
781
+ "name": "StepKindFacet",
782
+ "description": "dummy-description",
783
+ "resourceTypeImplementationKind": "internal-without-identity",
784
+ "nucleusSchema": {
785
+ "$anchor": "StepKindFacet",
786
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
787
+ "type": "object",
788
+ "required": [
789
+ "stepKind"
790
+ ],
791
+ "properties": {
792
+ "stepKind": {
793
+ "$ref": "#/$defs/StepKind"
794
+ }
795
+ }
796
+ }
797
+ }
798
+ },
799
+ "JobStepIdentity": {
800
+ "identity": "RESOURCE-JobStepIdentity",
801
+ "resourceTypeHandle": "TYPE-ResourceType",
802
+ "creationContext": {
803
+ "resourceRoleHandle": "ROLE-Genesis",
804
+ "jobStepHandle": "JOB_STEP-JobStepIdentity"
805
+ },
806
+ "kind": "materialized",
807
+ "timestamp": "2025-11-30T00:00:00.000Z",
808
+ "nucleus": {
809
+ "identity": "TYPE-JobStepIdentity",
810
+ "name": "JobStepIdentity",
811
+ "description": "dummy-description",
812
+ "resourceTypeImplementationKind": "internal-without-identity",
813
+ "nucleusSchema": {
814
+ "$anchor": "JobStepIdentity",
815
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
816
+ "type": "string",
817
+ "pattern": "^JOB_STEP-.+$"
818
+ }
819
+ }
820
+ },
821
+ "JobStep": {
822
+ "identity": "RESOURCE-JobStep",
823
+ "resourceTypeHandle": "TYPE-ResourceType",
824
+ "creationContext": {
825
+ "resourceRoleHandle": "ROLE-Genesis",
826
+ "jobStepHandle": "JOB_STEP-JobStep"
827
+ },
828
+ "kind": "materialized",
829
+ "timestamp": "2025-11-30T00:00:00.000Z",
830
+ "nucleus": {
831
+ "identity": "TYPE-JobStep",
832
+ "name": "JobStep",
833
+ "description": "dummy-description",
834
+ "resourceTypeImplementationKind": "internal-with-identity",
835
+ "nucleusSchema": {
836
+ "$anchor": "JobStep",
837
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
838
+ "type": "object",
839
+ "required": [
840
+ "identity",
841
+ "jobHandle"
842
+ ],
843
+ "properties": {
844
+ "identity": {
845
+ "$ref": "#/$defs/JobStepIdentity"
846
+ },
847
+ "stepKind": {
848
+ "const": "job"
849
+ },
850
+ "jobHandle": {
851
+ "$ref": "#/$defs/JobIdentity"
852
+ }
853
+ },
854
+ "allOf": [
855
+ {
856
+ "$ref": "#/$defs/StepKindFacet"
857
+ },
858
+ {
859
+ "$comment": "This will be overlayed dynamically to specify roleBindings corresponding to the roles of the underlying job.",
860
+ "$ref": "#/$defs/RoleBindingsFacet"
861
+ }
862
+ ]
863
+ }
864
+ }
865
+ },
866
+ "Conditional": {
867
+ "identity": "RESOURCE-Conditional",
868
+ "resourceTypeHandle": "TYPE-ResourceType",
869
+ "creationContext": {
870
+ "resourceRoleHandle": "ROLE-Genesis",
871
+ "jobStepHandle": "JOB_STEP-Conditional"
872
+ },
873
+ "kind": "materialized",
874
+ "timestamp": "2025-11-30T00:00:00.000Z",
875
+ "nucleus": {
876
+ "identity": "TYPE-Conditional",
877
+ "name": "Conditional",
878
+ "description": "dummy-description",
879
+ "resourceTypeImplementationKind": "internal-without-identity",
880
+ "nucleusSchema": {
881
+ "$anchor": "Conditional",
882
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
883
+ "type": "object",
884
+ "required": [
885
+ "when",
886
+ "what"
887
+ ],
888
+ "properties": {
889
+ "when": {
890
+ "$ref": "#/$defs/JobStep"
891
+ },
892
+ "what": {
893
+ "$ref": "#/$defs/JobStep"
894
+ }
895
+ },
896
+ "unevaluatedProperties": false
897
+ }
898
+ }
899
+ },
900
+ "BranchStepIdentity": {
901
+ "identity": "RESOURCE-BranchStepIdentity",
902
+ "resourceTypeHandle": "TYPE-ResourceType",
903
+ "creationContext": {
904
+ "resourceRoleHandle": "ROLE-Genesis",
905
+ "jobStepHandle": "JOB_STEP-BranchStepIdentity"
906
+ },
907
+ "kind": "materialized",
908
+ "timestamp": "2025-11-30T00:00:00.000Z",
909
+ "nucleus": {
910
+ "identity": "TYPE-BranchStepIdentity",
911
+ "name": "BranchStepIdentity",
912
+ "description": "dummy-description",
913
+ "resourceTypeImplementationKind": "internal-without-identity",
914
+ "nucleusSchema": {
915
+ "$anchor": "BranchStepIdentity",
916
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
917
+ "type": "string",
918
+ "pattern": "^BRANCH_STEP-.+$"
919
+ }
920
+ }
921
+ },
922
+ "BranchStep": {
923
+ "identity": "RESOURCE-BranchStep",
924
+ "resourceTypeHandle": "TYPE-ResourceType",
925
+ "creationContext": {
926
+ "resourceRoleHandle": "ROLE-Genesis",
927
+ "jobStepHandle": "JOB_STEP-BranchStep"
928
+ },
929
+ "kind": "materialized",
930
+ "timestamp": "2025-11-30T00:00:00.000Z",
931
+ "nucleus": {
932
+ "identity": "TYPE-BranchStep",
933
+ "name": "BranchStep",
934
+ "description": "dummy-description",
935
+ "resourceTypeImplementationKind": "internal-with-identity",
936
+ "nucleusSchema": {
937
+ "$anchor": "BranchStep",
938
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
939
+ "type": "object",
940
+ "required": [
941
+ "identity",
942
+ "cases"
943
+ ],
944
+ "properties": {
945
+ "identity": {
946
+ "$ref": "#/$defs/BranchStepIdentity"
947
+ },
948
+ "stepKind": {
949
+ "const": "branch"
950
+ },
951
+ "cases": {
952
+ "type": "array",
953
+ "items": {
954
+ "$ref": "#/$defs/Conditional"
955
+ },
956
+ "minItems": 1,
957
+ "uniqueItems": true
958
+ }
959
+ },
960
+ "allOf": [
961
+ {
962
+ "$ref": "#/$defs/StepKindFacet"
963
+ }
964
+ ]
965
+ }
966
+ }
967
+ },
968
+ "WhileStepIdentity": {
969
+ "identity": "RESOURCE-WhileStepIdentity",
970
+ "resourceTypeHandle": "TYPE-ResourceType",
971
+ "creationContext": {
972
+ "resourceRoleHandle": "ROLE-Genesis",
973
+ "jobStepHandle": "JOB_STEP-WhileStepIdentity"
974
+ },
975
+ "kind": "materialized",
976
+ "timestamp": "2025-11-30T00:00:00.000Z",
977
+ "nucleus": {
978
+ "identity": "TYPE-WhileStepIdentity",
979
+ "name": "WhileStepIdentity",
980
+ "description": "dummy-description",
981
+ "resourceTypeImplementationKind": "internal-without-identity",
982
+ "nucleusSchema": {
983
+ "$anchor": "WhileStepIdentity",
984
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
985
+ "type": "string",
986
+ "pattern": "^WHILE_STEP-.+$"
987
+ }
988
+ }
989
+ },
990
+ "WhileStep": {
991
+ "identity": "RESOURCE-WhileStep",
992
+ "resourceTypeHandle": "TYPE-ResourceType",
993
+ "creationContext": {
994
+ "resourceRoleHandle": "ROLE-Genesis",
995
+ "jobStepHandle": "JOB_STEP-WhileStep"
996
+ },
997
+ "kind": "materialized",
998
+ "timestamp": "2025-11-30T00:00:00.000Z",
999
+ "nucleus": {
1000
+ "identity": "TYPE-WhileStep",
1001
+ "name": "WhileStep",
1002
+ "description": "dummy-description",
1003
+ "resourceTypeImplementationKind": "internal-with-identity",
1004
+ "nucleusSchema": {
1005
+ "$anchor": "WhileStep",
1006
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1007
+ "type": "object",
1008
+ "required": [
1009
+ "identity",
1010
+ "case"
1011
+ ],
1012
+ "properties": {
1013
+ "identity": {
1014
+ "$ref": "#/$defs/WhileStepIdentity"
1015
+ },
1016
+ "stepKind": {
1017
+ "const": "while"
1018
+ },
1019
+ "case": {
1020
+ "$ref": "#/$defs/Conditional"
1021
+ }
1022
+ },
1023
+ "allOf": [
1024
+ {
1025
+ "$ref": "#/$defs/StepKindFacet"
1026
+ }
1027
+ ]
1028
+ }
1029
+ }
1030
+ },
1031
+ "ForStepIdentity": {
1032
+ "identity": "RESOURCE-ForStepIdentity",
1033
+ "resourceTypeHandle": "TYPE-ResourceType",
1034
+ "creationContext": {
1035
+ "resourceRoleHandle": "ROLE-Genesis",
1036
+ "jobStepHandle": "JOB_STEP-ForStepIdentity"
1037
+ },
1038
+ "kind": "materialized",
1039
+ "timestamp": "2025-11-30T00:00:00.000Z",
1040
+ "nucleus": {
1041
+ "identity": "TYPE-ForStepIdentity",
1042
+ "name": "ForStepIdentity",
1043
+ "description": "dummy-description",
1044
+ "resourceTypeImplementationKind": "internal-without-identity",
1045
+ "nucleusSchema": {
1046
+ "$anchor": "ForStepIdentity",
1047
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1048
+ "type": "string",
1049
+ "pattern": "^FOR_STEP-.+$"
1050
+ }
1051
+ }
1052
+ },
1053
+ "ForStep": {
1054
+ "identity": "RESOURCE-ForStep",
1055
+ "resourceTypeHandle": "TYPE-ResourceType",
1056
+ "creationContext": {
1057
+ "resourceRoleHandle": "ROLE-Genesis",
1058
+ "jobStepHandle": "JOB_STEP-ForStep"
1059
+ },
1060
+ "kind": "materialized",
1061
+ "timestamp": "2025-11-30T00:00:00.000Z",
1062
+ "nucleus": {
1063
+ "identity": "TYPE-ForStep",
1064
+ "name": "ForStep",
1065
+ "description": "dummy-description",
1066
+ "resourceTypeImplementationKind": "internal-with-identity",
1067
+ "nucleusSchema": {
1068
+ "$anchor": "ForStep",
1069
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1070
+ "type": "object",
1071
+ "required": [
1072
+ "identity",
1073
+ "case"
1074
+ ],
1075
+ "properties": {
1076
+ "identity": {
1077
+ "$ref": "#/$defs/ForStepIdentity"
1078
+ },
1079
+ "stepKind": {
1080
+ "const": "for"
1081
+ },
1082
+ "case": {
1083
+ "$ref": "#/$defs/Conditional"
1084
+ }
1085
+ },
1086
+ "allOf": [
1087
+ {
1088
+ "$ref": "#/$defs/StepKindFacet"
1089
+ }
1090
+ ]
1091
+ }
1092
+ }
1093
+ },
1094
+ "StepIdentity": {
1095
+ "identity": "RESOURCE-StepIdentity",
1096
+ "resourceTypeHandle": "TYPE-ResourceType",
1097
+ "creationContext": {
1098
+ "resourceRoleHandle": "ROLE-Genesis",
1099
+ "jobStepHandle": "JOB_STEP-StepIdentity"
1100
+ },
1101
+ "kind": "materialized",
1102
+ "timestamp": "2025-11-30T00:00:00.000Z",
1103
+ "nucleus": {
1104
+ "identity": "TYPE-StepIdentity",
1105
+ "name": "StepIdentity",
1106
+ "description": "dummy-description",
1107
+ "resourceTypeImplementationKind": "internal-without-identity",
1108
+ "nucleusSchema": {
1109
+ "$anchor": "StepIdentity",
1110
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1111
+ "type": "object",
1112
+ "oneOf": [
1113
+ {
1114
+ "$ref": "#/$defs/JobStepIdentity"
1115
+ },
1116
+ {
1117
+ "$ref": "#/$defs/BranchStepIdentity"
1118
+ },
1119
+ {
1120
+ "$ref": "#/$defs/WhileStepIdentity"
1121
+ },
1122
+ {
1123
+ "$ref": "#/$defs/ForStepIdentity"
1124
+ }
1125
+ ]
1126
+ }
1127
+ }
1128
+ },
1129
+ "Step": {
1130
+ "identity": "RESOURCE-Step",
1131
+ "resourceTypeHandle": "TYPE-ResourceType",
1132
+ "creationContext": {
1133
+ "resourceRoleHandle": "ROLE-Genesis",
1134
+ "jobStepHandle": "JOB_STEP-Step"
1135
+ },
1136
+ "kind": "materialized",
1137
+ "timestamp": "2025-11-30T00:00:00.000Z",
1138
+ "nucleus": {
1139
+ "identity": "TYPE-Step",
1140
+ "name": "Step",
1141
+ "description": "dummy-description",
1142
+ "resourceTypeImplementationKind": "internal-without-identity",
1143
+ "nucleusSchema": {
1144
+ "$anchor": "Step",
1145
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1146
+ "type": "object",
1147
+ "oneOf": [
1148
+ {
1149
+ "$ref": "#/$defs/JobStep"
1150
+ },
1151
+ {
1152
+ "$ref": "#/$defs/BranchStep"
1153
+ },
1154
+ {
1155
+ "$ref": "#/$defs/WhileStep"
1156
+ },
1157
+ {
1158
+ "$ref": "#/$defs/ForStep"
1159
+ }
1160
+ ],
1161
+ "unevaluatedProperties": false
1162
+ }
1163
+ }
1164
+ },
1165
+ "CreationContext": {
1166
+ "identity": "RESOURCE-CreationContext",
1167
+ "resourceTypeHandle": "TYPE-ResourceType",
1168
+ "creationContext": {
1169
+ "resourceRoleHandle": "ROLE-Genesis",
1170
+ "jobStepHandle": "JOB_STEP-CreationContext"
1171
+ },
1172
+ "kind": "materialized",
1173
+ "timestamp": "2025-11-30T00:00:00.000Z",
1174
+ "nucleus": {
1175
+ "identity": "TYPE-CreationContext",
1176
+ "name": "CreationContext",
1177
+ "description": "dummy-description",
1178
+ "resourceTypeImplementationKind": "internal-without-identity",
1179
+ "nucleusSchema": {
1180
+ "$anchor": "CreationContext",
1181
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1182
+ "type": "object",
1183
+ "required": [
1184
+ "resourceRoleHandle",
1185
+ "jobStepHandle"
1186
+ ],
1187
+ "properties": {
1188
+ "resourceRoleHandle": {
1189
+ "$ref": "#/$defs/ResourceRoleIdentity"
1190
+ },
1191
+ "jobStepHandle": {
1192
+ "$ref": "#/$defs/JobStepIdentity"
1193
+ }
1194
+ }
1195
+ }
1196
+ }
1197
+ },
1198
+ "CreationContextFacet": {
1199
+ "identity": "RESOURCE-CreationContextFacet",
1200
+ "resourceTypeHandle": "TYPE-ResourceType",
1201
+ "creationContext": {
1202
+ "resourceRoleHandle": "ROLE-Genesis",
1203
+ "jobStepHandle": "JOB_STEP-CreationContextFacet"
1204
+ },
1205
+ "kind": "materialized",
1206
+ "timestamp": "2025-11-30T00:00:00.000Z",
1207
+ "nucleus": {
1208
+ "identity": "TYPE-CreationContextFacet",
1209
+ "name": "CreationContextFacet",
1210
+ "description": "dummy-description",
1211
+ "resourceTypeImplementationKind": "internal-without-identity",
1212
+ "nucleusSchema": {
1213
+ "$anchor": "CreationContextFacet",
1214
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1215
+ "type": "object",
1216
+ "required": [
1217
+ "creationContext"
1218
+ ],
1219
+ "properties": {
1220
+ "creationContext": {
1221
+ "$ref": "#/$defs/CreationContext"
1222
+ }
1223
+ }
1224
+ }
1225
+ }
1226
+ },
1227
+ "ResourceIdentity": {
1228
+ "identity": "RESOURCE-ResourceIdentity",
1229
+ "resourceTypeHandle": "TYPE-ResourceType",
1230
+ "creationContext": {
1231
+ "resourceRoleHandle": "ROLE-Genesis",
1232
+ "jobStepHandle": "JOB_STEP-ResourceIdentity"
1233
+ },
1234
+ "kind": "materialized",
1235
+ "timestamp": "2025-11-30T00:00:00.000Z",
1236
+ "nucleus": {
1237
+ "identity": "TYPE-ResourceIdentity",
1238
+ "name": "ResourceIdentity",
1239
+ "description": "dummy-description",
1240
+ "resourceTypeImplementationKind": "internal-without-identity",
1241
+ "nucleusSchema": {
1242
+ "$anchor": "ResourceIdentity",
1243
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1244
+ "type": "string",
1245
+ "pattern": "^RESOURCE-.+$"
1246
+ }
1247
+ }
1248
+ },
1249
+ "ResourceBase": {
1250
+ "identity": "RESOURCE-ResourceBase",
1251
+ "resourceTypeHandle": "TYPE-ResourceType",
1252
+ "creationContext": {
1253
+ "resourceRoleHandle": "ROLE-Genesis",
1254
+ "jobStepHandle": "JOB_STEP-ResourceBase"
1255
+ },
1256
+ "kind": "materialized",
1257
+ "timestamp": "2025-11-30T00:00:00.000Z",
1258
+ "nucleus": {
1259
+ "identity": "TYPE-ResourceBase",
1260
+ "name": "ResourceBase",
1261
+ "description": "dummy-description",
1262
+ "resourceTypeImplementationKind": "internal-with-identity",
1263
+ "nucleusSchema": {
1264
+ "$anchor": "ResourceBase",
1265
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1266
+ "type": "object",
1267
+ "required": [
1268
+ "identity",
1269
+ "resourceTypeHandle"
1270
+ ],
1271
+ "properties": {
1272
+ "identity": {
1273
+ "$ref": "#/$defs/ResourceIdentity"
1274
+ },
1275
+ "resourceTypeHandle": {
1276
+ "$ref": "#/$defs/ResourceTypeIdentity"
1277
+ }
1278
+ }
1279
+ }
1280
+ }
1281
+ },
1282
+ "ResourceKind": {
1283
+ "identity": "RESOURCE-ResourceKind",
1284
+ "resourceTypeHandle": "TYPE-ResourceType",
1285
+ "creationContext": {
1286
+ "resourceRoleHandle": "ROLE-Genesis",
1287
+ "jobStepHandle": "JOB_STEP-ResourceKind"
1288
+ },
1289
+ "kind": "materialized",
1290
+ "timestamp": "2025-11-30T00:00:00.000Z",
1291
+ "nucleus": {
1292
+ "identity": "TYPE-ResourceKind",
1293
+ "name": "ResourceKind",
1294
+ "description": "dummy-description",
1295
+ "resourceTypeImplementationKind": "internal-without-identity",
1296
+ "nucleusSchema": {
1297
+ "$anchor": "ResourceKind",
1298
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1299
+ "type": "string",
1300
+ "enum": [
1301
+ "missing",
1302
+ "input-potential",
1303
+ "output-potential",
1304
+ "materialized"
1305
+ ]
1306
+ }
1307
+ }
1308
+ },
1309
+ "ResourceKindFacet": {
1310
+ "identity": "RESOURCE-ResourceKindFacet",
1311
+ "resourceTypeHandle": "TYPE-ResourceType",
1312
+ "creationContext": {
1313
+ "resourceRoleHandle": "ROLE-Genesis",
1314
+ "jobStepHandle": "JOB_STEP-ResourceKindFacet"
1315
+ },
1316
+ "kind": "materialized",
1317
+ "timestamp": "2025-11-30T00:00:00.000Z",
1318
+ "nucleus": {
1319
+ "identity": "TYPE-ResourceKindFacet",
1320
+ "name": "ResourceKindFacet",
1321
+ "description": "dummy-description",
1322
+ "resourceTypeImplementationKind": "internal-without-identity",
1323
+ "nucleusSchema": {
1324
+ "$anchor": "ResourceKindFacet",
1325
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1326
+ "type": "object",
1327
+ "required": [
1328
+ "resourceKind"
1329
+ ],
1330
+ "properties": {
1331
+ "resourceKind": {
1332
+ "$ref": "#/$defs/ResourceKind"
1333
+ }
1334
+ }
1335
+ }
1336
+ }
1337
+ },
1338
+ "ShellMissing": {
1339
+ "identity": "RESOURCE-ShellMissing",
1340
+ "resourceTypeHandle": "TYPE-ResourceType",
1341
+ "creationContext": {
1342
+ "resourceRoleHandle": "ROLE-Genesis",
1343
+ "jobStepHandle": "JOB_STEP-ShellMissing"
1344
+ },
1345
+ "kind": "materialized",
1346
+ "timestamp": "2025-11-30T00:00:00.000Z",
1347
+ "nucleus": {
1348
+ "identity": "TYPE-ShellMissing",
1349
+ "name": "ShellMissing",
1350
+ "description": "dummy-description",
1351
+ "resourceTypeImplementationKind": "internal-with-identity",
1352
+ "nucleusSchema": {
1353
+ "$anchor": "ShellMissing",
1354
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1355
+ "type": "object",
1356
+ "properties": {
1357
+ "resourceKind": {
1358
+ "const": "missing"
1359
+ }
1360
+ },
1361
+ "allOf": [
1362
+ {
1363
+ "$ref": "#/$defs/ResourceBase"
1364
+ },
1365
+ {
1366
+ "$ref": "#/$defs/ResourceKindFacet"
1367
+ }
1368
+ ],
1369
+ "unevaluatedProperties": false
1370
+ }
1371
+ }
1372
+ },
1373
+ "ShellInputPotential": {
1374
+ "identity": "RESOURCE-ShellInputPotential",
1375
+ "resourceTypeHandle": "TYPE-ResourceType",
1376
+ "creationContext": {
1377
+ "resourceRoleHandle": "ROLE-Genesis",
1378
+ "jobStepHandle": "JOB_STEP-ShellInputPotential"
1379
+ },
1380
+ "kind": "materialized",
1381
+ "timestamp": "2025-11-30T00:00:00.000Z",
1382
+ "nucleus": {
1383
+ "identity": "TYPE-ShellInputPotential",
1384
+ "name": "ShellInputPotential",
1385
+ "description": "dummy-description",
1386
+ "resourceTypeImplementationKind": "internal-with-identity",
1387
+ "nucleusSchema": {
1388
+ "$anchor": "ShellInputPotential",
1389
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1390
+ "type": "object",
1391
+ "properties": {
1392
+ "resourceKind": {
1393
+ "const": "input-potential"
1394
+ }
1395
+ },
1396
+ "allOf": [
1397
+ {
1398
+ "$ref": "#/$defs/ResourceBase"
1399
+ },
1400
+ {
1401
+ "$ref": "#/$defs/CreationContextFacet"
1402
+ },
1403
+ {
1404
+ "$ref": "#/$defs/ResourceKindFacet"
1405
+ }
1406
+ ],
1407
+ "unevaluatedProperties": false
1408
+ }
1409
+ }
1410
+ },
1411
+ "ShellOutputPotential": {
1412
+ "identity": "RESOURCE-ShellOutputPotential",
1413
+ "resourceTypeHandle": "TYPE-ResourceType",
1414
+ "creationContext": {
1415
+ "resourceRoleHandle": "ROLE-Genesis",
1416
+ "jobStepHandle": "JOB_STEP-ShellOutputPotential"
1417
+ },
1418
+ "kind": "materialized",
1419
+ "timestamp": "2025-11-30T00:00:00.000Z",
1420
+ "nucleus": {
1421
+ "identity": "TYPE-ShellOutputPotential",
1422
+ "name": "ShellOutputPotential",
1423
+ "description": "dummy-description",
1424
+ "resourceTypeImplementationKind": "internal-with-identity",
1425
+ "nucleusSchema": {
1426
+ "$anchor": "ShellOutputPotential",
1427
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1428
+ "type": "object",
1429
+ "properties": {
1430
+ "resourceKind": {
1431
+ "const": "output-potential"
1432
+ }
1433
+ },
1434
+ "allOf": [
1435
+ {
1436
+ "$ref": "#/$defs/ResourceBase"
1437
+ },
1438
+ {
1439
+ "$ref": "#/$defs/CreationContextFacet"
1440
+ },
1441
+ {
1442
+ "$ref": "#/$defs/ResourceKindFacet"
1443
+ }
1444
+ ],
1445
+ "unevaluatedProperties": false
1446
+ }
1447
+ }
1448
+ },
1449
+ "Timestamp": {
1450
+ "identity": "RESOURCE-Timestamp",
1451
+ "resourceTypeHandle": "TYPE-ResourceType",
1452
+ "creationContext": {
1453
+ "resourceRoleHandle": "ROLE-Genesis",
1454
+ "jobStepHandle": "JOB_STEP-Timestamp"
1455
+ },
1456
+ "kind": "materialized",
1457
+ "timestamp": "2025-11-30T00:00:00.000Z",
1458
+ "nucleus": {
1459
+ "identity": "TYPE-Timestamp",
1460
+ "name": "Timestamp",
1461
+ "description": "dummy-description",
1462
+ "resourceTypeImplementationKind": "internal-without-identity",
1463
+ "nucleusSchema": {
1464
+ "$anchor": "Timestamp",
1465
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1466
+ "type": "string",
1467
+ "format": "date-time"
1468
+ }
1469
+ }
1470
+ },
1471
+ "TimestampFacet": {
1472
+ "identity": "RESOURCE-TimestampFacet",
1473
+ "resourceTypeHandle": "TYPE-ResourceType",
1474
+ "creationContext": {
1475
+ "resourceRoleHandle": "ROLE-Genesis",
1476
+ "jobStepHandle": "JOB_STEP-TimestampFacet"
1477
+ },
1478
+ "kind": "materialized",
1479
+ "timestamp": "2025-11-30T00:00:00.000Z",
1480
+ "nucleus": {
1481
+ "identity": "TYPE-TimestampFacet",
1482
+ "name": "TimestampFacet",
1483
+ "description": "dummy-description",
1484
+ "resourceTypeImplementationKind": "internal-without-identity",
1485
+ "nucleusSchema": {
1486
+ "$anchor": "TimestampFacet",
1487
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1488
+ "type": "object",
1489
+ "required": [
1490
+ "timestamp"
1491
+ ],
1492
+ "properties": {
1493
+ "timestamp": {
1494
+ "$ref": "#/$defs/Timestamp"
1495
+ }
1496
+ }
1497
+ }
1498
+ }
1499
+ },
1500
+ "Path": {
1501
+ "identity": "RESOURCE-Path",
1502
+ "resourceTypeHandle": "TYPE-ResourceType",
1503
+ "creationContext": {
1504
+ "resourceRoleHandle": "ROLE-Genesis",
1505
+ "jobStepHandle": "JOB_STEP-Path"
1506
+ },
1507
+ "kind": "materialized",
1508
+ "timestamp": "2025-11-30T00:00:00.000Z",
1509
+ "nucleus": {
1510
+ "identity": "TYPE-Path",
1511
+ "name": "Path",
1512
+ "description": "dummy-description",
1513
+ "resourceTypeImplementationKind": "internal-without-identity",
1514
+ "nucleusSchema": {
1515
+ "$anchor": "Path",
1516
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1517
+ "type": "string",
1518
+ "format": "uri-reference"
1519
+ }
1520
+ }
1521
+ },
1522
+ "PathFacet": {
1523
+ "identity": "RESOURCE-PathFacet",
1524
+ "resourceTypeHandle": "TYPE-ResourceType",
1525
+ "creationContext": {
1526
+ "resourceRoleHandle": "ROLE-Genesis",
1527
+ "jobStepHandle": "JOB_STEP-PathFacet"
1528
+ },
1529
+ "kind": "materialized",
1530
+ "timestamp": "2025-11-30T00:00:00.000Z",
1531
+ "nucleus": {
1532
+ "identity": "TYPE-PathFacet",
1533
+ "name": "PathFacet",
1534
+ "description": "dummy-description",
1535
+ "resourceTypeImplementationKind": "internal-without-identity",
1536
+ "nucleusSchema": {
1537
+ "$anchor": "PathFacet",
1538
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1539
+ "type": "object",
1540
+ "required": [
1541
+ "path"
1542
+ ],
1543
+ "properties": {
1544
+ "path": {
1545
+ "$ref": "#/$defs/Path"
1546
+ }
1547
+ }
1548
+ }
1549
+ }
1550
+ },
1551
+ "ShellMaterializedBase": {
1552
+ "identity": "RESOURCE-ShellMaterializedBase",
1553
+ "resourceTypeHandle": "TYPE-ResourceType",
1554
+ "creationContext": {
1555
+ "resourceRoleHandle": "ROLE-Genesis",
1556
+ "jobStepHandle": "JOB_STEP-ShellMaterializedBase"
1557
+ },
1558
+ "kind": "materialized",
1559
+ "timestamp": "2025-11-30T00:00:00.000Z",
1560
+ "nucleus": {
1561
+ "identity": "TYPE-ShellMaterializedBase",
1562
+ "name": "ShellMaterializedBase",
1563
+ "description": "dummy-description",
1564
+ "resourceTypeImplementationKind": "internal-with-identity",
1565
+ "nucleusSchema": {
1566
+ "$anchor": "ShellMaterializedBase",
1567
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1568
+ "type": "object",
1569
+ "required": [
1570
+ "version"
1571
+ ],
1572
+ "properties": {
1573
+ "version": {
1574
+ "const": 1
1575
+ },
1576
+ "resourceKind": {
1577
+ "const": "materialized"
1578
+ }
1579
+ },
1580
+ "allOf": [
1581
+ {
1582
+ "$ref": "#/$defs/ResourceBase"
1583
+ },
1584
+ {
1585
+ "$ref": "#/$defs/CreationContextFacet"
1586
+ },
1587
+ {
1588
+ "$ref": "#/$defs/ResourceKindFacet"
1589
+ },
1590
+ {
1591
+ "$ref": "#/$defs/TimestampFacet"
1592
+ },
1593
+ {
1594
+ "$ref": "#/$defs/PathFacet"
1595
+ }
1596
+ ]
1597
+ }
1598
+ }
1599
+ },
1600
+ "ShellMaterialized": {
1601
+ "identity": "RESOURCE-ShellMaterialized",
1602
+ "resourceTypeHandle": "TYPE-ResourceType",
1603
+ "creationContext": {
1604
+ "resourceRoleHandle": "ROLE-Genesis",
1605
+ "jobStepHandle": "JOB_STEP-ShellMaterialized"
1606
+ },
1607
+ "kind": "materialized",
1608
+ "timestamp": "2025-11-30T00:00:00.000Z",
1609
+ "nucleus": {
1610
+ "identity": "TYPE-ShellMaterialized",
1611
+ "name": "ShellMaterialized",
1612
+ "description": "dummy-description",
1613
+ "resourceTypeImplementationKind": "internal-with-identity",
1614
+ "nucleusSchema": {
1615
+ "$anchor": "ShellMaterialized",
1616
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1617
+ "type": "object",
1618
+ "$ref": "#/$defs/ShellMaterializedBase",
1619
+ "unevaluatedProperties": false
1620
+ }
1621
+ }
1622
+ },
1623
+ "ResourceMissing": {
1624
+ "identity": "RESOURCE-ResourceMissing",
1625
+ "resourceTypeHandle": "TYPE-ResourceType",
1626
+ "creationContext": {
1627
+ "resourceRoleHandle": "ROLE-Genesis",
1628
+ "jobStepHandle": "JOB_STEP-ResourceMissing"
1629
+ },
1630
+ "kind": "materialized",
1631
+ "timestamp": "2025-11-30T00:00:00.000Z",
1632
+ "nucleus": {
1633
+ "identity": "TYPE-ResourceMissing",
1634
+ "name": "ResourceMissing",
1635
+ "description": "dummy-description",
1636
+ "resourceTypeImplementationKind": "internal-with-identity",
1637
+ "nucleusSchema": {
1638
+ "$anchor": "ResourceMissing",
1639
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1640
+ "type": "object",
1641
+ "$ref": "#/$defs/ShellMissing",
1642
+ "unevaluatedProperties": false
1643
+ }
1644
+ }
1645
+ },
1646
+ "ResourceInputPotential": {
1647
+ "identity": "RESOURCE-ResourceInputPotential",
1648
+ "resourceTypeHandle": "TYPE-ResourceType",
1649
+ "creationContext": {
1650
+ "resourceRoleHandle": "ROLE-Genesis",
1651
+ "jobStepHandle": "JOB_STEP-ResourceInputPotential"
1652
+ },
1653
+ "kind": "materialized",
1654
+ "timestamp": "2025-11-30T00:00:00.000Z",
1655
+ "nucleus": {
1656
+ "identity": "TYPE-ResourceInputPotential",
1657
+ "name": "ResourceInputPotential",
1658
+ "description": "dummy-description",
1659
+ "resourceTypeImplementationKind": "internal-with-identity",
1660
+ "nucleusSchema": {
1661
+ "$anchor": "ResourceInputPotential",
1662
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1663
+ "type": "object",
1664
+ "$ref": "#/$defs/ShellInputPotential",
1665
+ "unevaluatedProperties": false
1666
+ }
1667
+ }
1668
+ },
1669
+ "ResourceOutputPotential": {
1670
+ "identity": "RESOURCE-ResourceOutputPotential",
1671
+ "resourceTypeHandle": "TYPE-ResourceType",
1672
+ "creationContext": {
1673
+ "resourceRoleHandle": "ROLE-Genesis",
1674
+ "jobStepHandle": "JOB_STEP-ResourceOutputPotential"
1675
+ },
1676
+ "kind": "materialized",
1677
+ "timestamp": "2025-11-30T00:00:00.000Z",
1678
+ "nucleus": {
1679
+ "identity": "TYPE-ResourceOutputPotential",
1680
+ "name": "ResourceOutputPotential",
1681
+ "description": "dummy-description",
1682
+ "resourceTypeImplementationKind": "internal-with-identity",
1683
+ "nucleusSchema": {
1684
+ "$anchor": "ResourceOutputPotential",
1685
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1686
+ "type": "object",
1687
+ "$ref": "#/$defs/ShellOutputPotential",
1688
+ "unevaluatedProperties": false
1689
+ }
1690
+ }
1691
+ },
1692
+ "JsonData": {
1693
+ "identity": "RESOURCE-JsonData",
1694
+ "resourceTypeHandle": "TYPE-ResourceType",
1695
+ "creationContext": {
1696
+ "resourceRoleHandle": "ROLE-Genesis",
1697
+ "jobStepHandle": "JOB_STEP-JsonData"
1698
+ },
1699
+ "kind": "materialized",
1700
+ "timestamp": "2025-11-30T00:00:00.000Z",
1701
+ "nucleus": {
1702
+ "identity": "TYPE-JsonData",
1703
+ "name": "JsonData",
1704
+ "description": "dummy-description",
1705
+ "resourceTypeImplementationKind": "internal-without-identity",
1706
+ "nucleusSchema": {
1707
+ "$anchor": "JsonData",
1708
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1709
+ "oneOf": [
1710
+ {
1711
+ "type": "null"
1712
+ },
1713
+ {
1714
+ "type": "boolean"
1715
+ },
1716
+ {
1717
+ "type": "number"
1718
+ },
1719
+ {
1720
+ "type": "string"
1721
+ },
1722
+ {
1723
+ "type": "array",
1724
+ "items": {
1725
+ "$ref": "#/$defs/JsonData"
1726
+ }
1727
+ },
1728
+ {
1729
+ "type": "object",
1730
+ "additionalProperties": {
1731
+ "$ref": "#/$defs/JsonData"
1732
+ }
1733
+ }
1734
+ ]
1735
+ }
1736
+ }
1737
+ },
1738
+ "Nucleus": {
1739
+ "identity": "RESOURCE-Nucleus",
1740
+ "resourceTypeHandle": "TYPE-ResourceType",
1741
+ "creationContext": {
1742
+ "resourceRoleHandle": "ROLE-Genesis",
1743
+ "jobStepHandle": "JOB_STEP-Nucleus"
1744
+ },
1745
+ "kind": "materialized",
1746
+ "timestamp": "2025-11-30T00:00:00.000Z",
1747
+ "nucleus": {
1748
+ "identity": "TYPE-Nucleus",
1749
+ "name": "Nucleus",
1750
+ "description": "dummy-description",
1751
+ "resourceTypeImplementationKind": "internal-without-identity",
1752
+ "nucleusSchema": {
1753
+ "$anchor": "Nucleus",
1754
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1755
+ "type": "object",
1756
+ "additionalProperties": {
1757
+ "$ref": "#/$defs/JsonData"
1758
+ }
1759
+ }
1760
+ }
1761
+ },
1762
+ "NucleusFacet": {
1763
+ "identity": "RESOURCE-NucleusFacet",
1764
+ "resourceTypeHandle": "TYPE-ResourceType",
1765
+ "creationContext": {
1766
+ "resourceRoleHandle": "ROLE-Genesis",
1767
+ "jobStepHandle": "JOB_STEP-NucleusFacet"
1768
+ },
1769
+ "kind": "materialized",
1770
+ "timestamp": "2025-11-30T00:00:00.000Z",
1771
+ "nucleus": {
1772
+ "identity": "TYPE-NucleusFacet",
1773
+ "name": "NucleusFacet",
1774
+ "description": "dummy-description",
1775
+ "resourceTypeImplementationKind": "internal-without-identity",
1776
+ "nucleusSchema": {
1777
+ "$anchor": "NucleusFacet",
1778
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1779
+ "type": "object",
1780
+ "required": [
1781
+ "nucleus"
1782
+ ],
1783
+ "properties": {
1784
+ "nucleus": {
1785
+ "$ref": "#/$defs/Nucleus"
1786
+ }
1787
+ }
1788
+ }
1789
+ }
1790
+ },
1791
+ "ResourceMaterialized": {
1792
+ "identity": "RESOURCE-ResourceMaterialized",
1793
+ "resourceTypeHandle": "TYPE-ResourceType",
1794
+ "creationContext": {
1795
+ "resourceRoleHandle": "ROLE-Genesis",
1796
+ "jobStepHandle": "JOB_STEP-ResourceMaterialized"
1797
+ },
1798
+ "kind": "materialized",
1799
+ "timestamp": "2025-11-30T00:00:00.000Z",
1800
+ "nucleus": {
1801
+ "identity": "TYPE-ResourceMaterialized",
1802
+ "name": "ResourceMaterialized",
1803
+ "description": "dummy-description",
1804
+ "resourceTypeImplementationKind": "internal-with-identity",
1805
+ "nucleusSchema": {
1806
+ "$anchor": "ResourceMaterialized",
1807
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1808
+ "type": "object",
1809
+ "allOf": [
1810
+ {
1811
+ "$ref": "#/$defs/ShellMaterializedBase"
1812
+ },
1813
+ {
1814
+ "$comment": "This will be overlayed dynamically to match the data structure of the underlying ResourceType's nucleusSchema.",
1815
+ "$ref": "#/$defs/NucleusFacet"
1816
+ }
1817
+ ],
1818
+ "unevaluatedProperties": false
1819
+ }
1820
+ }
1821
+ },
1822
+ "Resource": {
1823
+ "identity": "RESOURCE-Resource",
1824
+ "resourceTypeHandle": "TYPE-ResourceType",
1825
+ "creationContext": {
1826
+ "resourceRoleHandle": "ROLE-Genesis",
1827
+ "jobStepHandle": "JOB_STEP-Resource"
1828
+ },
1829
+ "kind": "materialized",
1830
+ "timestamp": "2025-11-30T00:00:00.000Z",
1831
+ "nucleus": {
1832
+ "identity": "TYPE-Resource",
1833
+ "name": "Resource",
1834
+ "description": "dummy-description",
1835
+ "resourceTypeImplementationKind": "internal-with-identity",
1836
+ "nucleusSchema": {
1837
+ "$anchor": "Resource",
1838
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1839
+ "type": "object",
1840
+ "oneOf": [
1841
+ {
1842
+ "$ref": "#/$defs/ResourceMissing"
1843
+ },
1844
+ {
1845
+ "$ref": "#/$defs/ResourceInputPotential"
1846
+ },
1847
+ {
1848
+ "$ref": "#/$defs/ResourceOutputPotential"
1849
+ },
1850
+ {
1851
+ "$ref": "#/$defs/ResourceMaterialized"
1852
+ }
1853
+ ],
1854
+ "unevaluatedProperties": false
1855
+ }
1856
+ }
1857
+ },
1858
+ "JobStepSocket": {
1859
+ "identity": "RESOURCE-JobStepSocket",
1860
+ "resourceTypeHandle": "TYPE-ResourceType",
1861
+ "creationContext": {
1862
+ "resourceRoleHandle": "ROLE-Genesis",
1863
+ "jobStepHandle": "JOB_STEP-JobStepSocket"
1864
+ },
1865
+ "kind": "materialized",
1866
+ "timestamp": "2025-11-30T00:00:00.000Z",
1867
+ "nucleus": {
1868
+ "identity": "TYPE-JobStepSocket",
1869
+ "name": "JobStepSocket",
1870
+ "description": "dummy-description",
1871
+ "resourceTypeImplementationKind": "internal-without-identity",
1872
+ "nucleusSchema": {
1873
+ "$anchor": "JobStepSocket",
1874
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1875
+ "type": "object",
1876
+ "propertyNames": {
1877
+ "$ref": "#/$defs/ResourceRoleIdentity"
1878
+ },
1879
+ "additionalProperties": {
1880
+ "$ref": "#/$defs/Resource"
1881
+ }
1882
+ }
1883
+ }
1884
+ },
1885
+ "StrategyState": {
1886
+ "identity": "RESOURCE-StrategyState",
1887
+ "resourceTypeHandle": "TYPE-ResourceType",
1888
+ "creationContext": {
1889
+ "resourceRoleHandle": "ROLE-Genesis",
1890
+ "jobStepHandle": "JOB_STEP-StrategyState"
1891
+ },
1892
+ "kind": "materialized",
1893
+ "timestamp": "2025-11-30T00:00:00.000Z",
1894
+ "nucleus": {
1895
+ "identity": "TYPE-StrategyState",
1896
+ "name": "StrategyState",
1897
+ "description": "dummy-description",
1898
+ "resourceTypeImplementationKind": "internal-without-identity",
1899
+ "nucleusSchema": {
1900
+ "$anchor": "StrategyState",
1901
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1902
+ "type": "object",
1903
+ "propertyNames": {
1904
+ "$ref": "#/$defs/JobStepIdentity"
1905
+ },
1906
+ "additionalProperties": {
1907
+ "$ref": "#/$defs/JobStepSocket"
1908
+ }
1909
+ }
1910
+ }
1911
+ },
1912
+ "StrategyStateFacet": {
1913
+ "identity": "RESOURCE-StrategyStateFacet",
1914
+ "resourceTypeHandle": "TYPE-ResourceType",
1915
+ "creationContext": {
1916
+ "resourceRoleHandle": "ROLE-Genesis",
1917
+ "jobStepHandle": "JOB_STEP-StrategyStateFacet"
1918
+ },
1919
+ "kind": "materialized",
1920
+ "timestamp": "2025-11-30T00:00:00.000Z",
1921
+ "nucleus": {
1922
+ "identity": "TYPE-StrategyStateFacet",
1923
+ "name": "StrategyStateFacet",
1924
+ "description": "dummy-description",
1925
+ "resourceTypeImplementationKind": "internal-without-identity",
1926
+ "nucleusSchema": {
1927
+ "$anchor": "StrategyStateFacet",
1928
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1929
+ "type": "object",
1930
+ "required": [
1931
+ "strategyState"
1932
+ ],
1933
+ "properties": {
1934
+ "strategyState": {
1935
+ "$ref": "#/$defs/StrategyState"
1936
+ }
1937
+ }
1938
+ }
1939
+ }
1940
+ },
1941
+ "StepArray": {
1942
+ "identity": "RESOURCE-StepArray",
1943
+ "resourceTypeHandle": "TYPE-ResourceType",
1944
+ "creationContext": {
1945
+ "resourceRoleHandle": "ROLE-Genesis",
1946
+ "jobStepHandle": "JOB_STEP-StepArray"
1947
+ },
1948
+ "kind": "materialized",
1949
+ "timestamp": "2025-11-30T00:00:00.000Z",
1950
+ "nucleus": {
1951
+ "identity": "TYPE-StepArray",
1952
+ "name": "StepArray",
1953
+ "description": "dummy-description",
1954
+ "resourceTypeImplementationKind": "internal-without-identity",
1955
+ "nucleusSchema": {
1956
+ "$anchor": "StepArray",
1957
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1958
+ "type": "array",
1959
+ "items": {
1960
+ "$ref": "#/$defs/Step"
1961
+ },
1962
+ "uniqueItems": true
1963
+ }
1964
+ }
1965
+ },
1966
+ "StepsFacet": {
1967
+ "identity": "RESOURCE-StepsFacet",
1968
+ "resourceTypeHandle": "TYPE-ResourceType",
1969
+ "creationContext": {
1970
+ "resourceRoleHandle": "ROLE-Genesis",
1971
+ "jobStepHandle": "JOB_STEP-StepsFacet"
1972
+ },
1973
+ "kind": "materialized",
1974
+ "timestamp": "2025-11-30T00:00:00.000Z",
1975
+ "nucleus": {
1976
+ "identity": "TYPE-StepsFacet",
1977
+ "name": "StepsFacet",
1978
+ "description": "dummy-description",
1979
+ "resourceTypeImplementationKind": "internal-without-identity",
1980
+ "nucleusSchema": {
1981
+ "$anchor": "StepsFacet",
1982
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1983
+ "type": "object",
1984
+ "required": [
1985
+ "steps"
1986
+ ],
1987
+ "properties": {
1988
+ "steps": {
1989
+ "$ref": "#/$defs/StepArray"
1990
+ }
1991
+ }
1992
+ }
1993
+ }
1994
+ },
1995
+ "RawStrategy": {
1996
+ "identity": "RESOURCE-RawStrategy",
1997
+ "resourceTypeHandle": "TYPE-ResourceType",
1998
+ "creationContext": {
1999
+ "resourceRoleHandle": "ROLE-Genesis",
2000
+ "jobStepHandle": "JOB_STEP-RawStrategy"
2001
+ },
2002
+ "kind": "materialized",
2003
+ "timestamp": "2025-11-30T00:00:00.000Z",
2004
+ "nucleus": {
2005
+ "identity": "TYPE-RawStrategy",
2006
+ "name": "RawStrategy",
2007
+ "description": "dummy-description",
2008
+ "resourceTypeImplementationKind": "internal-without-identity",
2009
+ "nucleusSchema": {
2010
+ "$anchor": "RawStrategy",
2011
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2012
+ "type": "object",
2013
+ "allOf": [
2014
+ {
2015
+ "$ref": "#/$defs/StepsFacet"
2016
+ },
2017
+ {
2018
+ "$ref": "#/$defs/StrategyStateFacet"
2019
+ }
2020
+ ],
2021
+ "unevaluatedProperties": false
2022
+ }
2023
+ }
2024
+ },
2025
+ "RunnableStrategyIdentity": {
2026
+ "identity": "RESOURCE-RunnableStrategyIdentity",
2027
+ "resourceTypeHandle": "TYPE-ResourceType",
2028
+ "creationContext": {
2029
+ "resourceRoleHandle": "ROLE-Genesis",
2030
+ "jobStepHandle": "JOB_STEP-RunnableStrategyIdentity"
2031
+ },
2032
+ "kind": "materialized",
2033
+ "timestamp": "2025-11-30T00:00:00.000Z",
2034
+ "nucleus": {
2035
+ "identity": "TYPE-RunnableStrategyIdentity",
2036
+ "name": "RunnableStrategyIdentity",
2037
+ "description": "dummy-description",
2038
+ "resourceTypeImplementationKind": "internal-without-identity",
2039
+ "nucleusSchema": {
2040
+ "$anchor": "RunnableStrategyIdentity",
2041
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2042
+ "type": "string",
2043
+ "pattern": "^RUNNABLE_STRATEGY-.+$"
2044
+ }
2045
+ }
2046
+ },
2047
+ "RunnableStrategyStatus": {
2048
+ "identity": "RESOURCE-RunnableStrategyStatus",
2049
+ "resourceTypeHandle": "TYPE-ResourceType",
2050
+ "creationContext": {
2051
+ "resourceRoleHandle": "ROLE-Genesis",
2052
+ "jobStepHandle": "JOB_STEP-RunnableStrategyStatus"
2053
+ },
2054
+ "kind": "materialized",
2055
+ "timestamp": "2025-11-30T00:00:00.000Z",
2056
+ "nucleus": {
2057
+ "identity": "TYPE-RunnableStrategyStatus",
2058
+ "name": "RunnableStrategyStatus",
2059
+ "description": "dummy-description",
2060
+ "resourceTypeImplementationKind": "internal-without-identity",
2061
+ "nucleusSchema": {
2062
+ "$anchor": "RunnableStrategyStatus",
2063
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2064
+ "type": "string",
2065
+ "enum": [
2066
+ "pending",
2067
+ "running",
2068
+ "completed",
2069
+ "failed",
2070
+ "cancelled"
2071
+ ]
2072
+ }
2073
+ }
2074
+ },
2075
+ "RunnableStrategyContext": {
2076
+ "identity": "RESOURCE-RunnableStrategyContext",
2077
+ "resourceTypeHandle": "TYPE-ResourceType",
2078
+ "creationContext": {
2079
+ "resourceRoleHandle": "ROLE-Genesis",
2080
+ "jobStepHandle": "JOB_STEP-RunnableStrategyContext"
2081
+ },
2082
+ "kind": "materialized",
2083
+ "timestamp": "2025-11-30T00:00:00.000Z",
2084
+ "nucleus": {
2085
+ "identity": "TYPE-RunnableStrategyContext",
2086
+ "name": "RunnableStrategyContext",
2087
+ "description": "dummy-description",
2088
+ "resourceTypeImplementationKind": "internal-without-identity",
2089
+ "nucleusSchema": {
2090
+ "$anchor": "RunnableStrategyContext",
2091
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2092
+ "type": "object",
2093
+ "required": [
2094
+ "status"
2095
+ ],
2096
+ "properties": {
2097
+ "status": {
2098
+ "$ref": "#/$defs/RunnableStrategyStatus"
2099
+ },
2100
+ "startedAt": {
2101
+ "$ref": "#/$defs/Timestamp"
2102
+ },
2103
+ "completedAt": {
2104
+ "$ref": "#/$defs/Timestamp"
2105
+ }
2106
+ },
2107
+ "unevaluatedProperties": false
2108
+ }
2109
+ }
2110
+ },
2111
+ "StrategyThreadIdentity": {
2112
+ "identity": "RESOURCE-StrategyThreadIdentity",
2113
+ "resourceTypeHandle": "TYPE-ResourceType",
2114
+ "creationContext": {
2115
+ "resourceRoleHandle": "ROLE-Genesis",
2116
+ "jobStepHandle": "JOB_STEP-StrategyThreadIdentity"
2117
+ },
2118
+ "kind": "materialized",
2119
+ "timestamp": "2025-11-30T00:00:00.000Z",
2120
+ "nucleus": {
2121
+ "identity": "TYPE-StrategyThreadIdentity",
2122
+ "name": "StrategyThreadIdentity",
2123
+ "description": "dummy-description",
2124
+ "resourceTypeImplementationKind": "internal-without-identity",
2125
+ "nucleusSchema": {
2126
+ "$anchor": "StrategyThreadIdentity",
2127
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2128
+ "type": "string",
2129
+ "pattern": "^STRATEGY_THREAD-.+$"
2130
+ }
2131
+ }
2132
+ },
2133
+ "StrategyThreadMap": {
2134
+ "identity": "RESOURCE-StrategyThreadMap",
2135
+ "resourceTypeHandle": "TYPE-ResourceType",
2136
+ "creationContext": {
2137
+ "resourceRoleHandle": "ROLE-Genesis",
2138
+ "jobStepHandle": "JOB_STEP-StrategyThreadMap"
2139
+ },
2140
+ "kind": "materialized",
2141
+ "timestamp": "2025-11-30T00:00:00.000Z",
2142
+ "nucleus": {
2143
+ "identity": "TYPE-StrategyThreadMap",
2144
+ "name": "StrategyThreadMap",
2145
+ "description": "dummy-description",
2146
+ "resourceTypeImplementationKind": "internal-without-identity",
2147
+ "nucleusSchema": {
2148
+ "$anchor": "StrategyThreadMap",
2149
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2150
+ "type": "object",
2151
+ "propertyNames": {
2152
+ "$ref": "#/$defs/StrategyThreadIdentity"
2153
+ },
2154
+ "additionalProperties": {
2155
+ "$ref": "#/$defs/StepArray"
2156
+ },
2157
+ "$comment": "Each thread contains an array of steps, allowing for sequential execution within a thread while supporting parallel execution across multiple threads."
2158
+ }
2159
+ }
2160
+ },
2161
+ "StrategyThreadMapFacet": {
2162
+ "identity": "RESOURCE-StrategyThreadMapFacet",
2163
+ "resourceTypeHandle": "TYPE-ResourceType",
2164
+ "creationContext": {
2165
+ "resourceRoleHandle": "ROLE-Genesis",
2166
+ "jobStepHandle": "JOB_STEP-StrategyThreadMapFacet"
2167
+ },
2168
+ "kind": "materialized",
2169
+ "timestamp": "2025-11-30T00:00:00.000Z",
2170
+ "nucleus": {
2171
+ "identity": "TYPE-StrategyThreadMapFacet",
2172
+ "name": "StrategyThreadMapFacet",
2173
+ "description": "dummy-description",
2174
+ "resourceTypeImplementationKind": "internal-without-identity",
2175
+ "nucleusSchema": {
2176
+ "$anchor": "StrategyThreadMapFacet",
2177
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2178
+ "type": "object",
2179
+ "required": [
2180
+ "strategyThreadMap"
2181
+ ],
2182
+ "properties": {
2183
+ "strategyThreadMap": {
2184
+ "$ref": "#/$defs/StrategyThreadMap"
2185
+ }
2186
+ }
2187
+ }
2188
+ }
2189
+ },
2190
+ "RunnableStrategy": {
2191
+ "identity": "RESOURCE-RunnableStrategy",
2192
+ "resourceTypeHandle": "TYPE-ResourceType",
2193
+ "creationContext": {
2194
+ "resourceRoleHandle": "ROLE-Genesis",
2195
+ "jobStepHandle": "JOB_STEP-RunnableStrategy"
2196
+ },
2197
+ "kind": "materialized",
2198
+ "timestamp": "2025-11-30T00:00:00.000Z",
2199
+ "nucleus": {
2200
+ "identity": "TYPE-RunnableStrategy",
2201
+ "name": "RunnableStrategy",
2202
+ "description": "dummy-description",
2203
+ "resourceTypeImplementationKind": "internal-with-identity",
2204
+ "nucleusSchema": {
2205
+ "$anchor": "RunnableStrategy",
2206
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2207
+ "type": "object",
2208
+ "required": [
2209
+ "identity",
2210
+ "runnableStrategyContext"
2211
+ ],
2212
+ "properties": {
2213
+ "identity": {
2214
+ "$ref": "#/$defs/RunnableStrategyIdentity"
2215
+ },
2216
+ "runnableStrategyContext": {
2217
+ "$ref": "#/$defs/RunnableStrategyContext"
2218
+ }
2219
+ },
2220
+ "allOf": [
2221
+ {
2222
+ "$comment": "The Engine runs jobs specified by steps in strategyThreadMap. The Engine also injects repeted steps when encountering loops.",
2223
+ "$ref": "#/$defs/StrategyThreadMapFacet"
2224
+ },
2225
+ {
2226
+ "$comment": "The Engine updates strategyState with materialized Resources upon job completions and runtime-provided input events. It also inserts input-potential and output-potential Resources upon step injections.",
2227
+ "$ref": "#/$defs/StrategyStateFacet"
2228
+ }
2229
+ ],
2230
+ "unevaluatedProperties": false
2231
+ }
2232
+ }
2233
+ },
2234
+ "StrategyStateDelta": {
2235
+ "identity": "RESOURCE-StrategyStateDelta",
2236
+ "resourceTypeHandle": "TYPE-ResourceType",
2237
+ "creationContext": {
2238
+ "resourceRoleHandle": "ROLE-Genesis",
2239
+ "jobStepHandle": "JOB_STEP-StrategyStateDelta"
2240
+ },
2241
+ "kind": "materialized",
2242
+ "timestamp": "2025-11-30T00:00:00.000Z",
2243
+ "nucleus": {
2244
+ "identity": "TYPE-StrategyStateDelta",
2245
+ "name": "StrategyStateDelta",
2246
+ "description": "dummy-description",
2247
+ "resourceTypeImplementationKind": "internal-without-identity",
2248
+ "nucleusSchema": {
2249
+ "$anchor": "StrategyStateDelta",
2250
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2251
+ "type": "object",
2252
+ "required": [
2253
+ "strategyStateUpdate"
2254
+ ],
2255
+ "properties": {
2256
+ "strategyStateUpdate": {
2257
+ "$ref": "#/$defs/StrategyState"
2258
+ }
2259
+ }
2260
+ }
2261
+ }
2262
+ },
2263
+ "RunnableStrategyUpdate": {
2264
+ "identity": "RESOURCE-RunnableStrategyUpdate",
2265
+ "resourceTypeHandle": "TYPE-ResourceType",
2266
+ "creationContext": {
2267
+ "resourceRoleHandle": "ROLE-Genesis",
2268
+ "jobStepHandle": "JOB_STEP-RunnableStrategyUpdate"
2269
+ },
2270
+ "kind": "materialized",
2271
+ "timestamp": "2025-11-30T00:00:00.000Z",
2272
+ "nucleus": {
2273
+ "identity": "TYPE-RunnableStrategyUpdate",
2274
+ "name": "RunnableStrategyUpdate",
2275
+ "description": "dummy-description",
2276
+ "resourceTypeImplementationKind": "internal-without-identity",
2277
+ "nucleusSchema": {
2278
+ "$anchor": "RunnableStrategyUpdate",
2279
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2280
+ "type": "object",
2281
+ "required": [
2282
+ "runnableStrategyHandle"
2283
+ ],
2284
+ "properties": {
2285
+ "runnableStrategyHandle": {
2286
+ "$ref": "#/$defs/RunnableStrategyIdentity"
2287
+ },
2288
+ "runnableStrategy": {
2289
+ "$comment": "Optional embedded snapshot; runnableStrategyHandle remains the canonical pointer.",
2290
+ "$ref": "#/$defs/RunnableStrategy"
2291
+ }
2292
+ },
2293
+ "allOf": [
2294
+ {
2295
+ "$ref": "#/$defs/StrategyStateDelta"
2296
+ }
2297
+ ],
2298
+ "unevaluatedProperties": false
2299
+ }
2300
+ }
2301
+ },
2302
+ "RunEventCounters": {
2303
+ "identity": "RESOURCE-RunEventCounters",
2304
+ "resourceTypeHandle": "TYPE-ResourceType",
2305
+ "creationContext": {
2306
+ "resourceRoleHandle": "ROLE-Genesis",
2307
+ "jobStepHandle": "JOB_STEP-RunEventCounters"
2308
+ },
2309
+ "kind": "materialized",
2310
+ "timestamp": "2025-11-30T00:00:00.000Z",
2311
+ "nucleus": {
2312
+ "identity": "TYPE-RunEventCounters",
2313
+ "name": "RunEventCounters",
2314
+ "description": "dummy-description",
2315
+ "resourceTypeImplementationKind": "internal-without-identity",
2316
+ "nucleusSchema": {
2317
+ "$anchor": "RunEventCounters",
2318
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2319
+ "type": "object",
2320
+ "properties": {
2321
+ "stepCounterAfter": {
2322
+ "type": "integer"
2323
+ },
2324
+ "iterationCounterAfter": {
2325
+ "type": "integer"
2326
+ }
2327
+ }
2328
+ }
2329
+ }
2330
+ },
2331
+ "RunEventStepMetadata": {
2332
+ "identity": "RESOURCE-RunEventStepMetadata",
2333
+ "resourceTypeHandle": "TYPE-ResourceType",
2334
+ "creationContext": {
2335
+ "resourceRoleHandle": "ROLE-Genesis",
2336
+ "jobStepHandle": "JOB_STEP-RunEventStepMetadata"
2337
+ },
2338
+ "kind": "materialized",
2339
+ "timestamp": "2025-11-30T00:00:00.000Z",
2340
+ "nucleus": {
2341
+ "identity": "TYPE-RunEventStepMetadata",
2342
+ "name": "RunEventStepMetadata",
2343
+ "description": "dummy-description",
2344
+ "resourceTypeImplementationKind": "internal-without-identity",
2345
+ "nucleusSchema": {
2346
+ "$anchor": "RunEventStepMetadata",
2347
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2348
+ "type": "object",
2349
+ "required": [
2350
+ "stepHandle",
2351
+ "stepKind",
2352
+ "threadStepIndex"
2353
+ ],
2354
+ "properties": {
2355
+ "stepHandle": {
2356
+ "$ref": "#/$defs/StepIdentity"
2357
+ },
2358
+ "stepKind": {
2359
+ "$ref": "#/$defs/StepKind"
2360
+ },
2361
+ "threadStepIndex": {
2362
+ "type": "integer"
2363
+ }
2364
+ }
2365
+ }
2366
+ }
2367
+ },
2368
+ "RunEventUpdates": {
2369
+ "identity": "RESOURCE-RunEventUpdates",
2370
+ "resourceTypeHandle": "TYPE-ResourceType",
2371
+ "creationContext": {
2372
+ "resourceRoleHandle": "ROLE-Genesis",
2373
+ "jobStepHandle": "JOB_STEP-RunEventUpdates"
2374
+ },
2375
+ "kind": "materialized",
2376
+ "timestamp": "2025-11-30T00:00:00.000Z",
2377
+ "nucleus": {
2378
+ "identity": "TYPE-RunEventUpdates",
2379
+ "name": "RunEventUpdates",
2380
+ "description": "dummy-description",
2381
+ "resourceTypeImplementationKind": "internal-without-identity",
2382
+ "nucleusSchema": {
2383
+ "$anchor": "RunEventUpdates",
2384
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2385
+ "type": "object",
2386
+ "properties": {
2387
+ "stepsMutation": {
2388
+ "type": "object",
2389
+ "required": [
2390
+ "insertAt",
2391
+ "inserted"
2392
+ ],
2393
+ "properties": {
2394
+ "insertAt": {
2395
+ "type": "integer"
2396
+ },
2397
+ "inserted": {
2398
+ "$ref": "#/$defs/StepArray"
2399
+ }
2400
+ }
2401
+ },
2402
+ "interruptData": {
2403
+ "$comment": "Kept permissive; the engine may evolve interrupt payloads.",
2404
+ "type": [
2405
+ "object",
2406
+ "null"
2407
+ ]
2408
+ }
2409
+ },
2410
+ "allOf": [
2411
+ {
2412
+ "$ref": "#/$defs/StrategyStateDelta"
2413
+ }
2414
+ ]
2415
+ }
2416
+ }
2417
+ },
2418
+ "RunEventKind": {
2419
+ "identity": "RESOURCE-RunEventKind",
2420
+ "resourceTypeHandle": "TYPE-ResourceType",
2421
+ "creationContext": {
2422
+ "resourceRoleHandle": "ROLE-Genesis",
2423
+ "jobStepHandle": "JOB_STEP-RunEventKind"
2424
+ },
2425
+ "kind": "materialized",
2426
+ "timestamp": "2025-11-30T00:00:00.000Z",
2427
+ "nucleus": {
2428
+ "identity": "TYPE-RunEventKind",
2429
+ "name": "RunEventKind",
2430
+ "description": "dummy-description",
2431
+ "resourceTypeImplementationKind": "internal-without-identity",
2432
+ "nucleusSchema": {
2433
+ "$anchor": "RunEventKind",
2434
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2435
+ "type": "string",
2436
+ "enum": [
2437
+ "graph_start",
2438
+ "tick",
2439
+ "interrupt",
2440
+ "graph_end"
2441
+ ]
2442
+ }
2443
+ }
2444
+ },
2445
+ "RunEventBase": {
2446
+ "identity": "RESOURCE-RunEventBase",
2447
+ "resourceTypeHandle": "TYPE-ResourceType",
2448
+ "creationContext": {
2449
+ "resourceRoleHandle": "ROLE-Genesis",
2450
+ "jobStepHandle": "JOB_STEP-RunEventBase"
2451
+ },
2452
+ "kind": "materialized",
2453
+ "timestamp": "2025-11-30T00:00:00.000Z",
2454
+ "nucleus": {
2455
+ "identity": "TYPE-RunEventBase",
2456
+ "name": "RunEventBase",
2457
+ "description": "dummy-description",
2458
+ "resourceTypeImplementationKind": "internal-without-identity",
2459
+ "nucleusSchema": {
2460
+ "$anchor": "RunEventBase",
2461
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2462
+ "type": "object",
2463
+ "required": [
2464
+ "runEventKind",
2465
+ "runnableStrategyHandle",
2466
+ "strategyThreadHandle",
2467
+ "createdAt",
2468
+ "nodeName",
2469
+ "eventSeq"
2470
+ ],
2471
+ "properties": {
2472
+ "runEventKind": {
2473
+ "$ref": "#/$defs/RunEventKind"
2474
+ },
2475
+ "runnableStrategyHandle": {
2476
+ "$ref": "#/$defs/RunnableStrategyIdentity"
2477
+ },
2478
+ "strategyThreadHandle": {
2479
+ "$ref": "#/$defs/StrategyThreadIdentity"
2480
+ },
2481
+ "createdAt": {
2482
+ "$ref": "#/$defs/Timestamp"
2483
+ },
2484
+ "nodeName": {
2485
+ "type": "string"
2486
+ },
2487
+ "eventSeq": {
2488
+ "type": "integer"
2489
+ },
2490
+ "counters": {
2491
+ "$ref": "#/$defs/RunEventCounters"
2492
+ },
2493
+ "stepMetadata": {
2494
+ "$ref": "#/$defs/RunEventStepMetadata"
2495
+ },
2496
+ "updates": {
2497
+ "$ref": "#/$defs/RunEventUpdates"
2498
+ }
2499
+ }
2500
+ }
2501
+ }
2502
+ },
2503
+ "GraphStartRunEvent": {
2504
+ "identity": "RESOURCE-GraphStartRunEvent",
2505
+ "resourceTypeHandle": "TYPE-ResourceType",
2506
+ "creationContext": {
2507
+ "resourceRoleHandle": "ROLE-Genesis",
2508
+ "jobStepHandle": "JOB_STEP-GraphStartRunEvent"
2509
+ },
2510
+ "kind": "materialized",
2511
+ "timestamp": "2025-11-30T00:00:00.000Z",
2512
+ "nucleus": {
2513
+ "identity": "TYPE-GraphStartRunEvent",
2514
+ "name": "GraphStartRunEvent",
2515
+ "description": "dummy-description",
2516
+ "resourceTypeImplementationKind": "internal-without-identity",
2517
+ "nucleusSchema": {
2518
+ "$anchor": "GraphStartRunEvent",
2519
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2520
+ "allOf": [
2521
+ {
2522
+ "$ref": "#/$defs/RunEventBase"
2523
+ },
2524
+ {
2525
+ "type": "object",
2526
+ "required": [
2527
+ "runnableStrategySeed"
2528
+ ],
2529
+ "properties": {
2530
+ "runEventKind": {
2531
+ "const": "graph_start"
2532
+ },
2533
+ "runnableStrategySeed": {
2534
+ "$ref": "#/$defs/RunnableStrategy"
2535
+ }
2536
+ }
2537
+ }
2538
+ ]
2539
+ }
2540
+ }
2541
+ },
2542
+ "TickRunEvent": {
2543
+ "identity": "RESOURCE-TickRunEvent",
2544
+ "resourceTypeHandle": "TYPE-ResourceType",
2545
+ "creationContext": {
2546
+ "resourceRoleHandle": "ROLE-Genesis",
2547
+ "jobStepHandle": "JOB_STEP-TickRunEvent"
2548
+ },
2549
+ "kind": "materialized",
2550
+ "timestamp": "2025-11-30T00:00:00.000Z",
2551
+ "nucleus": {
2552
+ "identity": "TYPE-TickRunEvent",
2553
+ "name": "TickRunEvent",
2554
+ "description": "dummy-description",
2555
+ "resourceTypeImplementationKind": "internal-without-identity",
2556
+ "nucleusSchema": {
2557
+ "$anchor": "TickRunEvent",
2558
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2559
+ "allOf": [
2560
+ {
2561
+ "$ref": "#/$defs/RunEventBase"
2562
+ },
2563
+ {
2564
+ "type": "object",
2565
+ "properties": {
2566
+ "runEventKind": {
2567
+ "const": "tick"
2568
+ }
2569
+ }
2570
+ }
2571
+ ]
2572
+ }
2573
+ }
2574
+ },
2575
+ "InterruptRunEvent": {
2576
+ "identity": "RESOURCE-InterruptRunEvent",
2577
+ "resourceTypeHandle": "TYPE-ResourceType",
2578
+ "creationContext": {
2579
+ "resourceRoleHandle": "ROLE-Genesis",
2580
+ "jobStepHandle": "JOB_STEP-InterruptRunEvent"
2581
+ },
2582
+ "kind": "materialized",
2583
+ "timestamp": "2025-11-30T00:00:00.000Z",
2584
+ "nucleus": {
2585
+ "identity": "TYPE-InterruptRunEvent",
2586
+ "name": "InterruptRunEvent",
2587
+ "description": "dummy-description",
2588
+ "resourceTypeImplementationKind": "internal-without-identity",
2589
+ "nucleusSchema": {
2590
+ "$anchor": "InterruptRunEvent",
2591
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2592
+ "allOf": [
2593
+ {
2594
+ "$ref": "#/$defs/RunEventBase"
2595
+ },
2596
+ {
2597
+ "type": "object",
2598
+ "properties": {
2599
+ "runEventKind": {
2600
+ "const": "interrupt"
2601
+ }
2602
+ }
2603
+ }
2604
+ ]
2605
+ }
2606
+ }
2607
+ },
2608
+ "GraphEndRunEvent": {
2609
+ "identity": "RESOURCE-GraphEndRunEvent",
2610
+ "resourceTypeHandle": "TYPE-ResourceType",
2611
+ "creationContext": {
2612
+ "resourceRoleHandle": "ROLE-Genesis",
2613
+ "jobStepHandle": "JOB_STEP-GraphEndRunEvent"
2614
+ },
2615
+ "kind": "materialized",
2616
+ "timestamp": "2025-11-30T00:00:00.000Z",
2617
+ "nucleus": {
2618
+ "identity": "TYPE-GraphEndRunEvent",
2619
+ "name": "GraphEndRunEvent",
2620
+ "description": "dummy-description",
2621
+ "resourceTypeImplementationKind": "internal-without-identity",
2622
+ "nucleusSchema": {
2623
+ "$anchor": "GraphEndRunEvent",
2624
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2625
+ "allOf": [
2626
+ {
2627
+ "$ref": "#/$defs/RunEventBase"
2628
+ },
2629
+ {
2630
+ "type": "object",
2631
+ "properties": {
2632
+ "runEventKind": {
2633
+ "const": "graph_end"
2634
+ }
2635
+ }
2636
+ }
2637
+ ]
2638
+ }
2639
+ }
2640
+ },
2641
+ "RunEvent": {
2642
+ "identity": "RESOURCE-RunEvent",
2643
+ "resourceTypeHandle": "TYPE-ResourceType",
2644
+ "creationContext": {
2645
+ "resourceRoleHandle": "ROLE-Genesis",
2646
+ "jobStepHandle": "JOB_STEP-RunEvent"
2647
+ },
2648
+ "kind": "materialized",
2649
+ "timestamp": "2025-11-30T00:00:00.000Z",
2650
+ "nucleus": {
2651
+ "identity": "TYPE-RunEvent",
2652
+ "name": "RunEvent",
2653
+ "description": "dummy-description",
2654
+ "resourceTypeImplementationKind": "internal-without-identity",
2655
+ "nucleusSchema": {
2656
+ "$anchor": "RunEvent",
2657
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2658
+ "type": "object",
2659
+ "oneOf": [
2660
+ {
2661
+ "$ref": "#/$defs/GraphStartRunEvent"
2662
+ },
2663
+ {
2664
+ "$ref": "#/$defs/TickRunEvent"
2665
+ },
2666
+ {
2667
+ "$ref": "#/$defs/InterruptRunEvent"
2668
+ },
2669
+ {
2670
+ "$ref": "#/$defs/GraphEndRunEvent"
2671
+ }
2672
+ ]
2673
+ }
2674
+ }
2675
+ },
2676
+ "StrategyRunIdentity": {
2677
+ "identity": "RESOURCE-StrategyRunIdentity",
2678
+ "resourceTypeHandle": "TYPE-ResourceType",
2679
+ "creationContext": {
2680
+ "resourceRoleHandle": "ROLE-Genesis",
2681
+ "jobStepHandle": "JOB_STEP-StrategyRunIdentity"
2682
+ },
2683
+ "kind": "materialized",
2684
+ "timestamp": "2025-11-30T00:00:00.000Z",
2685
+ "nucleus": {
2686
+ "identity": "TYPE-StrategyRunIdentity",
2687
+ "name": "StrategyRunIdentity",
2688
+ "description": "dummy-description",
2689
+ "resourceTypeImplementationKind": "internal-without-identity",
2690
+ "nucleusSchema": {
2691
+ "$anchor": "StrategyRunIdentity",
2692
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2693
+ "type": "string",
2694
+ "pattern": "^STRATEGY_RUN-.+$"
2695
+ }
2696
+ }
2697
+ },
2698
+ "StrategyRun": {
2699
+ "identity": "RESOURCE-StrategyRun",
2700
+ "resourceTypeHandle": "TYPE-ResourceType",
2701
+ "creationContext": {
2702
+ "resourceRoleHandle": "ROLE-Genesis",
2703
+ "jobStepHandle": "JOB_STEP-StrategyRun"
2704
+ },
2705
+ "kind": "materialized",
2706
+ "timestamp": "2025-11-30T00:00:00.000Z",
2707
+ "nucleus": {
2708
+ "identity": "TYPE-StrategyRun",
2709
+ "name": "StrategyRun",
2710
+ "description": "dummy-description",
2711
+ "resourceTypeImplementationKind": "internal-with-identity",
2712
+ "nucleusSchema": {
2713
+ "$anchor": "StrategyRun",
2714
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2715
+ "type": "object",
2716
+ "required": [
2717
+ "identity",
2718
+ "runnableStrategyHandle",
2719
+ "recordedAt",
2720
+ "runEvents"
2721
+ ],
2722
+ "properties": {
2723
+ "identity": {
2724
+ "$ref": "#/$defs/StrategyRunIdentity"
2725
+ },
2726
+ "runnableStrategyHandle": {
2727
+ "$comment": "Could be derived from the first event but useful for indexing.",
2728
+ "$ref": "#/$defs/RunnableStrategyIdentity"
2729
+ },
2730
+ "recordedAt": {
2731
+ "$ref": "#/$defs/Timestamp"
2732
+ },
2733
+ "runEvents": {
2734
+ "type": "array",
2735
+ "items": {
2736
+ "$ref": "#/$defs/RunEvent"
2737
+ }
2738
+ }
2739
+ },
2740
+ "unevaluatedProperties": false
2741
+ }
2742
+ }
2743
+ },
2744
+ "GoalIdentity": {
2745
+ "identity": "RESOURCE-GoalIdentity",
2746
+ "resourceTypeHandle": "TYPE-ResourceType",
2747
+ "creationContext": {
2748
+ "resourceRoleHandle": "ROLE-Genesis",
2749
+ "jobStepHandle": "JOB_STEP-GoalIdentity"
2750
+ },
2751
+ "kind": "materialized",
2752
+ "timestamp": "2025-11-30T00:00:00.000Z",
2753
+ "nucleus": {
2754
+ "identity": "TYPE-GoalIdentity",
2755
+ "name": "GoalIdentity",
2756
+ "description": "dummy-description",
2757
+ "resourceTypeImplementationKind": "internal-without-identity",
2758
+ "nucleusSchema": {
2759
+ "$anchor": "GoalIdentity",
2760
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2761
+ "type": "string",
2762
+ "pattern": "^GOAL-.+$"
2763
+ }
2764
+ }
2765
+ },
2766
+ "Goal": {
2767
+ "identity": "RESOURCE-Goal",
2768
+ "resourceTypeHandle": "TYPE-ResourceType",
2769
+ "creationContext": {
2770
+ "resourceRoleHandle": "ROLE-Genesis",
2771
+ "jobStepHandle": "JOB_STEP-Goal"
2772
+ },
2773
+ "kind": "materialized",
2774
+ "timestamp": "2025-11-30T00:00:00.000Z",
2775
+ "nucleus": {
2776
+ "identity": "TYPE-Goal",
2777
+ "name": "Goal",
2778
+ "description": "dummy-description",
2779
+ "resourceTypeImplementationKind": "internal-with-identity",
2780
+ "nucleusSchema": {
2781
+ "$anchor": "Goal",
2782
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2783
+ "type": "object",
2784
+ "required": [
2785
+ "identity",
2786
+ "target"
2787
+ ],
2788
+ "properties": {
2789
+ "identity": {
2790
+ "$ref": "#/$defs/GoalIdentity"
2791
+ },
2792
+ "target": {
2793
+ "type": "integer",
2794
+ "minimum": 0
2795
+ },
2796
+ "disallowedJobs": {
2797
+ "type": "array",
2798
+ "items": {
2799
+ "$ref": "#/$defs/JobIdentity"
2800
+ }
2801
+ },
2802
+ "disallowedSequences": {
2803
+ "type": "array",
2804
+ "items": {
2805
+ "type": "array",
2806
+ "items": {
2807
+ "$ref": "#/$defs/JobIdentity"
2808
+ }
2809
+ }
2810
+ },
2811
+ "minSteps": {
2812
+ "type": "integer",
2813
+ "minimum": 1
2814
+ },
2815
+ "maxSteps": {
2816
+ "type": "integer",
2817
+ "minimum": 1
2818
+ }
2819
+ },
2820
+ "allOf": [
2821
+ {
2822
+ "$ref": "#/$defs/DomainFacet"
2823
+ }
2824
+ ],
2825
+ "unevaluatedProperties": false
2826
+ }
2827
+ }
2828
+ },
2829
+ "Natural": {
2830
+ "identity": "RESOURCE-Natural",
2831
+ "resourceTypeHandle": "TYPE-ResourceType",
2832
+ "creationContext": {
2833
+ "resourceRoleHandle": "ROLE-Genesis",
2834
+ "jobStepHandle": "JOB_STEP-Natural"
2835
+ },
2836
+ "kind": "materialized",
2837
+ "timestamp": "2025-11-30T00:00:00.000Z",
2838
+ "nucleus": {
2839
+ "identity": "TYPE-Natural",
2840
+ "name": "Natural",
2841
+ "description": "dummy-description",
2842
+ "resourceTypeImplementationKind": "internal-with-identity",
2843
+ "nucleusSchema": {
2844
+ "$anchor": "Natural",
2845
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2846
+ "type": "object",
2847
+ "required": [
2848
+ "identity"
2849
+ ],
2850
+ "properties": {
2851
+ "identity": {
2852
+ "$ref": "#/$defs/NaturalIdentity"
2853
+ }
2854
+ },
2855
+ "$defs": {
2856
+ "NaturalIdentity": {
2857
+ "type": "integer"
2858
+ }
2859
+ },
2860
+ "additionalProperties": false
2861
+ }
2862
+ }
2863
+ },
2864
+ "Boolean": {
2865
+ "identity": "RESOURCE-Boolean",
2866
+ "resourceTypeHandle": "TYPE-ResourceType",
2867
+ "creationContext": {
2868
+ "resourceRoleHandle": "ROLE-Genesis",
2869
+ "jobStepHandle": "JOB_STEP-Boolean"
2870
+ },
2871
+ "kind": "materialized",
2872
+ "timestamp": "2025-11-30T00:00:00.000Z",
2873
+ "nucleus": {
2874
+ "identity": "TYPE-Boolean",
2875
+ "name": "Boolean",
2876
+ "description": "dummy-description",
2877
+ "resourceTypeImplementationKind": "internal-with-identity",
2878
+ "nucleusSchema": {
2879
+ "$anchor": "Boolean",
2880
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
2881
+ "type": "object",
2882
+ "required": [
2883
+ "identity"
2884
+ ],
2885
+ "properties": {
2886
+ "identity": {
2887
+ "$ref": "#/$defs/BooleanIdentity"
2888
+ }
2889
+ },
2890
+ "$defs": {
2891
+ "BooleanIdentity": {
2892
+ "type": "boolean"
2893
+ }
2894
+ },
2895
+ "additionalProperties": false
2896
+ }
2897
+ }
2898
+ }
2899
+ }