@inf-monkeys-tech/monkeys 1.1.60 → 1.1.62

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 (83) hide show
  1. package/lib/contracts/agent-data.d.ts +2 -2
  2. package/lib/contracts/agent.d.ts +3 -3
  3. package/lib/contracts/artifact-platform.d.ts +6 -263
  4. package/lib/contracts/artifact-platform.d.ts.map +1 -1
  5. package/lib/contracts/artifact-platform.js +14 -113
  6. package/lib/contracts/artifact-platform.js.map +1 -1
  7. package/lib/contracts/bento-block.d.ts +616 -0
  8. package/lib/contracts/bento-block.d.ts.map +1 -0
  9. package/lib/contracts/bento-block.js +505 -0
  10. package/lib/contracts/bento-block.js.map +1 -0
  11. package/lib/contracts/declarative-control-http.d.ts +1090 -967
  12. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  13. package/lib/contracts/declarative-control.d.ts +173 -158
  14. package/lib/contracts/declarative-control.d.ts.map +1 -1
  15. package/lib/contracts/declarative-control.js +26 -1
  16. package/lib/contracts/declarative-control.js.map +1 -1
  17. package/lib/contracts/declarative-document-import.d.ts +75 -60
  18. package/lib/contracts/declarative-document-import.d.ts.map +1 -1
  19. package/lib/contracts/declarative-publication-job.d.ts +232 -208
  20. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  21. package/lib/contracts/index.d.ts +1 -0
  22. package/lib/contracts/index.d.ts.map +1 -1
  23. package/lib/contracts/index.js +1 -0
  24. package/lib/contracts/index.js.map +1 -1
  25. package/lib/contracts/menu.d.ts +16 -13
  26. package/lib/contracts/menu.d.ts.map +1 -1
  27. package/lib/contracts/page-expression.d.ts +5 -5
  28. package/lib/contracts/page.d.ts +50 -41
  29. package/lib/contracts/page.d.ts.map +1 -1
  30. package/lib/contracts/render.d.ts +66 -66
  31. package/lib/contracts/semantic.d.ts +16 -13
  32. package/lib/contracts/semantic.d.ts.map +1 -1
  33. package/lib/contracts/tenant.d.ts +86 -71
  34. package/lib/contracts/tenant.d.ts.map +1 -1
  35. package/lib/contracts/trend.d.ts +1 -1
  36. package/lib/contracts/unified-view.d.ts +26 -533
  37. package/lib/contracts/unified-view.d.ts.map +1 -1
  38. package/lib/contracts/unified-view.js +17 -316
  39. package/lib/contracts/unified-view.js.map +1 -1
  40. package/lib/contracts/workflow-definition.d.ts +10 -10
  41. package/lib/esm/{chunk-5IWBM5FS.mjs → chunk-EFVODA3P.mjs} +3521 -3402
  42. package/lib/esm/chunk-EFVODA3P.mjs.map +1 -0
  43. package/lib/esm/{chunk-QM3K7CWF.mjs → chunk-MAZ3HUFS.mjs} +152 -142
  44. package/lib/esm/chunk-MAZ3HUFS.mjs.map +1 -0
  45. package/lib/esm/{chunk-L7WP57HT.mjs → chunk-RWTW74VC.mjs} +2 -2
  46. package/lib/esm/{chunk-POHBVHPL.mjs → chunk-UPCRRS4I.mjs} +4 -2
  47. package/lib/esm/chunk-UPCRRS4I.mjs.map +1 -0
  48. package/lib/esm/contracts/index.mjs +40 -28
  49. package/lib/esm/index.mjs +46 -36
  50. package/lib/esm/index.mjs.map +1 -1
  51. package/lib/esm/runtime/index.mjs +7 -9
  52. package/lib/esm/schemas/index.mjs +26 -28
  53. package/lib/json-schema/bento-node.schema.json +1446 -0
  54. package/lib/json-schema/index.json +1 -0
  55. package/lib/json-schema/page-definition.schema.json +51 -64
  56. package/lib/json-schema/page-runtime-bundle.schema.json +97 -110
  57. package/lib/json-schema/page-runtime-descriptor.schema.json +51 -64
  58. package/lib/json-schema/page.schema.json +61 -74
  59. package/lib/json-schema/product-declaration.schema.json +17 -30
  60. package/lib/json-schema/tenant-product-config.schema.json +17 -30
  61. package/lib/json-schema/tenant-runtime-config.schema.json +17 -30
  62. package/lib/json-schema/view-ontology-record.schema.json +1141 -145
  63. package/lib/runtime/artifact-session.d.ts +5 -10
  64. package/lib/runtime/artifact-session.d.ts.map +1 -1
  65. package/lib/runtime/artifact-session.js +91 -78
  66. package/lib/runtime/artifact-session.js.map +1 -1
  67. package/lib/runtime/native-page-composition.d.ts +5 -2
  68. package/lib/runtime/native-page-composition.d.ts.map +1 -1
  69. package/lib/runtime/runtime-definition-wire.d.ts +90 -78
  70. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  71. package/lib/runtime/unified-view-compiler.d.ts +12 -16
  72. package/lib/runtime/unified-view-compiler.d.ts.map +1 -1
  73. package/lib/runtime/unified-view-compiler.js +69 -77
  74. package/lib/runtime/unified-view-compiler.js.map +1 -1
  75. package/lib/schemas/index.d.ts +235 -242
  76. package/lib/schemas/index.d.ts.map +1 -1
  77. package/lib/schemas/index.js +32 -30
  78. package/lib/schemas/index.js.map +1 -1
  79. package/package.json +2 -2
  80. package/lib/esm/chunk-5IWBM5FS.mjs.map +0 -1
  81. package/lib/esm/chunk-POHBVHPL.mjs.map +0 -1
  82. package/lib/esm/chunk-QM3K7CWF.mjs.map +0 -1
  83. /package/lib/esm/{chunk-L7WP57HT.mjs.map → chunk-RWTW74VC.mjs.map} +0 -0
