@inf-monkeys-tech/monkeys 1.1.61 → 1.1.63

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 (84) 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 +5167 -814
  12. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  13. package/lib/contracts/declarative-control.d.ts +483 -113
  14. package/lib/contracts/declarative-control.d.ts.map +1 -1
  15. package/lib/contracts/declarative-document-import.d.ts +15 -15
  16. package/lib/contracts/declarative-publication-job.d.ts +1104 -208
  17. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  18. package/lib/contracts/index.d.ts +1 -0
  19. package/lib/contracts/index.d.ts.map +1 -1
  20. package/lib/contracts/index.js +1 -0
  21. package/lib/contracts/index.js.map +1 -1
  22. package/lib/contracts/menu.d.ts +4 -4
  23. package/lib/contracts/page-expression.d.ts +5 -5
  24. package/lib/contracts/page.d.ts +14 -14
  25. package/lib/contracts/render.d.ts +363 -66
  26. package/lib/contracts/render.d.ts.map +1 -1
  27. package/lib/contracts/render.js +60 -5
  28. package/lib/contracts/render.js.map +1 -1
  29. package/lib/contracts/semantic.d.ts +4 -4
  30. package/lib/contracts/tenant.d.ts +26 -26
  31. package/lib/contracts/trend.d.ts +1 -1
  32. package/lib/contracts/unified-view.d.ts +26 -533
  33. package/lib/contracts/unified-view.d.ts.map +1 -1
  34. package/lib/contracts/unified-view.js +17 -316
  35. package/lib/contracts/unified-view.js.map +1 -1
  36. package/lib/contracts/workflow-definition.d.ts +10 -10
  37. package/lib/esm/{chunk-NKTRUUOP.mjs → chunk-766TRFRH.mjs} +3548 -3406
  38. package/lib/esm/chunk-766TRFRH.mjs.map +1 -0
  39. package/lib/esm/{chunk-DPHV7ES3.mjs → chunk-BTJGKWPM.mjs} +327 -143
  40. package/lib/esm/chunk-BTJGKWPM.mjs.map +1 -0
  41. package/lib/esm/{chunk-7MUE4GTZ.mjs → chunk-MP4OJWJ3.mjs} +2 -2
  42. package/lib/esm/{chunk-43N4Q3U7.mjs → chunk-SDA2NWFB.mjs} +4 -2
  43. package/lib/esm/chunk-SDA2NWFB.mjs.map +1 -0
  44. package/lib/esm/contracts/index.mjs +44 -28
  45. package/lib/esm/index.mjs +54 -36
  46. package/lib/esm/index.mjs.map +1 -1
  47. package/lib/esm/runtime/index.mjs +11 -9
  48. package/lib/esm/schemas/index.mjs +26 -28
  49. package/lib/json-schema/bento-node.schema.json +1446 -0
  50. package/lib/json-schema/index.json +1 -0
  51. package/lib/json-schema/overlay-node.schema.json +1092 -49
  52. package/lib/json-schema/page-runtime-bundle.schema.json +1996 -424
  53. package/lib/json-schema/page.schema.json +24 -0
  54. package/lib/json-schema/render-node.schema.json +1317 -274
  55. package/lib/json-schema/render-tree.schema.json +1686 -114
  56. package/lib/json-schema/view-ontology-record.schema.json +1141 -145
  57. package/lib/runtime/artifact-session.d.ts +5 -10
  58. package/lib/runtime/artifact-session.d.ts.map +1 -1
  59. package/lib/runtime/artifact-session.js +91 -78
  60. package/lib/runtime/artifact-session.js.map +1 -1
  61. package/lib/runtime/bento-render-tree.d.ts +22 -0
  62. package/lib/runtime/bento-render-tree.d.ts.map +1 -0
  63. package/lib/runtime/bento-render-tree.js +194 -0
  64. package/lib/runtime/bento-render-tree.js.map +1 -0
  65. package/lib/runtime/index.d.ts +1 -0
  66. package/lib/runtime/index.d.ts.map +1 -1
  67. package/lib/runtime/index.js +1 -0
  68. package/lib/runtime/index.js.map +1 -1
  69. package/lib/runtime/native-page-composition.d.ts +2 -2
  70. package/lib/runtime/runtime-definition-wire.d.ts +526 -78
  71. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  72. package/lib/runtime/unified-view-compiler.d.ts +12 -16
  73. package/lib/runtime/unified-view-compiler.d.ts.map +1 -1
  74. package/lib/runtime/unified-view-compiler.js +69 -77
  75. package/lib/runtime/unified-view-compiler.js.map +1 -1
  76. package/lib/schemas/index.d.ts +1523 -3082
  77. package/lib/schemas/index.d.ts.map +1 -1
  78. package/lib/schemas/index.js +32 -30
  79. package/lib/schemas/index.js.map +1 -1
  80. package/package.json +2 -2
  81. package/lib/esm/chunk-43N4Q3U7.mjs.map +0 -1
  82. package/lib/esm/chunk-DPHV7ES3.mjs.map +0 -1
  83. package/lib/esm/chunk-NKTRUUOP.mjs.map +0 -1
  84. /package/lib/esm/{chunk-7MUE4GTZ.mjs.map → chunk-MP4OJWJ3.mjs.map} +0 -0
