@inf-monkeys-tech/monkeys 1.1.62 → 1.1.64

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/lib/contracts/bento-block.d.ts +491 -0
  2. package/lib/contracts/bento-block.d.ts.map +1 -1
  3. package/lib/contracts/bento-block.js +158 -12
  4. package/lib/contracts/bento-block.js.map +1 -1
  5. package/lib/contracts/declarative-control-http.d.ts +6735 -279
  6. package/lib/contracts/declarative-control-http.d.ts.map +1 -1
  7. package/lib/contracts/declarative-control.d.ts +563 -19
  8. package/lib/contracts/declarative-control.d.ts.map +1 -1
  9. package/lib/contracts/declarative-publication-job.d.ts +1408 -72
  10. package/lib/contracts/declarative-publication-job.d.ts.map +1 -1
  11. package/lib/contracts/page.d.ts +1 -1
  12. package/lib/contracts/render.d.ts +413 -28
  13. package/lib/contracts/render.d.ts.map +1 -1
  14. package/lib/contracts/render.js +65 -5
  15. package/lib/contracts/render.js.map +1 -1
  16. package/lib/contracts/tenant.d.ts +7 -7
  17. package/lib/contracts/unified-view.d.ts +87 -0
  18. package/lib/contracts/unified-view.d.ts.map +1 -1
  19. package/lib/contracts/workflow-column.d.ts +2 -2
  20. package/lib/esm/{chunk-UPCRRS4I.mjs → chunk-AOAJSAI7.mjs} +2 -2
  21. package/lib/esm/chunk-AOAJSAI7.mjs.map +1 -0
  22. package/lib/esm/{chunk-EFVODA3P.mjs → chunk-BFGFPBEU.mjs} +187 -15
  23. package/lib/esm/chunk-BFGFPBEU.mjs.map +1 -0
  24. package/lib/esm/{chunk-MAZ3HUFS.mjs → chunk-E6UOE6OP.mjs} +181 -4
  25. package/lib/esm/chunk-E6UOE6OP.mjs.map +1 -0
  26. package/lib/esm/{chunk-RWTW74VC.mjs → chunk-WC65QK2H.mjs} +2 -2
  27. package/lib/esm/contracts/index.mjs +28 -2
  28. package/lib/esm/index.mjs +34 -4
  29. package/lib/esm/index.mjs.map +1 -1
  30. package/lib/esm/runtime/index.mjs +7 -3
  31. package/lib/esm/schemas/index.mjs +26 -2
  32. package/lib/json-schema/bento-node.schema.json +425 -1
  33. package/lib/json-schema/overlay-node.schema.json +1514 -49
  34. package/lib/json-schema/page-runtime-bundle.schema.json +2837 -547
  35. package/lib/json-schema/page.schema.json +24 -0
  36. package/lib/json-schema/render-node.schema.json +2077 -612
  37. package/lib/json-schema/render-tree.schema.json +2752 -462
  38. package/lib/json-schema/view-ontology-record.schema.json +722 -2
  39. package/lib/runtime/bento-render-tree.d.ts +22 -0
  40. package/lib/runtime/bento-render-tree.d.ts.map +1 -0
  41. package/lib/runtime/bento-render-tree.js +197 -0
  42. package/lib/runtime/bento-render-tree.js.map +1 -0
  43. package/lib/runtime/index.d.ts +1 -0
  44. package/lib/runtime/index.d.ts.map +1 -1
  45. package/lib/runtime/index.js +1 -0
  46. package/lib/runtime/index.js.map +1 -1
  47. package/lib/runtime/runtime-definition-wire.d.ts +704 -36
  48. package/lib/runtime/runtime-definition-wire.d.ts.map +1 -1
  49. package/lib/schemas/index.d.ts +1670 -3027
  50. package/lib/schemas/index.d.ts.map +1 -1
  51. package/lib/schemas/index.js +16 -3
  52. package/lib/schemas/index.js.map +1 -1
  53. package/package.json +2 -2
  54. package/lib/esm/chunk-EFVODA3P.mjs.map +0 -1
  55. package/lib/esm/chunk-MAZ3HUFS.mjs.map +0 -1
  56. package/lib/esm/chunk-UPCRRS4I.mjs.map +0 -1
  57. /package/lib/esm/{chunk-RWTW74VC.mjs.map → chunk-WC65QK2H.mjs.map} +0 -0
@@ -3557,568 +3557,2564 @@
3557
3557
  "minLength": 1,
3558
3558
  "maxLength": 256
3559
3559
  },
