@inf-monkeys-tech/monkeys 1.1.62 → 1.1.64

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 (57) hide show
  1. package/lib/contracts/bento-block.d.ts +491 -0
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +158 -12
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +6735 -279
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +563 -19
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-publication-job.d.ts +1408 -72
  10. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  11. package/lib/contracts/page.d.ts +1 -1
  12. package/lib/contracts/render.d.ts +413 -28
  13. package/lib/contracts/render.d.ts.map +1 -1
  14. package/lib/contracts/render.js +65 -5
  15. package/lib/contracts/render.js.map +1 -1
  16. package/lib/contracts/tenant.d.ts +7 -7
  17. package/lib/contracts/unified-view.d.ts +87 -0
  18. package/lib/contracts/unified-view.d.ts.map +1 -1
  19. package/lib/contracts/workflow-column.d.ts +2 -2
  20. package/lib/esm/{chunk-UPCRRS4I.mjs → chunk-AOAJSAI7.mjs} +2 -2
  21. package/lib/esm/chunk-AOAJSAI7.mjs.map +1 -0
  22. package/lib/esm/{chunk-EFVODA3P.mjs → chunk-BFGFPBEU.mjs} +187 -15
  23. package/lib/esm/chunk-BFGFPBEU.mjs.map +1 -0
  24. package/lib/esm/{chunk-MAZ3HUFS.mjs → chunk-E6UOE6OP.mjs} +181 -4
  25. package/lib/esm/chunk-E6UOE6OP.mjs.map +1 -0
  26. package/lib/esm/{chunk-RWTW74VC.mjs → chunk-WC65QK2H.mjs} +2 -2
  27. package/lib/esm/contracts/index.mjs +28 -2
  28. package/lib/esm/index.mjs +34 -4
  29. package/lib/esm/index.mjs.map +1 -1
  30. package/lib/esm/runtime/index.mjs +7 -3
  31. package/lib/esm/schemas/index.mjs +26 -2
  32. package/lib/json-schema/bento-node.schema.json +425 -1
  33. package/lib/json-schema/overlay-node.schema.json +1514 -49
  34. package/lib/json-schema/page-runtime-bundle.schema.json +2837 -547
  35. package/lib/json-schema/page.schema.json +24 -0
  36. package/lib/json-schema/render-node.schema.json +2077 -612
  37. package/lib/json-schema/render-tree.schema.json +2752 -462
  38. package/lib/json-schema/view-ontology-record.schema.json +722 -2
  39. package/lib/runtime/bento-render-tree.d.ts +22 -0
  40. package/lib/runtime/bento-render-tree.d.ts.map +1 -0
  41. package/lib/runtime/bento-render-tree.js +197 -0
  42. package/lib/runtime/bento-render-tree.js.map +1 -0
  43. package/lib/runtime/index.d.ts +1 -0
  44. package/lib/runtime/index.d.ts.map +1 -1
  45. package/lib/runtime/index.js +1 -0
  46. package/lib/runtime/index.js.map +1 -1
  47. package/lib/runtime/runtime-definition-wire.d.ts +704 -36
  48. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  49. package/lib/schemas/index.d.ts +1670 -3027
  50. package/lib/schemas/index.d.ts.map +1 -1
  51. package/lib/schemas/index.js +16 -3
  52. package/lib/schemas/index.js.map +1 -1
  53. package/package.json +2 -2
  54. package/lib/esm/chunk-EFVODA3P.mjs.map +0 -1
  55. package/lib/esm/chunk-MAZ3HUFS.mjs.map +0 -1
  56. package/lib/esm/chunk-UPCRRS4I.mjs.map +0 -1
  57. /package/lib/esm/{chunk-RWTW74VC.mjs.map → chunk-WC65QK2H.mjs.map} +0 -0
@@ -23,6 +23,831 @@
23
23
  "minLength": 1,
24
24
  "maxLength": 256
25
25
  },
