@inf-monkeys-tech/monkeys 1.1.52 → 1.1.54

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 (86) hide show
  1. package/lib/contracts/action-program-http.d.ts +202 -0
  2. package/lib/contracts/action-program-http.d.ts.map +1 -1
  3. package/lib/contracts/declarative-control-http.d.ts +44345 -12496
  4. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  5. package/lib/contracts/declarative-control-http.js +37 -4
  6. package/lib/contracts/declarative-control-http.js.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +1738 -246
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-control.js +166 -20
  10. package/lib/contracts/declarative-control.js.map +1 -1
  11. package/lib/contracts/declarative-document-import.d.ts +640 -10
  12. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  13. package/lib/contracts/declarative-publication-job.d.ts +3318 -578
  14. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  15. package/lib/contracts/menu.d.ts +329 -0
  16. package/lib/contracts/menu.d.ts.map +1 -1
  17. package/lib/contracts/page-expression.d.ts +1 -0
  18. package/lib/contracts/page-expression.d.ts.map +1 -1
  19. package/lib/contracts/page-expression.js +1 -1
  20. package/lib/contracts/page-expression.js.map +1 -1
  21. package/lib/contracts/page.d.ts +989 -0
  22. package/lib/contracts/page.d.ts.map +1 -1
  23. package/lib/contracts/page.js +24 -1
  24. package/lib/contracts/page.js.map +1 -1
  25. package/lib/contracts/semantic.d.ts +329 -0
  26. package/lib/contracts/semantic.d.ts.map +1 -1
  27. package/lib/contracts/tenant.d.ts +1645 -0
  28. package/lib/contracts/tenant.d.ts.map +1 -1
  29. package/lib/esm/{chunk-EMZG7H6M.mjs → chunk-66A4GGOV.mjs} +2 -2
  30. package/lib/esm/{chunk-LQ72DLZI.mjs → chunk-DIIMDX7F.mjs} +220 -23
  31. package/lib/esm/chunk-DIIMDX7F.mjs.map +1 -0
  32. package/lib/esm/{chunk-E46Y3E7E.mjs → chunk-E6YPJ4DR.mjs} +2 -2
  33. package/lib/esm/{chunk-TFNKWLY6.mjs → chunk-ITGLKSCE.mjs} +295 -13
  34. package/lib/esm/chunk-ITGLKSCE.mjs.map +1 -0
  35. package/lib/esm/{chunk-BNFELJET.mjs → chunk-RMZW3SVL.mjs} +3 -3
  36. package/lib/esm/{chunk-CB4WTYNQ.mjs → chunk-TROZIHS4.mjs} +2 -2
  37. package/lib/esm/contracts/index.mjs +28 -4
  38. package/lib/esm/index.mjs +48 -6
  39. package/lib/esm/index.mjs.map +1 -1
  40. package/lib/esm/runtime/index.mjs +21 -3
  41. package/lib/esm/schemas/index.mjs +3 -3
  42. package/lib/json-schema/declarative-route-owner-index.schema.json +10 -2
  43. package/lib/json-schema/navigation-runtime-bundle.schema.json +21 -1
  44. package/lib/json-schema/navigation.schema.json +21 -1
  45. package/lib/json-schema/overlay-node.schema.json +2 -1
  46. package/lib/json-schema/page-definition.schema.json +1739 -3
  47. package/lib/json-schema/page-release.schema.json +80 -6
  48. package/lib/json-schema/page-runtime-bundle.schema.json +2453 -372
  49. package/lib/json-schema/page-runtime-descriptor.schema.json +1739 -3
  50. package/lib/json-schema/page.schema.json +958 -215
  51. package/lib/json-schema/product-declaration.schema.json +1736 -0
  52. package/lib/json-schema/render-node.schema.json +2 -1
  53. package/lib/json-schema/render-tree.schema.json +2 -1
  54. package/lib/json-schema/tenant-product-config.schema.json +1736 -0
  55. package/lib/json-schema/tenant-runtime-config.schema.json +1736 -0
  56. package/lib/runtime/declarative-control-compiler.d.ts +5 -0
  57. package/lib/runtime/declarative-control-compiler.d.ts.map +1 -1
  58. package/lib/runtime/declarative-control-compiler.js +105 -12
  59. package/lib/runtime/declarative-control-compiler.js.map +1 -1
  60. package/lib/runtime/index.d.ts +2 -0
  61. package/lib/runtime/index.d.ts.map +1 -1
  62. package/lib/runtime/index.js +2 -0
  63. package/lib/runtime/index.js.map +1 -1
  64. package/lib/runtime/native-page-composition.d.ts +319 -0
  65. package/lib/runtime/native-page-composition.d.ts.map +1 -0
  66. package/lib/runtime/native-page-composition.js +19 -0
  67. package/lib/runtime/native-page-composition.js.map +1 -0
  68. package/lib/runtime/page-composition.js +1 -1
  69. package/lib/runtime/page-composition.js.map +1 -1
  70. package/lib/runtime/page-expression.d.ts +1 -1
  71. package/lib/runtime/page-expression.d.ts.map +1 -1
  72. package/lib/runtime/page-mount.d.ts +26 -0
  73. package/lib/runtime/page-mount.d.ts.map +1 -0
  74. package/lib/runtime/page-mount.js +203 -0
  75. package/lib/runtime/page-mount.js.map +1 -0
  76. package/lib/runtime/runtime-definition-wire.d.ts +6759 -357
  77. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  78. package/lib/schemas/index.d.ts +2544 -349
  79. package/lib/schemas/index.d.ts.map +1 -1
  80. package/package.json +2 -2
  81. package/lib/esm/chunk-LQ72DLZI.mjs.map +0 -1
  82. package/lib/esm/chunk-TFNKWLY6.mjs.map +0 -1
  83. /package/lib/esm/{chunk-EMZG7H6M.mjs.map → chunk-66A4GGOV.mjs.map} +0 -0
  84. /package/lib/esm/{chunk-E46Y3E7E.mjs.map → chunk-E6YPJ4DR.mjs.map} +0 -0
  85. /package/lib/esm/{chunk-BNFELJET.mjs.map → chunk-RMZW3SVL.mjs.map} +0 -0
  86. /package/lib/esm/{chunk-CB4WTYNQ.mjs.map → chunk-TROZIHS4.mjs.map} +0 -0
@@ -197,6 +197,1619 @@
197
197
  ],
198
198
  "additionalProperties": false
199
199
  },