@@ -23,6 +23,535 @@
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
+ ]
260
+ },
261
+ "fieldKey": {
262
+ "type": "string",
263
+ "minLength": 1,
264
+ "maxLength": 256
265
+ }
266
+ },
267
+ "required": [
268
+ "alias",
269
+ "fn"
270
+ ],
271
+ "additionalProperties": false
272
+ }
273
+ },
274
+ "orderBy": {
275
+ "maxItems": 16,
276
+ "type": "array",
277
+ "items": {
278
+ "type": "object",
279
+ "properties": {
280
+ "field": {
281
+ "type": "string",
282
+ "minLength": 1,
283
+ "maxLength": 256
284
+ },
285
+ "kind": {
286
+ "default": "builtin",
287
+ "type": "string",
288
+ "enum": [
289
+ "builtin",
290
+ "feature"
291
+ ]
292
+ },
293
+ "direction": {
294
+ "default": "desc",
295
+ "type": "string",
296
+ "enum": [
297
+ "asc",
298
+ "desc"
299
+ ]
300
+ },
301
+ "nulls": {
302
+ "type": "string",
303
+ "enum": [
304
+ "first",
305
+ "last"
306
+ ]
307
+ }
308
+ },
309
+ "required": [
310
+ "field",
311
+ "kind",
312
+ "direction"
313
+ ],
314
+ "additionalProperties": false
315
+ }
316
+ },
317
+ "limit": {
318
+ "type": "integer",
319
+ "minimum": 1,
320
+ "maximum": 1000
321
+ }
322
+ },
323
+ "required": [
324
+ "kind",
325
+ "from",
326
+ "metrics"
327
+ ],
328
+ "additionalProperties": false
329
+ },
330
+ {
331
+ "type": "object",
332
+ "properties": {
333
+ "kind": {
334
+ "type": "string",
335
+ "const": "graph"
336
+ },
337
+ "from": {
338
+ "type": "object",
339
+ "properties": {
340
+ "source": {
341
+ "default": "ontology",
342
+ "type": "string",
343
+ "enum": [
344
+ "ontology",
345
+ "workflow-outputs",
346
+ "telemetry"
347
+ ]
348
+ },
349
+ "ontologyId": {
350
+ "type": "string",
351
+ "minLength": 1,
352
+ "maxLength": 256
353
+ },
354
+ "workflowId": {
355
+ "type": "string",
356
+ "minLength": 1,
357
+ "maxLength": 256
358
+ },
359
+ "includeSharedSlices": {
360
+ "type": "boolean"
361
+ }
362
+ },
363
+ "required": [
364
+ "source",
365
+ "ontologyId"
366
+ ],
367
+ "additionalProperties": false
368
+ },
369
+ "where": {
370
+ "$ref": "#/$defs/__schema0"
371
+ },
372
+ "graph": {
373
+ "type": "object",
374
+ "properties": {
375
+ "graphKind": {
376
+ "type": "string",
377
+ "enum": [
378
+ "schema",
379
+ "cooccurrence",
380
+ "bipartite-cosine",
381
+ "focus-star",
382
+ "ontology-relation",
383
+ "record-clustering",
384
+ "field-tag-hub"
385
+ ]
386
+ },
387
+ "maxHops": {
388
+ "default": 2,
389
+ "type": "integer",
390
+ "minimum": 1,
391
+ "maximum": 6
392
+ },
393
+ "nodeLabelField": {
394
+ "type": "string",
395
+ "minLength": 1,
396
+ "maxLength": 256
397
+ },
398
+ "edgeRelationFields": {
399
+ "maxItems": 32,
400
+ "type": "array",
401
+ "items": {
402
+ "type": "string",
403
+ "minLength": 1,
404
+ "maxLength": 256
405
+ }
406
+ }
407
+ },
408
+ "required": [
409
+ "graphKind",
410
+ "maxHops"
411
+ ],
412
+ "additionalProperties": false
413
+ },
414
+ "limit": {
415
+ "type": "integer",
416
+ "minimum": 1,
417
+ "maximum": 5000
418
+ }
419
+ },
420
+ "required": [
421
+ "kind",
422
+ "from",
423
+ "graph"
424
+ ],
425
+ "additionalProperties": false
426
+ },
427
+ {
428
+ "type": "object",
429
+ "properties": {
430
+ "kind": {
431
+ "type": "string",
432
+ "enum": [
433
+ "insert",
434
+ "update",
435
+ "delete"
436
+ ]
437
+ },
438
+ "ontologyId": {
439
+ "type": "string",
440
+ "minLength": 1,
441
+ "maxLength": 256
442
+ },
443
+ "values": {
444
+ "type": "object",
445
+ "propertyNames": {
446
+ "type": "string"
447
+ },
448
+ "additionalProperties": {
449
+ "$ref": "#/$defs/__schema1"
450
+ }
451
+ },
452
+ "where": {
453
+ "$ref": "#/$defs/__schema0"
454
+ }
455
+ },
456
+ "required": [
457
+ "kind",
458
+ "ontologyId"
459
+ ],
460
+ "additionalProperties": false
461
+ },
462
+ {
463
+ "type": "object",
464
+ "properties": {
465
+ "kind": {
466
+ "type": "string",
467
+ "const": "call"
468
+ },
469
+ "workflowId": {
470
+ "type": "string",
471
+ "minLength": 1,
472
+ "maxLength": 256
473
+ },
474
+ "pageType": {
475
+ "default": "preview",
476
+ "type": "string",
477
+ "enum": [
478
+ "preview",
479
+ "process",
480
+ "log",
481
+ "chat",
482
+ "api"
483
+ ]
484
+ },
485
+ "inputMapping": {
486
+ "type": "object",
487
+ "propertyNames": {
488
+ "type": "string"
489
+ },
490
+ "additionalProperties": {
491
+ "$ref": "#/$defs/__schema1"
492
+ }
493
+ },
494
+ "outputStrategy": {
495
+ "type": "string",
496
+ "enum": [
497
+ "default-result-ontology",
498
+ "domain-ontology",
499
+ "ledger-only",
500
+ "column-writeback"
501
+ ]
502
+ }
503
+ },
504
+ "required": [
505
+ "kind",
506
+ "workflowId",
507
+ "pageType"
508
+ ],
509
+ "additionalProperties": false
510
+ }
511
+ ]
512
+ }
513
+ },
514
+ "parameters": {
515
+ "type": "object",
516
+ "propertyNames": {
517
+ "type": "string",
518
+ "minLength": 1,
519
+ "maxLength": 256
520
+ },
521
+ "additionalProperties": {
522
+ "$ref": "#/$defs/__schema1"
523
+ }
524
+ },
525
+ "cache": {
526
+ "type": "object",
527
+ "properties": {
528
+ "mode": {
529
+ "default": "realtime",
530
+ "type": "string",
531
+ "enum": [
532
+ "realtime",
533
+ "cached",
534
+ "stale-while-revalidate",
535
+ "materialized"
536
+ ]
537
+ },
538
+ "ttlSeconds": {
539
+ "type": "integer",
540
+ "minimum": 1,
541
+ "maximum": 86400
542
+ }
543
+ },
544
+ "required": [
545
+ "mode"
546
+ ],
547
+ "additionalProperties": false
548
+ }
549
+ },
550
+ "required": [
551
+ "statements"
552
+ ],
553
+ "additionalProperties": false
554
+ },
26
555
  "nodes": {
27
556
  "minItems": 1,
28
557
  "type": "array",
@@ -491,86 +1020,775 @@
491
1020
  "type": "boolean"
492
1021
  }
