@inf-monkeys-tech/monkeys 1.1.16 → 1.1.18

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