26
+ "data": {
27
+ "type": "object",
28
+ "properties": {
29
+ "statements": {
30
+ "type": "object",
31
+ "propertyNames": {
32
+ "type": "string",
33
+ "minLength": 1,
34
+ "maxLength": 256
35
+ },
36
+ "additionalProperties": {
37
+ "anyOf": [
38
+ {
39
+ "type": "object",
40
+ "properties": {
41
+ "kind": {
42
+ "type": "string",
43
+ "const": "select"
44
+ },
45
+ "from": {
46
+ "type": "object",
47
+ "properties": {
48
+ "source": {
49
+ "default": "ontology",
50
+ "type": "string",
51
+ "enum": [
52
+ "ontology",
53
+ "workflow-outputs",
54
+ "telemetry"
55
+ ]
56
+ },
57
+ "ontologyId": {
58
+ "type": "string",
59
+ "minLength": 1,
60
+ "maxLength": 256
61
+ },
62
+ "workflowId": {
63
+ "type": "string",
64
+ "minLength": 1,
65
+ "maxLength": 256
66
+ },
67
+ "includeSharedSlices": {
68
+ "type": "boolean"
69
+ }
70
+ },
71
+ "required": [
72
+ "source",
73
+ "ontologyId"
74
+ ],
75
+ "additionalProperties": false
76
+ },
77
+ "select": {
78
+ "type": "object",
79
+ "properties": {
80
+ "baseColumns": {
81
+ "maxItems": 64,
82
+ "type": "array",
83
+ "items": {
84
+ "type": "string",
85
+ "minLength": 1,
86
+ "maxLength": 256
87
+ }
88
+ },
89
+ "propertyColumns": {
90
+ "maxItems": 128,
91
+ "type": "array",
92
+ "items": {
93
+ "type": "string",
94
+ "minLength": 1,
95
+ "maxLength": 256
96
+ }
97
+ },
98
+ "featureColumns": {
99
+ "maxItems": 256,
100
+ "type": "array",
101
+ "items": {
102
+ "type": "string",
103
+ "minLength": 1,
104
+ "maxLength": 256
105
+ }
106
+ },
107
+ "tagGroupColumns": {
108
+ "maxItems": 128,
109
+ "type": "array",
110
+ "items": {
111
+ "type": "string",
112
+ "minLength": 1,
113
+ "maxLength": 256
114
+ }
115
+ },
116
+ "columnOrder": {
117
+ "maxItems": 512,
118
+ "type": "array",
119
+ "items": {
120
+ "type": "string",
121
+ "minLength": 1,
122
+ "maxLength": 256
123
+ }
124
+ }
125
+ },
126
+ "additionalProperties": false
127
+ },
128
+ "where": {
129
+ "$ref": "#/$defs/__schema0"
130
+ },
131
+ "orderBy": {
132
+ "maxItems": 16,
133
+ "type": "array",
134
+ "items": {
135
+ "type": "object",
136
+ "properties": {
137
+ "field": {
138
+ "type": "string",
139
+ "minLength": 1,
140
+ "maxLength": 256
141
+ },
142
+ "kind": {
143
+ "default": "builtin",
144
+ "type": "string",
145
+ "enum": [
146
+ "builtin",
147
+ "feature"
148
+ ]
149
+ },
150
+ "direction": {
151
+ "default": "desc",
152
+ "type": "string",
153
+ "enum": [
154
+ "asc",
155
+ "desc"
156
+ ]
157
+ },
158
+ "nulls": {
159
+ "type": "string",
160
+ "enum": [
161
+ "first",
162
+ "last"
163
+ ]
164
+ }
165
+ },
166
+ "required": [
167
+ "field",
168
+ "kind",
169
+ "direction"
170
+ ],
171
+ "additionalProperties": false
172
+ }
173
+ },
174
+ "limit": {
175
+ "type": "integer",
176
+ "minimum": 1,
177
+ "maximum": 1000
178
+ }
179
+ },
180
+ "required": [
181
+ "kind",
182
+ "from"
183
+ ],
184
+ "additionalProperties": false
185
+ },
186
+ {
187
+ "type": "object",
188
+ "properties": {
189
+ "kind": {
190
+ "type": "string",
191
+ "const": "aggregate"
192
+ },
193
+ "from": {
194
+ "type": "object",
195
+ "properties": {
196
+ "source": {
197
+ "default": "ontology",
198
+ "type": "string",
199
+ "enum": [
200
+ "ontology",
201
+ "workflow-outputs",
202
+ "telemetry"
203
+ ]
204
+ },
205
+ "ontologyId": {
206
+ "type": "string",
207
+ "minLength": 1,
208
+ "maxLength": 256
209
+ },
210
+ "workflowId": {
211
+ "type": "string",
212
+ "minLength": 1,
213
+ "maxLength": 256
214
+ },
215
+ "includeSharedSlices": {
216
+ "type": "boolean"
217
+ }
218
+ },
219
+ "required": [
220
+ "source",
221
+ "ontologyId"
222
+ ],
223
+ "additionalProperties": false
224
+ },
225
+ "where": {
226
+ "$ref": "#/$defs/__schema0"
227
+ },
228
+ "groupBy": {
229
+ "maxItems": 16,
230
+ "type": "array",
231
+ "items": {
232
+ "type": "string",
233
+ "minLength": 1,
234
+ "maxLength": 256
235
+ }
236
+ },
237
+ "metrics": {
238
+ "minItems": 1,
239
+ "maxItems": 32,
240
+ "type": "array",
241
+ "items": {
242
+ "type": "object",
243
+ "properties": {
244
+ "alias": {
245
+ "type": "string",
246
+ "minLength": 1,
247
+ "maxLength": 256
248
+ },
249
+ "fn": {
250
+ "type": "string",
251
+ "enum": [
252
+ "count",
253
+ "sum",
254
+ "avg",
255
+ "min",
256
+ "max",
257
+ "distinct_count",
258
+ "ratio",
259
+ "count_distinct",
260
+ "percentile",
261
+ "trimmed_avg",
262
+ "first_by",
263
+ "last_by"
264
+ ]
265
+ },
266
+ "fieldKey": {
267
+ "type": "string",
268
+ "minLength": 1,
269
+ "maxLength": 256
270
+ },
271
+ "numeric": {
272
+ "type": "boolean"
273
+ },
274
+ "percentile": {
275
+ "type": "number",
276
+ "minimum": 0,
277
+ "maximum": 100
278
+ },
279
+ "trimTopPct": {
280
+ "type": "number",
281
+ "minimum": 0,
282
+ "maximum": 100
283
+ },
284
+ "orderColumnId": {
285
+ "type": "string",
286
+ "minLength": 1,
287
+ "maxLength": 256
288
+ },
289
+ "filter": {
290
+ "$ref": "#/$defs/__schema0"
291
+ }
292
+ },
293
+ "required": [
294
+ "alias",
295
+ "fn"
296
+ ],
297
+ "additionalProperties": false
298
+ }
299
+ },
300
+ "orderBy": {
301
+ "maxItems": 16,
302
+ "type": "array",
303
+ "items": {
304
+ "type": "object",
305
+ "properties": {
306
+ "field": {
307
+ "type": "string",
308
+ "minLength": 1,
309
+ "maxLength": 256
310
+ },
311
+ "kind": {
312
+ "default": "builtin",
313
+ "type": "string",
314
+ "enum": [
315
+ "builtin",
316
+ "feature"
317
+ ]
318
+ },
319
+ "direction": {
320
+ "default": "desc",
321
+ "type": "string",
322
+ "enum": [
323
+ "asc",
324
+ "desc"
325
+ ]
326
+ },
327
+ "nulls": {
328
+ "type": "string",
329
+ "enum": [
330
+ "first",
331
+ "last"
332
+ ]
333
+ }
334
+ },
335
+ "required": [
336
+ "field",
337
+ "kind",
338
+ "direction"
339
+ ],
340
+ "additionalProperties": false
341
+ }
342
+ },
343
+ "limit": {
344
+ "type": "integer",
345
+ "minimum": 1,
346
+ "maximum": 1000
347
+ },
348
+ "engine": {
349
+ "type": "string",
350
+ "enum": [
351
+ "auto",
352
+ "canonical",
353
+ "search"
354
+ ]
355
+ },
356
+ "allTeams": {
357
+ "type": "boolean"
358
+ },
359
+ "exact": {
360
+ "type": "boolean"
361
+ },
362
+ "includeTotals": {
363
+ "type": "boolean"
364
+ },
365
+ "timeBucket": {
366
+ "type": "object",
367
+ "properties": {
368
+ "column": {
369
+ "type": "string",
370
+ "minLength": 1,
371
+ "maxLength": 256
372
+ },
373
+ "granularity": {
374
+ "type": "string",
375
+ "enum": [
376
+ "hour",
377
+ "day",
378
+ "week",
379
+ "month",
380
+ "quarter",
381
+ "year"
382
+ ]
383
+ },
384
+ "timezone": {
385
+ "type": "string",
386
+ "minLength": 1,
387
+ "maxLength": 128
388
+ },
389
+ "fillGaps": {
390
+ "type": "boolean"
391
+ }
392
+ },
393
+ "required": [
394
+ "column",
395
+ "granularity"
396
+ ],
397
+ "additionalProperties": false
398
+ },
399
+ "joins": {
400
+ "maxItems": 16,
401
+ "type": "array",
402
+ "items": {
403
+ "type": "object",
404
+ "properties": {
405
+ "alias": {
406
+ "type": "string",
407
+ "minLength": 1,
408
+ "maxLength": 256
409
+ },
410
+ "ontologyId": {
411
+ "type": "string",
412
+ "minLength": 1,
413
+ "maxLength": 256
414
+ },
415
+ "assetType": {
416
+ "type": "string",
417
+ "minLength": 1,
418
+ "maxLength": 256
419
+ },
420
+ "joinType": {
421
+ "type": "string",
422
+ "enum": [
423
+ "inner",
424
+ "left"
425
+ ]
426
+ },
427
+ "viaRelation": {
428
+ "type": "object",
429
+ "properties": {
430
+ "columnId": {
431
+ "type": "string",
432
+ "minLength": 1,
433
+ "maxLength": 256
434
+ },
435
+ "direction": {
436
+ "type": "string",
437
+ "enum": [
438
+ "outgoing",
439
+ "incoming"
440
+ ]
441
+ }
442
+ },
443
+ "required": [
444
+ "columnId",
445
+ "direction"
446
+ ],
447
+ "additionalProperties": false
448
+ },
449
+ "onColumn": {
450
+ "type": "object",
451
+ "properties": {
452
+ "localColumnId": {
453
+ "type": "string",
454
+ "minLength": 1,
455
+ "maxLength": 256
456
+ },
457
+ "foreignColumnId": {
458
+ "type": "string",
459
+ "minLength": 1,
460
+ "maxLength": 256
461
+ },
462
+ "foreignAssetId": {
463
+ "type": "boolean"
464
+ }
465
+ },
466
+ "required": [
467
+ "localColumnId"
468
+ ],
469
+ "additionalProperties": false
470
+ }
471
+ },
472
+ "required": [
473
+ "alias",
474
+ "ontologyId"
475
+ ],
476
+ "additionalProperties": false
477
+ }
478
+ },
479
+ "hierarchyScopes": {
480
+ "maxItems": 16,
481
+ "type": "array",
482
+ "items": {
483
+ "type": "object",
484
+ "properties": {
485
+ "targetAlias": {
486
+ "type": "string",
487
+ "minLength": 1,
488
+ "maxLength": 256
489
+ },
490
+ "localColumnId": {
491
+ "type": "string",
492
+ "minLength": 1,
493
+ "maxLength": 256
494
+ },
495
+ "ontologyId": {
496
+ "type": "string",
497
+ "minLength": 1,
498
+ "maxLength": 256
499
+ },
500
+ "relationColumnId": {
501
+ "type": "string",
502
+ "minLength": 1,
503
+ "maxLength": 256
504
+ },
505
+ "direction": {
506
+ "type": "string",
507
+ "enum": [
508
+ "incoming",
509
+ "outgoing"
510
+ ]
511
+ },
512
+ "seedIds": {
513
+ "maxItems": 500,
514
+ "type": "array",
515
+ "items": {
516
+ "type": "string",
517
+ "minLength": 1,
518
+ "maxLength": 256
519
+ }
520
+ },
521
+ "maxDepth": {
522
+ "type": "integer",
523
+ "minimum": 0,
524
+ "maximum": 32
525
+ },
526
+ "includeSelf": {
527
+ "type": "boolean"
528
+ }
529
+ },
530
+ "required": [
531
+ "ontologyId",
532
+ "relationColumnId",
533
+ "direction",
534
+ "seedIds"
535
+ ],
536
+ "additionalProperties": false
537
+ }
538
+ },
539
+ "unwind": {
540
+ "type": "object",
541
+ "properties": {
542
+ "columnId": {
543
+ "type": "string",
544
+ "minLength": 1,
545
+ "maxLength": 256
546
+ },
547
+ "jsonPath": {
548
+ "maxItems": 32,
549
+ "type": "array",
550
+ "items": {
551
+ "type": "string",
552
+ "minLength": 1,
553
+ "maxLength": 256
554
+ }
555
+ },
556
+ "preserveEmpty": {
557
+ "type": "boolean"
558
+ }
559
+ },
560
+ "required": [
561
+ "columnId"
562
+ ],
563
+ "additionalProperties": false
564
+ },
565
+ "having": {
566
+ "maxItems": 32,
567
+ "type": "array",
568
+ "items": {
569
+ "type": "object",
570
+ "properties": {
571
+ "key": {
572
+ "type": "string",
573
+ "minLength": 1,
574
+ "maxLength": 256
575
+ },
576
+ "op": {
577
+ "type": "string",
578
+ "enum": [
579
+ "eq",
580
+ "ne",
581
+ "gt",
582
+ "gte",
583
+ "lt",
584
+ "lte"
585
+ ]
586
+ },
587
+ "value": {
588
+ "type": "number"
589
+ }
590
+ },
591
+ "required": [
592
+ "key",
593
+ "op",
594
+ "value"
595
+ ],
596
+ "additionalProperties": false
597
+ }
598
+ },
599
+ "pagination": {
600
+ "type": "object",
601
+ "properties": {
602
+ "offset": {
603
+ "type": "integer",
604
+ "minimum": 0,
605
+ "maximum": 9007199254740991
606
+ },
607
+ "limit": {
608
+ "type": "integer",
609
+ "minimum": 1,
610
+ "maximum": 10000
611
+ },
612
+ "includeTotalGroups": {
613
+ "type": "boolean"
614
+ }
615
+ },
616
+ "additionalProperties": false
617
+ }
618
+ },
619
+ "required": [
620
+ "kind",
621
+ "from",
622
+ "metrics"
623
+ ],
624
+ "additionalProperties": false
625
+ },
626
+ {
627
+ "type": "object",
628
+ "properties": {
629
+ "kind": {
630
+ "type": "string",
631
+ "const": "graph"
632
+ },
633
+ "from": {
634
+ "type": "object",
635
+ "properties": {
636
+ "source": {
637
+ "default": "ontology",
638
+ "type": "string",
639
+ "enum": [
640
+ "ontology",
641
+ "workflow-outputs",
642
+ "telemetry"
643
+ ]
644
+ },
645
+ "ontologyId": {
646
+ "type": "string",
647
+ "minLength": 1,
648
+ "maxLength": 256
649
+ },
650
+ "workflowId": {
651
+ "type": "string",
652
+ "minLength": 1,
653
+ "maxLength": 256
654
+ },
655
+ "includeSharedSlices": {
656
+ "type": "boolean"
657
+ }
658
+ },
659
+ "required": [
660
+ "source",
661
+ "ontologyId"
662
+ ],
663
+ "additionalProperties": false
664
+ },
665
+ "where": {
666
+ "$ref": "#/$defs/__schema0"
667
+ },
668
+ "graph": {
669
+ "type": "object",
670
+ "properties": {
671
+ "graphKind": {
672
+ "type": "string",
673
+ "enum": [
674
+ "schema",
675
+ "cooccurrence",
676
+ "bipartite-cosine",
677
+ "focus-star",
678
+ "ontology-relation",
679
+ "record-clustering",
680
+ "field-tag-hub"
681
+ ]
682
+ },
683
+ "maxHops": {
684
+ "default": 2,
685
+ "type": "integer",
686
+ "minimum": 1,
687
+ "maximum": 6
688
+ },
689
+ "nodeLabelField": {
690
+ "type": "string",
691
+ "minLength": 1,
692
+ "maxLength": 256
693
+ },
694
+ "edgeRelationFields": {
695
+ "maxItems": 32,
696
+ "type": "array",
697
+ "items": {
698
+ "type": "string",
699
+ "minLength": 1,
700
+ "maxLength": 256
701
+ }
702
+ }
703
+ },
704
+ "required": [
705
+ "graphKind",
706
+ "maxHops"
707
+ ],
708
+ "additionalProperties": false
709
+ },
710
+ "limit": {
711
+ "type": "integer",
712
+ "minimum": 1,
713
+ "maximum": 5000
714
+ }
715
+ },
716
+ "required": [
717
+ "kind",
718
+ "from",
719
+ "graph"
720
+ ],
721
+ "additionalProperties": false
722
+ },
723
+ {
724
+ "type": "object",
725
+ "properties": {
726
+ "kind": {
727
+ "type": "string",
728
+ "enum": [
729
+ "insert",
730
+ "update",
731
+ "delete"
732
+ ]
733
+ },
734
+ "ontologyId": {
735
+ "type": "string",
736
+ "minLength": 1,
737
+ "maxLength": 256
738
+ },
739
+ "values": {
740
+ "type": "object",
741
+ "propertyNames": {
742
+ "type": "string"
743
+ },
744
+ "additionalProperties": {
745
+ "$ref": "#/$defs/__schema1"
746
+ }
747
+ },
748
+ "where": {
749
+ "$ref": "#/$defs/__schema0"
750
+ }
751
+ },
752
+ "required": [
753
+ "kind",
754
+ "ontologyId"
755
+ ],
756
+ "additionalProperties": false
757
+ },
758
+ {
759
+ "type": "object",
760
+ "properties": {
761
+ "kind": {
762
+ "type": "string",
763
+ "const": "call"
764
+ },
765
+ "workflowId": {
766
+ "type": "string",
767
+ "minLength": 1,
768
+ "maxLength": 256
769
+ },
770
+ "pageType": {
771
+ "default": "preview",
772
+ "type": "string",
773
+ "enum": [
774
+ "preview",
775
+ "process",
776
+ "log",
777
+ "chat",
778
+ "api"
779
+ ]
780
+ },
781
+ "inputMapping": {
782
+ "type": "object",
783
+ "propertyNames": {
784
+ "type": "string"
785
+ },
786
+ "additionalProperties": {
787
+ "$ref": "#/$defs/__schema1"
788
+ }
789
+ },
790
+ "outputStrategy": {
791
+ "type": "string",
792
+ "enum": [
793
+ "default-result-ontology",
794
+ "domain-ontology",
795
+ "ledger-only",
796
+ "column-writeback"
797
+ ]
798
+ }
799
+ },
800
+ "required": [
801
+ "kind",
802
+ "workflowId",
803
+ "pageType"
804
+ ],
805
+ "additionalProperties": false
806
+ }
807
+ ]
808
+ }
809
+ },
810
+ "parameters": {
811
+ "type": "object",
812
+ "propertyNames": {
813
+ "type": "string",
814
+ "minLength": 1,
815
+ "maxLength": 256
816
+ },
817
+ "additionalProperties": {
818
+ "$ref": "#/$defs/__schema1"
819
+ }
820
+ },
821
+ "cache": {
822
+ "type": "object",
823
+ "properties": {
824
+ "mode": {
825
+ "default": "realtime",
826
+ "type": "string",
827
+ "enum": [
828
+ "realtime",
829
+ "cached",
830
+ "stale-while-revalidate",
831
+ "materialized"
832
+ ]
833
+ },
834
+ "ttlSeconds": {
835
+ "type": "integer",
836
+ "minimum": 1,
837
+ "maximum": 86400
838
+ }
839
+ },
840
+ "required": [
841
+ "mode"
842
+ ],
843
+ "additionalProperties": false
844
+ }
845
+ },
846
+ "required": [
847
+ "statements"
848
+ ],
849
+ "additionalProperties": false
850
+ },
26
851
  "nodes": {
27
852
  "minItems": 1,
28
853
  "type": "array",
@@ -89,502 +914,1673 @@
89
914
  "minLength": 1,
90
915
  "maxLength": 256
91
916
  },
