@inf-monkeys-tech/monkeys 1.1.62 → 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 (45) hide show
  1. package/lib/contracts/declarative-control-http.d.ts +4401 -48
  2. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  3. package/lib/contracts/declarative-control.d.ts +370 -0
  4. package/lib/contracts/declarative-control.d.ts.map +1 -1
  5. package/lib/contracts/declarative-publication-job.d.ts +912 -16
  6. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  7. package/lib/contracts/render.d.ts +297 -0
  8. package/lib/contracts/render.d.ts.map +1 -1
  9. package/lib/contracts/render.js +60 -5
  10. package/lib/contracts/render.js.map +1 -1
  11. package/lib/esm/{chunk-EFVODA3P.mjs → chunk-766TRFRH.mjs} +46 -4
  12. package/lib/esm/chunk-766TRFRH.mjs.map +1 -0
  13. package/lib/esm/{chunk-MAZ3HUFS.mjs → chunk-BTJGKWPM.mjs} +178 -4
  14. package/lib/esm/chunk-BTJGKWPM.mjs.map +1 -0
  15. package/lib/esm/{chunk-RWTW74VC.mjs → chunk-MP4OJWJ3.mjs} +2 -2
  16. package/lib/esm/{chunk-UPCRRS4I.mjs → chunk-SDA2NWFB.mjs} +2 -2
  17. package/lib/esm/chunk-SDA2NWFB.mjs.map +1 -0
  18. package/lib/esm/contracts/index.mjs +6 -2
  19. package/lib/esm/index.mjs +12 -4
  20. package/lib/esm/index.mjs.map +1 -1
  21. package/lib/esm/runtime/index.mjs +7 -3
  22. package/lib/esm/schemas/index.mjs +2 -2
  23. package/lib/json-schema/overlay-node.schema.json +1092 -49
  24. package/lib/json-schema/page-runtime-bundle.schema.json +1996 -424
  25. package/lib/json-schema/page.schema.json +24 -0
  26. package/lib/json-schema/render-node.schema.json +1317 -274
  27. package/lib/json-schema/render-tree.schema.json +1686 -114
  28. package/lib/runtime/bento-render-tree.d.ts +22 -0
  29. package/lib/runtime/bento-render-tree.d.ts.map +1 -0
  30. package/lib/runtime/bento-render-tree.js +194 -0
  31. package/lib/runtime/bento-render-tree.js.map +1 -0
  32. package/lib/runtime/index.d.ts +1 -0
  33. package/lib/runtime/index.d.ts.map +1 -1
  34. package/lib/runtime/index.js +1 -0
  35. package/lib/runtime/index.js.map +1 -1
  36. package/lib/runtime/runtime-definition-wire.d.ts +456 -8
  37. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  38. package/lib/schemas/index.d.ts +1541 -3072
  39. package/lib/schemas/index.d.ts.map +1 -1
  40. package/lib/schemas/index.js.map +1 -1
  41. package/package.json +2 -2
  42. package/lib/esm/chunk-EFVODA3P.mjs.map +0 -1
  43. package/lib/esm/chunk-MAZ3HUFS.mjs.map +0 -1
  44. package/lib/esm/chunk-UPCRRS4I.mjs.map +0 -1
  45. /package/lib/esm/{chunk-RWTW74VC.mjs.map → chunk-MP4OJWJ3.mjs.map} +0 -0
@@ -495,6 +495,8 @@
495
495
  "block",
496
496
  "flex",
497
497
  "grid",
498
+ "split",
499
+ "tabs",
498
500
  "absolute"
499
501
  ]
500
502
  },
@@ -510,6 +512,16 @@
510
512
  "exclusiveMinimum": 0,
511
513
  "maximum": 9007199254740991
512
514
  },
515
+ "rowHeight": {
516
+ "type": "integer",
517
+ "minimum": 12,
518
+ "maximum": 200
519
+ },
520
+ "gap": {
521
+ "type": "integer",
522
+ "minimum": 0,
523
+ "maximum": 64
524
+ },
513
525
  "align": {
514
526
  "type": "string",
515
527
  "enum": [
@@ -573,23 +585,760 @@
573
585
  ],
574
586
  "additionalProperties": false
575
587
  },