493
1022
  },
494
- "required": [
495
- "mountPolicy",
496
- "queryPolicy",
497
- "retainOnDeactivate",
498
- "deepLink",
499
- "focusReturn"
500
- ],
1023
+ "required": [
1024
+ "mountPolicy",
1025
+ "queryPolicy",
1026
+ "retainOnDeactivate",
1027
+ "deepLink",
1028
+ "focusReturn"
1029
+ ],
1030
+ "additionalProperties": false
1031
+ },
1032
+ "layout": {
1033
+ "type": "object",
1034
+ "properties": {
1035
+ "mode": {
1036
+ "type": "string",
1037
+ "enum": [
1038
+ "contents",
1039
+ "block",
1040
+ "flex",
1041
+ "grid",
1042
+ "split",
1043
+ "tabs",
1044
+ "absolute"
1045
+ ]
1046
+ },
1047
+ "direction": {
1048
+ "type": "string",
1049
+ "enum": [
1050
+ "row",
1051
+ "column"
1052
+ ]
1053
+ },
1054
+ "columns": {
1055
+ "type": "integer",
1056
+ "exclusiveMinimum": 0,
1057
+ "maximum": 9007199254740991
1058
+ },
1059
+ "rowHeight": {
1060
+ "type": "integer",
1061
+ "minimum": 12,
1062
+ "maximum": 200
1063
+ },
1064
+ "gap": {
1065
+ "type": "integer",
1066
+ "minimum": 0,
1067
+ "maximum": 64
1068
+ },
1069
+ "align": {
1070
+ "type": "string",
1071
+ "enum": [
1072
+ "start",
1073
+ "center",
1074
+ "end",
1075
+ "stretch"
1076
+ ]
1077
+ },
1078
+ "justify": {
1079
+ "type": "string",
1080
+ "enum": [
1081
+ "start",
1082
+ "center",
1083
+ "end",
1084
+ "between",
1085
+ "around"
1086
+ ]
1087
+ },
1088
+ "gapTokenRef": {
1089
+ "type": "object",
1090
+ "properties": {
1091
+ "kind": {
1092
+ "type": "string",
1093
+ "minLength": 1,
1094
+ "maxLength": 256
1095
+ },
1096
+ "id": {
1097
+ "type": "string",
1098
+ "minLength": 1,
1099
+ "maxLength": 256
1100
+ },
1101
+ "version": {
1102
+ "anyOf": [
1103
+ {
1104
+ "type": "integer",
1105
+ "exclusiveMinimum": 0,
1106
+ "maximum": 9007199254740991
1107
+ },
1108
+ {
1109
+ "type": "string",
1110
+ "minLength": 1
1111
+ }
1112
+ ]
1113
+ },
1114
+ "ownerRepo": {
1115
+ "type": "string",
1116
+ "minLength": 1,
1117
+ "maxLength": 256
1118
+ }
1119
+ },
1120
+ "required": [
1121
+ "kind",
1122
+ "id"
1123
+ ],
1124
+ "additionalProperties": false
1125
+ }
1126
+ },
1127
+ "required": [
1128
+ "mode"
1129
+ ],
1130
+ "additionalProperties": false
1131
+ },
1132
+ "placement": {
1133
+ "type": "object",
1134
+ "properties": {
1135
+ "grid": {
1136
+ "type": "object",
1137
+ "properties": {
1138
+ "x": {
1139
+ "type": "integer",
1140
+ "minimum": 0,
1141
+ "maximum": 23
1142
+ },
1143
+ "y": {
1144
+ "type": "integer",
1145
+ "minimum": 0,
1146
+ "maximum": 200
1147
+ },
1148
+ "w": {
1149
+ "type": "integer",
1150
+ "minimum": 2,
1151
+ "maximum": 24
1152
+ },
1153
+ "h": {
1154
+ "type": "integer",
1155
+ "minimum": 2,
1156
+ "maximum": 200
1157
+ },
1158
+ "minW": {
1159
+ "type": "integer",
1160
+ "minimum": 2,
1161
+ "maximum": 24
1162
+ },
1163
+ "minH": {
1164
+ "type": "integer",
1165
+ "minimum": 2,
1166
+ "maximum": 200
1167
+ }
1168
+ },
1169
+ "required": [
1170
+ "x",
1171
+ "y",
1172
+ "w",
1173
+ "h"
1174
+ ],
1175
+ "additionalProperties": false
1176
+ },
1177
+ "split": {
1178
+ "type": "object",
1179
+ "properties": {
1180
+ "size": {
1181
+ "anyOf": [
1182
+ {
1183
+ "type": "number",
1184
+ "exclusiveMinimum": 0
1185
+ },
1186
+ {
1187
+ "type": "string",
1188
+ "minLength": 1
1189
+ }
1190
+ ]
1191
+ },
1192
+ "minSize": {
1193
+ "anyOf": [
1194
+ {
1195
+ "type": "number",
1196
+ "exclusiveMinimum": 0
1197
+ },
1198
+ {
1199
+ "type": "string",
1200
+ "minLength": 1
1201
+ }
1202
+ ]
1203
+ },
1204
+ "maxSize": {
1205
+ "anyOf": [
1206
+ {
1207
+ "type": "number",
1208
+ "exclusiveMinimum": 0
1209
+ },
1210
+ {
1211
+ "type": "string",
1212
+ "minLength": 1
1213
+ }
1214
+ ]
1215
+ },
1216
+ "collapsible": {
1217
+ "type": "boolean"
1218
+ },
1219
+ "collapsed": {
1220
+ "type": "boolean"
1221
+ }
1222
+ },
1223
+ "additionalProperties": false
1224
+ },
1225
+ "tab": {
1226
+ "type": "object",
1227
+ "properties": {
1228
+ "label": {
1229
+ "anyOf": [
1230
+ {
1231
+ "type": "string",
1232
+ "minLength": 1
1233
+ },
1234
+ {
1235
+ "type": "object",
1236
+ "propertyNames": {
1237
+ "type": "string",
1238
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1239
+ },
1240
+ "additionalProperties": {
1241
+ "type": "string",
1242
+ "minLength": 1
1243
+ }
1244
+ }
1245
+ ]
1246
+ },
1247
+ "icon": {
1248
+ "type": "string",
1249
+ "minLength": 1,
1250
+ "maxLength": 256
1251
+ }
1252
+ },
1253
+ "additionalProperties": false
1254
+ }
1255
+ },
501
1256
  "additionalProperties": false
502
1257
  },
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"
1258
+ "dataBinding": {
1259
+ "anyOf": [
1260
+ {
1261
+ "anyOf": [
1262
+ {
1263
+ "type": "object",
1264
+ "properties": {
1265
+ "kind": {
1266
+ "type": "string",
1267
+ "const": "select"
1268
+ },
1269
+ "from": {
1270
+ "type": "object",
1271
+ "properties": {
1272
+ "source": {
1273
+ "default": "ontology",
1274
+ "type": "string",
1275
+ "enum": [
1276
+ "ontology",
1277
+ "workflow-outputs",
1278
+ "telemetry"
1279
+ ]
1280
+ },
1281
+ "ontologyId": {
1282
+ "type": "string",
1283
+ "minLength": 1,
1284
+ "maxLength": 256
1285
+ },
1286
+ "workflowId": {
1287
+ "type": "string",
1288
+ "minLength": 1,
1289
+ "maxLength": 256
1290
+ },
1291
+ "includeSharedSlices": {
1292
+ "type": "boolean"
1293
+ }
1294
+ },
1295
+ "required": [
1296
+ "source",
1297
+ "ontologyId"
1298
+ ],
1299
+ "additionalProperties": false
1300
+ },
1301
+ "select": {
1302
+ "type": "object",
1303
+ "properties": {
1304
+ "baseColumns": {
1305
+ "maxItems": 64,
1306
+ "type": "array",
1307
+ "items": {
1308
+ "type": "string",
1309
+ "minLength": 1,
1310
+ "maxLength": 256
1311
+ }
1312
+ },
1313
+ "propertyColumns": {
1314
+ "maxItems": 128,
1315
+ "type": "array",
1316
+ "items": {
1317
+ "type": "string",
1318
+ "minLength": 1,
1319
+ "maxLength": 256
1320
+ }
1321
+ },
1322
+ "featureColumns": {
1323
+ "maxItems": 256,
1324
+ "type": "array",
1325
+ "items": {
1326
+ "type": "string",
1327
+ "minLength": 1,
1328
+ "maxLength": 256
1329
+ }
1330
+ },
1331
+ "tagGroupColumns": {
1332
+ "maxItems": 128,
1333
+ "type": "array",
1334
+ "items": {
1335
+ "type": "string",
1336
+ "minLength": 1,
1337
+ "maxLength": 256
1338
+ }
1339
+ },
1340
+ "columnOrder": {
1341
+ "maxItems": 512,
1342
+ "type": "array",
1343
+ "items": {
1344
+ "type": "string",
1345
+ "minLength": 1,
1346
+ "maxLength": 256
1347
+ }
1348
+ }
1349
+ },
1350
+ "additionalProperties": false
1351
+ },
1352
+ "where": {
1353
+ "$ref": "#/$defs/__schema0"
1354
+ },
1355
+ "orderBy": {
1356
+ "maxItems": 16,
1357
+ "type": "array",
1358
+ "items": {
1359
+ "type": "object",
1360
+ "properties": {
1361
+ "field": {
1362
+ "type": "string",
1363
+ "minLength": 1,
1364
+ "maxLength": 256
1365
+ },
1366
+ "kind": {
1367
+ "default": "builtin",
1368
+ "type": "string",
1369
+ "enum": [
1370
+ "builtin",
1371
+ "feature"
1372
+ ]
1373
+ },
1374
+ "direction": {
1375
+ "default": "desc",
1376
+ "type": "string",
1377
+ "enum": [
1378
+ "asc",
1379
+ "desc"
1380
+ ]
1381
+ },
1382
+ "nulls": {
1383
+ "type": "string",
1384
+ "enum": [
1385
+ "first",
1386
+ "last"
1387
+ ]
1388
+ }
1389
+ },
1390
+ "required": [
1391
+ "field",
1392
+ "kind",
1393
+ "direction"
1394
+ ],
1395
+ "additionalProperties": false
1396
+ }
1397
+ },
1398
+ "limit": {
1399
+ "type": "integer",
1400
+ "minimum": 1,
1401
+ "maximum": 1000
1402
+ }
1403
+ },
1404
+ "required": [
1405
+ "kind",
1406
+ "from"
1407
+ ],
1408
+ "additionalProperties": false
1409
+ },
1410
+ {
1411
+ "type": "object",
1412
+ "properties": {
1413
+ "kind": {
1414
+ "type": "string",
1415
+ "const": "aggregate"
1416
+ },
1417
+ "from": {
1418
+ "type": "object",
1419
+ "properties": {
1420
+ "source": {
1421
+ "default": "ontology",
1422
+ "type": "string",
1423
+ "enum": [
1424
+ "ontology",
1425
+ "workflow-outputs",
1426
+ "telemetry"
1427
+ ]
1428
+ },
1429
+ "ontologyId": {
1430
+ "type": "string",
1431
+ "minLength": 1,
1432
+ "maxLength": 256
1433
+ },
1434
+ "workflowId": {
1435
+ "type": "string",
1436
+ "minLength": 1,
1437
+ "maxLength": 256
1438
+ },
1439
+ "includeSharedSlices": {
1440
+ "type": "boolean"
1441
+ }
1442
+ },
1443
+ "required": [
1444
+ "source",
1445
+ "ontologyId"
1446
+ ],
1447
+ "additionalProperties": false
1448
+ },
1449
+ "where": {
1450
+ "$ref": "#/$defs/__schema0"
1451
+ },
1452
+ "groupBy": {
1453
+ "maxItems": 16,
1454
+ "type": "array",
1455
+ "items": {
1456
+ "type": "string",
1457
+ "minLength": 1,
1458
+ "maxLength": 256
1459
+ }
1460
+ },
1461
+ "metrics": {
1462
+ "minItems": 1,
1463
+ "maxItems": 32,
1464
+ "type": "array",
1465
+ "items": {
1466
+ "type": "object",
1467
+ "properties": {
1468
+ "alias": {
1469
+ "type": "string",
1470
+ "minLength": 1,
1471
+ "maxLength": 256
1472
+ },
1473
+ "fn": {
1474
+ "type": "string",
1475
+ "enum": [
1476
+ "count",
1477
+ "sum",
1478
+ "avg",
1479
+ "min",
1480
+ "max",
1481
+ "distinct_count",
1482
+ "ratio"
1483
+ ]
1484
+ },
1485
+ "fieldKey": {
1486
+ "type": "string",
1487
+ "minLength": 1,
1488
+ "maxLength": 256
1489
+ }
1490
+ },
1491
+ "required": [
1492
+ "alias",
1493
+ "fn"
1494
+ ],
1495
+ "additionalProperties": false
1496
+ }
1497
+ },
1498
+ "orderBy": {
1499
+ "maxItems": 16,
1500
+ "type": "array",
1501
+ "items": {
1502
+ "type": "object",
1503
+ "properties": {
1504
+ "field": {
1505
+ "type": "string",
1506
+ "minLength": 1,
1507
+ "maxLength": 256
1508
+ },
1509
+ "kind": {
1510
+ "default": "builtin",
1511
+ "type": "string",
1512
+ "enum": [
1513
+ "builtin",
1514
+ "feature"
1515
+ ]
1516
+ },
1517
+ "direction": {
1518
+ "default": "desc",
1519
+ "type": "string",
1520
+ "enum": [
1521
+ "asc",
1522
+ "desc"
1523
+ ]
1524
+ },
1525
+ "nulls": {
1526
+ "type": "string",
1527
+ "enum": [
1528
+ "first",
1529
+ "last"
1530
+ ]
1531
+ }
1532
+ },
1533
+ "required": [
1534
+ "field",
1535
+ "kind",
1536
+ "direction"
1537
+ ],
1538
+ "additionalProperties": false
1539
+ }
1540
+ },
1541
+ "limit": {
1542
+ "type": "integer",
1543
+ "minimum": 1,
1544
+ "maximum": 1000
1545
+ }
1546
+ },
1547
+ "required": [
1548
+ "kind",
1549
+ "from",
1550
+ "metrics"
1551
+ ],
1552
+ "additionalProperties": false
1553
+ },
1554
+ {
1555
+ "type": "object",
1556
+ "properties": {
1557
+ "kind": {
1558
+ "type": "string",
1559
+ "const": "graph"
1560
+ },
1561
+ "from": {
1562
+ "type": "object",
1563
+ "properties": {
1564
+ "source": {
1565
+ "default": "ontology",
1566
+ "type": "string",
1567
+ "enum": [
1568
+ "ontology",
1569
+ "workflow-outputs",
1570
+ "telemetry"
1571
+ ]
1572
+ },
1573
+ "ontologyId": {
1574
+ "type": "string",
1575
+ "minLength": 1,
1576
+ "maxLength": 256
1577
+ },
1578
+ "workflowId": {
1579
+ "type": "string",
1580
+ "minLength": 1,
1581
+ "maxLength": 256
1582
+ },
1583
+ "includeSharedSlices": {
1584
+ "type": "boolean"
1585
+ }
1586
+ },
1587
+ "required": [
1588
+ "source",
1589
+ "ontologyId"
1590
+ ],
1591
+ "additionalProperties": false
1592
+ },
1593
+ "where": {
1594
+ "$ref": "#/$defs/__schema0"
1595
+ },
1596
+ "graph": {
1597
+ "type": "object",
1598
+ "properties": {
1599
+ "graphKind": {
1600
+ "type": "string",
1601
+ "enum": [
1602
+ "schema",
1603
+ "cooccurrence",
1604
+ "bipartite-cosine",
1605
+ "focus-star",
1606
+ "ontology-relation",
1607
+ "record-clustering",
1608
+ "field-tag-hub"
1609
+ ]
1610
+ },
1611
+ "maxHops": {
1612
+ "default": 2,
1613
+ "type": "integer",
1614
+ "minimum": 1,
1615
+ "maximum": 6
1616
+ },
1617
+ "nodeLabelField": {
1618
+ "type": "string",
1619
+ "minLength": 1,
1620
+ "maxLength": 256
1621
+ },
1622
+ "edgeRelationFields": {
1623
+ "maxItems": 32,
1624
+ "type": "array",
1625
+ "items": {
1626
+ "type": "string",
1627
+ "minLength": 1,
1628
+ "maxLength": 256
1629
+ }
1630
+ }
1631
+ },
1632
+ "required": [
1633
+ "graphKind",
1634
+ "maxHops"
1635
+ ],
1636
+ "additionalProperties": false
1637
+ },
1638
+ "limit": {
1639
+ "type": "integer",
1640
+ "minimum": 1,
1641
+ "maximum": 5000
1642
+ }
1643
+ },
1644
+ "required": [
1645
+ "kind",
1646
+ "from",
1647
+ "graph"
1648
+ ],
1649
+ "additionalProperties": false
1650
+ },
1651
+ {
1652
+ "type": "object",
1653
+ "properties": {
1654
+ "kind": {
1655
+ "type": "string",
1656
+ "enum": [
1657
+ "insert",
1658
+ "update",
1659
+ "delete"
1660
+ ]
1661
+ },
1662
+ "ontologyId": {
1663
+ "type": "string",
1664
+ "minLength": 1,
1665
+ "maxLength": 256
1666
+ },
1667
+ "values": {
1668
+ "type": "object",
1669
+ "propertyNames": {
1670
+ "type": "string"
1671
+ },
1672
+ "additionalProperties": {
1673
+ "$ref": "#/$defs/__schema1"
1674
+ }
1675
+ },
1676
+ "where": {
1677
+ "$ref": "#/$defs/__schema0"
1678
+ }
1679
+ },
1680
+ "required": [
1681
+ "kind",
1682
+ "ontologyId"
1683
+ ],
1684
+ "additionalProperties": false
1685
+ },
1686
+ {
1687
+ "type": "object",
1688
+ "properties": {
1689
+ "kind": {
1690
+ "type": "string",
1691
+ "const": "call"
1692
+ },
1693
+ "workflowId": {
1694
+ "type": "string",
1695
+ "minLength": 1,
1696
+ "maxLength": 256
1697
+ },
1698
+ "pageType": {
1699
+ "default": "preview",
1700
+ "type": "string",
1701
+ "enum": [
1702
+ "preview",
1703
+ "process",
1704
+ "log",
1705
+ "chat",
1706
+ "api"
1707
+ ]
1708
+ },
1709
+ "inputMapping": {
1710
+ "type": "object",
1711
+ "propertyNames": {
1712
+ "type": "string"
1713
+ },
1714
+ "additionalProperties": {
1715
+ "$ref": "#/$defs/__schema1"
1716
+ }
1717
+ },
1718
+ "outputStrategy": {
1719
+ "type": "string",
1720
+ "enum": [
1721
+ "default-result-ontology",
1722
+ "domain-ontology",
1723
+ "ledger-only",
1724
+ "column-writeback"
1725
+ ]
1726
+ }
1727
+ },
1728
+ "required": [
1729
+ "kind",
1730
+ "workflowId",
1731
+ "pageType"
1732
+ ],
1733
+ "additionalProperties": false
1734
+ }
535
1735
  ]
536
1736
  },
537
- "justify": {
538
- "type": "string",
539
- "enum": [
540
- "start",
541
- "center",
542
- "end",
543
- "between",
544
- "around"
545
- ]
1737
+ {
1738
+ "type": "object",
1739
+ "properties": {
1740
+ "kind": {
1741
+ "type": "string",
1742
+ "const": "statement"
1743
+ },
1744
+ "statementId": {
1745
+ "type": "string",
1746
+ "minLength": 1,
1747
+ "maxLength": 256
1748
+ }
1749
+ },
1750
+ "required": [
1751
+ "kind",
1752
+ "statementId"
1753
+ ],
1754
+ "additionalProperties": false
546
1755
  },
547
- "gapTokenRef": {
1756
+ {
548
1757
  "type": "object",
549
1758
  "properties": {
550
1759
  "kind": {
1760
+ "type": "string",
1761
+ "const": "ontology-record"
1762
+ },
1763
+ "ontologyId": {
551
1764
  "type": "string",
552
1765
  "minLength": 1,
553
1766
  "maxLength": 256
554
1767
  },
555
- "id": {
1768
+ "recordId": {
556
1769
  "type": "string",
557
1770
  "minLength": 1,
558
1771
  "maxLength": 256
559
1772
  },
560
- "version": {
561
- "anyOf": [
562
- {
563
- "type": "integer",
564
- "exclusiveMinimum": 0,
565
- "maximum": 9007199254740991
566
- },
567
- {
568
- "type": "string",
569
- "minLength": 1
570
- }
571
- ]
1773
+ "includeRelations": {
1774
+ "type": "boolean"
1775
+ }
1776
+ },
1777
+ "required": [
1778
+ "kind",
1779
+ "ontologyId",
1780
+ "recordId"
1781
+ ],
1782
+ "additionalProperties": false
1783
+ },
1784
+ {
1785
+ "type": "object",
1786
+ "properties": {
1787
+ "kind": {
1788
+ "type": "string",
1789
+ "const": "ontology-view"
572
1790
  },
573
- "ownerRepo": {
1791
+ "viewId": {
574
1792
  "type": "string",
575
1793
  "minLength": 1,
576
1794
  "maxLength": 256
@@ -578,13 +1796,73 @@
578
1796
  },
579
1797
  "required": [
580
1798
  "kind",
581
- "id"
1799
+ "viewId"
1800
+ ],
1801
+ "additionalProperties": false
1802
+ },
1803
+ {
1804
+ "type": "object",
1805
+ "properties": {
1806
+ "kind": {
1807
+ "type": "string",
1808
+ "const": "self-managed"
1809
+ }
1810
+ },
1811
+ "required": [
1812
+ "kind"
582
1813
  ],
583
1814
  "additionalProperties": false
584
1815
  }
1816
+ ]
1817
+ },
1818
+ "module": {
1819
+ "type": "object",
1820
+ "properties": {
1821
+ "id": {
1822
+ "type": "string",
1823
+ "minLength": 1,
1824
+ "maxLength": 256
1825
+ },
1826
+ "granularity": {
1827
+ "default": "atomic",
1828
+ "type": "string",
1829
+ "enum": [
1830
+ "atomic",
1831
+ "macro"
1832
+ ]
1833
+ },
1834
+ "title": {
1835
+ "anyOf": [
1836
+ {
1837
+ "type": "string",
1838
+ "minLength": 1
1839
+ },
1840
+ {
1841
+ "type": "object",
1842
+ "propertyNames": {
1843
+ "type": "string",
1844
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1845
+ },
1846
+ "additionalProperties": {
1847
+ "type": "string",
1848
+ "minLength": 1
1849
+ }
1850
+ }
1851
+ ]
1852
+ },
1853
+ "props": {
1854
+ "type": "object",
1855
+ "propertyNames": {
1856
+ "type": "string"
1857
+ },
1858
+ "additionalProperties": {
1859
+ "$ref": "#/$defs/__schema1"
1860
+ }
1861
+ }
585
1862
  },
586
1863
  "required": [
587
- "mode"
1864
+ "id",
1865
+ "granularity"
588
1866
  ],
589
1867
  "additionalProperties": false
590
1868
  },
@@ -592,19 +1870,19 @@
592
1870
  "type": "object",
593
1871
  "properties": {
594
1872
  "visibleWhen": {
595
- "$ref": "#/$defs/__schema0"
1873
+ "$ref": "#/$defs/__schema2"
596
1874
  },
597
1875
  "columns": {
598
- "$ref": "#/$defs/__schema0"
1876
+ "$ref": "#/$defs/__schema2"
599
1877
  },
600
1878
  "gridTemplateColumns": {
601
- "$ref": "#/$defs/__schema0"
1879
+ "$ref": "#/$defs/__schema2"
602
1880
  },
603
1881
  "flex": {
604
- "$ref": "#/$defs/__schema0"
1882
+ "$ref": "#/$defs/__schema2"
605
1883
  },
606
1884
  "bentoSurface": {
607
- "$ref": "#/$defs/__schema0"
1885
+ "$ref": "#/$defs/__schema2"
608
1886
  }
609
1887
  },
610
1888
  "additionalProperties": false
@@ -1234,6 +2512,8 @@
1234
2512
  "block",
1235
2513
  "flex",
1236
2514
  "grid",
2515
+ "split",
2516
+ "tabs",
1237
2517
  "absolute"
1238
2518
  ]
1239
2519
  },
@@ -1249,6 +2529,16 @@
1249
2529
  "exclusiveMinimum": 0,
1250
2530
  "maximum": 9007199254740991
1251
2531
  },
2532
+ "rowHeight": {
2533
+ "type": "integer",
2534
+ "minimum": 12,
2535
+ "maximum": 200
2536
+ },
2537
+ "gap": {
2538
+ "type": "integer",
2539
+ "minimum": 0,
2540
+ "maximum": 64
2541
+ },
1252
2542
  "align": {
1253
2543
  "type": "string",
1254
2544
  "enum": [
@@ -2079,7 +3369,7 @@
2079
3369
  "type": "object",
2080
3370
  "properties": {
2081
3371
  "source": {
2082
- "$ref": "#/$defs/__schema0"
3372
+ "$ref": "#/$defs/__schema2"
2083
3373
  },
2084
3374
  "keyPath": {
2085
3375
  "minItems": 1,
@@ -2138,6 +3428,319 @@
2138
3428
  "additionalProperties": false,
2139
3429
  "$defs": {
2140
3430
  "__schema0": {
3431
+ "anyOf": [
3432
+ {
3433
+ "type": "object",
3434
+ "properties": {
3435
+ "op": {
3436
+ "type": "string",
3437
+ "enum": [
3438
+ "and",
3439
+ "or",
3440
+ "not"
3441
+ ]
3442
+ },
3443
+ "filters": {
3444
+ "minItems": 1,
3445
+ "maxItems": 64,
3446
+ "type": "array",
3447
+ "items": {
3448
+ "$ref": "#/$defs/__schema0"
3449
+ }
3450
+ }
3451
+ },
3452
+ "required": [
3453
+ "op",
3454
+ "filters"
3455
+ ],
3456
+ "additionalProperties": false
3457
+ },
3458
+ {
3459
+ "type": "object",
3460
+ "properties": {
3461
+ "op": {
3462
+ "type": "string",
3463
+ "const": "field"
3464
+ },
3465
+ "field": {
3466
+ "type": "string",
3467
+ "enum": [
3468
+ "id",
3469
+ "name",
3470
+ "status",
3471
+ "assetType",
3472
+ "creatorUserId",
3473
+ "ontologyId",
3474
+ "teamId"
3475
+ ]
3476
+ },
3477
+ "cmp": {
3478
+ "type": "string",
3479
+ "enum": [
3480
+ "eq",
3481
+ "in",
3482
+ "contains",
3483
+ "not_contains"
3484
+ ]
3485
+ },
3486
+ "value": {
3487
+ "anyOf": [
3488
+ {
3489
+ "type": "string",
3490
+ "minLength": 1
3491
+ },
3492
+ {
3493
+ "minItems": 1,
3494
+ "maxItems": 500,
3495
+ "type": "array",
3496
+ "items": {
3497
+ "type": "string",
3498
+ "minLength": 1
3499
+ }
3500
+ }
3501
+ ]
3502
+ }
3503
+ },
3504
+ "required": [
3505
+ "op",
3506
+ "field",
3507
+ "value"
3508
+ ],
3509
+ "additionalProperties": false
3510
+ },
3511
+ {
3512
+ "type": "object",
3513
+ "properties": {
3514
+ "op": {
3515
+ "type": "string",
3516
+ "const": "tagGroup"
3517
+ },
3518
+ "allOf": {
3519
+ "minItems": 1,
3520
+ "maxItems": 32,
3521
+ "type": "array",
3522
+ "items": {
3523
+ "type": "string",
3524
+ "minLength": 1,
3525
+ "maxLength": 256
3526
+ }
3527
+ }
3528
+ },
3529
+ "required": [
3530
+ "op",
3531
+ "allOf"
3532
+ ],
3533
+ "additionalProperties": false
3534
+ },
3535
+ {
3536
+ "type": "object",
3537
+ "properties": {
3538
+ "op": {
3539
+ "type": "string",
3540
+ "const": "tags"
3541
+ },
3542
+ "allOf": {
3543
+ "maxItems": 64,
3544
+ "type": "array",
3545
+ "items": {
3546
+ "type": "string",
3547
+ "minLength": 1,
3548
+ "maxLength": 256
3549
+ }
3550
+ },
3551
+ "anyOf": {
3552
+ "maxItems": 32,
3553
+ "type": "array",
3554
+ "items": {
3555
+ "minItems": 1,
3556
+ "maxItems": 32,
3557
+ "type": "array",
3558
+ "items": {
3559
+ "type": "string",
3560
+ "minLength": 1,
3561
+ "maxLength": 256
3562
+ }
3563
+ }
3564
+ },
3565
+ "noneOf": {
3566
+ "maxItems": 64,
3567
+ "type": "array",
3568
+ "items": {
3569
+ "type": "string",
3570
+ "minLength": 1,
3571
+ "maxLength": 256
3572
+ }
3573
+ }
3574
+ },
3575
+ "required": [
3576
+ "op"
3577
+ ],
3578
+ "additionalProperties": false
3579
+ },
3580
+ {
3581
+ "type": "object",
3582
+ "properties": {
3583
+ "op": {
3584
+ "type": "string",
3585
+ "const": "feature"
3586
+ },
3587
+ "fieldKey": {
3588
+ "type": "string",
3589
+ "minLength": 1,
3590
+ "maxLength": 256
3591
+ },
3592
+ "cmp": {
3593
+ "type": "string",
3594
+ "enum": [
3595
+ "eq",
3596
+ "neq",
3597
+ "in",
3598
+ "not_in",
3599
+ "gt",
3600
+ "gte",
3601
+ "lt",
3602
+ "lte",
3603
+ "between",
3604
+ "contains",
3605
+ "is_empty"
3606
+ ]
3607
+ },
3608
+ "value": {
3609
+ "$ref": "#/$defs/__schema1"
3610
+ }
3611
+ },
3612
+ "required": [
3613
+ "op",
3614
+ "fieldKey"
3615
+ ],
3616
+ "additionalProperties": false
3617
+ },
3618
+ {
3619
+ "type": "object",
3620
+ "properties": {
3621
+ "op": {
3622
+ "type": "string",
3623
+ "const": "featureRelation"
3624
+ },
3625
+ "fieldKey": {
3626
+ "type": "string",
3627
+ "minLength": 1,
3628
+ "maxLength": 256
3629
+ },
3630
+ "cmp": {
3631
+ "type": "string",
3632
+ "enum": [
3633
+ "contains_any",
3634
+ "contains_all",
3635
+ "is_empty"
3636
+ ]
3637
+ },
3638
+ "targetOntologyId": {
3639
+ "type": "string",
3640
+ "minLength": 1,
3641
+ "maxLength": 256
3642
+ },
3643
+ "hops": {
3644
+ "type": "integer",
3645
+ "minimum": 1,
3646
+ "maximum": 6
3647
+ },
3648
+ "value": {
3649
+ "maxItems": 200,
3650
+ "type": "array",
3651
+ "items": {
3652
+ "type": "object",
3653
+ "properties": {
3654
+ "ontologyId": {
3655
+ "type": "string",
3656
+ "minLength": 1,
3657
+ "maxLength": 256
3658
+ },
3659
+ "assetId": {
3660
+ "type": "string",
3661
+ "minLength": 1,
3662
+ "maxLength": 256
3663
+ }
3664
+ },
3665
+ "required": [
3666
+ "ontologyId",
3667
+ "assetId"
3668
+ ],
3669
+ "additionalProperties": false
3670
+ }
3671
+ }
3672
+ },
3673
+ "required": [
3674
+ "op",
3675
+ "fieldKey"
3676
+ ],
3677
+ "additionalProperties": false
3678
+ },
3679
+ {
3680
+ "type": "object",
3681
+ "properties": {
3682
+ "op": {
3683
+ "type": "string",
3684
+ "const": "relation"
3685
+ },
3686
+ "relationKind": {
3687
+ "type": "string",
3688
+ "minLength": 1,
3689
+ "maxLength": 256
3690
+ },
3691
+ "objectKind": {
3692
+ "type": "string",
3693
+ "minLength": 1,
3694
+ "maxLength": 256
3695
+ },
3696
+ "objectId": {
3697
+ "type": "string",
3698
+ "minLength": 1,
3699
+ "maxLength": 256
3700
+ }
3701
+ },
3702
+ "required": [
3703
+ "op",
3704
+ "relationKind",
3705
+ "objectKind",
3706
+ "objectId"
3707
+ ],
3708
+ "additionalProperties": false
3709
+ }
3710
+ ]
3711
+ },
3712
+ "__schema1": {
3713
+ "anyOf": [
3714
+ {
3715
+ "type": "string"
3716
+ },
3717
+ {
3718
+ "type": "number"
3719
+ },
3720
+ {
3721
+ "type": "boolean"
3722
+ },
3723
+ {
3724
+ "type": "null"
3725
+ },
3726
+ {
3727
+ "type": "array",
3728
+ "items": {
3729
+ "$ref": "#/$defs/__schema1"
3730
+ }
3731
+ },
3732
+ {
3733
+ "type": "object",
3734
+ "propertyNames": {
3735
+ "type": "string"
3736
+ },
3737
+ "additionalProperties": {
3738
+ "$ref": "#/$defs/__schema1"
3739
+ }
3740
+ }
3741
+ ]
3742
+ },
3743
+ "__schema2": {
2141
3744
  "anyOf": [
2142
3745
  {
2143
3746
  "type": "object",
@@ -2244,7 +3847,7 @@
2244
3847
  "maxItems": 32,
2245
3848
  "type": "array",
2246
3849
  "items": {
2247
- "$ref": "#/$defs/__schema0"
3850
+ "$ref": "#/$defs/__schema2"
2248
3851
  }
2249
3852
  }
2250
3853
  },
@@ -2263,13 +3866,13 @@
2263
3866
  "const": "conditional"
2264
3867
  },
2265
3868
  "condition": {
2266
- "$ref": "#/$defs/__schema0"
3869
+ "$ref": "#/$defs/__schema2"
2267
3870
  },
2268
3871
  "then": {
2269
- "$ref": "#/$defs/__schema0"
3872
+ "$ref": "#/$defs/__schema2"
2270
3873
  },
2271
3874
  "else": {
2272
- "$ref": "#/$defs/__schema0"
3875
+ "$ref": "#/$defs/__schema2"
2273
3876
  }
2274
3877
  },
2275
3878
  "required": [
@@ -2295,7 +3898,7 @@
2295
3898
  "maxLength": 256
2296
3899
  },
2297
3900
  "additionalProperties": {
2298
- "$ref": "#/$defs/__schema0"
3901
+ "$ref": "#/$defs/__schema2"
2299
3902
  }
2300
3903
  }
2301
3904
  },
@@ -2316,7 +3919,7 @@
2316
3919
  "maxItems": 1000,
2317
3920
  "type": "array",
2318
3921
  "items": {
2319
- "$ref": "#/$defs/__schema0"
3922
+ "$ref": "#/$defs/__schema2"
2320
3923
  }
2321
3924
  }
2322
3925
  },
@@ -2334,10 +3937,10 @@
2334
3937
  "const": "map"
2335
3938
  },
2336
3939
  "source": {
2337
- "$ref": "#/$defs/__schema0"
3940
+ "$ref": "#/$defs/__schema2"
2338
3941
  },
2339
3942
  "value": {
2340
- "$ref": "#/$defs/__schema0"
3943
+ "$ref": "#/$defs/__schema2"
2341
3944
  }
2342
3945
  },
2343
3946
  "required": [
@@ -2355,10 +3958,10 @@
2355
3958
  "const": "filter"
2356
3959
  },
2357
3960
  "source": {
2358
- "$ref": "#/$defs/__schema0"
3961
+ "$ref": "#/$defs/__schema2"
2359
3962
  },
2360
3963
  "value": {
2361
- "$ref": "#/$defs/__schema0"
3964
+ "$ref": "#/$defs/__schema2"
2362
3965
  }
2363
3966
  },
2364
3967
  "required": [
@@ -2376,10 +3979,10 @@
2376
3979
  "const": "sum"
2377
3980
  },
2378
3981
  "source": {
2379
- "$ref": "#/$defs/__schema0"
3982
+ "$ref": "#/$defs/__schema2"
2380
3983
  },
2381
3984
  "value": {
2382
- "$ref": "#/$defs/__schema0"
3985
+ "$ref": "#/$defs/__schema2"
2383
3986
  }
2384
3987
  },
2385
3988
  "required": [
@@ -2390,37 +3993,6 @@
2390
3993
  "additionalProperties": false
2391
3994
  }
2392
3995
  ]
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
3996
  }
2425
3997
  },
2426
3998
  "$id": "https://schemas.infmonkeys.com/contracts/render-tree.schema.json",