92
- "id": {
917
+ "id": {
918
+ "type": "string",
919
+ "minLength": 1,
920
+ "maxLength": 256
921
+ },
922
+ "version": {
923
+ "anyOf": [
924
+ {
925
+ "type": "integer",
926
+ "exclusiveMinimum": 0,
927
+ "maximum": 9007199254740991
928
+ },
929
+ {
930
+ "type": "string",
931
+ "minLength": 1
932
+ }
933
+ ]
934
+ },
935
+ "ownerRepo": {
936
+ "type": "string",
937
+ "minLength": 1,
938
+ "maxLength": 256
939
+ }
940
+ },
941
+ "required": [
942
+ "kind",
943
+ "id"
944
+ ],
945
+ "additionalProperties": false
946
+ },
947
+ "semanticRef": {
948
+ "type": "object",
949
+ "properties": {
950
+ "kind": {
951
+ "type": "string",
952
+ "minLength": 1,
953
+ "maxLength": 256
954
+ },
955
+ "id": {
956
+ "type": "string",
957
+ "minLength": 1,
958
+ "maxLength": 256
959
+ },
960
+ "version": {
961
+ "anyOf": [
962
+ {
963
+ "type": "integer",
964
+ "exclusiveMinimum": 0,
965
+ "maximum": 9007199254740991
966
+ },
967
+ {
968
+ "type": "string",
969
+ "minLength": 1
970
+ }
971
+ ]
972
+ },
973
+ "ownerRepo": {
974
+ "type": "string",
975
+ "minLength": 1,
976
+ "maxLength": 256
977
+ }
978
+ },
979
+ "required": [
980
+ "kind",
981
+ "id"
982
+ ],
983
+ "additionalProperties": false
984
+ },
985
+ "dataContextRef": {
986
+ "type": "object",
987
+ "properties": {
988
+ "kind": {
989
+ "type": "string",
990
+ "minLength": 1,
991
+ "maxLength": 256
992
+ },
993
+ "id": {
994
+ "type": "string",
995
+ "minLength": 1,
996
+ "maxLength": 256
997
+ },
998
+ "version": {
999
+ "anyOf": [
1000
+ {
1001
+ "type": "integer",
1002
+ "exclusiveMinimum": 0,
1003
+ "maximum": 9007199254740991
1004
+ },
1005
+ {
1006
+ "type": "string",
1007
+ "minLength": 1
1008
+ }
1009
+ ]
1010
+ },
1011
+ "ownerRepo": {
1012
+ "type": "string",
1013
+ "minLength": 1,
1014
+ "maxLength": 256
1015
+ }
1016
+ },
1017
+ "required": [
1018
+ "kind",
1019
+ "id"
1020
+ ],
1021
+ "additionalProperties": false
1022
+ },
1023
+ "capabilityRef": {
1024
+ "type": "object",
1025
+ "properties": {
1026
+ "kind": {
1027
+ "type": "string",
1028
+ "minLength": 1,
1029
+ "maxLength": 256
1030
+ },
1031
+ "id": {
1032
+ "type": "string",
1033
+ "minLength": 1,
1034
+ "maxLength": 256
1035
+ },
1036
+ "version": {
1037
+ "anyOf": [
1038
+ {
1039
+ "type": "integer",
1040
+ "exclusiveMinimum": 0,
1041
+ "maximum": 9007199254740991
1042
+ },
1043
+ {
1044
+ "type": "string",
1045
+ "minLength": 1
1046
+ }
1047
+ ]
1048
+ },
1049
+ "ownerRepo": {
1050
+ "type": "string",
1051
+ "minLength": 1,
1052
+ "maxLength": 256
1053
+ }
1054
+ },
1055
+ "required": [
1056
+ "kind",
1057
+ "id"
1058
+ ],
1059
+ "additionalProperties": false
1060
+ },
1061
+ "runtimeContractVersion": {
1062
+ "type": "string",
1063
+ "minLength": 1,
1064
+ "maxLength": 256
1065
+ },
1066
+ "providerRef": {
1067
+ "type": "object",
1068
+ "properties": {
1069
+ "kind": {
1070
+ "type": "string",
1071
+ "minLength": 1,
1072
+ "maxLength": 256
1073
+ },
1074
+ "id": {
1075
+ "type": "string",
1076
+ "minLength": 1,
1077
+ "maxLength": 256
1078
+ },
1079
+ "version": {
1080
+ "anyOf": [
1081
+ {
1082
+ "type": "integer",
1083
+ "exclusiveMinimum": 0,
1084
+ "maximum": 9007199254740991
1085
+ },
1086
+ {
1087
+ "type": "string",
1088
+ "minLength": 1
1089
+ }
1090
+ ]
1091
+ },
1092
+ "ownerRepo": {
1093
+ "type": "string",
1094
+ "minLength": 1,
1095
+ "maxLength": 256
1096
+ }
1097
+ },
1098
+ "required": [
1099
+ "kind",
1100
+ "id"
1101
+ ],
1102
+ "additionalProperties": false
1103
+ },
1104
+ "stateRef": {
1105
+ "type": "object",
1106
+ "properties": {
1107
+ "kind": {
1108
+ "type": "string",
1109
+ "minLength": 1,
1110
+ "maxLength": 256
1111
+ },
1112
+ "id": {
1113
+ "type": "string",
1114
+ "minLength": 1,
1115
+ "maxLength": 256
1116
+ },
1117
+ "version": {
1118
+ "anyOf": [
1119
+ {
1120
+ "type": "integer",
1121
+ "exclusiveMinimum": 0,
1122
+ "maximum": 9007199254740991
1123
+ },
1124
+ {
1125
+ "type": "string",
1126
+ "minLength": 1
1127
+ }
1128
+ ]
1129
+ },
1130
+ "ownerRepo": {
1131
+ "type": "string",
1132
+ "minLength": 1,
1133
+ "maxLength": 256
1134
+ }
1135
+ },
1136
+ "required": [
1137
+ "kind",
1138
+ "id"
1139
+ ],
1140
+ "additionalProperties": false
1141
+ },
1142
+ "surface": {
1143
+ "type": "object",
1144
+ "properties": {
1145
+ "frameOwner": {
1146
+ "type": "string",
1147
+ "enum": [
1148
+ "host",
1149
+ "provider",
1150
+ "none"
1151
+ ]
1152
+ },
1153
+ "tone": {
1154
+ "type": "string",
1155
+ "minLength": 1,
1156
+ "maxLength": 256
1157
+ },
1158
+ "density": {
93
1159
  "type": "string",
94
- "minLength": 1,
95
- "maxLength": 256
1160
+ "enum": [
1161
+ "compact",
1162
+ "default",
1163
+ "comfortable"
1164
+ ]
96
1165
  },
97
- "version": {
98
- "anyOf": [
99
- {
100
- "type": "integer",
101
- "exclusiveMinimum": 0,
102
- "maximum": 9007199254740991
1166
+ "bento": {
1167
+ "type": "object",
1168
+ "properties": {
1169
+ "chrome": {
1170
+ "type": "string",
1171
+ "enum": [
1172
+ "panel",
1173
+ "plain"
1174
+ ]
103
1175
  },
104
- {
1176
+ "fill": {
1177
+ "type": "boolean"
1178
+ },
1179
+ "surface": {
105
1180
  "type": "string",
106
- "minLength": 1
1181
+ "enum": [
1182
+ "default",
1183
+ "muted",
1184
+ "glow",
1185
+ "transparent"
1186
+ ]
1187
+ },
1188
+ "minHeight": {
1189
+ "anyOf": [
1190
+ {
1191
+ "type": "number"
1192
+ },
1193
+ {
1194
+ "type": "string",
1195
+ "minLength": 1,
1196
+ "maxLength": 256
1197
+ }
1198
+ ]
1199
+ },
1200
+ "aspectRatio": {
1201
+ "type": "string",
1202
+ "minLength": 1,
1203
+ "maxLength": 32,
1204
+ "pattern": "^[0-9]+(?:\\.[0-9]+)?\\s*(?:\\/\\s*[0-9]+(?:\\.[0-9]+)?)?$"
107
1205
  }
1206
+ },
1207
+ "additionalProperties": false
1208
+ }
1209
+ },
1210
+ "required": [
1211
+ "frameOwner",
1212
+ "density"
1213
+ ],
1214
+ "additionalProperties": false
1215
+ },
1216
+ "scroll": {
1217
+ "type": "object",
1218
+ "properties": {
1219
+ "owner": {
1220
+ "type": "string",
1221
+ "enum": [
1222
+ "page",
1223
+ "surface",
1224
+ "provider"
108
1225
  ]
109
1226
  },
110
- "ownerRepo": {
1227
+ "axis": {
1228
+ "type": "string",
1229
+ "enum": [
1230
+ "x",
1231
+ "y",
1232
+ "both",
1233
+ "none"
1234
+ ]
1235
+ },
1236
+ "restoreKey": {
1237
+ "type": "string",
1238
+ "minLength": 1,
1239
+ "maxLength": 256
1240
+ },
1241
+ "virtualizationBoundary": {
1242
+ "type": "boolean"
1243
+ }
1244
+ },
1245
+ "required": [
1246
+ "owner",
1247
+ "axis",
1248
+ "virtualizationBoundary"
1249
+ ],
1250
+ "additionalProperties": false
1251
+ },
1252
+ "activation": {
1253
+ "type": "object",
1254
+ "properties": {
1255
+ "activationId": {
111
1256
  "type": "string",
112
1257
  "minLength": 1,
113
1258
  "maxLength": 256
1259
+ },
1260
+ "mode": {
1261
+ "type": "string",
1262
+ "enum": [
1263
+ "navigate",
1264
+ "select",
1265
+ "drawer",
1266
+ "modal",
1267
+ "fullscreen",
1268
+ "inline"
1269
+ ]
1270
+ },
1271
+ "targetPath": {
1272
+ "type": "string",
1273
+ "pattern": "^\\/(?!\\/)"
1274
+ },
1275
+ "history": {
1276
+ "type": "string",
1277
+ "enum": [
1278
+ "push",
1279
+ "replace"
1280
+ ]
1281
+ }
1282
+ },
1283
+ "required": [
1284
+ "activationId",
1285
+ "mode"
1286
+ ],
1287
+ "additionalProperties": false
1288
+ },
1289
+ "lifecycle": {
1290
+ "type": "object",
1291
+ "properties": {
1292
+ "mountPolicy": {
1293
+ "type": "string",
1294
+ "enum": [
1295
+ "always",
1296
+ "when-visible",
1297
+ "when-active"
1298
+ ]
1299
+ },
1300
+ "queryPolicy": {
1301
+ "type": "string",
1302
+ "enum": [
1303
+ "always",
1304
+ "when-visible",
1305
+ "when-active",
1306
+ "manual"
1307
+ ]
1308
+ },
1309
+ "retainOnDeactivate": {
1310
+ "type": "boolean"
1311
+ },
1312
+ "deepLink": {
1313
+ "type": "boolean"
1314
+ },
1315
+ "focusReturn": {
1316
+ "type": "boolean"
1317
+ }
1318
+ },
1319
+ "required": [
1320
+ "mountPolicy",
1321
+ "queryPolicy",
1322
+ "retainOnDeactivate",
1323
+ "deepLink",
1324
+ "focusReturn"
1325
+ ],
1326
+ "additionalProperties": false
1327
+ },
1328
+ "layout": {
1329
+ "type": "object",
1330
+ "properties": {
1331
+ "mode": {
1332
+ "type": "string",
1333
+ "enum": [
1334
+ "contents",
1335
+ "block",
1336
+ "flex",
1337
+ "grid",
1338
+ "split",
1339
+ "tabs",
1340
+ "absolute"
1341
+ ]
1342
+ },
1343
+ "direction": {
1344
+ "type": "string",
1345
+ "enum": [
1346
+ "row",
1347
+ "column"
1348
+ ]
1349
+ },
1350
+ "columns": {
1351
+ "type": "integer",
1352
+ "exclusiveMinimum": 0,
1353
+ "maximum": 9007199254740991
1354
+ },
1355
+ "rowHeight": {
1356
+ "type": "integer",
1357
+ "minimum": 12,
1358
+ "maximum": 200
1359
+ },
1360
+ "gap": {
1361
+ "type": "integer",
1362
+ "minimum": 0,
1363
+ "maximum": 64
1364
+ },
1365
+ "align": {
1366
+ "type": "string",
1367
+ "enum": [
1368
+ "start",
1369
+ "center",
1370
+ "end",
1371
+ "stretch"
1372
+ ]
1373
+ },
1374
+ "justify": {
1375
+ "type": "string",
1376
+ "enum": [
1377
+ "start",
1378
+ "center",
1379
+ "end",
1380
+ "between",
1381
+ "around"
1382
+ ]
1383
+ },
1384
+ "gapTokenRef": {
1385
+ "type": "object",
1386
+ "properties": {
1387
+ "kind": {
1388
+ "type": "string",
1389
+ "minLength": 1,
1390
+ "maxLength": 256
1391
+ },
1392
+ "id": {
1393
+ "type": "string",
1394
+ "minLength": 1,
1395
+ "maxLength": 256
1396
+ },
1397
+ "version": {
1398
+ "anyOf": [
1399
+ {
1400
+ "type": "integer",
1401
+ "exclusiveMinimum": 0,
1402
+ "maximum": 9007199254740991
1403
+ },
1404
+ {
1405
+ "type": "string",
1406
+ "minLength": 1
1407
+ }
1408
+ ]
1409
+ },
1410
+ "ownerRepo": {
1411
+ "type": "string",
1412
+ "minLength": 1,
1413
+ "maxLength": 256
1414
+ }
1415
+ },
1416
+ "required": [
1417
+ "kind",
1418
+ "id"
1419
+ ],
1420
+ "additionalProperties": false
114
1421
  }
115
1422
  },
116
1423
  "required": [
117
- "kind",
118
- "id"
1424
+ "mode"
119
1425
  ],
120
1426
  "additionalProperties": false
121
1427
  },
122
- "semanticRef": {
1428
+ "placement": {
123
1429
  "type": "object",
124
1430
  "properties": {
125
- "kind": {
126
- "type": "string",
127
- "minLength": 1,
128
- "maxLength": 256
1431
+ "grid": {
1432
+ "type": "object",
1433
+ "properties": {
1434
+ "x": {
1435
+ "type": "integer",
1436
+ "minimum": 0,
1437
+ "maximum": 23
1438
+ },
1439
+ "y": {
1440
+ "type": "integer",
1441
+ "minimum": 0,
1442
+ "maximum": 200
1443
+ },
1444
+ "w": {
1445
+ "type": "integer",
1446
+ "minimum": 2,
1447
+ "maximum": 24
1448
+ },
1449
+ "h": {
1450
+ "type": "integer",
1451
+ "minimum": 2,
1452
+ "maximum": 200
1453
+ },
1454
+ "minW": {
1455
+ "type": "integer",
1456
+ "minimum": 2,
1457
+ "maximum": 24
1458
+ },
1459
+ "minH": {
1460
+ "type": "integer",
1461
+ "minimum": 2,
1462
+ "maximum": 200
1463
+ }
1464
+ },
1465
+ "required": [
1466
+ "x",
1467
+ "y",
1468
+ "w",
1469
+ "h"
1470
+ ],
1471
+ "additionalProperties": false
129
1472
  },
130
- "id": {
131
- "type": "string",
132
- "minLength": 1,
133
- "maxLength": 256
1473
+ "split": {
1474
+ "type": "object",
1475
+ "properties": {
1476
+ "size": {
1477
+ "anyOf": [
1478
+ {
1479
+ "type": "number",
1480
+ "exclusiveMinimum": 0
1481
+ },
1482
+ {
1483
+ "type": "string",
1484
+ "minLength": 1
1485
+ }
1486
+ ]
1487
+ },
1488
+ "minSize": {
1489
+ "anyOf": [
1490
+ {
1491
+ "type": "number",
1492
+ "exclusiveMinimum": 0
1493
+ },
1494
+ {
1495
+ "type": "string",
1496
+ "minLength": 1
1497
+ }
1498
+ ]
1499
+ },
1500
+ "maxSize": {
1501
+ "anyOf": [
1502
+ {
1503
+ "type": "number",
1504
+ "exclusiveMinimum": 0
1505
+ },
1506
+ {
1507
+ "type": "string",
1508
+ "minLength": 1
1509
+ }
1510
+ ]
1511
+ },
1512
+ "collapsible": {
1513
+ "type": "boolean"
1514
+ },
1515
+ "collapsed": {
1516
+ "type": "boolean"
1517
+ }
1518
+ },
1519
+ "additionalProperties": false
134
1520
  },
135
- "version": {
136
- "anyOf": [
137
- {
138
- "type": "integer",
139
- "exclusiveMinimum": 0,
140
- "maximum": 9007199254740991
1521
+ "tab": {
1522
+ "type": "object",
1523
+ "properties": {
1524
+ "label": {
1525
+ "anyOf": [
1526
+ {
1527
+ "type": "string",
1528
+ "minLength": 1
1529
+ },
1530
+ {
1531
+ "type": "object",
1532
+ "propertyNames": {
1533
+ "type": "string",
1534
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1535
+ },
1536
+ "additionalProperties": {
1537
+ "type": "string",
1538
+ "minLength": 1
1539
+ }
1540
+ }
1541
+ ]
141
1542
  },
142
- {
1543
+ "icon": {
143
1544
  "type": "string",
144
- "minLength": 1
1545
+ "minLength": 1,
1546
+ "maxLength": 256
145
1547
  }
146
- ]
147
- },
148
- "ownerRepo": {
149
- "type": "string",
150
- "minLength": 1,
151
- "maxLength": 256
1548
+ },
1549
+ "additionalProperties": false
152
1550
  }
153
1551
  },
154
- "required": [
155
- "kind",
156
- "id"
157
- ],
158
1552
  "additionalProperties": false
159
1553
  },
160
- "dataContextRef": {
161
- "type": "object",
162
- "properties": {
163
- "kind": {
164
- "type": "string",
165
- "minLength": 1,
166
- "maxLength": 256
167
- },
168
- "id": {
169
- "type": "string",
170
- "minLength": 1,
171
- "maxLength": 256
172
- },
173
- "version": {
1554
+ "dataBinding": {
1555
+ "anyOf": [
1556
+ {
174
1557
  "anyOf": [
175
1558
  {
176
- "type": "integer",
177
- "exclusiveMinimum": 0,
178
- "maximum": 9007199254740991
1559
+ "type": "object",
1560
+ "properties": {
1561
+ "kind": {
1562
+ "type": "string",
1563
+ "const": "select"
1564
+ },
1565
+ "from": {
1566
+ "type": "object",
1567
+ "properties": {
1568
+ "source": {
1569
+ "default": "ontology",
1570
+ "type": "string",
1571
+ "enum": [
1572
+ "ontology",
1573
+ "workflow-outputs",
1574
+ "telemetry"
1575
+ ]
1576
+ },
1577
+ "ontologyId": {
1578
+ "type": "string",
1579
+ "minLength": 1,
1580
+ "maxLength": 256
1581
+ },
1582
+ "workflowId": {
1583
+ "type": "string",
1584
+ "minLength": 1,
1585
+ "maxLength": 256
1586
+ },
1587
+ "includeSharedSlices": {
1588
+ "type": "boolean"
1589
+ }
1590
+ },
1591
+ "required": [
1592
+ "source",
1593
+ "ontologyId"
1594
+ ],
1595
+ "additionalProperties": false
1596
+ },
1597
+ "select": {
1598
+ "type": "object",
1599
+ "properties": {
1600
+ "baseColumns": {
1601
+ "maxItems": 64,
1602
+ "type": "array",
1603
+ "items": {
1604
+ "type": "string",
1605
+ "minLength": 1,
1606
+ "maxLength": 256
1607
+ }
1608
+ },
1609
+ "propertyColumns": {
1610
+ "maxItems": 128,
1611
+ "type": "array",
1612
+ "items": {
1613
+ "type": "string",
1614
+ "minLength": 1,
1615
+ "maxLength": 256
1616
+ }
1617
+ },
1618
+ "featureColumns": {
1619
+ "maxItems": 256,
1620
+ "type": "array",
1621
+ "items": {
1622
+ "type": "string",
1623
+ "minLength": 1,
1624
+ "maxLength": 256
1625
+ }
1626
+ },
1627
+ "tagGroupColumns": {
1628
+ "maxItems": 128,
1629
+ "type": "array",
1630
+ "items": {
1631
+ "type": "string",
1632
+ "minLength": 1,
1633
+ "maxLength": 256
1634
+ }
1635
+ },
1636
+ "columnOrder": {
1637
+ "maxItems": 512,
1638
+ "type": "array",
1639
+ "items": {
1640
+ "type": "string",
1641
+ "minLength": 1,
1642
+ "maxLength": 256
1643
+ }
1644
+ }
1645
+ },
1646
+ "additionalProperties": false
1647
+ },
1648
+ "where": {
1649
+ "$ref": "#/$defs/__schema0"
1650
+ },
1651
+ "orderBy": {
1652
+ "maxItems": 16,
1653
+ "type": "array",
1654
+ "items": {
1655
+ "type": "object",
1656
+ "properties": {
1657
+ "field": {
1658
+ "type": "string",
1659
+ "minLength": 1,
1660
+ "maxLength": 256
1661
+ },
1662
+ "kind": {
1663
+ "default": "builtin",
1664
+ "type": "string",
1665
+ "enum": [
1666
+ "builtin",
1667
+ "feature"
1668
+ ]
1669
+ },
1670
+ "direction": {
1671
+ "default": "desc",
1672
+ "type": "string",
1673
+ "enum": [
1674
+ "asc",
1675
+ "desc"
1676
+ ]
1677
+ },
1678
+ "nulls": {
1679
+ "type": "string",
1680
+ "enum": [
1681
+ "first",
1682
+ "last"
1683
+ ]
1684
+ }
1685
+ },
1686
+ "required": [
1687
+ "field",
1688
+ "kind",
1689
+ "direction"
1690
+ ],
1691
+ "additionalProperties": false
1692
+ }
1693
+ },
1694
+ "limit": {
1695
+ "type": "integer",
1696
+ "minimum": 1,
1697
+ "maximum": 1000
1698
+ }
1699
+ },
1700
+ "required": [
1701
+ "kind",
1702
+ "from"
1703
+ ],
1704
+ "additionalProperties": false
1705
+ },
1706
+ {
1707
+ "type": "object",
1708
+ "properties": {
1709
+ "kind": {
1710
+ "type": "string",
1711
+ "const": "aggregate"
1712
+ },
1713
+ "from": {
1714
+ "type": "object",
1715
+ "properties": {
1716
+ "source": {
1717
+ "default": "ontology",
1718
+ "type": "string",
1719
+ "enum": [
1720
+ "ontology",
1721
+ "workflow-outputs",
1722
+ "telemetry"
1723
+ ]
1724
+ },
1725
+ "ontologyId": {
1726
+ "type": "string",
1727
+ "minLength": 1,
1728
+ "maxLength": 256
1729
+ },
1730
+ "workflowId": {
1731
+ "type": "string",
1732
+ "minLength": 1,
1733
+ "maxLength": 256
1734
+ },
1735
+ "includeSharedSlices": {
1736
+ "type": "boolean"
1737
+ }
1738
+ },
1739
+ "required": [
1740
+ "source",
1741
+ "ontologyId"
1742
+ ],
1743
+ "additionalProperties": false
1744
+ },
1745
+ "where": {
1746
+ "$ref": "#/$defs/__schema0"
1747
+ },
1748
+ "groupBy": {
1749
+ "maxItems": 16,
1750
+ "type": "array",
1751
+ "items": {
1752
+ "type": "string",
1753
+ "minLength": 1,
1754
+ "maxLength": 256
1755
+ }
1756
+ },
1757
+ "metrics": {
1758
+ "minItems": 1,
1759
+ "maxItems": 32,
1760
+ "type": "array",
1761
+ "items": {
1762
+ "type": "object",
1763
+ "properties": {
1764
+ "alias": {
1765
+ "type": "string",
1766
+ "minLength": 1,
1767
+ "maxLength": 256
1768
+ },
1769
+ "fn": {
1770
+ "type": "string",
1771
+ "enum": [
1772
+ "count",
1773
+ "sum",
1774
+ "avg",
1775
+ "min",
1776
+ "max",
1777
+ "distinct_count",
1778
+ "ratio",
1779
+ "count_distinct",
1780
+ "percentile",
1781
+ "trimmed_avg",
1782
+ "first_by",
1783
+ "last_by"
1784
+ ]
1785
+ },
1786
+ "fieldKey": {
1787
+ "type": "string",
1788
+ "minLength": 1,
1789
+ "maxLength": 256
1790
+ },
1791
+ "numeric": {
1792
+ "type": "boolean"
1793
+ },
1794
+ "percentile": {
1795
+ "type": "number",
1796
+ "minimum": 0,
1797
+ "maximum": 100
1798
+ },
1799
+ "trimTopPct": {
1800
+ "type": "number",
1801
+ "minimum": 0,
1802
+ "maximum": 100
1803
+ },
1804
+ "orderColumnId": {
1805
+ "type": "string",
1806
+ "minLength": 1,
1807
+ "maxLength": 256
1808
+ },
1809
+ "filter": {
1810
+ "$ref": "#/$defs/__schema0"
1811
+ }
1812
+ },
1813
+ "required": [
1814
+ "alias",
1815
+ "fn"
1816
+ ],
1817
+ "additionalProperties": false
1818
+ }
1819
+ },
1820
+ "orderBy": {
1821
+ "maxItems": 16,
1822
+ "type": "array",
1823
+ "items": {
1824
+ "type": "object",
1825
+ "properties": {
1826
+ "field": {
1827
+ "type": "string",
1828
+ "minLength": 1,
1829
+ "maxLength": 256
1830
+ },
1831
+ "kind": {
1832
+ "default": "builtin",
1833
+ "type": "string",
1834
+ "enum": [
1835
+ "builtin",
1836
+ "feature"
1837
+ ]
1838
+ },
1839
+ "direction": {
1840
+ "default": "desc",
1841
+ "type": "string",
1842
+ "enum": [
1843
+ "asc",
1844
+ "desc"
1845
+ ]
1846
+ },
1847
+ "nulls": {
1848
+ "type": "string",
1849
+ "enum": [
1850
+ "first",
1851
+ "last"
1852
+ ]
1853
+ }
1854
+ },
1855
+ "required": [
1856
+ "field",
1857
+ "kind",
1858
+ "direction"
1859
+ ],
1860
+ "additionalProperties": false
1861
+ }
1862
+ },
1863
+ "limit": {
1864
+ "type": "integer",
1865
+ "minimum": 1,
1866
+ "maximum": 1000
1867
+ },
1868
+ "engine": {
1869
+ "type": "string",
1870
+ "enum": [
1871
+ "auto",
1872
+ "canonical",
1873
+ "search"
1874
+ ]
1875
+ },
1876
+ "allTeams": {
1877
+ "type": "boolean"
1878
+ },
1879
+ "exact": {
1880
+ "type": "boolean"
1881
+ },
1882
+ "includeTotals": {
1883
+ "type": "boolean"
1884
+ },
1885
+ "timeBucket": {
1886
+ "type": "object",
1887
+ "properties": {
1888
+ "column": {
1889
+ "type": "string",
1890
+ "minLength": 1,
1891
+ "maxLength": 256
1892
+ },
1893
+ "granularity": {
1894
+ "type": "string",
1895
+ "enum": [
1896
+ "hour",
1897
+ "day",
1898
+ "week",
1899
+ "month",
1900
+ "quarter",
1901
+ "year"
1902
+ ]
1903
+ },
1904
+ "timezone": {
1905
+ "type": "string",
1906
+ "minLength": 1,
1907
+ "maxLength": 128
1908
+ },
1909
+ "fillGaps": {
1910
+ "type": "boolean"
1911
+ }
1912
+ },
1913
+ "required": [
1914
+ "column",
1915
+ "granularity"
1916
+ ],
1917
+ "additionalProperties": false
1918
+ },
1919
+ "joins": {
1920
+ "maxItems": 16,
1921
+ "type": "array",
1922
+ "items": {
1923
+ "type": "object",
1924
+ "properties": {
1925
+ "alias": {
1926
+ "type": "string",
1927
+ "minLength": 1,
1928
+ "maxLength": 256
1929
+ },
1930
+ "ontologyId": {
1931
+ "type": "string",
1932
+ "minLength": 1,
1933
+ "maxLength": 256
1934
+ },
1935
+ "assetType": {
1936
+ "type": "string",
1937
+ "minLength": 1,
1938
+ "maxLength": 256
1939
+ },
1940
+ "joinType": {
1941
+ "type": "string",
1942
+ "enum": [
1943
+ "inner",
1944
+ "left"
1945
+ ]
1946
+ },
1947
+ "viaRelation": {
1948
+ "type": "object",
1949
+ "properties": {
1950
+ "columnId": {
1951
+ "type": "string",
1952
+ "minLength": 1,
1953
+ "maxLength": 256
1954
+ },
1955
+ "direction": {
1956
+ "type": "string",
1957
+ "enum": [
1958
+ "outgoing",
1959
+ "incoming"
1960
+ ]
1961
+ }
1962
+ },
1963
+ "required": [
1964
+ "columnId",
1965
+ "direction"
1966
+ ],
1967
+ "additionalProperties": false
1968
+ },
1969
+ "onColumn": {
1970
+ "type": "object",
1971
+ "properties": {
1972
+ "localColumnId": {
1973
+ "type": "string",
1974
+ "minLength": 1,
1975
+ "maxLength": 256
1976
+ },
1977
+ "foreignColumnId": {
1978
+ "type": "string",
1979
+ "minLength": 1,
1980
+ "maxLength": 256
1981
+ },
1982
+ "foreignAssetId": {
1983
+ "type": "boolean"
1984
+ }
1985
+ },
1986
+ "required": [
1987
+ "localColumnId"
1988
+ ],
1989
+ "additionalProperties": false
1990
+ }
1991
+ },
1992
+ "required": [
1993
+ "alias",
1994
+ "ontologyId"
1995
+ ],
1996
+ "additionalProperties": false
1997
+ }
1998
+ },
1999
+ "hierarchyScopes": {
2000
+ "maxItems": 16,
2001
+ "type": "array",
2002
+ "items": {
2003
+ "type": "object",
2004
+ "properties": {
2005
+ "targetAlias": {
2006
+ "type": "string",
2007
+ "minLength": 1,
2008
+ "maxLength": 256
2009
+ },
2010
+ "localColumnId": {
2011
+ "type": "string",
2012
+ "minLength": 1,
2013
+ "maxLength": 256
2014
+ },
2015
+ "ontologyId": {
2016
+ "type": "string",
2017
+ "minLength": 1,
2018
+ "maxLength": 256
2019
+ },
2020
+ "relationColumnId": {
2021
+ "type": "string",
2022
+ "minLength": 1,
2023
+ "maxLength": 256
2024
+ },
2025
+ "direction": {
2026
+ "type": "string",
2027
+ "enum": [
2028
+ "incoming",
2029
+ "outgoing"
2030
+ ]
2031
+ },
2032
+ "seedIds": {
2033
+ "maxItems": 500,
2034
+ "type": "array",
2035
+ "items": {
2036
+ "type": "string",
2037
+ "minLength": 1,
2038
+ "maxLength": 256
2039
+ }
2040
+ },
2041
+ "maxDepth": {
2042
+ "type": "integer",
2043
+ "minimum": 0,
2044
+ "maximum": 32
2045
+ },
2046
+ "includeSelf": {
2047
+ "type": "boolean"
2048
+ }
2049
+ },
2050
+ "required": [
2051
+ "ontologyId",
2052
+ "relationColumnId",
2053
+ "direction",
2054
+ "seedIds"
2055
+ ],
2056
+ "additionalProperties": false
2057
+ }
2058
+ },
2059
+ "unwind": {
2060
+ "type": "object",
2061
+ "properties": {
2062
+ "columnId": {
2063
+ "type": "string",
2064
+ "minLength": 1,
2065
+ "maxLength": 256
2066
+ },
2067
+ "jsonPath": {
2068
+ "maxItems": 32,
2069
+ "type": "array",
2070
+ "items": {
2071
+ "type": "string",
2072
+ "minLength": 1,
2073
+ "maxLength": 256
2074
+ }
2075
+ },
2076
+ "preserveEmpty": {
2077
+ "type": "boolean"
2078
+ }
2079
+ },
2080
+ "required": [
2081
+ "columnId"
2082
+ ],
2083
+ "additionalProperties": false
2084
+ },
2085
+ "having": {
2086
+ "maxItems": 32,
2087
+ "type": "array",
2088
+ "items": {
2089
+ "type": "object",
2090
+ "properties": {
2091
+ "key": {
2092
+ "type": "string",
2093
+ "minLength": 1,
2094
+ "maxLength": 256
2095
+ },
2096
+ "op": {
2097
+ "type": "string",
2098
+ "enum": [
2099
+ "eq",
2100
+ "ne",
2101
+ "gt",
2102
+ "gte",
2103
+ "lt",
2104
+ "lte"
2105
+ ]
2106
+ },
2107
+ "value": {
2108
+ "type": "number"
2109
+ }
2110
+ },
2111
+ "required": [
2112
+ "key",
2113
+ "op",
2114
+ "value"
2115
+ ],
2116
+ "additionalProperties": false
2117
+ }
2118
+ },
2119
+ "pagination": {
2120
+ "type": "object",
2121
+ "properties": {
2122
+ "offset": {
2123
+ "type": "integer",
2124
+ "minimum": 0,
2125
+ "maximum": 9007199254740991
2126
+ },
2127
+ "limit": {
2128
+ "type": "integer",
2129
+ "minimum": 1,
2130
+ "maximum": 10000
2131
+ },
2132
+ "includeTotalGroups": {
2133
+ "type": "boolean"
2134
+ }
2135
+ },
2136
+ "additionalProperties": false
2137
+ }
2138
+ },
2139
+ "required": [
2140
+ "kind",
2141
+ "from",
2142
+ "metrics"
2143
+ ],
2144
+ "additionalProperties": false
2145
+ },
2146
+ {
2147
+ "type": "object",
2148
+ "properties": {
2149
+ "kind": {
2150
+ "type": "string",
2151
+ "const": "graph"
2152
+ },
2153
+ "from": {
2154
+ "type": "object",
2155
+ "properties": {
2156
+ "source": {
2157
+ "default": "ontology",
2158
+ "type": "string",
2159
+ "enum": [
2160
+ "ontology",
2161
+ "workflow-outputs",
2162
+ "telemetry"
2163
+ ]
2164
+ },
2165
+ "ontologyId": {
2166
+ "type": "string",
2167
+ "minLength": 1,
2168
+ "maxLength": 256
2169
+ },
2170
+ "workflowId": {
2171
+ "type": "string",
2172
+ "minLength": 1,
2173
+ "maxLength": 256
2174
+ },
2175
+ "includeSharedSlices": {
2176
+ "type": "boolean"
2177
+ }
2178
+ },
2179
+ "required": [
2180
+ "source",
2181
+ "ontologyId"
2182
+ ],
2183
+ "additionalProperties": false
2184
+ },
2185
+ "where": {
2186
+ "$ref": "#/$defs/__schema0"
2187
+ },
2188
+ "graph": {
2189
+ "type": "object",
2190
+ "properties": {
2191
+ "graphKind": {
2192
+ "type": "string",
2193
+ "enum": [
2194
+ "schema",
2195
+ "cooccurrence",
2196
+ "bipartite-cosine",
2197
+ "focus-star",
2198
+ "ontology-relation",
2199
+ "record-clustering",
2200
+ "field-tag-hub"
2201
+ ]
2202
+ },
2203
+ "maxHops": {
2204
+ "default": 2,
2205
+ "type": "integer",
2206
+ "minimum": 1,
2207
+ "maximum": 6
2208
+ },
2209
+ "nodeLabelField": {
2210
+ "type": "string",
2211
+ "minLength": 1,
2212
+ "maxLength": 256
2213
+ },
2214
+ "edgeRelationFields": {
2215
+ "maxItems": 32,
2216
+ "type": "array",
2217
+ "items": {
2218
+ "type": "string",
2219
+ "minLength": 1,
2220
+ "maxLength": 256
2221
+ }
2222
+ }
2223
+ },
2224
+ "required": [
2225
+ "graphKind",
2226
+ "maxHops"
2227
+ ],
2228
+ "additionalProperties": false
2229
+ },
2230
+ "limit": {
2231
+ "type": "integer",
2232
+ "minimum": 1,
2233
+ "maximum": 5000
2234
+ }
2235
+ },
2236
+ "required": [
2237
+ "kind",
2238
+ "from",
2239
+ "graph"
2240
+ ],
2241
+ "additionalProperties": false
2242
+ },
2243
+ {
2244
+ "type": "object",
2245
+ "properties": {
2246
+ "kind": {
2247
+ "type": "string",
2248
+ "enum": [
2249
+ "insert",
2250
+ "update",
2251
+ "delete"
2252
+ ]
2253
+ },
2254
+ "ontologyId": {
2255
+ "type": "string",
2256
+ "minLength": 1,
2257
+ "maxLength": 256
2258
+ },
2259
+ "values": {
2260
+ "type": "object",
2261
+ "propertyNames": {
2262
+ "type": "string"
2263
+ },
2264
+ "additionalProperties": {
2265
+ "$ref": "#/$defs/__schema1"
2266
+ }
2267
+ },
2268
+ "where": {
2269
+ "$ref": "#/$defs/__schema0"
2270
+ }
2271
+ },
2272
+ "required": [
2273
+ "kind",
2274
+ "ontologyId"
2275
+ ],
2276
+ "additionalProperties": false
179
2277
  },
180
2278
  {
181
- "type": "string",
182
- "minLength": 1
2279
+ "type": "object",
2280
+ "properties": {
2281
+ "kind": {
2282
+ "type": "string",
2283
+ "const": "call"
2284
+ },
2285
+ "workflowId": {
2286
+ "type": "string",
2287
+ "minLength": 1,
2288
+ "maxLength": 256
2289
+ },
2290
+ "pageType": {
2291
+ "default": "preview",
2292
+ "type": "string",
2293
+ "enum": [
2294
+ "preview",
2295
+ "process",
2296
+ "log",
2297
+ "chat",
2298
+ "api"
2299
+ ]
2300
+ },
2301
+ "inputMapping": {
2302
+ "type": "object",
2303
+ "propertyNames": {
2304
+ "type": "string"
2305
+ },
2306
+ "additionalProperties": {
2307
+ "$ref": "#/$defs/__schema1"
2308
+ }
2309
+ },
2310
+ "outputStrategy": {
2311
+ "type": "string",
2312
+ "enum": [
2313
+ "default-result-ontology",
2314
+ "domain-ontology",
2315
+ "ledger-only",
2316
+ "column-writeback"
2317
+ ]
2318
+ }
2319
+ },
2320
+ "required": [
2321
+ "kind",
2322
+ "workflowId",
2323
+ "pageType"
2324
+ ],
2325
+ "additionalProperties": false
183
2326
  }
184
2327
  ]
185
2328
  },
186
- "ownerRepo": {
187
- "type": "string",
188
- "minLength": 1,
189
- "maxLength": 256
190
- }
191
- },
192
- "required": [
193
- "kind",
194
- "id"
195
- ],
196
- "additionalProperties": false
197
- },
198
- "capabilityRef": {
199
- "type": "object",
200
- "properties": {
201
- "kind": {
202
- "type": "string",
203
- "minLength": 1,
204
- "maxLength": 256
205
- },
206
- "id": {
207
- "type": "string",
208
- "minLength": 1,
209
- "maxLength": 256
210
- },
211
- "version": {
212
- "anyOf": [
213
- {
214
- "type": "integer",
215
- "exclusiveMinimum": 0,
216
- "maximum": 9007199254740991
2329
+ {
2330
+ "type": "object",
2331
+ "properties": {
2332
+ "kind": {
2333
+ "type": "string",
2334
+ "const": "statement"
217
2335
  },
218
- {
2336
+ "statementId": {
219
2337
  "type": "string",
220
- "minLength": 1
2338
+ "minLength": 1,
2339
+ "maxLength": 256
221
2340
  }
222
- ]
223
- },
224
- "ownerRepo": {
225
- "type": "string",
226
- "minLength": 1,
227
- "maxLength": 256
228
- }
229
- },
230
- "required": [
231
- "kind",
232
- "id"
233
- ],
234
- "additionalProperties": false
235
- },
236
- "runtimeContractVersion": {
237
- "type": "string",
238
- "minLength": 1,
239
- "maxLength": 256
240
- },
241
- "providerRef": {
242
- "type": "object",
243
- "properties": {
244
- "kind": {
245
- "type": "string",
246
- "minLength": 1,
247
- "maxLength": 256
248
- },
249
- "id": {
250
- "type": "string",
251
- "minLength": 1,
252
- "maxLength": 256
2341
+ },
2342
+ "required": [
2343
+ "kind",
2344
+ "statementId"
2345
+ ],
2346
+ "additionalProperties": false
253
2347
  },
254
- "version": {
255
- "anyOf": [
256
- {
257
- "type": "integer",
258
- "exclusiveMinimum": 0,
259
- "maximum": 9007199254740991
2348
+ {
2349
+ "type": "object",
2350
+ "properties": {
2351
+ "kind": {
2352
+ "type": "string",
2353
+ "const": "ontology-record"
260
2354
  },
261
- {
2355
+ "ontologyId": {
262
2356
  "type": "string",
263
- "minLength": 1
2357
+ "minLength": 1,
2358
+ "maxLength": 256
2359
+ },
2360
+ "recordId": {
2361
+ "type": "string",
2362
+ "minLength": 1,
2363
+ "maxLength": 256
2364
+ },
2365
+ "includeRelations": {
2366
+ "type": "boolean"
264
2367
  }
265
- ]
266
- },
267
- "ownerRepo": {
268
- "type": "string",
269
- "minLength": 1,
270
- "maxLength": 256
271
- }
272
- },
273
- "required": [
274
- "kind",
275
- "id"
276
- ],
277
- "additionalProperties": false
278
- },
279
- "stateRef": {
280
- "type": "object",
281
- "properties": {
282
- "kind": {
283
- "type": "string",
284
- "minLength": 1,
285
- "maxLength": 256
286
- },
287
- "id": {
288
- "type": "string",
289
- "minLength": 1,
290
- "maxLength": 256
2368
+ },
2369
+ "required": [
2370
+ "kind",
2371
+ "ontologyId",
2372
+ "recordId"
2373
+ ],
2374
+ "additionalProperties": false
291
2375
  },
292
- "version": {
293
- "anyOf": [
294
- {
295
- "type": "integer",
296
- "exclusiveMinimum": 0,
297
- "maximum": 9007199254740991
2376
+ {
2377
+ "type": "object",
2378
+ "properties": {
2379
+ "kind": {
2380
+ "type": "string",
2381
+ "const": "ontology-view"
298
2382
  },
299
- {
2383
+ "viewId": {
300
2384
  "type": "string",
301
- "minLength": 1
2385
+ "minLength": 1,
2386
+ "maxLength": 256
302
2387
  }
303
- ]
304
- },
305
- "ownerRepo": {
306
- "type": "string",
307
- "minLength": 1,
308
- "maxLength": 256
309
- }
310
- },
311
- "required": [
312
- "kind",
313
- "id"
314
- ],
315
- "additionalProperties": false
316
- },
317
- "surface": {
318
- "type": "object",
319
- "properties": {
320
- "frameOwner": {
321
- "type": "string",
322
- "enum": [
323
- "host",
324
- "provider",
325
- "none"
326
- ]
327
- },
328
- "tone": {
329
- "type": "string",
330
- "minLength": 1,
331
- "maxLength": 256
332
- },
333
- "density": {
334
- "type": "string",
335
- "enum": [
336
- "compact",
337
- "default",
338
- "comfortable"
339
- ]
2388
+ },
2389
+ "required": [
2390
+ "kind",
2391
+ "viewId"
2392
+ ],
2393
+ "additionalProperties": false
340
2394
  },
341
- "bento": {
2395
+ {
342
2396
  "type": "object",
343
2397
  "properties": {
344
- "chrome": {
2398
+ "kind": {
2399
+ "type": "string",
2400
+ "const": "ontology-relation"
2401
+ },
2402
+ "sourceOntologyId": {
2403
+ "type": "string",
2404
+ "minLength": 1,
2405
+ "maxLength": 256
2406
+ },
2407
+ "sourceRecordId": {
2408
+ "type": "string",
2409
+ "minLength": 1,
2410
+ "maxLength": 256
2411
+ },
2412
+ "direction": {
345
2413
  "type": "string",
346
2414
  "enum": [
347
- "panel",
348
- "plain"
2415
+ "outgoing",
2416
+ "incoming",
2417
+ "both"
349
2418
  ]
350
2419
  },
351
- "fill": {
352
- "type": "boolean"
2420
+ "columnId": {
2421
+ "type": "string",
2422
+ "minLength": 1,
2423
+ "maxLength": 256
2424
+ },
2425
+ "targetOntologyIds": {
2426
+ "maxItems": 64,
2427
+ "type": "array",
2428
+ "items": {
2429
+ "type": "string",
2430
+ "minLength": 1,
2431
+ "maxLength": 256
2432
+ }
2433
+ },
2434
+ "maxHops": {
2435
+ "type": "integer",
2436
+ "minimum": 1,
2437
+ "maximum": 6
2438
+ },
2439
+ "includeTargetFields": {
2440
+ "maxItems": 256,
2441
+ "type": "array",
2442
+ "items": {
2443
+ "type": "string",
2444
+ "minLength": 1,
2445
+ "maxLength": 256
2446
+ }
2447
+ },
2448
+ "pageSize": {
2449
+ "type": "integer",
2450
+ "minimum": 1,
2451
+ "maximum": 1000
2452
+ },
2453
+ "pageToken": {
2454
+ "type": "string",
2455
+ "minLength": 1,
2456
+ "maxLength": 1024
2457
+ }
2458
+ },
2459
+ "required": [
2460
+ "kind",
2461
+ "sourceOntologyId",
2462
+ "sourceRecordId"
2463
+ ],
2464
+ "additionalProperties": false
2465
+ },
2466
+ {
2467
+ "type": "object",
2468
+ "properties": {
2469
+ "kind": {
2470
+ "type": "string",
2471
+ "const": "ontology-action"
353
2472
  },
354
- "surface": {
2473
+ "action": {
355
2474
  "type": "string",
356
2475
  "enum": [
357
- "default",
358
- "muted",
359
- "glow",
360
- "transparent"
2476
+ "insert",
2477
+ "update",
2478
+ "delete",
2479
+ "mutate-relation",
2480
+ "workflow-call"
361
2481
  ]
362
2482
  },
363
- "minHeight": {
364
- "anyOf": [
365
- {
366
- "type": "number"
367
- },
368
- {
369
- "type": "string",
370
- "minLength": 1,
371
- "maxLength": 256
372
- }
373
- ]
2483
+ "ontologyId": {
2484
+ "type": "string",
2485
+ "minLength": 1,
2486
+ "maxLength": 256
374
2487
  },
375
- "aspectRatio": {
2488
+ "recordId": {
376
2489
  "type": "string",
377
2490
  "minLength": 1,
378
- "maxLength": 32,
379
- "pattern": "^[0-9]+(?:\\.[0-9]+)?\\s*(?:\\/\\s*[0-9]+(?:\\.[0-9]+)?)?$"
2491
+ "maxLength": 256
2492
+ },
2493
+ "workflowId": {
2494
+ "type": "string",
2495
+ "minLength": 1,
2496
+ "maxLength": 256
2497
+ },
2498
+ "payload": {
2499
+ "type": "object",
2500
+ "propertyNames": {
2501
+ "type": "string"
2502
+ },
2503
+ "additionalProperties": {}
2504
+ },
2505
+ "invalidateOntologies": {
2506
+ "maxItems": 64,
2507
+ "type": "array",
2508
+ "items": {
2509
+ "type": "string",
2510
+ "minLength": 1,
2511
+ "maxLength": 256
2512
+ }
380
2513
  }
381
2514
  },
2515
+ "required": [
2516
+ "kind",
2517
+ "action"
2518
+ ],
382
2519
  "additionalProperties": false
383
- }
384
- },
385
- "required": [
386
- "frameOwner",
387
- "density"
388
- ],
389
- "additionalProperties": false
390
- },
391
- "scroll": {
392
- "type": "object",
393
- "properties": {
394
- "owner": {
395
- "type": "string",
396
- "enum": [
397
- "page",
398
- "surface",
399
- "provider"
400
- ]
401
- },
402
- "axis": {
403
- "type": "string",
404
- "enum": [
405
- "x",
406
- "y",
407
- "both",
408
- "none"
409
- ]
410
- },
411
- "restoreKey": {
412
- "type": "string",
413
- "minLength": 1,
414
- "maxLength": 256
415
2520
  },
416
- "virtualizationBoundary": {
417
- "type": "boolean"
2521
+ {
2522
+ "type": "object",
2523
+ "properties": {
2524
+ "kind": {
2525
+ "type": "string",
2526
+ "const": "self-managed"
2527
+ }
2528
+ },
2529
+ "required": [
2530
+ "kind"
2531
+ ],
2532
+ "additionalProperties": false
418
2533
  }
419
- },
420
- "required": [
421
- "owner",
422
- "axis",
423
- "virtualizationBoundary"
424
- ],
425
- "additionalProperties": false
2534
+ ]
426
2535
  },
427
- "activation": {
2536
+ "module": {
428
2537
  "type": "object",
429
2538
  "properties": {
430
- "activationId": {
2539
+ "id": {
431
2540
  "type": "string",
432
2541
  "minLength": 1,
433
2542
  "maxLength": 256
434
2543
  },
435
- "mode": {
436
- "type": "string",
437
- "enum": [
438
- "navigate",
439
- "select",
440
- "drawer",
441
- "modal",
442
- "fullscreen",
443
- "inline"
444
- ]
445
- },
446
- "targetPath": {
447
- "type": "string",
448
- "pattern": "^\\/(?!\\/)"
449
- },
450
- "history": {
451
- "type": "string",
452
- "enum": [
453
- "push",
454
- "replace"
455
- ]
456
- }
457
- },
458
- "required": [
459
- "activationId",
460
- "mode"
461
- ],
462
- "additionalProperties": false
463
- },
464
- "lifecycle": {
465
- "type": "object",
466
- "properties": {
467
- "mountPolicy": {
468
- "type": "string",
469
- "enum": [
470
- "always",
471
- "when-visible",
472
- "when-active"
473
- ]
474
- },
475
- "queryPolicy": {
476
- "type": "string",
477
- "enum": [
478
- "always",
479
- "when-visible",
480
- "when-active",
481
- "manual"
482
- ]
483
- },
484
- "retainOnDeactivate": {
485
- "type": "boolean"
486
- },
487
- "deepLink": {
488
- "type": "boolean"
489
- },
490
- "focusReturn": {
491
- "type": "boolean"
492
- }
493
- },
494
- "required": [
495
- "mountPolicy",
496
- "queryPolicy",
497
- "retainOnDeactivate",
498
- "deepLink",
499
- "focusReturn"
500
- ],
501
- "additionalProperties": false
502
- },
503
- "layout": {
504
- "type": "object",
505
- "properties": {
506
- "mode": {
507
- "type": "string",
508
- "enum": [
509
- "contents",
510
- "block",
511
- "flex",
512
- "grid",
513
- "absolute"
514
- ]
515
- },
516
- "direction": {
517
- "type": "string",
518
- "enum": [
519
- "row",
520
- "column"
521
- ]
522
- },
523
- "columns": {
524
- "type": "integer",
525
- "exclusiveMinimum": 0,
526
- "maximum": 9007199254740991
527
- },
528
- "align": {
529
- "type": "string",
530
- "enum": [
531
- "start",
532
- "center",
533
- "end",
534
- "stretch"
535
- ]
536
- },
537
- "justify": {
2544
+ "granularity": {
2545
+ "default": "atomic",
538
2546
  "type": "string",
539
2547
  "enum": [
540
- "start",
541
- "center",
542
- "end",
543
- "between",
544
- "around"
2548
+ "atomic",
2549
+ "macro"
545
2550
  ]
546
2551
  },
547
- "gapTokenRef": {
548
- "type": "object",
549
- "properties": {
550
- "kind": {
551
- "type": "string",
552
- "minLength": 1,
553
- "maxLength": 256
554
- },
555
- "id": {
2552
+ "title": {
2553
+ "anyOf": [
2554
+ {
556
2555
  "type": "string",
557
- "minLength": 1,
558
- "maxLength": 256
559
- },
560
- "version": {
561
- "anyOf": [
562
- {
563
- "type": "integer",
564
- "exclusiveMinimum": 0,
565
- "maximum": 9007199254740991
566
- },
567
- {
568
- "type": "string",
569
- "minLength": 1
570
- }
571
- ]
2556
+ "minLength": 1
572
2557
  },
573
- "ownerRepo": {
574
- "type": "string",
575
- "minLength": 1,
576
- "maxLength": 256
2558
+ {
2559
+ "type": "object",
2560
+ "propertyNames": {
2561
+ "type": "string",
2562
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
2563
+ },
2564
+ "additionalProperties": {
2565
+ "type": "string",
2566
+ "minLength": 1
2567
+ }
577
2568
  }
2569
+ ]
2570
+ },
2571
+ "props": {
2572
+ "type": "object",
2573
+ "propertyNames": {
2574
+ "type": "string"
578
2575
  },
579
- "required": [
580
- "kind",
581
- "id"
582
- ],
583
- "additionalProperties": false
2576
+ "additionalProperties": {
2577
+ "$ref": "#/$defs/__schema1"
2578
+ }
584
2579
  }
585
2580
  },
586
2581
  "required": [
587
- "mode"
2582
+ "id",
2583
+ "granularity"
588
2584
  ],
589
2585
  "additionalProperties": false
590
2586
  },
@@ -592,19 +2588,19 @@
592
2588
  "type": "object",
593
2589
  "properties": {
594
2590
  "visibleWhen": {
595
- "$ref": "#/$defs/__schema0"
2591
+ "$ref": "#/$defs/__schema2"
596
2592
  },
597
2593
  "columns": {
598
- "$ref": "#/$defs/__schema0"
2594
+ "$ref": "#/$defs/__schema2"
599
2595
  },
600
2596
  "gridTemplateColumns": {
601
- "$ref": "#/$defs/__schema0"
2597
+ "$ref": "#/$defs/__schema2"
602
2598
  },
603
2599
  "flex": {
604
- "$ref": "#/$defs/__schema0"
2600
+ "$ref": "#/$defs/__schema2"
605
2601
  },
606
2602
  "bentoSurface": {
607
- "$ref": "#/$defs/__schema0"
2603
+ "$ref": "#/$defs/__schema2"
608
2604
  }
609
2605
  },
610
2606
  "additionalProperties": false
@@ -1234,6 +3230,8 @@
1234
3230
  "block",
1235
3231
  "flex",
1236
3232
  "grid",
3233
+ "split",
3234
+ "tabs",
1237
3235
  "absolute"
1238
3236
  ]
1239
3237
  },
@@ -1249,6 +3247,16 @@
1249
3247
  "exclusiveMinimum": 0,
1250
3248
  "maximum": 9007199254740991
1251
3249
  },
3250
+ "rowHeight": {
3251
+ "type": "integer",
3252
+ "minimum": 12,
3253
+ "maximum": 200
3254
+ },
3255
+ "gap": {
3256
+ "type": "integer",
3257
+ "minimum": 0,
3258
+ "maximum": 64
3259
+ },
1252
3260
  "align": {
1253
3261
  "type": "string",
1254
3262
  "enum": [
@@ -2079,7 +4087,7 @@
2079
4087
  "type": "object",
2080
4088
  "properties": {
2081
4089
  "source": {
2082
- "$ref": "#/$defs/__schema0"
4090
+ "$ref": "#/$defs/__schema2"
2083
4091
  },
2084
4092
  "keyPath": {
2085
4093
  "minItems": 1,
@@ -2138,6 +4146,319 @@
2138
4146
  "additionalProperties": false,
2139
4147
  "$defs": {
2140
4148
  "__schema0": {
4149
+ "anyOf": [
4150
+ {
4151
+ "type": "object",
4152
+ "properties": {
4153
+ "op": {
4154
+ "type": "string",
4155
+ "enum": [
4156
+ "and",
4157
+ "or",
4158
+ "not"
4159
+ ]
4160
+ },
4161
+ "filters": {
4162
+ "minItems": 1,
4163
+ "maxItems": 64,
4164
+ "type": "array",
4165
+ "items": {
4166
+ "$ref": "#/$defs/__schema0"
4167
+ }
4168
+ }
4169
+ },
4170
+ "required": [
4171
+ "op",
4172
+ "filters"
4173
+ ],
4174
+ "additionalProperties": false
4175
+ },
4176
+ {
4177
+ "type": "object",
4178
+ "properties": {
4179
+ "op": {
4180
+ "type": "string",
4181
+ "const": "field"
4182
+ },
4183
+ "field": {
4184
+ "type": "string",
4185
+ "enum": [
4186
+ "id",
4187
+ "name",
4188
+ "status",
4189
+ "assetType",
4190
+ "creatorUserId",
4191
+ "ontologyId",
4192
+ "teamId"
4193
+ ]
4194
+ },
4195
+ "cmp": {
4196
+ "type": "string",
4197
+ "enum": [
4198
+ "eq",
4199
+ "in",
4200
+ "contains",
4201
+ "not_contains"
4202
+ ]
4203
+ },
4204
+ "value": {
4205
+ "anyOf": [
4206
+ {
4207
+ "type": "string",
4208
+ "minLength": 1
4209
+ },
4210
+ {
4211
+ "minItems": 1,
4212
+ "maxItems": 500,
4213
+ "type": "array",
4214
+ "items": {
4215
+ "type": "string",
4216
+ "minLength": 1
4217
+ }
4218
+ }
4219
+ ]
4220
+ }
4221
+ },
4222
+ "required": [
4223
+ "op",
4224
+ "field",
4225
+ "value"
4226
+ ],
4227
+ "additionalProperties": false
4228
+ },
4229
+ {
4230
+ "type": "object",
4231
+ "properties": {
4232
+ "op": {
4233
+ "type": "string",
4234
+ "const": "tagGroup"
4235
+ },
4236
+ "allOf": {
4237
+ "minItems": 1,
4238
+ "maxItems": 32,
4239
+ "type": "array",
4240
+ "items": {
4241
+ "type": "string",
4242
+ "minLength": 1,
4243
+ "maxLength": 256
4244
+ }
4245
+ }
4246
+ },
4247
+ "required": [
4248
+ "op",
4249
+ "allOf"
4250
+ ],
4251
+ "additionalProperties": false
4252
+ },
4253
+ {
4254
+ "type": "object",
4255
+ "properties": {
4256
+ "op": {
4257
+ "type": "string",
4258
+ "const": "tags"
4259
+ },
4260
+ "allOf": {
4261
+ "maxItems": 64,
4262
+ "type": "array",
4263
+ "items": {
4264
+ "type": "string",
4265
+ "minLength": 1,
4266
+ "maxLength": 256
4267
+ }
4268
+ },
4269
+ "anyOf": {
4270
+ "maxItems": 32,
4271
+ "type": "array",
4272
+ "items": {
4273
+ "minItems": 1,
4274
+ "maxItems": 32,
4275
+ "type": "array",
4276
+ "items": {
4277
+ "type": "string",
4278
+ "minLength": 1,
4279
+ "maxLength": 256
4280
+ }
4281
+ }
4282
+ },
4283
+ "noneOf": {
4284
+ "maxItems": 64,
4285
+ "type": "array",
4286
+ "items": {
4287
+ "type": "string",
4288
+ "minLength": 1,
4289
+ "maxLength": 256
4290
+ }
4291
+ }
4292
+ },
4293
+ "required": [
4294
+ "op"
4295
+ ],
4296
+ "additionalProperties": false
4297
+ },
4298
+ {
4299
+ "type": "object",
4300
+ "properties": {
4301
+ "op": {
4302
+ "type": "string",
4303
+ "const": "feature"
4304
+ },
4305
+ "fieldKey": {
4306
+ "type": "string",
4307
+ "minLength": 1,
4308
+ "maxLength": 256
4309
+ },
4310
+ "cmp": {
4311
+ "type": "string",
4312
+ "enum": [
4313
+ "eq",
4314
+ "neq",
4315
+ "in",
4316
+ "not_in",
4317
+ "gt",
4318
+ "gte",
4319
+ "lt",
4320
+ "lte",
4321
+ "between",
4322
+ "contains",
4323
+ "is_empty"
4324
+ ]
4325
+ },
4326
+ "value": {
4327
+ "$ref": "#/$defs/__schema1"
4328
+ }
4329
+ },
4330
+ "required": [
4331
+ "op",
4332
+ "fieldKey"
4333
+ ],
4334
+ "additionalProperties": false
4335
+ },
4336
+ {
4337
+ "type": "object",
4338
+ "properties": {
4339
+ "op": {
4340
+ "type": "string",
4341
+ "const": "featureRelation"
4342
+ },
4343
+ "fieldKey": {
4344
+ "type": "string",
4345
+ "minLength": 1,
4346
+ "maxLength": 256
4347
+ },
4348
+ "cmp": {
4349
+ "type": "string",
4350
+ "enum": [
4351
+ "contains_any",
4352
+ "contains_all",
4353
+ "is_empty"
4354
+ ]
4355
+ },
4356
+ "targetOntologyId": {
4357
+ "type": "string",
4358
+ "minLength": 1,
4359
+ "maxLength": 256
4360
+ },
4361
+ "hops": {
4362
+ "type": "integer",
4363
+ "minimum": 1,
4364
+ "maximum": 6
4365
+ },
4366
+ "value": {
4367
+ "maxItems": 200,
4368
+ "type": "array",
4369
+ "items": {
4370
+ "type": "object",
4371
+ "properties": {
4372
+ "ontologyId": {
4373
+ "type": "string",
4374
+ "minLength": 1,
4375
+ "maxLength": 256
4376
+ },
4377
+ "assetId": {
4378
+ "type": "string",
4379
+ "minLength": 1,
4380
+ "maxLength": 256
4381
+ }
4382
+ },
4383
+ "required": [
4384
+ "ontologyId",
4385
+ "assetId"
4386
+ ],
4387
+ "additionalProperties": false
4388
+ }
4389
+ }
4390
+ },
4391
+ "required": [
4392
+ "op",
4393
+ "fieldKey"
4394
+ ],
4395
+ "additionalProperties": false
4396
+ },
4397
+ {
4398
+ "type": "object",
4399
+ "properties": {
4400
+ "op": {
4401
+ "type": "string",
4402
+ "const": "relation"
4403
+ },
4404
+ "relationKind": {
4405
+ "type": "string",
4406
+ "minLength": 1,
4407
+ "maxLength": 256
4408
+ },
4409
+ "objectKind": {
4410
+ "type": "string",
4411
+ "minLength": 1,
4412
+ "maxLength": 256
4413
+ },
4414
+ "objectId": {
4415
+ "type": "string",
4416
+ "minLength": 1,
4417
+ "maxLength": 256
4418
+ }
4419
+ },
4420
+ "required": [
4421
+ "op",
4422
+ "relationKind",
4423
+ "objectKind",
4424
+ "objectId"
4425
+ ],
4426
+ "additionalProperties": false
4427
+ }
4428
+ ]
4429
+ },
4430
+ "__schema1": {
4431
+ "anyOf": [
4432
+ {
4433
+ "type": "string"
4434
+ },
4435
+ {
4436
+ "type": "number"
4437
+ },
4438
+ {
4439
+ "type": "boolean"
4440
+ },
4441
+ {
4442
+ "type": "null"
4443
+ },
4444
+ {
4445
+ "type": "array",
4446
+ "items": {
4447
+ "$ref": "#/$defs/__schema1"
4448
+ }
4449
+ },
4450
+ {
4451
+ "type": "object",
4452
+ "propertyNames": {
4453
+ "type": "string"
4454
+ },
4455
+ "additionalProperties": {
4456
+ "$ref": "#/$defs/__schema1"
4457
+ }
4458
+ }
4459
+ ]
4460
+ },
4461
+ "__schema2": {
2141
4462
  "anyOf": [
2142
4463
  {
2143
4464
  "type": "object",
@@ -2244,7 +4565,7 @@
2244
4565
  "maxItems": 32,
2245
4566
  "type": "array",
2246
4567
  "items": {
2247
- "$ref": "#/$defs/__schema0"
4568
+ "$ref": "#/$defs/__schema2"
2248
4569
  }
2249
4570
  }
2250
4571
  },
@@ -2263,13 +4584,13 @@
2263
4584
  "const": "conditional"
2264
4585
  },
2265
4586
  "condition": {
2266
- "$ref": "#/$defs/__schema0"
4587
+ "$ref": "#/$defs/__schema2"
2267
4588
  },
2268
4589
  "then": {
2269
- "$ref": "#/$defs/__schema0"
4590
+ "$ref": "#/$defs/__schema2"
2270
4591
  },
2271
4592
  "else": {
2272
- "$ref": "#/$defs/__schema0"
4593
+ "$ref": "#/$defs/__schema2"
2273
4594
  }
2274
4595
  },
2275
4596
  "required": [
@@ -2295,7 +4616,7 @@
2295
4616
  "maxLength": 256
2296
4617
  },
2297
4618
  "additionalProperties": {
2298
- "$ref": "#/$defs/__schema0"
4619
+ "$ref": "#/$defs/__schema2"
2299
4620
  }
2300
4621
  }
2301
4622
  },
@@ -2316,7 +4637,7 @@
2316
4637
  "maxItems": 1000,
2317
4638
  "type": "array",
2318
4639
  "items": {
2319
- "$ref": "#/$defs/__schema0"
4640
+ "$ref": "#/$defs/__schema2"
2320
4641
  }
2321
4642
  }
2322
4643
  },
@@ -2334,10 +4655,10 @@
2334
4655
  "const": "map"
2335
4656
  },
2336
4657
  "source": {
2337
- "$ref": "#/$defs/__schema0"
4658
+ "$ref": "#/$defs/__schema2"
2338
4659
  },
2339
4660
  "value": {
2340
- "$ref": "#/$defs/__schema0"
4661
+ "$ref": "#/$defs/__schema2"
2341
4662
  }
2342
4663
  },
2343
4664
  "required": [
@@ -2355,10 +4676,10 @@
2355
4676
  "const": "filter"
2356
4677
  },
2357
4678
  "source": {
2358
- "$ref": "#/$defs/__schema0"
4679
+ "$ref": "#/$defs/__schema2"
2359
4680
  },
2360
4681
  "value": {
2361
- "$ref": "#/$defs/__schema0"
4682
+ "$ref": "#/$defs/__schema2"
2362
4683
  }
2363
4684
  },
2364
4685
  "required": [
@@ -2376,10 +4697,10 @@
2376
4697
  "const": "sum"
2377
4698
  },
2378
4699
  "source": {
2379
- "$ref": "#/$defs/__schema0"
4700
+ "$ref": "#/$defs/__schema2"
2380
4701
  },
2381
4702
  "value": {
2382
- "$ref": "#/$defs/__schema0"
4703
+ "$ref": "#/$defs/__schema2"
2383
4704
  }
2384
4705
  },
2385
4706
  "required": [
@@ -2390,37 +4711,6 @@
2390
4711
  "additionalProperties": false
2391
4712
  }
2392
4713
  ]
2393
- },
2394
- "__schema1": {
2395
- "anyOf": [
2396
- {
2397
- "type": "string"
2398
- },
2399
- {
2400
- "type": "number"
2401
- },
2402
- {
2403
- "type": "boolean"
2404
- },
2405
- {
2406
- "type": "null"
2407
- },
2408
- {
2409
- "type": "array",
2410
- "items": {
2411
- "$ref": "#/$defs/__schema1"
2412
- }
2413
- },
2414
- {
2415
- "type": "object",
2416
- "propertyNames": {
2417
- "type": "string"
2418
- },
2419
- "additionalProperties": {
2420
- "$ref": "#/$defs/__schema1"
2421
- }
2422
- }
2423
- ]
2424
4714
  }
2425
4715
  },
2426
4716
  "$id": "https://schemas.infmonkeys.com/contracts/render-tree.schema.json",