588
+ "placement": {
589
+ "type": "object",
590
+ "properties": {
591
+ "grid": {
592
+ "type": "object",
593
+ "properties": {
594
+ "x": {
595
+ "type": "integer",
596
+ "minimum": 0,
597
+ "maximum": 23
598
+ },
599
+ "y": {
600
+ "type": "integer",
601
+ "minimum": 0,
602
+ "maximum": 200
603
+ },
604
+ "w": {
605
+ "type": "integer",
606
+ "minimum": 2,
607
+ "maximum": 24
608
+ },
609
+ "h": {
610
+ "type": "integer",
611
+ "minimum": 2,
612
+ "maximum": 200
613
+ },
614
+ "minW": {
615
+ "type": "integer",
616
+ "minimum": 2,
617
+ "maximum": 24
618
+ },
619
+ "minH": {
620
+ "type": "integer",
621
+ "minimum": 2,
622
+ "maximum": 200
623
+ }
624
+ },
625
+ "required": [
626
+ "x",
627
+ "y",
628
+ "w",
629
+ "h"
630
+ ],
631
+ "additionalProperties": false
632
+ },
633
+ "split": {
634
+ "type": "object",
635
+ "properties": {
636
+ "size": {
637
+ "anyOf": [
638
+ {
639
+ "type": "number",
640
+ "exclusiveMinimum": 0
641
+ },
642
+ {
643
+ "type": "string",
644
+ "minLength": 1
645
+ }
646
+ ]
647
+ },
648
+ "minSize": {
649
+ "anyOf": [
650
+ {
651
+ "type": "number",
652
+ "exclusiveMinimum": 0
653
+ },
654
+ {
655
+ "type": "string",
656
+ "minLength": 1
657
+ }
658
+ ]
659
+ },
660
+ "maxSize": {
661
+ "anyOf": [
662
+ {
663
+ "type": "number",
664
+ "exclusiveMinimum": 0
665
+ },
666
+ {
667
+ "type": "string",
668
+ "minLength": 1
669
+ }
670
+ ]
671
+ },
672
+ "collapsible": {
673
+ "type": "boolean"
674
+ },
675
+ "collapsed": {
676
+ "type": "boolean"
677
+ }
678
+ },
679
+ "additionalProperties": false
680
+ },
681
+ "tab": {
682
+ "type": "object",
683
+ "properties": {
684
+ "label": {
685
+ "anyOf": [
686
+ {
687
+ "type": "string",
688
+ "minLength": 1
689
+ },
690
+ {
691
+ "type": "object",
692
+ "propertyNames": {
693
+ "type": "string",
694
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
695
+ },
696
+ "additionalProperties": {
697
+ "type": "string",
698
+ "minLength": 1
699
+ }
700
+ }
701
+ ]
702
+ },
703
+ "icon": {
704
+ "type": "string",
705
+ "minLength": 1,
706
+ "maxLength": 256
707
+ }
708
+ },
709
+ "additionalProperties": false
710
+ }
711
+ },
712
+ "additionalProperties": false
713
+ },
714
+ "dataBinding": {
715
+ "anyOf": [
716
+ {
717
+ "anyOf": [
718
+ {
719
+ "type": "object",
720
+ "properties": {
721
+ "kind": {
722
+ "type": "string",
723
+ "const": "select"
724
+ },
725
+ "from": {
726
+ "type": "object",
727
+ "properties": {
728
+ "source": {
729
+ "default": "ontology",
730
+ "type": "string",
731
+ "enum": [
732
+ "ontology",
733
+ "workflow-outputs",
734
+ "telemetry"
735
+ ]
736
+ },
737
+ "ontologyId": {
738
+ "type": "string",
739
+ "minLength": 1,
740
+ "maxLength": 256
741
+ },
742
+ "workflowId": {
743
+ "type": "string",
744
+ "minLength": 1,
745
+ "maxLength": 256
746
+ },
747
+ "includeSharedSlices": {
748
+ "type": "boolean"
749
+ }
750
+ },
751
+ "required": [
752
+ "source",
753
+ "ontologyId"
754
+ ],
755
+ "additionalProperties": false
756
+ },
757
+ "select": {
758
+ "type": "object",
759
+ "properties": {
760
+ "baseColumns": {
761
+ "maxItems": 64,
762
+ "type": "array",
763
+ "items": {
764
+ "type": "string",
765
+ "minLength": 1,
766
+ "maxLength": 256
767
+ }
768
+ },
769
+ "propertyColumns": {
770
+ "maxItems": 128,
771
+ "type": "array",
772
+ "items": {
773
+ "type": "string",
774
+ "minLength": 1,
775
+ "maxLength": 256
776
+ }
777
+ },
778
+ "featureColumns": {
779
+ "maxItems": 256,
780
+ "type": "array",
781
+ "items": {
782
+ "type": "string",
783
+ "minLength": 1,
784
+ "maxLength": 256
785
+ }
786
+ },
787
+ "tagGroupColumns": {
788
+ "maxItems": 128,
789
+ "type": "array",
790
+ "items": {
791
+ "type": "string",
792
+ "minLength": 1,
793
+ "maxLength": 256
794
+ }
795
+ },
796
+ "columnOrder": {
797
+ "maxItems": 512,
798
+ "type": "array",
799
+ "items": {
800
+ "type": "string",
801
+ "minLength": 1,
802
+ "maxLength": 256
803
+ }
804
+ }
805
+ },
806
+ "additionalProperties": false
807
+ },
808
+ "where": {
809
+ "$ref": "#/$defs/__schema0"
810
+ },
811
+ "orderBy": {
812
+ "maxItems": 16,
813
+ "type": "array",
814
+ "items": {
815
+ "type": "object",
816
+ "properties": {
817
+ "field": {
818
+ "type": "string",
819
+ "minLength": 1,
820
+ "maxLength": 256
821
+ },
822
+ "kind": {
823
+ "default": "builtin",
824
+ "type": "string",
825
+ "enum": [
826
+ "builtin",
827
+ "feature"
828
+ ]
829
+ },
830
+ "direction": {
831
+ "default": "desc",
832
+ "type": "string",
833
+ "enum": [
834
+ "asc",
835
+ "desc"
836
+ ]
837
+ },
838
+ "nulls": {
839
+ "type": "string",
840
+ "enum": [
841
+ "first",
842
+ "last"
843
+ ]
844
+ }
845
+ },
846
+ "required": [
847
+ "field",
848
+ "kind",
849
+ "direction"
850
+ ],
851
+ "additionalProperties": false
852
+ }
853
+ },
854
+ "limit": {
855
+ "type": "integer",
856
+ "minimum": 1,
857
+ "maximum": 1000
858
+ }
859
+ },
860
+ "required": [
861
+ "kind",
862
+ "from"
863
+ ],
864
+ "additionalProperties": false
865
+ },
866
+ {
867
+ "type": "object",
868
+ "properties": {
869
+ "kind": {
870
+ "type": "string",
871
+ "const": "aggregate"
872
+ },
873
+ "from": {
874
+ "type": "object",
875
+ "properties": {
876
+ "source": {
877
+ "default": "ontology",
878
+ "type": "string",
879
+ "enum": [
880
+ "ontology",
881
+ "workflow-outputs",
882
+ "telemetry"
883
+ ]
884
+ },
885
+ "ontologyId": {
886
+ "type": "string",
887
+ "minLength": 1,
888
+ "maxLength": 256
889
+ },
890
+ "workflowId": {
891
+ "type": "string",
892
+ "minLength": 1,
893
+ "maxLength": 256
894
+ },
895
+ "includeSharedSlices": {
896
+ "type": "boolean"
897
+ }
898
+ },
899
+ "required": [
900
+ "source",
901
+ "ontologyId"
902
+ ],
903
+ "additionalProperties": false
904
+ },
905
+ "where": {
906
+ "$ref": "#/$defs/__schema0"
907
+ },
908
+ "groupBy": {
909
+ "maxItems": 16,
910
+ "type": "array",
911
+ "items": {
912
+ "type": "string",
913
+ "minLength": 1,
914
+ "maxLength": 256
915
+ }
916
+ },
917
+ "metrics": {
918
+ "minItems": 1,
919
+ "maxItems": 32,
920
+ "type": "array",
921
+ "items": {
922
+ "type": "object",
923
+ "properties": {
924
+ "alias": {
925
+ "type": "string",
926
+ "minLength": 1,
927
+ "maxLength": 256
928
+ },
929
+ "fn": {
930
+ "type": "string",
931
+ "enum": [
932
+ "count",
933
+ "sum",
934
+ "avg",
935
+ "min",
936
+ "max",
937
+ "distinct_count",
938
+ "ratio"
939
+ ]
940
+ },
941
+ "fieldKey": {
942
+ "type": "string",
943
+ "minLength": 1,
944
+ "maxLength": 256
945
+ }
946
+ },
947
+ "required": [
948
+ "alias",
949
+ "fn"
950
+ ],
951
+ "additionalProperties": false
952
+ }
953
+ },
954
+ "orderBy": {
955
+ "maxItems": 16,
956
+ "type": "array",
957
+ "items": {
958
+ "type": "object",
959
+ "properties": {
960
+ "field": {
961
+ "type": "string",
962
+ "minLength": 1,
963
+ "maxLength": 256
964
+ },
965
+ "kind": {
966
+ "default": "builtin",
967
+ "type": "string",
968
+ "enum": [
969
+ "builtin",
970
+ "feature"
971
+ ]
972
+ },
973
+ "direction": {
974
+ "default": "desc",
975
+ "type": "string",
976
+ "enum": [
977
+ "asc",
978
+ "desc"
979
+ ]
980
+ },
981
+ "nulls": {
982
+ "type": "string",
983
+ "enum": [
984
+ "first",
985
+ "last"
986
+ ]
987
+ }
988
+ },
989
+ "required": [
990
+ "field",
991
+ "kind",
992
+ "direction"
993
+ ],
994
+ "additionalProperties": false
995
+ }
996
+ },
997
+ "limit": {
998
+ "type": "integer",
999
+ "minimum": 1,
1000
+ "maximum": 1000
1001
+ }
1002
+ },
1003
+ "required": [
1004
+ "kind",
1005
+ "from",
1006
+ "metrics"
1007
+ ],
1008
+ "additionalProperties": false
1009
+ },
1010
+ {
1011
+ "type": "object",
1012
+ "properties": {
1013
+ "kind": {
1014
+ "type": "string",
1015
+ "const": "graph"
1016
+ },
1017
+ "from": {
1018
+ "type": "object",
1019
+ "properties": {
1020
+ "source": {
1021
+ "default": "ontology",
1022
+ "type": "string",
1023
+ "enum": [
1024
+ "ontology",
1025
+ "workflow-outputs",
1026
+ "telemetry"
1027
+ ]
1028
+ },
1029
+ "ontologyId": {
1030
+ "type": "string",
1031
+ "minLength": 1,
1032
+ "maxLength": 256
1033
+ },
1034
+ "workflowId": {
1035
+ "type": "string",
1036
+ "minLength": 1,
1037
+ "maxLength": 256
1038
+ },
1039
+ "includeSharedSlices": {
1040
+ "type": "boolean"
1041
+ }
1042
+ },
1043
+ "required": [
1044
+ "source",
1045
+ "ontologyId"
1046
+ ],
1047
+ "additionalProperties": false
1048
+ },
1049
+ "where": {
1050
+ "$ref": "#/$defs/__schema0"
1051
+ },
1052
+ "graph": {
1053
+ "type": "object",
1054
+ "properties": {
1055
+ "graphKind": {
1056
+ "type": "string",
1057
+ "enum": [
1058
+ "schema",
1059
+ "cooccurrence",
1060
+ "bipartite-cosine",
1061
+ "focus-star",
1062
+ "ontology-relation",
1063
+ "record-clustering",
1064
+ "field-tag-hub"
1065
+ ]
1066
+ },
1067
+ "maxHops": {
1068
+ "default": 2,
1069
+ "type": "integer",
1070
+ "minimum": 1,
1071
+ "maximum": 6
1072
+ },
1073
+ "nodeLabelField": {
1074
+ "type": "string",
1075
+ "minLength": 1,
1076
+ "maxLength": 256
1077
+ },
1078
+ "edgeRelationFields": {
1079
+ "maxItems": 32,
1080
+ "type": "array",
1081
+ "items": {
1082
+ "type": "string",
1083
+ "minLength": 1,
1084
+ "maxLength": 256
1085
+ }
1086
+ }
1087
+ },
1088
+ "required": [
1089
+ "graphKind",
1090
+ "maxHops"
1091
+ ],
1092
+ "additionalProperties": false
1093
+ },
1094
+ "limit": {
1095
+ "type": "integer",
1096
+ "minimum": 1,
1097
+ "maximum": 5000
1098
+ }
1099
+ },
1100
+ "required": [
1101
+ "kind",
1102
+ "from",
1103
+ "graph"
1104
+ ],
1105
+ "additionalProperties": false
1106
+ },
1107
+ {
1108
+ "type": "object",
1109
+ "properties": {
1110
+ "kind": {
1111
+ "type": "string",
1112
+ "enum": [
1113
+ "insert",
1114
+ "update",
1115
+ "delete"
1116
+ ]
1117
+ },
1118
+ "ontologyId": {
1119
+ "type": "string",
1120
+ "minLength": 1,
1121
+ "maxLength": 256
1122
+ },
1123
+ "values": {
1124
+ "type": "object",
1125
+ "propertyNames": {
1126
+ "type": "string"
1127
+ },
1128
+ "additionalProperties": {
1129
+ "$ref": "#/$defs/__schema1"
1130
+ }
1131
+ },
1132
+ "where": {
1133
+ "$ref": "#/$defs/__schema0"
1134
+ }
1135
+ },
1136
+ "required": [
1137
+ "kind",
1138
+ "ontologyId"
1139
+ ],
1140
+ "additionalProperties": false
1141
+ },
1142
+ {
1143
+ "type": "object",
1144
+ "properties": {
1145
+ "kind": {
1146
+ "type": "string",
1147
+ "const": "call"
1148
+ },
1149
+ "workflowId": {
1150
+ "type": "string",
1151
+ "minLength": 1,
1152
+ "maxLength": 256
1153
+ },
1154
+ "pageType": {
1155
+ "default": "preview",
1156
+ "type": "string",
1157
+ "enum": [
1158
+ "preview",
1159
+ "process",
1160
+ "log",
1161
+ "chat",
1162
+ "api"
1163
+ ]
1164
+ },
1165
+ "inputMapping": {
1166
+ "type": "object",
1167
+ "propertyNames": {
1168
+ "type": "string"
1169
+ },
1170
+ "additionalProperties": {
1171
+ "$ref": "#/$defs/__schema1"
1172
+ }
1173
+ },
1174
+ "outputStrategy": {
1175
+ "type": "string",
1176
+ "enum": [
1177
+ "default-result-ontology",
1178
+ "domain-ontology",
1179
+ "ledger-only",
1180
+ "column-writeback"
1181
+ ]
1182
+ }
1183
+ },
1184
+ "required": [
1185
+ "kind",
1186
+ "workflowId",
1187
+ "pageType"
1188
+ ],
1189
+ "additionalProperties": false
1190
+ }
1191
+ ]
1192
+ },
1193
+ {
1194
+ "type": "object",
1195
+ "properties": {
1196
+ "kind": {
1197
+ "type": "string",
1198
+ "const": "statement"
1199
+ },
1200
+ "statementId": {
1201
+ "type": "string",
1202
+ "minLength": 1,
1203
+ "maxLength": 256
1204
+ }
1205
+ },
1206
+ "required": [
1207
+ "kind",
1208
+ "statementId"
1209
+ ],
1210
+ "additionalProperties": false
1211
+ },
1212
+ {
1213
+ "type": "object",
1214
+ "properties": {
1215
+ "kind": {
1216
+ "type": "string",
1217
+ "const": "ontology-record"
1218
+ },
1219
+ "ontologyId": {
1220
+ "type": "string",
1221
+ "minLength": 1,
1222
+ "maxLength": 256
1223
+ },
1224
+ "recordId": {
1225
+ "type": "string",
1226
+ "minLength": 1,
1227
+ "maxLength": 256
1228
+ },
1229
+ "includeRelations": {
1230
+ "type": "boolean"
1231
+ }
1232
+ },
1233
+ "required": [
1234
+ "kind",
1235
+ "ontologyId",
1236
+ "recordId"
1237
+ ],
1238
+ "additionalProperties": false
1239
+ },
1240
+ {
1241
+ "type": "object",
1242
+ "properties": {
1243
+ "kind": {
1244
+ "type": "string",
1245
+ "const": "ontology-view"
1246
+ },
1247
+ "viewId": {
1248
+ "type": "string",
1249
+ "minLength": 1,
1250
+ "maxLength": 256
1251
+ }
1252
+ },
1253
+ "required": [
1254
+ "kind",
1255
+ "viewId"
1256
+ ],
1257
+ "additionalProperties": false
1258
+ },
1259
+ {
1260
+ "type": "object",
1261
+ "properties": {
1262
+ "kind": {
1263
+ "type": "string",
1264
+ "const": "self-managed"
1265
+ }
1266
+ },
1267
+ "required": [
1268
+ "kind"
1269
+ ],
1270
+ "additionalProperties": false
1271
+ }
1272
+ ]
1273
+ },
1274
+ "module": {
1275
+ "type": "object",
1276
+ "properties": {
1277
+ "id": {
1278
+ "type": "string",
1279
+ "minLength": 1,
1280
+ "maxLength": 256
1281
+ },
1282
+ "granularity": {
1283
+ "default": "atomic",
1284
+ "type": "string",
1285
+ "enum": [
1286
+ "atomic",
1287
+ "macro"
1288
+ ]
1289
+ },
1290
+ "title": {
1291
+ "anyOf": [
1292
+ {
1293
+ "type": "string",
1294
+ "minLength": 1
1295
+ },
1296
+ {
1297
+ "type": "object",
1298
+ "propertyNames": {
1299
+ "type": "string",
1300
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
1301
+ },
1302
+ "additionalProperties": {
1303
+ "type": "string",
1304
+ "minLength": 1
1305
+ }
1306
+ }
1307
+ ]
1308
+ },
1309
+ "props": {
1310
+ "type": "object",
1311
+ "propertyNames": {
1312
+ "type": "string"
1313
+ },
1314
+ "additionalProperties": {
1315
+ "$ref": "#/$defs/__schema1"
1316
+ }
1317
+ }
1318
+ },
1319
+ "required": [
1320
+ "id",
1321
+ "granularity"
1322
+ ],
1323
+ "additionalProperties": false
1324
+ },
576
1325
  "dynamicLayout": {
577
1326
  "type": "object",
578
1327
  "properties": {
579
1328
  "visibleWhen": {
580
- "$ref": "#/$defs/__schema0"
1329
+ "$ref": "#/$defs/__schema2"
581
1330
  },
582
1331
  "columns": {
583
- "$ref": "#/$defs/__schema0"
1332
+ "$ref": "#/$defs/__schema2"
584
1333
  },
585
1334
  "gridTemplateColumns": {
586
- "$ref": "#/$defs/__schema0"
1335
+ "$ref": "#/$defs/__schema2"
587
1336
  },
588
1337
  "flex": {
589
- "$ref": "#/$defs/__schema0"
1338
+ "$ref": "#/$defs/__schema2"
590
1339
  },
591
1340
  "bentoSurface": {
592
- "$ref": "#/$defs/__schema0"
1341
+ "$ref": "#/$defs/__schema2"
593
1342
  }
594
1343
  },
595
1344
  "additionalProperties": false
@@ -1219,6 +1968,8 @@
1219
1968
  "block",
1220
1969
  "flex",
1221
1970
  "grid",
1971
+ "split",
1972
+ "tabs",
1222
1973
  "absolute"
1223
1974
  ]