200
+ "composition": {
201
+ "type": "object",
202
+ "properties": {
203
+ "schemaVersion": {
204
+ "type": "number",
205
+ "const": 1
206
+ },
207
+ "surface": {
208
+ "type": "string",
209
+ "const": "studio"
210
+ },
211
+ "environmentRef": {
212
+ "type": "object",
213
+ "properties": {
214
+ "kind": {
215
+ "type": "string",
216
+ "minLength": 1,
217
+ "maxLength": 256
218
+ },
219
+ "id": {
220
+ "type": "string",
221
+ "minLength": 1,
222
+ "maxLength": 256
223
+ },
224
+ "ownerRepo": {
225
+ "type": "string",
226
+ "minLength": 1,
227
+ "maxLength": 256
228
+ },
229
+ "visibility": {
230
+ "type": "string",
231
+ "enum": [
232
+ "tenant",
233
+ "global",
234
+ "public"
235
+ ]
236
+ },
237
+ "tenantScope": {
238
+ "type": "object",
239
+ "properties": {
240
+ "tenantRef": {
241
+ "type": "object",
242
+ "properties": {
243
+ "kind": {
244
+ "type": "string",
245
+ "minLength": 1,
246
+ "maxLength": 256
247
+ },
248
+ "id": {
249
+ "type": "string",
250
+ "minLength": 1,
251
+ "maxLength": 256
252
+ },
253
+ "ownerRepo": {
254
+ "type": "string",
255
+ "minLength": 1,
256
+ "maxLength": 256
257
+ }
258
+ },
259
+ "required": [
260
+ "kind",
261
+ "id",
262
+ "ownerRepo"
263
+ ],
264
+ "additionalProperties": false
265
+ },
266
+ "dataSpaceRef": {
267
+ "type": "object",
268
+ "properties": {
269
+ "kind": {
270
+ "type": "string",
271
+ "minLength": 1,
272
+ "maxLength": 256
273
+ },
274
+ "id": {
275
+ "type": "string",
276
+ "minLength": 1,
277
+ "maxLength": 256
278
+ },
279
+ "ownerRepo": {
280
+ "type": "string",
281
+ "minLength": 1,
282
+ "maxLength": 256
283
+ }
284
+ },
285
+ "required": [
286
+ "kind",
287
+ "id",
288
+ "ownerRepo"
289
+ ],
290
+ "additionalProperties": false
291
+ },
292
+ "teamRef": {
293
+ "type": "object",
294
+ "properties": {
295
+ "kind": {
296
+ "type": "string",
297
+ "minLength": 1,
298
+ "maxLength": 256
299
+ },
300
+ "id": {
301
+ "type": "string",
302
+ "minLength": 1,
303
+ "maxLength": 256
304
+ },
305
+ "ownerRepo": {
306
+ "type": "string",
307
+ "minLength": 1,
308
+ "maxLength": 256
309
+ }
310
+ },
311
+ "required": [
312
+ "kind",
313
+ "id",
314
+ "ownerRepo"
315
+ ],
316
+ "additionalProperties": false
317
+ }
318
+ },
319
+ "required": [
320
+ "tenantRef",
321
+ "dataSpaceRef"
322
+ ],
323
+ "additionalProperties": false
324
+ }
325
+ },
326
+ "required": [
327
+ "kind",
328
+ "id",
329
+ "ownerRepo",
330
+ "visibility"
331
+ ],
332
+ "additionalProperties": false
333
+ },
334
+ "stateRetention": {
335
+ "type": "string",
336
+ "const": "mounted-while-child-active"
337
+ },
338
+ "mounts": {
339
+ "minItems": 1,
340
+ "maxItems": 16,
341
+ "type": "array",
342
+ "items": {
343
+ "type": "object",
344
+ "properties": {
345
+ "mountId": {
346
+ "type": "string",
347
+ "minLength": 1,
348
+ "maxLength": 256
349
+ },
350
+ "target": {
351
+ "type": "object",
352
+ "properties": {
353
+ "kind": {
354
+ "type": "string",
355
+ "const": "page"
356
+ },
357
+ "id": {
358
+ "type": "string",
359
+ "minLength": 1,
360
+ "maxLength": 256
361
+ }
362
+ },
363
+ "required": [
364
+ "kind",
365
+ "id"
366
+ ],
367
+ "additionalProperties": false
368
+ },
369
+ "slot": {
370
+ "type": "string",
371
+ "minLength": 1,
372
+ "maxLength": 256
373
+ },
374
+ "presentation": {
375
+ "type": "string",
376
+ "enum": [
377
+ "inline",
378
+ "panel",
379
+ "drawer",
380
+ "modal",
381
+ "fullscreen"
382
+ ]
383
+ },
384
+ "inputs": {
385
+ "type": "object",
386
+ "propertyNames": {
387
+ "type": "string",
388
+ "minLength": 1,
389
+ "maxLength": 256
390
+ },
391
+ "additionalProperties": {
392
+ "anyOf": [
393
+ {
394
+ "type": "object",
395
+ "properties": {
396
+ "kind": {
397
+ "type": "string",
398
+ "const": "page-parameter"
399
+ },
400
+ "name": {
401
+ "type": "string",
402
+ "minLength": 1,
403
+ "maxLength": 256
404
+ }
405
+ },
406
+ "required": [
407
+ "kind",
408
+ "name"
409
+ ],
410
+ "additionalProperties": false
411
+ },
412
+ {
413
+ "type": "object",
414
+ "properties": {
415
+ "kind": {
416
+ "type": "string",
417
+ "const": "scope-field"
418
+ },
419
+ "path": {
420
+ "type": "string",
421
+ "minLength": 1,
422
+ "maxLength": 4096,
423
+ "pattern": "^[A-Za-z0-9_.-]+$"
424
+ }
425
+ },
426
+ "required": [
427
+ "kind",
428
+ "path"
429
+ ],
430
+ "additionalProperties": false
431
+ },
432
+ {
433
+ "type": "object",
434
+ "properties": {
435
+ "kind": {
436
+ "type": "string",
437
+ "const": "binding-field"
438
+ },
439
+ "bindingId": {
440
+ "type": "string",
441
+ "minLength": 1,
442
+ "maxLength": 256
443
+ },
444
+ "path": {
445
+ "type": "string",
446
+ "pattern": "^[A-Za-z0-9_.-]+$"
447
+ }
448
+ },
449
+ "required": [
450
+ "kind",
451
+ "bindingId",
452
+ "path"
453
+ ],
454
+ "additionalProperties": false
455
+ },
456
+ {
457
+ "type": "object",
458
+ "properties": {
459
+ "kind": {
460
+ "type": "string",
461
+ "const": "constant"
462
+ },
463
+ "value": {
464
+ "anyOf": [
465
+ {
466
+ "type": "string"
467
+ },
468
+ {
469
+ "type": "number"
470
+ },
471
+ {
472
+ "type": "boolean"
473
+ },
474
+ {
475
+ "type": "null"
476
+ }
477
+ ]
478
+ }
479
+ },
480
+ "required": [
481
+ "kind",
482
+ "value"
483
+ ],
484
+ "additionalProperties": false
485
+ },
486
+ {
487
+ "type": "object",
488
+ "properties": {
489
+ "kind": {
490
+ "type": "string",
491
+ "const": "route-parameter"
492
+ },
493
+ "name": {
494
+ "type": "string",
495
+ "minLength": 1,
496
+ "maxLength": 256
497
+ }
498
+ },
499
+ "required": [
500
+ "kind",
501
+ "name"
502
+ ],
503
+ "additionalProperties": false
504
+ },
505
+ {
506
+ "type": "object",
507
+ "properties": {
508
+ "kind": {
509
+ "type": "string",
510
+ "const": "query-parameter"
511
+ },
512
+ "name": {
513
+ "type": "string",
514
+ "minLength": 1,
515
+ "maxLength": 256
516
+ }
517
+ },
518
+ "required": [
519
+ "kind",
520
+ "name"
521
+ ],
522
+ "additionalProperties": false
523
+ },
524
+ {
525
+ "type": "object",
526
+ "properties": {
527
+ "kind": {
528
+ "type": "string",
529
+ "const": "identity"
530
+ },
531
+ "name": {
532
+ "type": "string",
533
+ "enum": [
534
+ "tenantId",
535
+ "teamId",
536
+ "userId"
537
+ ]
538
+ }
539
+ },
540
+ "required": [
541
+ "kind",
542
+ "name"
543
+ ],
544
+ "additionalProperties": false
545
+ },
546
+ {
547
+ "type": "object",
548
+ "properties": {
549
+ "kind": {
550
+ "type": "string",
551
+ "const": "intent-field"
552
+ },
553
+ "path": {
554
+ "type": "string",
555
+ "pattern": "^[A-Za-z0-9_.-]+$"
556
+ }
557
+ },
558
+ "required": [
559
+ "kind",
560
+ "path"
561
+ ],
562
+ "additionalProperties": false
563
+ },
564
+ {
565
+ "type": "object",
566
+ "properties": {
567
+ "kind": {
568
+ "type": "string",
569
+ "const": "page-state"
570
+ },
571
+ "stateId": {
572
+ "type": "string",
573
+ "minLength": 1,
574
+ "maxLength": 256
575
+ }
576
+ },
577
+ "required": [
578
+ "kind",
579
+ "stateId"
580
+ ],
581
+ "additionalProperties": false
582
+ }
583
+ ]
584
+ }
585
+ },
586
+ "instanceKey": {
587
+ "maxItems": 16,
588
+ "type": "array",
589
+ "items": {
590
+ "type": "string",
591
+ "minLength": 1,
592
+ "maxLength": 256
593
+ }
594
+ },
595
+ "route": {
596
+ "type": "object",
597
+ "properties": {
598
+ "path": {
599
+ "type": "string",
600
+ "minLength": 1,
601
+ "maxLength": 512,
602
+ "pattern": "^[A-Za-z0-9:_-]+(?:\\/[A-Za-z0-9:_-]+)*$"
603
+ },
604
+ "pathParameters": {
605
+ "type": "object",
606
+ "propertyNames": {
607
+ "type": "string",
608
+ "minLength": 1,
609
+ "maxLength": 256
610
+ },
611
+ "additionalProperties": {
612
+ "type": "string",
613
+ "minLength": 1,
614
+ "maxLength": 256
615
+ }
616
+ },
617
+ "query": {
618
+ "type": "object",
619
+ "propertyNames": {
620
+ "type": "string",
621
+ "minLength": 1,
622
+ "maxLength": 256
623
+ },
624
+ "additionalProperties": {
625
+ "type": "object",
626
+ "properties": {
627
+ "parameter": {
628
+ "type": "string",
629
+ "minLength": 1,
630
+ "maxLength": 256
631
+ },
632
+ "type": {
633
+ "type": "string",
634
+ "enum": [
635
+ "string",
636
+ "integer",
637
+ "boolean",
638
+ "json"
639
+ ]
640
+ }
641
+ },
642
+ "required": [
643
+ "parameter",
644
+ "type"
645
+ ],
646
+ "additionalProperties": false
647
+ }
648
+ }
649
+ },
650
+ "required": [
651
+ "path",
652
+ "pathParameters",
653
+ "query"
654
+ ],
655
+ "additionalProperties": false
656
+ },
657
+ "activeWhen": {
658
+ "$ref": "#/$defs/__schema0"
659
+ },
660
+ "consumeStateIds": {
661
+ "maxItems": 32,
662
+ "type": "array",
663
+ "items": {
664
+ "type": "string",
665
+ "minLength": 1,
666
+ "maxLength": 256
667
+ }
668
+ },
669
+ "on": {
670
+ "type": "object",
671
+ "propertyNames": {
672
+ "type": "string",
673
+ "minLength": 1,
674
+ "maxLength": 256
675
+ },
676
+ "additionalProperties": {
677
+ "anyOf": [
678
+ {
679
+ "type": "object",
680
+ "properties": {
681
+ "kind": {
682
+ "type": "string",
683
+ "const": "close"
684
+ }
685
+ },
686
+ "required": [
687
+ "kind"
688
+ ],
689
+ "additionalProperties": false
690
+ },
691
+ {
692
+ "type": "object",
693
+ "properties": {
694
+ "kind": {
695
+ "type": "string",
696
+ "const": "refresh"
697
+ },
698
+ "bindingIds": {
699
+ "minItems": 1,
700
+ "maxItems": 128,
701
+ "type": "array",
702
+ "items": {
703
+ "type": "string",
704
+ "minLength": 1,
705
+ "maxLength": 256
706
+ }
707
+ }
708
+ },
709
+ "required": [
710
+ "kind",
711
+ "bindingIds"
712
+ ],
713
+ "additionalProperties": false
714
+ },
715
+ {
716
+ "type": "object",
717
+ "properties": {
718
+ "kind": {
719
+ "type": "string",
720
+ "const": "state"
721
+ },
722
+ "stateId": {
723
+ "type": "string",
724
+ "minLength": 1,
725
+ "maxLength": 256
726
+ },
727
+ "path": {
728
+ "maxItems": 16,
729
+ "type": "array",
730
+ "items": {
731
+ "type": "string",
732
+ "minLength": 1,
733
+ "maxLength": 256
734
+ }
735
+ }
736
+ },
737
+ "required": [
738
+ "kind",
739
+ "stateId",
740
+ "path"
741
+ ],
742
+ "additionalProperties": false
743
+ }
744
+ ]
745
+ }
746
+ },
747
+ "backgroundQueryPolicy": {
748
+ "default": "when-active",
749
+ "type": "string",
750
+ "enum": [
751
+ "when-active",
752
+ "always"
753
+ ]
754
+ },
755
+ "targetRevisionRef": {
756
+ "type": "object",
757
+ "properties": {
758
+ "kind": {
759
+ "type": "string",
760
+ "minLength": 1,
761
+ "maxLength": 256
762
+ },
763
+ "id": {
764
+ "type": "string",
765
+ "minLength": 1,
766
+ "maxLength": 256
767
+ },
768
+ "ownerRepo": {
769
+ "type": "string",
770
+ "minLength": 1,
771
+ "maxLength": 256
772
+ },
773
+ "visibility": {
774
+ "type": "string",
775
+ "enum": [
776
+ "tenant",
777
+ "global",
778
+ "public"
779
+ ]
780
+ },
781
+ "tenantScope": {
782
+ "type": "object",
783
+ "properties": {
784
+ "tenantRef": {
785
+ "type": "object",
786
+ "properties": {
787
+ "kind": {
788
+ "type": "string",
789
+ "minLength": 1,
790
+ "maxLength": 256
791
+ },
792
+ "id": {
793
+ "type": "string",
794
+ "minLength": 1,
795
+ "maxLength": 256
796
+ },
797
+ "ownerRepo": {
798
+ "type": "string",
799
+ "minLength": 1,
800
+ "maxLength": 256
801
+ }
802
+ },
803
+ "required": [
804
+ "kind",
805
+ "id",
806
+ "ownerRepo"
807
+ ],
808
+ "additionalProperties": false
809
+ },
810
+ "dataSpaceRef": {
811
+ "type": "object",
812
+ "properties": {
813
+ "kind": {
814
+ "type": "string",
815
+ "minLength": 1,
816
+ "maxLength": 256
817
+ },
818
+ "id": {
819
+ "type": "string",
820
+ "minLength": 1,
821
+ "maxLength": 256
822
+ },
823
+ "ownerRepo": {
824
+ "type": "string",
825
+ "minLength": 1,
826
+ "maxLength": 256
827
+ }
828
+ },
829
+ "required": [
830
+ "kind",
831
+ "id",
832
+ "ownerRepo"
833
+ ],
834
+ "additionalProperties": false
835
+ },
836
+ "teamRef": {
837
+ "type": "object",
838
+ "properties": {
839
+ "kind": {
840
+ "type": "string",
841
+ "minLength": 1,
842
+ "maxLength": 256
843
+ },
844
+ "id": {
845
+ "type": "string",
846
+ "minLength": 1,
847
+ "maxLength": 256
848
+ },
849
+ "ownerRepo": {
850
+ "type": "string",
851
+ "minLength": 1,
852
+ "maxLength": 256
853
+ }
854
+ },
855
+ "required": [
856
+ "kind",
857
+ "id",
858
+ "ownerRepo"
859
+ ],
860
+ "additionalProperties": false
861
+ }
862
+ },
863
+ "required": [
864
+ "tenantRef",
865
+ "dataSpaceRef"
866
+ ],
867
+ "additionalProperties": false
868
+ },
869
+ "revision": {
870
+ "type": "integer",
871
+ "exclusiveMinimum": 0,
872
+ "maximum": 9007199254740991
873
+ },
874
+ "schemaVersion": {
875
+ "type": "integer",
876
+ "exclusiveMinimum": 0,
877
+ "maximum": 9007199254740991
878
+ },
879
+ "contentHash": {
880
+ "type": "string",
881
+ "pattern": "^[a-f0-9]{64}$"
882
+ }
883
+ },
884
+ "required": [
885
+ "kind",
886
+ "id",
887
+ "ownerRepo",
888
+ "visibility",
889
+ "revision",
890
+ "schemaVersion",
891
+ "contentHash"
892
+ ],
893
+ "additionalProperties": false
894
+ },
895
+ "targetReleaseRevisionRef": {
896
+ "type": "object",
897
+ "properties": {
898
+ "kind": {
899
+ "type": "string",
900
+ "minLength": 1,
901
+ "maxLength": 256
902
+ },
903
+ "id": {
904
+ "type": "string",
905
+ "minLength": 1,
906
+ "maxLength": 256
907
+ },
908
+ "ownerRepo": {
909
+ "type": "string",
910
+ "minLength": 1,
911
+ "maxLength": 256
912
+ },
913
+ "visibility": {
914
+ "type": "string",
915
+ "enum": [
916
+ "tenant",
917
+ "global",
918
+ "public"
919
+ ]
920
+ },
921
+ "tenantScope": {
922
+ "type": "object",
923
+ "properties": {
924
+ "tenantRef": {
925
+ "type": "object",
926
+ "properties": {
927
+ "kind": {
928
+ "type": "string",
929
+ "minLength": 1,
930
+ "maxLength": 256
931
+ },
932
+ "id": {
933
+ "type": "string",
934
+ "minLength": 1,
935
+ "maxLength": 256
936
+ },
937
+ "ownerRepo": {
938
+ "type": "string",
939
+ "minLength": 1,
940
+ "maxLength": 256
941
+ }
942
+ },
943
+ "required": [
944
+ "kind",
945
+ "id",
946
+ "ownerRepo"
947
+ ],
948
+ "additionalProperties": false
949
+ },
950
+ "dataSpaceRef": {
951
+ "type": "object",
952
+ "properties": {
953
+ "kind": {
954
+ "type": "string",
955
+ "minLength": 1,
956
+ "maxLength": 256
957
+ },
958
+ "id": {
959
+ "type": "string",
960
+ "minLength": 1,
961
+ "maxLength": 256
962
+ },
963
+ "ownerRepo": {
964
+ "type": "string",
965
+ "minLength": 1,
966
+ "maxLength": 256
967
+ }
968
+ },
969
+ "required": [
970
+ "kind",
971
+ "id",
972
+ "ownerRepo"
973
+ ],
974
+ "additionalProperties": false
975
+ },
976
+ "teamRef": {
977
+ "type": "object",
978
+ "properties": {
979
+ "kind": {
980
+ "type": "string",
981
+ "minLength": 1,
982
+ "maxLength": 256
983
+ },
984
+ "id": {
985
+ "type": "string",
986
+ "minLength": 1,
987
+ "maxLength": 256
988
+ },
989
+ "ownerRepo": {
990
+ "type": "string",
991
+ "minLength": 1,
992
+ "maxLength": 256
993
+ }
994
+ },
995
+ "required": [
996
+ "kind",
997
+ "id",
998
+ "ownerRepo"
999
+ ],
1000
+ "additionalProperties": false
1001
+ }
1002
+ },
1003
+ "required": [
1004
+ "tenantRef",
1005
+ "dataSpaceRef"
1006
+ ],
1007
+ "additionalProperties": false
1008
+ },
1009
+ "revision": {
1010
+ "type": "integer",
1011
+ "exclusiveMinimum": 0,
1012
+ "maximum": 9007199254740991
1013
+ },
1014
+ "schemaVersion": {
1015
+ "type": "integer",
1016
+ "exclusiveMinimum": 0,
1017
+ "maximum": 9007199254740991
1018
+ },
1019
+ "contentHash": {
1020
+ "type": "string",
1021
+ "pattern": "^[a-f0-9]{64}$"
1022
+ }
1023
+ },
1024
+ "required": [
1025
+ "kind",
1026
+ "id",
1027
+ "ownerRepo",
1028
+ "visibility",
1029
+ "revision",
1030
+ "schemaVersion",
1031
+ "contentHash"
1032
+ ],
1033
+ "additionalProperties": false
1034
+ },
1035
+ "targetAccessPolicy": {
1036
+ "type": "object",
1037
+ "properties": {
1038
+ "authenticated": {
1039
+ "type": "boolean"
1040
+ },
1041
+ "groupAllOf": {
1042
+ "type": "array",
1043
+ "items": {
1044
+ "type": "object",
1045
+ "properties": {
1046
+ "kind": {
1047
+ "type": "string",
1048
+ "minLength": 1,
1049
+ "maxLength": 256
1050
+ },
1051
+ "id": {
1052
+ "type": "string",
1053
+ "minLength": 1,
1054
+ "maxLength": 256
1055
+ },
1056
+ "ownerRepo": {
1057
+ "type": "string",
1058
+ "minLength": 1,
1059
+ "maxLength": 256
1060
+ },
1061
+ "visibility": {
1062
+ "type": "string",
1063
+ "enum": [
1064
+ "tenant",
1065
+ "global",
1066
+ "public"
1067
+ ]
1068
+ },
1069
+ "tenantScope": {
1070
+ "type": "object",
1071
+ "properties": {
1072
+ "tenantRef": {
1073
+ "type": "object",
1074
+ "properties": {
1075
+ "kind": {
1076
+ "type": "string",
1077
+ "minLength": 1,
1078
+ "maxLength": 256
1079
+ },
1080
+ "id": {
1081
+ "type": "string",
1082
+ "minLength": 1,
1083
+ "maxLength": 256
1084
+ },
1085
+ "ownerRepo": {
1086
+ "type": "string",
1087
+ "minLength": 1,
1088
+ "maxLength": 256
1089
+ }
1090
+ },
1091
+ "required": [
1092
+ "kind",
1093
+ "id",
1094
+ "ownerRepo"
1095
+ ],
1096
+ "additionalProperties": false
1097
+ },
1098
+ "dataSpaceRef": {
1099
+ "type": "object",
1100
+ "properties": {
1101
+ "kind": {
1102
+ "type": "string",
1103
+ "minLength": 1,
1104
+ "maxLength": 256
1105
+ },
1106
+ "id": {
1107
+ "type": "string",
1108
+ "minLength": 1,
1109
+ "maxLength": 256
1110
+ },
1111
+ "ownerRepo": {
1112
+ "type": "string",
1113
+ "minLength": 1,
1114
+ "maxLength": 256
1115
+ }
1116
+ },
1117
+ "required": [
1118
+ "kind",
1119
+ "id",
1120
+ "ownerRepo"
1121
+ ],
1122
+ "additionalProperties": false
1123
+ },
1124
+ "teamRef": {
1125
+ "type": "object",
1126
+ "properties": {
1127
+ "kind": {
1128
+ "type": "string",
1129
+ "minLength": 1,
1130
+ "maxLength": 256
1131
+ },
1132
+ "id": {
1133
+ "type": "string",
1134
+ "minLength": 1,
1135
+ "maxLength": 256
1136
+ },
1137
+ "ownerRepo": {
1138
+ "type": "string",
1139
+ "minLength": 1,
1140
+ "maxLength": 256
1141
+ }
1142
+ },
1143
+ "required": [
1144
+ "kind",
1145
+ "id",
1146
+ "ownerRepo"
1147
+ ],
1148
+ "additionalProperties": false
1149
+ }
1150
+ },
1151
+ "required": [
1152
+ "tenantRef",
1153
+ "dataSpaceRef"
1154
+ ],
1155
+ "additionalProperties": false
1156
+ }
1157
+ },
1158
+ "required": [
1159
+ "kind",
1160
+ "id",
1161
+ "ownerRepo",
1162
+ "visibility"
1163
+ ],
1164
+ "additionalProperties": false
1165
+ }
1166
+ },
1167
+ "groupAnyOf": {
1168
+ "type": "array",
1169
+ "items": {
1170
+ "type": "object",
1171
+ "properties": {
1172
+ "kind": {
1173
+ "type": "string",
1174
+ "minLength": 1,
1175
+ "maxLength": 256
1176
+ },
1177
+ "id": {
1178
+ "type": "string",
1179
+ "minLength": 1,
1180
+ "maxLength": 256
1181
+ },
1182
+ "ownerRepo": {
1183
+ "type": "string",
1184
+ "minLength": 1,
1185
+ "maxLength": 256
1186
+ },
1187
+ "visibility": {
1188
+ "type": "string",
1189
+ "enum": [
1190
+ "tenant",
1191
+ "global",
1192
+ "public"
1193
+ ]
1194
+ },
1195
+ "tenantScope": {
1196
+ "type": "object",
1197
+ "properties": {
1198
+ "tenantRef": {
1199
+ "type": "object",
1200
+ "properties": {
1201
+ "kind": {
1202
+ "type": "string",
1203
+ "minLength": 1,
1204
+ "maxLength": 256
1205
+ },
1206
+ "id": {
1207
+ "type": "string",
1208
+ "minLength": 1,
1209
+ "maxLength": 256
1210
+ },
1211
+ "ownerRepo": {
1212
+ "type": "string",
1213
+ "minLength": 1,
1214
+ "maxLength": 256
1215
+ }
1216
+ },
1217
+ "required": [
1218
+ "kind",
1219
+ "id",
1220
+ "ownerRepo"
1221
+ ],
1222
+ "additionalProperties": false
1223
+ },
1224
+ "dataSpaceRef": {
1225
+ "type": "object",
1226
+ "properties": {
1227
+ "kind": {
1228
+ "type": "string",
1229
+ "minLength": 1,
1230
+ "maxLength": 256
1231
+ },
1232
+ "id": {
1233
+ "type": "string",
1234
+ "minLength": 1,
1235
+ "maxLength": 256
1236
+ },
1237
+ "ownerRepo": {
1238
+ "type": "string",
1239
+ "minLength": 1,
1240
+ "maxLength": 256
1241
+ }
1242
+ },
1243
+ "required": [
1244
+ "kind",
1245
+ "id",
1246
+ "ownerRepo"
1247
+ ],
1248
+ "additionalProperties": false
1249
+ },
1250
+ "teamRef": {
1251
+ "type": "object",
1252
+ "properties": {
1253
+ "kind": {
1254
+ "type": "string",
1255
+ "minLength": 1,
1256
+ "maxLength": 256
1257
+ },
1258
+ "id": {
1259
+ "type": "string",
1260
+ "minLength": 1,
1261
+ "maxLength": 256
1262
+ },
1263
+ "ownerRepo": {
1264
+ "type": "string",
1265
+ "minLength": 1,
1266
+ "maxLength": 256
1267
+ }
1268
+ },
1269
+ "required": [
1270
+ "kind",
1271
+ "id",
1272
+ "ownerRepo"
1273
+ ],
1274
+ "additionalProperties": false
1275
+ }
1276
+ },
1277
+ "required": [
1278
+ "tenantRef",
1279
+ "dataSpaceRef"
1280
+ ],
1281
+ "additionalProperties": false
1282
+ }
1283
+ },
1284
+ "required": [
1285
+ "kind",
1286
+ "id",
1287
+ "ownerRepo",
1288
+ "visibility"
1289
+ ],
1290
+ "additionalProperties": false
1291
+ }
1292
+ },
1293
+ "permissionAllOf": {
1294
+ "type": "array",
1295
+ "items": {
1296
+ "type": "string",
1297
+ "minLength": 1,
1298
+ "maxLength": 256
1299
+ }
1300
+ },
1301
+ "permissionAnyOf": {
1302
+ "type": "array",
1303
+ "items": {
1304
+ "type": "string",
1305
+ "minLength": 1,
1306
+ "maxLength": 256
1307
+ }
1308
+ },
1309
+ "conditionAllOf": {
1310
+ "type": "array",
1311
+ "items": {
1312
+ "type": "object",
1313
+ "properties": {
1314
+ "kind": {
1315
+ "type": "string",
1316
+ "minLength": 1,
1317
+ "maxLength": 256
1318
+ },
1319
+ "id": {
1320
+ "type": "string",
1321
+ "minLength": 1,
1322
+ "maxLength": 256
1323
+ },
1324
+ "ownerRepo": {
1325
+ "type": "string",
1326
+ "minLength": 1,
1327
+ "maxLength": 256
1328
+ },
1329
+ "visibility": {
1330
+ "type": "string",
1331
+ "enum": [
1332
+ "tenant",
1333
+ "global",
1334
+ "public"
1335
+ ]
1336
+ },
1337
+ "tenantScope": {
1338
+ "type": "object",
1339
+ "properties": {
1340
+ "tenantRef": {
1341
+ "type": "object",
1342
+ "properties": {
1343
+ "kind": {
1344
+ "type": "string",
1345
+ "minLength": 1,
1346
+ "maxLength": 256
1347
+ },
1348
+ "id": {
1349
+ "type": "string",
1350
+ "minLength": 1,
1351
+ "maxLength": 256
1352
+ },
1353
+ "ownerRepo": {
1354
+ "type": "string",
1355
+ "minLength": 1,
1356
+ "maxLength": 256
1357
+ }
1358
+ },
1359
+ "required": [
1360
+ "kind",
1361
+ "id",
1362
+ "ownerRepo"
1363
+ ],
1364
+ "additionalProperties": false
1365
+ },
1366
+ "dataSpaceRef": {
1367
+ "type": "object",
1368
+ "properties": {
1369
+ "kind": {
1370
+ "type": "string",
1371
+ "minLength": 1,
1372
+ "maxLength": 256
1373
+ },
1374
+ "id": {
1375
+ "type": "string",
1376
+ "minLength": 1,
1377
+ "maxLength": 256
1378
+ },
1379
+ "ownerRepo": {
1380
+ "type": "string",
1381
+ "minLength": 1,
1382
+ "maxLength": 256
1383
+ }
1384
+ },
1385
+ "required": [
1386
+ "kind",
1387
+ "id",
1388
+ "ownerRepo"
1389
+ ],
1390
+ "additionalProperties": false
1391
+ },
1392
+ "teamRef": {
1393
+ "type": "object",
1394
+ "properties": {
1395
+ "kind": {
1396
+ "type": "string",
1397
+ "minLength": 1,
1398
+ "maxLength": 256
1399
+ },
1400
+ "id": {
1401
+ "type": "string",
1402
+ "minLength": 1,
1403
+ "maxLength": 256
1404
+ },
1405
+ "ownerRepo": {
1406
+ "type": "string",
1407
+ "minLength": 1,
1408
+ "maxLength": 256
1409
+ }
1410
+ },
1411
+ "required": [
1412
+ "kind",
1413
+ "id",
1414
+ "ownerRepo"
1415
+ ],
1416
+ "additionalProperties": false
1417
+ }
1418
+ },
1419
+ "required": [
1420
+ "tenantRef",
1421
+ "dataSpaceRef"
1422
+ ],
1423
+ "additionalProperties": false
1424
+ },
1425
+ "revision": {
1426
+ "type": "integer",
1427
+ "exclusiveMinimum": 0,
1428
+ "maximum": 9007199254740991
1429
+ },
1430
+ "schemaVersion": {
1431
+ "type": "integer",
1432
+ "exclusiveMinimum": 0,
1433
+ "maximum": 9007199254740991
1434
+ },
1435
+ "contentHash": {
1436
+ "type": "string",
1437
+ "pattern": "^[a-f0-9]{64}$"
1438
+ }
1439
+ },
1440
+ "required": [
1441
+ "kind",
1442
+ "id",
1443
+ "ownerRepo",
1444
+ "visibility",
1445
+ "revision",
1446
+ "schemaVersion",
1447
+ "contentHash"
1448
+ ],
1449
+ "additionalProperties": false
1450
+ }
1451
+ }
1452
+ },
1453
+ "required": [
1454
+ "authenticated",
1455
+ "groupAllOf",
1456
+ "groupAnyOf",
1457
+ "permissionAllOf",
1458
+ "permissionAnyOf",
1459
+ "conditionAllOf"
1460
+ ],
1461
+ "additionalProperties": false
1462
+ },
1463
+ "parametersSchemaRevisionRef": {
1464
+ "type": "object",
1465
+ "properties": {
1466
+ "kind": {
1467
+ "type": "string",
1468
+ "minLength": 1,
1469
+ "maxLength": 256
1470
+ },
1471
+ "id": {
1472
+ "type": "string",
1473
+ "minLength": 1,
1474
+ "maxLength": 256
1475
+ },
1476
+ "ownerRepo": {
1477
+ "type": "string",
1478
+ "minLength": 1,
1479
+ "maxLength": 256
1480
+ },
1481
+ "visibility": {
1482
+ "type": "string",
1483
+ "enum": [
1484
+ "tenant",
1485
+ "global",
1486
+ "public"
1487
+ ]
1488
+ },
1489
+ "tenantScope": {
1490
+ "type": "object",
1491
+ "properties": {
1492
+ "tenantRef": {
1493
+ "type": "object",
1494
+ "properties": {
1495
+ "kind": {
1496
+ "type": "string",
1497
+ "minLength": 1,
1498
+ "maxLength": 256
1499
+ },
1500
+ "id": {
1501
+ "type": "string",
1502
+ "minLength": 1,
1503
+ "maxLength": 256
1504
+ },
1505
+ "ownerRepo": {
1506
+ "type": "string",
1507
+ "minLength": 1,
1508
+ "maxLength": 256
1509
+ }
1510
+ },
1511
+ "required": [
1512
+ "kind",
1513
+ "id",
1514
+ "ownerRepo"
1515
+ ],
1516
+ "additionalProperties": false
1517
+ },
1518
+ "dataSpaceRef": {
1519
+ "type": "object",
1520
+ "properties": {
1521
+ "kind": {
1522
+ "type": "string",
1523
+ "minLength": 1,
1524
+ "maxLength": 256
1525
+ },
1526
+ "id": {
1527
+ "type": "string",
1528
+ "minLength": 1,
1529
+ "maxLength": 256
1530
+ },
1531
+ "ownerRepo": {
1532
+ "type": "string",
1533
+ "minLength": 1,
1534
+ "maxLength": 256
1535
+ }
1536
+ },
1537
+ "required": [
1538
+ "kind",
1539
+ "id",
1540
+ "ownerRepo"
1541
+ ],
1542
+ "additionalProperties": false
1543
+ },
1544
+ "teamRef": {
1545
+ "type": "object",
1546
+ "properties": {
1547
+ "kind": {
1548
+ "type": "string",
1549
+ "minLength": 1,
1550
+ "maxLength": 256
1551
+ },
1552
+ "id": {
1553
+ "type": "string",
1554
+ "minLength": 1,
1555
+ "maxLength": 256
1556
+ },
1557
+ "ownerRepo": {
1558
+ "type": "string",
1559
+ "minLength": 1,
1560
+ "maxLength": 256
1561
+ }
1562
+ },
1563
+ "required": [
1564
+ "kind",
1565
+ "id",
1566
+ "ownerRepo"
1567
+ ],
1568
+ "additionalProperties": false
1569
+ }
1570
+ },
1571
+ "required": [
1572
+ "tenantRef",
1573
+ "dataSpaceRef"
1574
+ ],
1575
+ "additionalProperties": false
1576
+ },
1577
+ "revision": {
1578
+ "type": "integer",
1579
+ "exclusiveMinimum": 0,
1580
+ "maximum": 9007199254740991
1581
+ },
1582
+ "schemaVersion": {
1583
+ "type": "integer",
1584
+ "exclusiveMinimum": 0,
1585
+ "maximum": 9007199254740991
1586
+ },
1587
+ "contentHash": {
1588
+ "type": "string",
1589
+ "pattern": "^[a-f0-9]{64}$"
1590
+ }
1591
+ },
1592
+ "required": [
1593
+ "kind",
1594
+ "id",
1595
+ "ownerRepo",
1596
+ "visibility",
1597
+ "revision",
1598
+ "schemaVersion",
1599
+ "contentHash"
1600
+ ],
1601
+ "additionalProperties": false
1602
+ },
1603
+ "outputs": {
1604
+ "type": "array",
1605
+ "items": {
1606
+ "type": "object",
1607
+ "properties": {
1608
+ "name": {
1609
+ "type": "string",
1610
+ "minLength": 1,
1611
+ "maxLength": 256
1612
+ },
1613
+ "nodeId": {
1614
+ "type": "string",
1615
+ "minLength": 1,
1616
+ "maxLength": 256
1617
+ },
1618
+ "port": {
1619
+ "type": "string",
1620
+ "minLength": 1,
1621
+ "maxLength": 256
1622
+ },
1623
+ "phase": {
1624
+ "type": "string",
1625
+ "enum": [
1626
+ "intent",
1627
+ "success"
1628
+ ]
1629
+ },
1630
+ "capabilityInstanceId": {
1631
+ "type": "string",
1632
+ "minLength": 1,
1633
+ "maxLength": 256
1634
+ },
1635
+ "schemaRevisionRef": {
1636
+ "type": "object",
1637
+ "properties": {
1638
+ "kind": {
1639
+ "type": "string",
1640
+ "minLength": 1,
1641
+ "maxLength": 256
1642
+ },
1643
+ "id": {
1644
+ "type": "string",
1645
+ "minLength": 1,
1646
+ "maxLength": 256
1647
+ },
1648
+ "ownerRepo": {
1649
+ "type": "string",
1650
+ "minLength": 1,
1651
+ "maxLength": 256
1652
+ },
1653
+ "visibility": {
1654
+ "type": "string",
1655
+ "enum": [
1656
+ "tenant",
1657
+ "global",
1658
+ "public"
1659
+ ]
1660
+ },
1661
+ "tenantScope": {
1662
+ "type": "object",
1663
+ "properties": {
1664
+ "tenantRef": {
1665
+ "type": "object",
1666
+ "properties": {
1667
+ "kind": {
1668
+ "type": "string",
1669
+ "minLength": 1,
1670
+ "maxLength": 256
1671
+ },
1672
+ "id": {
1673
+ "type": "string",
1674
+ "minLength": 1,
1675
+ "maxLength": 256
1676
+ },
1677
+ "ownerRepo": {
1678
+ "type": "string",
1679
+ "minLength": 1,
1680
+ "maxLength": 256
1681
+ }
1682
+ },
1683
+ "required": [
1684
+ "kind",
1685
+ "id",
1686
+ "ownerRepo"
1687
+ ],
1688
+ "additionalProperties": false
1689
+ },
1690
+ "dataSpaceRef": {
1691
+ "type": "object",
1692
+ "properties": {
1693
+ "kind": {
1694
+ "type": "string",
1695
+ "minLength": 1,
1696
+ "maxLength": 256
1697
+ },
1698
+ "id": {
1699
+ "type": "string",
1700
+ "minLength": 1,
1701
+ "maxLength": 256
1702
+ },
1703
+ "ownerRepo": {
1704
+ "type": "string",
1705
+ "minLength": 1,
1706
+ "maxLength": 256
1707
+ }
1708
+ },
1709
+ "required": [
1710
+ "kind",
1711
+ "id",
1712
+ "ownerRepo"
1713
+ ],
1714
+ "additionalProperties": false
1715
+ },
1716
+ "teamRef": {
1717
+ "type": "object",
1718
+ "properties": {
1719
+ "kind": {
1720
+ "type": "string",
1721
+ "minLength": 1,
1722
+ "maxLength": 256
1723
+ },
1724
+ "id": {
1725
+ "type": "string",
1726
+ "minLength": 1,
1727
+ "maxLength": 256
1728
+ },
1729
+ "ownerRepo": {
1730
+ "type": "string",
1731
+ "minLength": 1,
1732
+ "maxLength": 256
1733
+ }
1734
+ },
1735
+ "required": [
1736
+ "kind",
1737
+ "id",
1738
+ "ownerRepo"
1739
+ ],
1740
+ "additionalProperties": false
1741
+ }
1742
+ },
1743
+ "required": [
1744
+ "tenantRef",
1745
+ "dataSpaceRef"
1746
+ ],
1747
+ "additionalProperties": false
1748
+ },
1749
+ "revision": {
1750
+ "type": "integer",
1751
+ "exclusiveMinimum": 0,
1752
+ "maximum": 9007199254740991
1753
+ },
1754
+ "schemaVersion": {
1755
+ "type": "integer",
1756
+ "exclusiveMinimum": 0,
1757
+ "maximum": 9007199254740991
1758
+ },
1759
+ "contentHash": {
1760
+ "type": "string",
1761
+ "pattern": "^[a-f0-9]{64}$"
1762
+ }
1763
+ },
1764
+ "required": [
1765
+ "kind",
1766
+ "id",
1767
+ "ownerRepo",
1768
+ "visibility",
1769
+ "revision",
1770
+ "schemaVersion",
1771
+ "contentHash"
1772
+ ],
1773
+ "additionalProperties": false
1774
+ }
1775
+ },
1776
+ "required": [
1777
+ "name",
1778
+ "nodeId",
1779
+ "port",
1780
+ "capabilityInstanceId",
1781
+ "schemaRevisionRef"
1782
+ ],
1783
+ "additionalProperties": false
1784
+ }
1785
+ }
1786
+ },
1787
+ "required": [
1788
+ "mountId",
1789
+ "target",
1790
+ "slot",
1791
+ "presentation",
1792
+ "inputs",
1793
+ "on",
1794
+ "backgroundQueryPolicy",
1795
+ "targetRevisionRef",
1796
+ "targetReleaseRevisionRef",
1797
+ "targetAccessPolicy",
1798
+ "outputs"
1799
+ ],
1800
+ "additionalProperties": false
1801
+ }
1802
+ }
1803
+ },
1804
+ "required": [
1805
+ "schemaVersion",
1806
+ "surface",
1807
+ "environmentRef",
1808
+ "stateRetention",
1809
+ "mounts"
1810
+ ],
1811
+ "additionalProperties": false
1812
+ },
200
1813
  "rendererKey": {
201
1814
  "type": "string",
202
1815
  "minLength": 1,
@@ -396,7 +2009,7 @@
396
2009
  "type": "string"
397
2010
  },