@@ -0,0 +1,1446 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "anyOf": [
4
+ {
5
+ "type": "object",
6
+ "properties": {
7
+ "id": {
8
+ "type": "string",
9
+ "minLength": 1,
10
+ "maxLength": 256
11
+ },
12
+ "kind": {
13
+ "type": "string",
14
+ "const": "container"
15
+ },
16
+ "layout": {
17
+ "type": "string",
18
+ "enum": [
19
+ "split",
20
+ "grid",
21
+ "stack",
22
+ "tabs"
23
+ ]
24
+ },
25
+ "direction": {
26
+ "type": "string",
27
+ "enum": [
28
+ "horizontal",
29
+ "vertical"
30
+ ]
31
+ },
32
+ "columns": {
33
+ "type": "number",
34
+ "const": 24
35
+ },
36
+ "rowHeight": {
37
+ "type": "integer",
38
+ "minimum": 16,
39
+ "maximum": 240
40
+ },
41
+ "gap": {
42
+ "type": "integer",
43
+ "minimum": 0,
44
+ "maximum": 64
45
+ },
46
+ "chrome": {
47
+ "type": "string",
48
+ "enum": [
49
+ "panel",
50
+ "plain",
51
+ "none"
52
+ ]
53
+ },
54
+ "title": {
55
+ "anyOf": [
56
+ {
57
+ "type": "string",
58
+ "minLength": 1
59
+ },
60
+ {
61
+ "type": "object",
62
+ "propertyNames": {
63
+ "type": "string",
64
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
65
+ },
66
+ "additionalProperties": {
67
+ "type": "string",
68
+ "minLength": 1
69
+ }
70
+ }
71
+ ]
72
+ },
73
+ "description": {
74
+ "type": "string",
75
+ "maxLength": 2048
76
+ },
77
+ "placement": {
78
+ "type": "object",
79
+ "properties": {
80
+ "grid": {
81
+ "type": "object",
82
+ "properties": {
83
+ "x": {
84
+ "type": "integer",
85
+ "minimum": 0,
86
+ "maximum": 23
87
+ },
88
+ "y": {
89
+ "type": "integer",
90
+ "minimum": 0,
91
+ "maximum": 200
92
+ },
93
+ "w": {
94
+ "type": "integer",
95
+ "minimum": 2,
96
+ "maximum": 24
97
+ },
98
+ "h": {
99
+ "type": "integer",
100
+ "minimum": 2,
101
+ "maximum": 200
102
+ },
103
+ "minW": {
104
+ "type": "integer",
105
+ "minimum": 2,
106
+ "maximum": 24
107
+ },
108
+ "minH": {
109
+ "type": "integer",
110
+ "minimum": 2,
111
+ "maximum": 200
112
+ }
113
+ },
114
+ "required": [
115
+ "x",
116
+ "y",
117
+ "w",
118
+ "h"
119
+ ],
120
+ "additionalProperties": false
121
+ },
122
+ "split": {
123
+ "type": "object",
124
+ "properties": {
125
+ "size": {
126
+ "anyOf": [
127
+ {
128
+ "type": "number",
129
+ "exclusiveMinimum": 0
130
+ },
131
+ {
132
+ "type": "string",
133
+ "minLength": 1
134
+ }
135
+ ]
136
+ },
137
+ "minSize": {
138
+ "anyOf": [
139
+ {
140
+ "type": "number",
141
+ "exclusiveMinimum": 0
142
+ },
143
+ {
144
+ "type": "string",
145
+ "minLength": 1
146
+ }
147
+ ]
148
+ },
149
+ "maxSize": {
150
+ "anyOf": [
151
+ {
152
+ "type": "number",
153
+ "exclusiveMinimum": 0
154
+ },
155
+ {
156
+ "type": "string",
157
+ "minLength": 1
158
+ }
159
+ ]
160
+ },
161
+ "collapsible": {
162
+ "type": "boolean"
163
+ },
164
+ "collapsed": {
165
+ "type": "boolean"
166
+ }
167
+ },
168
+ "additionalProperties": false
169
+ },
170
+ "tab": {
171
+ "type": "object",
172
+ "properties": {
173
+ "label": {
174
+ "anyOf": [
175
+ {
176
+ "type": "string",
177
+ "minLength": 1
178
+ },
179
+ {
180
+ "type": "object",
181
+ "propertyNames": {
182
+ "type": "string",
183
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
184
+ },
185
+ "additionalProperties": {
186
+ "type": "string",
187
+ "minLength": 1
188
+ }
189
+ }
190
+ ]
191
+ },
192
+ "icon": {
193
+ "type": "string",
194
+ "minLength": 1,
195
+ "maxLength": 256
196
+ }
197
+ },
198
+ "additionalProperties": false
199
+ }
200
+ },
201
+ "additionalProperties": false
202
+ },
203
+ "data": {
204
+ "type": "object",
205
+ "properties": {
206
+ "statements": {
207
+ "type": "object",
208
+ "propertyNames": {
209
+ "type": "string",
210
+ "minLength": 1,
211
+ "maxLength": 256
212
+ },
213
+ "additionalProperties": {
214
+ "anyOf": [
215
+ {
216
+ "type": "object",
217
+ "properties": {
218
+ "kind": {
219
+ "type": "string",
220
+ "const": "select"
221
+ },
222
+ "from": {
223
+ "type": "object",
224
+ "properties": {
225
+ "source": {
226
+ "default": "ontology",
227
+ "type": "string",
228
+ "enum": [
229
+ "ontology",
230
+ "workflow-outputs",
231
+ "telemetry"
232
+ ]
233
+ },
234
+ "ontologyId": {
235
+ "type": "string",
236
+ "minLength": 1,
237
+ "maxLength": 256
238
+ },
239
+ "workflowId": {
240
+ "type": "string",
241
+ "minLength": 1,
242
+ "maxLength": 256
243
+ },
244
+ "includeSharedSlices": {
245
+ "type": "boolean"
246
+ }
247
+ },
248
+ "required": [
249
+ "source",
250
+ "ontologyId"
251
+ ],
252
+ "additionalProperties": false
253
+ },
254
+ "select": {
255
+ "type": "object",
256
+ "properties": {
257
+ "baseColumns": {
258
+ "maxItems": 64,
259
+ "type": "array",
260
+ "items": {
261
+ "type": "string",
262
+ "minLength": 1,
263
+ "maxLength": 256
264
+ }
265
+ },
266
+ "propertyColumns": {
267
+ "maxItems": 128,
268
+ "type": "array",
269
+ "items": {
270
+ "type": "string",
271
+ "minLength": 1,
272
+ "maxLength": 256
273
+ }
274
+ },
275
+ "featureColumns": {
276
+ "maxItems": 256,
277
+ "type": "array",
278
+ "items": {
279
+ "type": "string",
280
+ "minLength": 1,
281
+ "maxLength": 256
282
+ }
283
+ },
284
+ "tagGroupColumns": {
285
+ "maxItems": 128,
286
+ "type": "array",
287
+ "items": {
288
+ "type": "string",
289
+ "minLength": 1,
290
+ "maxLength": 256
291
+ }
292
+ },
293
+ "columnOrder": {
294
+ "maxItems": 512,
295
+ "type": "array",
296
+ "items": {
297
+ "type": "string",
298
+ "minLength": 1,
299
+ "maxLength": 256
300
+ }
301
+ }
302
+ },
303
+ "additionalProperties": false
304
+ },
305
+ "where": {
306
+ "$ref": "#/$defs/__schema0"
307
+ },
308
+ "orderBy": {
309
+ "maxItems": 16,
310
+ "type": "array",
311
+ "items": {
312
+ "type": "object",
313
+ "properties": {
314
+ "field": {
315
+ "type": "string",
316
+ "minLength": 1,
317
+ "maxLength": 256
318
+ },
319
+ "kind": {
320
+ "default": "builtin",
321
+ "type": "string",
322
+ "enum": [
323
+ "builtin",
324
+ "feature"
325
+ ]
326
+ },
327
+ "direction": {
328
+ "default": "desc",
329
+ "type": "string",
330
+ "enum": [
331
+ "asc",
332
+ "desc"
333
+ ]
334
+ },
335
+ "nulls": {
336
+ "type": "string",
337
+ "enum": [
338
+ "first",
339
+ "last"
340
+ ]
341
+ }
342
+ },
343
+ "required": [
344
+ "field",
345
+ "kind",
346
+ "direction"
347
+ ],
348
+ "additionalProperties": false
349
+ }
350
+ },
351
+ "limit": {
352
+ "type": "integer",
353
+ "minimum": 1,
354
+ "maximum": 1000
355
+ }
356
+ },
357
+ "required": [
358
+ "kind",
359
+ "from"
360
+ ],
361
+ "additionalProperties": false
362
+ },
363
+ {
364
+ "type": "object",
365
+ "properties": {
366
+ "kind": {
367
+ "type": "string",
368
+ "const": "aggregate"
369
+ },
370
+ "from": {
371
+ "type": "object",
372
+ "properties": {
373
+ "source": {
374
+ "default": "ontology",
375
+ "type": "string",
376
+ "enum": [
377
+ "ontology",
378
+ "workflow-outputs",
379
+ "telemetry"
380
+ ]
381
+ },
382
+ "ontologyId": {
383
+ "type": "string",
384
+ "minLength": 1,
385
+ "maxLength": 256
386
+ },
387
+ "workflowId": {
388
+ "type": "string",
389
+ "minLength": 1,
390
+ "maxLength": 256
391
+ },
392
+ "includeSharedSlices": {
393
+ "type": "boolean"
394
+ }
395
+ },
396
+ "required": [
397
+ "source",
398
+ "ontologyId"
399
+ ],
400
+ "additionalProperties": false
401
+ },
402
+ "where": {
403
+ "$ref": "#/$defs/__schema0"
404
+ },
405
+ "groupBy": {
406
+ "maxItems": 16,
407
+ "type": "array",
408
+ "items": {
409
+ "type": "string",
410
+ "minLength": 1,
411
+ "maxLength": 256
412
+ }
413
+ },
414
+ "metrics": {
415
+ "minItems": 1,
416
+ "maxItems": 32,
417
+ "type": "array",
418
+ "items": {
419
+ "type": "object",
420
+ "properties": {
421
+ "alias": {
422
+ "type": "string",
423
+ "minLength": 1,
424
+ "maxLength": 256
425
+ },
426
+ "fn": {
427
+ "type": "string",
428
+ "enum": [
429
+ "count",
430
+ "sum",
431
+ "avg",
432
+ "min",
433
+ "max",
434
+ "distinct_count",
435
+ "ratio"
436
+ ]
437
+ },
438
+ "fieldKey": {
439
+ "type": "string",
440
+ "minLength": 1,
441
+ "maxLength": 256
442
+ }
443
+ },
444
+ "required": [
445
+ "alias",
446
+ "fn"
447
+ ],
448
+ "additionalProperties": false
449
+ }
450
+ },
451
+ "orderBy": {
452
+ "maxItems": 16,
453
+ "type": "array",
454
+ "items": {
455
+ "type": "object",
456
+ "properties": {
457
+ "field": {
458
+ "type": "string",
459
+ "minLength": 1,
460
+ "maxLength": 256
461
+ },
462
+ "kind": {
463
+ "default": "builtin",
464
+ "type": "string",
465
+ "enum": [
466
+ "builtin",
467
+ "feature"
468
+ ]
469
+ },
470
+ "direction": {
471
+ "default": "desc",
472
+ "type": "string",
473
+ "enum": [
474
+ "asc",
475
+ "desc"
476
+ ]
477
+ },
478
+ "nulls": {
479
+ "type": "string",
480
+ "enum": [
481
+ "first",
482
+ "last"
483
+ ]
484
+ }
485
+ },
486
+ "required": [
487
+ "field",
488
+ "kind",
489
+ "direction"
490
+ ],
491
+ "additionalProperties": false
492
+ }
493
+ },
494
+ "limit": {
495
+ "type": "integer",
496
+ "minimum": 1,
497
+ "maximum": 1000
498
+ }
499
+ },
500
+ "required": [
501
+ "kind",
502
+ "from",
503
+ "metrics"
504
+ ],
505
+ "additionalProperties": false
506
+ },
507
+ {
508
+ "type": "object",
509
+ "properties": {
510
+ "kind": {
511
+ "type": "string",
512
+ "const": "graph"
513
+ },
514
+ "from": {
515
+ "type": "object",
516
+ "properties": {
517
+ "source": {
518
+ "default": "ontology",
519
+ "type": "string",
520
+ "enum": [
521
+ "ontology",
522
+ "workflow-outputs",
523
+ "telemetry"
524
+ ]
525
+ },
526
+ "ontologyId": {
527
+ "type": "string",
528
+ "minLength": 1,
529
+ "maxLength": 256
530
+ },
531
+ "workflowId": {
532
+ "type": "string",
533
+ "minLength": 1,
534
+ "maxLength": 256
535
+ },
536
+ "includeSharedSlices": {
537
+ "type": "boolean"
538
+ }
539
+ },
540
+ "required": [
541
+ "source",
542
+ "ontologyId"
543
+ ],
544
+ "additionalProperties": false
545
+ },
546
+ "where": {
547
+ "$ref": "#/$defs/__schema0"
548
+ },
549
+ "graph": {
550
+ "type": "object",
551
+ "properties": {
552
+ "graphKind": {
553
+ "type": "string",
554
+ "enum": [
555
+ "schema",
556
+ "cooccurrence",
557
+ "bipartite-cosine",
558
+ "focus-star",
559
+ "ontology-relation",
560
+ "record-clustering",
561
+ "field-tag-hub"
562
+ ]
563
+ },
564
+ "maxHops": {
565
+ "default": 2,
566
+ "type": "integer",
567
+ "minimum": 1,
568
+ "maximum": 6
569
+ },
570
+ "nodeLabelField": {
571
+ "type": "string",
572
+ "minLength": 1,
573
+ "maxLength": 256
574
+ },
575
+ "edgeRelationFields": {
576
+ "maxItems": 32,
577
+ "type": "array",
578
+ "items": {
579
+ "type": "string",
580
+ "minLength": 1,
581
+ "maxLength": 256
582
+ }
583
+ }
584
+ },
585
+ "required": [
586
+ "graphKind",
587
+ "maxHops"
588
+ ],
589
+ "additionalProperties": false
590
+ },
591
+ "limit": {
592
+ "type": "integer",
593
+ "minimum": 1,
594
+ "maximum": 5000
595
+ }
596
+ },
597
+ "required": [
598
+ "kind",
599
+ "from",
600
+ "graph"
601
+ ],
602
+ "additionalProperties": false
603
+ },
604
+ {
605
+ "type": "object",
606
+ "properties": {
607
+ "kind": {
608
+ "type": "string",
609
+ "enum": [
610
+ "insert",
611
+ "update",
612
+ "delete"
613
+ ]
614
+ },
615
+ "ontologyId": {
616
+ "type": "string",
617
+ "minLength": 1,
618
+ "maxLength": 256
619
+ },
620
+ "values": {
621
+ "type": "object",
622
+ "propertyNames": {
623
+ "type": "string"
624
+ },
625
+ "additionalProperties": {
626
+ "$ref": "#/$defs/__schema1"
627
+ }
628
+ },
629
+ "where": {
630
+ "$ref": "#/$defs/__schema0"
631
+ }
632
+ },
633
+ "required": [
634
+ "kind",
635
+ "ontologyId"
636
+ ],
637
+ "additionalProperties": false
638
+ },
639
+ {
640
+ "type": "object",
641
+ "properties": {
642
+ "kind": {
643
+ "type": "string",
644
+ "const": "call"
645
+ },
646
+ "workflowId": {
647
+ "type": "string",
648
+ "minLength": 1,
649
+ "maxLength": 256
650
+ },
651
+ "pageType": {
652
+ "default": "preview",
653
+ "type": "string",
654
+ "enum": [
655
+ "preview",
656
+ "process",
657
+ "log",
658
+ "chat",
659
+ "api"
660
+ ]
661
+ },
662
+ "inputMapping": {
663
+ "type": "object",
664
+ "propertyNames": {
665
+ "type": "string"
666
+ },
667
+ "additionalProperties": {
668
+ "$ref": "#/$defs/__schema1"
669
+ }
670
+ },
671
+ "outputStrategy": {
672
+ "type": "string",
673
+ "enum": [
674
+ "default-result-ontology",
675
+ "domain-ontology",
676
+ "ledger-only",
677
+ "column-writeback"
678
+ ]
679
+ }
680
+ },
681
+ "required": [
682
+ "kind",
683
+ "workflowId",
684
+ "pageType"
685
+ ],
686
+ "additionalProperties": false
687
+ }
688
+ ]
689
+ }
690
+ },
691
+ "parameters": {
692
+ "type": "object",
693
+ "propertyNames": {
694
+ "type": "string",
695
+ "minLength": 1,
696
+ "maxLength": 256
697
+ },
698
+ "additionalProperties": {
699
+ "$ref": "#/$defs/__schema1"
700
+ }
701
+ },
702
+ "cache": {
703
+ "type": "object",
704
+ "properties": {
705
+ "mode": {
706
+ "default": "realtime",
707
+ "type": "string",
708
+ "enum": [
709
+ "realtime",
710
+ "cached",
711
+ "stale-while-revalidate",
712
+ "materialized"
713
+ ]
714
+ },
715
+ "ttlSeconds": {
716
+ "type": "integer",
717
+ "minimum": 1,
718
+ "maximum": 86400
719
+ }
720
+ },
721
+ "required": [
722
+ "mode"
723
+ ],
724
+ "additionalProperties": false
725
+ }
726
+ },
727
+ "required": [
728
+ "statements"
729
+ ],
730
+ "additionalProperties": false
731
+ },
732
+ "wiring": {
733
+ "maxItems": 128,
734
+ "type": "array",
735
+ "items": {
736
+ "type": "object",
737
+ "properties": {
738
+ "sourceNodeId": {
739
+ "type": "string",
740
+ "minLength": 1,
741
+ "maxLength": 256
742
+ },
743
+ "event": {
744
+ "type": "string",
745
+ "minLength": 1,
746
+ "maxLength": 256
747
+ },
748
+ "targetNodeId": {
749
+ "type": "string",
750
+ "minLength": 1,
751
+ "maxLength": 256
752
+ },
753
+ "targetStateKey": {
754
+ "type": "string",
755
+ "minLength": 1,
756
+ "maxLength": 256
757
+ },
758
+ "action": {
759
+ "type": "string",
760
+ "minLength": 1,
761
+ "maxLength": 256
762
+ },
763
+ "payloadMap": {
764
+ "type": "object",
765
+ "propertyNames": {
766
+ "type": "string"
767
+ },
768
+ "additionalProperties": {
769
+ "$ref": "#/$defs/__schema1"
770
+ }
771
+ }
772
+ },
773
+ "required": [
774
+ "sourceNodeId",
775
+ "event",
776
+ "action"
777
+ ],
778
+ "additionalProperties": false
779
+ }
780
+ },
781
+ "children": {
782
+ "minItems": 1,
783
+ "maxItems": 128,
784
+ "type": "array",
785
+ "items": {
786
+ "$ref": "#"
787
+ }
788
+ }
789
+ },
790
+ "required": [
791
+ "id",
792
+ "kind",
793
+ "layout",
794
+ "children"
795
+ ],
796
+ "additionalProperties": false
797
+ },
798
+ {
799
+ "type": "object",
800
+ "properties": {
801
+ "id": {
802
+ "type": "string",
803
+ "minLength": 1,
804
+ "maxLength": 256
805
+ },
806
+ "kind": {
807
+ "type": "string",
808
+ "const": "leaf"
809
+ },
810
+ "chrome": {
811
+ "type": "string",
812
+ "enum": [
813
+ "panel",
814
+ "plain",
815
+ "none"
816
+ ]
817
+ },
818
+ "placement": {
819
+ "type": "object",
820
+ "properties": {
821
+ "grid": {
822
+ "type": "object",
823
+ "properties": {
824
+ "x": {
825
+ "type": "integer",
826
+ "minimum": 0,
827
+ "maximum": 23
828
+ },
829
+ "y": {
830
+ "type": "integer",
831
+ "minimum": 0,
832
+ "maximum": 200
833
+ },
834
+ "w": {
835
+ "type": "integer",
836
+ "minimum": 2,
837
+ "maximum": 24
838
+ },
839
+ "h": {
840
+ "type": "integer",
841
+ "minimum": 2,
842
+ "maximum": 200
843
+ },
844
+ "minW": {
845
+ "type": "integer",
846
+ "minimum": 2,
847
+ "maximum": 24
848
+ },
849
+ "minH": {
850
+ "type": "integer",
851
+ "minimum": 2,
852
+ "maximum": 200
853
+ }
854
+ },
855
+ "required": [
856
+ "x",
857
+ "y",
858
+ "w",
859
+ "h"
860
+ ],
861
+ "additionalProperties": false
862
+ },
863
+ "split": {
864
+ "type": "object",
865
+ "properties": {
866
+ "size": {
867
+ "anyOf": [
868
+ {
869
+ "type": "number",
870
+ "exclusiveMinimum": 0
871
+ },
872
+ {
873
+ "type": "string",
874
+ "minLength": 1
875
+ }
876
+ ]
877
+ },
878
+ "minSize": {
879
+ "anyOf": [
880
+ {
881
+ "type": "number",
882
+ "exclusiveMinimum": 0
883
+ },
884
+ {
885
+ "type": "string",
886
+ "minLength": 1
887
+ }
888
+ ]
889
+ },
890
+ "maxSize": {
891
+ "anyOf": [
892
+ {
893
+ "type": "number",
894
+ "exclusiveMinimum": 0
895
+ },
896
+ {
897
+ "type": "string",
898
+ "minLength": 1
899
+ }
900
+ ]
901
+ },
902
+ "collapsible": {
903
+ "type": "boolean"
904
+ },
905
+ "collapsed": {
906
+ "type": "boolean"
907
+ }
908
+ },
909
+ "additionalProperties": false
910
+ },
911
+ "tab": {
912
+ "type": "object",
913
+ "properties": {
914
+ "label": {
915
+ "anyOf": [
916
+ {
917
+ "type": "string",
918
+ "minLength": 1
919
+ },
920
+ {
921
+ "type": "object",
922
+ "propertyNames": {
923
+ "type": "string",
924
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
925
+ },
926
+ "additionalProperties": {
927
+ "type": "string",
928
+ "minLength": 1
929
+ }
930
+ }
931
+ ]
932
+ },
933
+ "icon": {
934
+ "type": "string",
935
+ "minLength": 1,
936
+ "maxLength": 256
937
+ }
938
+ },
939
+ "additionalProperties": false
940
+ }
941
+ },
942
+ "additionalProperties": false
943
+ },
944
+ "block": {
945
+ "type": "object",
946
+ "properties": {
947
+ "type": {
948
+ "type": "string",
949
+ "enum": [
950
+ "nav-sidebar",
951
+ "top-bar",
952
+ "table",
953
+ "gallery",
954
+ "kanban",
955
+ "tree",
956
+ "graph",
957
+ "boston-matrix",
958
+ "trend-matrix",
959
+ "metric-card",
960
+ "bar-chart",
961
+ "line-chart",
962
+ "mixed-chart",
963
+ "pie-chart",
964
+ "donut-chart",
965
+ "radar-chart",
966
+ "scatter-chart",
967
+ "word-cloud-chart",
968
+ "ranking-list",
969
+ "pivot-table",
970
+ "filter-bar",
971
+ "variable-panel",
972
+ "record-detail",
973
+ "record-create",
974
+ "record-history",
975
+ "markdown",
976
+ "workflow-form",
977
+ "workflow-waterfall",
978
+ "workflow-canvas",
979
+ "workflow-log",
980
+ "workflow-chat",
981
+ "design-board",
982
+ "linesheet",
983
+ "review",
984
+ "work-order-review",
985
+ "json-editor",
986
+ "custom"
987
+ ]
988
+ },
989
+ "customType": {
990
+ "type": "string",
991
+ "minLength": 1,
992
+ "maxLength": 256
993
+ },
994
+ "title": {
995
+ "anyOf": [
996
+ {
997
+ "type": "string",
998
+ "minLength": 1
999
+ },
1000
+ {
1001
+ "type": "object",
1002
+ "propertyNames": {
1003
+ "type": "string",
1004
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1005
+ },
1006
+ "additionalProperties": {
1007
+ "type": "string",
1008
+ "minLength": 1
1009
+ }
1010
+ }
1011
+ ]
1012
+ },
1013
+ "dataSource": {
1014
+ "anyOf": [
1015
+ {
1016
+ "type": "object",
1017
+ "properties": {
1018
+ "kind": {
1019
+ "type": "string",
1020
+ "const": "statement"
1021
+ },
1022
+ "statementId": {
1023
+ "type": "string",
1024
+ "minLength": 1,
1025
+ "maxLength": 256
1026
+ }
1027
+ },
1028
+ "required": [
1029
+ "kind",
1030
+ "statementId"
1031
+ ],
1032
+ "additionalProperties": false
1033
+ },
1034
+ {
1035
+ "type": "object",
1036
+ "properties": {
1037
+ "kind": {
1038
+ "type": "string",
1039
+ "const": "artifact.body"
1040
+ },
1041
+ "session": {
1042
+ "default": "loro",
1043
+ "type": "string",
1044
+ "enum": [
1045
+ "loro",
1046
+ "aggregate"
1047
+ ]
1048
+ },
1049
+ "slice": {
1050
+ "type": "string",
1051
+ "minLength": 1,
1052
+ "maxLength": 256
1053
+ }
1054
+ },
1055
+ "required": [
1056
+ "kind",
1057
+ "session"
1058
+ ],
1059
+ "additionalProperties": false
1060
+ },
1061
+ {
1062
+ "type": "object",
1063
+ "properties": {
1064
+ "kind": {
1065
+ "type": "string",
1066
+ "const": "record.fields"
1067
+ },
1068
+ "recordRef": {
1069
+ "default": "subject",
1070
+ "type": "string",
1071
+ "minLength": 1,
1072
+ "maxLength": 256
1073
+ }
1074
+ },
1075
+ "required": [
1076
+ "kind",
1077
+ "recordRef"
1078
+ ],
1079
+ "additionalProperties": false
1080
+ },
1081
+ {
1082
+ "type": "object",
1083
+ "properties": {
1084
+ "kind": {
1085
+ "type": "string",
1086
+ "const": "static"
1087
+ }
1088
+ },
1089
+ "required": [
1090
+ "kind"
1091
+ ],
1092
+ "additionalProperties": false
1093
+ }
1094
+ ]
1095
+ },
1096
+ "actionStatementIds": {
1097
+ "maxItems": 16,
1098
+ "type": "array",
1099
+ "items": {
1100
+ "type": "string",
1101
+ "minLength": 1,
1102
+ "maxLength": 256
1103
+ }
1104
+ },
1105
+ "config": {
1106
+ "type": "object",
1107
+ "propertyNames": {
1108
+ "type": "string"
1109
+ },
1110
+ "additionalProperties": {
1111
+ "$ref": "#/$defs/__schema1"
1112
+ }
1113
+ }
1114
+ },
1115
+ "required": [
1116
+ "type"
1117
+ ],
1118
+ "additionalProperties": false
1119
+ }
1120
+ },
1121
+ "required": [
1122
+ "id",
1123
+ "kind",
1124
+ "block"
1125
+ ],
1126
+ "additionalProperties": false
1127
+ }
1128
+ ],
1129
+ "$defs": {
1130
+ "__schema0": {
1131
+ "anyOf": [
1132
+ {
1133
+ "type": "object",
1134
+ "properties": {
1135
+ "op": {
1136
+ "type": "string",
1137
+ "enum": [
1138
+ "and",
1139
+ "or",
1140
+ "not"
1141
+ ]
1142
+ },
1143
+ "filters": {
1144
+ "minItems": 1,
1145
+ "maxItems": 64,
1146
+ "type": "array",
1147
+ "items": {
1148
+ "$ref": "#/$defs/__schema0"
1149
+ }
1150
+ }
1151
+ },
1152
+ "required": [
1153
+ "op",
1154
+ "filters"
1155
+ ],
1156
+ "additionalProperties": false
1157
+ },
1158
+ {
1159
+ "type": "object",
1160
+ "properties": {
1161
+ "op": {
1162
+ "type": "string",
1163
+ "const": "field"
1164
+ },
1165
+ "field": {
1166
+ "type": "string",
1167
+ "enum": [
1168
+ "id",
1169
+ "name",
1170
+ "status",
1171
+ "assetType",
1172
+ "creatorUserId",
1173
+ "ontologyId",
1174
+ "teamId"
1175
+ ]
1176
+ },
1177
+ "cmp": {
1178
+ "type": "string",
1179
+ "enum": [
1180
+ "eq",
1181
+ "in",
1182
+ "contains",
1183
+ "not_contains"
1184
+ ]
1185
+ },
1186
+ "value": {
1187
+ "anyOf": [
1188
+ {
1189
+ "type": "string",
1190
+ "minLength": 1
1191
+ },
1192
+ {
1193
+ "minItems": 1,
1194
+ "maxItems": 500,
1195
+ "type": "array",
1196
+ "items": {
1197
+ "type": "string",
1198
+ "minLength": 1
1199
+ }
1200
+ }
1201
+ ]
1202
+ }
1203
+ },
1204
+ "required": [
1205
+ "op",
1206
+ "field",
1207
+ "value"
1208
+ ],
1209
+ "additionalProperties": false
1210
+ },
1211
+ {
1212
+ "type": "object",
1213
+ "properties": {
1214
+ "op": {
1215
+ "type": "string",
1216
+ "const": "tagGroup"
1217
+ },
1218
+ "allOf": {
1219
+ "minItems": 1,
1220
+ "maxItems": 32,
1221
+ "type": "array",
1222
+ "items": {
1223
+ "type": "string",
1224
+ "minLength": 1,
1225
+ "maxLength": 256
1226
+ }
1227
+ }
1228
+ },
1229
+ "required": [
1230
+ "op",
1231
+ "allOf"
1232
+ ],
1233
+ "additionalProperties": false
1234
+ },
1235
+ {
1236
+ "type": "object",
1237
+ "properties": {
1238
+ "op": {
1239
+ "type": "string",
1240
+ "const": "tags"
1241
+ },
1242
+ "allOf": {
1243
+ "maxItems": 64,
1244
+ "type": "array",
1245
+ "items": {
1246
+ "type": "string",
1247
+ "minLength": 1,
1248
+ "maxLength": 256
1249
+ }
1250
+ },
1251
+ "anyOf": {
1252
+ "maxItems": 32,
1253
+ "type": "array",
1254
+ "items": {
1255
+ "minItems": 1,
1256
+ "maxItems": 32,
1257
+ "type": "array",
1258
+ "items": {
1259
+ "type": "string",
1260
+ "minLength": 1,
1261
+ "maxLength": 256
1262
+ }
1263
+ }
1264
+ },
1265
+ "noneOf": {
1266
+ "maxItems": 64,
1267
+ "type": "array",
1268
+ "items": {
1269
+ "type": "string",
1270
+ "minLength": 1,
1271
+ "maxLength": 256
1272
+ }
1273
+ }
1274
+ },
1275
+ "required": [
1276
+ "op"
1277
+ ],
1278
+ "additionalProperties": false
1279
+ },
1280
+ {
1281
+ "type": "object",
1282
+ "properties": {
1283
+ "op": {
1284
+ "type": "string",
1285
+ "const": "feature"
1286
+ },
1287
+ "fieldKey": {
1288
+ "type": "string",
1289
+ "minLength": 1,
1290
+ "maxLength": 256
1291
+ },
1292
+ "cmp": {
1293
+ "type": "string",
1294
+ "enum": [
1295
+ "eq",
1296
+ "neq",
1297
+ "in",
1298
+ "not_in",
1299
+ "gt",
1300
+ "gte",
1301
+ "lt",
1302
+ "lte",
1303
+ "between",
1304
+ "contains",
1305
+ "is_empty"
1306
+ ]
1307
+ },
1308
+ "value": {
1309
+ "$ref": "#/$defs/__schema1"
1310
+ }
1311
+ },
1312
+ "required": [
1313
+ "op",
1314
+ "fieldKey"
1315
+ ],
1316
+ "additionalProperties": false
1317
+ },
1318
+ {
1319
+ "type": "object",
1320
+ "properties": {
1321
+ "op": {
1322
+ "type": "string",
1323
+ "const": "featureRelation"
1324
+ },
1325
+ "fieldKey": {
1326
+ "type": "string",
1327
+ "minLength": 1,
1328
+ "maxLength": 256
1329
+ },
1330
+ "cmp": {
1331
+ "type": "string",
1332
+ "enum": [
1333
+ "contains_any",
1334
+ "contains_all",
1335
+ "is_empty"
1336
+ ]
1337
+ },
1338
+ "targetOntologyId": {
1339
+ "type": "string",
1340
+ "minLength": 1,
1341
+ "maxLength": 256
1342
+ },
1343
+ "hops": {
1344
+ "type": "integer",
1345
+ "minimum": 1,
1346
+ "maximum": 6
1347
+ },
1348
+ "value": {
1349
+ "maxItems": 200,
1350
+ "type": "array",
1351
+ "items": {
1352
+ "type": "object",
1353
+ "properties": {
1354
+ "ontologyId": {
1355
+ "type": "string",
1356
+ "minLength": 1,
1357
+ "maxLength": 256
1358
+ },
1359
+ "assetId": {
1360
+ "type": "string",
1361
+ "minLength": 1,
1362
+ "maxLength": 256
1363
+ }
1364
+ },
1365
+ "required": [
1366
+ "ontologyId",
1367
+ "assetId"
1368
+ ],
1369
+ "additionalProperties": false
1370
+ }
1371
+ }
1372
+ },
1373
+ "required": [
1374
+ "op",
1375
+ "fieldKey"
1376
+ ],
1377
+ "additionalProperties": false
1378
+ },
1379
+ {
1380
+ "type": "object",
1381
+ "properties": {
1382
+ "op": {
1383
+ "type": "string",
1384
+ "const": "relation"
1385
+ },
1386
+ "relationKind": {
1387
+ "type": "string",
1388
+ "minLength": 1,
1389
+ "maxLength": 256
1390
+ },
1391
+ "objectKind": {
1392
+ "type": "string",
1393
+ "minLength": 1,
1394
+ "maxLength": 256
1395
+ },
1396
+ "objectId": {
1397
+ "type": "string",
1398
+ "minLength": 1,
1399
+ "maxLength": 256
1400
+ }
1401
+ },
1402
+ "required": [
1403
+ "op",
1404
+ "relationKind",
1405
+ "objectKind",
1406
+ "objectId"
1407
+ ],
1408
+ "additionalProperties": false
1409
+ }
1410
+ ]
1411
+ },
1412
+ "__schema1": {
1413
+ "anyOf": [
1414
+ {
1415
+ "type": "string"
1416
+ },
1417
+ {
1418
+ "type": "number"
1419
+ },
1420
+ {
1421
+ "type": "boolean"
1422
+ },
1423
+ {
1424
+ "type": "null"
1425
+ },
1426
+ {
1427
+ "type": "array",
1428
+ "items": {
1429
+ "$ref": "#/$defs/__schema1"
1430
+ }
1431
+ },
1432
+ {
1433
+ "type": "object",
1434
+ "propertyNames": {
1435
+ "type": "string"
1436
+ },
1437
+ "additionalProperties": {
1438
+ "$ref": "#/$defs/__schema1"
1439
+ }
1440
+ }
1441
+ ]
1442
+ }
1443
+ },
1444
+ "$id": "https://schemas.infmonkeys.com/contracts/bento-node.schema.json",
1445
+ "title": "bento-node"
1446
+ }