1224
1975
  },
@@ -1234,6 +1985,16 @@
1234
1985
  "exclusiveMinimum": 0,
1235
1986
  "maximum": 9007199254740991
1236
1987
  },
1988
+ "rowHeight": {
1989
+ "type": "integer",
1990
+ "minimum": 12,
1991
+ "maximum": 200
1992
+ },
1993
+ "gap": {
1994
+ "type": "integer",
1995
+ "minimum": 0,
1996
+ "maximum": 64
1997
+ },
1237
1998
  "align": {
1238
1999
  "type": "string",
1239
2000
  "enum": [
@@ -2064,7 +2825,7 @@
2064
2825
  "type": "object",
2065
2826
  "properties": {
2066
2827
  "source": {
2067
- "$ref": "#/$defs/__schema0"
2828
+ "$ref": "#/$defs/__schema2"
2068
2829
  },
2069
2830
  "keyPath": {
2070
2831
  "minItems": 1,
@@ -2216,6 +2977,319 @@
2216
2977
  "additionalProperties": false,
2217
2978
  "$defs": {
2218
2979
  "__schema0": {
2980
+ "anyOf": [
2981
+ {
2982
+ "type": "object",
2983
+ "properties": {
2984
+ "op": {
2985
+ "type": "string",
2986
+ "enum": [
2987
+ "and",
2988
+ "or",
2989
+ "not"
2990
+ ]
2991
+ },
2992
+ "filters": {
2993
+ "minItems": 1,
2994
+ "maxItems": 64,
2995
+ "type": "array",
2996
+ "items": {
2997
+ "$ref": "#/$defs/__schema0"
2998
+ }
2999
+ }
3000
+ },
3001
+ "required": [
3002
+ "op",
3003
+ "filters"
3004
+ ],
3005
+ "additionalProperties": false
3006
+ },
3007
+ {
3008
+ "type": "object",
3009
+ "properties": {
3010
+ "op": {
3011
+ "type": "string",
3012
+ "const": "field"
3013
+ },
3014
+ "field": {
3015
+ "type": "string",
3016
+ "enum": [
3017
+ "id",
3018
+ "name",
3019
+ "status",
3020
+ "assetType",
3021
+ "creatorUserId",
3022
+ "ontologyId",
3023
+ "teamId"
3024
+ ]
3025
+ },
3026
+ "cmp": {
3027
+ "type": "string",
3028
+ "enum": [
3029
+ "eq",
3030
+ "in",
3031
+ "contains",
3032
+ "not_contains"
3033
+ ]
3034
+ },
3035
+ "value": {
3036
+ "anyOf": [
3037
+ {
3038
+ "type": "string",
3039
+ "minLength": 1
3040
+ },
3041
+ {
3042
+ "minItems": 1,
3043
+ "maxItems": 500,
3044
+ "type": "array",
3045
+ "items": {
3046
+ "type": "string",
3047
+ "minLength": 1
3048
+ }
3049
+ }
3050
+ ]
3051
+ }
3052
+ },
3053
+ "required": [
3054
+ "op",
3055
+ "field",
3056
+ "value"
3057
+ ],
3058
+ "additionalProperties": false
3059
+ },
3060
+ {
3061
+ "type": "object",
3062
+ "properties": {
3063
+ "op": {
3064
+ "type": "string",
3065
+ "const": "tagGroup"
3066
+ },
3067
+ "allOf": {
3068
+ "minItems": 1,
3069
+ "maxItems": 32,
3070
+ "type": "array",
3071
+ "items": {
3072
+ "type": "string",
3073
+ "minLength": 1,
3074
+ "maxLength": 256
3075
+ }
3076
+ }
3077
+ },
3078
+ "required": [
3079
+ "op",
3080
+ "allOf"
3081
+ ],
3082
+ "additionalProperties": false
3083
+ },
3084
+ {
3085
+ "type": "object",
3086
+ "properties": {
3087
+ "op": {
3088
+ "type": "string",
3089
+ "const": "tags"
3090
+ },
3091
+ "allOf": {
3092
+ "maxItems": 64,
3093
+ "type": "array",
3094
+ "items": {
3095
+ "type": "string",
3096
+ "minLength": 1,
3097
+ "maxLength": 256
3098
+ }
3099
+ },
3100
+ "anyOf": {
3101
+ "maxItems": 32,
3102
+ "type": "array",
3103
+ "items": {
3104
+ "minItems": 1,
3105
+ "maxItems": 32,
3106
+ "type": "array",
3107
+ "items": {
3108
+ "type": "string",
3109
+ "minLength": 1,
3110
+ "maxLength": 256
3111
+ }
3112
+ }
3113
+ },
3114
+ "noneOf": {
3115
+ "maxItems": 64,
3116
+ "type": "array",
3117
+ "items": {
3118
+ "type": "string",
3119
+ "minLength": 1,
3120
+ "maxLength": 256
3121
+ }
3122
+ }
3123
+ },
3124
+ "required": [
3125
+ "op"
3126
+ ],
3127
+ "additionalProperties": false
3128
+ },
3129
+ {
3130
+ "type": "object",
3131
+ "properties": {
3132
+ "op": {
3133
+ "type": "string",
3134
+ "const": "feature"
3135
+ },
3136
+ "fieldKey": {
3137
+ "type": "string",
3138
+ "minLength": 1,
3139
+ "maxLength": 256
3140
+ },
3141
+ "cmp": {
3142
+ "type": "string",
3143
+ "enum": [
3144
+ "eq",
3145
+ "neq",
3146
+ "in",
3147
+ "not_in",
3148
+ "gt",
3149
+ "gte",
3150
+ "lt",
3151
+ "lte",
3152
+ "between",
3153
+ "contains",
3154
+ "is_empty"
3155
+ ]
3156
+ },
3157
+ "value": {
3158
+ "$ref": "#/$defs/__schema1"
3159
+ }
3160
+ },
3161
+ "required": [
3162
+ "op",
3163
+ "fieldKey"
3164
+ ],
3165
+ "additionalProperties": false
3166
+ },
3167
+ {
3168
+ "type": "object",
3169
+ "properties": {
3170
+ "op": {
3171
+ "type": "string",
3172
+ "const": "featureRelation"
3173
+ },
3174
+ "fieldKey": {
3175
+ "type": "string",
3176
+ "minLength": 1,
3177
+ "maxLength": 256
3178
+ },
3179
+ "cmp": {
3180
+ "type": "string",
3181
+ "enum": [
3182
+ "contains_any",
3183
+ "contains_all",
3184
+ "is_empty"
3185
+ ]
3186
+ },
3187
+ "targetOntologyId": {
3188
+ "type": "string",
3189
+ "minLength": 1,
3190
+ "maxLength": 256
3191
+ },
3192
+ "hops": {
3193
+ "type": "integer",
3194
+ "minimum": 1,
3195
+ "maximum": 6
3196
+ },
3197
+ "value": {
3198
+ "maxItems": 200,
3199
+ "type": "array",
3200
+ "items": {
3201
+ "type": "object",
3202
+ "properties": {
3203
+ "ontologyId": {
3204
+ "type": "string",
3205
+ "minLength": 1,
3206
+ "maxLength": 256
3207
+ },
3208
+ "assetId": {
3209
+ "type": "string",
3210
+ "minLength": 1,
3211
+ "maxLength": 256
3212
+ }
3213
+ },
3214
+ "required": [
3215
+ "ontologyId",
3216
+ "assetId"
3217
+ ],
3218
+ "additionalProperties": false
3219
+ }
3220
+ }
3221
+ },
3222
+ "required": [
3223
+ "op",
3224
+ "fieldKey"
3225
+ ],
3226
+ "additionalProperties": false
3227
+ },
3228
+ {
3229
+ "type": "object",
3230
+ "properties": {
3231
+ "op": {
3232
+ "type": "string",
3233
+ "const": "relation"
3234
+ },
3235
+ "relationKind": {
3236
+ "type": "string",
3237
+ "minLength": 1,
3238
+ "maxLength": 256
3239
+ },
3240
+ "objectKind": {
3241
+ "type": "string",
3242
+ "minLength": 1,
3243
+ "maxLength": 256
3244
+ },
3245
+ "objectId": {
3246
+ "type": "string",
3247
+ "minLength": 1,
3248
+ "maxLength": 256
3249
+ }
3250
+ },
3251
+ "required": [
3252
+ "op",
3253
+ "relationKind",
3254
+ "objectKind",
3255
+ "objectId"
3256
+ ],
3257
+ "additionalProperties": false
3258
+ }
3259
+ ]
3260
+ },
3261
+ "__schema1": {
3262
+ "anyOf": [
3263
+ {
3264
+ "type": "string"
3265
+ },
3266
+ {
3267
+ "type": "number"
3268
+ },
3269
+ {
3270
+ "type": "boolean"
3271
+ },
3272
+ {
3273
+ "type": "null"
3274
+ },
3275
+ {
3276
+ "type": "array",
3277
+ "items": {
3278
+ "$ref": "#/$defs/__schema1"
3279
+ }
3280
+ },
3281
+ {
3282
+ "type": "object",
3283
+ "propertyNames": {
3284
+ "type": "string"
3285
+ },
3286
+ "additionalProperties": {
3287
+ "$ref": "#/$defs/__schema1"
3288
+ }
3289
+ }
3290
+ ]
3291
+ },
3292
+ "__schema2": {
2219
3293
  "anyOf": [
2220
3294
  {
2221
3295
  "type": "object",
@@ -2322,7 +3396,7 @@
2322
3396
  "maxItems": 32,
2323
3397
  "type": "array",
2324
3398
  "items": {
2325
- "$ref": "#/$defs/__schema0"
3399
+ "$ref": "#/$defs/__schema2"
2326
3400
  }
2327
3401
  }
2328
3402
  },
@@ -2341,13 +3415,13 @@
2341
3415
  "const": "conditional"
2342
3416
  },
2343
3417
  "condition": {
2344
- "$ref": "#/$defs/__schema0"
3418
+ "$ref": "#/$defs/__schema2"
2345
3419
  },
2346
3420
  "then": {
2347
- "$ref": "#/$defs/__schema0"
3421
+ "$ref": "#/$defs/__schema2"
2348
3422
  },
2349
3423
  "else": {
2350
- "$ref": "#/$defs/__schema0"
3424
+ "$ref": "#/$defs/__schema2"
2351
3425
  }
2352
3426
  },
2353
3427
  "required": [
@@ -2373,7 +3447,7 @@
2373
3447
  "maxLength": 256
2374
3448
  },
2375
3449
  "additionalProperties": {
2376
- "$ref": "#/$defs/__schema0"
3450
+ "$ref": "#/$defs/__schema2"
2377
3451
  }
2378
3452
  }
2379
3453
  },
@@ -2394,7 +3468,7 @@
2394
3468
  "maxItems": 1000,
2395
3469
  "type": "array",
2396
3470
  "items": {
2397
- "$ref": "#/$defs/__schema0"
3471
+ "$ref": "#/$defs/__schema2"
2398
3472
  }
2399
3473
  }
2400
3474
  },
