@inf-monkeys-tech/monkeys 1.1.71 → 1.1.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/lib/contracts/declarative-control-http.d.ts +54 -0
  2. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  3. package/lib/contracts/declarative-control-http.js +9 -0
  4. package/lib/contracts/declarative-control-http.js.map +1 -1
  5. package/lib/contracts/declarative-document-import.d.ts +51 -0
  6. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  7. package/lib/contracts/declarative-document-import.js +6 -0
  8. package/lib/contracts/declarative-document-import.js.map +1 -1
  9. package/lib/contracts/declarative-page-delivery.d.ts +145 -0
  10. package/lib/contracts/declarative-page-delivery.d.ts.map +1 -0
  11. package/lib/contracts/declarative-page-delivery.js +164 -0
  12. package/lib/contracts/declarative-page-delivery.js.map +1 -0
  13. package/lib/contracts/declarative-publication-health.d.ts +1061 -0
  14. package/lib/contracts/declarative-publication-health.d.ts.map +1 -0
  15. package/lib/contracts/declarative-publication-health.js +148 -0
  16. package/lib/contracts/declarative-publication-health.js.map +1 -0
  17. package/lib/contracts/declarative-publication-job.d.ts +51 -0
  18. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  19. package/lib/contracts/declarative-publication-verification.d.ts +6 -0
  20. package/lib/contracts/declarative-publication-verification.d.ts.map +1 -1
  21. package/lib/contracts/declarative-publication-verification.js +5 -0
  22. package/lib/contracts/declarative-publication-verification.js.map +1 -1
  23. package/lib/contracts/index.d.ts +2 -0
  24. package/lib/contracts/index.d.ts.map +1 -1
  25. package/lib/contracts/index.js +2 -0
  26. package/lib/contracts/index.js.map +1 -1
  27. package/lib/esm/{chunk-75IO3EKE.mjs → chunk-DOQFYTAY.mjs} +16 -2
  28. package/lib/esm/chunk-DOQFYTAY.mjs.map +1 -0
  29. package/lib/esm/{chunk-DWQNEXK3.mjs → chunk-EMRIN6FD.mjs} +2 -2
  30. package/lib/esm/{chunk-JEAEX7QG.mjs → chunk-GAAD4RFK.mjs} +324 -3
  31. package/lib/esm/chunk-GAAD4RFK.mjs.map +1 -0
  32. package/lib/esm/{chunk-TKVCHO6V.mjs → chunk-HFNPLMKA.mjs} +2013 -1739
  33. package/lib/esm/chunk-HFNPLMKA.mjs.map +1 -0
  34. package/lib/esm/contracts/index.mjs +34 -2
  35. package/lib/esm/index.mjs +42 -4
  36. package/lib/esm/index.mjs.map +1 -1
  37. package/lib/esm/runtime/index.mjs +9 -3
  38. package/lib/esm/schemas/index.mjs +2 -2
  39. package/lib/json-schema/declarative-page-overlay.schema.json +184 -0
  40. package/lib/json-schema/declarative-page-package.schema.json +73 -0
  41. package/lib/json-schema/declarative-page-rendering.schema.json +239 -0
  42. package/lib/json-schema/declarative-publication-last-known-good-result.schema.json +675 -0
  43. package/lib/json-schema/declarative-publication-last-known-good.schema.json +651 -0
  44. package/lib/json-schema/declarative-publication-record-result.schema.json +1138 -0
  45. package/lib/json-schema/declarative-publication-recovery-result.schema.json +1775 -0
  46. package/lib/json-schema/declarative-publication-verification.schema.json +11 -0
  47. package/lib/json-schema/index.json +7 -0
  48. package/lib/runtime/declarative-page-delivery.d.ts +41 -0
  49. package/lib/runtime/declarative-page-delivery.d.ts.map +1 -0
  50. package/lib/runtime/declarative-page-delivery.js +270 -0
  51. package/lib/runtime/declarative-page-delivery.js.map +1 -0
  52. package/lib/runtime/index.d.ts +1 -0
  53. package/lib/runtime/index.d.ts.map +1 -1
  54. package/lib/runtime/index.js +1 -0
  55. package/lib/runtime/index.js.map +1 -1
  56. package/lib/schemas/index.d.ts +227 -0
  57. package/lib/schemas/index.d.ts.map +1 -1
  58. package/lib/schemas/index.js +9 -0
  59. package/lib/schemas/index.js.map +1 -1
  60. package/package.json +2 -2
  61. package/lib/esm/chunk-75IO3EKE.mjs.map +0 -1
  62. package/lib/esm/chunk-JEAEX7QG.mjs.map +0 -1
  63. package/lib/esm/chunk-TKVCHO6V.mjs.map +0 -1
  64. /package/lib/esm/{chunk-DWQNEXK3.mjs.map → chunk-EMRIN6FD.mjs.map} +0 -0
