@dynamicalsystems/idl 0.12.0 → 0.13.0

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.
@@ -0,0 +1,3924 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://github.com/DynamicalSystemsGroup/dsg-idl/schema/dsg-organization-release-v1.json",
4
+ "title": "dsg.organization.release/1",
5
+ "$defs": {
6
+ "dependencyLock": {
7
+ "additionalProperties": false,
8
+ "type": "object",
9
+ "required": [
10
+ "profile",
11
+ "schemaVersion",
12
+ "kind",
13
+ "canonicalization",
14
+ "roots",
15
+ "entries",
16
+ "compiler"
17
+ ],
18
+ "properties": {
19
+ "profile": {
20
+ "const": "dsg.organization.release/1",
21
+ "type": "string"
22
+ },
23
+ "schemaVersion": {
24
+ "const": 1,
25
+ "type": "number"
26
+ },
27
+ "kind": {
28
+ "const": "dependency-lock",
29
+ "type": "string"
30
+ },
31
+ "canonicalization": {
32
+ "const": "RFC8785-JCS-UTF8",
33
+ "type": "string"
34
+ },
35
+ "roots": {
36
+ "uniqueItems": true,
37
+ "type": "array",
38
+ "items": {
39
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
40
+ "type": "string"
41
+ }
42
+ },
43
+ "entries": {
44
+ "uniqueItems": true,
45
+ "type": "array",
46
+ "items": {
47
+ "additionalProperties": false,
48
+ "type": "object",
49
+ "required": ["id", "kind", "reference", "mediaType", "selectedMemberIds", "dependsOn"],
50
+ "properties": {
51
+ "id": {
52
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
53
+ "type": "string"
54
+ },
55
+ "kind": {
56
+ "anyOf": [
57
+ {
58
+ "const": "extension-release",
59
+ "type": "string"
60
+ },
61
+ {
62
+ "const": "component",
63
+ "type": "string"
64
+ },
65
+ {
66
+ "const": "idl-package",
67
+ "type": "string"
68
+ },
69
+ {
70
+ "const": "module-release",
71
+ "type": "string"
72
+ },
73
+ {
74
+ "const": "law-release",
75
+ "type": "string"
76
+ },
77
+ {
78
+ "const": "definition",
79
+ "type": "string"
80
+ },
81
+ {
82
+ "const": "workload-artifact",
83
+ "type": "string"
84
+ },
85
+ {
86
+ "const": "event-catalog",
87
+ "type": "string"
88
+ },
89
+ {
90
+ "const": "example",
91
+ "type": "string"
92
+ },
93
+ {
94
+ "const": "project",
95
+ "type": "string"
96
+ },
97
+ {
98
+ "const": "target",
99
+ "type": "string"
100
+ }
101
+ ]
102
+ },
103
+ "reference": {
104
+ "additionalProperties": false,
105
+ "type": "object",
106
+ "required": ["orn", "sha256"],
107
+ "properties": {
108
+ "orn": {
109
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
110
+ "type": "string"
111
+ },
112
+ "sha256": {
113
+ "pattern": "^[0-9a-f]{64}$",
114
+ "type": "string"
115
+ }
116
+ }
117
+ },
118
+ "mediaType": {
119
+ "minLength": 1,
120
+ "type": "string"
121
+ },
122
+ "selectedMemberIds": {
123
+ "uniqueItems": true,
124
+ "type": "array",
125
+ "items": {
126
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
127
+ "type": "string"
128
+ }
129
+ },
130
+ "dependsOn": {
131
+ "uniqueItems": true,
132
+ "type": "array",
133
+ "items": {
134
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
135
+ "type": "string"
136
+ }
137
+ }
138
+ }
139
+ }
140
+ },
141
+ "compiler": {
142
+ "additionalProperties": false,
143
+ "type": "object",
144
+ "required": ["profile", "version", "implementation"],
145
+ "properties": {
146
+ "profile": {
147
+ "pattern": "^dsg\\.[a-z0-9.-]+/[1-9][0-9]*$",
148
+ "type": "string"
149
+ },
150
+ "version": {
151
+ "pattern": "^(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)$",
152
+ "type": "string"
153
+ },
154
+ "implementation": {
155
+ "additionalProperties": false,
156
+ "type": "object",
157
+ "required": ["orn", "sha256"],
158
+ "properties": {
159
+ "orn": {
160
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
161
+ "type": "string"
162
+ },
163
+ "sha256": {
164
+ "pattern": "^[0-9a-f]{64}$",
165
+ "type": "string"
166
+ }
167
+ }
168
+ }
169
+ }
170
+ }
171
+ }
172
+ },
173
+ "organizationBuild": {
174
+ "additionalProperties": false,
175
+ "type": "object",
176
+ "required": [
177
+ "profile",
178
+ "schemaVersion",
179
+ "kind",
180
+ "organization",
181
+ "canonicalization",
182
+ "source",
183
+ "facts",
184
+ "workspaceProfile",
185
+ "projects",
186
+ "sourceDocuments",
187
+ "selections",
188
+ "components",
189
+ "typedReleases",
190
+ "dependencyLock",
191
+ "compiler",
192
+ "instructions",
193
+ "handling",
194
+ "releaseDeclarations",
195
+ "releaseMembers"
196
+ ],
197
+ "properties": {
198
+ "profile": {
199
+ "const": "dsg.organization.release/1",
200
+ "type": "string"
201
+ },
202
+ "schemaVersion": {
203
+ "const": 1,
204
+ "type": "number"
205
+ },
206
+ "kind": {
207
+ "const": "organization-build",
208
+ "type": "string"
209
+ },
210
+ "organization": {
211
+ "minLength": 1,
212
+ "type": "string"
213
+ },
214
+ "canonicalization": {
215
+ "const": "RFC8785-JCS-UTF8",
216
+ "type": "string"
217
+ },
218
+ "source": {
219
+ "additionalProperties": false,
220
+ "type": "object",
221
+ "required": ["root", "revision"],
222
+ "properties": {
223
+ "root": {
224
+ "additionalProperties": false,
225
+ "type": "object",
226
+ "required": ["orn", "sha256"],
227
+ "properties": {
228
+ "orn": {
229
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
230
+ "type": "string"
231
+ },
232
+ "sha256": {
233
+ "pattern": "^[0-9a-f]{64}$",
234
+ "type": "string"
235
+ }
236
+ }
237
+ },
238
+ "revision": {
239
+ "pattern": "^(?:[0-9a-f]{40}|[0-9a-f]{64})$",
240
+ "type": "string"
241
+ }
242
+ }
243
+ },
244
+ "facts": {
245
+ "additionalProperties": false,
246
+ "type": "object",
247
+ "required": ["name", "purpose", "space"],
248
+ "properties": {
249
+ "name": {
250
+ "minLength": 1,
251
+ "type": "string"
252
+ },
253
+ "purpose": {
254
+ "minLength": 1,
255
+ "type": "string"
256
+ },
257
+ "space": {
258
+ "minLength": 1,
259
+ "type": "string"
260
+ }
261
+ }
262
+ },
263
+ "workspaceProfile": {
264
+ "additionalProperties": false,
265
+ "type": "object",
266
+ "required": ["orn", "sha256"],
267
+ "properties": {
268
+ "orn": {
269
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
270
+ "type": "string"
271
+ },
272
+ "sha256": {
273
+ "pattern": "^[0-9a-f]{64}$",
274
+ "type": "string"
275
+ }
276
+ }
277
+ },
278
+ "projects": {
279
+ "uniqueItems": true,
280
+ "type": "array",
281
+ "items": {
282
+ "additionalProperties": false,
283
+ "type": "object",
284
+ "required": ["id", "membership", "revision"],
285
+ "properties": {
286
+ "id": {
287
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
288
+ "type": "string"
289
+ },
290
+ "membership": {
291
+ "additionalProperties": false,
292
+ "type": "object",
293
+ "required": ["orn", "sha256"],
294
+ "properties": {
295
+ "orn": {
296
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
297
+ "type": "string"
298
+ },
299
+ "sha256": {
300
+ "pattern": "^[0-9a-f]{64}$",
301
+ "type": "string"
302
+ }
303
+ }
304
+ },
305
+ "revision": {
306
+ "pattern": "^(?:[0-9a-f]{40}|[0-9a-f]{64})$",
307
+ "type": "string"
308
+ }
309
+ }
310
+ }
311
+ },
312
+ "sourceDocuments": {
313
+ "minItems": 1,
314
+ "uniqueItems": true,
315
+ "type": "array",
316
+ "items": {
317
+ "additionalProperties": false,
318
+ "type": "object",
319
+ "required": ["path", "sha256", "mediaType"],
320
+ "properties": {
321
+ "path": {
322
+ "minLength": 1,
323
+ "type": "string"
324
+ },
325
+ "sha256": {
326
+ "pattern": "^[0-9a-f]{64}$",
327
+ "type": "string"
328
+ },
329
+ "mediaType": {
330
+ "minLength": 1,
331
+ "type": "string"
332
+ }
333
+ }
334
+ }
335
+ },
336
+ "selections": {
337
+ "uniqueItems": true,
338
+ "type": "array",
339
+ "items": {
340
+ "additionalProperties": false,
341
+ "type": "object",
342
+ "required": ["id", "selection", "extensionRelease", "members"],
343
+ "properties": {
344
+ "id": {
345
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
346
+ "type": "string"
347
+ },
348
+ "selection": {
349
+ "additionalProperties": false,
350
+ "type": "object",
351
+ "required": ["orn", "sha256"],
352
+ "properties": {
353
+ "orn": {
354
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
355
+ "type": "string"
356
+ },
357
+ "sha256": {
358
+ "pattern": "^[0-9a-f]{64}$",
359
+ "type": "string"
360
+ }
361
+ }
362
+ },
363
+ "extensionRelease": {
364
+ "additionalProperties": false,
365
+ "type": "object",
366
+ "required": ["orn", "sha256"],
367
+ "properties": {
368
+ "orn": {
369
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
370
+ "type": "string"
371
+ },
372
+ "sha256": {
373
+ "pattern": "^[0-9a-f]{64}$",
374
+ "type": "string"
375
+ }
376
+ }
377
+ },
378
+ "members": {
379
+ "minItems": 1,
380
+ "uniqueItems": true,
381
+ "type": "array",
382
+ "items": {
383
+ "additionalProperties": false,
384
+ "type": "object",
385
+ "required": ["id", "kind", "reference"],
386
+ "properties": {
387
+ "id": {
388
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
389
+ "type": "string"
390
+ },
391
+ "kind": {
392
+ "anyOf": [
393
+ {
394
+ "const": "workflow",
395
+ "type": "string"
396
+ },
397
+ {
398
+ "const": "example",
399
+ "type": "string"
400
+ },
401
+ {
402
+ "const": "contract",
403
+ "type": "string"
404
+ },
405
+ {
406
+ "const": "job-class",
407
+ "type": "string"
408
+ },
409
+ {
410
+ "const": "workload-artifact",
411
+ "type": "string"
412
+ },
413
+ {
414
+ "const": "event-catalog",
415
+ "type": "string"
416
+ },
417
+ {
418
+ "const": "connector",
419
+ "type": "string"
420
+ },
421
+ {
422
+ "const": "module",
423
+ "type": "string"
424
+ },
425
+ {
426
+ "const": "check",
427
+ "type": "string"
428
+ },
429
+ {
430
+ "const": "vocabulary",
431
+ "type": "string"
432
+ },
433
+ {
434
+ "const": "assurance",
435
+ "type": "string"
436
+ },
437
+ {
438
+ "const": "documentation",
439
+ "type": "string"
440
+ }
441
+ ]
442
+ },
443
+ "reference": {
444
+ "additionalProperties": false,
445
+ "type": "object",
446
+ "required": ["orn", "sha256"],
447
+ "properties": {
448
+ "orn": {
449
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
450
+ "type": "string"
451
+ },
452
+ "sha256": {
453
+ "pattern": "^[0-9a-f]{64}$",
454
+ "type": "string"
455
+ }
456
+ }
457
+ }
458
+ }
459
+ }
460
+ }
461
+ }
462
+ }
463
+ },
464
+ "components": {
465
+ "uniqueItems": true,
466
+ "type": "array",
467
+ "items": {
468
+ "additionalProperties": false,
469
+ "type": "object",
470
+ "required": ["extensionRelease", "memberId", "kind", "reference", "mediaType"],
471
+ "properties": {
472
+ "extensionRelease": {
473
+ "additionalProperties": false,
474
+ "type": "object",
475
+ "required": ["orn", "sha256"],
476
+ "properties": {
477
+ "orn": {
478
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
479
+ "type": "string"
480
+ },
481
+ "sha256": {
482
+ "pattern": "^[0-9a-f]{64}$",
483
+ "type": "string"
484
+ }
485
+ }
486
+ },
487
+ "memberId": {
488
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
489
+ "type": "string"
490
+ },
491
+ "kind": {
492
+ "anyOf": [
493
+ {
494
+ "const": "workflow",
495
+ "type": "string"
496
+ },
497
+ {
498
+ "const": "example",
499
+ "type": "string"
500
+ },
501
+ {
502
+ "const": "contract",
503
+ "type": "string"
504
+ },
505
+ {
506
+ "const": "job-class",
507
+ "type": "string"
508
+ },
509
+ {
510
+ "const": "workload-artifact",
511
+ "type": "string"
512
+ },
513
+ {
514
+ "const": "event-catalog",
515
+ "type": "string"
516
+ },
517
+ {
518
+ "const": "connector",
519
+ "type": "string"
520
+ },
521
+ {
522
+ "const": "module",
523
+ "type": "string"
524
+ },
525
+ {
526
+ "const": "check",
527
+ "type": "string"
528
+ },
529
+ {
530
+ "const": "vocabulary",
531
+ "type": "string"
532
+ },
533
+ {
534
+ "const": "assurance",
535
+ "type": "string"
536
+ },
537
+ {
538
+ "const": "documentation",
539
+ "type": "string"
540
+ }
541
+ ]
542
+ },
543
+ "reference": {
544
+ "additionalProperties": false,
545
+ "type": "object",
546
+ "required": ["orn", "sha256"],
547
+ "properties": {
548
+ "orn": {
549
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
550
+ "type": "string"
551
+ },
552
+ "sha256": {
553
+ "pattern": "^[0-9a-f]{64}$",
554
+ "type": "string"
555
+ }
556
+ }
557
+ },
558
+ "mediaType": {
559
+ "minLength": 1,
560
+ "type": "string"
561
+ }
562
+ }
563
+ }
564
+ },
565
+ "typedReleases": {
566
+ "uniqueItems": true,
567
+ "type": "array",
568
+ "items": {
569
+ "additionalProperties": false,
570
+ "type": "object",
571
+ "required": ["id", "kind", "reference", "mediaType", "selectedMemberIds", "dependsOn"],
572
+ "properties": {
573
+ "id": {
574
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
575
+ "type": "string"
576
+ },
577
+ "kind": {
578
+ "anyOf": [
579
+ {
580
+ "const": "extension-release",
581
+ "type": "string"
582
+ },
583
+ {
584
+ "const": "component",
585
+ "type": "string"
586
+ },
587
+ {
588
+ "const": "idl-package",
589
+ "type": "string"
590
+ },
591
+ {
592
+ "const": "module-release",
593
+ "type": "string"
594
+ },
595
+ {
596
+ "const": "law-release",
597
+ "type": "string"
598
+ },
599
+ {
600
+ "const": "definition",
601
+ "type": "string"
602
+ },
603
+ {
604
+ "const": "workload-artifact",
605
+ "type": "string"
606
+ },
607
+ {
608
+ "const": "event-catalog",
609
+ "type": "string"
610
+ },
611
+ {
612
+ "const": "example",
613
+ "type": "string"
614
+ },
615
+ {
616
+ "const": "project",
617
+ "type": "string"
618
+ },
619
+ {
620
+ "const": "target",
621
+ "type": "string"
622
+ }
623
+ ]
624
+ },
625
+ "reference": {
626
+ "additionalProperties": false,
627
+ "type": "object",
628
+ "required": ["orn", "sha256"],
629
+ "properties": {
630
+ "orn": {
631
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
632
+ "type": "string"
633
+ },
634
+ "sha256": {
635
+ "pattern": "^[0-9a-f]{64}$",
636
+ "type": "string"
637
+ }
638
+ }
639
+ },
640
+ "mediaType": {
641
+ "minLength": 1,
642
+ "type": "string"
643
+ },
644
+ "selectedMemberIds": {
645
+ "uniqueItems": true,
646
+ "type": "array",
647
+ "items": {
648
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
649
+ "type": "string"
650
+ }
651
+ },
652
+ "dependsOn": {
653
+ "uniqueItems": true,
654
+ "type": "array",
655
+ "items": {
656
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
657
+ "type": "string"
658
+ }
659
+ }
660
+ }
661
+ }
662
+ },
663
+ "dependencyLock": {
664
+ "additionalProperties": false,
665
+ "type": "object",
666
+ "required": ["orn", "sha256"],
667
+ "properties": {
668
+ "orn": {
669
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
670
+ "type": "string"
671
+ },
672
+ "sha256": {
673
+ "pattern": "^[0-9a-f]{64}$",
674
+ "type": "string"
675
+ }
676
+ }
677
+ },
678
+ "compiler": {
679
+ "additionalProperties": false,
680
+ "type": "object",
681
+ "required": ["profile", "version", "implementation"],
682
+ "properties": {
683
+ "profile": {
684
+ "pattern": "^dsg\\.[a-z0-9.-]+/[1-9][0-9]*$",
685
+ "type": "string"
686
+ },
687
+ "version": {
688
+ "pattern": "^(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)\\.(?:0|[1-9][0-9]*)$",
689
+ "type": "string"
690
+ },
691
+ "implementation": {
692
+ "additionalProperties": false,
693
+ "type": "object",
694
+ "required": ["orn", "sha256"],
695
+ "properties": {
696
+ "orn": {
697
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
698
+ "type": "string"
699
+ },
700
+ "sha256": {
701
+ "pattern": "^[0-9a-f]{64}$",
702
+ "type": "string"
703
+ }
704
+ }
705
+ }
706
+ }
707
+ },
708
+ "instructions": {
709
+ "uniqueItems": true,
710
+ "type": "array",
711
+ "items": {
712
+ "additionalProperties": false,
713
+ "type": "object",
714
+ "required": ["orn", "sha256"],
715
+ "properties": {
716
+ "orn": {
717
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
718
+ "type": "string"
719
+ },
720
+ "sha256": {
721
+ "pattern": "^[0-9a-f]{64}$",
722
+ "type": "string"
723
+ }
724
+ }
725
+ }
726
+ },
727
+ "handling": {
728
+ "uniqueItems": true,
729
+ "type": "array",
730
+ "items": {
731
+ "additionalProperties": false,
732
+ "type": "object",
733
+ "required": ["orn", "sha256"],
734
+ "properties": {
735
+ "orn": {
736
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
737
+ "type": "string"
738
+ },
739
+ "sha256": {
740
+ "pattern": "^[0-9a-f]{64}$",
741
+ "type": "string"
742
+ }
743
+ }
744
+ }
745
+ },
746
+ "releaseDeclarations": {
747
+ "uniqueItems": true,
748
+ "type": "array",
749
+ "items": {
750
+ "additionalProperties": false,
751
+ "type": "object",
752
+ "required": ["orn", "sha256"],
753
+ "properties": {
754
+ "orn": {
755
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
756
+ "type": "string"
757
+ },
758
+ "sha256": {
759
+ "pattern": "^[0-9a-f]{64}$",
760
+ "type": "string"
761
+ }
762
+ }
763
+ }
764
+ },
765
+ "releaseMembers": {
766
+ "uniqueItems": true,
767
+ "type": "array",
768
+ "items": {
769
+ "additionalProperties": false,
770
+ "type": "object",
771
+ "required": ["id", "kind", "required", "acceptableDispositions", "subject"],
772
+ "properties": {
773
+ "id": {
774
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
775
+ "type": "string"
776
+ },
777
+ "kind": {
778
+ "anyOf": [
779
+ {
780
+ "const": "publication",
781
+ "type": "string"
782
+ },
783
+ {
784
+ "const": "import",
785
+ "type": "string"
786
+ },
787
+ {
788
+ "const": "capability-admission",
789
+ "type": "string"
790
+ },
791
+ {
792
+ "const": "workflow-publication",
793
+ "type": "string"
794
+ },
795
+ {
796
+ "const": "contract-check",
797
+ "type": "string"
798
+ },
799
+ {
800
+ "const": "target-readiness",
801
+ "type": "string"
802
+ },
803
+ {
804
+ "const": "setup-condition",
805
+ "type": "string"
806
+ },
807
+ {
808
+ "const": "paid-execution-readiness",
809
+ "type": "string"
810
+ }
811
+ ]
812
+ },
813
+ "required": {
814
+ "type": "boolean"
815
+ },
816
+ "acceptableDispositions": {
817
+ "minItems": 1,
818
+ "uniqueItems": true,
819
+ "type": "array",
820
+ "items": {
821
+ "minLength": 1,
822
+ "type": "string"
823
+ }
824
+ },
825
+ "subject": {
826
+ "additionalProperties": false,
827
+ "type": "object",
828
+ "required": ["orn", "sha256"],
829
+ "properties": {
830
+ "orn": {
831
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
832
+ "type": "string"
833
+ },
834
+ "sha256": {
835
+ "pattern": "^[0-9a-f]{64}$",
836
+ "type": "string"
837
+ }
838
+ }
839
+ }
840
+ }
841
+ }
842
+ }
843
+ }
844
+ },
845
+ "importDisposition": {
846
+ "anyOf": [
847
+ {
848
+ "additionalProperties": false,
849
+ "type": "object",
850
+ "required": [
851
+ "profile",
852
+ "schemaVersion",
853
+ "kind",
854
+ "installation",
855
+ "build",
856
+ "release",
857
+ "subject",
858
+ "observedAt",
859
+ "status"
860
+ ],
861
+ "properties": {
862
+ "profile": {
863
+ "const": "dsg.organization.release/1",
864
+ "type": "string"
865
+ },
866
+ "schemaVersion": {
867
+ "const": 1,
868
+ "type": "number"
869
+ },
870
+ "kind": {
871
+ "const": "import-disposition",
872
+ "type": "string"
873
+ },
874
+ "installation": {
875
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
876
+ "type": "string"
877
+ },
878
+ "build": {
879
+ "additionalProperties": false,
880
+ "type": "object",
881
+ "required": ["orn", "sha256"],
882
+ "properties": {
883
+ "orn": {
884
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
885
+ "type": "string"
886
+ },
887
+ "sha256": {
888
+ "pattern": "^[0-9a-f]{64}$",
889
+ "type": "string"
890
+ }
891
+ }
892
+ },
893
+ "release": {
894
+ "additionalProperties": false,
895
+ "type": "object",
896
+ "required": ["orn", "sha256"],
897
+ "properties": {
898
+ "orn": {
899
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
900
+ "type": "string"
901
+ },
902
+ "sha256": {
903
+ "pattern": "^[0-9a-f]{64}$",
904
+ "type": "string"
905
+ }
906
+ }
907
+ },
908
+ "subject": {
909
+ "additionalProperties": false,
910
+ "type": "object",
911
+ "required": ["orn", "sha256"],
912
+ "properties": {
913
+ "orn": {
914
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
915
+ "type": "string"
916
+ },
917
+ "sha256": {
918
+ "pattern": "^[0-9a-f]{64}$",
919
+ "type": "string"
920
+ }
921
+ }
922
+ },
923
+ "observedAt": {
924
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
925
+ "type": "string"
926
+ },
927
+ "status": {
928
+ "const": "pending",
929
+ "type": "string"
930
+ }
931
+ }
932
+ },
933
+ {
934
+ "additionalProperties": false,
935
+ "type": "object",
936
+ "required": [
937
+ "profile",
938
+ "schemaVersion",
939
+ "kind",
940
+ "installation",
941
+ "build",
942
+ "release",
943
+ "subject",
944
+ "observedAt",
945
+ "status",
946
+ "disposition",
947
+ "evidence"
948
+ ],
949
+ "properties": {
950
+ "profile": {
951
+ "const": "dsg.organization.release/1",
952
+ "type": "string"
953
+ },
954
+ "schemaVersion": {
955
+ "const": 1,
956
+ "type": "number"
957
+ },
958
+ "kind": {
959
+ "const": "import-disposition",
960
+ "type": "string"
961
+ },
962
+ "installation": {
963
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
964
+ "type": "string"
965
+ },
966
+ "build": {
967
+ "additionalProperties": false,
968
+ "type": "object",
969
+ "required": ["orn", "sha256"],
970
+ "properties": {
971
+ "orn": {
972
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
973
+ "type": "string"
974
+ },
975
+ "sha256": {
976
+ "pattern": "^[0-9a-f]{64}$",
977
+ "type": "string"
978
+ }
979
+ }
980
+ },
981
+ "release": {
982
+ "additionalProperties": false,
983
+ "type": "object",
984
+ "required": ["orn", "sha256"],
985
+ "properties": {
986
+ "orn": {
987
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
988
+ "type": "string"
989
+ },
990
+ "sha256": {
991
+ "pattern": "^[0-9a-f]{64}$",
992
+ "type": "string"
993
+ }
994
+ }
995
+ },
996
+ "subject": {
997
+ "additionalProperties": false,
998
+ "type": "object",
999
+ "required": ["orn", "sha256"],
1000
+ "properties": {
1001
+ "orn": {
1002
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1003
+ "type": "string"
1004
+ },
1005
+ "sha256": {
1006
+ "pattern": "^[0-9a-f]{64}$",
1007
+ "type": "string"
1008
+ }
1009
+ }
1010
+ },
1011
+ "observedAt": {
1012
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
1013
+ "type": "string"
1014
+ },
1015
+ "status": {
1016
+ "const": "verified",
1017
+ "type": "string"
1018
+ },
1019
+ "disposition": {
1020
+ "anyOf": [
1021
+ {
1022
+ "const": "published",
1023
+ "type": "string"
1024
+ },
1025
+ {
1026
+ "const": "digest-match",
1027
+ "type": "string"
1028
+ }
1029
+ ]
1030
+ },
1031
+ "evidence": {
1032
+ "minItems": 1,
1033
+ "uniqueItems": true,
1034
+ "type": "array",
1035
+ "items": {
1036
+ "additionalProperties": false,
1037
+ "type": "object",
1038
+ "required": ["orn", "sha256"],
1039
+ "properties": {
1040
+ "orn": {
1041
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1042
+ "type": "string"
1043
+ },
1044
+ "sha256": {
1045
+ "pattern": "^[0-9a-f]{64}$",
1046
+ "type": "string"
1047
+ }
1048
+ }
1049
+ }
1050
+ }
1051
+ }
1052
+ },
1053
+ {
1054
+ "additionalProperties": false,
1055
+ "type": "object",
1056
+ "required": [
1057
+ "profile",
1058
+ "schemaVersion",
1059
+ "kind",
1060
+ "installation",
1061
+ "build",
1062
+ "release",
1063
+ "subject",
1064
+ "observedAt",
1065
+ "status",
1066
+ "disposition",
1067
+ "evidence"
1068
+ ],
1069
+ "properties": {
1070
+ "profile": {
1071
+ "const": "dsg.organization.release/1",
1072
+ "type": "string"
1073
+ },
1074
+ "schemaVersion": {
1075
+ "const": 1,
1076
+ "type": "number"
1077
+ },
1078
+ "kind": {
1079
+ "const": "import-disposition",
1080
+ "type": "string"
1081
+ },
1082
+ "installation": {
1083
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1084
+ "type": "string"
1085
+ },
1086
+ "build": {
1087
+ "additionalProperties": false,
1088
+ "type": "object",
1089
+ "required": ["orn", "sha256"],
1090
+ "properties": {
1091
+ "orn": {
1092
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1093
+ "type": "string"
1094
+ },
1095
+ "sha256": {
1096
+ "pattern": "^[0-9a-f]{64}$",
1097
+ "type": "string"
1098
+ }
1099
+ }
1100
+ },
1101
+ "release": {
1102
+ "additionalProperties": false,
1103
+ "type": "object",
1104
+ "required": ["orn", "sha256"],
1105
+ "properties": {
1106
+ "orn": {
1107
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1108
+ "type": "string"
1109
+ },
1110
+ "sha256": {
1111
+ "pattern": "^[0-9a-f]{64}$",
1112
+ "type": "string"
1113
+ }
1114
+ }
1115
+ },
1116
+ "subject": {
1117
+ "additionalProperties": false,
1118
+ "type": "object",
1119
+ "required": ["orn", "sha256"],
1120
+ "properties": {
1121
+ "orn": {
1122
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1123
+ "type": "string"
1124
+ },
1125
+ "sha256": {
1126
+ "pattern": "^[0-9a-f]{64}$",
1127
+ "type": "string"
1128
+ }
1129
+ }
1130
+ },
1131
+ "observedAt": {
1132
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
1133
+ "type": "string"
1134
+ },
1135
+ "status": {
1136
+ "const": "staged",
1137
+ "type": "string"
1138
+ },
1139
+ "disposition": {
1140
+ "const": "captured",
1141
+ "type": "string"
1142
+ },
1143
+ "evidence": {
1144
+ "minItems": 1,
1145
+ "uniqueItems": true,
1146
+ "type": "array",
1147
+ "items": {
1148
+ "additionalProperties": false,
1149
+ "type": "object",
1150
+ "required": ["orn", "sha256"],
1151
+ "properties": {
1152
+ "orn": {
1153
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1154
+ "type": "string"
1155
+ },
1156
+ "sha256": {
1157
+ "pattern": "^[0-9a-f]{64}$",
1158
+ "type": "string"
1159
+ }
1160
+ }
1161
+ }
1162
+ }
1163
+ }
1164
+ },
1165
+ {
1166
+ "additionalProperties": false,
1167
+ "type": "object",
1168
+ "required": [
1169
+ "profile",
1170
+ "schemaVersion",
1171
+ "kind",
1172
+ "installation",
1173
+ "build",
1174
+ "release",
1175
+ "subject",
1176
+ "observedAt",
1177
+ "status",
1178
+ "disposition",
1179
+ "reason",
1180
+ "evidence"
1181
+ ],
1182
+ "properties": {
1183
+ "profile": {
1184
+ "const": "dsg.organization.release/1",
1185
+ "type": "string"
1186
+ },
1187
+ "schemaVersion": {
1188
+ "const": 1,
1189
+ "type": "number"
1190
+ },
1191
+ "kind": {
1192
+ "const": "import-disposition",
1193
+ "type": "string"
1194
+ },
1195
+ "installation": {
1196
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1197
+ "type": "string"
1198
+ },
1199
+ "build": {
1200
+ "additionalProperties": false,
1201
+ "type": "object",
1202
+ "required": ["orn", "sha256"],
1203
+ "properties": {
1204
+ "orn": {
1205
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1206
+ "type": "string"
1207
+ },
1208
+ "sha256": {
1209
+ "pattern": "^[0-9a-f]{64}$",
1210
+ "type": "string"
1211
+ }
1212
+ }
1213
+ },
1214
+ "release": {
1215
+ "additionalProperties": false,
1216
+ "type": "object",
1217
+ "required": ["orn", "sha256"],
1218
+ "properties": {
1219
+ "orn": {
1220
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1221
+ "type": "string"
1222
+ },
1223
+ "sha256": {
1224
+ "pattern": "^[0-9a-f]{64}$",
1225
+ "type": "string"
1226
+ }
1227
+ }
1228
+ },
1229
+ "subject": {
1230
+ "additionalProperties": false,
1231
+ "type": "object",
1232
+ "required": ["orn", "sha256"],
1233
+ "properties": {
1234
+ "orn": {
1235
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1236
+ "type": "string"
1237
+ },
1238
+ "sha256": {
1239
+ "pattern": "^[0-9a-f]{64}$",
1240
+ "type": "string"
1241
+ }
1242
+ }
1243
+ },
1244
+ "observedAt": {
1245
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
1246
+ "type": "string"
1247
+ },
1248
+ "status": {
1249
+ "const": "refused",
1250
+ "type": "string"
1251
+ },
1252
+ "disposition": {
1253
+ "anyOf": [
1254
+ {
1255
+ "const": "digest-mismatch",
1256
+ "type": "string"
1257
+ },
1258
+ {
1259
+ "const": "missing",
1260
+ "type": "string"
1261
+ },
1262
+ {
1263
+ "const": "unsupported",
1264
+ "type": "string"
1265
+ }
1266
+ ]
1267
+ },
1268
+ "reason": {
1269
+ "minLength": 1,
1270
+ "type": "string"
1271
+ },
1272
+ "evidence": {
1273
+ "minItems": 1,
1274
+ "uniqueItems": true,
1275
+ "type": "array",
1276
+ "items": {
1277
+ "additionalProperties": false,
1278
+ "type": "object",
1279
+ "required": ["orn", "sha256"],
1280
+ "properties": {
1281
+ "orn": {
1282
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1283
+ "type": "string"
1284
+ },
1285
+ "sha256": {
1286
+ "pattern": "^[0-9a-f]{64}$",
1287
+ "type": "string"
1288
+ }
1289
+ }
1290
+ }
1291
+ }
1292
+ }
1293
+ }
1294
+ ]
1295
+ },
1296
+ "releaseStatusObservation": {
1297
+ "additionalProperties": false,
1298
+ "type": "object",
1299
+ "required": [
1300
+ "profile",
1301
+ "schemaVersion",
1302
+ "kind",
1303
+ "subject",
1304
+ "registry",
1305
+ "trustView",
1306
+ "status",
1307
+ "effectiveAt",
1308
+ "observedAt",
1309
+ "evidence"
1310
+ ],
1311
+ "properties": {
1312
+ "profile": {
1313
+ "const": "dsg.organization.release/1",
1314
+ "type": "string"
1315
+ },
1316
+ "schemaVersion": {
1317
+ "const": 1,
1318
+ "type": "number"
1319
+ },
1320
+ "kind": {
1321
+ "const": "release-status-observation",
1322
+ "type": "string"
1323
+ },
1324
+ "subject": {
1325
+ "additionalProperties": false,
1326
+ "type": "object",
1327
+ "required": ["orn", "sha256"],
1328
+ "properties": {
1329
+ "orn": {
1330
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1331
+ "type": "string"
1332
+ },
1333
+ "sha256": {
1334
+ "pattern": "^[0-9a-f]{64}$",
1335
+ "type": "string"
1336
+ }
1337
+ }
1338
+ },
1339
+ "registry": {
1340
+ "additionalProperties": false,
1341
+ "type": "object",
1342
+ "required": ["orn", "sha256"],
1343
+ "properties": {
1344
+ "orn": {
1345
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1346
+ "type": "string"
1347
+ },
1348
+ "sha256": {
1349
+ "pattern": "^[0-9a-f]{64}$",
1350
+ "type": "string"
1351
+ }
1352
+ }
1353
+ },
1354
+ "trustView": {
1355
+ "additionalProperties": false,
1356
+ "type": "object",
1357
+ "required": ["orn", "sha256"],
1358
+ "properties": {
1359
+ "orn": {
1360
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1361
+ "type": "string"
1362
+ },
1363
+ "sha256": {
1364
+ "pattern": "^[0-9a-f]{64}$",
1365
+ "type": "string"
1366
+ }
1367
+ }
1368
+ },
1369
+ "status": {
1370
+ "anyOf": [
1371
+ {
1372
+ "const": "active",
1373
+ "type": "string"
1374
+ },
1375
+ {
1376
+ "const": "retired",
1377
+ "type": "string"
1378
+ },
1379
+ {
1380
+ "const": "revoked",
1381
+ "type": "string"
1382
+ }
1383
+ ]
1384
+ },
1385
+ "effectiveAt": {
1386
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
1387
+ "type": "string"
1388
+ },
1389
+ "observedAt": {
1390
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
1391
+ "type": "string"
1392
+ },
1393
+ "evidence": {
1394
+ "minItems": 1,
1395
+ "uniqueItems": true,
1396
+ "type": "array",
1397
+ "items": {
1398
+ "additionalProperties": false,
1399
+ "type": "object",
1400
+ "required": ["orn", "sha256"],
1401
+ "properties": {
1402
+ "orn": {
1403
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1404
+ "type": "string"
1405
+ },
1406
+ "sha256": {
1407
+ "pattern": "^[0-9a-f]{64}$",
1408
+ "type": "string"
1409
+ }
1410
+ }
1411
+ }
1412
+ }
1413
+ }
1414
+ },
1415
+ "releaseEligibility": {
1416
+ "additionalProperties": false,
1417
+ "type": "object",
1418
+ "required": [
1419
+ "profile",
1420
+ "schemaVersion",
1421
+ "kind",
1422
+ "release",
1423
+ "operation",
1424
+ "observation",
1425
+ "trustView",
1426
+ "activeSet"
1427
+ ],
1428
+ "properties": {
1429
+ "profile": {
1430
+ "const": "dsg.organization.release/1",
1431
+ "type": "string"
1432
+ },
1433
+ "schemaVersion": {
1434
+ "const": 1,
1435
+ "type": "number"
1436
+ },
1437
+ "kind": {
1438
+ "const": "release-eligibility",
1439
+ "type": "string"
1440
+ },
1441
+ "release": {
1442
+ "additionalProperties": false,
1443
+ "type": "object",
1444
+ "required": ["orn", "sha256"],
1445
+ "properties": {
1446
+ "orn": {
1447
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1448
+ "type": "string"
1449
+ },
1450
+ "sha256": {
1451
+ "pattern": "^[0-9a-f]{64}$",
1452
+ "type": "string"
1453
+ }
1454
+ }
1455
+ },
1456
+ "operation": {
1457
+ "anyOf": [
1458
+ {
1459
+ "const": "resolve",
1460
+ "type": "string"
1461
+ },
1462
+ {
1463
+ "const": "select",
1464
+ "type": "string"
1465
+ },
1466
+ {
1467
+ "const": "import",
1468
+ "type": "string"
1469
+ },
1470
+ {
1471
+ "const": "admit",
1472
+ "type": "string"
1473
+ },
1474
+ {
1475
+ "const": "activate",
1476
+ "type": "string"
1477
+ },
1478
+ {
1479
+ "const": "execute",
1480
+ "type": "string"
1481
+ }
1482
+ ]
1483
+ },
1484
+ "observation": {
1485
+ "additionalProperties": false,
1486
+ "type": "object",
1487
+ "required": [
1488
+ "profile",
1489
+ "schemaVersion",
1490
+ "kind",
1491
+ "subject",
1492
+ "registry",
1493
+ "trustView",
1494
+ "status",
1495
+ "effectiveAt",
1496
+ "observedAt",
1497
+ "evidence"
1498
+ ],
1499
+ "properties": {
1500
+ "profile": {
1501
+ "const": "dsg.organization.release/1",
1502
+ "type": "string"
1503
+ },
1504
+ "schemaVersion": {
1505
+ "const": 1,
1506
+ "type": "number"
1507
+ },
1508
+ "kind": {
1509
+ "const": "release-status-observation",
1510
+ "type": "string"
1511
+ },
1512
+ "subject": {
1513
+ "additionalProperties": false,
1514
+ "type": "object",
1515
+ "required": ["orn", "sha256"],
1516
+ "properties": {
1517
+ "orn": {
1518
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1519
+ "type": "string"
1520
+ },
1521
+ "sha256": {
1522
+ "pattern": "^[0-9a-f]{64}$",
1523
+ "type": "string"
1524
+ }
1525
+ }
1526
+ },
1527
+ "registry": {
1528
+ "additionalProperties": false,
1529
+ "type": "object",
1530
+ "required": ["orn", "sha256"],
1531
+ "properties": {
1532
+ "orn": {
1533
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1534
+ "type": "string"
1535
+ },
1536
+ "sha256": {
1537
+ "pattern": "^[0-9a-f]{64}$",
1538
+ "type": "string"
1539
+ }
1540
+ }
1541
+ },
1542
+ "trustView": {
1543
+ "additionalProperties": false,
1544
+ "type": "object",
1545
+ "required": ["orn", "sha256"],
1546
+ "properties": {
1547
+ "orn": {
1548
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1549
+ "type": "string"
1550
+ },
1551
+ "sha256": {
1552
+ "pattern": "^[0-9a-f]{64}$",
1553
+ "type": "string"
1554
+ }
1555
+ }
1556
+ },
1557
+ "status": {
1558
+ "anyOf": [
1559
+ {
1560
+ "const": "active",
1561
+ "type": "string"
1562
+ },
1563
+ {
1564
+ "const": "retired",
1565
+ "type": "string"
1566
+ },
1567
+ {
1568
+ "const": "revoked",
1569
+ "type": "string"
1570
+ }
1571
+ ]
1572
+ },
1573
+ "effectiveAt": {
1574
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
1575
+ "type": "string"
1576
+ },
1577
+ "observedAt": {
1578
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
1579
+ "type": "string"
1580
+ },
1581
+ "evidence": {
1582
+ "minItems": 1,
1583
+ "uniqueItems": true,
1584
+ "type": "array",
1585
+ "items": {
1586
+ "additionalProperties": false,
1587
+ "type": "object",
1588
+ "required": ["orn", "sha256"],
1589
+ "properties": {
1590
+ "orn": {
1591
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1592
+ "type": "string"
1593
+ },
1594
+ "sha256": {
1595
+ "pattern": "^[0-9a-f]{64}$",
1596
+ "type": "string"
1597
+ }
1598
+ }
1599
+ }
1600
+ }
1601
+ }
1602
+ },
1603
+ "trustView": {
1604
+ "additionalProperties": false,
1605
+ "type": "object",
1606
+ "required": ["orn", "sha256"],
1607
+ "properties": {
1608
+ "orn": {
1609
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1610
+ "type": "string"
1611
+ },
1612
+ "sha256": {
1613
+ "pattern": "^[0-9a-f]{64}$",
1614
+ "type": "string"
1615
+ }
1616
+ }
1617
+ },
1618
+ "activeSet": {
1619
+ "anyOf": [
1620
+ {
1621
+ "additionalProperties": false,
1622
+ "type": "object",
1623
+ "required": ["orn", "sha256"],
1624
+ "properties": {
1625
+ "orn": {
1626
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1627
+ "type": "string"
1628
+ },
1629
+ "sha256": {
1630
+ "pattern": "^[0-9a-f]{64}$",
1631
+ "type": "string"
1632
+ }
1633
+ }
1634
+ },
1635
+ {
1636
+ "type": "null"
1637
+ }
1638
+ ]
1639
+ }
1640
+ }
1641
+ },
1642
+ "organizationRelease": {
1643
+ "additionalProperties": false,
1644
+ "type": "object",
1645
+ "required": [
1646
+ "profile",
1647
+ "schemaVersion",
1648
+ "kind",
1649
+ "id",
1650
+ "organization",
1651
+ "build",
1652
+ "dependencyLock",
1653
+ "selections",
1654
+ "members"
1655
+ ],
1656
+ "properties": {
1657
+ "profile": {
1658
+ "const": "dsg.organization.release/1",
1659
+ "type": "string"
1660
+ },
1661
+ "schemaVersion": {
1662
+ "const": 1,
1663
+ "type": "number"
1664
+ },
1665
+ "kind": {
1666
+ "const": "organization-release",
1667
+ "type": "string"
1668
+ },
1669
+ "id": {
1670
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
1671
+ "type": "string"
1672
+ },
1673
+ "organization": {
1674
+ "minLength": 1,
1675
+ "type": "string"
1676
+ },
1677
+ "build": {
1678
+ "additionalProperties": false,
1679
+ "type": "object",
1680
+ "required": ["orn", "sha256"],
1681
+ "properties": {
1682
+ "orn": {
1683
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1684
+ "type": "string"
1685
+ },
1686
+ "sha256": {
1687
+ "pattern": "^[0-9a-f]{64}$",
1688
+ "type": "string"
1689
+ }
1690
+ }
1691
+ },
1692
+ "dependencyLock": {
1693
+ "additionalProperties": false,
1694
+ "type": "object",
1695
+ "required": ["orn", "sha256"],
1696
+ "properties": {
1697
+ "orn": {
1698
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1699
+ "type": "string"
1700
+ },
1701
+ "sha256": {
1702
+ "pattern": "^[0-9a-f]{64}$",
1703
+ "type": "string"
1704
+ }
1705
+ }
1706
+ },
1707
+ "selections": {
1708
+ "uniqueItems": true,
1709
+ "type": "array",
1710
+ "items": {
1711
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
1712
+ "type": "string"
1713
+ }
1714
+ },
1715
+ "members": {
1716
+ "minItems": 1,
1717
+ "uniqueItems": true,
1718
+ "type": "array",
1719
+ "items": {
1720
+ "additionalProperties": false,
1721
+ "type": "object",
1722
+ "required": ["id", "kind", "required", "acceptableDispositions", "subject"],
1723
+ "properties": {
1724
+ "id": {
1725
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
1726
+ "type": "string"
1727
+ },
1728
+ "kind": {
1729
+ "anyOf": [
1730
+ {
1731
+ "const": "publication",
1732
+ "type": "string"
1733
+ },
1734
+ {
1735
+ "const": "import",
1736
+ "type": "string"
1737
+ },
1738
+ {
1739
+ "const": "capability-admission",
1740
+ "type": "string"
1741
+ },
1742
+ {
1743
+ "const": "workflow-publication",
1744
+ "type": "string"
1745
+ },
1746
+ {
1747
+ "const": "contract-check",
1748
+ "type": "string"
1749
+ },
1750
+ {
1751
+ "const": "target-readiness",
1752
+ "type": "string"
1753
+ },
1754
+ {
1755
+ "const": "setup-condition",
1756
+ "type": "string"
1757
+ },
1758
+ {
1759
+ "const": "paid-execution-readiness",
1760
+ "type": "string"
1761
+ }
1762
+ ]
1763
+ },
1764
+ "required": {
1765
+ "type": "boolean"
1766
+ },
1767
+ "acceptableDispositions": {
1768
+ "minItems": 1,
1769
+ "uniqueItems": true,
1770
+ "type": "array",
1771
+ "items": {
1772
+ "minLength": 1,
1773
+ "type": "string"
1774
+ }
1775
+ },
1776
+ "subject": {
1777
+ "additionalProperties": false,
1778
+ "type": "object",
1779
+ "required": ["orn", "sha256"],
1780
+ "properties": {
1781
+ "orn": {
1782
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1783
+ "type": "string"
1784
+ },
1785
+ "sha256": {
1786
+ "pattern": "^[0-9a-f]{64}$",
1787
+ "type": "string"
1788
+ }
1789
+ }
1790
+ }
1791
+ }
1792
+ }
1793
+ }
1794
+ }
1795
+ },
1796
+ "admissionRecord": {
1797
+ "anyOf": [
1798
+ {
1799
+ "additionalProperties": false,
1800
+ "type": "object",
1801
+ "required": [
1802
+ "profile",
1803
+ "schemaVersion",
1804
+ "kind",
1805
+ "id",
1806
+ "installation",
1807
+ "organization",
1808
+ "build",
1809
+ "release",
1810
+ "selectionId",
1811
+ "extensionRelease",
1812
+ "evaluatingCase",
1813
+ "decision",
1814
+ "authority",
1815
+ "fence",
1816
+ "revision",
1817
+ "decidedAt",
1818
+ "status",
1819
+ "components",
1820
+ "approvedUses",
1821
+ "bindings",
1822
+ "evidence"
1823
+ ],
1824
+ "properties": {
1825
+ "profile": {
1826
+ "const": "dsg.organization.release/1",
1827
+ "type": "string"
1828
+ },
1829
+ "schemaVersion": {
1830
+ "const": 1,
1831
+ "type": "number"
1832
+ },
1833
+ "kind": {
1834
+ "const": "admission-record",
1835
+ "type": "string"
1836
+ },
1837
+ "id": {
1838
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
1839
+ "type": "string"
1840
+ },
1841
+ "installation": {
1842
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1843
+ "type": "string"
1844
+ },
1845
+ "organization": {
1846
+ "minLength": 1,
1847
+ "type": "string"
1848
+ },
1849
+ "build": {
1850
+ "additionalProperties": false,
1851
+ "type": "object",
1852
+ "required": ["orn", "sha256"],
1853
+ "properties": {
1854
+ "orn": {
1855
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1856
+ "type": "string"
1857
+ },
1858
+ "sha256": {
1859
+ "pattern": "^[0-9a-f]{64}$",
1860
+ "type": "string"
1861
+ }
1862
+ }
1863
+ },
1864
+ "release": {
1865
+ "additionalProperties": false,
1866
+ "type": "object",
1867
+ "required": ["orn", "sha256"],
1868
+ "properties": {
1869
+ "orn": {
1870
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1871
+ "type": "string"
1872
+ },
1873
+ "sha256": {
1874
+ "pattern": "^[0-9a-f]{64}$",
1875
+ "type": "string"
1876
+ }
1877
+ }
1878
+ },
1879
+ "selectionId": {
1880
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
1881
+ "type": "string"
1882
+ },
1883
+ "extensionRelease": {
1884
+ "additionalProperties": false,
1885
+ "type": "object",
1886
+ "required": ["orn", "sha256"],
1887
+ "properties": {
1888
+ "orn": {
1889
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1890
+ "type": "string"
1891
+ },
1892
+ "sha256": {
1893
+ "pattern": "^[0-9a-f]{64}$",
1894
+ "type": "string"
1895
+ }
1896
+ }
1897
+ },
1898
+ "evaluatingCase": {
1899
+ "additionalProperties": false,
1900
+ "type": "object",
1901
+ "required": ["orn", "sha256"],
1902
+ "properties": {
1903
+ "orn": {
1904
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1905
+ "type": "string"
1906
+ },
1907
+ "sha256": {
1908
+ "pattern": "^[0-9a-f]{64}$",
1909
+ "type": "string"
1910
+ }
1911
+ }
1912
+ },
1913
+ "decision": {
1914
+ "additionalProperties": false,
1915
+ "type": "object",
1916
+ "required": ["orn", "sha256"],
1917
+ "properties": {
1918
+ "orn": {
1919
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1920
+ "type": "string"
1921
+ },
1922
+ "sha256": {
1923
+ "pattern": "^[0-9a-f]{64}$",
1924
+ "type": "string"
1925
+ }
1926
+ }
1927
+ },
1928
+ "authority": {
1929
+ "additionalProperties": false,
1930
+ "type": "object",
1931
+ "required": ["orn", "sha256"],
1932
+ "properties": {
1933
+ "orn": {
1934
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1935
+ "type": "string"
1936
+ },
1937
+ "sha256": {
1938
+ "pattern": "^[0-9a-f]{64}$",
1939
+ "type": "string"
1940
+ }
1941
+ }
1942
+ },
1943
+ "fence": {
1944
+ "additionalProperties": false,
1945
+ "type": "object",
1946
+ "required": ["orn", "sha256"],
1947
+ "properties": {
1948
+ "orn": {
1949
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
1950
+ "type": "string"
1951
+ },
1952
+ "sha256": {
1953
+ "pattern": "^[0-9a-f]{64}$",
1954
+ "type": "string"
1955
+ }
1956
+ }
1957
+ },
1958
+ "revision": {
1959
+ "minimum": 0,
1960
+ "maximum": 9007199254740991,
1961
+ "type": "integer"
1962
+ },
1963
+ "decidedAt": {
1964
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
1965
+ "type": "string"
1966
+ },
1967
+ "status": {
1968
+ "const": "admitted",
1969
+ "type": "string"
1970
+ },
1971
+ "components": {
1972
+ "minItems": 1,
1973
+ "uniqueItems": true,
1974
+ "type": "array",
1975
+ "items": {
1976
+ "additionalProperties": false,
1977
+ "type": "object",
1978
+ "required": ["id", "kind", "reference"],
1979
+ "properties": {
1980
+ "id": {
1981
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
1982
+ "type": "string"
1983
+ },
1984
+ "kind": {
1985
+ "anyOf": [
1986
+ {
1987
+ "const": "workflow",
1988
+ "type": "string"
1989
+ },
1990
+ {
1991
+ "const": "example",
1992
+ "type": "string"
1993
+ },
1994
+ {
1995
+ "const": "contract",
1996
+ "type": "string"
1997
+ },
1998
+ {
1999
+ "const": "job-class",
2000
+ "type": "string"
2001
+ },
2002
+ {
2003
+ "const": "workload-artifact",
2004
+ "type": "string"
2005
+ },
2006
+ {
2007
+ "const": "event-catalog",
2008
+ "type": "string"
2009
+ },
2010
+ {
2011
+ "const": "connector",
2012
+ "type": "string"
2013
+ },
2014
+ {
2015
+ "const": "module",
2016
+ "type": "string"
2017
+ },
2018
+ {
2019
+ "const": "check",
2020
+ "type": "string"
2021
+ },
2022
+ {
2023
+ "const": "vocabulary",
2024
+ "type": "string"
2025
+ },
2026
+ {
2027
+ "const": "assurance",
2028
+ "type": "string"
2029
+ },
2030
+ {
2031
+ "const": "documentation",
2032
+ "type": "string"
2033
+ }
2034
+ ]
2035
+ },
2036
+ "reference": {
2037
+ "additionalProperties": false,
2038
+ "type": "object",
2039
+ "required": ["orn", "sha256"],
2040
+ "properties": {
2041
+ "orn": {
2042
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2043
+ "type": "string"
2044
+ },
2045
+ "sha256": {
2046
+ "pattern": "^[0-9a-f]{64}$",
2047
+ "type": "string"
2048
+ }
2049
+ }
2050
+ }
2051
+ }
2052
+ }
2053
+ },
2054
+ "approvedUses": {
2055
+ "minItems": 1,
2056
+ "uniqueItems": true,
2057
+ "type": "array",
2058
+ "items": {
2059
+ "additionalProperties": false,
2060
+ "type": "object",
2061
+ "required": ["use", "binding"],
2062
+ "properties": {
2063
+ "use": {
2064
+ "minLength": 1,
2065
+ "type": "string"
2066
+ },
2067
+ "binding": {
2068
+ "additionalProperties": false,
2069
+ "type": "object",
2070
+ "required": ["orn", "sha256"],
2071
+ "properties": {
2072
+ "orn": {
2073
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2074
+ "type": "string"
2075
+ },
2076
+ "sha256": {
2077
+ "pattern": "^[0-9a-f]{64}$",
2078
+ "type": "string"
2079
+ }
2080
+ }
2081
+ }
2082
+ }
2083
+ }
2084
+ },
2085
+ "bindings": {
2086
+ "minItems": 1,
2087
+ "uniqueItems": true,
2088
+ "type": "array",
2089
+ "items": {
2090
+ "additionalProperties": false,
2091
+ "type": "object",
2092
+ "required": ["orn", "sha256"],
2093
+ "properties": {
2094
+ "orn": {
2095
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2096
+ "type": "string"
2097
+ },
2098
+ "sha256": {
2099
+ "pattern": "^[0-9a-f]{64}$",
2100
+ "type": "string"
2101
+ }
2102
+ }
2103
+ }
2104
+ },
2105
+ "evidence": {
2106
+ "minItems": 1,
2107
+ "uniqueItems": true,
2108
+ "type": "array",
2109
+ "items": {
2110
+ "additionalProperties": false,
2111
+ "type": "object",
2112
+ "required": ["orn", "sha256"],
2113
+ "properties": {
2114
+ "orn": {
2115
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2116
+ "type": "string"
2117
+ },
2118
+ "sha256": {
2119
+ "pattern": "^[0-9a-f]{64}$",
2120
+ "type": "string"
2121
+ }
2122
+ }
2123
+ }
2124
+ }
2125
+ }
2126
+ },
2127
+ {
2128
+ "additionalProperties": false,
2129
+ "type": "object",
2130
+ "required": [
2131
+ "profile",
2132
+ "schemaVersion",
2133
+ "kind",
2134
+ "id",
2135
+ "installation",
2136
+ "organization",
2137
+ "build",
2138
+ "release",
2139
+ "selectionId",
2140
+ "extensionRelease",
2141
+ "evaluatingCase",
2142
+ "decision",
2143
+ "authority",
2144
+ "fence",
2145
+ "revision",
2146
+ "decidedAt",
2147
+ "status",
2148
+ "components",
2149
+ "reason",
2150
+ "evidence"
2151
+ ],
2152
+ "properties": {
2153
+ "profile": {
2154
+ "const": "dsg.organization.release/1",
2155
+ "type": "string"
2156
+ },
2157
+ "schemaVersion": {
2158
+ "const": 1,
2159
+ "type": "number"
2160
+ },
2161
+ "kind": {
2162
+ "const": "admission-record",
2163
+ "type": "string"
2164
+ },
2165
+ "id": {
2166
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
2167
+ "type": "string"
2168
+ },
2169
+ "installation": {
2170
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2171
+ "type": "string"
2172
+ },
2173
+ "organization": {
2174
+ "minLength": 1,
2175
+ "type": "string"
2176
+ },
2177
+ "build": {
2178
+ "additionalProperties": false,
2179
+ "type": "object",
2180
+ "required": ["orn", "sha256"],
2181
+ "properties": {
2182
+ "orn": {
2183
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2184
+ "type": "string"
2185
+ },
2186
+ "sha256": {
2187
+ "pattern": "^[0-9a-f]{64}$",
2188
+ "type": "string"
2189
+ }
2190
+ }
2191
+ },
2192
+ "release": {
2193
+ "additionalProperties": false,
2194
+ "type": "object",
2195
+ "required": ["orn", "sha256"],
2196
+ "properties": {
2197
+ "orn": {
2198
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2199
+ "type": "string"
2200
+ },
2201
+ "sha256": {
2202
+ "pattern": "^[0-9a-f]{64}$",
2203
+ "type": "string"
2204
+ }
2205
+ }
2206
+ },
2207
+ "selectionId": {
2208
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
2209
+ "type": "string"
2210
+ },
2211
+ "extensionRelease": {
2212
+ "additionalProperties": false,
2213
+ "type": "object",
2214
+ "required": ["orn", "sha256"],
2215
+ "properties": {
2216
+ "orn": {
2217
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2218
+ "type": "string"
2219
+ },
2220
+ "sha256": {
2221
+ "pattern": "^[0-9a-f]{64}$",
2222
+ "type": "string"
2223
+ }
2224
+ }
2225
+ },
2226
+ "evaluatingCase": {
2227
+ "additionalProperties": false,
2228
+ "type": "object",
2229
+ "required": ["orn", "sha256"],
2230
+ "properties": {
2231
+ "orn": {
2232
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2233
+ "type": "string"
2234
+ },
2235
+ "sha256": {
2236
+ "pattern": "^[0-9a-f]{64}$",
2237
+ "type": "string"
2238
+ }
2239
+ }
2240
+ },
2241
+ "decision": {
2242
+ "additionalProperties": false,
2243
+ "type": "object",
2244
+ "required": ["orn", "sha256"],
2245
+ "properties": {
2246
+ "orn": {
2247
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2248
+ "type": "string"
2249
+ },
2250
+ "sha256": {
2251
+ "pattern": "^[0-9a-f]{64}$",
2252
+ "type": "string"
2253
+ }
2254
+ }
2255
+ },
2256
+ "authority": {
2257
+ "additionalProperties": false,
2258
+ "type": "object",
2259
+ "required": ["orn", "sha256"],
2260
+ "properties": {
2261
+ "orn": {
2262
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2263
+ "type": "string"
2264
+ },
2265
+ "sha256": {
2266
+ "pattern": "^[0-9a-f]{64}$",
2267
+ "type": "string"
2268
+ }
2269
+ }
2270
+ },
2271
+ "fence": {
2272
+ "additionalProperties": false,
2273
+ "type": "object",
2274
+ "required": ["orn", "sha256"],
2275
+ "properties": {
2276
+ "orn": {
2277
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2278
+ "type": "string"
2279
+ },
2280
+ "sha256": {
2281
+ "pattern": "^[0-9a-f]{64}$",
2282
+ "type": "string"
2283
+ }
2284
+ }
2285
+ },
2286
+ "revision": {
2287
+ "minimum": 0,
2288
+ "maximum": 9007199254740991,
2289
+ "type": "integer"
2290
+ },
2291
+ "decidedAt": {
2292
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
2293
+ "type": "string"
2294
+ },
2295
+ "status": {
2296
+ "const": "refused",
2297
+ "type": "string"
2298
+ },
2299
+ "components": {
2300
+ "uniqueItems": true,
2301
+ "type": "array",
2302
+ "items": {
2303
+ "additionalProperties": false,
2304
+ "type": "object",
2305
+ "required": ["id", "kind", "reference"],
2306
+ "properties": {
2307
+ "id": {
2308
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
2309
+ "type": "string"
2310
+ },
2311
+ "kind": {
2312
+ "anyOf": [
2313
+ {
2314
+ "const": "workflow",
2315
+ "type": "string"
2316
+ },
2317
+ {
2318
+ "const": "example",
2319
+ "type": "string"
2320
+ },
2321
+ {
2322
+ "const": "contract",
2323
+ "type": "string"
2324
+ },
2325
+ {
2326
+ "const": "job-class",
2327
+ "type": "string"
2328
+ },
2329
+ {
2330
+ "const": "workload-artifact",
2331
+ "type": "string"
2332
+ },
2333
+ {
2334
+ "const": "event-catalog",
2335
+ "type": "string"
2336
+ },
2337
+ {
2338
+ "const": "connector",
2339
+ "type": "string"
2340
+ },
2341
+ {
2342
+ "const": "module",
2343
+ "type": "string"
2344
+ },
2345
+ {
2346
+ "const": "check",
2347
+ "type": "string"
2348
+ },
2349
+ {
2350
+ "const": "vocabulary",
2351
+ "type": "string"
2352
+ },
2353
+ {
2354
+ "const": "assurance",
2355
+ "type": "string"
2356
+ },
2357
+ {
2358
+ "const": "documentation",
2359
+ "type": "string"
2360
+ }
2361
+ ]
2362
+ },
2363
+ "reference": {
2364
+ "additionalProperties": false,
2365
+ "type": "object",
2366
+ "required": ["orn", "sha256"],
2367
+ "properties": {
2368
+ "orn": {
2369
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2370
+ "type": "string"
2371
+ },
2372
+ "sha256": {
2373
+ "pattern": "^[0-9a-f]{64}$",
2374
+ "type": "string"
2375
+ }
2376
+ }
2377
+ }
2378
+ }
2379
+ }
2380
+ },
2381
+ "reason": {
2382
+ "minLength": 1,
2383
+ "type": "string"
2384
+ },
2385
+ "evidence": {
2386
+ "minItems": 1,
2387
+ "uniqueItems": true,
2388
+ "type": "array",
2389
+ "items": {
2390
+ "additionalProperties": false,
2391
+ "type": "object",
2392
+ "required": ["orn", "sha256"],
2393
+ "properties": {
2394
+ "orn": {
2395
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2396
+ "type": "string"
2397
+ },
2398
+ "sha256": {
2399
+ "pattern": "^[0-9a-f]{64}$",
2400
+ "type": "string"
2401
+ }
2402
+ }
2403
+ }
2404
+ }
2405
+ }
2406
+ }
2407
+ ]
2408
+ },
2409
+ "admissionStatusObservation": {
2410
+ "anyOf": [
2411
+ {
2412
+ "additionalProperties": false,
2413
+ "type": "object",
2414
+ "required": [
2415
+ "profile",
2416
+ "schemaVersion",
2417
+ "kind",
2418
+ "admission",
2419
+ "decision",
2420
+ "evidence",
2421
+ "observedAt",
2422
+ "status",
2423
+ "reason"
2424
+ ],
2425
+ "properties": {
2426
+ "profile": {
2427
+ "const": "dsg.organization.release/1",
2428
+ "type": "string"
2429
+ },
2430
+ "schemaVersion": {
2431
+ "const": 1,
2432
+ "type": "number"
2433
+ },
2434
+ "kind": {
2435
+ "const": "admission-status-observation",
2436
+ "type": "string"
2437
+ },
2438
+ "admission": {
2439
+ "additionalProperties": false,
2440
+ "type": "object",
2441
+ "required": ["orn", "sha256"],
2442
+ "properties": {
2443
+ "orn": {
2444
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2445
+ "type": "string"
2446
+ },
2447
+ "sha256": {
2448
+ "pattern": "^[0-9a-f]{64}$",
2449
+ "type": "string"
2450
+ }
2451
+ }
2452
+ },
2453
+ "decision": {
2454
+ "additionalProperties": false,
2455
+ "type": "object",
2456
+ "required": ["orn", "sha256"],
2457
+ "properties": {
2458
+ "orn": {
2459
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2460
+ "type": "string"
2461
+ },
2462
+ "sha256": {
2463
+ "pattern": "^[0-9a-f]{64}$",
2464
+ "type": "string"
2465
+ }
2466
+ }
2467
+ },
2468
+ "evidence": {
2469
+ "minItems": 1,
2470
+ "uniqueItems": true,
2471
+ "type": "array",
2472
+ "items": {
2473
+ "additionalProperties": false,
2474
+ "type": "object",
2475
+ "required": ["orn", "sha256"],
2476
+ "properties": {
2477
+ "orn": {
2478
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2479
+ "type": "string"
2480
+ },
2481
+ "sha256": {
2482
+ "pattern": "^[0-9a-f]{64}$",
2483
+ "type": "string"
2484
+ }
2485
+ }
2486
+ }
2487
+ },
2488
+ "observedAt": {
2489
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
2490
+ "type": "string"
2491
+ },
2492
+ "status": {
2493
+ "const": "suspended",
2494
+ "type": "string"
2495
+ },
2496
+ "reason": {
2497
+ "minLength": 1,
2498
+ "type": "string"
2499
+ }
2500
+ }
2501
+ },
2502
+ {
2503
+ "additionalProperties": false,
2504
+ "type": "object",
2505
+ "required": [
2506
+ "profile",
2507
+ "schemaVersion",
2508
+ "kind",
2509
+ "admission",
2510
+ "decision",
2511
+ "evidence",
2512
+ "observedAt",
2513
+ "status",
2514
+ "replacement"
2515
+ ],
2516
+ "properties": {
2517
+ "profile": {
2518
+ "const": "dsg.organization.release/1",
2519
+ "type": "string"
2520
+ },
2521
+ "schemaVersion": {
2522
+ "const": 1,
2523
+ "type": "number"
2524
+ },
2525
+ "kind": {
2526
+ "const": "admission-status-observation",
2527
+ "type": "string"
2528
+ },
2529
+ "admission": {
2530
+ "additionalProperties": false,
2531
+ "type": "object",
2532
+ "required": ["orn", "sha256"],
2533
+ "properties": {
2534
+ "orn": {
2535
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2536
+ "type": "string"
2537
+ },
2538
+ "sha256": {
2539
+ "pattern": "^[0-9a-f]{64}$",
2540
+ "type": "string"
2541
+ }
2542
+ }
2543
+ },
2544
+ "decision": {
2545
+ "additionalProperties": false,
2546
+ "type": "object",
2547
+ "required": ["orn", "sha256"],
2548
+ "properties": {
2549
+ "orn": {
2550
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2551
+ "type": "string"
2552
+ },
2553
+ "sha256": {
2554
+ "pattern": "^[0-9a-f]{64}$",
2555
+ "type": "string"
2556
+ }
2557
+ }
2558
+ },
2559
+ "evidence": {
2560
+ "minItems": 1,
2561
+ "uniqueItems": true,
2562
+ "type": "array",
2563
+ "items": {
2564
+ "additionalProperties": false,
2565
+ "type": "object",
2566
+ "required": ["orn", "sha256"],
2567
+ "properties": {
2568
+ "orn": {
2569
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2570
+ "type": "string"
2571
+ },
2572
+ "sha256": {
2573
+ "pattern": "^[0-9a-f]{64}$",
2574
+ "type": "string"
2575
+ }
2576
+ }
2577
+ }
2578
+ },
2579
+ "observedAt": {
2580
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
2581
+ "type": "string"
2582
+ },
2583
+ "status": {
2584
+ "const": "superseded",
2585
+ "type": "string"
2586
+ },
2587
+ "replacement": {
2588
+ "additionalProperties": false,
2589
+ "type": "object",
2590
+ "required": ["orn", "sha256"],
2591
+ "properties": {
2592
+ "orn": {
2593
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2594
+ "type": "string"
2595
+ },
2596
+ "sha256": {
2597
+ "pattern": "^[0-9a-f]{64}$",
2598
+ "type": "string"
2599
+ }
2600
+ }
2601
+ }
2602
+ }
2603
+ },
2604
+ {
2605
+ "additionalProperties": false,
2606
+ "type": "object",
2607
+ "required": [
2608
+ "profile",
2609
+ "schemaVersion",
2610
+ "kind",
2611
+ "admission",
2612
+ "decision",
2613
+ "evidence",
2614
+ "observedAt",
2615
+ "status",
2616
+ "governedRevocation",
2617
+ "trustView",
2618
+ "reason"
2619
+ ],
2620
+ "properties": {
2621
+ "profile": {
2622
+ "const": "dsg.organization.release/1",
2623
+ "type": "string"
2624
+ },
2625
+ "schemaVersion": {
2626
+ "const": 1,
2627
+ "type": "number"
2628
+ },
2629
+ "kind": {
2630
+ "const": "admission-status-observation",
2631
+ "type": "string"
2632
+ },
2633
+ "admission": {
2634
+ "additionalProperties": false,
2635
+ "type": "object",
2636
+ "required": ["orn", "sha256"],
2637
+ "properties": {
2638
+ "orn": {
2639
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2640
+ "type": "string"
2641
+ },
2642
+ "sha256": {
2643
+ "pattern": "^[0-9a-f]{64}$",
2644
+ "type": "string"
2645
+ }
2646
+ }
2647
+ },
2648
+ "decision": {
2649
+ "additionalProperties": false,
2650
+ "type": "object",
2651
+ "required": ["orn", "sha256"],
2652
+ "properties": {
2653
+ "orn": {
2654
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2655
+ "type": "string"
2656
+ },
2657
+ "sha256": {
2658
+ "pattern": "^[0-9a-f]{64}$",
2659
+ "type": "string"
2660
+ }
2661
+ }
2662
+ },
2663
+ "evidence": {
2664
+ "minItems": 1,
2665
+ "uniqueItems": true,
2666
+ "type": "array",
2667
+ "items": {
2668
+ "additionalProperties": false,
2669
+ "type": "object",
2670
+ "required": ["orn", "sha256"],
2671
+ "properties": {
2672
+ "orn": {
2673
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2674
+ "type": "string"
2675
+ },
2676
+ "sha256": {
2677
+ "pattern": "^[0-9a-f]{64}$",
2678
+ "type": "string"
2679
+ }
2680
+ }
2681
+ }
2682
+ },
2683
+ "observedAt": {
2684
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
2685
+ "type": "string"
2686
+ },
2687
+ "status": {
2688
+ "const": "revoked",
2689
+ "type": "string"
2690
+ },
2691
+ "governedRevocation": {
2692
+ "additionalProperties": false,
2693
+ "type": "object",
2694
+ "required": ["orn", "sha256"],
2695
+ "properties": {
2696
+ "orn": {
2697
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2698
+ "type": "string"
2699
+ },
2700
+ "sha256": {
2701
+ "pattern": "^[0-9a-f]{64}$",
2702
+ "type": "string"
2703
+ }
2704
+ }
2705
+ },
2706
+ "trustView": {
2707
+ "additionalProperties": false,
2708
+ "type": "object",
2709
+ "required": ["orn", "sha256"],
2710
+ "properties": {
2711
+ "orn": {
2712
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2713
+ "type": "string"
2714
+ },
2715
+ "sha256": {
2716
+ "pattern": "^[0-9a-f]{64}$",
2717
+ "type": "string"
2718
+ }
2719
+ }
2720
+ },
2721
+ "reason": {
2722
+ "minLength": 1,
2723
+ "type": "string"
2724
+ }
2725
+ }
2726
+ }
2727
+ ]
2728
+ },
2729
+ "memberObservation": {
2730
+ "anyOf": [
2731
+ {
2732
+ "additionalProperties": false,
2733
+ "type": "object",
2734
+ "required": [
2735
+ "profile",
2736
+ "schemaVersion",
2737
+ "kind",
2738
+ "installation",
2739
+ "build",
2740
+ "release",
2741
+ "memberId",
2742
+ "memberKind",
2743
+ "subject",
2744
+ "evidence",
2745
+ "observedAt",
2746
+ "disposition"
2747
+ ],
2748
+ "properties": {
2749
+ "profile": {
2750
+ "const": "dsg.organization.release/1",
2751
+ "type": "string"
2752
+ },
2753
+ "schemaVersion": {
2754
+ "const": 1,
2755
+ "type": "number"
2756
+ },
2757
+ "kind": {
2758
+ "const": "member-observation",
2759
+ "type": "string"
2760
+ },
2761
+ "installation": {
2762
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2763
+ "type": "string"
2764
+ },
2765
+ "build": {
2766
+ "additionalProperties": false,
2767
+ "type": "object",
2768
+ "required": ["orn", "sha256"],
2769
+ "properties": {
2770
+ "orn": {
2771
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2772
+ "type": "string"
2773
+ },
2774
+ "sha256": {
2775
+ "pattern": "^[0-9a-f]{64}$",
2776
+ "type": "string"
2777
+ }
2778
+ }
2779
+ },
2780
+ "release": {
2781
+ "additionalProperties": false,
2782
+ "type": "object",
2783
+ "required": ["orn", "sha256"],
2784
+ "properties": {
2785
+ "orn": {
2786
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2787
+ "type": "string"
2788
+ },
2789
+ "sha256": {
2790
+ "pattern": "^[0-9a-f]{64}$",
2791
+ "type": "string"
2792
+ }
2793
+ }
2794
+ },
2795
+ "memberId": {
2796
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
2797
+ "type": "string"
2798
+ },
2799
+ "memberKind": {
2800
+ "anyOf": [
2801
+ {
2802
+ "const": "publication",
2803
+ "type": "string"
2804
+ },
2805
+ {
2806
+ "const": "import",
2807
+ "type": "string"
2808
+ },
2809
+ {
2810
+ "const": "capability-admission",
2811
+ "type": "string"
2812
+ },
2813
+ {
2814
+ "const": "workflow-publication",
2815
+ "type": "string"
2816
+ },
2817
+ {
2818
+ "const": "contract-check",
2819
+ "type": "string"
2820
+ },
2821
+ {
2822
+ "const": "target-readiness",
2823
+ "type": "string"
2824
+ },
2825
+ {
2826
+ "const": "setup-condition",
2827
+ "type": "string"
2828
+ },
2829
+ {
2830
+ "const": "paid-execution-readiness",
2831
+ "type": "string"
2832
+ }
2833
+ ]
2834
+ },
2835
+ "subject": {
2836
+ "additionalProperties": false,
2837
+ "type": "object",
2838
+ "required": ["orn", "sha256"],
2839
+ "properties": {
2840
+ "orn": {
2841
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2842
+ "type": "string"
2843
+ },
2844
+ "sha256": {
2845
+ "pattern": "^[0-9a-f]{64}$",
2846
+ "type": "string"
2847
+ }
2848
+ }
2849
+ },
2850
+ "evidence": {
2851
+ "minItems": 1,
2852
+ "uniqueItems": true,
2853
+ "type": "array",
2854
+ "items": {
2855
+ "additionalProperties": false,
2856
+ "type": "object",
2857
+ "required": ["orn", "sha256"],
2858
+ "properties": {
2859
+ "orn": {
2860
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2861
+ "type": "string"
2862
+ },
2863
+ "sha256": {
2864
+ "pattern": "^[0-9a-f]{64}$",
2865
+ "type": "string"
2866
+ }
2867
+ }
2868
+ }
2869
+ },
2870
+ "observedAt": {
2871
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
2872
+ "type": "string"
2873
+ },
2874
+ "disposition": {
2875
+ "anyOf": [
2876
+ {
2877
+ "const": "ready",
2878
+ "type": "string"
2879
+ },
2880
+ {
2881
+ "const": "verified",
2882
+ "type": "string"
2883
+ }
2884
+ ]
2885
+ }
2886
+ }
2887
+ },
2888
+ {
2889
+ "additionalProperties": false,
2890
+ "type": "object",
2891
+ "required": [
2892
+ "profile",
2893
+ "schemaVersion",
2894
+ "kind",
2895
+ "installation",
2896
+ "build",
2897
+ "release",
2898
+ "memberId",
2899
+ "memberKind",
2900
+ "subject",
2901
+ "evidence",
2902
+ "observedAt",
2903
+ "disposition",
2904
+ "reason"
2905
+ ],
2906
+ "properties": {
2907
+ "profile": {
2908
+ "const": "dsg.organization.release/1",
2909
+ "type": "string"
2910
+ },
2911
+ "schemaVersion": {
2912
+ "const": 1,
2913
+ "type": "number"
2914
+ },
2915
+ "kind": {
2916
+ "const": "member-observation",
2917
+ "type": "string"
2918
+ },
2919
+ "installation": {
2920
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2921
+ "type": "string"
2922
+ },
2923
+ "build": {
2924
+ "additionalProperties": false,
2925
+ "type": "object",
2926
+ "required": ["orn", "sha256"],
2927
+ "properties": {
2928
+ "orn": {
2929
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2930
+ "type": "string"
2931
+ },
2932
+ "sha256": {
2933
+ "pattern": "^[0-9a-f]{64}$",
2934
+ "type": "string"
2935
+ }
2936
+ }
2937
+ },
2938
+ "release": {
2939
+ "additionalProperties": false,
2940
+ "type": "object",
2941
+ "required": ["orn", "sha256"],
2942
+ "properties": {
2943
+ "orn": {
2944
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
2945
+ "type": "string"
2946
+ },
2947
+ "sha256": {
2948
+ "pattern": "^[0-9a-f]{64}$",
2949
+ "type": "string"
2950
+ }
2951
+ }
2952
+ },
2953
+ "memberId": {
2954
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
2955
+ "type": "string"
2956
+ },
2957
+ "memberKind": {
2958
+ "anyOf": [
2959
+ {
2960
+ "const": "publication",
2961
+ "type": "string"
2962
+ },
2963
+ {
2964
+ "const": "import",
2965
+ "type": "string"
2966
+ },
2967
+ {
2968
+ "const": "capability-admission",
2969
+ "type": "string"
2970
+ },
2971
+ {
2972
+ "const": "workflow-publication",
2973
+ "type": "string"
2974
+ },
2975
+ {
2976
+ "const": "contract-check",
2977
+ "type": "string"
2978
+ },
2979
+ {
2980
+ "const": "target-readiness",
2981
+ "type": "string"
2982
+ },
2983
+ {
2984
+ "const": "setup-condition",
2985
+ "type": "string"
2986
+ },
2987
+ {
2988
+ "const": "paid-execution-readiness",
2989
+ "type": "string"
2990
+ }
2991
+ ]
2992
+ },
2993
+ "subject": {
2994
+ "additionalProperties": false,
2995
+ "type": "object",
2996
+ "required": ["orn", "sha256"],
2997
+ "properties": {
2998
+ "orn": {
2999
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3000
+ "type": "string"
3001
+ },
3002
+ "sha256": {
3003
+ "pattern": "^[0-9a-f]{64}$",
3004
+ "type": "string"
3005
+ }
3006
+ }
3007
+ },
3008
+ "evidence": {
3009
+ "minItems": 1,
3010
+ "uniqueItems": true,
3011
+ "type": "array",
3012
+ "items": {
3013
+ "additionalProperties": false,
3014
+ "type": "object",
3015
+ "required": ["orn", "sha256"],
3016
+ "properties": {
3017
+ "orn": {
3018
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3019
+ "type": "string"
3020
+ },
3021
+ "sha256": {
3022
+ "pattern": "^[0-9a-f]{64}$",
3023
+ "type": "string"
3024
+ }
3025
+ }
3026
+ }
3027
+ },
3028
+ "observedAt": {
3029
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
3030
+ "type": "string"
3031
+ },
3032
+ "disposition": {
3033
+ "anyOf": [
3034
+ {
3035
+ "const": "refused",
3036
+ "type": "string"
3037
+ },
3038
+ {
3039
+ "const": "suspended",
3040
+ "type": "string"
3041
+ },
3042
+ {
3043
+ "const": "revoked",
3044
+ "type": "string"
3045
+ }
3046
+ ]
3047
+ },
3048
+ "reason": {
3049
+ "minLength": 1,
3050
+ "type": "string"
3051
+ }
3052
+ }
3053
+ }
3054
+ ]
3055
+ },
3056
+ "activeSet": {
3057
+ "additionalProperties": false,
3058
+ "type": "object",
3059
+ "required": [
3060
+ "profile",
3061
+ "schemaVersion",
3062
+ "kind",
3063
+ "installation",
3064
+ "organization",
3065
+ "release",
3066
+ "build",
3067
+ "predecessor",
3068
+ "members",
3069
+ "memberObservations",
3070
+ "policies",
3071
+ "configuration",
3072
+ "activatingCase",
3073
+ "authority",
3074
+ "activatingDecision",
3075
+ "fence",
3076
+ "revision",
3077
+ "activatedAt"
3078
+ ],
3079
+ "properties": {
3080
+ "profile": {
3081
+ "const": "dsg.organization.release/1",
3082
+ "type": "string"
3083
+ },
3084
+ "schemaVersion": {
3085
+ "const": 1,
3086
+ "type": "number"
3087
+ },
3088
+ "kind": {
3089
+ "const": "active-set",
3090
+ "type": "string"
3091
+ },
3092
+ "installation": {
3093
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3094
+ "type": "string"
3095
+ },
3096
+ "organization": {
3097
+ "minLength": 1,
3098
+ "type": "string"
3099
+ },
3100
+ "release": {
3101
+ "additionalProperties": false,
3102
+ "type": "object",
3103
+ "required": ["orn", "sha256"],
3104
+ "properties": {
3105
+ "orn": {
3106
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3107
+ "type": "string"
3108
+ },
3109
+ "sha256": {
3110
+ "pattern": "^[0-9a-f]{64}$",
3111
+ "type": "string"
3112
+ }
3113
+ }
3114
+ },
3115
+ "build": {
3116
+ "additionalProperties": false,
3117
+ "type": "object",
3118
+ "required": ["orn", "sha256"],
3119
+ "properties": {
3120
+ "orn": {
3121
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3122
+ "type": "string"
3123
+ },
3124
+ "sha256": {
3125
+ "pattern": "^[0-9a-f]{64}$",
3126
+ "type": "string"
3127
+ }
3128
+ }
3129
+ },
3130
+ "predecessor": {
3131
+ "anyOf": [
3132
+ {
3133
+ "additionalProperties": false,
3134
+ "type": "object",
3135
+ "required": ["orn", "sha256"],
3136
+ "properties": {
3137
+ "orn": {
3138
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3139
+ "type": "string"
3140
+ },
3141
+ "sha256": {
3142
+ "pattern": "^[0-9a-f]{64}$",
3143
+ "type": "string"
3144
+ }
3145
+ }
3146
+ },
3147
+ {
3148
+ "type": "null"
3149
+ }
3150
+ ]
3151
+ },
3152
+ "members": {
3153
+ "uniqueItems": true,
3154
+ "type": "array",
3155
+ "items": {
3156
+ "additionalProperties": false,
3157
+ "type": "object",
3158
+ "required": ["selectionId", "memberId", "extensionRelease", "components", "admission"],
3159
+ "properties": {
3160
+ "selectionId": {
3161
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
3162
+ "type": "string"
3163
+ },
3164
+ "memberId": {
3165
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
3166
+ "type": "string"
3167
+ },
3168
+ "extensionRelease": {
3169
+ "additionalProperties": false,
3170
+ "type": "object",
3171
+ "required": ["orn", "sha256"],
3172
+ "properties": {
3173
+ "orn": {
3174
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3175
+ "type": "string"
3176
+ },
3177
+ "sha256": {
3178
+ "pattern": "^[0-9a-f]{64}$",
3179
+ "type": "string"
3180
+ }
3181
+ }
3182
+ },
3183
+ "components": {
3184
+ "minItems": 1,
3185
+ "uniqueItems": true,
3186
+ "type": "array",
3187
+ "items": {
3188
+ "additionalProperties": false,
3189
+ "type": "object",
3190
+ "required": ["id", "kind", "reference"],
3191
+ "properties": {
3192
+ "id": {
3193
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
3194
+ "type": "string"
3195
+ },
3196
+ "kind": {
3197
+ "anyOf": [
3198
+ {
3199
+ "const": "workflow",
3200
+ "type": "string"
3201
+ },
3202
+ {
3203
+ "const": "example",
3204
+ "type": "string"
3205
+ },
3206
+ {
3207
+ "const": "contract",
3208
+ "type": "string"
3209
+ },
3210
+ {
3211
+ "const": "job-class",
3212
+ "type": "string"
3213
+ },
3214
+ {
3215
+ "const": "workload-artifact",
3216
+ "type": "string"
3217
+ },
3218
+ {
3219
+ "const": "event-catalog",
3220
+ "type": "string"
3221
+ },
3222
+ {
3223
+ "const": "connector",
3224
+ "type": "string"
3225
+ },
3226
+ {
3227
+ "const": "module",
3228
+ "type": "string"
3229
+ },
3230
+ {
3231
+ "const": "check",
3232
+ "type": "string"
3233
+ },
3234
+ {
3235
+ "const": "vocabulary",
3236
+ "type": "string"
3237
+ },
3238
+ {
3239
+ "const": "assurance",
3240
+ "type": "string"
3241
+ },
3242
+ {
3243
+ "const": "documentation",
3244
+ "type": "string"
3245
+ }
3246
+ ]
3247
+ },
3248
+ "reference": {
3249
+ "additionalProperties": false,
3250
+ "type": "object",
3251
+ "required": ["orn", "sha256"],
3252
+ "properties": {
3253
+ "orn": {
3254
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3255
+ "type": "string"
3256
+ },
3257
+ "sha256": {
3258
+ "pattern": "^[0-9a-f]{64}$",
3259
+ "type": "string"
3260
+ }
3261
+ }
3262
+ }
3263
+ }
3264
+ }
3265
+ },
3266
+ "admission": {
3267
+ "additionalProperties": false,
3268
+ "type": "object",
3269
+ "required": ["orn", "sha256"],
3270
+ "properties": {
3271
+ "orn": {
3272
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3273
+ "type": "string"
3274
+ },
3275
+ "sha256": {
3276
+ "pattern": "^[0-9a-f]{64}$",
3277
+ "type": "string"
3278
+ }
3279
+ }
3280
+ }
3281
+ }
3282
+ }
3283
+ },
3284
+ "memberObservations": {
3285
+ "minItems": 1,
3286
+ "uniqueItems": true,
3287
+ "type": "array",
3288
+ "items": {
3289
+ "additionalProperties": false,
3290
+ "type": "object",
3291
+ "required": ["orn", "sha256"],
3292
+ "properties": {
3293
+ "orn": {
3294
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3295
+ "type": "string"
3296
+ },
3297
+ "sha256": {
3298
+ "pattern": "^[0-9a-f]{64}$",
3299
+ "type": "string"
3300
+ }
3301
+ }
3302
+ }
3303
+ },
3304
+ "policies": {
3305
+ "uniqueItems": true,
3306
+ "type": "array",
3307
+ "items": {
3308
+ "additionalProperties": false,
3309
+ "type": "object",
3310
+ "required": ["orn", "sha256"],
3311
+ "properties": {
3312
+ "orn": {
3313
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3314
+ "type": "string"
3315
+ },
3316
+ "sha256": {
3317
+ "pattern": "^[0-9a-f]{64}$",
3318
+ "type": "string"
3319
+ }
3320
+ }
3321
+ }
3322
+ },
3323
+ "configuration": {
3324
+ "uniqueItems": true,
3325
+ "type": "array",
3326
+ "items": {
3327
+ "additionalProperties": false,
3328
+ "type": "object",
3329
+ "required": ["orn", "sha256"],
3330
+ "properties": {
3331
+ "orn": {
3332
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3333
+ "type": "string"
3334
+ },
3335
+ "sha256": {
3336
+ "pattern": "^[0-9a-f]{64}$",
3337
+ "type": "string"
3338
+ }
3339
+ }
3340
+ }
3341
+ },
3342
+ "activatingCase": {
3343
+ "additionalProperties": false,
3344
+ "type": "object",
3345
+ "required": ["orn", "sha256"],
3346
+ "properties": {
3347
+ "orn": {
3348
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3349
+ "type": "string"
3350
+ },
3351
+ "sha256": {
3352
+ "pattern": "^[0-9a-f]{64}$",
3353
+ "type": "string"
3354
+ }
3355
+ }
3356
+ },
3357
+ "authority": {
3358
+ "additionalProperties": false,
3359
+ "type": "object",
3360
+ "required": ["orn", "sha256"],
3361
+ "properties": {
3362
+ "orn": {
3363
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3364
+ "type": "string"
3365
+ },
3366
+ "sha256": {
3367
+ "pattern": "^[0-9a-f]{64}$",
3368
+ "type": "string"
3369
+ }
3370
+ }
3371
+ },
3372
+ "activatingDecision": {
3373
+ "additionalProperties": false,
3374
+ "type": "object",
3375
+ "required": ["orn", "sha256"],
3376
+ "properties": {
3377
+ "orn": {
3378
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3379
+ "type": "string"
3380
+ },
3381
+ "sha256": {
3382
+ "pattern": "^[0-9a-f]{64}$",
3383
+ "type": "string"
3384
+ }
3385
+ }
3386
+ },
3387
+ "fence": {
3388
+ "additionalProperties": false,
3389
+ "type": "object",
3390
+ "required": ["orn", "sha256"],
3391
+ "properties": {
3392
+ "orn": {
3393
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3394
+ "type": "string"
3395
+ },
3396
+ "sha256": {
3397
+ "pattern": "^[0-9a-f]{64}$",
3398
+ "type": "string"
3399
+ }
3400
+ }
3401
+ },
3402
+ "revision": {
3403
+ "minimum": 0,
3404
+ "maximum": 9007199254740991,
3405
+ "type": "integer"
3406
+ },
3407
+ "activatedAt": {
3408
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
3409
+ "type": "string"
3410
+ }
3411
+ }
3412
+ },
3413
+ "catalog": {
3414
+ "additionalProperties": false,
3415
+ "type": "object",
3416
+ "required": ["profile", "schemaVersion", "kind", "activeSet", "entries"],
3417
+ "properties": {
3418
+ "profile": {
3419
+ "const": "dsg.organization.release/1",
3420
+ "type": "string"
3421
+ },
3422
+ "schemaVersion": {
3423
+ "const": 1,
3424
+ "type": "number"
3425
+ },
3426
+ "kind": {
3427
+ "const": "catalog",
3428
+ "type": "string"
3429
+ },
3430
+ "activeSet": {
3431
+ "additionalProperties": false,
3432
+ "type": "object",
3433
+ "required": ["orn", "sha256"],
3434
+ "properties": {
3435
+ "orn": {
3436
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3437
+ "type": "string"
3438
+ },
3439
+ "sha256": {
3440
+ "pattern": "^[0-9a-f]{64}$",
3441
+ "type": "string"
3442
+ }
3443
+ }
3444
+ },
3445
+ "entries": {
3446
+ "uniqueItems": true,
3447
+ "type": "array",
3448
+ "items": {
3449
+ "anyOf": [
3450
+ {
3451
+ "additionalProperties": false,
3452
+ "type": "object",
3453
+ "required": [
3454
+ "id",
3455
+ "activeSet",
3456
+ "selectionId",
3457
+ "memberId",
3458
+ "extensionRelease",
3459
+ "workflow",
3460
+ "example",
3461
+ "jobClass",
3462
+ "workloadArtifact",
3463
+ "contracts",
3464
+ "availabilityEvidence",
3465
+ "availability"
3466
+ ],
3467
+ "properties": {
3468
+ "id": {
3469
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
3470
+ "type": "string"
3471
+ },
3472
+ "activeSet": {
3473
+ "additionalProperties": false,
3474
+ "type": "object",
3475
+ "required": ["orn", "sha256"],
3476
+ "properties": {
3477
+ "orn": {
3478
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3479
+ "type": "string"
3480
+ },
3481
+ "sha256": {
3482
+ "pattern": "^[0-9a-f]{64}$",
3483
+ "type": "string"
3484
+ }
3485
+ }
3486
+ },
3487
+ "selectionId": {
3488
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
3489
+ "type": "string"
3490
+ },
3491
+ "memberId": {
3492
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
3493
+ "type": "string"
3494
+ },
3495
+ "extensionRelease": {
3496
+ "additionalProperties": false,
3497
+ "type": "object",
3498
+ "required": ["orn", "sha256"],
3499
+ "properties": {
3500
+ "orn": {
3501
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3502
+ "type": "string"
3503
+ },
3504
+ "sha256": {
3505
+ "pattern": "^[0-9a-f]{64}$",
3506
+ "type": "string"
3507
+ }
3508
+ }
3509
+ },
3510
+ "workflow": {
3511
+ "additionalProperties": false,
3512
+ "type": "object",
3513
+ "required": ["orn", "sha256"],
3514
+ "properties": {
3515
+ "orn": {
3516
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3517
+ "type": "string"
3518
+ },
3519
+ "sha256": {
3520
+ "pattern": "^[0-9a-f]{64}$",
3521
+ "type": "string"
3522
+ }
3523
+ }
3524
+ },
3525
+ "example": {
3526
+ "anyOf": [
3527
+ {
3528
+ "additionalProperties": false,
3529
+ "type": "object",
3530
+ "required": ["orn", "sha256"],
3531
+ "properties": {
3532
+ "orn": {
3533
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3534
+ "type": "string"
3535
+ },
3536
+ "sha256": {
3537
+ "pattern": "^[0-9a-f]{64}$",
3538
+ "type": "string"
3539
+ }
3540
+ }
3541
+ },
3542
+ {
3543
+ "type": "null"
3544
+ }
3545
+ ]
3546
+ },
3547
+ "jobClass": {
3548
+ "anyOf": [
3549
+ {
3550
+ "additionalProperties": false,
3551
+ "type": "object",
3552
+ "required": ["orn", "sha256"],
3553
+ "properties": {
3554
+ "orn": {
3555
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3556
+ "type": "string"
3557
+ },
3558
+ "sha256": {
3559
+ "pattern": "^[0-9a-f]{64}$",
3560
+ "type": "string"
3561
+ }
3562
+ }
3563
+ },
3564
+ {
3565
+ "type": "null"
3566
+ }
3567
+ ]
3568
+ },
3569
+ "workloadArtifact": {
3570
+ "anyOf": [
3571
+ {
3572
+ "additionalProperties": false,
3573
+ "type": "object",
3574
+ "required": ["orn", "sha256"],
3575
+ "properties": {
3576
+ "orn": {
3577
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3578
+ "type": "string"
3579
+ },
3580
+ "sha256": {
3581
+ "pattern": "^[0-9a-f]{64}$",
3582
+ "type": "string"
3583
+ }
3584
+ }
3585
+ },
3586
+ {
3587
+ "type": "null"
3588
+ }
3589
+ ]
3590
+ },
3591
+ "contracts": {
3592
+ "uniqueItems": true,
3593
+ "type": "array",
3594
+ "items": {
3595
+ "additionalProperties": false,
3596
+ "type": "object",
3597
+ "required": ["orn", "sha256"],
3598
+ "properties": {
3599
+ "orn": {
3600
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3601
+ "type": "string"
3602
+ },
3603
+ "sha256": {
3604
+ "pattern": "^[0-9a-f]{64}$",
3605
+ "type": "string"
3606
+ }
3607
+ }
3608
+ }
3609
+ },
3610
+ "availabilityEvidence": {
3611
+ "minItems": 1,
3612
+ "uniqueItems": true,
3613
+ "type": "array",
3614
+ "items": {
3615
+ "additionalProperties": false,
3616
+ "type": "object",
3617
+ "required": ["orn", "sha256"],
3618
+ "properties": {
3619
+ "orn": {
3620
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3621
+ "type": "string"
3622
+ },
3623
+ "sha256": {
3624
+ "pattern": "^[0-9a-f]{64}$",
3625
+ "type": "string"
3626
+ }
3627
+ }
3628
+ }
3629
+ },
3630
+ "availability": {
3631
+ "const": "available",
3632
+ "type": "string"
3633
+ }
3634
+ }
3635
+ },
3636
+ {
3637
+ "additionalProperties": false,
3638
+ "type": "object",
3639
+ "required": [
3640
+ "id",
3641
+ "activeSet",
3642
+ "selectionId",
3643
+ "memberId",
3644
+ "extensionRelease",
3645
+ "workflow",
3646
+ "example",
3647
+ "jobClass",
3648
+ "workloadArtifact",
3649
+ "contracts",
3650
+ "availabilityEvidence",
3651
+ "availability",
3652
+ "unavailableReason"
3653
+ ],
3654
+ "properties": {
3655
+ "id": {
3656
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
3657
+ "type": "string"
3658
+ },
3659
+ "activeSet": {
3660
+ "additionalProperties": false,
3661
+ "type": "object",
3662
+ "required": ["orn", "sha256"],
3663
+ "properties": {
3664
+ "orn": {
3665
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3666
+ "type": "string"
3667
+ },
3668
+ "sha256": {
3669
+ "pattern": "^[0-9a-f]{64}$",
3670
+ "type": "string"
3671
+ }
3672
+ }
3673
+ },
3674
+ "selectionId": {
3675
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
3676
+ "type": "string"
3677
+ },
3678
+ "memberId": {
3679
+ "pattern": "^[a-z][a-z0-9-]*(?:[.-][a-z0-9]+)*$",
3680
+ "type": "string"
3681
+ },
3682
+ "extensionRelease": {
3683
+ "additionalProperties": false,
3684
+ "type": "object",
3685
+ "required": ["orn", "sha256"],
3686
+ "properties": {
3687
+ "orn": {
3688
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3689
+ "type": "string"
3690
+ },
3691
+ "sha256": {
3692
+ "pattern": "^[0-9a-f]{64}$",
3693
+ "type": "string"
3694
+ }
3695
+ }
3696
+ },
3697
+ "workflow": {
3698
+ "additionalProperties": false,
3699
+ "type": "object",
3700
+ "required": ["orn", "sha256"],
3701
+ "properties": {
3702
+ "orn": {
3703
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3704
+ "type": "string"
3705
+ },
3706
+ "sha256": {
3707
+ "pattern": "^[0-9a-f]{64}$",
3708
+ "type": "string"
3709
+ }
3710
+ }
3711
+ },
3712
+ "example": {
3713
+ "anyOf": [
3714
+ {
3715
+ "additionalProperties": false,
3716
+ "type": "object",
3717
+ "required": ["orn", "sha256"],
3718
+ "properties": {
3719
+ "orn": {
3720
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3721
+ "type": "string"
3722
+ },
3723
+ "sha256": {
3724
+ "pattern": "^[0-9a-f]{64}$",
3725
+ "type": "string"
3726
+ }
3727
+ }
3728
+ },
3729
+ {
3730
+ "type": "null"
3731
+ }
3732
+ ]
3733
+ },
3734
+ "jobClass": {
3735
+ "anyOf": [
3736
+ {
3737
+ "additionalProperties": false,
3738
+ "type": "object",
3739
+ "required": ["orn", "sha256"],
3740
+ "properties": {
3741
+ "orn": {
3742
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3743
+ "type": "string"
3744
+ },
3745
+ "sha256": {
3746
+ "pattern": "^[0-9a-f]{64}$",
3747
+ "type": "string"
3748
+ }
3749
+ }
3750
+ },
3751
+ {
3752
+ "type": "null"
3753
+ }
3754
+ ]
3755
+ },
3756
+ "workloadArtifact": {
3757
+ "anyOf": [
3758
+ {
3759
+ "additionalProperties": false,
3760
+ "type": "object",
3761
+ "required": ["orn", "sha256"],
3762
+ "properties": {
3763
+ "orn": {
3764
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3765
+ "type": "string"
3766
+ },
3767
+ "sha256": {
3768
+ "pattern": "^[0-9a-f]{64}$",
3769
+ "type": "string"
3770
+ }
3771
+ }
3772
+ },
3773
+ {
3774
+ "type": "null"
3775
+ }
3776
+ ]
3777
+ },
3778
+ "contracts": {
3779
+ "uniqueItems": true,
3780
+ "type": "array",
3781
+ "items": {
3782
+ "additionalProperties": false,
3783
+ "type": "object",
3784
+ "required": ["orn", "sha256"],
3785
+ "properties": {
3786
+ "orn": {
3787
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3788
+ "type": "string"
3789
+ },
3790
+ "sha256": {
3791
+ "pattern": "^[0-9a-f]{64}$",
3792
+ "type": "string"
3793
+ }
3794
+ }
3795
+ }
3796
+ },
3797
+ "availabilityEvidence": {
3798
+ "minItems": 1,
3799
+ "uniqueItems": true,
3800
+ "type": "array",
3801
+ "items": {
3802
+ "additionalProperties": false,
3803
+ "type": "object",
3804
+ "required": ["orn", "sha256"],
3805
+ "properties": {
3806
+ "orn": {
3807
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3808
+ "type": "string"
3809
+ },
3810
+ "sha256": {
3811
+ "pattern": "^[0-9a-f]{64}$",
3812
+ "type": "string"
3813
+ }
3814
+ }
3815
+ }
3816
+ },
3817
+ "availability": {
3818
+ "const": "unavailable",
3819
+ "type": "string"
3820
+ },
3821
+ "unavailableReason": {
3822
+ "minLength": 1,
3823
+ "type": "string"
3824
+ }
3825
+ }
3826
+ }
3827
+ ]
3828
+ }
3829
+ }
3830
+ }
3831
+ },
3832
+ "boundAttestation": {
3833
+ "additionalProperties": false,
3834
+ "type": "object",
3835
+ "required": [
3836
+ "profile",
3837
+ "schemaVersion",
3838
+ "kind",
3839
+ "subject",
3840
+ "issuer",
3841
+ "evidence",
3842
+ "verification",
3843
+ "observedAt",
3844
+ "signature"
3845
+ ],
3846
+ "properties": {
3847
+ "profile": {
3848
+ "const": "dsg.organization.release/1",
3849
+ "type": "string"
3850
+ },
3851
+ "schemaVersion": {
3852
+ "const": 1,
3853
+ "type": "number"
3854
+ },
3855
+ "kind": {
3856
+ "const": "bound-attestation",
3857
+ "type": "string"
3858
+ },
3859
+ "subject": {
3860
+ "additionalProperties": false,
3861
+ "type": "object",
3862
+ "required": ["orn", "sha256"],
3863
+ "properties": {
3864
+ "orn": {
3865
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3866
+ "type": "string"
3867
+ },
3868
+ "sha256": {
3869
+ "pattern": "^[0-9a-f]{64}$",
3870
+ "type": "string"
3871
+ }
3872
+ }
3873
+ },
3874
+ "issuer": {
3875
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3876
+ "type": "string"
3877
+ },
3878
+ "evidence": {
3879
+ "additionalProperties": false,
3880
+ "type": "object",
3881
+ "required": ["orn", "sha256"],
3882
+ "properties": {
3883
+ "orn": {
3884
+ "pattern": "^orn:[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*){3}:(?:[A-Za-z0-9\\-._~:/@]|%[0-9A-Fa-f]{2})+$",
3885
+ "type": "string"
3886
+ },
3887
+ "sha256": {
3888
+ "pattern": "^[0-9a-f]{64}$",
3889
+ "type": "string"
3890
+ }
3891
+ }
3892
+ },
3893
+ "verification": {
3894
+ "anyOf": [
3895
+ {
3896
+ "const": "publisher-signature",
3897
+ "type": "string"
3898
+ },
3899
+ {
3900
+ "const": "registry-recognition",
3901
+ "type": "string"
3902
+ },
3903
+ {
3904
+ "const": "source-provenance",
3905
+ "type": "string"
3906
+ },
3907
+ {
3908
+ "const": "component-digest",
3909
+ "type": "string"
3910
+ }
3911
+ ]
3912
+ },
3913
+ "observedAt": {
3914
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$",
3915
+ "type": "string"
3916
+ },
3917
+ "signature": {
3918
+ "minLength": 1,
3919
+ "type": "string"
3920
+ }
3921
+ }
3922
+ }
3923
+ }
3924
+ }