@@ -2412,10 +3486,10 @@
2412
3486
  "const": "map"
2413
3487
  },
2414
3488
  "source": {
2415
- "$ref": "#/$defs/__schema0"
3489
+ "$ref": "#/$defs/__schema2"
2416
3490
  },
2417
3491
  "value": {
2418
- "$ref": "#/$defs/__schema0"
3492
+ "$ref": "#/$defs/__schema2"
2419
3493
  }
2420
3494
  },
2421
3495
  "required": [
@@ -2433,10 +3507,10 @@
2433
3507
  "const": "filter"
2434
3508
  },
2435
3509
  "source": {
2436
- "$ref": "#/$defs/__schema0"
3510
+ "$ref": "#/$defs/__schema2"
2437
3511
  },
2438
3512
  "value": {
2439
- "$ref": "#/$defs/__schema0"
3513
+ "$ref": "#/$defs/__schema2"
2440
3514
  }
2441
3515
  },
2442
3516
  "required": [
@@ -2454,10 +3528,10 @@
2454
3528
  "const": "sum"
2455
3529
  },
2456
3530
  "source": {
2457
- "$ref": "#/$defs/__schema0"
3531
+ "$ref": "#/$defs/__schema2"
2458
3532
  },
2459
3533
  "value": {
2460
- "$ref": "#/$defs/__schema0"
3534
+ "$ref": "#/$defs/__schema2"
2461
3535
  }
2462
3536
  },
2463
3537
  "required": [
@@ -2468,37 +3542,6 @@
2468
3542
  "additionalProperties": false
2469
3543
  }
2470
3544
  ]
2471
- },
2472
- "__schema1": {
2473
- "anyOf": [
2474
- {
2475
- "type": "string"
2476
- },
2477
- {
2478
- "type": "number"
2479
- },
2480
- {
2481
- "type": "boolean"
2482
- },
2483
- {
2484
- "type": "null"
2485
- },
2486
- {
2487
- "type": "array",
2488
- "items": {
2489
- "$ref": "#/$defs/__schema1"
2490
- }
2491
- },
2492
- {
2493
- "type": "object",
2494
- "propertyNames": {
2495
- "type": "string"
2496
- },
2497
- "additionalProperties": {
2498
- "$ref": "#/$defs/__schema1"
2499
- }
2500
- }
2501
- ]
2502
3545
  }
2503
3546
  },
2504
3547
  "$id": "https://schemas.infmonkeys.com/contracts/overlay-node.schema.json",