@objectstack/spec 0.1.0 → 0.1.1
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.
- package/README.md +66 -125
- package/dist/ai/agent.zod.d.ts +164 -0
- package/dist/ai/agent.zod.d.ts.map +1 -0
- package/dist/ai/agent.zod.js +51 -0
- package/dist/data/dataset.zod.d.ts +60 -0
- package/dist/data/dataset.zod.d.ts.map +1 -0
- package/dist/data/dataset.zod.js +54 -0
- package/dist/data/field.zod.d.ts +170 -0
- package/dist/data/field.zod.d.ts.map +1 -0
- package/dist/data/field.zod.js +81 -0
- package/dist/data/flow.zod.d.ts +242 -0
- package/dist/data/flow.zod.d.ts.map +1 -0
- package/dist/data/flow.zod.js +77 -0
- package/dist/data/mapping.zod.d.ts +257 -0
- package/dist/data/mapping.zod.d.ts.map +1 -0
- package/dist/data/mapping.zod.js +65 -0
- package/dist/data/object.zod.d.ts +364 -0
- package/dist/data/object.zod.d.ts.map +1 -0
- package/dist/data/object.zod.js +54 -0
- package/dist/data/permission.zod.d.ts +163 -0
- package/dist/data/permission.zod.d.ts.map +1 -0
- package/dist/data/permission.zod.js +62 -0
- package/dist/data/query.zod.d.ts +89 -0
- package/dist/data/query.zod.d.ts.map +1 -0
- package/dist/data/query.zod.js +71 -0
- package/dist/data/sharing.zod.d.ts +63 -0
- package/dist/data/sharing.zod.d.ts.map +1 -0
- package/dist/data/sharing.zod.js +57 -0
- package/dist/data/validation.zod.d.ts +236 -0
- package/dist/data/validation.zod.d.ts.map +1 -0
- package/dist/data/validation.zod.js +59 -0
- package/dist/data/workflow.zod.d.ts +195 -0
- package/dist/data/workflow.zod.d.ts.map +1 -0
- package/dist/data/workflow.zod.js +64 -0
- package/dist/index.d.ts +33 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +53 -5
- package/dist/system/api.zod.d.ts +168 -0
- package/dist/system/api.zod.d.ts.map +1 -0
- package/dist/system/api.zod.js +53 -0
- package/dist/system/constants/index.d.ts +11 -0
- package/dist/system/constants/index.d.ts.map +1 -0
- package/dist/system/constants/index.js +26 -0
- package/dist/system/constants/paths.d.ts +71 -0
- package/dist/system/constants/paths.d.ts.map +1 -0
- package/dist/system/constants/paths.js +65 -0
- package/dist/system/datasource.zod.d.ts +127 -0
- package/dist/system/datasource.zod.d.ts.map +1 -0
- package/dist/system/datasource.zod.js +62 -0
- package/dist/system/identity.zod.d.ts +204 -0
- package/dist/system/identity.zod.d.ts.map +1 -0
- package/dist/system/identity.zod.js +68 -0
- package/dist/system/license.zod.d.ts +110 -0
- package/dist/system/license.zod.d.ts.map +1 -0
- package/dist/system/license.zod.js +63 -0
- package/dist/system/manifest.zod.d.ts +126 -0
- package/dist/system/manifest.zod.d.ts.map +1 -0
- package/dist/system/manifest.zod.js +68 -0
- package/dist/system/policy.zod.d.ts +209 -0
- package/dist/system/policy.zod.d.ts.map +1 -0
- package/dist/system/policy.zod.js +54 -0
- package/dist/system/role.zod.d.ts +34 -0
- package/dist/system/role.zod.d.ts.map +1 -0
- package/dist/system/role.zod.js +25 -0
- package/dist/system/territory.zod.d.ts +91 -0
- package/dist/system/territory.zod.d.ts.map +1 -0
- package/dist/system/territory.zod.js +64 -0
- package/dist/system/translation.zod.d.ts +171 -0
- package/dist/system/translation.zod.d.ts.map +1 -0
- package/dist/system/translation.zod.js +34 -0
- package/dist/system/types/index.d.ts +7 -0
- package/dist/system/types/index.d.ts.map +1 -0
- package/dist/system/types/index.js +22 -0
- package/dist/system/types/plugin.d.ts +113 -0
- package/dist/system/types/plugin.d.ts.map +1 -0
- package/dist/system/types/plugin.js +6 -0
- package/dist/system/webhook.zod.d.ts +106 -0
- package/dist/system/webhook.zod.d.ts.map +1 -0
- package/dist/system/webhook.zod.js +56 -0
- package/dist/ui/action.zod.d.ts +148 -0
- package/dist/ui/action.zod.d.ts.map +1 -0
- package/dist/ui/action.zod.js +48 -0
- package/dist/ui/app.zod.d.ts +299 -0
- package/dist/ui/app.zod.d.ts.map +1 -0
- package/dist/ui/app.zod.js +127 -0
- package/dist/ui/dashboard.zod.d.ts +207 -0
- package/dist/ui/dashboard.zod.d.ts.map +1 -0
- package/dist/ui/dashboard.zod.js +66 -0
- package/dist/ui/page.zod.d.ts +187 -0
- package/dist/ui/page.zod.d.ts.map +1 -0
- package/dist/ui/page.zod.js +48 -0
- package/dist/ui/report.zod.d.ts +224 -0
- package/dist/ui/report.zod.d.ts.map +1 -0
- package/dist/ui/report.zod.js +68 -0
- package/dist/ui/view.zod.d.ts +887 -0
- package/dist/ui/view.zod.d.ts.map +1 -0
- package/dist/ui/view.zod.js +83 -0
- package/json-schema/AIKnowledge.json +30 -0
- package/json-schema/AIModelConfig.json +41 -0
- package/json-schema/AITool.json +33 -0
- package/json-schema/Action.json +156 -0
- package/json-schema/ActionParam.json +76 -0
- package/json-schema/Agent.json +140 -0
- package/json-schema/ApiEndpoint.json +162 -0
- package/json-schema/ApiMapping.json +28 -0
- package/json-schema/App.json +286 -0
- package/json-schema/AppBranding.json +24 -0
- package/json-schema/AuditPolicy.json +31 -0
- package/json-schema/AuthProtocol.json +17 -0
- package/json-schema/AuthProvider.json +171 -0
- package/json-schema/CalendarConfig.json +28 -0
- package/json-schema/ChartType.json +19 -0
- package/json-schema/Dashboard.json +117 -0
- package/json-schema/DashboardNavItem.json +42 -0
- package/json-schema/DashboardWidget.json +89 -0
- package/json-schema/Dataset.json +63 -0
- package/json-schema/DatasetMode.json +16 -0
- package/json-schema/Datasource.json +93 -0
- package/json-schema/DatasourceCapabilities.json +36 -0
- package/json-schema/DriverType.json +27 -0
- package/json-schema/EmailAlertAction.json +37 -0
- package/json-schema/Feature.json +51 -0
- package/json-schema/Field.json +219 -0
- package/json-schema/FieldMapping.json +83 -0
- package/json-schema/FieldNode.json +32 -0
- package/json-schema/FieldPermission.json +22 -0
- package/json-schema/FieldType.json +36 -0
- package/json-schema/FieldUpdateAction.json +32 -0
- package/json-schema/FilterNode.json +52 -0
- package/json-schema/FilterOperator.json +26 -0
- package/json-schema/Flow.json +186 -0
- package/json-schema/FlowEdge.json +37 -0
- package/json-schema/FlowNode.json +65 -0
- package/json-schema/FlowNodeAction.json +24 -0
- package/json-schema/FlowVariable.json +34 -0
- package/json-schema/FormSection.json +42 -0
- package/json-schema/FormView.json +99 -0
- package/json-schema/FormatValidation.json +59 -0
- package/json-schema/GanttConfig.json +32 -0
- package/json-schema/GroupNavItem.json +42 -0
- package/json-schema/HttpMethod.json +16 -0
- package/json-schema/Index.json +30 -0
- package/json-schema/KanbanConfig.json +31 -0
- package/json-schema/LDAPConfig.json +39 -0
- package/json-schema/License.json +57 -0
- package/json-schema/ListView.json +153 -0
- package/json-schema/Locale.json +10 -0
- package/json-schema/LogicOperator.json +14 -0
- package/json-schema/Manifest.json +90 -0
- package/json-schema/Mapping.json +270 -0
- package/json-schema/MenuItem.json +28 -0
- package/json-schema/MetricType.json +14 -0
- package/json-schema/NavigationItem.json +214 -0
- package/json-schema/NetworkPolicy.json +31 -0
- package/json-schema/OIDCConfig.json +46 -0
- package/json-schema/OWDModel.json +14 -0
- package/json-schema/Object.json +331 -0
- package/json-schema/ObjectCapabilities.json +36 -0
- package/json-schema/ObjectNavItem.json +46 -0
- package/json-schema/ObjectPermission.json +42 -0
- package/json-schema/Page.json +117 -0
- package/json-schema/PageComponent.json +36 -0
- package/json-schema/PageNavItem.json +47 -0
- package/json-schema/PageRegion.json +63 -0
- package/json-schema/PasswordPolicy.json +41 -0
- package/json-schema/PermissionSet.json +96 -0
- package/json-schema/Plan.json +53 -0
- package/json-schema/Policy.json +138 -0
- package/json-schema/Query.json +128 -0
- package/json-schema/RateLimit.json +26 -0
- package/json-schema/Report.json +219 -0
- package/json-schema/ReportChart.json +45 -0
- package/json-schema/ReportColumn.json +35 -0
- package/json-schema/ReportGrouping.json +38 -0
- package/json-schema/ReportType.json +15 -0
- package/json-schema/Role.json +32 -0
- package/json-schema/SAMLConfig.json +44 -0
- package/json-schema/ScriptValidation.json +48 -0
- package/json-schema/SelectOption.json +32 -0
- package/json-schema/SessionPolicy.json +27 -0
- package/json-schema/SharingLevel.json +13 -0
- package/json-schema/SharingRule.json +58 -0
- package/json-schema/SharingRuleType.json +15 -0
- package/json-schema/SortNode.json +26 -0
- package/json-schema/StateMachineValidation.json +59 -0
- package/json-schema/Territory.json +77 -0
- package/json-schema/TerritoryModel.json +34 -0
- package/json-schema/TerritoryType.json +15 -0
- package/json-schema/TransformType.json +18 -0
- package/json-schema/TranslationBundle.json +78 -0
- package/json-schema/TranslationData.json +75 -0
- package/json-schema/UniquenessValidation.json +59 -0
- package/json-schema/UrlNavItem.json +51 -0
- package/json-schema/ValidationRule.json +211 -0
- package/json-schema/View.json +500 -0
- package/json-schema/Webhook.json +88 -0
- package/json-schema/WebhookReceiver.json +66 -0
- package/json-schema/WebhookTriggerType.json +16 -0
- package/json-schema/WorkflowAction.json +84 -0
- package/json-schema/WorkflowRule.json +128 -0
- package/json-schema/WorkflowTriggerType.json +16 -0
- package/package.json +28 -19
- package/dist/examples.d.ts +0 -28
- package/dist/examples.d.ts.map +0 -1
- package/dist/examples.js +0 -250
- package/dist/types/index.d.ts +0 -9
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -8
- package/dist/types/meta/field-type.d.ts +0 -54
- package/dist/types/meta/field-type.d.ts.map +0 -1
- package/dist/types/meta/field-type.js +0 -42
- package/dist/types/meta/index.d.ts +0 -13
- package/dist/types/meta/index.d.ts.map +0 -1
- package/dist/types/meta/index.js +0 -12
- package/dist/types/meta/object-entity.d.ts +0 -246
- package/dist/types/meta/object-entity.d.ts.map +0 -1
- package/dist/types/meta/object-entity.js +0 -9
- package/dist/types/meta/object-field.d.ts +0 -199
- package/dist/types/meta/object-field.d.ts.map +0 -1
- package/dist/types/meta/object-field.js +0 -9
- package/dist/types/meta/object-view.d.ts +0 -430
- package/dist/types/meta/object-view.d.ts.map +0 -1
- package/dist/types/meta/object-view.js +0 -9
- package/src/examples.ts +0 -257
- package/src/index.ts +0 -10
- package/src/types/index.ts +0 -9
- package/src/types/meta/field-type.ts +0 -91
- package/src/types/meta/index.ts +0 -13
- package/src/types/meta/object-entity.ts +0 -265
- package/src/types/meta/object-field.ts +0 -218
- package/src/types/meta/object-view.ts +0 -475
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/Query",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"Query": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"object": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Object name (e.g. account)"
|
|
10
|
+
},
|
|
11
|
+
"fields": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": {
|
|
14
|
+
"anyOf": [
|
|
15
|
+
{
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"field": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"fields": {
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {}
|
|
27
|
+
},
|
|
28
|
+
"alias": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"required": [
|
|
33
|
+
"field"
|
|
34
|
+
],
|
|
35
|
+
"additionalProperties": false
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"description": "Fields to retrieve"
|
|
40
|
+
},
|
|
41
|
+
"filters": {
|
|
42
|
+
"anyOf": [
|
|
43
|
+
{
|
|
44
|
+
"type": "array",
|
|
45
|
+
"minItems": 3,
|
|
46
|
+
"maxItems": 3,
|
|
47
|
+
"items": [
|
|
48
|
+
{
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "string",
|
|
53
|
+
"enum": [
|
|
54
|
+
"=",
|
|
55
|
+
"!=",
|
|
56
|
+
"<>",
|
|
57
|
+
">",
|
|
58
|
+
">=",
|
|
59
|
+
"<",
|
|
60
|
+
"<=",
|
|
61
|
+
"startswith",
|
|
62
|
+
"contains",
|
|
63
|
+
"notcontains",
|
|
64
|
+
"between",
|
|
65
|
+
"in",
|
|
66
|
+
"notin",
|
|
67
|
+
"is_null",
|
|
68
|
+
"is_not_null"
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
{}
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"type": "array",
|
|
76
|
+
"items": {
|
|
77
|
+
"anyOf": [
|
|
78
|
+
{
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
{}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"description": "Filtering criteria"
|
|
87
|
+
},
|
|
88
|
+
"sort": {
|
|
89
|
+
"type": "array",
|
|
90
|
+
"items": {
|
|
91
|
+
"type": "object",
|
|
92
|
+
"properties": {
|
|
93
|
+
"field": {
|
|
94
|
+
"type": "string"
|
|
95
|
+
},
|
|
96
|
+
"order": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"enum": [
|
|
99
|
+
"asc",
|
|
100
|
+
"desc"
|
|
101
|
+
],
|
|
102
|
+
"default": "asc"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"required": [
|
|
106
|
+
"field"
|
|
107
|
+
],
|
|
108
|
+
"additionalProperties": false
|
|
109
|
+
},
|
|
110
|
+
"description": "Sorting instructions"
|
|
111
|
+
},
|
|
112
|
+
"top": {
|
|
113
|
+
"type": "number",
|
|
114
|
+
"description": "Limit results"
|
|
115
|
+
},
|
|
116
|
+
"skip": {
|
|
117
|
+
"type": "number",
|
|
118
|
+
"description": "Offset results"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": [
|
|
122
|
+
"object"
|
|
123
|
+
],
|
|
124
|
+
"additionalProperties": false
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
128
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/RateLimit",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"RateLimit": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"enabled": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"default": false
|
|
10
|
+
},
|
|
11
|
+
"windowMs": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"default": 60000,
|
|
14
|
+
"description": "Time window in milliseconds"
|
|
15
|
+
},
|
|
16
|
+
"maxRequests": {
|
|
17
|
+
"type": "number",
|
|
18
|
+
"default": 100,
|
|
19
|
+
"description": "Max requests per window"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"additionalProperties": false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
26
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/Report",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"Report": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
10
|
+
"description": "Report unique name"
|
|
11
|
+
},
|
|
12
|
+
"label": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Report label"
|
|
15
|
+
},
|
|
16
|
+
"description": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"objectName": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Primary object"
|
|
22
|
+
},
|
|
23
|
+
"type": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": [
|
|
26
|
+
"tabular",
|
|
27
|
+
"summary",
|
|
28
|
+
"matrix",
|
|
29
|
+
"joined"
|
|
30
|
+
],
|
|
31
|
+
"default": "tabular",
|
|
32
|
+
"description": "Report format type"
|
|
33
|
+
},
|
|
34
|
+
"columns": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"field": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "Field name"
|
|
42
|
+
},
|
|
43
|
+
"label": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"description": "Override label"
|
|
46
|
+
},
|
|
47
|
+
"aggregate": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": [
|
|
50
|
+
"sum",
|
|
51
|
+
"avg",
|
|
52
|
+
"max",
|
|
53
|
+
"min",
|
|
54
|
+
"count",
|
|
55
|
+
"unique"
|
|
56
|
+
],
|
|
57
|
+
"description": "Aggregation function"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [
|
|
61
|
+
"field"
|
|
62
|
+
],
|
|
63
|
+
"additionalProperties": false
|
|
64
|
+
},
|
|
65
|
+
"description": "Columns to display"
|
|
66
|
+
},
|
|
67
|
+
"groupingsDown": {
|
|
68
|
+
"type": "array",
|
|
69
|
+
"items": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"field": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "Field to group by"
|
|
75
|
+
},
|
|
76
|
+
"sortOrder": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"enum": [
|
|
79
|
+
"asc",
|
|
80
|
+
"desc"
|
|
81
|
+
],
|
|
82
|
+
"default": "asc"
|
|
83
|
+
},
|
|
84
|
+
"dateGranularity": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"enum": [
|
|
87
|
+
"day",
|
|
88
|
+
"week",
|
|
89
|
+
"month",
|
|
90
|
+
"quarter",
|
|
91
|
+
"year"
|
|
92
|
+
],
|
|
93
|
+
"description": "For date fields"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"required": [
|
|
97
|
+
"field"
|
|
98
|
+
],
|
|
99
|
+
"additionalProperties": false
|
|
100
|
+
},
|
|
101
|
+
"description": "Row groupings"
|
|
102
|
+
},
|
|
103
|
+
"groupingsAcross": {
|
|
104
|
+
"type": "array",
|
|
105
|
+
"items": {
|
|
106
|
+
"type": "object",
|
|
107
|
+
"properties": {
|
|
108
|
+
"field": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"description": "Field to group by"
|
|
111
|
+
},
|
|
112
|
+
"sortOrder": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"enum": [
|
|
115
|
+
"asc",
|
|
116
|
+
"desc"
|
|
117
|
+
],
|
|
118
|
+
"default": "asc"
|
|
119
|
+
},
|
|
120
|
+
"dateGranularity": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"enum": [
|
|
123
|
+
"day",
|
|
124
|
+
"week",
|
|
125
|
+
"month",
|
|
126
|
+
"quarter",
|
|
127
|
+
"year"
|
|
128
|
+
],
|
|
129
|
+
"description": "For date fields"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"required": [
|
|
133
|
+
"field"
|
|
134
|
+
],
|
|
135
|
+
"additionalProperties": false
|
|
136
|
+
},
|
|
137
|
+
"description": "Column groupings (Matrix only)"
|
|
138
|
+
},
|
|
139
|
+
"filter": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"description": "Filter logic (e.g. \"1 AND (2 OR 3)\")"
|
|
142
|
+
},
|
|
143
|
+
"filterItems": {
|
|
144
|
+
"type": "array",
|
|
145
|
+
"items": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"properties": {
|
|
148
|
+
"id": {
|
|
149
|
+
"type": "number"
|
|
150
|
+
},
|
|
151
|
+
"field": {
|
|
152
|
+
"type": "string"
|
|
153
|
+
},
|
|
154
|
+
"operator": {
|
|
155
|
+
"type": "string"
|
|
156
|
+
},
|
|
157
|
+
"value": {}
|
|
158
|
+
},
|
|
159
|
+
"required": [
|
|
160
|
+
"id",
|
|
161
|
+
"field",
|
|
162
|
+
"operator"
|
|
163
|
+
],
|
|
164
|
+
"additionalProperties": false
|
|
165
|
+
},
|
|
166
|
+
"description": "Filter criteria lines"
|
|
167
|
+
},
|
|
168
|
+
"chart": {
|
|
169
|
+
"type": "object",
|
|
170
|
+
"properties": {
|
|
171
|
+
"type": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"enum": [
|
|
174
|
+
"bar",
|
|
175
|
+
"column",
|
|
176
|
+
"line",
|
|
177
|
+
"pie",
|
|
178
|
+
"donut",
|
|
179
|
+
"scatter",
|
|
180
|
+
"funnel"
|
|
181
|
+
],
|
|
182
|
+
"description": "Chart type"
|
|
183
|
+
},
|
|
184
|
+
"title": {
|
|
185
|
+
"type": "string"
|
|
186
|
+
},
|
|
187
|
+
"showLegend": {
|
|
188
|
+
"type": "boolean",
|
|
189
|
+
"default": true
|
|
190
|
+
},
|
|
191
|
+
"xAxis": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"description": "Grouping field for X-Axis"
|
|
194
|
+
},
|
|
195
|
+
"yAxis": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"description": "Summary field for Y-Axis"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"required": [
|
|
201
|
+
"type",
|
|
202
|
+
"xAxis",
|
|
203
|
+
"yAxis"
|
|
204
|
+
],
|
|
205
|
+
"additionalProperties": false,
|
|
206
|
+
"description": "Embedded chart configuration"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
"required": [
|
|
210
|
+
"name",
|
|
211
|
+
"label",
|
|
212
|
+
"objectName",
|
|
213
|
+
"columns"
|
|
214
|
+
],
|
|
215
|
+
"additionalProperties": false
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
219
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ReportChart",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ReportChart": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"bar",
|
|
11
|
+
"column",
|
|
12
|
+
"line",
|
|
13
|
+
"pie",
|
|
14
|
+
"donut",
|
|
15
|
+
"scatter",
|
|
16
|
+
"funnel"
|
|
17
|
+
],
|
|
18
|
+
"description": "Chart type"
|
|
19
|
+
},
|
|
20
|
+
"title": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"showLegend": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"default": true
|
|
26
|
+
},
|
|
27
|
+
"xAxis": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Grouping field for X-Axis"
|
|
30
|
+
},
|
|
31
|
+
"yAxis": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "Summary field for Y-Axis"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"type",
|
|
38
|
+
"xAxis",
|
|
39
|
+
"yAxis"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
45
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ReportColumn",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ReportColumn": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"field": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Field name"
|
|
10
|
+
},
|
|
11
|
+
"label": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Override label"
|
|
14
|
+
},
|
|
15
|
+
"aggregate": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"enum": [
|
|
18
|
+
"sum",
|
|
19
|
+
"avg",
|
|
20
|
+
"max",
|
|
21
|
+
"min",
|
|
22
|
+
"count",
|
|
23
|
+
"unique"
|
|
24
|
+
],
|
|
25
|
+
"description": "Aggregation function"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": [
|
|
29
|
+
"field"
|
|
30
|
+
],
|
|
31
|
+
"additionalProperties": false
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
35
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ReportGrouping",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ReportGrouping": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"field": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Field to group by"
|
|
10
|
+
},
|
|
11
|
+
"sortOrder": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"enum": [
|
|
14
|
+
"asc",
|
|
15
|
+
"desc"
|
|
16
|
+
],
|
|
17
|
+
"default": "asc"
|
|
18
|
+
},
|
|
19
|
+
"dateGranularity": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"enum": [
|
|
22
|
+
"day",
|
|
23
|
+
"week",
|
|
24
|
+
"month",
|
|
25
|
+
"quarter",
|
|
26
|
+
"year"
|
|
27
|
+
],
|
|
28
|
+
"description": "For date fields"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": [
|
|
32
|
+
"field"
|
|
33
|
+
],
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
38
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/Role",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"Role": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
10
|
+
"description": "Unique role name"
|
|
11
|
+
},
|
|
12
|
+
"label": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Display label (e.g. VP of Sales)"
|
|
15
|
+
},
|
|
16
|
+
"parent": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Parent Role ID (Reports To)"
|
|
19
|
+
},
|
|
20
|
+
"description": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": [
|
|
25
|
+
"name",
|
|
26
|
+
"label"
|
|
27
|
+
],
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
32
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/SAMLConfig",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"SAMLConfig": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"entryPoint": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "uri",
|
|
10
|
+
"description": "IdP SSO URL"
|
|
11
|
+
},
|
|
12
|
+
"cert": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "IdP Public Certificate"
|
|
15
|
+
},
|
|
16
|
+
"issuer": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "Entity ID of the IdP"
|
|
19
|
+
},
|
|
20
|
+
"signatureAlgorithm": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"enum": [
|
|
23
|
+
"sha256",
|
|
24
|
+
"sha512"
|
|
25
|
+
],
|
|
26
|
+
"default": "sha256"
|
|
27
|
+
},
|
|
28
|
+
"attributeMapping": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"additionalProperties": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": [
|
|
36
|
+
"entryPoint",
|
|
37
|
+
"cert",
|
|
38
|
+
"issuer"
|
|
39
|
+
],
|
|
40
|
+
"additionalProperties": false
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
44
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/ScriptValidation",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"ScriptValidation": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
10
|
+
"description": "Unique rule name"
|
|
11
|
+
},
|
|
12
|
+
"active": {
|
|
13
|
+
"type": "boolean",
|
|
14
|
+
"default": true
|
|
15
|
+
},
|
|
16
|
+
"severity": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"enum": [
|
|
19
|
+
"error",
|
|
20
|
+
"warning",
|
|
21
|
+
"info"
|
|
22
|
+
],
|
|
23
|
+
"default": "error"
|
|
24
|
+
},
|
|
25
|
+
"message": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Error message to display"
|
|
28
|
+
},
|
|
29
|
+
"type": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"const": "script"
|
|
32
|
+
},
|
|
33
|
+
"condition": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"description": "Formula expression. If TRUE, validation fails. (e.g. amount < 0)"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": [
|
|
39
|
+
"name",
|
|
40
|
+
"message",
|
|
41
|
+
"type",
|
|
42
|
+
"condition"
|
|
43
|
+
],
|
|
44
|
+
"additionalProperties": false
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
48
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/SelectOption",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"SelectOption": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"label": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Display label"
|
|
10
|
+
},
|
|
11
|
+
"value": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Stored value"
|
|
14
|
+
},
|
|
15
|
+
"color": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Color code for badges/charts"
|
|
18
|
+
},
|
|
19
|
+
"default": {
|
|
20
|
+
"type": "boolean",
|
|
21
|
+
"description": "Is default option"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"required": [
|
|
25
|
+
"label",
|
|
26
|
+
"value"
|
|
27
|
+
],
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
32
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/SessionPolicy",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"SessionPolicy": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"idleTimeout": {
|
|
8
|
+
"type": "number",
|
|
9
|
+
"default": 30,
|
|
10
|
+
"description": "Minutes before idle session logout"
|
|
11
|
+
},
|
|
12
|
+
"absoluteTimeout": {
|
|
13
|
+
"type": "number",
|
|
14
|
+
"default": 480,
|
|
15
|
+
"description": "Max session duration (minutes)"
|
|
16
|
+
},
|
|
17
|
+
"forceMfa": {
|
|
18
|
+
"type": "boolean",
|
|
19
|
+
"default": false,
|
|
20
|
+
"description": "Require 2FA for all users"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
27
|
+
}
|