3560
- "nodes": {
3561
- "minItems": 1,
3562
- "type": "array",
3563
- "items": {
3564
- "type": "object",
3565
- "properties": {
3566
- "contract": {
3567
- "type": "string",
3568
- "const": "RenderNode"
3569
- },
3570
- "nodeId": {
3571
- "type": "string",
3572
- "minLength": 1,
3573
- "maxLength": 256
3574
- },
3575
- "kind": {
3576
- "type": "string",
3577
- "enum": [
3578
- "shell",
3579
- "page",
3580
- "navigation",
3581
- "view",
3582
- "record",
3583
- "control",
3584
- "detail",
3585
- "action",
3586
- "overlay",
3587
- "professional-provider"
3588
- ]
3589
- },
3590
- "version": {
3591
- "type": "integer",
3592
- "exclusiveMinimum": 0,
3593
- "maximum": 9007199254740991
3594
- },
3595
- "ownerRepo": {
3596
- "type": "string",
3597
- "minLength": 1,
3598
- "maxLength": 256
3599
- },
3600
- "parentNodeId": {
3601
- "type": "string",
3602
- "minLength": 1,
3603
- "maxLength": 256
3604
- },
3605
- "children": {
3606
- "type": "array",
3607
- "items": {
3608
- "type": "string",
3609
- "minLength": 1,
3610
- "maxLength": 256
3611
- }
3612
- },
3613
- "slot": {
3560
+ "data": {
3561
+ "type": "object",
3562
+ "properties": {
3563
+ "statements": {
3564
+ "type": "object",
3565
+ "propertyNames": {
3614
3566
  "type": "string",
3615
3567
  "minLength": 1,
3616
3568
  "maxLength": 256
3617
3569
  },
3618
- "pageRef": {
3619
- "type": "object",
3620
- "properties": {
3621
- "kind": {
3622
- "type": "string",
3623
- "minLength": 1,
3624
- "maxLength": 256
3625
- },
3626
- "id": {
3627
- "type": "string",
3628
- "minLength": 1,
3629
- "maxLength": 256
3630
- },
3631
- "version": {
3632
- "anyOf": [
3633
- {
3634
- "type": "integer",
3635
- "exclusiveMinimum": 0,
3636
- "maximum": 9007199254740991
3637
- },
3638
- {
3570
+ "additionalProperties": {
3571
+ "anyOf": [
3572
+ {
3573
+ "type": "object",
3574
+ "properties": {
3575
+ "kind": {
3639
3576
  "type": "string",
3640
- "minLength": 1
3641
- }
3642
- ]
3643
- },
3644
- "ownerRepo": {
3645
- "type": "string",
3646
- "minLength": 1,
3647
- "maxLength": 256
3648
- }
3649
- },
3650
- "required": [
3651
- "kind",
3652
- "id"
3653
- ],
3654
- "additionalProperties": false
3655
- },
3656
- "semanticRef": {
3657
- "type": "object",
3658
- "properties": {
3659
- "kind": {
3660
- "type": "string",
3661
- "minLength": 1,
3662
- "maxLength": 256
3663
- },
3664
- "id": {
3665
- "type": "string",
3666
- "minLength": 1,
3667
- "maxLength": 256
3668
- },
3669
- "version": {
3670
- "anyOf": [
3671
- {
3672
- "type": "integer",
3673
- "exclusiveMinimum": 0,
3674
- "maximum": 9007199254740991
3577
+ "const": "select"
3675
3578
  },
3676
- {
3677
- "type": "string",
3678
- "minLength": 1
3579
+ "from": {
3580
+ "type": "object",
3581
+ "properties": {
3582
+ "source": {
3583
+ "default": "ontology",
3584
+ "type": "string",
3585
+ "enum": [
3586
+ "ontology",
3587
+ "workflow-outputs",
3588
+ "telemetry"
3589
+ ]
3590
+ },
3591
+ "ontologyId": {
3592
+ "type": "string",
3593
+ "minLength": 1,
3594
+ "maxLength": 256
3595
+ },
3596
+ "workflowId": {
3597
+ "type": "string",
3598
+ "minLength": 1,
3599
+ "maxLength": 256
3600
+ },
3601
+ "includeSharedSlices": {
3602
+ "type": "boolean"
3603
+ }
3604
+ },
3605
+ "required": [
3606
+ "source",
3607
+ "ontologyId"
3608
+ ],
3609
+ "additionalProperties": false
3610
+ },
3611
+ "select": {
3612
+ "type": "object",
3613
+ "properties": {
3614
+ "baseColumns": {
3615
+ "maxItems": 64,
3616
+ "type": "array",
3617
+ "items": {
3618
+ "type": "string",
3619
+ "minLength": 1,
3620
+ "maxLength": 256
3621
+ }
3622
+ },
3623
+ "propertyColumns": {
3624
+ "maxItems": 128,
3625
+ "type": "array",
3626
+ "items": {
3627
+ "type": "string",
3628
+ "minLength": 1,
3629
+ "maxLength": 256
3630
+ }
3631
+ },
3632
+ "featureColumns": {
3633
+ "maxItems": 256,
3634
+ "type": "array",
3635
+ "items": {
3636
+ "type": "string",
3637
+ "minLength": 1,
3638
+ "maxLength": 256
3639
+ }
3640
+ },
3641
+ "tagGroupColumns": {
3642
+ "maxItems": 128,
3643
+ "type": "array",
3644
+ "items": {
3645
+ "type": "string",
3646
+ "minLength": 1,
3647
+ "maxLength": 256
3648
+ }
3649
+ },
3650
+ "columnOrder": {
3651
+ "maxItems": 512,
3652
+ "type": "array",
3653
+ "items": {
3654
+ "type": "string",
3655
+ "minLength": 1,
3656
+ "maxLength": 256
3657
+ }
3658
+ }
3659
+ },
3660
+ "additionalProperties": false
3661
+ },
3662
+ "where": {
3663
+ "$ref": "#/$defs/__schema2"
3664
+ },
3665
+ "orderBy": {
3666
+ "maxItems": 16,
3667
+ "type": "array",
3668
+ "items": {
3669
+ "type": "object",
3670
+ "properties": {
3671
+ "field": {
3672
+ "type": "string",
3673
+ "minLength": 1,
3674
+ "maxLength": 256
3675
+ },
3676
+ "kind": {
3677
+ "default": "builtin",
3678
+ "type": "string",
3679
+ "enum": [
3680
+ "builtin",
3681
+ "feature"
3682
+ ]
3683
+ },
3684
+ "direction": {
3685
+ "default": "desc",
3686
+ "type": "string",
3687
+ "enum": [
3688
+ "asc",
3689
+ "desc"
3690
+ ]
3691
+ },
3692
+ "nulls": {
3693
+ "type": "string",
3694
+ "enum": [
3695
+ "first",
3696
+ "last"
3697
+ ]
3698
+ }
3699
+ },
3700
+ "required": [
3701
+ "field",
3702
+ "kind",
3703
+ "direction"
3704
+ ],
3705
+ "additionalProperties": false
3706
+ }
3707
+ },
3708
+ "limit": {
3709
+ "type": "integer",
3710
+ "minimum": 1,
3711
+ "maximum": 1000
3679
3712
  }
3680
- ]
3681
- },
3682
- "ownerRepo": {
3683
- "type": "string",
3684
- "minLength": 1,
3685
- "maxLength": 256
3686
- }
3687
- },
3688
- "required": [
3689
- "kind",
3690
- "id"
3691
- ],
3692
- "additionalProperties": false
3693
- },
3694
- "dataContextRef": {
3695
- "type": "object",
3696
- "properties": {
3697
- "kind": {
3698
- "type": "string",
3699
- "minLength": 1,
3700
- "maxLength": 256
3701
- },
3702
- "id": {
3703
- "type": "string",
3704
- "minLength": 1,
3705
- "maxLength": 256
3713
+ },
3714
+ "required": [
3715
+ "kind",
3716
+ "from"
3717
+ ],
3718
+ "additionalProperties": false
3706
3719
  },
3707
- "version": {
3708
- "anyOf": [
3709
- {
3710
- "type": "integer",
3711
- "exclusiveMinimum": 0,
3712
- "maximum": 9007199254740991
3720
+ {
3721
+ "type": "object",
3722
+ "properties": {
3723
+ "kind": {
3724
+ "type": "string",
3725
+ "const": "aggregate"
3726
+ },
3727
+ "from": {
3728
+ "type": "object",
3729
+ "properties": {
3730
+ "source": {
3731
+ "default": "ontology",
3732
+ "type": "string",
3733
+ "enum": [
3734
+ "ontology",
3735
+ "workflow-outputs",
3736
+ "telemetry"
3737
+ ]
3738
+ },
3739
+ "ontologyId": {
3740
+ "type": "string",
3741
+ "minLength": 1,
3742
+ "maxLength": 256
3743
+ },
3744
+ "workflowId": {
3745
+ "type": "string",
3746
+ "minLength": 1,
3747
+ "maxLength": 256
3748
+ },
3749
+ "includeSharedSlices": {
3750
+ "type": "boolean"
3751
+ }
3752
+ },
3753
+ "required": [
3754
+ "source",
3755
+ "ontologyId"
3756
+ ],
3757
+ "additionalProperties": false
3758
+ },
3759
+ "where": {
3760
+ "$ref": "#/$defs/__schema2"
3761
+ },
3762
+ "groupBy": {
3763
+ "maxItems": 16,
3764
+ "type": "array",
3765
+ "items": {
3766
+ "type": "string",
3767
+ "minLength": 1,
3768
+ "maxLength": 256
3769
+ }
3770
+ },
3771
+ "metrics": {
3772
+ "minItems": 1,
3773
+ "maxItems": 32,
3774
+ "type": "array",
3775
+ "items": {
3776
+ "type": "object",
3777
+ "properties": {
3778
+ "alias": {
3779
+ "type": "string",
3780
+ "minLength": 1,
3781
+ "maxLength": 256
3782
+ },
3783
+ "fn": {
3784
+ "type": "string",
3785
+ "enum": [
3786
+ "count",
3787
+ "sum",
3788
+ "avg",
3789
+ "min",
3790
+ "max",
3791
+ "distinct_count",
3792
+ "ratio",
3793
+ "count_distinct",
3794
+ "percentile",
3795
+ "trimmed_avg",
3796
+ "first_by",
3797
+ "last_by"
3798
+ ]
3799
+ },
3800
+ "fieldKey": {
3801
+ "type": "string",
3802
+ "minLength": 1,
3803
+ "maxLength": 256
3804
+ },
3805
+ "numeric": {
3806
+ "type": "boolean"
3807
+ },
3808
+ "percentile": {
3809
+ "type": "number",
3810
+ "minimum": 0,
3811
+ "maximum": 100
3812
+ },
3813
+ "trimTopPct": {
3814
+ "type": "number",
3815
+ "minimum": 0,
3816
+ "maximum": 100
3817
+ },
3818
+ "orderColumnId": {
3819
+ "type": "string",
3820
+ "minLength": 1,
3821
+ "maxLength": 256
3822
+ },
3823
+ "filter": {
3824
+ "$ref": "#/$defs/__schema2"
3825
+ }
3826
+ },
3827
+ "required": [
3828
+ "alias",
3829
+ "fn"
3830
+ ],
3831
+ "additionalProperties": false
3832
+ }
3833
+ },
3834
+ "orderBy": {
3835
+ "maxItems": 16,
3836
+ "type": "array",
3837
+ "items": {
3838
+ "type": "object",
3839
+ "properties": {
3840
+ "field": {
3841
+ "type": "string",
3842
+ "minLength": 1,
3843
+ "maxLength": 256
3844
+ },
3845
+ "kind": {
3846
+ "default": "builtin",
3847
+ "type": "string",
3848
+ "enum": [
3849
+ "builtin",
3850
+ "feature"
3851
+ ]
3852
+ },
3853
+ "direction": {
3854
+ "default": "desc",
3855
+ "type": "string",
3856
+ "enum": [
3857
+ "asc",
3858
+ "desc"
3859
+ ]
3860
+ },
3861
+ "nulls": {
3862
+ "type": "string",
3863
+ "enum": [
3864
+ "first",
3865
+ "last"
3866
+ ]
3867
+ }
3868
+ },
3869
+ "required": [
3870
+ "field",
3871
+ "kind",
3872
+ "direction"
3873
+ ],
3874
+ "additionalProperties": false
3875
+ }
3876
+ },
3877
+ "limit": {
3878
+ "type": "integer",
3879
+ "minimum": 1,
3880
+ "maximum": 1000
3881
+ },
3882
+ "engine": {
3883
+ "type": "string",
3884
+ "enum": [
3885
+ "auto",
3886
+ "canonical",
3887
+ "search"
3888
+ ]
3889
+ },
3890
+ "allTeams": {
3891
+ "type": "boolean"
3892
+ },
3893
+ "exact": {
3894
+ "type": "boolean"
3895
+ },
3896
+ "includeTotals": {
3897
+ "type": "boolean"
3898
+ },
3899
+ "timeBucket": {
3900
+ "type": "object",
3901
+ "properties": {
3902
+ "column": {
3903
+ "type": "string",
3904
+ "minLength": 1,
3905
+ "maxLength": 256
3906
+ },
3907
+ "granularity": {
3908
+ "type": "string",
3909
+ "enum": [
3910
+ "hour",
3911
+ "day",
3912
+ "week",
3913
+ "month",
3914
+ "quarter",
3915
+ "year"
3916
+ ]
3917
+ },
3918
+ "timezone": {
3919
+ "type": "string",
3920
+ "minLength": 1,
3921
+ "maxLength": 128
3922
+ },
3923
+ "fillGaps": {
3924
+ "type": "boolean"
3925
+ }
3926
+ },
3927
+ "required": [
3928
+ "column",
3929
+ "granularity"
3930
+ ],
3931
+ "additionalProperties": false
3932
+ },
3933
+ "joins": {
3934
+ "maxItems": 16,
3935
+ "type": "array",
3936
+ "items": {
3937
+ "type": "object",
3938
+ "properties": {
3939
+ "alias": {
3940
+ "type": "string",
3941
+ "minLength": 1,
3942
+ "maxLength": 256
3943
+ },
3944
+ "ontologyId": {
3945
+ "type": "string",
3946
+ "minLength": 1,
3947
+ "maxLength": 256
3948
+ },
3949
+ "assetType": {
3950
+ "type": "string",
3951
+ "minLength": 1,
3952
+ "maxLength": 256
3953
+ },
3954
+ "joinType": {
3955
+ "type": "string",
3956
+ "enum": [
3957
+ "inner",
3958
+ "left"
3959
+ ]
3960
+ },
3961
+ "viaRelation": {
3962
+ "type": "object",
3963
+ "properties": {
3964
+ "columnId": {
3965
+ "type": "string",
3966
+ "minLength": 1,
3967
+ "maxLength": 256
3968
+ },
3969
+ "direction": {
3970
+ "type": "string",
3971
+ "enum": [
3972
+ "outgoing",
3973
+ "incoming"
3974
+ ]
3975
+ }
3976
+ },
3977
+ "required": [
3978
+ "columnId",
3979
+ "direction"
3980
+ ],
3981
+ "additionalProperties": false
3982
+ },
3983
+ "onColumn": {
3984
+ "type": "object",
3985
+ "properties": {
3986
+ "localColumnId": {
3987
+ "type": "string",
3988
+ "minLength": 1,
3989
+ "maxLength": 256
3990
+ },
3991
+ "foreignColumnId": {
3992
+ "type": "string",
3993
+ "minLength": 1,
3994
+ "maxLength": 256
3995
+ },
3996
+ "foreignAssetId": {
3997
+ "type": "boolean"
3998
+ }
3999
+ },
4000
+ "required": [
4001
+ "localColumnId"
4002
+ ],
4003
+ "additionalProperties": false
4004
+ }
4005
+ },
4006
+ "required": [
4007
+ "alias",
4008
+ "ontologyId"
4009
+ ],
4010
+ "additionalProperties": false
4011
+ }
4012
+ },
4013
+ "hierarchyScopes": {
4014
+ "maxItems": 16,
4015
+ "type": "array",
4016
+ "items": {
4017
+ "type": "object",
4018
+ "properties": {
4019
+ "targetAlias": {
4020
+ "type": "string",
4021
+ "minLength": 1,
4022
+ "maxLength": 256
4023
+ },
4024
+ "localColumnId": {
4025
+ "type": "string",
4026
+ "minLength": 1,
4027
+ "maxLength": 256
4028
+ },
4029
+ "ontologyId": {
4030
+ "type": "string",
4031
+ "minLength": 1,
4032
+ "maxLength": 256
4033
+ },
4034
+ "relationColumnId": {
4035
+ "type": "string",
4036
+ "minLength": 1,
4037
+ "maxLength": 256
4038
+ },
4039
+ "direction": {
4040
+ "type": "string",
4041
+ "enum": [
4042
+ "incoming",
4043
+ "outgoing"
4044
+ ]
4045
+ },
4046
+ "seedIds": {
4047
+ "maxItems": 500,
4048
+ "type": "array",
4049
+ "items": {
4050
+ "type": "string",
4051
+ "minLength": 1,
4052
+ "maxLength": 256
4053
+ }
4054
+ },
4055
+ "maxDepth": {
4056
+ "type": "integer",
4057
+ "minimum": 0,
4058
+ "maximum": 32
4059
+ },
4060
+ "includeSelf": {
4061
+ "type": "boolean"
4062
+ }
4063
+ },
4064
+ "required": [
4065
+ "ontologyId",
4066
+ "relationColumnId",
4067
+ "direction",
4068
+ "seedIds"
4069
+ ],
4070
+ "additionalProperties": false
4071
+ }
4072
+ },
4073
+ "unwind": {
4074
+ "type": "object",
4075
+ "properties": {
4076
+ "columnId": {
4077
+ "type": "string",
4078
+ "minLength": 1,
4079
+ "maxLength": 256
4080
+ },
4081
+ "jsonPath": {
4082
+ "maxItems": 32,
4083
+ "type": "array",
4084
+ "items": {
4085
+ "type": "string",
4086
+ "minLength": 1,
4087
+ "maxLength": 256
4088
+ }
4089
+ },
4090
+ "preserveEmpty": {
4091
+ "type": "boolean"
4092
+ }
4093
+ },
4094
+ "required": [
4095
+ "columnId"
4096
+ ],
4097
+ "additionalProperties": false
4098
+ },
4099
+ "having": {
4100
+ "maxItems": 32,
4101
+ "type": "array",
4102
+ "items": {
4103
+ "type": "object",
4104
+ "properties": {
4105
+ "key": {
4106
+ "type": "string",
4107
+ "minLength": 1,
4108
+ "maxLength": 256
4109
+ },
4110
+ "op": {
4111
+ "type": "string",
4112
+ "enum": [
4113
+ "eq",
4114
+ "ne",
4115
+ "gt",
4116
+ "gte",
4117
+ "lt",
4118
+ "lte"
4119
+ ]
4120
+ },
4121
+ "value": {
4122
+ "type": "number"
4123
+ }
4124
+ },
4125
+ "required": [
4126
+ "key",
4127
+ "op",
4128
+ "value"
4129
+ ],
4130
+ "additionalProperties": false
4131
+ }
4132
+ },
4133
+ "pagination": {
4134
+ "type": "object",
4135
+ "properties": {
4136
+ "offset": {
4137
+ "type": "integer",
4138
+ "minimum": 0,
4139
+ "maximum": 9007199254740991
4140
+ },
4141
+ "limit": {
4142
+ "type": "integer",
4143
+ "minimum": 1,
4144
+ "maximum": 10000
4145
+ },
4146
+ "includeTotalGroups": {
4147
+ "type": "boolean"
4148
+ }
4149
+ },
4150
+ "additionalProperties": false
4151
+ }
4152
+ },
4153
+ "required": [
4154
+ "kind",
4155
+ "from",
4156
+ "metrics"
4157
+ ],
4158
+ "additionalProperties": false
4159
+ },
4160
+ {
4161
+ "type": "object",
4162
+ "properties": {
4163
+ "kind": {
4164
+ "type": "string",
4165
+ "const": "graph"
4166
+ },
4167
+ "from": {
4168
+ "type": "object",
4169
+ "properties": {
4170
+ "source": {
4171
+ "default": "ontology",
4172
+ "type": "string",
4173
+ "enum": [
4174
+ "ontology",
4175
+ "workflow-outputs",
4176
+ "telemetry"
4177
+ ]
4178
+ },
4179
+ "ontologyId": {
4180
+ "type": "string",
4181
+ "minLength": 1,
4182
+ "maxLength": 256
4183
+ },
4184
+ "workflowId": {
4185
+ "type": "string",
4186
+ "minLength": 1,
4187
+ "maxLength": 256
4188
+ },
4189
+ "includeSharedSlices": {
4190
+ "type": "boolean"
4191
+ }
4192
+ },
4193
+ "required": [
4194
+ "source",
4195
+ "ontologyId"
4196
+ ],
4197
+ "additionalProperties": false
4198
+ },
4199
+ "where": {
4200
+ "$ref": "#/$defs/__schema2"
4201
+ },
4202
+ "graph": {
4203
+ "type": "object",
4204
+ "properties": {
4205
+ "graphKind": {
4206
+ "type": "string",
4207
+ "enum": [
4208
+ "schema",
4209
+ "cooccurrence",
4210
+ "bipartite-cosine",
4211
+ "focus-star",
4212
+ "ontology-relation",
4213
+ "record-clustering",
4214
+ "field-tag-hub"
4215
+ ]
4216
+ },
4217
+ "maxHops": {
4218
+ "default": 2,
4219
+ "type": "integer",
4220
+ "minimum": 1,
4221
+ "maximum": 6
4222
+ },
4223
+ "nodeLabelField": {
4224
+ "type": "string",
4225
+ "minLength": 1,
4226
+ "maxLength": 256
4227
+ },
4228
+ "edgeRelationFields": {
4229
+ "maxItems": 32,
4230
+ "type": "array",
4231
+ "items": {
4232
+ "type": "string",
4233
+ "minLength": 1,
4234
+ "maxLength": 256
4235
+ }
4236
+ }
4237
+ },
4238
+ "required": [
4239
+ "graphKind",
4240
+ "maxHops"
4241
+ ],
4242
+ "additionalProperties": false
4243
+ },
4244
+ "limit": {
4245
+ "type": "integer",
4246
+ "minimum": 1,
4247
+ "maximum": 5000
4248
+ }
4249
+ },
4250
+ "required": [
4251
+ "kind",
4252
+ "from",
4253
+ "graph"
4254
+ ],
4255
+ "additionalProperties": false
4256
+ },
4257
+ {
4258
+ "type": "object",
4259
+ "properties": {
4260
+ "kind": {
4261
+ "type": "string",
4262
+ "enum": [
4263
+ "insert",
4264
+ "update",
4265
+ "delete"
4266
+ ]
4267
+ },
4268
+ "ontologyId": {
4269
+ "type": "string",
4270
+ "minLength": 1,
4271
+ "maxLength": 256
4272
+ },
4273
+ "values": {
4274
+ "type": "object",
4275
+ "propertyNames": {
4276
+ "type": "string"
4277
+ },
4278
+ "additionalProperties": {
4279
+ "$ref": "#/$defs/__schema0"
4280
+ }
4281
+ },
4282
+ "where": {
4283
+ "$ref": "#/$defs/__schema2"
4284
+ }
4285
+ },
4286
+ "required": [
4287
+ "kind",
4288
+ "ontologyId"
4289
+ ],
4290
+ "additionalProperties": false
4291
+ },
4292
+ {
4293
+ "type": "object",
4294
+ "properties": {
4295
+ "kind": {
4296
+ "type": "string",
4297
+ "const": "call"
4298
+ },
4299
+ "workflowId": {
4300
+ "type": "string",
4301
+ "minLength": 1,
4302
+ "maxLength": 256
4303
+ },
4304
+ "pageType": {
4305
+ "default": "preview",
4306
+ "type": "string",
4307
+ "enum": [
4308
+ "preview",
4309
+ "process",
4310
+ "log",
4311
+ "chat",
4312
+ "api"
4313
+ ]
4314
+ },
4315
+ "inputMapping": {
4316
+ "type": "object",
4317
+ "propertyNames": {
4318
+ "type": "string"
4319
+ },
4320
+ "additionalProperties": {
4321
+ "$ref": "#/$defs/__schema0"
4322
+ }
4323
+ },
4324
+ "outputStrategy": {
4325
+ "type": "string",
4326
+ "enum": [
4327
+ "default-result-ontology",
4328
+ "domain-ontology",
4329
+ "ledger-only",
4330
+ "column-writeback"
4331
+ ]
4332
+ }
4333
+ },
4334
+ "required": [
4335
+ "kind",
4336
+ "workflowId",
4337
+ "pageType"
4338
+ ],
4339
+ "additionalProperties": false
4340
+ }
4341
+ ]
4342
+ }
4343
+ },
4344
+ "parameters": {
4345
+ "type": "object",
4346
+ "propertyNames": {
4347
+ "type": "string",
4348
+ "minLength": 1,
4349
+ "maxLength": 256
4350
+ },
4351
+ "additionalProperties": {
4352
+ "$ref": "#/$defs/__schema0"
4353
+ }
4354
+ },
4355
+ "cache": {
4356
+ "type": "object",
4357
+ "properties": {
4358
+ "mode": {
4359
+ "default": "realtime",
4360
+ "type": "string",
4361
+ "enum": [
4362
+ "realtime",
4363
+ "cached",
4364
+ "stale-while-revalidate",
4365
+ "materialized"
4366
+ ]
4367
+ },
4368
+ "ttlSeconds": {
4369
+ "type": "integer",
4370
+ "minimum": 1,
4371
+ "maximum": 86400
4372
+ }
4373
+ },
4374
+ "required": [
4375
+ "mode"
4376
+ ],
4377
+ "additionalProperties": false
4378
+ }
4379
+ },
4380
+ "required": [
4381
+ "statements"
4382
+ ],
4383
+ "additionalProperties": false
4384
+ },
4385
+ "nodes": {
4386
+ "minItems": 1,
4387
+ "type": "array",
4388
+ "items": {
4389
+ "type": "object",
4390
+ "properties": {
4391
+ "contract": {
4392
+ "type": "string",
4393
+ "const": "RenderNode"
4394
+ },
4395
+ "nodeId": {
4396
+ "type": "string",
4397
+ "minLength": 1,
4398
+ "maxLength": 256
4399
+ },
4400
+ "kind": {
4401
+ "type": "string",
4402
+ "enum": [
4403
+ "shell",
4404
+ "page",
4405
+ "navigation",
4406
+ "view",
4407
+ "record",
4408
+ "control",
4409
+ "detail",
4410
+ "action",
4411
+ "overlay",
4412
+ "professional-provider"
4413
+ ]
4414
+ },
4415
+ "version": {
4416
+ "type": "integer",
4417
+ "exclusiveMinimum": 0,
4418
+ "maximum": 9007199254740991
4419
+ },
4420
+ "ownerRepo": {
4421
+ "type": "string",
4422
+ "minLength": 1,
4423
+ "maxLength": 256
4424
+ },
4425
+ "parentNodeId": {
4426
+ "type": "string",
4427
+ "minLength": 1,
4428
+ "maxLength": 256
4429
+ },
4430
+ "children": {
4431
+ "type": "array",
4432
+ "items": {
4433
+ "type": "string",
4434
+ "minLength": 1,
4435
+ "maxLength": 256
4436
+ }
4437
+ },
4438
+ "slot": {
4439
+ "type": "string",
4440
+ "minLength": 1,
4441
+ "maxLength": 256
4442
+ },
4443
+ "pageRef": {
4444
+ "type": "object",
4445
+ "properties": {
4446
+ "kind": {
4447
+ "type": "string",
4448
+ "minLength": 1,
4449
+ "maxLength": 256
4450
+ },
4451
+ "id": {
4452
+ "type": "string",
4453
+ "minLength": 1,
4454
+ "maxLength": 256
4455
+ },
4456
+ "version": {
4457
+ "anyOf": [
4458
+ {
4459
+ "type": "integer",
4460
+ "exclusiveMinimum": 0,
4461
+ "maximum": 9007199254740991
4462
+ },
4463
+ {
4464
+ "type": "string",
4465
+ "minLength": 1
4466
+ }
4467
+ ]
4468
+ },
4469
+ "ownerRepo": {
4470
+ "type": "string",
4471
+ "minLength": 1,
4472
+ "maxLength": 256
4473
+ }
4474
+ },
4475
+ "required": [
4476
+ "kind",
4477
+ "id"
4478
+ ],
4479
+ "additionalProperties": false
4480
+ },
4481
+ "semanticRef": {
4482
+ "type": "object",
4483
+ "properties": {
4484
+ "kind": {
4485
+ "type": "string",
4486
+ "minLength": 1,
4487
+ "maxLength": 256
4488
+ },
4489
+ "id": {
4490
+ "type": "string",
4491
+ "minLength": 1,
4492
+ "maxLength": 256
4493
+ },
4494
+ "version": {
4495
+ "anyOf": [
4496
+ {
4497
+ "type": "integer",
4498
+ "exclusiveMinimum": 0,
4499
+ "maximum": 9007199254740991
4500
+ },
4501
+ {
4502
+ "type": "string",
4503
+ "minLength": 1
4504
+ }
4505
+ ]
4506
+ },
4507
+ "ownerRepo": {
4508
+ "type": "string",
4509
+ "minLength": 1,
4510
+ "maxLength": 256
4511
+ }
4512
+ },
4513
+ "required": [
4514
+ "kind",
4515
+ "id"
4516
+ ],
4517
+ "additionalProperties": false
4518
+ },
4519
+ "dataContextRef": {
4520
+ "type": "object",
4521
+ "properties": {
4522
+ "kind": {
4523
+ "type": "string",
4524
+ "minLength": 1,
4525
+ "maxLength": 256
4526
+ },
4527
+ "id": {
4528
+ "type": "string",
4529
+ "minLength": 1,
4530
+ "maxLength": 256
4531
+ },
4532
+ "version": {
4533
+ "anyOf": [
4534
+ {
4535
+ "type": "integer",
4536
+ "exclusiveMinimum": 0,
4537
+ "maximum": 9007199254740991
4538
+ },
4539
+ {
4540
+ "type": "string",
4541
+ "minLength": 1
4542
+ }
4543
+ ]
4544
+ },
4545
+ "ownerRepo": {
4546
+ "type": "string",
4547
+ "minLength": 1,
4548
+ "maxLength": 256
4549
+ }
4550
+ },
4551
+ "required": [
4552
+ "kind",
4553
+ "id"
4554
+ ],
4555
+ "additionalProperties": false
4556
+ },
4557
+ "capabilityRef": {
4558
+ "type": "object",
4559
+ "properties": {
4560
+ "kind": {
4561
+ "type": "string",
4562
+ "minLength": 1,
4563
+ "maxLength": 256
4564
+ },
4565
+ "id": {
4566
+ "type": "string",
4567
+ "minLength": 1,
4568
+ "maxLength": 256
4569
+ },
4570
+ "version": {
4571
+ "anyOf": [
4572
+ {
4573
+ "type": "integer",
4574
+ "exclusiveMinimum": 0,
4575
+ "maximum": 9007199254740991
4576
+ },
4577
+ {
4578
+ "type": "string",
4579
+ "minLength": 1
4580
+ }
4581
+ ]
4582
+ },
4583
+ "ownerRepo": {
4584
+ "type": "string",
4585
+ "minLength": 1,
4586
+ "maxLength": 256
4587
+ }
4588
+ },
4589
+ "required": [
4590
+ "kind",
4591
+ "id"
4592
+ ],
4593
+ "additionalProperties": false
4594
+ },
4595
+ "runtimeContractVersion": {
4596
+ "type": "string",
4597
+ "minLength": 1,
4598
+ "maxLength": 256
4599
+ },
4600
+ "providerRef": {
4601
+ "type": "object",
4602
+ "properties": {
4603
+ "kind": {
4604
+ "type": "string",
4605
+ "minLength": 1,
4606
+ "maxLength": 256
4607
+ },
4608
+ "id": {
4609
+ "type": "string",
4610
+ "minLength": 1,
4611
+ "maxLength": 256
4612
+ },
4613
+ "version": {
4614
+ "anyOf": [
4615
+ {
4616
+ "type": "integer",
4617
+ "exclusiveMinimum": 0,
4618
+ "maximum": 9007199254740991
4619
+ },
4620
+ {
4621
+ "type": "string",
4622
+ "minLength": 1
4623
+ }
4624
+ ]
4625
+ },
4626
+ "ownerRepo": {
4627
+ "type": "string",
4628
+ "minLength": 1,
4629
+ "maxLength": 256
4630
+ }
4631
+ },
4632
+ "required": [
4633
+ "kind",
4634
+ "id"
4635
+ ],
4636
+ "additionalProperties": false
4637
+ },
4638
+ "stateRef": {
4639
+ "type": "object",
4640
+ "properties": {
4641
+ "kind": {
4642
+ "type": "string",
4643
+ "minLength": 1,
4644
+ "maxLength": 256
4645
+ },
4646
+ "id": {
4647
+ "type": "string",
4648
+ "minLength": 1,
4649
+ "maxLength": 256
4650
+ },
4651
+ "version": {
4652
+ "anyOf": [
4653
+ {
4654
+ "type": "integer",
4655
+ "exclusiveMinimum": 0,
4656
+ "maximum": 9007199254740991
4657
+ },
4658
+ {
4659
+ "type": "string",
4660
+ "minLength": 1
4661
+ }
4662
+ ]
4663
+ },
4664
+ "ownerRepo": {
4665
+ "type": "string",
4666
+ "minLength": 1,
4667
+ "maxLength": 256
4668
+ }
4669
+ },
4670
+ "required": [
4671
+ "kind",
4672
+ "id"
4673
+ ],
4674
+ "additionalProperties": false
4675
+ },
4676
+ "surface": {
4677
+ "type": "object",
4678
+ "properties": {
4679
+ "frameOwner": {
4680
+ "type": "string",
4681
+ "enum": [
4682
+ "host",
4683
+ "provider",
4684
+ "none"
4685
+ ]
4686
+ },
4687
+ "tone": {
4688
+ "type": "string",
4689
+ "minLength": 1,
4690
+ "maxLength": 256
4691
+ },
4692
+ "density": {
4693
+ "type": "string",
4694
+ "enum": [
4695
+ "compact",
4696
+ "default",
4697
+ "comfortable"
4698
+ ]
4699
+ },
4700
+ "bento": {
4701
+ "type": "object",
4702
+ "properties": {
4703
+ "chrome": {
4704
+ "type": "string",
4705
+ "enum": [
4706
+ "panel",
4707
+ "plain"
4708
+ ]
4709
+ },
4710
+ "fill": {
4711
+ "type": "boolean"
4712
+ },
4713
+ "surface": {
4714
+ "type": "string",
4715
+ "enum": [
4716
+ "default",
4717
+ "muted",
4718
+ "glow",
4719
+ "transparent"
4720
+ ]
4721
+ },
4722
+ "minHeight": {
4723
+ "anyOf": [
4724
+ {
4725
+ "type": "number"
4726
+ },
4727
+ {
4728
+ "type": "string",
4729
+ "minLength": 1,
4730
+ "maxLength": 256
4731
+ }
4732
+ ]
4733
+ },
4734
+ "aspectRatio": {
4735
+ "type": "string",
4736
+ "minLength": 1,
4737
+ "maxLength": 32,
4738
+ "pattern": "^[0-9]+(?:\\.[0-9]+)?\\s*(?:\\/\\s*[0-9]+(?:\\.[0-9]+)?)?$"
4739
+ }
4740
+ },
4741
+ "additionalProperties": false
4742
+ }
4743
+ },
4744
+ "required": [
4745
+ "frameOwner",
4746
+ "density"
4747
+ ],
4748
+ "additionalProperties": false
4749
+ },
4750
+ "scroll": {
4751
+ "type": "object",
4752
+ "properties": {
4753
+ "owner": {
4754
+ "type": "string",
4755
+ "enum": [
4756
+ "page",
4757
+ "surface",
4758
+ "provider"
4759
+ ]
4760
+ },
4761
+ "axis": {
4762
+ "type": "string",
4763
+ "enum": [
4764
+ "x",
4765
+ "y",
4766
+ "both",
4767
+ "none"
4768
+ ]
4769
+ },
4770
+ "restoreKey": {
4771
+ "type": "string",
4772
+ "minLength": 1,
4773
+ "maxLength": 256
4774
+ },
4775
+ "virtualizationBoundary": {
4776
+ "type": "boolean"
4777
+ }
4778
+ },
4779
+ "required": [
4780
+ "owner",
4781
+ "axis",
4782
+ "virtualizationBoundary"
4783
+ ],
4784
+ "additionalProperties": false
4785
+ },
4786
+ "activation": {
4787
+ "type": "object",
4788
+ "properties": {
4789
+ "activationId": {
4790
+ "type": "string",
4791
+ "minLength": 1,
4792
+ "maxLength": 256
4793
+ },
4794
+ "mode": {
4795
+ "type": "string",
4796
+ "enum": [
4797
+ "navigate",
4798
+ "select",
4799
+ "drawer",
4800
+ "modal",
4801
+ "fullscreen",
4802
+ "inline"
4803
+ ]
4804
+ },
4805
+ "targetPath": {
4806
+ "type": "string",
4807
+ "pattern": "^\\/(?!\\/)"
4808
+ },
4809
+ "history": {
4810
+ "type": "string",
4811
+ "enum": [
4812
+ "push",
4813
+ "replace"
4814
+ ]
4815
+ }
4816
+ },
4817
+ "required": [
4818
+ "activationId",
4819
+ "mode"
4820
+ ],
4821
+ "additionalProperties": false
4822
+ },
4823
+ "lifecycle": {
4824
+ "type": "object",
4825
+ "properties": {
4826
+ "mountPolicy": {
4827
+ "type": "string",
4828
+ "enum": [
4829
+ "always",
4830
+ "when-visible",
4831
+ "when-active"
4832
+ ]
4833
+ },
4834
+ "queryPolicy": {
4835
+ "type": "string",
4836
+ "enum": [
4837
+ "always",
4838
+ "when-visible",
4839
+ "when-active",
4840
+ "manual"
4841
+ ]
4842
+ },
4843
+ "retainOnDeactivate": {
4844
+ "type": "boolean"
4845
+ },
4846
+ "deepLink": {
4847
+ "type": "boolean"
4848
+ },
4849
+ "focusReturn": {
4850
+ "type": "boolean"
4851
+ }
4852
+ },
4853
+ "required": [
4854
+ "mountPolicy",
4855
+ "queryPolicy",
4856
+ "retainOnDeactivate",
4857
+ "deepLink",
4858
+ "focusReturn"
4859
+ ],
4860
+ "additionalProperties": false
4861
+ },
4862
+ "layout": {
4863
+ "type": "object",
4864
+ "properties": {
4865
+ "mode": {
4866
+ "type": "string",
4867
+ "enum": [
4868
+ "contents",
4869
+ "block",
4870
+ "flex",
4871
+ "grid",
4872
+ "split",
4873
+ "tabs",
4874
+ "absolute"
4875
+ ]
4876
+ },
4877
+ "direction": {
4878
+ "type": "string",
4879
+ "enum": [
4880
+ "row",
4881
+ "column"
4882
+ ]
4883
+ },
4884
+ "columns": {
4885
+ "type": "integer",
4886
+ "exclusiveMinimum": 0,
4887
+ "maximum": 9007199254740991
4888
+ },
4889
+ "rowHeight": {
4890
+ "type": "integer",
4891
+ "minimum": 12,
4892
+ "maximum": 200
4893
+ },
4894
+ "gap": {
4895
+ "type": "integer",
4896
+ "minimum": 0,
4897
+ "maximum": 64
4898
+ },
4899
+ "align": {
4900
+ "type": "string",
4901
+ "enum": [
4902
+ "start",
4903
+ "center",
4904
+ "end",
4905
+ "stretch"
4906
+ ]
4907
+ },
4908
+ "justify": {
4909
+ "type": "string",
4910
+ "enum": [
4911
+ "start",
4912
+ "center",
4913
+ "end",
4914
+ "between",
4915
+ "around"
4916
+ ]
4917
+ },
4918
+ "gapTokenRef": {
4919
+ "type": "object",
4920
+ "properties": {
4921
+ "kind": {
4922
+ "type": "string",
4923
+ "minLength": 1,
4924
+ "maxLength": 256
4925
+ },
4926
+ "id": {
4927
+ "type": "string",
4928
+ "minLength": 1,
4929
+ "maxLength": 256
4930
+ },
4931
+ "version": {
4932
+ "anyOf": [
4933
+ {
4934
+ "type": "integer",
4935
+ "exclusiveMinimum": 0,
4936
+ "maximum": 9007199254740991
4937
+ },
4938
+ {
4939
+ "type": "string",
4940
+ "minLength": 1
4941
+ }
4942
+ ]
4943
+ },
4944
+ "ownerRepo": {
4945
+ "type": "string",
4946
+ "minLength": 1,
4947
+ "maxLength": 256
4948
+ }
4949
+ },
4950
+ "required": [
4951
+ "kind",
4952
+ "id"
4953
+ ],
4954
+ "additionalProperties": false
4955
+ }
4956
+ },
4957
+ "required": [
4958
+ "mode"
4959
+ ],
4960
+ "additionalProperties": false
4961
+ },
4962
+ "placement": {
4963
+ "type": "object",
4964
+ "properties": {
4965
+ "grid": {
4966
+ "type": "object",
4967
+ "properties": {
4968
+ "x": {
4969
+ "type": "integer",
4970
+ "minimum": 0,
4971
+ "maximum": 23
4972
+ },
4973
+ "y": {
4974
+ "type": "integer",
4975
+ "minimum": 0,
4976
+ "maximum": 200
4977
+ },
4978
+ "w": {
4979
+ "type": "integer",
4980
+ "minimum": 2,
4981
+ "maximum": 24
4982
+ },
4983
+ "h": {
4984
+ "type": "integer",
4985
+ "minimum": 2,
4986
+ "maximum": 200
4987
+ },
4988
+ "minW": {
4989
+ "type": "integer",
4990
+ "minimum": 2,
4991
+ "maximum": 24
4992
+ },
4993
+ "minH": {
4994
+ "type": "integer",
4995
+ "minimum": 2,
4996
+ "maximum": 200
4997
+ }
4998
+ },
4999
+ "required": [
5000
+ "x",
5001
+ "y",
5002
+ "w",
5003
+ "h"
5004
+ ],
5005
+ "additionalProperties": false
5006
+ },
5007
+ "split": {
5008
+ "type": "object",
5009
+ "properties": {
5010
+ "size": {
5011
+ "anyOf": [
5012
+ {
5013
+ "type": "number",
5014
+ "exclusiveMinimum": 0
5015
+ },
5016
+ {
5017
+ "type": "string",
5018
+ "minLength": 1
5019
+ }
5020
+ ]
5021
+ },
5022
+ "minSize": {
5023
+ "anyOf": [
5024
+ {
5025
+ "type": "number",
5026
+ "exclusiveMinimum": 0
5027
+ },
5028
+ {
5029
+ "type": "string",
5030
+ "minLength": 1
5031
+ }
5032
+ ]
5033
+ },
5034
+ "maxSize": {
5035
+ "anyOf": [
5036
+ {
5037
+ "type": "number",
5038
+ "exclusiveMinimum": 0
5039
+ },
5040
+ {
5041
+ "type": "string",
5042
+ "minLength": 1
5043
+ }
5044
+ ]
5045
+ },
5046
+ "collapsible": {
5047
+ "type": "boolean"
5048
+ },
5049
+ "collapsed": {
5050
+ "type": "boolean"
5051
+ }
5052
+ },
5053
+ "additionalProperties": false
5054
+ },
5055
+ "tab": {
5056
+ "type": "object",
5057
+ "properties": {
5058
+ "label": {
5059
+ "anyOf": [
5060
+ {
5061
+ "type": "string",
5062
+ "minLength": 1
5063
+ },
5064
+ {
5065
+ "type": "object",
5066
+ "propertyNames": {
5067
+ "type": "string",
5068
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
5069
+ },
5070
+ "additionalProperties": {
5071
+ "type": "string",
5072
+ "minLength": 1
5073
+ }
5074
+ }
5075
+ ]
5076
+ },
5077
+ "icon": {
5078
+ "type": "string",
5079
+ "minLength": 1,
5080
+ "maxLength": 256
5081
+ }
5082
+ },
5083
+ "additionalProperties": false
5084
+ }
5085
+ },
5086
+ "additionalProperties": false
5087
+ },
5088
+ "dataBinding": {
5089
+ "anyOf": [
5090
+ {
5091
+ "anyOf": [
5092
+ {
5093
+ "type": "object",
5094
+ "properties": {
5095
+ "kind": {
5096
+ "type": "string",
5097
+ "const": "select"
5098
+ },
5099
+ "from": {
5100
+ "type": "object",
5101
+ "properties": {
5102
+ "source": {
5103
+ "default": "ontology",
5104
+ "type": "string",
5105
+ "enum": [
5106
+ "ontology",
5107
+ "workflow-outputs",
5108
+ "telemetry"
5109
+ ]
5110
+ },
5111
+ "ontologyId": {
5112
+ "type": "string",
5113
+ "minLength": 1,
5114
+ "maxLength": 256
5115
+ },
5116
+ "workflowId": {
5117
+ "type": "string",
5118
+ "minLength": 1,
5119
+ "maxLength": 256
5120
+ },
5121
+ "includeSharedSlices": {
5122
+ "type": "boolean"
5123
+ }
5124
+ },
5125
+ "required": [
5126
+ "source",
5127
+ "ontologyId"
5128
+ ],
5129
+ "additionalProperties": false
5130
+ },
5131
+ "select": {
5132
+ "type": "object",
5133
+ "properties": {
5134
+ "baseColumns": {
5135
+ "maxItems": 64,
5136
+ "type": "array",
5137
+ "items": {
5138
+ "type": "string",
5139
+ "minLength": 1,
5140
+ "maxLength": 256
5141
+ }
5142
+ },
5143
+ "propertyColumns": {
5144
+ "maxItems": 128,
5145
+ "type": "array",
5146
+ "items": {
5147
+ "type": "string",
5148
+ "minLength": 1,
5149
+ "maxLength": 256
5150
+ }
5151
+ },
5152
+ "featureColumns": {
5153
+ "maxItems": 256,
5154
+ "type": "array",
5155
+ "items": {
5156
+ "type": "string",
5157
+ "minLength": 1,
5158
+ "maxLength": 256
5159
+ }
5160
+ },
5161
+ "tagGroupColumns": {
5162
+ "maxItems": 128,
5163
+ "type": "array",
5164
+ "items": {
5165
+ "type": "string",
5166
+ "minLength": 1,
5167
+ "maxLength": 256
5168
+ }
5169
+ },
5170
+ "columnOrder": {
5171
+ "maxItems": 512,
5172
+ "type": "array",
5173
+ "items": {
5174
+ "type": "string",
5175
+ "minLength": 1,
5176
+ "maxLength": 256
5177
+ }
5178
+ }
5179
+ },
5180
+ "additionalProperties": false
5181
+ },
5182
+ "where": {
5183
+ "$ref": "#/$defs/__schema2"
5184
+ },
5185
+ "orderBy": {
5186
+ "maxItems": 16,
5187
+ "type": "array",
5188
+ "items": {
5189
+ "type": "object",
5190
+ "properties": {
5191
+ "field": {
5192
+ "type": "string",
5193
+ "minLength": 1,
5194
+ "maxLength": 256
5195
+ },
5196
+ "kind": {
5197
+ "default": "builtin",
5198
+ "type": "string",
5199
+ "enum": [
5200
+ "builtin",
5201
+ "feature"
5202
+ ]
5203
+ },
5204
+ "direction": {
5205
+ "default": "desc",
5206
+ "type": "string",
5207
+ "enum": [
5208
+ "asc",
5209
+ "desc"
5210
+ ]
5211
+ },
5212
+ "nulls": {
5213
+ "type": "string",
5214
+ "enum": [
5215
+ "first",
5216
+ "last"
5217
+ ]
5218
+ }
5219
+ },
5220
+ "required": [
5221
+ "field",
5222
+ "kind",
5223
+ "direction"
5224
+ ],
5225
+ "additionalProperties": false
5226
+ }
5227
+ },
5228
+ "limit": {
5229
+ "type": "integer",
5230
+ "minimum": 1,
5231
+ "maximum": 1000
5232
+ }
5233
+ },
5234
+ "required": [
5235
+ "kind",
5236
+ "from"
5237
+ ],
5238
+ "additionalProperties": false
5239
+ },
5240
+ {
5241
+ "type": "object",
5242
+ "properties": {
5243
+ "kind": {
5244
+ "type": "string",
5245
+ "const": "aggregate"
5246
+ },
5247
+ "from": {
5248
+ "type": "object",
5249
+ "properties": {
5250
+ "source": {
5251
+ "default": "ontology",
5252
+ "type": "string",
5253
+ "enum": [
5254
+ "ontology",
5255
+ "workflow-outputs",
5256
+ "telemetry"
5257
+ ]
5258
+ },
5259
+ "ontologyId": {
5260
+ "type": "string",
5261
+ "minLength": 1,
5262
+ "maxLength": 256
5263
+ },
5264
+ "workflowId": {
5265
+ "type": "string",
5266
+ "minLength": 1,
5267
+ "maxLength": 256
5268
+ },
5269
+ "includeSharedSlices": {
5270
+ "type": "boolean"
5271
+ }
5272
+ },
5273
+ "required": [
5274
+ "source",
5275
+ "ontologyId"
5276
+ ],
5277
+ "additionalProperties": false
5278
+ },
5279
+ "where": {
5280
+ "$ref": "#/$defs/__schema2"
5281
+ },
5282
+ "groupBy": {
5283
+ "maxItems": 16,
5284
+ "type": "array",
5285
+ "items": {
5286
+ "type": "string",
5287
+ "minLength": 1,
5288
+ "maxLength": 256
5289
+ }
5290
+ },
5291
+ "metrics": {
5292
+ "minItems": 1,
5293
+ "maxItems": 32,
5294
+ "type": "array",
5295
+ "items": {
5296
+ "type": "object",
5297
+ "properties": {
5298
+ "alias": {
5299
+ "type": "string",
5300
+ "minLength": 1,
5301
+ "maxLength": 256
5302
+ },
5303
+ "fn": {
5304
+ "type": "string",
5305
+ "enum": [
5306
+ "count",
5307
+ "sum",
5308
+ "avg",
5309
+ "min",
5310
+ "max",
5311
+ "distinct_count",
5312
+ "ratio",
5313
+ "count_distinct",
5314
+ "percentile",
5315
+ "trimmed_avg",
5316
+ "first_by",
5317
+ "last_by"
5318
+ ]
5319
+ },
5320
+ "fieldKey": {
5321
+ "type": "string",
5322
+ "minLength": 1,
5323
+ "maxLength": 256
5324
+ },
5325
+ "numeric": {
5326
+ "type": "boolean"
5327
+ },
5328
+ "percentile": {
5329
+ "type": "number",
5330
+ "minimum": 0,
5331
+ "maximum": 100
5332
+ },
5333
+ "trimTopPct": {
5334
+ "type": "number",
5335
+ "minimum": 0,
5336
+ "maximum": 100
5337
+ },
5338
+ "orderColumnId": {
5339
+ "type": "string",
5340
+ "minLength": 1,
5341
+ "maxLength": 256
5342
+ },
5343
+ "filter": {
5344
+ "$ref": "#/$defs/__schema2"
5345
+ }
5346
+ },
5347
+ "required": [
5348
+ "alias",
5349
+ "fn"
5350
+ ],
5351
+ "additionalProperties": false
5352
+ }
5353
+ },
5354
+ "orderBy": {
5355
+ "maxItems": 16,
5356
+ "type": "array",
5357
+ "items": {
5358
+ "type": "object",
5359
+ "properties": {
5360
+ "field": {
5361
+ "type": "string",
5362
+ "minLength": 1,
5363
+ "maxLength": 256
5364
+ },
5365
+ "kind": {
5366
+ "default": "builtin",
5367
+ "type": "string",
5368
+ "enum": [
5369
+ "builtin",
5370
+ "feature"
5371
+ ]
5372
+ },
5373
+ "direction": {
5374
+ "default": "desc",
5375
+ "type": "string",
5376
+ "enum": [
5377
+ "asc",
5378
+ "desc"
5379
+ ]
5380
+ },
5381
+ "nulls": {
5382
+ "type": "string",
5383
+ "enum": [
5384
+ "first",
5385
+ "last"
5386
+ ]
5387
+ }
5388
+ },
5389
+ "required": [
5390
+ "field",
5391
+ "kind",
5392
+ "direction"
5393
+ ],
5394
+ "additionalProperties": false
5395
+ }
5396
+ },
5397
+ "limit": {
5398
+ "type": "integer",
5399
+ "minimum": 1,
5400
+ "maximum": 1000
5401
+ },
5402
+ "engine": {
5403
+ "type": "string",
5404
+ "enum": [
5405
+ "auto",
5406
+ "canonical",
5407
+ "search"
5408
+ ]
5409
+ },
5410
+ "allTeams": {
5411
+ "type": "boolean"
5412
+ },
5413
+ "exact": {
5414
+ "type": "boolean"
5415
+ },
5416
+ "includeTotals": {
5417
+ "type": "boolean"
5418
+ },
5419
+ "timeBucket": {
5420
+ "type": "object",
5421
+ "properties": {
5422
+ "column": {
5423
+ "type": "string",
5424
+ "minLength": 1,
5425
+ "maxLength": 256
5426
+ },
5427
+ "granularity": {
5428
+ "type": "string",
5429
+ "enum": [
5430
+ "hour",
5431
+ "day",
5432
+ "week",
5433
+ "month",
5434
+ "quarter",
5435
+ "year"
5436
+ ]
5437
+ },
5438
+ "timezone": {
5439
+ "type": "string",
5440
+ "minLength": 1,
5441
+ "maxLength": 128
5442
+ },
5443
+ "fillGaps": {
5444
+ "type": "boolean"
5445
+ }
5446
+ },
5447
+ "required": [
5448
+ "column",
5449
+ "granularity"
5450
+ ],
5451
+ "additionalProperties": false
5452
+ },
5453
+ "joins": {
5454
+ "maxItems": 16,
5455
+ "type": "array",
5456
+ "items": {
5457
+ "type": "object",
5458
+ "properties": {
5459
+ "alias": {
5460
+ "type": "string",
5461
+ "minLength": 1,
5462
+ "maxLength": 256
5463
+ },
5464
+ "ontologyId": {
5465
+ "type": "string",
5466
+ "minLength": 1,
5467
+ "maxLength": 256
5468
+ },
5469
+ "assetType": {
5470
+ "type": "string",
5471
+ "minLength": 1,
5472
+ "maxLength": 256
5473
+ },
5474
+ "joinType": {
5475
+ "type": "string",
5476
+ "enum": [
5477
+ "inner",
5478
+ "left"
5479
+ ]
5480
+ },
5481
+ "viaRelation": {
5482
+ "type": "object",
5483
+ "properties": {
5484
+ "columnId": {
5485
+ "type": "string",
5486
+ "minLength": 1,
5487
+ "maxLength": 256
5488
+ },
5489
+ "direction": {
5490
+ "type": "string",
5491
+ "enum": [
5492
+ "outgoing",
5493
+ "incoming"
5494
+ ]
5495
+ }
5496
+ },
5497
+ "required": [
5498
+ "columnId",
5499
+ "direction"
5500
+ ],
5501
+ "additionalProperties": false
5502
+ },
5503
+ "onColumn": {
5504
+ "type": "object",
5505
+ "properties": {
5506
+ "localColumnId": {
5507
+ "type": "string",
5508
+ "minLength": 1,
5509
+ "maxLength": 256
5510
+ },
5511
+ "foreignColumnId": {
5512
+ "type": "string",
5513
+ "minLength": 1,
5514
+ "maxLength": 256
5515
+ },
5516
+ "foreignAssetId": {
5517
+ "type": "boolean"
5518
+ }
5519
+ },
5520
+ "required": [
5521
+ "localColumnId"
5522
+ ],
5523
+ "additionalProperties": false
5524
+ }
5525
+ },
5526
+ "required": [
5527
+ "alias",
5528
+ "ontologyId"
5529
+ ],
5530
+ "additionalProperties": false
5531
+ }
5532
+ },
5533
+ "hierarchyScopes": {
5534
+ "maxItems": 16,
5535
+ "type": "array",
5536
+ "items": {
5537
+ "type": "object",
5538
+ "properties": {
5539
+ "targetAlias": {
5540
+ "type": "string",
5541
+ "minLength": 1,
5542
+ "maxLength": 256
5543
+ },
5544
+ "localColumnId": {
5545
+ "type": "string",
5546
+ "minLength": 1,
5547
+ "maxLength": 256
5548
+ },
5549
+ "ontologyId": {
5550
+ "type": "string",
5551
+ "minLength": 1,
5552
+ "maxLength": 256
5553
+ },
5554
+ "relationColumnId": {
5555
+ "type": "string",
5556
+ "minLength": 1,
5557
+ "maxLength": 256
5558
+ },
5559
+ "direction": {
5560
+ "type": "string",
5561
+ "enum": [
5562
+ "incoming",
5563
+ "outgoing"
5564
+ ]
5565
+ },
5566
+ "seedIds": {
5567
+ "maxItems": 500,
5568
+ "type": "array",
5569
+ "items": {
5570
+ "type": "string",
5571
+ "minLength": 1,
5572
+ "maxLength": 256
5573
+ }
5574
+ },
5575
+ "maxDepth": {
5576
+ "type": "integer",
5577
+ "minimum": 0,
5578
+ "maximum": 32
5579
+ },
5580
+ "includeSelf": {
5581
+ "type": "boolean"
5582
+ }
5583
+ },
5584
+ "required": [
5585
+ "ontologyId",
5586
+ "relationColumnId",
5587
+ "direction",
5588
+ "seedIds"
5589
+ ],
5590
+ "additionalProperties": false
5591
+ }
5592
+ },
5593
+ "unwind": {
5594
+ "type": "object",
5595
+ "properties": {
5596
+ "columnId": {
5597
+ "type": "string",
5598
+ "minLength": 1,
5599
+ "maxLength": 256
5600
+ },
5601
+ "jsonPath": {
5602
+ "maxItems": 32,
5603
+ "type": "array",
5604
+ "items": {
5605
+ "type": "string",
5606
+ "minLength": 1,
5607
+ "maxLength": 256
5608
+ }
5609
+ },
5610
+ "preserveEmpty": {
5611
+ "type": "boolean"
5612
+ }
5613
+ },
5614
+ "required": [
5615
+ "columnId"
5616
+ ],
5617
+ "additionalProperties": false
5618
+ },
5619
+ "having": {
5620
+ "maxItems": 32,
5621
+ "type": "array",
5622
+ "items": {
5623
+ "type": "object",
5624
+ "properties": {
5625
+ "key": {
5626
+ "type": "string",
5627
+ "minLength": 1,
5628
+ "maxLength": 256
5629
+ },
5630
+ "op": {
5631
+ "type": "string",
5632
+ "enum": [
5633
+ "eq",
5634
+ "ne",
5635
+ "gt",
5636
+ "gte",
5637
+ "lt",
5638
+ "lte"
5639
+ ]
5640
+ },
5641
+ "value": {
5642
+ "type": "number"
5643
+ }
5644
+ },
5645
+ "required": [
5646
+ "key",
5647
+ "op",
5648
+ "value"
5649
+ ],
5650
+ "additionalProperties": false
5651
+ }
5652
+ },
5653
+ "pagination": {
5654
+ "type": "object",
5655
+ "properties": {
5656
+ "offset": {
5657
+ "type": "integer",
5658
+ "minimum": 0,
5659
+ "maximum": 9007199254740991
5660
+ },
5661
+ "limit": {
5662
+ "type": "integer",
5663
+ "minimum": 1,
5664
+ "maximum": 10000
5665
+ },
5666
+ "includeTotalGroups": {
5667
+ "type": "boolean"
5668
+ }
5669
+ },
5670
+ "additionalProperties": false
5671
+ }
5672
+ },
5673
+ "required": [
5674
+ "kind",
5675
+ "from",
5676
+ "metrics"
5677
+ ],
5678
+ "additionalProperties": false
5679
+ },
5680
+ {
5681
+ "type": "object",
5682
+ "properties": {
5683
+ "kind": {
5684
+ "type": "string",
5685
+ "const": "graph"
5686
+ },
5687
+ "from": {
5688
+ "type": "object",
5689
+ "properties": {
5690
+ "source": {
5691
+ "default": "ontology",
5692
+ "type": "string",
5693
+ "enum": [
5694
+ "ontology",
5695
+ "workflow-outputs",
5696
+ "telemetry"
5697
+ ]
5698
+ },
5699
+ "ontologyId": {
5700
+ "type": "string",
5701
+ "minLength": 1,
5702
+ "maxLength": 256
5703
+ },
5704
+ "workflowId": {
5705
+ "type": "string",
5706
+ "minLength": 1,
5707
+ "maxLength": 256
5708
+ },
5709
+ "includeSharedSlices": {
5710
+ "type": "boolean"
5711
+ }
5712
+ },
5713
+ "required": [
5714
+ "source",
5715
+ "ontologyId"
5716
+ ],
5717
+ "additionalProperties": false
5718
+ },
5719
+ "where": {
5720
+ "$ref": "#/$defs/__schema2"
5721
+ },
5722
+ "graph": {
5723
+ "type": "object",
5724
+ "properties": {
5725
+ "graphKind": {
5726
+ "type": "string",
5727
+ "enum": [
5728
+ "schema",
5729
+ "cooccurrence",
5730
+ "bipartite-cosine",
5731
+ "focus-star",
5732
+ "ontology-relation",
5733
+ "record-clustering",
5734
+ "field-tag-hub"
5735
+ ]
5736
+ },
5737
+ "maxHops": {
5738
+ "default": 2,
5739
+ "type": "integer",
5740
+ "minimum": 1,
5741
+ "maximum": 6
5742
+ },
5743
+ "nodeLabelField": {
5744
+ "type": "string",
5745
+ "minLength": 1,
5746
+ "maxLength": 256
5747
+ },
5748
+ "edgeRelationFields": {
5749
+ "maxItems": 32,
5750
+ "type": "array",
5751
+ "items": {
5752
+ "type": "string",
5753
+ "minLength": 1,
5754
+ "maxLength": 256
5755
+ }
5756
+ }
5757
+ },
5758
+ "required": [
5759
+ "graphKind",
5760
+ "maxHops"
5761
+ ],
5762
+ "additionalProperties": false
5763
+ },
5764
+ "limit": {
5765
+ "type": "integer",
5766
+ "minimum": 1,
5767
+ "maximum": 5000
5768
+ }
5769
+ },
5770
+ "required": [
5771
+ "kind",
5772
+ "from",
5773
+ "graph"
5774
+ ],
5775
+ "additionalProperties": false
5776
+ },
5777
+ {
5778
+ "type": "object",
5779
+ "properties": {
5780
+ "kind": {
5781
+ "type": "string",
5782
+ "enum": [
5783
+ "insert",
5784
+ "update",
5785
+ "delete"
5786
+ ]
5787
+ },
5788
+ "ontologyId": {
5789
+ "type": "string",
5790
+ "minLength": 1,
5791
+ "maxLength": 256
5792
+ },
5793
+ "values": {
5794
+ "type": "object",
5795
+ "propertyNames": {
5796
+ "type": "string"
5797
+ },
5798
+ "additionalProperties": {
5799
+ "$ref": "#/$defs/__schema0"
5800
+ }
5801
+ },
5802
+ "where": {
5803
+ "$ref": "#/$defs/__schema2"
5804
+ }
5805
+ },
5806
+ "required": [
5807
+ "kind",
5808
+ "ontologyId"
5809
+ ],
5810
+ "additionalProperties": false
3713
5811
  },
3714
5812
  {
3715
- "type": "string",
3716
- "minLength": 1
5813
+ "type": "object",
5814
+ "properties": {
5815
+ "kind": {
5816
+ "type": "string",
5817
+ "const": "call"
5818
+ },
5819
+ "workflowId": {
5820
+ "type": "string",
5821
+ "minLength": 1,
5822
+ "maxLength": 256
5823
+ },
5824
+ "pageType": {
5825
+ "default": "preview",
5826
+ "type": "string",
5827
+ "enum": [
5828
+ "preview",
5829
+ "process",
5830
+ "log",
5831
+ "chat",
5832
+ "api"
5833
+ ]
5834
+ },
5835
+ "inputMapping": {
5836
+ "type": "object",
5837
+ "propertyNames": {
5838
+ "type": "string"
5839
+ },
5840
+ "additionalProperties": {
5841
+ "$ref": "#/$defs/__schema0"
5842
+ }
5843
+ },
5844
+ "outputStrategy": {
5845
+ "type": "string",
5846
+ "enum": [
5847
+ "default-result-ontology",
5848
+ "domain-ontology",
5849
+ "ledger-only",
5850
+ "column-writeback"
5851
+ ]
5852
+ }
5853
+ },
5854
+ "required": [
5855
+ "kind",
5856
+ "workflowId",
5857
+ "pageType"
5858
+ ],
5859
+ "additionalProperties": false
3717
5860
  }
3718
5861
  ]
3719
5862
  },
3720
- "ownerRepo": {
3721
- "type": "string",
3722
- "minLength": 1,
3723
- "maxLength": 256
3724
- }
3725
- },
3726
- "required": [
3727
- "kind",
3728
- "id"
3729
- ],
3730
- "additionalProperties": false
3731
- },
3732
- "capabilityRef": {
3733
- "type": "object",
3734
- "properties": {
3735
- "kind": {
3736
- "type": "string",
3737
- "minLength": 1,
3738
- "maxLength": 256
3739
- },
3740
- "id": {
3741
- "type": "string",
3742
- "minLength": 1,
3743
- "maxLength": 256
3744
- },
3745
- "version": {
3746
- "anyOf": [
3747
- {
3748
- "type": "integer",
3749
- "exclusiveMinimum": 0,
3750
- "maximum": 9007199254740991
5863
+ {
5864
+ "type": "object",
5865
+ "properties": {
5866
+ "kind": {
5867
+ "type": "string",
5868
+ "const": "statement"
3751
5869
  },
3752
- {
5870
+ "statementId": {
3753
5871
  "type": "string",
3754
- "minLength": 1
5872
+ "minLength": 1,
5873
+ "maxLength": 256
3755
5874
  }
3756
- ]
3757
- },
3758
- "ownerRepo": {
3759
- "type": "string",
3760
- "minLength": 1,
3761
- "maxLength": 256
3762
- }
3763
- },
3764
- "required": [
3765
- "kind",
3766
- "id"
3767
- ],
3768
- "additionalProperties": false
3769
- },
3770
- "runtimeContractVersion": {
3771
- "type": "string",
3772
- "minLength": 1,
3773
- "maxLength": 256
3774
- },
3775
- "providerRef": {
3776
- "type": "object",
3777
- "properties": {
3778
- "kind": {
3779
- "type": "string",
3780
- "minLength": 1,
3781
- "maxLength": 256
3782
- },
3783
- "id": {
3784
- "type": "string",
3785
- "minLength": 1,
3786
- "maxLength": 256
5875
+ },
5876
+ "required": [
5877
+ "kind",
5878
+ "statementId"
5879
+ ],
5880
+ "additionalProperties": false
3787
5881
  },
3788
- "version": {
3789
- "anyOf": [
3790
- {
3791
- "type": "integer",
3792
- "exclusiveMinimum": 0,
3793
- "maximum": 9007199254740991
5882
+ {
5883
+ "type": "object",
5884
+ "properties": {
5885
+ "kind": {
5886
+ "type": "string",
5887
+ "const": "ontology-record"
3794
5888
  },
3795
- {
5889
+ "ontologyId": {
3796
5890
  "type": "string",
3797
- "minLength": 1
5891
+ "minLength": 1,
5892
+ "maxLength": 256
5893
+ },
5894
+ "recordId": {
5895
+ "type": "string",
5896
+ "minLength": 1,
5897
+ "maxLength": 256
5898
+ },
5899
+ "includeRelations": {
5900
+ "type": "boolean"
3798
5901
  }
3799
- ]
3800
- },
3801
- "ownerRepo": {
3802
- "type": "string",
3803
- "minLength": 1,
3804
- "maxLength": 256
3805
- }
3806
- },
3807
- "required": [
3808
- "kind",
3809
- "id"
3810
- ],
3811
- "additionalProperties": false
3812
- },
3813
- "stateRef": {
3814
- "type": "object",
3815
- "properties": {
3816
- "kind": {
3817
- "type": "string",
3818
- "minLength": 1,
3819
- "maxLength": 256
5902
+ },
5903
+ "required": [
5904
+ "kind",
5905
+ "ontologyId",
5906
+ "recordId"
5907
+ ],
5908
+ "additionalProperties": false
3820
5909
  },
3821
- "id": {
3822
- "type": "string",
3823
- "minLength": 1,
3824
- "maxLength": 256
5910
+ {
5911
+ "type": "object",
5912
+ "properties": {
5913
+ "kind": {
5914
+ "type": "string",
5915
+ "const": "ontology-view"
5916
+ },
5917
+ "viewId": {
5918
+ "type": "string",
5919
+ "minLength": 1,
5920
+ "maxLength": 256
5921
+ }
5922
+ },
5923
+ "required": [
5924
+ "kind",
5925
+ "viewId"
5926
+ ],
5927
+ "additionalProperties": false
3825
5928
  },
3826
- "version": {
3827
- "anyOf": [
3828
- {
5929
+ {
5930
+ "type": "object",
5931
+ "properties": {
5932
+ "kind": {
5933
+ "type": "string",
5934
+ "const": "ontology-relation"
5935
+ },
5936
+ "sourceOntologyId": {
5937
+ "type": "string",
5938
+ "minLength": 1,
5939
+ "maxLength": 256
5940
+ },
5941
+ "sourceRecordId": {
5942
+ "type": "string",
5943
+ "minLength": 1,
5944
+ "maxLength": 256
5945
+ },
5946
+ "direction": {
5947
+ "type": "string",
5948
+ "enum": [
5949
+ "outgoing",
5950
+ "incoming",
5951
+ "both"
5952
+ ]
5953
+ },
5954
+ "columnId": {
5955
+ "type": "string",
5956
+ "minLength": 1,
5957
+ "maxLength": 256
5958
+ },
5959
+ "targetOntologyIds": {
5960
+ "maxItems": 64,
5961
+ "type": "array",
5962
+ "items": {
5963
+ "type": "string",
5964
+ "minLength": 1,
5965
+ "maxLength": 256
5966
+ }
5967
+ },
5968
+ "maxHops": {
3829
5969
  "type": "integer",
3830
- "exclusiveMinimum": 0,
3831
- "maximum": 9007199254740991
5970
+ "minimum": 1,
5971
+ "maximum": 6
3832
5972
  },
3833
- {
5973
+ "includeTargetFields": {
5974
+ "maxItems": 256,
5975
+ "type": "array",
5976
+ "items": {
5977
+ "type": "string",
5978
+ "minLength": 1,
5979
+ "maxLength": 256
5980
+ }
5981
+ },
5982
+ "pageSize": {
5983
+ "type": "integer",
5984
+ "minimum": 1,
5985
+ "maximum": 1000
5986
+ },
5987
+ "pageToken": {
3834
5988
  "type": "string",
3835
- "minLength": 1
5989
+ "minLength": 1,
5990
+ "maxLength": 1024
3836
5991
  }
3837
- ]
3838
- },
3839
- "ownerRepo": {
3840
- "type": "string",
3841
- "minLength": 1,
3842
- "maxLength": 256
3843
- }
3844
- },
3845
- "required": [
3846
- "kind",
3847
- "id"
3848
- ],
3849
- "additionalProperties": false
3850
- },
3851
- "surface": {
3852
- "type": "object",
3853
- "properties": {
3854
- "frameOwner": {
3855
- "type": "string",
3856
- "enum": [
3857
- "host",
3858
- "provider",
3859
- "none"
3860
- ]
3861
- },
3862
- "tone": {
3863
- "type": "string",
3864
- "minLength": 1,
3865
- "maxLength": 256
3866
- },
3867
- "density": {
3868
- "type": "string",
3869
- "enum": [
3870
- "compact",
3871
- "default",
3872
- "comfortable"
3873
- ]
5992
+ },
5993
+ "required": [
5994
+ "kind",
5995
+ "sourceOntologyId",
5996
+ "sourceRecordId"
5997
+ ],
5998
+ "additionalProperties": false
3874
5999
  },
3875
- "bento": {
6000
+ {
3876
6001
  "type": "object",
3877
6002
  "properties": {
3878
- "chrome": {
6003
+ "kind": {
3879
6004
  "type": "string",
3880
- "enum": [
3881
- "panel",
3882
- "plain"
3883
- ]
3884
- },
3885
- "fill": {
3886
- "type": "boolean"
6005
+ "const": "ontology-action"
3887
6006
  },
3888
- "surface": {
6007
+ "action": {
3889
6008
  "type": "string",
3890
6009
  "enum": [
3891
- "default",
3892
- "muted",
3893
- "glow",
3894
- "transparent"
6010
+ "insert",
6011
+ "update",
6012
+ "delete",
6013
+ "mutate-relation",
6014
+ "workflow-call"
3895
6015
  ]
3896
6016
  },
3897
- "minHeight": {
3898
- "anyOf": [
3899
- {
3900
- "type": "number"
3901
- },
3902
- {
3903
- "type": "string",
3904
- "minLength": 1,
3905
- "maxLength": 256
3906
- }
3907
- ]
6017
+ "ontologyId": {
6018
+ "type": "string",
6019
+ "minLength": 1,
6020
+ "maxLength": 256
3908
6021
  },
3909
- "aspectRatio": {
6022
+ "recordId": {
3910
6023
  "type": "string",
3911
6024
  "minLength": 1,
3912
- "maxLength": 32,
3913
- "pattern": "^[0-9]+(?:\\.[0-9]+)?\\s*(?:\\/\\s*[0-9]+(?:\\.[0-9]+)?)?$"
6025
+ "maxLength": 256
6026
+ },
6027
+ "workflowId": {
6028
+ "type": "string",
6029
+ "minLength": 1,
6030
+ "maxLength": 256
6031
+ },
6032
+ "payload": {
6033
+ "type": "object",
6034
+ "propertyNames": {
6035
+ "type": "string"
6036
+ },
6037
+ "additionalProperties": {}
6038
+ },
6039
+ "invalidateOntologies": {
6040
+ "maxItems": 64,
6041
+ "type": "array",
6042
+ "items": {
6043
+ "type": "string",
6044
+ "minLength": 1,
6045
+ "maxLength": 256
6046
+ }
3914
6047
  }
3915
6048
  },
6049
+ "required": [
6050
+ "kind",
6051
+ "action"
6052
+ ],
3916
6053
  "additionalProperties": false
3917
- }
3918
- },
3919
- "required": [
3920
- "frameOwner",
3921
- "density"
3922
- ],
3923
- "additionalProperties": false
3924
- },
3925
- "scroll": {
3926
- "type": "object",
3927
- "properties": {
3928
- "owner": {
3929
- "type": "string",
3930
- "enum": [
3931
- "page",
3932
- "surface",
3933
- "provider"
3934
- ]
3935
- },
3936
- "axis": {
3937
- "type": "string",
3938
- "enum": [
3939
- "x",
3940
- "y",
3941
- "both",
3942
- "none"
3943
- ]
3944
- },
3945
- "restoreKey": {
3946
- "type": "string",
3947
- "minLength": 1,
3948
- "maxLength": 256
3949
- },
3950
- "virtualizationBoundary": {
3951
- "type": "boolean"
3952
- }
3953
- },
3954
- "required": [
3955
- "owner",
3956
- "axis",
3957
- "virtualizationBoundary"
3958
- ],
3959
- "additionalProperties": false
3960
- },
3961
- "activation": {
3962
- "type": "object",
3963
- "properties": {
3964
- "activationId": {
3965
- "type": "string",
3966
- "minLength": 1,
3967
- "maxLength": 256
3968
- },
3969
- "mode": {
3970
- "type": "string",
3971
- "enum": [
3972
- "navigate",
3973
- "select",
3974
- "drawer",
3975
- "modal",
3976
- "fullscreen",
3977
- "inline"
3978
- ]
3979
- },
3980
- "targetPath": {
3981
- "type": "string",
3982
- "pattern": "^\\/(?!\\/)"
3983
- },
3984
- "history": {
3985
- "type": "string",
3986
- "enum": [
3987
- "push",
3988
- "replace"
3989
- ]
3990
- }
3991
- },
3992
- "required": [
3993
- "activationId",
3994
- "mode"
3995
- ],
3996
- "additionalProperties": false
3997
- },
3998
- "lifecycle": {
3999
- "type": "object",
4000
- "properties": {
4001
- "mountPolicy": {
4002
- "type": "string",
4003
- "enum": [
4004
- "always",
4005
- "when-visible",
4006
- "when-active"
4007
- ]
4008
- },
4009
- "queryPolicy": {
4010
- "type": "string",
4011
- "enum": [
4012
- "always",
4013
- "when-visible",
4014
- "when-active",
4015
- "manual"
4016
- ]
4017
- },
4018
- "retainOnDeactivate": {
4019
- "type": "boolean"
4020
- },
4021
- "deepLink": {
4022
- "type": "boolean"
4023
6054
  },
4024
- "focusReturn": {
4025
- "type": "boolean"
6055
+ {
6056
+ "type": "object",
6057
+ "properties": {
6058
+ "kind": {
6059
+ "type": "string",
6060
+ "const": "self-managed"
6061
+ }
6062
+ },
6063
+ "required": [
6064
+ "kind"
6065
+ ],
6066
+ "additionalProperties": false
4026
6067
  }
4027
- },
4028
- "required": [
4029
- "mountPolicy",
4030
- "queryPolicy",
4031
- "retainOnDeactivate",
4032
- "deepLink",
4033
- "focusReturn"
4034
- ],
4035
- "additionalProperties": false
6068
+ ]
4036
6069
  },
4037
- "layout": {
6070
+ "module": {
4038
6071
  "type": "object",
4039
6072
  "properties": {
4040
- "mode": {
4041
- "type": "string",
4042
- "enum": [
4043
- "contents",
4044
- "block",
4045
- "flex",
4046
- "grid",
4047
- "absolute"
4048
- ]
4049
- },
4050
- "direction": {
4051
- "type": "string",
4052
- "enum": [
4053
- "row",
4054
- "column"
4055
- ]
4056
- },
4057
- "columns": {
4058
- "type": "integer",
4059
- "exclusiveMinimum": 0,
4060
- "maximum": 9007199254740991
4061
- },
4062
- "align": {
4063
- "type": "string",
4064
- "enum": [
4065
- "start",
4066
- "center",
4067
- "end",
4068
- "stretch"
4069
- ]
4070
- },
4071
- "justify": {
6073
+ "id": {
4072
6074
  "type": "string",
4073
- "enum": [
4074
- "start",
4075
- "center",
4076
- "end",
4077
- "between",
4078
- "around"
4079
- ]
4080
- },
4081
- "gapTokenRef": {
4082
- "type": "object",
4083
- "properties": {
4084
- "kind": {
4085
- "type": "string",
4086
- "minLength": 1,
4087
- "maxLength": 256
4088
- },
4089
- "id": {
4090
- "type": "string",
4091
- "minLength": 1,
4092
- "maxLength": 256
4093
- },
4094
- "version": {
4095
- "anyOf": [
4096
- {
4097
- "type": "integer",
4098
- "exclusiveMinimum": 0,
4099
- "maximum": 9007199254740991
4100
- },
4101
- {
4102
- "type": "string",
4103
- "minLength": 1
4104
- }
4105
- ]
4106
- },
4107
- "ownerRepo": {
6075
+ "minLength": 1,
6076
+ "maxLength": 256
6077
+ },
6078
+ "granularity": {
6079
+ "default": "atomic",
6080
+ "type": "string",
6081
+ "enum": [
6082
+ "atomic",
6083
+ "macro"
6084
+ ]
6085
+ },
6086
+ "title": {
6087
+ "anyOf": [
6088
+ {
4108
6089
  "type": "string",
4109
- "minLength": 1,
4110
- "maxLength": 256
6090
+ "minLength": 1
6091
+ },
6092
+ {
6093
+ "type": "object",
6094
+ "propertyNames": {
6095
+ "type": "string",
6096
+ "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
6097
+ },
6098
+ "additionalProperties": {
6099
+ "type": "string",
6100
+ "minLength": 1
6101
+ }
4111
6102
  }
6103
+ ]
6104
+ },
6105
+ "props": {
6106
+ "type": "object",
6107
+ "propertyNames": {
6108
+ "type": "string"
4112
6109
  },
4113
- "required": [
4114
- "kind",
4115
- "id"
4116
- ],
4117
- "additionalProperties": false
6110
+ "additionalProperties": {
6111
+ "$ref": "#/$defs/__schema0"
6112
+ }
4118
6113
  }
4119
6114
  },
4120
6115
  "required": [
4121
- "mode"
6116
+ "id",
6117
+ "granularity"
4122
6118
  ],
4123
6119
  "additionalProperties": false
4124
6120
  },
@@ -4126,19 +6122,19 @@
4126
6122
  "type": "object",
4127
6123
  "properties": {
4128
6124
  "visibleWhen": {
4129
- "$ref": "#/$defs/__schema2"
6125
+ "$ref": "#/$defs/__schema3"
4130
6126
  },
4131
6127
  "columns": {
4132
- "$ref": "#/$defs/__schema2"
6128
+ "$ref": "#/$defs/__schema3"
4133
6129
  },
4134
6130
  "gridTemplateColumns": {
4135
- "$ref": "#/$defs/__schema2"
6131
+ "$ref": "#/$defs/__schema3"
4136
6132
  },
4137
6133
  "flex": {
4138
- "$ref": "#/$defs/__schema2"
6134
+ "$ref": "#/$defs/__schema3"
4139
6135
  },
4140
6136
  "bentoSurface": {
4141
- "$ref": "#/$defs/__schema2"
6137
+ "$ref": "#/$defs/__schema3"
4142
6138
  }
4143
6139
  },
4144
6140
  "additionalProperties": false
@@ -4768,6 +6764,8 @@
4768
6764
  "block",
4769
6765
  "flex",
4770
6766
  "grid",
6767
+ "split",
6768
+ "tabs",
4771
6769
  "absolute"
4772
6770
  ]
4773
6771
  },
@@ -4783,6 +6781,16 @@
4783
6781
  "exclusiveMinimum": 0,
4784
6782
  "maximum": 9007199254740991
4785
6783
  },
6784
+ "rowHeight": {
6785
+ "type": "integer",
6786
+ "minimum": 12,
6787
+ "maximum": 200
6788
+ },
6789
+ "gap": {
6790
+ "type": "integer",
6791
+ "minimum": 0,
6792
+ "maximum": 64
6793
+ },
4786
6794
  "align": {
4787
6795
  "type": "string",
4788
6796
  "enum": [
@@ -5613,7 +7621,7 @@
5613
7621
  "type": "object",
5614
7622
  "properties": {
5615
7623
  "source": {
5616
- "$ref": "#/$defs/__schema2"
7624
+ "$ref": "#/$defs/__schema3"
5617
7625
  },
5618
7626
  "keyPath": {
5619
7627
  "minItems": 1,
@@ -6137,7 +8145,7 @@
6137
8145
  }
6138
8146
  },
6139
8147
  "expression": {
6140
- "$ref": "#/$defs/__schema2"
8148
+ "$ref": "#/$defs/__schema3"
6141
8149
  },
6142
8150
  "valueType": {
6143
8151
  "type": "string",
@@ -6170,7 +8178,7 @@
6170
8178
  "maxLength": 256
6171
8179
  },
6172
8180
  "expression": {
6173
- "$ref": "#/$defs/__schema2"
8181
+ "$ref": "#/$defs/__schema3"
6174
8182
  }
6175
8183
  },
6176
8184
  "required": [
@@ -6782,25 +8790,25 @@
6782
8790
  "$ref": "#/$defs/__schema1"
6783
8791
  },
6784
8792
  "loadingWhen": {
6785
- "$ref": "#/$defs/__schema2"
8793
+ "$ref": "#/$defs/__schema3"
6786
8794
  },
6787
8795
  "dynamicLayout": {
6788
8796
  "type": "object",
6789
8797
  "properties": {
6790
8798
  "visibleWhen": {
6791
- "$ref": "#/$defs/__schema2"
8799
+ "$ref": "#/$defs/__schema3"
6792
8800
  },
6793
8801
  "columns": {
6794
- "$ref": "#/$defs/__schema2"
8802
+ "$ref": "#/$defs/__schema3"
6795
8803
  },
6796
8804
  "gridTemplateColumns": {
6797
- "$ref": "#/$defs/__schema2"
8805
+ "$ref": "#/$defs/__schema3"
6798
8806
  },
6799
8807
  "flex": {
6800
- "$ref": "#/$defs/__schema2"
8808
+ "$ref": "#/$defs/__schema3"
6801
8809
  },
6802
8810
  "bentoSurface": {
6803
- "$ref": "#/$defs/__schema2"
8811
+ "$ref": "#/$defs/__schema3"
6804
8812
  }
6805
8813
  },
6806
8814
  "additionalProperties": false
@@ -6862,7 +8870,7 @@
6862
8870
  "maxLength": 256
6863
8871
  },
6864
8872
  "initialValue": {
6865
- "$ref": "#/$defs/__schema2"
8873
+ "$ref": "#/$defs/__schema3"
6866
8874
  },
6867
8875
  "schemaRevisionRef": {
6868
8876
  "type": "object",
@@ -8934,7 +10942,7 @@
8934
10942
  "const": "expression"
8935
10943
  },
8936
10944
  "expression": {
8937
- "$ref": "#/$defs/__schema2"
10945
+ "$ref": "#/$defs/__schema3"
8938
10946
  }
8939
10947
  },
8940
10948
  "required": [
@@ -10549,7 +12557,7 @@
10549
12557
  "type": "object",
10550
12558
  "properties": {
10551
12559
  "expression": {
10552
- "$ref": "#/$defs/__schema2"
12560
+ "$ref": "#/$defs/__schema3"
10553
12561
  },
10554
12562
  "schemaRevisionRef": {
10555
12563
  "type": "object",
@@ -11093,7 +13101,7 @@
11093
13101
  "type": "object",
11094
13102
  "properties": {
11095
13103
  "expression": {
11096
- "$ref": "#/$defs/__schema2"
13104
+ "$ref": "#/$defs/__schema3"
11097
13105
  },
11098
13106
  "schemaRevisionRef": {
11099
13107
  "type": "object",
@@ -11254,10 +13262,10 @@
11254
13262
  "maxLength": 256
11255
13263
  },
11256
13264
  "value": {
11257
- "$ref": "#/$defs/__schema2"
13265
+ "$ref": "#/$defs/__schema3"
11258
13266
  },
11259
13267
  "when": {
11260
- "$ref": "#/$defs/__schema2"
13268
+ "$ref": "#/$defs/__schema3"
11261
13269
  }
11262
13270
  },
11263
13271
  "required": [
@@ -11690,7 +13698,7 @@
11690
13698
  "maximum": 300000
11691
13699
  },
11692
13700
  "when": {
11693
- "$ref": "#/$defs/__schema2"
13701
+ "$ref": "#/$defs/__schema3"
11694
13702
  }
11695
13703
  },
11696
13704
  "required": [
@@ -12172,7 +14180,7 @@
12172
14180
  "additionalProperties": false
12173
14181
  },
12174
14182
  "when": {
12175
- "$ref": "#/$defs/__schema2"
14183
+ "$ref": "#/$defs/__schema3"
12176
14184
  },
12177
14185
  "fileInputs": {
12178
14186
  "minItems": 1,
@@ -12519,7 +14527,7 @@
12519
14527
  "const": "expression"
12520
14528
  },
12521
14529
  "expression": {
12522
- "$ref": "#/$defs/__schema2"
14530
+ "$ref": "#/$defs/__schema3"
12523
14531
  }
12524
14532
  },
12525
14533
  "required": [
@@ -14137,7 +16145,7 @@
14137
16145
  "const": "expression"
14138
16146
  },
14139
16147
  "expression": {
14140
- "$ref": "#/$defs/__schema2"
16148
+ "$ref": "#/$defs/__schema3"
14141
16149
  }
14142
16150
  },
14143
16151
  "required": [
@@ -14363,7 +16371,7 @@
14363
16371
  "const": "expression"
14364
16372
  },
14365
16373
  "expression": {
14366
- "$ref": "#/$defs/__schema2"
16374
+ "$ref": "#/$defs/__schema3"
14367
16375
  }
14368
16376
  },
14369
16377
  "required": [
@@ -14830,7 +16838,7 @@
14830
16838
  "additionalProperties": false
14831
16839
  },
14832
16840
  "when": {
14833
- "$ref": "#/$defs/__schema2"
16841
+ "$ref": "#/$defs/__schema3"
14834
16842
  },
14835
16843
  "concurrencyKeyPath": {
14836
16844
  "minItems": 1,
@@ -17442,6 +19450,288 @@
17442
19450
  "additionalProperties": false
17443
19451
  },
17444
19452
  "__schema2": {
19453
+ "anyOf": [
19454
+ {
19455
+ "type": "object",
19456
+ "properties": {
19457
+ "op": {
19458
+ "type": "string",
19459
+ "enum": [
19460
+ "and",
19461
+ "or",
19462
+ "not"
19463
+ ]
19464
+ },
19465
+ "filters": {
19466
+ "minItems": 1,
19467
+ "maxItems": 64,
19468
+ "type": "array",
19469
+ "items": {
19470
+ "$ref": "#/$defs/__schema2"
19471
+ }
19472
+ }
19473
+ },
19474
+ "required": [
19475
+ "op",
19476
+ "filters"
19477
+ ],
19478
+ "additionalProperties": false
19479
+ },
19480
+ {
19481
+ "type": "object",
19482
+ "properties": {
19483
+ "op": {
19484
+ "type": "string",
19485
+ "const": "field"
19486
+ },
19487
+ "field": {
19488
+ "type": "string",
19489
+ "enum": [
19490
+ "id",
19491
+ "name",
19492
+ "status",
19493
+ "assetType",
19494
+ "creatorUserId",
19495
+ "ontologyId",
19496
+ "teamId"
19497
+ ]
19498
+ },
19499
+ "cmp": {
19500
+ "type": "string",
19501
+ "enum": [
19502
+ "eq",
19503
+ "in",
19504
+ "contains",
19505
+ "not_contains"
19506
+ ]
19507
+ },
19508
+ "value": {
19509
+ "anyOf": [
19510
+ {
19511
+ "type": "string",
19512
+ "minLength": 1
19513
+ },
19514
+ {
19515
+ "minItems": 1,
19516
+ "maxItems": 500,
19517
+ "type": "array",
19518
+ "items": {
19519
+ "type": "string",
19520
+ "minLength": 1
19521
+ }
19522
+ }
19523
+ ]
19524
+ }
19525
+ },
19526
+ "required": [
19527
+ "op",
19528
+ "field",
19529
+ "value"
19530
+ ],
19531
+ "additionalProperties": false
19532
+ },
19533
+ {
19534
+ "type": "object",
19535
+ "properties": {
19536
+ "op": {
19537
+ "type": "string",
19538
+ "const": "tagGroup"
19539
+ },
19540
+ "allOf": {
19541
+ "minItems": 1,
19542
+ "maxItems": 32,
19543
+ "type": "array",
19544
+ "items": {
19545
+ "type": "string",
19546
+ "minLength": 1,
19547
+ "maxLength": 256
19548
+ }
19549
+ }
19550
+ },
19551
+ "required": [
19552
+ "op",
19553
+ "allOf"
19554
+ ],
19555
+ "additionalProperties": false
19556
+ },
19557
+ {
19558
+ "type": "object",
19559
+ "properties": {
19560
+ "op": {
19561
+ "type": "string",
19562
+ "const": "tags"
19563
+ },
19564
+ "allOf": {
19565
+ "maxItems": 64,
19566
+ "type": "array",
19567
+ "items": {
19568
+ "type": "string",
19569
+ "minLength": 1,
19570
+ "maxLength": 256
19571
+ }
19572
+ },
19573
+ "anyOf": {
19574
+ "maxItems": 32,
19575
+ "type": "array",
19576
+ "items": {
19577
+ "minItems": 1,
19578
+ "maxItems": 32,
19579
+ "type": "array",
19580
+ "items": {
19581
+ "type": "string",
19582
+ "minLength": 1,
19583
+ "maxLength": 256
19584
+ }
19585
+ }
19586
+ },
19587
+ "noneOf": {
19588
+ "maxItems": 64,
19589
+ "type": "array",
19590
+ "items": {
19591
+ "type": "string",
19592
+ "minLength": 1,
19593
+ "maxLength": 256
19594
+ }
19595
+ }
19596
+ },
19597
+ "required": [
19598
+ "op"
19599
+ ],
19600
+ "additionalProperties": false
19601
+ },
19602
+ {
19603
+ "type": "object",
19604
+ "properties": {
19605
+ "op": {
19606
+ "type": "string",
19607
+ "const": "feature"
19608
+ },
19609
+ "fieldKey": {
19610
+ "type": "string",
19611
+ "minLength": 1,
19612
+ "maxLength": 256
19613
+ },
19614
+ "cmp": {
19615
+ "type": "string",
19616
+ "enum": [
19617
+ "eq",
19618
+ "neq",
19619
+ "in",
19620
+ "not_in",
19621
+ "gt",
19622
+ "gte",
19623
+ "lt",
19624
+ "lte",
19625
+ "between",
19626
+ "contains",
19627
+ "is_empty"
19628
+ ]
19629
+ },
19630
+ "value": {
19631
+ "$ref": "#/$defs/__schema0"
19632
+ }
19633
+ },
19634
+ "required": [
19635
+ "op",
19636
+ "fieldKey"
19637
+ ],
19638
+ "additionalProperties": false
19639
+ },
19640
+ {
19641
+ "type": "object",
19642
+ "properties": {
19643
+ "op": {
19644
+ "type": "string",
19645
+ "const": "featureRelation"
19646
+ },
19647
+ "fieldKey": {
19648
+ "type": "string",
19649
+ "minLength": 1,
19650
+ "maxLength": 256
19651
+ },
19652
+ "cmp": {
19653
+ "type": "string",
19654
+ "enum": [
19655
+ "contains_any",
19656
+ "contains_all",
19657
+ "is_empty"
19658
+ ]
19659
+ },
19660
+ "targetOntologyId": {
19661
+ "type": "string",
19662
+ "minLength": 1,
19663
+ "maxLength": 256
19664
+ },
19665
+ "hops": {
19666
+ "type": "integer",
19667
+ "minimum": 1,
19668
+ "maximum": 6
19669
+ },
19670
+ "value": {
19671
+ "maxItems": 200,
19672
+ "type": "array",
19673
+ "items": {
19674
+ "type": "object",
19675
+ "properties": {
19676
+ "ontologyId": {
19677
+ "type": "string",
19678
+ "minLength": 1,
19679
+ "maxLength": 256
19680
+ },
19681
+ "assetId": {
19682
+ "type": "string",
19683
+ "minLength": 1,
19684
+ "maxLength": 256
19685
+ }
19686
+ },
19687
+ "required": [
19688
+ "ontologyId",
19689
+ "assetId"
19690
+ ],
19691
+ "additionalProperties": false
19692
+ }
19693
+ }
19694
+ },
19695
+ "required": [
19696
+ "op",
19697
+ "fieldKey"
19698
+ ],
19699
+ "additionalProperties": false
19700
+ },
19701
+ {
19702
+ "type": "object",
19703
+ "properties": {
19704
+ "op": {
19705
+ "type": "string",
19706
+ "const": "relation"
19707
+ },
19708
+ "relationKind": {
19709
+ "type": "string",
19710
+ "minLength": 1,
19711
+ "maxLength": 256
19712
+ },
19713
+ "objectKind": {
19714
+ "type": "string",
19715
+ "minLength": 1,
19716
+ "maxLength": 256
19717
+ },
19718
+ "objectId": {
19719
+ "type": "string",
19720
+ "minLength": 1,
19721
+ "maxLength": 256
19722
+ }
19723
+ },
19724
+ "required": [
19725
+ "op",
19726
+ "relationKind",
19727
+ "objectKind",
19728
+ "objectId"
19729
+ ],
19730
+ "additionalProperties": false
19731
+ }
19732
+ ]
19733
+ },
19734
+ "__schema3": {
17445
19735
  "anyOf": [
17446
19736
  {
17447
19737
  "type": "object",
@@ -17548,7 +19838,7 @@
17548
19838
  "maxItems": 32,
17549
19839
  "type": "array",
17550
19840
  "items": {
17551
- "$ref": "#/$defs/__schema2"
19841
+ "$ref": "#/$defs/__schema3"
17552
19842
  }
17553
19843
  }
17554
19844
  },
@@ -17567,13 +19857,13 @@
17567
19857
  "const": "conditional"
17568
19858
  },
17569
19859
  "condition": {
17570
- "$ref": "#/$defs/__schema2"
19860
+ "$ref": "#/$defs/__schema3"
17571
19861
  },
17572
19862
  "then": {
17573
- "$ref": "#/$defs/__schema2"
19863
+ "$ref": "#/$defs/__schema3"
17574
19864
  },
17575
19865
  "else": {
17576
- "$ref": "#/$defs/__schema2"
19866
+ "$ref": "#/$defs/__schema3"
17577
19867
  }
17578
19868
  },
17579
19869
  "required": [
@@ -17599,7 +19889,7 @@
17599
19889
  "maxLength": 256
17600
19890
  },
17601
19891
  "additionalProperties": {
17602
- "$ref": "#/$defs/__schema2"
19892
+ "$ref": "#/$defs/__schema3"
17603
19893
  }
17604
19894
  }
17605
19895
  },
@@ -17620,7 +19910,7 @@
17620
19910
  "maxItems": 1000,
17621
19911
  "type": "array",
17622
19912
  "items": {
17623
- "$ref": "#/$defs/__schema2"
19913
+ "$ref": "#/$defs/__schema3"
17624
19914
  }
17625
19915
  }
17626
19916
  },
@@ -17638,10 +19928,10 @@
17638
19928
  "const": "map"
17639
19929
  },
17640
19930
  "source": {
17641
- "$ref": "#/$defs/__schema2"
19931
+ "$ref": "#/$defs/__schema3"
17642
19932
  },
17643
19933
  "value": {
17644
- "$ref": "#/$defs/__schema2"
19934
+ "$ref": "#/$defs/__schema3"
17645
19935
  }
17646
19936
  },
17647
19937
  "required": [
@@ -17659,10 +19949,10 @@
17659
19949
  "const": "filter"
17660
19950
  },
17661
19951
  "source": {
17662
- "$ref": "#/$defs/__schema2"
19952
+ "$ref": "#/$defs/__schema3"
17663
19953
  },
17664
19954
  "value": {
17665
- "$ref": "#/$defs/__schema2"
19955
+ "$ref": "#/$defs/__schema3"
17666
19956
  }
17667
19957
  },
17668
19958
  "required": [
@@ -17680,10 +19970,10 @@
17680
19970
  "const": "sum"
17681
19971
  },
17682
19972
  "source": {
17683
- "$ref": "#/$defs/__schema2"
19973
+ "$ref": "#/$defs/__schema3"
17684
19974
  },
17685
19975
  "value": {
17686
- "$ref": "#/$defs/__schema2"
19976
+ "$ref": "#/$defs/__schema3"
17687
19977
  }
17688
19978
  },
17689
19979
  "required": [