@inf-monkeys-tech/monkeys 1.0.65 → 1.0.66

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 (61) hide show
  1. package/README.md +6 -0
  2. package/lib/contracts/capability.d.ts +4 -0
  3. package/lib/contracts/capability.d.ts.map +1 -1
  4. package/lib/contracts/capability.js +1 -0
  5. package/lib/contracts/capability.js.map +1 -1
  6. package/lib/contracts/declarative-control-http.d.ts +81284 -0
  7. package/lib/contracts/declarative-control-http.d.ts.map +1 -0
  8. package/lib/contracts/declarative-control-http.js +926 -0
  9. package/lib/contracts/declarative-control-http.js.map +1 -0
  10. package/lib/contracts/declarative-control.d.ts +17709 -0
  11. package/lib/contracts/declarative-control.d.ts.map +1 -0
  12. package/lib/contracts/declarative-control.js +1075 -0
  13. package/lib/contracts/declarative-control.js.map +1 -0
  14. package/lib/contracts/index.d.ts +2 -0
  15. package/lib/contracts/index.d.ts.map +1 -1
  16. package/lib/contracts/index.js +2 -0
  17. package/lib/contracts/index.js.map +1 -1
  18. package/lib/contracts/menu.d.ts +1 -1
  19. package/lib/contracts/page.d.ts +3 -3
  20. package/lib/contracts/semantic.d.ts +78 -1
  21. package/lib/contracts/semantic.d.ts.map +1 -1
  22. package/lib/contracts/semantic.js +27 -1
  23. package/lib/contracts/semantic.js.map +1 -1
  24. package/lib/contracts/tenant.d.ts +12 -12
  25. package/lib/contracts/trend.d.ts +4 -4
  26. package/lib/esm/contracts/index.mjs +2868 -1028
  27. package/lib/esm/contracts/index.mjs.map +1 -1
  28. package/lib/esm/index.mjs +5746 -3027
  29. package/lib/esm/index.mjs.map +1 -1
  30. package/lib/esm/runtime/index.mjs +2415 -594
  31. package/lib/esm/runtime/index.mjs.map +1 -1
  32. package/lib/esm/schemas/index.mjs +1986 -962
  33. package/lib/esm/schemas/index.mjs.map +1 -1
  34. package/lib/json-schema/capability-registry.schema.json +2 -1
  35. package/lib/json-schema/declarative-control-ontology-definition.schema.json +130 -0
  36. package/lib/json-schema/index.json +13 -0
  37. package/lib/json-schema/navigation-release.schema.json +2037 -0
  38. package/lib/json-schema/navigation-runtime-bundle.schema.json +7497 -0
  39. package/lib/json-schema/navigation.schema.json +4649 -0
  40. package/lib/json-schema/page-release.schema.json +2457 -0
  41. package/lib/json-schema/page-runtime-bundle.schema.json +5705 -0
  42. package/lib/json-schema/page.schema.json +7944 -0
  43. package/lib/json-schema/publication-plan.schema.json +1286 -0
  44. package/lib/json-schema/route-space.schema.json +93 -0
  45. package/lib/json-schema/stable-ref-alias-map.schema.json +535 -0
  46. package/lib/json-schema/workbench-release.schema.json +2473 -0
  47. package/lib/json-schema/workbench-runtime-bundle.schema.json +5274 -0
  48. package/lib/json-schema/workbench.schema.json +6698 -0
  49. package/lib/runtime/declarative-control-compiler.d.ts +141 -0
  50. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -0
  51. package/lib/runtime/declarative-control-compiler.js +874 -0
  52. package/lib/runtime/declarative-control-compiler.js.map +1 -0
  53. package/lib/runtime/index.d.ts +1 -0
  54. package/lib/runtime/index.d.ts.map +1 -1
  55. package/lib/runtime/index.js +1 -0
  56. package/lib/runtime/index.js.map +1 -1
  57. package/lib/schemas/index.d.ts +14116 -3955
  58. package/lib/schemas/index.d.ts.map +1 -1
  59. package/lib/schemas/index.js +76 -4
  60. package/lib/schemas/index.js.map +1 -1
  61. package/package.json +1 -1