@@ -0,0 +1,1775 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "status": {
6
+ "type": "string",
7
+ "enum": [
8
+ "not-needed",
9
+ "unavailable",
10
+ "observing",
11
+ "blocked",
12
+ "recovered",
13
+ "rolled-back-unverified"
14
+ ]
15
+ },
16
+ "verification": {
17
+ "type": "object",
18
+ "properties": {
19
+ "contract": {
20
+ "type": "string",
21
+ "const": "DeclarativePublicationVerification"
22
+ },
23
+ "schemaVersion": {
24
+ "type": "number",
25
+ "const": 1
26
+ },
27
+ "resourceKind": {
28
+ "type": "string",
29
+ "enum": [
30
+ "page",
31
+ "navigation",
32
+ "workbench"
33
+ ]
34
+ },
35
+ "resourceId": {
36
+ "type": "string",
37
+ "minLength": 1,
38
+ "maxLength": 256
39
+ },
40
+ "scope": {
41
+ "anyOf": [
42
+ {
43
+ "type": "object",
44
+ "properties": {
45
+ "kind": {
46
+ "type": "string",
47
+ "const": "global"
48
+ }
49
+ },
50
+ "required": [
51
+ "kind"
52
+ ],
53
+ "additionalProperties": false
54
+ },
55
+ {
56
+ "type": "object",
57
+ "properties": {
58
+ "kind": {
59
+ "type": "string",
60
+ "const": "team"
61
+ },
62
+ "teamId": {
63
+ "type": "string",
64
+ "minLength": 1,
65
+ "maxLength": 256
66
+ }
67
+ },
68
+ "required": [
69
+ "kind",
70
+ "teamId"
71
+ ],
72
+ "additionalProperties": false
73
+ }
74
+ ]
75
+ },
76
+ "publication": {
77
+ "type": "string",
78
+ "enum": [
79
+ "committed",
80
+ "unknown"
81
+ ]
82
+ },
83
+ "activation": {
84
+ "type": "string",
85
+ "enum": [
86
+ "active",
87
+ "superseded",
88
+ "deactivated",
89
+ "unavailable"
90
+ ]
91
+ },
92
+ "integrity": {
93
+ "type": "string",
94
+ "enum": [
95
+ "verified",
96
+ "unverified",
97
+ "failed"
98
+ ]
99
+ },
100
+ "runtime": {
101
+ "type": "string",
102
+ "enum": [
103
+ "not-requested",
104
+ "verified",
105
+ "context-required",
106
+ "forbidden",
107
+ "failed"
108
+ ]
109
+ },
110
+ "dataProbe": {
111
+ "default": "not-requested",
112
+ "type": "string",
113
+ "enum": [
114
+ "not-requested",
115
+ "verified",
116
+ "skipped",
117
+ "failed"
118
+ ]
119
+ },
120
+ "retryable": {
121
+ "default": false,
122
+ "type": "boolean"
123
+ },
124
+ "releaseRevisionRef": {
125
+ "type": "object",
126
+ "properties": {
127
+ "kind": {
128
+ "type": "string",
129
+ "minLength": 1,
130
+ "maxLength": 256
131
+ },
132
+ "id": {
133
+ "type": "string",
134
+ "minLength": 1,
135
+ "maxLength": 256
136
+ },
137
+ "ownerRepo": {
138
+ "type": "string",
139
+ "minLength": 1,
140
+ "maxLength": 256
141
+ },
142
+ "visibility": {
143
+ "type": "string",
144
+ "enum": [
145
+ "tenant",
146
+ "global",
147
+ "public"
148
+ ]
149
+ },
150
+ "tenantScope": {
151
+ "type": "object",
152
+ "properties": {
153
+ "tenantRef": {
154
+ "type": "object",
155
+ "properties": {
156
+ "kind": {
157
+ "type": "string",
158
+ "minLength": 1,
159
+ "maxLength": 256
160
+ },
161
+ "id": {
162
+ "type": "string",
163
+ "minLength": 1,
164
+ "maxLength": 256
165
+ },
166
+ "ownerRepo": {
167
+ "type": "string",
168
+ "minLength": 1,
169
+ "maxLength": 256
170
+ }
171
+ },
172
+ "required": [
173
+ "kind",
174
+ "id",
175
+ "ownerRepo"
176
+ ],
177
+ "additionalProperties": false
178
+ },
179
+ "dataSpaceRef": {
180
+ "type": "object",
181
+ "properties": {
182
+ "kind": {
183
+ "type": "string",
184
+ "minLength": 1,
185
+ "maxLength": 256
186
+ },
187
+ "id": {
188
+ "type": "string",
189
+ "minLength": 1,
190
+ "maxLength": 256
191
+ },
192
+ "ownerRepo": {
193
+ "type": "string",
194
+ "minLength": 1,
195
+ "maxLength": 256
196
+ }
197
+ },
198
+ "required": [
199
+ "kind",
200
+ "id",
201
+ "ownerRepo"
202
+ ],
203
+ "additionalProperties": false
204
+ },
205
+ "teamRef": {
206
+ "type": "object",
207
+ "properties": {
208
+ "kind": {
209
+ "type": "string",
210
+ "minLength": 1,
211
+ "maxLength": 256
212
+ },
213
+ "id": {
214
+ "type": "string",
215
+ "minLength": 1,
216
+ "maxLength": 256
217
+ },
218
+ "ownerRepo": {
219
+ "type": "string",
220
+ "minLength": 1,
221
+ "maxLength": 256
222
+ }
223
+ },
224
+ "required": [
225
+ "kind",
226
+ "id",
227
+ "ownerRepo"
228
+ ],
229
+ "additionalProperties": false
230
+ }
231
+ },
232
+ "required": [
233
+ "tenantRef",
234
+ "dataSpaceRef"
235
+ ],
236
+ "additionalProperties": false
237
+ },
238
+ "revision": {
239
+ "type": "integer",
240
+ "exclusiveMinimum": 0,
241
+ "maximum": 9007199254740991
242
+ },
243
+ "schemaVersion": {
244
+ "type": "integer",
245
+ "exclusiveMinimum": 0,
246
+ "maximum": 9007199254740991
247
+ },
248
+ "contentHash": {
249
+ "type": "string",
250
+ "pattern": "^[a-f0-9]{64}$"
251
+ }
252
+ },
253
+ "required": [
254
+ "kind",
255
+ "id",
256
+ "ownerRepo",
257
+ "visibility",
258
+ "revision",
259
+ "schemaVersion",
260
+ "contentHash"
261
+ ],
262
+ "additionalProperties": false
263
+ },
264
+ "definitionRevisionRef": {
265
+ "type": "object",
266
+ "properties": {
267
+ "kind": {
268
+ "type": "string",
269
+ "minLength": 1,
270
+ "maxLength": 256
271
+ },
272
+ "id": {
273
+ "type": "string",
274
+ "minLength": 1,
275
+ "maxLength": 256
276
+ },
277
+ "ownerRepo": {
278
+ "type": "string",
279
+ "minLength": 1,
280
+ "maxLength": 256
281
+ },
282
+ "visibility": {
283
+ "type": "string",
284
+ "enum": [
285
+ "tenant",
286
+ "global",
287
+ "public"
288
+ ]
289
+ },
290
+ "tenantScope": {
291
+ "type": "object",
292
+ "properties": {
293
+ "tenantRef": {
294
+ "type": "object",
295
+ "properties": {
296
+ "kind": {
297
+ "type": "string",
298
+ "minLength": 1,
299
+ "maxLength": 256
300
+ },
301
+ "id": {
302
+ "type": "string",
303
+ "minLength": 1,
304
+ "maxLength": 256
305
+ },
306
+ "ownerRepo": {
307
+ "type": "string",
308
+ "minLength": 1,
309
+ "maxLength": 256
310
+ }
311
+ },
312
+ "required": [
313
+ "kind",
314
+ "id",
315
+ "ownerRepo"
316
+ ],
317
+ "additionalProperties": false
318
+ },
319
+ "dataSpaceRef": {
320
+ "type": "object",
321
+ "properties": {
322
+ "kind": {
323
+ "type": "string",
324
+ "minLength": 1,
325
+ "maxLength": 256
326
+ },
327
+ "id": {
328
+ "type": "string",
329
+ "minLength": 1,
330
+ "maxLength": 256
331
+ },
332
+ "ownerRepo": {
333
+ "type": "string",
334
+ "minLength": 1,
335
+ "maxLength": 256
336
+ }
337
+ },
338
+ "required": [
339
+ "kind",
340
+ "id",
341
+ "ownerRepo"
342
+ ],
343
+ "additionalProperties": false
344
+ },
345
+ "teamRef": {
346
+ "type": "object",
347
+ "properties": {
348
+ "kind": {
349
+ "type": "string",
350
+ "minLength": 1,
351
+ "maxLength": 256
352
+ },
353
+ "id": {
354
+ "type": "string",
355
+ "minLength": 1,
356
+ "maxLength": 256
357
+ },
358
+ "ownerRepo": {
359
+ "type": "string",
360
+ "minLength": 1,
361
+ "maxLength": 256
362
+ }
363
+ },
364
+ "required": [
365
+ "kind",
366
+ "id",
367
+ "ownerRepo"
368
+ ],
369
+ "additionalProperties": false
370
+ }
371
+ },
372
+ "required": [
373
+ "tenantRef",
374
+ "dataSpaceRef"
375
+ ],
376
+ "additionalProperties": false
377
+ },
378
+ "revision": {
379
+ "type": "integer",
380
+ "exclusiveMinimum": 0,
381
+ "maximum": 9007199254740991
382
+ },
383
+ "schemaVersion": {
384
+ "type": "integer",
385
+ "exclusiveMinimum": 0,
386
+ "maximum": 9007199254740991
387
+ },
388
+ "contentHash": {
389
+ "type": "string",
390
+ "pattern": "^[a-f0-9]{64}$"
391
+ }
392
+ },
393
+ "required": [
394
+ "kind",
395
+ "id",
396
+ "ownerRepo",
397
+ "visibility",
398
+ "revision",
399
+ "schemaVersion",
400
+ "contentHash"
401
+ ],
402
+ "additionalProperties": false
403
+ },
404
+ "runtimeContentHash": {
405
+ "type": "string",
406
+ "pattern": "^[a-f0-9]{64}$"
407
+ },
408
+ "requestId": {
409
+ "type": "string",
410
+ "maxLength": 256
411
+ },
412
+ "diagnostics": {
413
+ "maxItems": 32,
414
+ "type": "array",
415
+ "items": {
416
+ "type": "object",
417
+ "properties": {
418
+ "code": {
419
+ "type": "string",
420
+ "minLength": 1,
421
+ "maxLength": 256
422
+ },
423
+ "stage": {
424
+ "type": "string",
425
+ "enum": [
426
+ "document",
427
+ "reference",
428
+ "contract",
429
+ "policy",
430
+ "runtime"
431
+ ]
432
+ },
433
+ "severity": {
434
+ "type": "string",
435
+ "enum": [
436
+ "info",
437
+ "warning",
438
+ "error"
439
+ ]
440
+ },
441
+ "blocking": {
442
+ "type": "boolean"
443
+ },
444
+ "path": {
445
+ "type": "string",
446
+ "minLength": 1
447
+ },
448
+ "message": {
449
+ "type": "string",
450
+ "minLength": 1
451
+ },
452
+ "recovery": {
453
+ "maxItems": 8,
454
+ "type": "array",
455
+ "items": {
456
+ "type": "string",
457
+ "minLength": 1
458
+ }
459
+ }
460
+ },
461
+ "required": [
462
+ "code",
463
+ "path",
464
+ "message"
465
+ ],
466
+ "additionalProperties": false
467
+ }
468
+ }
469
+ },
470
+ "required": [
471
+ "contract",
472
+ "schemaVersion",
473
+ "resourceKind",
474
+ "resourceId",
475
+ "scope",
476
+ "publication",
477
+ "activation",
478
+ "integrity",
479
+ "runtime",
480
+ "dataProbe",
481
+ "retryable",
482
+ "diagnostics"
483
+ ],
484
+ "additionalProperties": false
485
+ },
486
+ "lastKnownGood": {
487
+ "type": "object",
488
+ "properties": {
489
+ "contract": {
490
+ "type": "string",
491
+ "const": "DeclarativePublicationLastKnownGood"
492
+ },
493
+ "schemaVersion": {
494
+ "type": "number",
495
+ "const": 1
496
+ },
497
+ "resourceKind": {
498
+ "type": "string",
499
+ "enum": [
500
+ "page",
501
+ "navigation",
502
+ "workbench"
503
+ ]
504
+ },
505
+ "resourceId": {
506
+ "type": "string",
507
+ "minLength": 1,
508
+ "maxLength": 256
509
+ },
510
+ "releaseSlotId": {
511
+ "type": "string",
512
+ "minLength": 1,
513
+ "maxLength": 256
514
+ },
515
+ "releaseRevisionRef": {
516
+ "type": "object",
517
+ "properties": {
518
+ "kind": {
519
+ "type": "string",
520
+ "minLength": 1,
521
+ "maxLength": 256
522
+ },
523
+ "id": {
524
+ "type": "string",
525
+ "minLength": 1,
526
+ "maxLength": 256
527
+ },
528
+ "ownerRepo": {
529
+ "type": "string",
530
+ "minLength": 1,
531
+ "maxLength": 256
532
+ },
533
+ "visibility": {
534
+ "type": "string",
535
+ "enum": [
536
+ "tenant",
537
+ "global",
538
+ "public"
539
+ ]
540
+ },
541
+ "tenantScope": {
542
+ "type": "object",
543
+ "properties": {
544
+ "tenantRef": {
545
+ "type": "object",
546
+ "properties": {
547
+ "kind": {
548
+ "type": "string",
549
+ "minLength": 1,
550
+ "maxLength": 256
551
+ },
552
+ "id": {
553
+ "type": "string",
554
+ "minLength": 1,
555
+ "maxLength": 256
556
+ },
557
+ "ownerRepo": {
558
+ "type": "string",
559
+ "minLength": 1,
560
+ "maxLength": 256
561
+ }
562
+ },
563
+ "required": [
564
+ "kind",
565
+ "id",
566
+ "ownerRepo"
567
+ ],
568
+ "additionalProperties": false
569
+ },
570
+ "dataSpaceRef": {
571
+ "type": "object",
572
+ "properties": {
573
+ "kind": {
574
+ "type": "string",
575
+ "minLength": 1,
576
+ "maxLength": 256
577
+ },
578
+ "id": {
579
+ "type": "string",
580
+ "minLength": 1,
581
+ "maxLength": 256
582
+ },
583
+ "ownerRepo": {
584
+ "type": "string",
585
+ "minLength": 1,
586
+ "maxLength": 256
587
+ }
588
+ },
589
+ "required": [
590
+ "kind",
591
+ "id",
592
+ "ownerRepo"
593
+ ],
594
+ "additionalProperties": false
595
+ },
596
+ "teamRef": {
597
+ "type": "object",
598
+ "properties": {
599
+ "kind": {
600
+ "type": "string",
601
+ "minLength": 1,
602
+ "maxLength": 256
603
+ },
604
+ "id": {
605
+ "type": "string",
606
+ "minLength": 1,
607
+ "maxLength": 256
608
+ },
609
+ "ownerRepo": {
610
+ "type": "string",
611
+ "minLength": 1,
612
+ "maxLength": 256
613
+ }
614
+ },
615
+ "required": [
616
+ "kind",
617
+ "id",
618
+ "ownerRepo"
619
+ ],
620
+ "additionalProperties": false
621
+ }
622
+ },
623
+ "required": [
624
+ "tenantRef",
625
+ "dataSpaceRef"
626
+ ],
627
+ "additionalProperties": false
628
+ },
629
+ "revision": {
630
+ "type": "integer",
631
+ "exclusiveMinimum": 0,
632
+ "maximum": 9007199254740991
633
+ },
634
+ "schemaVersion": {
635
+ "type": "integer",
636
+ "exclusiveMinimum": 0,
637
+ "maximum": 9007199254740991
638
+ },
639
+ "contentHash": {
640
+ "type": "string",
641
+ "pattern": "^[a-f0-9]{64}$"
642
+ }
643
+ },
644
+ "required": [
645
+ "kind",
646
+ "id",
647
+ "ownerRepo",
648
+ "visibility",
649
+ "revision",
650
+ "schemaVersion",
651
+ "contentHash"
652
+ ],
653
+ "additionalProperties": false
654
+ },
655
+ "definitionRevisionRef": {
656
+ "type": "object",
657
+ "properties": {
658
+ "kind": {
659
+ "type": "string",
660
+ "minLength": 1,
661
+ "maxLength": 256
662
+ },
663
+ "id": {
664
+ "type": "string",
665
+ "minLength": 1,
666
+ "maxLength": 256
667
+ },
668
+ "ownerRepo": {
669
+ "type": "string",
670
+ "minLength": 1,
671
+ "maxLength": 256
672
+ },
673
+ "visibility": {
674
+ "type": "string",
675
+ "enum": [
676
+ "tenant",
677
+ "global",
678
+ "public"
679
+ ]
680
+ },
681
+ "tenantScope": {
682
+ "type": "object",
683
+ "properties": {
684
+ "tenantRef": {
685
+ "type": "object",
686
+ "properties": {
687
+ "kind": {
688
+ "type": "string",
689
+ "minLength": 1,
690
+ "maxLength": 256
691
+ },
692
+ "id": {
693
+ "type": "string",
694
+ "minLength": 1,
695
+ "maxLength": 256
696
+ },
697
+ "ownerRepo": {
698
+ "type": "string",
699
+ "minLength": 1,
700
+ "maxLength": 256
701
+ }
702
+ },
703
+ "required": [
704
+ "kind",
705
+ "id",
706
+ "ownerRepo"
707
+ ],
708
+ "additionalProperties": false
709
+ },
710
+ "dataSpaceRef": {
711
+ "type": "object",
712
+ "properties": {
713
+ "kind": {
714
+ "type": "string",
715
+ "minLength": 1,
716
+ "maxLength": 256
717
+ },
718
+ "id": {
719
+ "type": "string",
720
+ "minLength": 1,
721
+ "maxLength": 256
722
+ },
723
+ "ownerRepo": {
724
+ "type": "string",
725
+ "minLength": 1,
726
+ "maxLength": 256
727
+ }
728
+ },
729
+ "required": [
730
+ "kind",
731
+ "id",
732
+ "ownerRepo"
733
+ ],
734
+ "additionalProperties": false
735
+ },
736
+ "teamRef": {
737
+ "type": "object",
738
+ "properties": {
739
+ "kind": {
740
+ "type": "string",
741
+ "minLength": 1,
742
+ "maxLength": 256
743
+ },
744
+ "id": {
745
+ "type": "string",
746
+ "minLength": 1,
747
+ "maxLength": 256
748
+ },
749
+ "ownerRepo": {
750
+ "type": "string",
751
+ "minLength": 1,
752
+ "maxLength": 256
753
+ }
754
+ },
755
+ "required": [
756
+ "kind",
757
+ "id",
758
+ "ownerRepo"
759
+ ],
760
+ "additionalProperties": false
761
+ }
762
+ },
763
+ "required": [
764
+ "tenantRef",
765
+ "dataSpaceRef"
766
+ ],
767
+ "additionalProperties": false
768
+ },
769
+ "revision": {
770
+ "type": "integer",
771
+ "exclusiveMinimum": 0,
772
+ "maximum": 9007199254740991
773
+ },
774
+ "schemaVersion": {
775
+ "type": "integer",
776
+ "exclusiveMinimum": 0,
777
+ "maximum": 9007199254740991
778
+ },
779
+ "contentHash": {
780
+ "type": "string",
781
+ "pattern": "^[a-f0-9]{64}$"
782
+ }
783
+ },
784
+ "required": [
785
+ "kind",
786
+ "id",
787
+ "ownerRepo",
788
+ "visibility",
789
+ "revision",
790
+ "schemaVersion",
791
+ "contentHash"
792
+ ],
793
+ "additionalProperties": false
794
+ },
795
+ "environmentRef": {
796
+ "type": "object",
797
+ "properties": {
798
+ "kind": {
799
+ "type": "string",
800
+ "minLength": 1,
801
+ "maxLength": 256
802
+ },
803
+ "id": {
804
+ "type": "string",
805
+ "minLength": 1,
806
+ "maxLength": 256
807
+ },
808
+ "ownerRepo": {
809
+ "type": "string",
810
+ "minLength": 1,
811
+ "maxLength": 256
812
+ },
813
+ "visibility": {
814
+ "type": "string",
815
+ "enum": [
816
+ "tenant",
817
+ "global",
818
+ "public"
819
+ ]
820
+ },
821
+ "tenantScope": {
822
+ "type": "object",
823
+ "properties": {
824
+ "tenantRef": {
825
+ "type": "object",
826
+ "properties": {
827
+ "kind": {
828
+ "type": "string",
829
+ "minLength": 1,
830
+ "maxLength": 256
831
+ },
832
+ "id": {
833
+ "type": "string",
834
+ "minLength": 1,
835
+ "maxLength": 256
836
+ },
837
+ "ownerRepo": {
838
+ "type": "string",
839
+ "minLength": 1,
840
+ "maxLength": 256
841
+ }
842
+ },
843
+ "required": [
844
+ "kind",
845
+ "id",
846
+ "ownerRepo"
847
+ ],
848
+ "additionalProperties": false
849
+ },
850
+ "dataSpaceRef": {
851
+ "type": "object",
852
+ "properties": {
853
+ "kind": {
854
+ "type": "string",
855
+ "minLength": 1,
856
+ "maxLength": 256
857
+ },
858
+ "id": {
859
+ "type": "string",
860
+ "minLength": 1,
861
+ "maxLength": 256
862
+ },
863
+ "ownerRepo": {
864
+ "type": "string",
865
+ "minLength": 1,
866
+ "maxLength": 256
867
+ }
868
+ },
869
+ "required": [
870
+ "kind",
871
+ "id",
872
+ "ownerRepo"
873
+ ],
874
+ "additionalProperties": false
875
+ },
876
+ "teamRef": {
877
+ "type": "object",
878
+ "properties": {
879
+ "kind": {
880
+ "type": "string",
881
+ "minLength": 1,
882
+ "maxLength": 256
883
+ },
884
+ "id": {
885
+ "type": "string",
886
+ "minLength": 1,
887
+ "maxLength": 256
888
+ },
889
+ "ownerRepo": {
890
+ "type": "string",
891
+ "minLength": 1,
892
+ "maxLength": 256
893
+ }
894
+ },
895
+ "required": [
896
+ "kind",
897
+ "id",
898
+ "ownerRepo"
899
+ ],
900
+ "additionalProperties": false
901
+ }
902
+ },
903
+ "required": [
904
+ "tenantRef",
905
+ "dataSpaceRef"
906
+ ],
907
+ "additionalProperties": false
908
+ }
909
+ },
910
+ "required": [
911
+ "kind",
912
+ "id",
913
+ "ownerRepo",
914
+ "visibility"
915
+ ],
916
+ "additionalProperties": false
917
+ },
918
+ "environmentRevisionRef": {
919
+ "type": "object",
920
+ "properties": {
921
+ "kind": {
922
+ "type": "string",
923
+ "minLength": 1,
924
+ "maxLength": 256
925
+ },
926
+ "id": {
927
+ "type": "string",
928
+ "minLength": 1,
929
+ "maxLength": 256
930
+ },
931
+ "ownerRepo": {
932
+ "type": "string",
933
+ "minLength": 1,
934
+ "maxLength": 256
935
+ },
936
+ "visibility": {
937
+ "type": "string",
938
+ "enum": [
939
+ "tenant",
940
+ "global",
941
+ "public"
942
+ ]
943
+ },
944
+ "tenantScope": {
945
+ "type": "object",
946
+ "properties": {
947
+ "tenantRef": {
948
+ "type": "object",
949
+ "properties": {
950
+ "kind": {
951
+ "type": "string",
952
+ "minLength": 1,
953
+ "maxLength": 256
954
+ },
955
+ "id": {
956
+ "type": "string",
957
+ "minLength": 1,
958
+ "maxLength": 256
959
+ },
960
+ "ownerRepo": {
961
+ "type": "string",
962
+ "minLength": 1,
963
+ "maxLength": 256
964
+ }
965
+ },
966
+ "required": [
967
+ "kind",
968
+ "id",
969
+ "ownerRepo"
970
+ ],
971
+ "additionalProperties": false
972
+ },
973
+ "dataSpaceRef": {
974
+ "type": "object",
975
+ "properties": {
976
+ "kind": {
977
+ "type": "string",
978
+ "minLength": 1,
979
+ "maxLength": 256
980
+ },
981
+ "id": {
982
+ "type": "string",
983
+ "minLength": 1,
984
+ "maxLength": 256
985
+ },
986
+ "ownerRepo": {
987
+ "type": "string",
988
+ "minLength": 1,
989
+ "maxLength": 256
990
+ }
991
+ },
992
+ "required": [
993
+ "kind",
994
+ "id",
995
+ "ownerRepo"
996
+ ],
997
+ "additionalProperties": false
998
+ },
999
+ "teamRef": {
1000
+ "type": "object",
1001
+ "properties": {
1002
+ "kind": {
1003
+ "type": "string",
1004
+ "minLength": 1,
1005
+ "maxLength": 256
1006
+ },
1007
+ "id": {
1008
+ "type": "string",
1009
+ "minLength": 1,
1010
+ "maxLength": 256
1011
+ },
1012
+ "ownerRepo": {
1013
+ "type": "string",
1014
+ "minLength": 1,
1015
+ "maxLength": 256
1016
+ }
1017
+ },
1018
+ "required": [
1019
+ "kind",
1020
+ "id",
1021
+ "ownerRepo"
1022
+ ],
1023
+ "additionalProperties": false
1024
+ }
1025
+ },
1026
+ "required": [
1027
+ "tenantRef",
1028
+ "dataSpaceRef"
1029
+ ],
1030
+ "additionalProperties": false
1031
+ },
1032
+ "revision": {
1033
+ "type": "integer",
1034
+ "exclusiveMinimum": 0,
1035
+ "maximum": 9007199254740991
1036
+ },
1037
+ "schemaVersion": {
1038
+ "type": "integer",
1039
+ "exclusiveMinimum": 0,
1040
+ "maximum": 9007199254740991
1041
+ },
1042
+ "contentHash": {
1043
+ "type": "string",
1044
+ "pattern": "^[a-f0-9]{64}$"
1045
+ }
1046
+ },
1047
+ "required": [
1048
+ "kind",
1049
+ "id",
1050
+ "ownerRepo",
1051
+ "visibility",
1052
+ "revision",
1053
+ "schemaVersion",
1054
+ "contentHash"
1055
+ ],
1056
+ "additionalProperties": false
1057
+ },
1058
+ "surface": {
1059
+ "type": "string",
1060
+ "enum": [
1061
+ "studio",
1062
+ "kernel"
1063
+ ]
1064
+ },
1065
+ "bundleContentHash": {
1066
+ "type": "string",
1067
+ "pattern": "^[a-f0-9]{64}$"
1068
+ },
1069
+ "verifiedAt": {
1070
+ "type": "string",
1071
+ "format": "date-time",
1072
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
1073
+ },
1074
+ "health": {
1075
+ "type": "object",
1076
+ "properties": {
1077
+ "failedReleaseRevision": {
1078
+ "type": "integer",
1079
+ "exclusiveMinimum": 0,
1080
+ "maximum": 9007199254740991
1081
+ },
1082
+ "consecutiveFailures": {
1083
+ "type": "integer",
1084
+ "minimum": 0,
1085
+ "maximum": 9007199254740991
1086
+ },
1087
+ "lastFailureAt": {
1088
+ "type": "string",
1089
+ "format": "date-time",
1090
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
1091
+ },
1092
+ "circuit": {
1093
+ "type": "string",
1094
+ "enum": [
1095
+ "closed",
1096
+ "open"
1097
+ ]
1098
+ },
1099
+ "lastRecoveryAt": {
1100
+ "type": "string",
1101
+ "format": "date-time",
1102
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
1103
+ }
1104
+ },
1105
+ "required": [
1106
+ "consecutiveFailures",
1107
+ "circuit"
1108
+ ],
1109
+ "additionalProperties": false
1110
+ },
1111
+ "contentHash": {
1112
+ "type": "string",
1113
+ "pattern": "^[a-f0-9]{64}$"
1114
+ }
1115
+ },
1116
+ "required": [
1117
+ "contract",
1118
+ "schemaVersion",
1119
+ "resourceKind",
1120
+ "resourceId",
1121
+ "releaseSlotId",
1122
+ "releaseRevisionRef",
1123
+ "definitionRevisionRef",
1124
+ "environmentRef",
1125
+ "environmentRevisionRef",
1126
+ "surface",
1127
+ "bundleContentHash",
1128
+ "verifiedAt",
1129
+ "health",
1130
+ "contentHash"
1131
+ ],
1132
+ "additionalProperties": false
1133
+ },
1134
+ "reason": {
1135
+ "type": "string",
1136
+ "enum": [
1137
+ "scope-changed",
1138
+ "circuit-open",
1139
+ "cooldown"
1140
+ ]
1141
+ },
1142
+ "consecutiveFailures": {
1143
+ "type": "integer",
1144
+ "minimum": 0,
1145
+ "maximum": 9007199254740991
1146
+ },
1147
+ "failureThreshold": {
1148
+ "type": "integer",
1149
+ "exclusiveMinimum": 0,
1150
+ "maximum": 9007199254740991
1151
+ },
1152
+ "retryAfter": {
1153
+ "type": "string",
1154
+ "format": "date-time",
1155
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
1156
+ },
1157
+ "rollbackReleaseRevisionRef": {
1158
+ "type": "object",
1159
+ "properties": {
1160
+ "kind": {
1161
+ "type": "string",
1162
+ "minLength": 1,
1163
+ "maxLength": 256
1164
+ },
1165
+ "id": {
1166
+ "type": "string",
1167
+ "minLength": 1,
1168
+ "maxLength": 256
1169
+ },
1170
+ "ownerRepo": {
1171
+ "type": "string",
1172
+ "minLength": 1,
1173
+ "maxLength": 256
1174
+ },
1175
+ "visibility": {
1176
+ "type": "string",
1177
+ "enum": [
1178
+ "tenant",
1179
+ "global",
1180
+ "public"
1181
+ ]
1182
+ },
1183
+ "tenantScope": {
1184
+ "type": "object",
1185
+ "properties": {
1186
+ "tenantRef": {
1187
+ "type": "object",
1188
+ "properties": {
1189
+ "kind": {
1190
+ "type": "string",
1191
+ "minLength": 1,
1192
+ "maxLength": 256
1193
+ },
1194
+ "id": {
1195
+ "type": "string",
1196
+ "minLength": 1,
1197
+ "maxLength": 256
1198
+ },
1199
+ "ownerRepo": {
1200
+ "type": "string",
1201
+ "minLength": 1,
1202
+ "maxLength": 256
1203
+ }
1204
+ },
1205
+ "required": [
1206
+ "kind",
1207
+ "id",
1208
+ "ownerRepo"
1209
+ ],
1210
+ "additionalProperties": false
1211
+ },
1212
+ "dataSpaceRef": {
1213
+ "type": "object",
1214
+ "properties": {
1215
+ "kind": {
1216
+ "type": "string",
1217
+ "minLength": 1,
1218
+ "maxLength": 256
1219
+ },
1220
+ "id": {
1221
+ "type": "string",
1222
+ "minLength": 1,
1223
+ "maxLength": 256
1224
+ },
1225
+ "ownerRepo": {
1226
+ "type": "string",
1227
+ "minLength": 1,
1228
+ "maxLength": 256
1229
+ }
1230
+ },
1231
+ "required": [
1232
+ "kind",
1233
+ "id",
1234
+ "ownerRepo"
1235
+ ],
1236
+ "additionalProperties": false
1237
+ },
1238
+ "teamRef": {
1239
+ "type": "object",
1240
+ "properties": {
1241
+ "kind": {
1242
+ "type": "string",
1243
+ "minLength": 1,
1244
+ "maxLength": 256
1245
+ },
1246
+ "id": {
1247
+ "type": "string",
1248
+ "minLength": 1,
1249
+ "maxLength": 256
1250
+ },
1251
+ "ownerRepo": {
1252
+ "type": "string",
1253
+ "minLength": 1,
1254
+ "maxLength": 256
1255
+ }
1256
+ },
1257
+ "required": [
1258
+ "kind",
1259
+ "id",
1260
+ "ownerRepo"
1261
+ ],
1262
+ "additionalProperties": false
1263
+ }
1264
+ },
1265
+ "required": [
1266
+ "tenantRef",
1267
+ "dataSpaceRef"
1268
+ ],
1269
+ "additionalProperties": false
1270
+ },
1271
+ "revision": {
1272
+ "type": "integer",
1273
+ "exclusiveMinimum": 0,
1274
+ "maximum": 9007199254740991
1275
+ },
1276
+ "schemaVersion": {
1277
+ "type": "integer",
1278
+ "exclusiveMinimum": 0,
1279
+ "maximum": 9007199254740991
1280
+ },
1281
+ "contentHash": {
1282
+ "type": "string",
1283
+ "pattern": "^[a-f0-9]{64}$"
1284
+ }
1285
+ },
1286
+ "required": [
1287
+ "kind",
1288
+ "id",
1289
+ "ownerRepo",
1290
+ "visibility",
1291
+ "revision",
1292
+ "schemaVersion",
1293
+ "contentHash"
1294
+ ],
1295
+ "additionalProperties": false
1296
+ },
1297
+ "postVerification": {
1298
+ "type": "object",
1299
+ "properties": {
1300
+ "contract": {
1301
+ "type": "string",
1302
+ "const": "DeclarativePublicationVerification"
1303
+ },
1304
+ "schemaVersion": {
1305
+ "type": "number",
1306
+ "const": 1
1307
+ },
1308
+ "resourceKind": {
1309
+ "type": "string",
1310
+ "enum": [
1311
+ "page",
1312
+ "navigation",
1313
+ "workbench"
1314
+ ]
1315
+ },
1316
+ "resourceId": {
1317
+ "type": "string",
1318
+ "minLength": 1,
1319
+ "maxLength": 256
1320
+ },
1321
+ "scope": {
1322
+ "anyOf": [
1323
+ {
1324
+ "type": "object",
1325
+ "properties": {
1326
+ "kind": {
1327
+ "type": "string",
1328
+ "const": "global"
1329
+ }
1330
+ },
1331
+ "required": [
1332
+ "kind"
1333
+ ],
1334
+ "additionalProperties": false
1335
+ },
1336
+ {
1337
+ "type": "object",
1338
+ "properties": {
1339
+ "kind": {
1340
+ "type": "string",
1341
+ "const": "team"
1342
+ },
1343
+ "teamId": {
1344
+ "type": "string",
1345
+ "minLength": 1,
1346
+ "maxLength": 256
1347
+ }
1348
+ },
1349
+ "required": [
1350
+ "kind",
1351
+ "teamId"
1352
+ ],
1353
+ "additionalProperties": false
1354
+ }
1355
+ ]
1356
+ },
1357
+ "publication": {
1358
+ "type": "string",
1359
+ "enum": [
1360
+ "committed",
1361
+ "unknown"
1362
+ ]
1363
+ },
1364
+ "activation": {
1365
+ "type": "string",
1366
+ "enum": [
1367
+ "active",
1368
+ "superseded",
1369
+ "deactivated",
1370
+ "unavailable"
1371
+ ]
1372
+ },
1373
+ "integrity": {
1374
+ "type": "string",
1375
+ "enum": [
1376
+ "verified",
1377
+ "unverified",
1378
+ "failed"
1379
+ ]
1380
+ },
1381
+ "runtime": {
1382
+ "type": "string",
1383
+ "enum": [
1384
+ "not-requested",
1385
+ "verified",
1386
+ "context-required",
1387
+ "forbidden",
1388
+ "failed"
1389
+ ]
1390
+ },
1391
+ "dataProbe": {
1392
+ "default": "not-requested",
1393
+ "type": "string",
1394
+ "enum": [
1395
+ "not-requested",
1396
+ "verified",
1397
+ "skipped",
1398
+ "failed"
1399
+ ]
1400
+ },
1401
+ "retryable": {
1402
+ "default": false,
1403
+ "type": "boolean"
1404
+ },
1405
+ "releaseRevisionRef": {
1406
+ "type": "object",
1407
+ "properties": {
1408
+ "kind": {
1409
+ "type": "string",
1410
+ "minLength": 1,
1411
+ "maxLength": 256
1412
+ },
1413
+ "id": {
1414
+ "type": "string",
1415
+ "minLength": 1,
1416
+ "maxLength": 256
1417
+ },
1418
+ "ownerRepo": {
1419
+ "type": "string",
1420
+ "minLength": 1,
1421
+ "maxLength": 256
1422
+ },
1423
+ "visibility": {
1424
+ "type": "string",
1425
+ "enum": [
1426
+ "tenant",
1427
+ "global",
1428
+ "public"
1429
+ ]
1430
+ },
1431
+ "tenantScope": {
1432
+ "type": "object",
1433
+ "properties": {
1434
+ "tenantRef": {
1435
+ "type": "object",
1436
+ "properties": {
1437
+ "kind": {
1438
+ "type": "string",
1439
+ "minLength": 1,
1440
+ "maxLength": 256
1441
+ },
1442
+ "id": {
1443
+ "type": "string",
1444
+ "minLength": 1,
1445
+ "maxLength": 256
1446
+ },
1447
+ "ownerRepo": {
1448
+ "type": "string",
1449
+ "minLength": 1,
1450
+ "maxLength": 256
1451
+ }
1452
+ },
1453
+ "required": [
1454
+ "kind",
1455
+ "id",
1456
+ "ownerRepo"
1457
+ ],
1458
+ "additionalProperties": false
1459
+ },
1460
+ "dataSpaceRef": {
1461
+ "type": "object",
1462
+ "properties": {
1463
+ "kind": {
1464
+ "type": "string",
1465
+ "minLength": 1,
1466
+ "maxLength": 256
1467
+ },
1468
+ "id": {
1469
+ "type": "string",
1470
+ "minLength": 1,
1471
+ "maxLength": 256
1472
+ },
1473
+ "ownerRepo": {
1474
+ "type": "string",
1475
+ "minLength": 1,
1476
+ "maxLength": 256
1477
+ }
1478
+ },
1479
+ "required": [
1480
+ "kind",
1481
+ "id",
1482
+ "ownerRepo"
1483
+ ],
1484
+ "additionalProperties": false
1485
+ },
1486
+ "teamRef": {
1487
+ "type": "object",
1488
+ "properties": {
1489
+ "kind": {
1490
+ "type": "string",
1491
+ "minLength": 1,
1492
+ "maxLength": 256
1493
+ },
1494
+ "id": {
1495
+ "type": "string",
1496
+ "minLength": 1,
1497
+ "maxLength": 256
1498
+ },
1499
+ "ownerRepo": {
1500
+ "type": "string",
1501
+ "minLength": 1,
1502
+ "maxLength": 256
1503
+ }
1504
+ },
1505
+ "required": [
1506
+ "kind",
1507
+ "id",
1508
+ "ownerRepo"
1509
+ ],
1510
+ "additionalProperties": false
1511
+ }
1512
+ },
1513
+ "required": [
1514
+ "tenantRef",
1515
+ "dataSpaceRef"
1516
+ ],
1517
+ "additionalProperties": false
1518
+ },
1519
+ "revision": {
1520
+ "type": "integer",
1521
+ "exclusiveMinimum": 0,
1522
+ "maximum": 9007199254740991
1523
+ },
1524
+ "schemaVersion": {
1525
+ "type": "integer",
1526
+ "exclusiveMinimum": 0,
1527
+ "maximum": 9007199254740991
1528
+ },
1529
+ "contentHash": {
1530
+ "type": "string",
1531
+ "pattern": "^[a-f0-9]{64}$"
1532
+ }
1533
+ },
1534
+ "required": [
1535
+ "kind",
1536
+ "id",
1537
+ "ownerRepo",
1538
+ "visibility",
1539
+ "revision",
1540
+ "schemaVersion",
1541
+ "contentHash"
1542
+ ],
1543
+ "additionalProperties": false
1544
+ },
1545
+ "definitionRevisionRef": {
1546
+ "type": "object",
1547
+ "properties": {
1548
+ "kind": {
1549
+ "type": "string",
1550
+ "minLength": 1,
1551
+ "maxLength": 256
1552
+ },
1553
+ "id": {
1554
+ "type": "string",
1555
+ "minLength": 1,
1556
+ "maxLength": 256
1557
+ },
1558
+ "ownerRepo": {
1559
+ "type": "string",
1560
+ "minLength": 1,
1561
+ "maxLength": 256
1562
+ },
1563
+ "visibility": {
1564
+ "type": "string",
1565
+ "enum": [
1566
+ "tenant",
1567
+ "global",
1568
+ "public"
1569
+ ]
1570
+ },
1571
+ "tenantScope": {
1572
+ "type": "object",
1573
+ "properties": {
1574
+ "tenantRef": {
1575
+ "type": "object",
1576
+ "properties": {
1577
+ "kind": {
1578
+ "type": "string",
1579
+ "minLength": 1,
1580
+ "maxLength": 256
1581
+ },
1582
+ "id": {
1583
+ "type": "string",
1584
+ "minLength": 1,
1585
+ "maxLength": 256
1586
+ },
1587
+ "ownerRepo": {
1588
+ "type": "string",
1589
+ "minLength": 1,
1590
+ "maxLength": 256
1591
+ }
1592
+ },
1593
+ "required": [
1594
+ "kind",
1595
+ "id",
1596
+ "ownerRepo"
1597
+ ],
1598
+ "additionalProperties": false
1599
+ },
1600
+ "dataSpaceRef": {
1601
+ "type": "object",
1602
+ "properties": {
1603
+ "kind": {
1604
+ "type": "string",
1605
+ "minLength": 1,
1606
+ "maxLength": 256
1607
+ },
1608
+ "id": {
1609
+ "type": "string",
1610
+ "minLength": 1,
1611
+ "maxLength": 256
1612
+ },
1613
+ "ownerRepo": {
1614
+ "type": "string",
1615
+ "minLength": 1,
1616
+ "maxLength": 256
1617
+ }
1618
+ },
1619
+ "required": [
1620
+ "kind",
1621
+ "id",
1622
+ "ownerRepo"
1623
+ ],
1624
+ "additionalProperties": false
1625
+ },
1626
+ "teamRef": {
1627
+ "type": "object",
1628
+ "properties": {
1629
+ "kind": {
1630
+ "type": "string",
1631
+ "minLength": 1,
1632
+ "maxLength": 256
1633
+ },
1634
+ "id": {
1635
+ "type": "string",
1636
+ "minLength": 1,
1637
+ "maxLength": 256
1638
+ },
1639
+ "ownerRepo": {
1640
+ "type": "string",
1641
+ "minLength": 1,
1642
+ "maxLength": 256
1643
+ }
1644
+ },
1645
+ "required": [
1646
+ "kind",
1647
+ "id",
1648
+ "ownerRepo"
1649
+ ],
1650
+ "additionalProperties": false
1651
+ }
1652
+ },
1653
+ "required": [
1654
+ "tenantRef",
1655
+ "dataSpaceRef"
1656
+ ],
1657
+ "additionalProperties": false
1658
+ },
1659
+ "revision": {
1660
+ "type": "integer",
1661
+ "exclusiveMinimum": 0,
1662
+ "maximum": 9007199254740991
1663
+ },
1664
+ "schemaVersion": {
1665
+ "type": "integer",
1666
+ "exclusiveMinimum": 0,
1667
+ "maximum": 9007199254740991
1668
+ },
1669
+ "contentHash": {
1670
+ "type": "string",
1671
+ "pattern": "^[a-f0-9]{64}$"
1672
+ }
1673
+ },
1674
+ "required": [
1675
+ "kind",
1676
+ "id",
1677
+ "ownerRepo",
1678
+ "visibility",
1679
+ "revision",
1680
+ "schemaVersion",
1681
+ "contentHash"
1682
+ ],
1683
+ "additionalProperties": false
1684
+ },
1685
+ "runtimeContentHash": {
1686
+ "type": "string",
1687
+ "pattern": "^[a-f0-9]{64}$"
1688
+ },
1689
+ "requestId": {
1690
+ "type": "string",
1691
+ "maxLength": 256
1692
+ },
1693
+ "diagnostics": {
1694
+ "maxItems": 32,
1695
+ "type": "array",
1696
+ "items": {
1697
+ "type": "object",
1698
+ "properties": {
1699
+ "code": {
1700
+ "type": "string",
1701
+ "minLength": 1,
1702
+ "maxLength": 256
1703
+ },
1704
+ "stage": {
1705
+ "type": "string",
1706
+ "enum": [
1707
+ "document",
1708
+ "reference",
1709
+ "contract",
1710
+ "policy",
1711
+ "runtime"
1712
+ ]
1713
+ },
1714
+ "severity": {
1715
+ "type": "string",
1716
+ "enum": [
1717
+ "info",
1718
+ "warning",
1719
+ "error"
1720
+ ]
1721
+ },
1722
+ "blocking": {
1723
+ "type": "boolean"
1724
+ },
1725
+ "path": {
1726
+ "type": "string",
1727
+ "minLength": 1
1728
+ },
1729
+ "message": {
1730
+ "type": "string",
1731
+ "minLength": 1
1732
+ },
1733
+ "recovery": {
1734
+ "maxItems": 8,
1735
+ "type": "array",
1736
+ "items": {
1737
+ "type": "string",
1738
+ "minLength": 1
1739
+ }
1740
+ }
1741
+ },
1742
+ "required": [
1743
+ "code",
1744
+ "path",
1745
+ "message"
1746
+ ],
1747
+ "additionalProperties": false
1748
+ }
1749
+ }
1750
+ },
1751
+ "required": [
1752
+ "contract",
1753
+ "schemaVersion",
1754
+ "resourceKind",
1755
+ "resourceId",
1756
+ "scope",
1757
+ "publication",
1758
+ "activation",
1759
+ "integrity",
1760
+ "runtime",
1761
+ "dataProbe",
1762
+ "retryable",
1763
+ "diagnostics"
1764
+ ],
1765
+ "additionalProperties": false
1766
+ }
1767
+ },
1768
+ "required": [
1769
+ "status",
1770
+ "verification"
1771
+ ],
1772
+ "additionalProperties": false,
1773
+ "$id": "https://schemas.infmonkeys.com/contracts/declarative-publication-recovery-result.schema.json",
1774
+ "title": "declarative-publication-recovery-result"
1775
+ }