398
2011
  "additionalProperties": {
399
- "$ref": "#/$defs/__schema0"
2012
+ "$ref": "#/$defs/__schema1"
400
2013
  }
401
2014
  }
402
2015
  },
@@ -538,6 +2151,129 @@
538
2151
  "additionalProperties": false,
539
2152
  "$defs": {
540
2153
  "__schema0": {
2154
+ "type": "object",
2155
+ "properties": {
2156
+ "operator": {
2157
+ "type": "string",
2158
+ "enum": [
2159
+ "all",
2160
+ "any"
2161
+ ]
2162
+ },
2163
+ "conditions": {
2164
+ "minItems": 1,
2165
+ "type": "array",
2166
+ "items": {
2167
+ "anyOf": [
2168
+ {
2169
+ "anyOf": [
2170
+ {
2171
+ "type": "object",
2172
+ "properties": {
2173
+ "stateId": {
2174
+ "type": "string",
2175
+ "minLength": 1,
2176
+ "maxLength": 256
2177
+ },
2178
+ "predicate": {
2179
+ "type": "string",
2180
+ "const": "equals"
2181
+ },
2182
+ "value": {
2183
+ "anyOf": [
2184
+ {
2185
+ "type": "string"
2186
+ },
2187
+ {
2188
+ "type": "number"
2189
+ },
2190
+ {
2191
+ "type": "boolean"
2192
+ },
2193
+ {
2194
+ "type": "null"
2195
+ }
2196
+ ]
2197
+ }
2198
+ },
2199
+ "required": [
2200
+ "stateId",
2201
+ "predicate",
2202
+ "value"
2203
+ ],
2204
+ "additionalProperties": false
2205
+ },
2206
+ {
2207
+ "type": "object",
2208
+ "properties": {
2209
+ "stateId": {
2210
+ "type": "string",
2211
+ "minLength": 1,
2212
+ "maxLength": 256
2213
+ },
2214
+ "predicate": {
2215
+ "type": "string",
2216
+ "const": "not-equals"
2217
+ },
2218
+ "value": {
2219
+ "anyOf": [
2220
+ {
2221
+ "type": "string"
2222
+ },
2223
+ {
2224
+ "type": "number"
2225
+ },
2226
+ {
2227
+ "type": "boolean"
2228
+ },
2229
+ {
2230
+ "type": "null"
2231
+ }
2232
+ ]
2233
+ }
2234
+ },
2235
+ "required": [
2236
+ "stateId",
2237
+ "predicate",
2238
+ "value"
2239
+ ],
2240
+ "additionalProperties": false
2241
+ },
2242
+ {
2243
+ "type": "object",
2244
+ "properties": {
2245
+ "stateId": {
2246
+ "type": "string",
2247
+ "minLength": 1,
2248
+ "maxLength": 256
2249
+ },
2250
+ "predicate": {
2251
+ "type": "string",
2252
+ "const": "truthy"
2253
+ }
2254
+ },
2255
+ "required": [
2256
+ "stateId",
2257
+ "predicate"
2258
+ ],
2259
+ "additionalProperties": false
2260
+ }
2261
+ ]
2262
+ },
2263
+ {
2264
+ "$ref": "#/$defs/__schema0"
2265
+ }
2266
+ ]
2267
+ }
2268
+ }
2269
+ },
2270
+ "required": [
2271
+ "operator",
2272
+ "conditions"
2273
+ ],
2274
+ "additionalProperties": false
2275
+ },
2276
+ "__schema1": {
541
2277
  "anyOf": [
542
2278
  {
543
2279
  "type": "string"
@@ -554,7 +2290,7 @@
554
2290
  {
555
2291
  "type": "array",
556
2292
  "items": {
557
- "$ref": "#/$defs/__schema0"
2293
+ "$ref": "#/$defs/__schema1"
558
2294
  }
559
2295
  },
560
2296
  {
@@ -563,7 +2299,7 @@
563
2299
  "type": "string"
564
2300
  },
565
2301
  "additionalProperties": {
566
- "$ref": "#/$defs/__schema0"
2302
+ "$ref": "#/$defs/__schema1"
567
2303
  }
568
2304
  }
569
2305
  ]