@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,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/DriverType",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"DriverType": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"enum": [
|
|
7
|
+
"postgres",
|
|
8
|
+
"mysql",
|
|
9
|
+
"sqlserver",
|
|
10
|
+
"oracle",
|
|
11
|
+
"sqlite",
|
|
12
|
+
"mongo",
|
|
13
|
+
"redis",
|
|
14
|
+
"excel",
|
|
15
|
+
"csv",
|
|
16
|
+
"airtable",
|
|
17
|
+
"rest_api",
|
|
18
|
+
"graphql",
|
|
19
|
+
"odata",
|
|
20
|
+
"salesforce",
|
|
21
|
+
"sap",
|
|
22
|
+
"workday"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
27
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/EmailAlertAction",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"EmailAlertAction": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Action name"
|
|
10
|
+
},
|
|
11
|
+
"type": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "email_alert"
|
|
14
|
+
},
|
|
15
|
+
"template": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Email template ID/DevName"
|
|
18
|
+
},
|
|
19
|
+
"recipients": {
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"description": "List of recipient emails or user IDs"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": [
|
|
28
|
+
"name",
|
|
29
|
+
"type",
|
|
30
|
+
"template",
|
|
31
|
+
"recipients"
|
|
32
|
+
],
|
|
33
|
+
"additionalProperties": false
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
37
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/Feature",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"Feature": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"code": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"pattern": "^[a-z_][a-z0-9_.]*$",
|
|
10
|
+
"description": "Feature code (e.g. core.api_access)"
|
|
11
|
+
},
|
|
12
|
+
"label": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"description": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"type": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"enum": [
|
|
21
|
+
"boolean",
|
|
22
|
+
"counter",
|
|
23
|
+
"gauge"
|
|
24
|
+
],
|
|
25
|
+
"default": "boolean"
|
|
26
|
+
},
|
|
27
|
+
"unit": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": [
|
|
30
|
+
"count",
|
|
31
|
+
"bytes",
|
|
32
|
+
"seconds",
|
|
33
|
+
"percent"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"requires": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"code",
|
|
45
|
+
"label"
|
|
46
|
+
],
|
|
47
|
+
"additionalProperties": false
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
51
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/Field",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"Field": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
10
|
+
"description": "Machine name (snake_case)"
|
|
11
|
+
},
|
|
12
|
+
"label": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "Human readable label"
|
|
15
|
+
},
|
|
16
|
+
"type": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"enum": [
|
|
19
|
+
"text",
|
|
20
|
+
"textarea",
|
|
21
|
+
"email",
|
|
22
|
+
"url",
|
|
23
|
+
"phone",
|
|
24
|
+
"password",
|
|
25
|
+
"markdown",
|
|
26
|
+
"html",
|
|
27
|
+
"number",
|
|
28
|
+
"currency",
|
|
29
|
+
"percent",
|
|
30
|
+
"date",
|
|
31
|
+
"datetime",
|
|
32
|
+
"time",
|
|
33
|
+
"boolean",
|
|
34
|
+
"select",
|
|
35
|
+
"multiselect",
|
|
36
|
+
"lookup",
|
|
37
|
+
"master_detail",
|
|
38
|
+
"image",
|
|
39
|
+
"file",
|
|
40
|
+
"avatar",
|
|
41
|
+
"formula",
|
|
42
|
+
"summary",
|
|
43
|
+
"autonumber"
|
|
44
|
+
],
|
|
45
|
+
"description": "Field Data Type"
|
|
46
|
+
},
|
|
47
|
+
"description": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "Tooltip/Help text"
|
|
50
|
+
},
|
|
51
|
+
"required": {
|
|
52
|
+
"type": "boolean",
|
|
53
|
+
"default": false,
|
|
54
|
+
"description": "Is required"
|
|
55
|
+
},
|
|
56
|
+
"multiple": {
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"default": false,
|
|
59
|
+
"description": "Allow multiple values (Stores as Array/JSON). Applicable for select, lookup, file, image."
|
|
60
|
+
},
|
|
61
|
+
"unique": {
|
|
62
|
+
"type": "boolean",
|
|
63
|
+
"default": false,
|
|
64
|
+
"description": "Is unique constraint"
|
|
65
|
+
},
|
|
66
|
+
"defaultValue": {
|
|
67
|
+
"description": "Default value"
|
|
68
|
+
},
|
|
69
|
+
"maxLength": {
|
|
70
|
+
"type": "number",
|
|
71
|
+
"description": "Max character length"
|
|
72
|
+
},
|
|
73
|
+
"minLength": {
|
|
74
|
+
"type": "number",
|
|
75
|
+
"description": "Min character length"
|
|
76
|
+
},
|
|
77
|
+
"precision": {
|
|
78
|
+
"type": "number",
|
|
79
|
+
"description": "Total digits"
|
|
80
|
+
},
|
|
81
|
+
"scale": {
|
|
82
|
+
"type": "number",
|
|
83
|
+
"description": "Decimal places"
|
|
84
|
+
},
|
|
85
|
+
"min": {
|
|
86
|
+
"type": "number",
|
|
87
|
+
"description": "Minimum value"
|
|
88
|
+
},
|
|
89
|
+
"max": {
|
|
90
|
+
"type": "number",
|
|
91
|
+
"description": "Maximum value"
|
|
92
|
+
},
|
|
93
|
+
"options": {
|
|
94
|
+
"type": "array",
|
|
95
|
+
"items": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"properties": {
|
|
98
|
+
"label": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"description": "Display label"
|
|
101
|
+
},
|
|
102
|
+
"value": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"description": "Stored value"
|
|
105
|
+
},
|
|
106
|
+
"color": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"description": "Color code for badges/charts"
|
|
109
|
+
},
|
|
110
|
+
"default": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"description": "Is default option"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"required": [
|
|
116
|
+
"label",
|
|
117
|
+
"value"
|
|
118
|
+
],
|
|
119
|
+
"additionalProperties": false
|
|
120
|
+
},
|
|
121
|
+
"description": "Static options for select/multiselect"
|
|
122
|
+
},
|
|
123
|
+
"reference": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "Target Object Name"
|
|
126
|
+
},
|
|
127
|
+
"referenceFilters": {
|
|
128
|
+
"type": "array",
|
|
129
|
+
"items": {
|
|
130
|
+
"type": "string"
|
|
131
|
+
},
|
|
132
|
+
"description": "Filters applied to lookup dialogs (e.g. \"active = true\")"
|
|
133
|
+
},
|
|
134
|
+
"writeRequiresMasterRead": {
|
|
135
|
+
"type": "boolean",
|
|
136
|
+
"description": "If true, user needs read access to master record to edit this field"
|
|
137
|
+
},
|
|
138
|
+
"deleteBehavior": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"enum": [
|
|
141
|
+
"set_null",
|
|
142
|
+
"cascade",
|
|
143
|
+
"restrict"
|
|
144
|
+
],
|
|
145
|
+
"default": "set_null",
|
|
146
|
+
"description": "What happens if referenced record is deleted"
|
|
147
|
+
},
|
|
148
|
+
"expression": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"description": "Formula expression"
|
|
151
|
+
},
|
|
152
|
+
"formula": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"description": "Deprecated: Use expression"
|
|
155
|
+
},
|
|
156
|
+
"summaryOperations": {
|
|
157
|
+
"type": "object",
|
|
158
|
+
"properties": {
|
|
159
|
+
"object": {
|
|
160
|
+
"type": "string"
|
|
161
|
+
},
|
|
162
|
+
"field": {
|
|
163
|
+
"type": "string"
|
|
164
|
+
},
|
|
165
|
+
"function": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"enum": [
|
|
168
|
+
"count",
|
|
169
|
+
"sum",
|
|
170
|
+
"min",
|
|
171
|
+
"max",
|
|
172
|
+
"avg"
|
|
173
|
+
]
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"required": [
|
|
177
|
+
"object",
|
|
178
|
+
"field",
|
|
179
|
+
"function"
|
|
180
|
+
],
|
|
181
|
+
"additionalProperties": false,
|
|
182
|
+
"description": "Roll-up summary definition"
|
|
183
|
+
},
|
|
184
|
+
"hidden": {
|
|
185
|
+
"type": "boolean",
|
|
186
|
+
"default": false,
|
|
187
|
+
"description": "Hidden from default UI"
|
|
188
|
+
},
|
|
189
|
+
"readonly": {
|
|
190
|
+
"type": "boolean",
|
|
191
|
+
"default": false,
|
|
192
|
+
"description": "Read-only in UI"
|
|
193
|
+
},
|
|
194
|
+
"encryption": {
|
|
195
|
+
"type": "boolean",
|
|
196
|
+
"default": false,
|
|
197
|
+
"description": "Encrypt at rest"
|
|
198
|
+
},
|
|
199
|
+
"index": {
|
|
200
|
+
"type": "boolean",
|
|
201
|
+
"default": false,
|
|
202
|
+
"description": "Create standard database index"
|
|
203
|
+
},
|
|
204
|
+
"externalId": {
|
|
205
|
+
"type": "boolean",
|
|
206
|
+
"default": false,
|
|
207
|
+
"description": "Is external ID for upsert operations"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"required": [
|
|
211
|
+
"name",
|
|
212
|
+
"label",
|
|
213
|
+
"type"
|
|
214
|
+
],
|
|
215
|
+
"additionalProperties": false
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
219
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/FieldMapping",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"FieldMapping": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"source": {
|
|
8
|
+
"anyOf": [
|
|
9
|
+
{
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"type": "array",
|
|
14
|
+
"items": {
|
|
15
|
+
"type": "string"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"description": "Source column header(s)"
|
|
20
|
+
},
|
|
21
|
+
"target": {
|
|
22
|
+
"anyOf": [
|
|
23
|
+
{
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "array",
|
|
28
|
+
"items": {
|
|
29
|
+
"type": "string"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"description": "Target object field(s)"
|
|
34
|
+
},
|
|
35
|
+
"transform": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"enum": [
|
|
38
|
+
"none",
|
|
39
|
+
"constant",
|
|
40
|
+
"lookup",
|
|
41
|
+
"split",
|
|
42
|
+
"join",
|
|
43
|
+
"javascript",
|
|
44
|
+
"map"
|
|
45
|
+
],
|
|
46
|
+
"default": "none"
|
|
47
|
+
},
|
|
48
|
+
"params": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"properties": {
|
|
51
|
+
"value": {},
|
|
52
|
+
"object": {
|
|
53
|
+
"type": "string"
|
|
54
|
+
},
|
|
55
|
+
"fromField": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"toField": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
"autoCreate": {
|
|
62
|
+
"type": "boolean"
|
|
63
|
+
},
|
|
64
|
+
"valueMap": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"additionalProperties": {}
|
|
67
|
+
},
|
|
68
|
+
"separator": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"additionalProperties": false
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"required": [
|
|
76
|
+
"source",
|
|
77
|
+
"target"
|
|
78
|
+
],
|
|
79
|
+
"additionalProperties": false
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
83
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/FieldNode",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"FieldNode": {
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "string"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"type": "object",
|
|
11
|
+
"properties": {
|
|
12
|
+
"field": {
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"fields": {
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {}
|
|
18
|
+
},
|
|
19
|
+
"alias": {
|
|
20
|
+
"type": "string"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": [
|
|
24
|
+
"field"
|
|
25
|
+
],
|
|
26
|
+
"additionalProperties": false
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
32
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/FieldPermission",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"FieldPermission": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"readable": {
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"default": true,
|
|
10
|
+
"description": "Field read access"
|
|
11
|
+
},
|
|
12
|
+
"editable": {
|
|
13
|
+
"type": "boolean",
|
|
14
|
+
"default": false,
|
|
15
|
+
"description": "Field edit access"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"additionalProperties": false
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
22
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/FieldType",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"FieldType": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"enum": [
|
|
7
|
+
"text",
|
|
8
|
+
"textarea",
|
|
9
|
+
"email",
|
|
10
|
+
"url",
|
|
11
|
+
"phone",
|
|
12
|
+
"password",
|
|
13
|
+
"markdown",
|
|
14
|
+
"html",
|
|
15
|
+
"number",
|
|
16
|
+
"currency",
|
|
17
|
+
"percent",
|
|
18
|
+
"date",
|
|
19
|
+
"datetime",
|
|
20
|
+
"time",
|
|
21
|
+
"boolean",
|
|
22
|
+
"select",
|
|
23
|
+
"multiselect",
|
|
24
|
+
"lookup",
|
|
25
|
+
"master_detail",
|
|
26
|
+
"image",
|
|
27
|
+
"file",
|
|
28
|
+
"avatar",
|
|
29
|
+
"formula",
|
|
30
|
+
"summary",
|
|
31
|
+
"autonumber"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
36
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/FieldUpdateAction",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"FieldUpdateAction": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "Action name"
|
|
10
|
+
},
|
|
11
|
+
"type": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"const": "field_update"
|
|
14
|
+
},
|
|
15
|
+
"field": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Field to update"
|
|
18
|
+
},
|
|
19
|
+
"value": {
|
|
20
|
+
"description": "Value or Formula to set"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": [
|
|
24
|
+
"name",
|
|
25
|
+
"type",
|
|
26
|
+
"field"
|
|
27
|
+
],
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
32
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/FilterNode",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"FilterNode": {
|
|
5
|
+
"anyOf": [
|
|
6
|
+
{
|
|
7
|
+
"type": "array",
|
|
8
|
+
"minItems": 3,
|
|
9
|
+
"maxItems": 3,
|
|
10
|
+
"items": [
|
|
11
|
+
{
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"type": "string",
|
|
16
|
+
"enum": [
|
|
17
|
+
"=",
|
|
18
|
+
"!=",
|
|
19
|
+
"<>",
|
|
20
|
+
">",
|
|
21
|
+
">=",
|
|
22
|
+
"<",
|
|
23
|
+
"<=",
|
|
24
|
+
"startswith",
|
|
25
|
+
"contains",
|
|
26
|
+
"notcontains",
|
|
27
|
+
"between",
|
|
28
|
+
"in",
|
|
29
|
+
"notin",
|
|
30
|
+
"is_null",
|
|
31
|
+
"is_not_null"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{}
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "array",
|
|
39
|
+
"items": {
|
|
40
|
+
"anyOf": [
|
|
41
|
+
{
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
{}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
52
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/FilterOperator",
|
|
3
|
+
"definitions": {
|
|
4
|
+
"FilterOperator": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"enum": [
|
|
7
|
+
"=",
|
|
8
|
+
"!=",
|
|
9
|
+
"<>",
|
|
10
|
+
">",
|
|
11
|
+
">=",
|
|
12
|
+
"<",
|
|
13
|
+
"<=",
|
|
14
|
+
"startswith",
|
|
15
|
+
"contains",
|
|
16
|
+
"notcontains",
|
|
17
|
+
"between",
|
|
18
|
+
"in",
|
|
19
|
+
"notin",
|
|
20
|
+
"is_null",
|
|
21
|
+
"is_not_null"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
26
|
+
}
|