@@ -0,0 +1,1286 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "contract": {
6
+ "type": "string",
7
+ "const": "PublicationPlan"
8
+ },
9
+ "schemaVersion": {
10
+ "type": "number",
11
+ "const": 1
12
+ },
13
+ "planId": {
14
+ "type": "string",
15
+ "minLength": 1,
16
+ "maxLength": 256
17
+ },
18
+ "tenantScope": {
19
+ "type": "object",
20
+ "properties": {
21
+ "tenantRef": {
22
+ "type": "object",
23
+ "properties": {
24
+ "kind": {
25
+ "type": "string",
26
+ "minLength": 1,
27
+ "maxLength": 256
28
+ },
29
+ "id": {
30
+ "type": "string",
31
+ "minLength": 1,
32
+ "maxLength": 256
33
+ },
34
+ "ownerRepo": {
35
+ "type": "string",
36
+ "minLength": 1,
37
+ "maxLength": 256
38
+ }
39
+ },
40
+ "required": [
41
+ "kind",
42
+ "id",
43
+ "ownerRepo"
44
+ ],
45
+ "additionalProperties": false
46
+ },
47
+ "dataSpaceRef": {
48
+ "type": "object",
49
+ "properties": {
50
+ "kind": {
51
+ "type": "string",
52
+ "minLength": 1,
53
+ "maxLength": 256
54
+ },
55
+ "id": {
56
+ "type": "string",
57
+ "minLength": 1,
58
+ "maxLength": 256
59
+ },
60
+ "ownerRepo": {
61
+ "type": "string",
62
+ "minLength": 1,
63
+ "maxLength": 256
64
+ }
65
+ },
66
+ "required": [
67
+ "kind",
68
+ "id",
69
+ "ownerRepo"
70
+ ],
71
+ "additionalProperties": false
72
+ },
73
+ "teamRef": {
74
+ "type": "object",
75
+ "properties": {
76
+ "kind": {
77
+ "type": "string",
78
+ "minLength": 1,
79
+ "maxLength": 256
80
+ },
81
+ "id": {
82
+ "type": "string",
83
+ "minLength": 1,
84
+ "maxLength": 256
85
+ },
86
+ "ownerRepo": {
87
+ "type": "string",
88
+ "minLength": 1,
89
+ "maxLength": 256
90
+ }
91
+ },
92
+ "required": [
93
+ "kind",
94
+ "id",
95
+ "ownerRepo"
96
+ ],
97
+ "additionalProperties": false
98
+ }
99
+ },
100
+ "required": [
101
+ "tenantRef",
102
+ "dataSpaceRef"
103
+ ],
104
+ "additionalProperties": false
105
+ },
106
+ "environmentRef": {
107
+ "type": "object",
108
+ "properties": {
109
+ "kind": {
110
+ "type": "string",
111
+ "minLength": 1,
112
+ "maxLength": 256
113
+ },
114
+ "id": {
115
+ "type": "string",
116
+ "minLength": 1,
117
+ "maxLength": 256
118
+ },
119
+ "ownerRepo": {
120
+ "type": "string",
121
+ "minLength": 1,
122
+ "maxLength": 256
123
+ },
124
+ "visibility": {
125
+ "type": "string",
126
+ "enum": [
127
+ "tenant",
128
+ "global",
129
+ "public"
130
+ ]
131
+ },
132
+ "tenantScope": {
133
+ "type": "object",
134
+ "properties": {
135
+ "tenantRef": {
136
+ "type": "object",
137
+ "properties": {
138
+ "kind": {
139
+ "type": "string",
140
+ "minLength": 1,
141
+ "maxLength": 256
142
+ },
143
+ "id": {
144
+ "type": "string",
145
+ "minLength": 1,
146
+ "maxLength": 256
147
+ },
148
+ "ownerRepo": {
149
+ "type": "string",
150
+ "minLength": 1,
151
+ "maxLength": 256
152
+ }
153
+ },
154
+ "required": [
155
+ "kind",
156
+ "id",
157
+ "ownerRepo"
158
+ ],
159
+ "additionalProperties": false
160
+ },
161
+ "dataSpaceRef": {
162
+ "type": "object",
163
+ "properties": {
164
+ "kind": {
165
+ "type": "string",
166
+ "minLength": 1,
167
+ "maxLength": 256
168
+ },
169
+ "id": {
170
+ "type": "string",
171
+ "minLength": 1,
172
+ "maxLength": 256
173
+ },
174
+ "ownerRepo": {
175
+ "type": "string",
176
+ "minLength": 1,
177
+ "maxLength": 256
178
+ }
179
+ },
180
+ "required": [
181
+ "kind",
182
+ "id",
183
+ "ownerRepo"
184
+ ],
185
+ "additionalProperties": false
186
+ },
187
+ "teamRef": {
188
+ "type": "object",
189
+ "properties": {
190
+ "kind": {
191
+ "type": "string",
192
+ "minLength": 1,
193
+ "maxLength": 256
194
+ },
195
+ "id": {
196
+ "type": "string",
197
+ "minLength": 1,
198
+ "maxLength": 256
199
+ },
200
+ "ownerRepo": {
201
+ "type": "string",
202
+ "minLength": 1,
203
+ "maxLength": 256
204
+ }
205
+ },
206
+ "required": [
207
+ "kind",
208
+ "id",
209
+ "ownerRepo"
210
+ ],
211
+ "additionalProperties": false
212
+ }
213
+ },
214
+ "required": [
215
+ "tenantRef",
216
+ "dataSpaceRef"
217
+ ],
218
+ "additionalProperties": false
219
+ }
220
+ },
221
+ "required": [
222
+ "kind",
223
+ "id",
224
+ "ownerRepo",
225
+ "visibility"
226
+ ],
227
+ "additionalProperties": false
228
+ },
229
+ "operations": {
230
+ "minItems": 1,
231
+ "type": "array",
232
+ "items": {
233
+ "type": "object",
234
+ "properties": {
235
+ "releaseKind": {
236
+ "type": "string",
237
+ "enum": [
238
+ "page-release",
239
+ "workbench-release",
240
+ "navigation-release"
241
+ ]
242
+ },
243
+ "releaseSlotId": {
244
+ "type": "string",
245
+ "minLength": 1,
246
+ "maxLength": 256
247
+ },
248
+ "releaseRevisionRef": {
249
+ "type": "object",
250
+ "properties": {
251
+ "kind": {
252
+ "type": "string",
253
+ "minLength": 1,
254
+ "maxLength": 256
255
+ },
256
+ "id": {
257
+ "type": "string",
258
+ "minLength": 1,
259
+ "maxLength": 256
260
+ },
261
+ "ownerRepo": {
262
+ "type": "string",
263
+ "minLength": 1,
264
+ "maxLength": 256
265
+ },
266
+ "visibility": {
267
+ "type": "string",
268
+ "enum": [
269
+ "tenant",
270
+ "global",
271
+ "public"
272
+ ]
273
+ },
274
+ "tenantScope": {
275
+ "type": "object",
276
+ "properties": {
277
+ "tenantRef": {
278
+ "type": "object",
279
+ "properties": {
280
+ "kind": {
281
+ "type": "string",
282
+ "minLength": 1,
283
+ "maxLength": 256
284
+ },
285
+ "id": {
286
+ "type": "string",
287
+ "minLength": 1,
288
+ "maxLength": 256
289
+ },
290
+ "ownerRepo": {
291
+ "type": "string",
292
+ "minLength": 1,
293
+ "maxLength": 256
294
+ }
295
+ },
296
+ "required": [
297
+ "kind",
298
+ "id",
299
+ "ownerRepo"
300
+ ],
301
+ "additionalProperties": false
302
+ },
303
+ "dataSpaceRef": {
304
+ "type": "object",
305
+ "properties": {
306
+ "kind": {
307
+ "type": "string",
308
+ "minLength": 1,
309
+ "maxLength": 256
310
+ },
311
+ "id": {
312
+ "type": "string",
313
+ "minLength": 1,
314
+ "maxLength": 256
315
+ },
316
+ "ownerRepo": {
317
+ "type": "string",
318
+ "minLength": 1,
319
+ "maxLength": 256
320
+ }
321
+ },
322
+ "required": [
323
+ "kind",
324
+ "id",
325
+ "ownerRepo"
326
+ ],
327
+ "additionalProperties": false
328
+ },
329
+ "teamRef": {
330
+ "type": "object",
331
+ "properties": {
332
+ "kind": {
333
+ "type": "string",
334
+ "minLength": 1,
335
+ "maxLength": 256
336
+ },
337
+ "id": {
338
+ "type": "string",
339
+ "minLength": 1,
340
+ "maxLength": 256
341
+ },
342
+ "ownerRepo": {
343
+ "type": "string",
344
+ "minLength": 1,
345
+ "maxLength": 256
346
+ }
347
+ },
348
+ "required": [
349
+ "kind",
350
+ "id",
351
+ "ownerRepo"
352
+ ],
353
+ "additionalProperties": false
354
+ }
355
+ },
356
+ "required": [
357
+ "tenantRef",
358
+ "dataSpaceRef"
359
+ ],
360
+ "additionalProperties": false
361
+ },
362
+ "revision": {
363
+ "type": "integer",
364
+ "exclusiveMinimum": 0,
365
+ "maximum": 9007199254740991
366
+ },
367
+ "schemaVersion": {
368
+ "type": "integer",
369
+ "exclusiveMinimum": 0,
370
+ "maximum": 9007199254740991
371
+ },
372
+ "contentHash": {
373
+ "type": "string",
374
+ "pattern": "^[a-f0-9]{64}$"
375
+ }
376
+ },
377
+ "required": [
378
+ "kind",
379
+ "id",
380
+ "ownerRepo",
381
+ "visibility",
382
+ "revision",
383
+ "schemaVersion",
384
+ "contentHash"
385
+ ],
386
+ "additionalProperties": false
387
+ },
388
+ "expectedHeadRevisionRef": {
389
+ "anyOf": [
390
+ {
391
+ "type": "object",
392
+ "properties": {
393
+ "kind": {
394
+ "type": "string",
395
+ "minLength": 1,
396
+ "maxLength": 256
397
+ },
398
+ "id": {
399
+ "type": "string",
400
+ "minLength": 1,
401
+ "maxLength": 256
402
+ },
403
+ "ownerRepo": {
404
+ "type": "string",
405
+ "minLength": 1,
406
+ "maxLength": 256
407
+ },
408
+ "visibility": {
409
+ "type": "string",
410
+ "enum": [
411
+ "tenant",
412
+ "global",
413
+ "public"
414
+ ]
415
+ },
416
+ "tenantScope": {
417
+ "type": "object",
418
+ "properties": {
419
+ "tenantRef": {
420
+ "type": "object",
421
+ "properties": {
422
+ "kind": {
423
+ "type": "string",
424
+ "minLength": 1,
425
+ "maxLength": 256
426
+ },
427
+ "id": {
428
+ "type": "string",
429
+ "minLength": 1,
430
+ "maxLength": 256
431
+ },
432
+ "ownerRepo": {
433
+ "type": "string",
434
+ "minLength": 1,
435
+ "maxLength": 256
436
+ }
437
+ },
438
+ "required": [
439
+ "kind",
440
+ "id",
441
+ "ownerRepo"
442
+ ],
443
+ "additionalProperties": false
444
+ },
445
+ "dataSpaceRef": {
446
+ "type": "object",
447
+ "properties": {
448
+ "kind": {
449
+ "type": "string",
450
+ "minLength": 1,
451
+ "maxLength": 256
452
+ },
453
+ "id": {
454
+ "type": "string",
455
+ "minLength": 1,
456
+ "maxLength": 256
457
+ },
458
+ "ownerRepo": {
459
+ "type": "string",
460
+ "minLength": 1,
461
+ "maxLength": 256
462
+ }
463
+ },
464
+ "required": [
465
+ "kind",
466
+ "id",
467
+ "ownerRepo"
468
+ ],
469
+ "additionalProperties": false
470
+ },
471
+ "teamRef": {
472
+ "type": "object",
473
+ "properties": {
474
+ "kind": {
475
+ "type": "string",
476
+ "minLength": 1,
477
+ "maxLength": 256
478
+ },
479
+ "id": {
480
+ "type": "string",
481
+ "minLength": 1,
482
+ "maxLength": 256
483
+ },
484
+ "ownerRepo": {
485
+ "type": "string",
486
+ "minLength": 1,
487
+ "maxLength": 256
488
+ }
489
+ },
490
+ "required": [
491
+ "kind",
492
+ "id",
493
+ "ownerRepo"
494
+ ],
495
+ "additionalProperties": false
496
+ }
497
+ },
498
+ "required": [
499
+ "tenantRef",
500
+ "dataSpaceRef"
501
+ ],
502
+ "additionalProperties": false
503
+ },
504
+ "revision": {
505
+ "type": "integer",
506
+ "exclusiveMinimum": 0,
507
+ "maximum": 9007199254740991
508
+ },
509
+ "schemaVersion": {
510
+ "type": "integer",
511
+ "exclusiveMinimum": 0,
512
+ "maximum": 9007199254740991
513
+ },
514
+ "contentHash": {
515
+ "type": "string",
516
+ "pattern": "^[a-f0-9]{64}$"
517
+ }
518
+ },
519
+ "required": [
520
+ "kind",
521
+ "id",
522
+ "ownerRepo",
523
+ "visibility",
524
+ "revision",
525
+ "schemaVersion",
526
+ "contentHash"
527
+ ],
528
+ "additionalProperties": false
529
+ },
530
+ {
531
+ "type": "null"
532
+ }
533
+ ]
534
+ }
535
+ },
536
+ "required": [
537
+ "releaseKind",
538
+ "releaseSlotId",
539
+ "releaseRevisionRef",
540
+ "expectedHeadRevisionRef"
541
+ ],
542
+ "additionalProperties": false
543
+ }
544
+ },
545
+ "validation": {
546
+ "type": "object",
547
+ "properties": {
548
+ "result": {
549
+ "type": "string",
550
+ "enum": [
551
+ "pass",
552
+ "fail"
553
+ ]
554
+ },
555
+ "inputHash": {
556
+ "type": "string",
557
+ "pattern": "^[a-f0-9]{64}$"
558
+ },
559
+ "diagnosticRefs": {
560
+ "type": "array",
561
+ "items": {
562
+ "type": "object",
563
+ "properties": {
564
+ "kind": {
565
+ "type": "string",
566
+ "minLength": 1,
567
+ "maxLength": 256
568
+ },
569
+ "id": {
570
+ "type": "string",
571
+ "minLength": 1,
572
+ "maxLength": 256
573
+ },
574
+ "ownerRepo": {
575
+ "type": "string",
576
+ "minLength": 1,
577
+ "maxLength": 256
578
+ },
579
+ "visibility": {
580
+ "type": "string",
581
+ "enum": [
582
+ "tenant",
583
+ "global",
584
+ "public"
585
+ ]
586
+ },
587
+ "tenantScope": {
588
+ "type": "object",
589
+ "properties": {
590
+ "tenantRef": {
591
+ "type": "object",
592
+ "properties": {
593
+ "kind": {
594
+ "type": "string",
595
+ "minLength": 1,
596
+ "maxLength": 256
597
+ },
598
+ "id": {
599
+ "type": "string",
600
+ "minLength": 1,
601
+ "maxLength": 256
602
+ },
603
+ "ownerRepo": {
604
+ "type": "string",
605
+ "minLength": 1,
606
+ "maxLength": 256
607
+ }
608
+ },
609
+ "required": [
610
+ "kind",
611
+ "id",
612
+ "ownerRepo"
613
+ ],
614
+ "additionalProperties": false
615
+ },
616
+ "dataSpaceRef": {
617
+ "type": "object",
618
+ "properties": {
619
+ "kind": {
620
+ "type": "string",
621
+ "minLength": 1,
622
+ "maxLength": 256
623
+ },
624
+ "id": {
625
+ "type": "string",
626
+ "minLength": 1,
627
+ "maxLength": 256
628
+ },
629
+ "ownerRepo": {
630
+ "type": "string",
631
+ "minLength": 1,
632
+ "maxLength": 256
633
+ }
634
+ },
635
+ "required": [
636
+ "kind",
637
+ "id",
638
+ "ownerRepo"
639
+ ],
640
+ "additionalProperties": false
641
+ },
642
+ "teamRef": {
643
+ "type": "object",
644
+ "properties": {
645
+ "kind": {
646
+ "type": "string",
647
+ "minLength": 1,
648
+ "maxLength": 256
649
+ },
650
+ "id": {
651
+ "type": "string",
652
+ "minLength": 1,
653
+ "maxLength": 256
654
+ },
655
+ "ownerRepo": {
656
+ "type": "string",
657
+ "minLength": 1,
658
+ "maxLength": 256
659
+ }
660
+ },
661
+ "required": [
662
+ "kind",
663
+ "id",
664
+ "ownerRepo"
665
+ ],
666
+ "additionalProperties": false
667
+ }
668
+ },
669
+ "required": [
670
+ "tenantRef",
671
+ "dataSpaceRef"
672
+ ],
673
+ "additionalProperties": false
674
+ },
675
+ "revision": {
676
+ "type": "integer",
677
+ "exclusiveMinimum": 0,
678
+ "maximum": 9007199254740991
679
+ },
680
+ "schemaVersion": {
681
+ "type": "integer",
682
+ "exclusiveMinimum": 0,
683
+ "maximum": 9007199254740991
684
+ },
685
+ "contentHash": {
686
+ "type": "string",
687
+ "pattern": "^[a-f0-9]{64}$"
688
+ }
689
+ },
690
+ "required": [
691
+ "kind",
692
+ "id",
693
+ "ownerRepo",
694
+ "visibility",
695
+ "revision",
696
+ "schemaVersion",
697
+ "contentHash"
698
+ ],
699
+ "additionalProperties": false
700
+ }
701
+ }
702
+ },
703
+ "required": [
704
+ "result",
705
+ "inputHash",
706
+ "diagnosticRefs"
707
+ ],
708
+ "additionalProperties": false
709
+ },
710
+ "approvalPolicyRevisionRef": {
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
+ "visibility": {
729
+ "type": "string",
730
+ "enum": [
731
+ "tenant",
732
+ "global",
733
+ "public"
734
+ ]
735
+ },
736
+ "tenantScope": {
737
+ "type": "object",
738
+ "properties": {
739
+ "tenantRef": {
740
+ "type": "object",
741
+ "properties": {
742
+ "kind": {
743
+ "type": "string",
744
+ "minLength": 1,
745
+ "maxLength": 256
746
+ },
747
+ "id": {
748
+ "type": "string",
749
+ "minLength": 1,
750
+ "maxLength": 256
751
+ },
752
+ "ownerRepo": {
753
+ "type": "string",
754
+ "minLength": 1,
755
+ "maxLength": 256
756
+ }
757
+ },
758
+ "required": [
759
+ "kind",
760
+ "id",
761
+ "ownerRepo"
762
+ ],
763
+ "additionalProperties": false
764
+ },
765
+ "dataSpaceRef": {
766
+ "type": "object",
767
+ "properties": {
768
+ "kind": {
769
+ "type": "string",
770
+ "minLength": 1,
771
+ "maxLength": 256
772
+ },
773
+ "id": {
774
+ "type": "string",
775
+ "minLength": 1,
776
+ "maxLength": 256
777
+ },
778
+ "ownerRepo": {
779
+ "type": "string",
780
+ "minLength": 1,
781
+ "maxLength": 256
782
+ }
783
+ },
784
+ "required": [
785
+ "kind",
786
+ "id",
787
+ "ownerRepo"
788
+ ],
789
+ "additionalProperties": false
790
+ },
791
+ "teamRef": {
792
+ "type": "object",
793
+ "properties": {
794
+ "kind": {
795
+ "type": "string",
796
+ "minLength": 1,
797
+ "maxLength": 256
798
+ },
799
+ "id": {
800
+ "type": "string",
801
+ "minLength": 1,
802
+ "maxLength": 256
803
+ },
804
+ "ownerRepo": {
805
+ "type": "string",
806
+ "minLength": 1,
807
+ "maxLength": 256
808
+ }
809
+ },
810
+ "required": [
811
+ "kind",
812
+ "id",
813
+ "ownerRepo"
814
+ ],
815
+ "additionalProperties": false
816
+ }
817
+ },
818
+ "required": [
819
+ "tenantRef",
820
+ "dataSpaceRef"
821
+ ],
822
+ "additionalProperties": false
823
+ },
824
+ "revision": {
825
+ "type": "integer",
826
+ "exclusiveMinimum": 0,
827
+ "maximum": 9007199254740991
828
+ },
829
+ "schemaVersion": {
830
+ "type": "integer",
831
+ "exclusiveMinimum": 0,
832
+ "maximum": 9007199254740991
833
+ },
834
+ "contentHash": {
835
+ "type": "string",
836
+ "pattern": "^[a-f0-9]{64}$"
837
+ }
838
+ },
839
+ "required": [
840
+ "kind",
841
+ "id",
842
+ "ownerRepo",
843
+ "visibility",
844
+ "revision",
845
+ "schemaVersion",
846
+ "contentHash"
847
+ ],
848
+ "additionalProperties": false
849
+ },
850
+ "approvalDecisionRevisionRef": {
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
+ "visibility": {
869
+ "type": "string",
870
+ "enum": [
871
+ "tenant",
872
+ "global",
873
+ "public"
874
+ ]
875
+ },
876
+ "tenantScope": {
877
+ "type": "object",
878
+ "properties": {
879
+ "tenantRef": {
880
+ "type": "object",
881
+ "properties": {
882
+ "kind": {
883
+ "type": "string",
884
+ "minLength": 1,
885
+ "maxLength": 256
886
+ },
887
+ "id": {
888
+ "type": "string",
889
+ "minLength": 1,
890
+ "maxLength": 256
891
+ },
892
+ "ownerRepo": {
893
+ "type": "string",
894
+ "minLength": 1,
895
+ "maxLength": 256
896
+ }
897
+ },
898
+ "required": [
899
+ "kind",
900
+ "id",
901
+ "ownerRepo"
902
+ ],
903
+ "additionalProperties": false
904
+ },
905
+ "dataSpaceRef": {
906
+ "type": "object",
907
+ "properties": {
908
+ "kind": {
909
+ "type": "string",
910
+ "minLength": 1,
911
+ "maxLength": 256
912
+ },
913
+ "id": {
914
+ "type": "string",
915
+ "minLength": 1,
916
+ "maxLength": 256
917
+ },
918
+ "ownerRepo": {
919
+ "type": "string",
920
+ "minLength": 1,
921
+ "maxLength": 256
922
+ }
923
+ },
924
+ "required": [
925
+ "kind",
926
+ "id",
927
+ "ownerRepo"
928
+ ],
929
+ "additionalProperties": false
930
+ },
931
+ "teamRef": {
932
+ "type": "object",
933
+ "properties": {
934
+ "kind": {
935
+ "type": "string",
936
+ "minLength": 1,
937
+ "maxLength": 256
938
+ },
939
+ "id": {
940
+ "type": "string",
941
+ "minLength": 1,
942
+ "maxLength": 256
943
+ },
944
+ "ownerRepo": {
945
+ "type": "string",
946
+ "minLength": 1,
947
+ "maxLength": 256
948
+ }
949
+ },
950
+ "required": [
951
+ "kind",
952
+ "id",
953
+ "ownerRepo"
954
+ ],
955
+ "additionalProperties": false
956
+ }
957
+ },
958
+ "required": [
959
+ "tenantRef",
960
+ "dataSpaceRef"
961
+ ],
962
+ "additionalProperties": false
963
+ },
964
+ "revision": {
965
+ "type": "integer",
966
+ "exclusiveMinimum": 0,
967
+ "maximum": 9007199254740991
968
+ },
969
+ "schemaVersion": {
970
+ "type": "integer",
971
+ "exclusiveMinimum": 0,
972
+ "maximum": 9007199254740991
973
+ },
974
+ "contentHash": {
975
+ "type": "string",
976
+ "pattern": "^[a-f0-9]{64}$"
977
+ }
978
+ },
979
+ "required": [
980
+ "kind",
981
+ "id",
982
+ "ownerRepo",
983
+ "visibility",
984
+ "revision",
985
+ "schemaVersion",
986
+ "contentHash"
987
+ ],
988
+ "additionalProperties": false
989
+ },
990
+ "actorRef": {
991
+ "type": "object",
992
+ "properties": {
993
+ "kind": {
994
+ "type": "string",
995
+ "minLength": 1,
996
+ "maxLength": 256
997
+ },
998
+ "id": {
999
+ "type": "string",
1000
+ "minLength": 1,
1001
+ "maxLength": 256
1002
+ },
1003
+ "ownerRepo": {
1004
+ "type": "string",
1005
+ "minLength": 1,
1006
+ "maxLength": 256
1007
+ },
1008
+ "visibility": {
1009
+ "type": "string",
1010
+ "enum": [
1011
+ "tenant",
1012
+ "global",
1013
+ "public"
1014
+ ]
1015
+ },
1016
+ "tenantScope": {
1017
+ "type": "object",
1018
+ "properties": {
1019
+ "tenantRef": {
1020
+ "type": "object",
1021
+ "properties": {
1022
+ "kind": {
1023
+ "type": "string",
1024
+ "minLength": 1,
1025
+ "maxLength": 256
1026
+ },
1027
+ "id": {
1028
+ "type": "string",
1029
+ "minLength": 1,
1030
+ "maxLength": 256
1031
+ },
1032
+ "ownerRepo": {
1033
+ "type": "string",
1034
+ "minLength": 1,
1035
+ "maxLength": 256
1036
+ }
1037
+ },
1038
+ "required": [
1039
+ "kind",
1040
+ "id",
1041
+ "ownerRepo"
1042
+ ],
1043
+ "additionalProperties": false
1044
+ },
1045
+ "dataSpaceRef": {
1046
+ "type": "object",
1047
+ "properties": {
1048
+ "kind": {
1049
+ "type": "string",
1050
+ "minLength": 1,
1051
+ "maxLength": 256
1052
+ },
1053
+ "id": {
1054
+ "type": "string",
1055
+ "minLength": 1,
1056
+ "maxLength": 256
1057
+ },
1058
+ "ownerRepo": {
1059
+ "type": "string",
1060
+ "minLength": 1,
1061
+ "maxLength": 256
1062
+ }
1063
+ },
1064
+ "required": [
1065
+ "kind",
1066
+ "id",
1067
+ "ownerRepo"
1068
+ ],
1069
+ "additionalProperties": false
1070
+ },
1071
+ "teamRef": {
1072
+ "type": "object",
1073
+ "properties": {
1074
+ "kind": {
1075
+ "type": "string",
1076
+ "minLength": 1,
1077
+ "maxLength": 256
1078
+ },
1079
+ "id": {
1080
+ "type": "string",
1081
+ "minLength": 1,
1082
+ "maxLength": 256
1083
+ },
1084
+ "ownerRepo": {
1085
+ "type": "string",
1086
+ "minLength": 1,
1087
+ "maxLength": 256
1088
+ }
1089
+ },
1090
+ "required": [
1091
+ "kind",
1092
+ "id",
1093
+ "ownerRepo"
1094
+ ],
1095
+ "additionalProperties": false
1096
+ }
1097
+ },
1098
+ "required": [
1099
+ "tenantRef",
1100
+ "dataSpaceRef"
1101
+ ],
1102
+ "additionalProperties": false
1103
+ }
1104
+ },
1105
+ "required": [
1106
+ "kind",
1107
+ "id",
1108
+ "ownerRepo",
1109
+ "visibility"
1110
+ ],
1111
+ "additionalProperties": false
1112
+ },
1113
+ "idempotencyKey": {
1114
+ "type": "string",
1115
+ "minLength": 1,
1116
+ "maxLength": 256
1117
+ },
1118
+ "evidenceRefs": {
1119
+ "minItems": 1,
1120
+ "type": "array",
1121
+ "items": {
1122
+ "type": "object",
1123
+ "properties": {
1124
+ "kind": {
1125
+ "type": "string",
1126
+ "minLength": 1,
1127
+ "maxLength": 256
1128
+ },
1129
+ "id": {
1130
+ "type": "string",
1131
+ "minLength": 1,
1132
+ "maxLength": 256
1133
+ },
1134
+ "ownerRepo": {
1135
+ "type": "string",
1136
+ "minLength": 1,
1137
+ "maxLength": 256
1138
+ },
1139
+ "visibility": {
1140
+ "type": "string",
1141
+ "enum": [
1142
+ "tenant",
1143
+ "global",
1144
+ "public"
1145
+ ]
1146
+ },
1147
+ "tenantScope": {
1148
+ "type": "object",
1149
+ "properties": {
1150
+ "tenantRef": {
1151
+ "type": "object",
1152
+ "properties": {
1153
+ "kind": {
1154
+ "type": "string",
1155
+ "minLength": 1,
1156
+ "maxLength": 256
1157
+ },
1158
+ "id": {
1159
+ "type": "string",
1160
+ "minLength": 1,
1161
+ "maxLength": 256
1162
+ },
1163
+ "ownerRepo": {
1164
+ "type": "string",
1165
+ "minLength": 1,
1166
+ "maxLength": 256
1167
+ }
1168
+ },
1169
+ "required": [
1170
+ "kind",
1171
+ "id",
1172
+ "ownerRepo"
1173
+ ],
1174
+ "additionalProperties": false
1175
+ },
1176
+ "dataSpaceRef": {
1177
+ "type": "object",
1178
+ "properties": {
1179
+ "kind": {
1180
+ "type": "string",
1181
+ "minLength": 1,
1182
+ "maxLength": 256
1183
+ },
1184
+ "id": {
1185
+ "type": "string",
1186
+ "minLength": 1,
1187
+ "maxLength": 256
1188
+ },
1189
+ "ownerRepo": {
1190
+ "type": "string",
1191
+ "minLength": 1,
1192
+ "maxLength": 256
1193
+ }
1194
+ },
1195
+ "required": [
1196
+ "kind",
1197
+ "id",
1198
+ "ownerRepo"
1199
+ ],
1200
+ "additionalProperties": false
1201
+ },
1202
+ "teamRef": {
1203
+ "type": "object",
1204
+ "properties": {
1205
+ "kind": {
1206
+ "type": "string",
1207
+ "minLength": 1,
1208
+ "maxLength": 256
1209
+ },
1210
+ "id": {
1211
+ "type": "string",
1212
+ "minLength": 1,
1213
+ "maxLength": 256
1214
+ },
1215
+ "ownerRepo": {
1216
+ "type": "string",
1217
+ "minLength": 1,
1218
+ "maxLength": 256
1219
+ }
1220
+ },
1221
+ "required": [
1222
+ "kind",
1223
+ "id",
1224
+ "ownerRepo"
1225
+ ],
1226
+ "additionalProperties": false
1227
+ }
1228
+ },
1229
+ "required": [
1230
+ "tenantRef",
1231
+ "dataSpaceRef"
1232
+ ],
1233
+ "additionalProperties": false
1234
+ },
1235
+ "revision": {
1236
+ "type": "integer",
1237
+ "exclusiveMinimum": 0,
1238
+ "maximum": 9007199254740991
1239
+ },
1240
+ "schemaVersion": {
1241
+ "type": "integer",
1242
+ "exclusiveMinimum": 0,
1243
+ "maximum": 9007199254740991
1244
+ },
1245
+ "contentHash": {
1246
+ "type": "string",
1247
+ "pattern": "^[a-f0-9]{64}$"
1248
+ }
1249
+ },
1250
+ "required": [
1251
+ "kind",
1252
+ "id",
1253
+ "ownerRepo",
1254
+ "visibility",
1255
+ "revision",
1256
+ "schemaVersion",
1257
+ "contentHash"
1258
+ ],
1259
+ "additionalProperties": false
1260
+ }
1261
+ },
1262
+ "createdAt": {
1263
+ "type": "string",
1264
+ "format": "date-time",
1265
+ "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)))$"
1266
+ }
1267
+ },
1268
+ "required": [
1269
+ "contract",
1270
+ "schemaVersion",
1271
+ "planId",
1272
+ "tenantScope",
1273
+ "environmentRef",
1274
+ "operations",
1275
+ "validation",
1276
+ "approvalPolicyRevisionRef",
1277
+ "approvalDecisionRevisionRef",
1278
+ "actorRef",
1279
+ "idempotencyKey",
1280
+ "evidenceRefs",
1281
+ "createdAt"
1282
+ ],
1283
+ "additionalProperties": false,
1284
+ "$id": "https://schemas.infmonkeys.com/contracts/publication-plan.schema.json",
1285
+ "title": "publication-plan"
1286
+ }