@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.
Files changed (231) hide show
  1. package/README.md +66 -125
  2. package/dist/ai/agent.zod.d.ts +164 -0
  3. package/dist/ai/agent.zod.d.ts.map +1 -0
  4. package/dist/ai/agent.zod.js +51 -0
  5. package/dist/data/dataset.zod.d.ts +60 -0
  6. package/dist/data/dataset.zod.d.ts.map +1 -0
  7. package/dist/data/dataset.zod.js +54 -0
  8. package/dist/data/field.zod.d.ts +170 -0
  9. package/dist/data/field.zod.d.ts.map +1 -0
  10. package/dist/data/field.zod.js +81 -0
  11. package/dist/data/flow.zod.d.ts +242 -0
  12. package/dist/data/flow.zod.d.ts.map +1 -0
  13. package/dist/data/flow.zod.js +77 -0
  14. package/dist/data/mapping.zod.d.ts +257 -0
  15. package/dist/data/mapping.zod.d.ts.map +1 -0
  16. package/dist/data/mapping.zod.js +65 -0
  17. package/dist/data/object.zod.d.ts +364 -0
  18. package/dist/data/object.zod.d.ts.map +1 -0
  19. package/dist/data/object.zod.js +54 -0
  20. package/dist/data/permission.zod.d.ts +163 -0
  21. package/dist/data/permission.zod.d.ts.map +1 -0
  22. package/dist/data/permission.zod.js +62 -0
  23. package/dist/data/query.zod.d.ts +89 -0
  24. package/dist/data/query.zod.d.ts.map +1 -0
  25. package/dist/data/query.zod.js +71 -0
  26. package/dist/data/sharing.zod.d.ts +63 -0
  27. package/dist/data/sharing.zod.d.ts.map +1 -0
  28. package/dist/data/sharing.zod.js +57 -0
  29. package/dist/data/validation.zod.d.ts +236 -0
  30. package/dist/data/validation.zod.d.ts.map +1 -0
  31. package/dist/data/validation.zod.js +59 -0
  32. package/dist/data/workflow.zod.d.ts +195 -0
  33. package/dist/data/workflow.zod.d.ts.map +1 -0
  34. package/dist/data/workflow.zod.js +64 -0
  35. package/dist/index.d.ts +33 -5
  36. package/dist/index.d.ts.map +1 -1
  37. package/dist/index.js +53 -5
  38. package/dist/system/api.zod.d.ts +168 -0
  39. package/dist/system/api.zod.d.ts.map +1 -0
  40. package/dist/system/api.zod.js +53 -0
  41. package/dist/system/constants/index.d.ts +11 -0
  42. package/dist/system/constants/index.d.ts.map +1 -0
  43. package/dist/system/constants/index.js +26 -0
  44. package/dist/system/constants/paths.d.ts +71 -0
  45. package/dist/system/constants/paths.d.ts.map +1 -0
  46. package/dist/system/constants/paths.js +65 -0
  47. package/dist/system/datasource.zod.d.ts +127 -0
  48. package/dist/system/datasource.zod.d.ts.map +1 -0
  49. package/dist/system/datasource.zod.js +62 -0
  50. package/dist/system/identity.zod.d.ts +204 -0
  51. package/dist/system/identity.zod.d.ts.map +1 -0
  52. package/dist/system/identity.zod.js +68 -0
  53. package/dist/system/license.zod.d.ts +110 -0
  54. package/dist/system/license.zod.d.ts.map +1 -0
  55. package/dist/system/license.zod.js +63 -0
  56. package/dist/system/manifest.zod.d.ts +126 -0
  57. package/dist/system/manifest.zod.d.ts.map +1 -0
  58. package/dist/system/manifest.zod.js +68 -0
  59. package/dist/system/policy.zod.d.ts +209 -0
  60. package/dist/system/policy.zod.d.ts.map +1 -0
  61. package/dist/system/policy.zod.js +54 -0
  62. package/dist/system/role.zod.d.ts +34 -0
  63. package/dist/system/role.zod.d.ts.map +1 -0
  64. package/dist/system/role.zod.js +25 -0
  65. package/dist/system/territory.zod.d.ts +91 -0
  66. package/dist/system/territory.zod.d.ts.map +1 -0
  67. package/dist/system/territory.zod.js +64 -0
  68. package/dist/system/translation.zod.d.ts +171 -0
  69. package/dist/system/translation.zod.d.ts.map +1 -0
  70. package/dist/system/translation.zod.js +34 -0
  71. package/dist/system/types/index.d.ts +7 -0
  72. package/dist/system/types/index.d.ts.map +1 -0
  73. package/dist/system/types/index.js +22 -0
  74. package/dist/system/types/plugin.d.ts +113 -0
  75. package/dist/system/types/plugin.d.ts.map +1 -0
  76. package/dist/system/types/plugin.js +6 -0
  77. package/dist/system/webhook.zod.d.ts +106 -0
  78. package/dist/system/webhook.zod.d.ts.map +1 -0
  79. package/dist/system/webhook.zod.js +56 -0
  80. package/dist/ui/action.zod.d.ts +148 -0
  81. package/dist/ui/action.zod.d.ts.map +1 -0
  82. package/dist/ui/action.zod.js +48 -0
  83. package/dist/ui/app.zod.d.ts +299 -0
  84. package/dist/ui/app.zod.d.ts.map +1 -0
  85. package/dist/ui/app.zod.js +127 -0
  86. package/dist/ui/dashboard.zod.d.ts +207 -0
  87. package/dist/ui/dashboard.zod.d.ts.map +1 -0
  88. package/dist/ui/dashboard.zod.js +66 -0
  89. package/dist/ui/page.zod.d.ts +187 -0
  90. package/dist/ui/page.zod.d.ts.map +1 -0
  91. package/dist/ui/page.zod.js +48 -0
  92. package/dist/ui/report.zod.d.ts +224 -0
  93. package/dist/ui/report.zod.d.ts.map +1 -0
  94. package/dist/ui/report.zod.js +68 -0
  95. package/dist/ui/view.zod.d.ts +887 -0
  96. package/dist/ui/view.zod.d.ts.map +1 -0
  97. package/dist/ui/view.zod.js +83 -0
  98. package/json-schema/AIKnowledge.json +30 -0
  99. package/json-schema/AIModelConfig.json +41 -0
  100. package/json-schema/AITool.json +33 -0
  101. package/json-schema/Action.json +156 -0
  102. package/json-schema/ActionParam.json +76 -0
  103. package/json-schema/Agent.json +140 -0
  104. package/json-schema/ApiEndpoint.json +162 -0
  105. package/json-schema/ApiMapping.json +28 -0
  106. package/json-schema/App.json +286 -0
  107. package/json-schema/AppBranding.json +24 -0
  108. package/json-schema/AuditPolicy.json +31 -0
  109. package/json-schema/AuthProtocol.json +17 -0
  110. package/json-schema/AuthProvider.json +171 -0
  111. package/json-schema/CalendarConfig.json +28 -0
  112. package/json-schema/ChartType.json +19 -0
  113. package/json-schema/Dashboard.json +117 -0
  114. package/json-schema/DashboardNavItem.json +42 -0
  115. package/json-schema/DashboardWidget.json +89 -0
  116. package/json-schema/Dataset.json +63 -0
  117. package/json-schema/DatasetMode.json +16 -0
  118. package/json-schema/Datasource.json +93 -0
  119. package/json-schema/DatasourceCapabilities.json +36 -0
  120. package/json-schema/DriverType.json +27 -0
  121. package/json-schema/EmailAlertAction.json +37 -0
  122. package/json-schema/Feature.json +51 -0
  123. package/json-schema/Field.json +219 -0
  124. package/json-schema/FieldMapping.json +83 -0
  125. package/json-schema/FieldNode.json +32 -0
  126. package/json-schema/FieldPermission.json +22 -0
  127. package/json-schema/FieldType.json +36 -0
  128. package/json-schema/FieldUpdateAction.json +32 -0
  129. package/json-schema/FilterNode.json +52 -0
  130. package/json-schema/FilterOperator.json +26 -0
  131. package/json-schema/Flow.json +186 -0
  132. package/json-schema/FlowEdge.json +37 -0
  133. package/json-schema/FlowNode.json +65 -0
  134. package/json-schema/FlowNodeAction.json +24 -0
  135. package/json-schema/FlowVariable.json +34 -0
  136. package/json-schema/FormSection.json +42 -0
  137. package/json-schema/FormView.json +99 -0
  138. package/json-schema/FormatValidation.json +59 -0
  139. package/json-schema/GanttConfig.json +32 -0
  140. package/json-schema/GroupNavItem.json +42 -0
  141. package/json-schema/HttpMethod.json +16 -0
  142. package/json-schema/Index.json +30 -0
  143. package/json-schema/KanbanConfig.json +31 -0
  144. package/json-schema/LDAPConfig.json +39 -0
  145. package/json-schema/License.json +57 -0
  146. package/json-schema/ListView.json +153 -0
  147. package/json-schema/Locale.json +10 -0
  148. package/json-schema/LogicOperator.json +14 -0
  149. package/json-schema/Manifest.json +90 -0
  150. package/json-schema/Mapping.json +270 -0
  151. package/json-schema/MenuItem.json +28 -0
  152. package/json-schema/MetricType.json +14 -0
  153. package/json-schema/NavigationItem.json +214 -0
  154. package/json-schema/NetworkPolicy.json +31 -0
  155. package/json-schema/OIDCConfig.json +46 -0
  156. package/json-schema/OWDModel.json +14 -0
  157. package/json-schema/Object.json +331 -0
  158. package/json-schema/ObjectCapabilities.json +36 -0
  159. package/json-schema/ObjectNavItem.json +46 -0
  160. package/json-schema/ObjectPermission.json +42 -0
  161. package/json-schema/Page.json +117 -0
  162. package/json-schema/PageComponent.json +36 -0
  163. package/json-schema/PageNavItem.json +47 -0
  164. package/json-schema/PageRegion.json +63 -0
  165. package/json-schema/PasswordPolicy.json +41 -0
  166. package/json-schema/PermissionSet.json +96 -0
  167. package/json-schema/Plan.json +53 -0
  168. package/json-schema/Policy.json +138 -0
  169. package/json-schema/Query.json +128 -0
  170. package/json-schema/RateLimit.json +26 -0
  171. package/json-schema/Report.json +219 -0
  172. package/json-schema/ReportChart.json +45 -0
  173. package/json-schema/ReportColumn.json +35 -0
  174. package/json-schema/ReportGrouping.json +38 -0
  175. package/json-schema/ReportType.json +15 -0
  176. package/json-schema/Role.json +32 -0
  177. package/json-schema/SAMLConfig.json +44 -0
  178. package/json-schema/ScriptValidation.json +48 -0
  179. package/json-schema/SelectOption.json +32 -0
  180. package/json-schema/SessionPolicy.json +27 -0
  181. package/json-schema/SharingLevel.json +13 -0
  182. package/json-schema/SharingRule.json +58 -0
  183. package/json-schema/SharingRuleType.json +15 -0
  184. package/json-schema/SortNode.json +26 -0
  185. package/json-schema/StateMachineValidation.json +59 -0
  186. package/json-schema/Territory.json +77 -0
  187. package/json-schema/TerritoryModel.json +34 -0
  188. package/json-schema/TerritoryType.json +15 -0
  189. package/json-schema/TransformType.json +18 -0
  190. package/json-schema/TranslationBundle.json +78 -0
  191. package/json-schema/TranslationData.json +75 -0
  192. package/json-schema/UniquenessValidation.json +59 -0
  193. package/json-schema/UrlNavItem.json +51 -0
  194. package/json-schema/ValidationRule.json +211 -0
  195. package/json-schema/View.json +500 -0
  196. package/json-schema/Webhook.json +88 -0
  197. package/json-schema/WebhookReceiver.json +66 -0
  198. package/json-schema/WebhookTriggerType.json +16 -0
  199. package/json-schema/WorkflowAction.json +84 -0
  200. package/json-schema/WorkflowRule.json +128 -0
  201. package/json-schema/WorkflowTriggerType.json +16 -0
  202. package/package.json +28 -19
  203. package/dist/examples.d.ts +0 -28
  204. package/dist/examples.d.ts.map +0 -1
  205. package/dist/examples.js +0 -250
  206. package/dist/types/index.d.ts +0 -9
  207. package/dist/types/index.d.ts.map +0 -1
  208. package/dist/types/index.js +0 -8
  209. package/dist/types/meta/field-type.d.ts +0 -54
  210. package/dist/types/meta/field-type.d.ts.map +0 -1
  211. package/dist/types/meta/field-type.js +0 -42
  212. package/dist/types/meta/index.d.ts +0 -13
  213. package/dist/types/meta/index.d.ts.map +0 -1
  214. package/dist/types/meta/index.js +0 -12
  215. package/dist/types/meta/object-entity.d.ts +0 -246
  216. package/dist/types/meta/object-entity.d.ts.map +0 -1
  217. package/dist/types/meta/object-entity.js +0 -9
  218. package/dist/types/meta/object-field.d.ts +0 -199
  219. package/dist/types/meta/object-field.d.ts.map +0 -1
  220. package/dist/types/meta/object-field.js +0 -9
  221. package/dist/types/meta/object-view.d.ts +0 -430
  222. package/dist/types/meta/object-view.d.ts.map +0 -1
  223. package/dist/types/meta/object-view.js +0 -9
  224. package/src/examples.ts +0 -257
  225. package/src/index.ts +0 -10
  226. package/src/types/index.ts +0 -9
  227. package/src/types/meta/field-type.ts +0 -91
  228. package/src/types/meta/index.ts +0 -13
  229. package/src/types/meta/object-entity.ts +0 -265
  230. package/src/types/meta/object-field.ts +0 -218
  231. package/src/types/meta/object-view.ts +0 -475
@@ -0,0 +1,162 @@
1
+ {
2
+ "$ref": "#/definitions/ApiEndpoint",
3
+ "definitions": {
4
+ "ApiEndpoint": {
5
+ "type": "object",
6
+ "properties": {
7
+ "name": {
8
+ "type": "string",
9
+ "pattern": "^[a-z_][a-z0-9_]*$",
10
+ "description": "Unique endpoint ID"
11
+ },
12
+ "path": {
13
+ "type": "string",
14
+ "pattern": "^\\/",
15
+ "description": "URL Path (e.g. /api/v1/customers)"
16
+ },
17
+ "method": {
18
+ "type": "string",
19
+ "enum": [
20
+ "GET",
21
+ "POST",
22
+ "PUT",
23
+ "DELETE",
24
+ "PATCH"
25
+ ],
26
+ "description": "HTTP Method"
27
+ },
28
+ "summary": {
29
+ "type": "string"
30
+ },
31
+ "description": {
32
+ "type": "string"
33
+ },
34
+ "type": {
35
+ "type": "string",
36
+ "enum": [
37
+ "flow",
38
+ "script",
39
+ "object_operation",
40
+ "proxy"
41
+ ],
42
+ "description": "Implementation type"
43
+ },
44
+ "target": {
45
+ "type": "string",
46
+ "description": "Target Flow ID, Script Name, or Proxy URL"
47
+ },
48
+ "objectParams": {
49
+ "type": "object",
50
+ "properties": {
51
+ "object": {
52
+ "type": "string"
53
+ },
54
+ "operation": {
55
+ "type": "string",
56
+ "enum": [
57
+ "find",
58
+ "get",
59
+ "create",
60
+ "update",
61
+ "delete"
62
+ ]
63
+ }
64
+ },
65
+ "additionalProperties": false,
66
+ "description": "For object_operation type"
67
+ },
68
+ "inputMapping": {
69
+ "type": "array",
70
+ "items": {
71
+ "type": "object",
72
+ "properties": {
73
+ "source": {
74
+ "type": "string",
75
+ "description": "Source field/path"
76
+ },
77
+ "target": {
78
+ "type": "string",
79
+ "description": "Target field/path"
80
+ },
81
+ "transform": {
82
+ "type": "string",
83
+ "description": "Transformation function name"
84
+ }
85
+ },
86
+ "required": [
87
+ "source",
88
+ "target"
89
+ ],
90
+ "additionalProperties": false
91
+ },
92
+ "description": "Map Request Body to Internal Params"
93
+ },
94
+ "outputMapping": {
95
+ "type": "array",
96
+ "items": {
97
+ "type": "object",
98
+ "properties": {
99
+ "source": {
100
+ "type": "string",
101
+ "description": "Source field/path"
102
+ },
103
+ "target": {
104
+ "type": "string",
105
+ "description": "Target field/path"
106
+ },
107
+ "transform": {
108
+ "type": "string",
109
+ "description": "Transformation function name"
110
+ }
111
+ },
112
+ "required": [
113
+ "source",
114
+ "target"
115
+ ],
116
+ "additionalProperties": false
117
+ },
118
+ "description": "Map Internal Result to Response Body"
119
+ },
120
+ "authRequired": {
121
+ "type": "boolean",
122
+ "default": true,
123
+ "description": "Require authentication"
124
+ },
125
+ "rateLimit": {
126
+ "type": "object",
127
+ "properties": {
128
+ "enabled": {
129
+ "type": "boolean",
130
+ "default": false
131
+ },
132
+ "windowMs": {
133
+ "type": "number",
134
+ "default": 60000,
135
+ "description": "Time window in milliseconds"
136
+ },
137
+ "maxRequests": {
138
+ "type": "number",
139
+ "default": 100,
140
+ "description": "Max requests per window"
141
+ }
142
+ },
143
+ "additionalProperties": false,
144
+ "description": "Rate limiting policy"
145
+ },
146
+ "cacheTtl": {
147
+ "type": "number",
148
+ "description": "Response cache TTL in seconds"
149
+ }
150
+ },
151
+ "required": [
152
+ "name",
153
+ "path",
154
+ "method",
155
+ "type",
156
+ "target"
157
+ ],
158
+ "additionalProperties": false
159
+ }
160
+ },
161
+ "$schema": "http://json-schema.org/draft-07/schema#"
162
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "$ref": "#/definitions/ApiMapping",
3
+ "definitions": {
4
+ "ApiMapping": {
5
+ "type": "object",
6
+ "properties": {
7
+ "source": {
8
+ "type": "string",
9
+ "description": "Source field/path"
10
+ },
11
+ "target": {
12
+ "type": "string",
13
+ "description": "Target field/path"
14
+ },
15
+ "transform": {
16
+ "type": "string",
17
+ "description": "Transformation function name"
18
+ }
19
+ },
20
+ "required": [
21
+ "source",
22
+ "target"
23
+ ],
24
+ "additionalProperties": false
25
+ }
26
+ },
27
+ "$schema": "http://json-schema.org/draft-07/schema#"
28
+ }
@@ -0,0 +1,286 @@
1
+ {
2
+ "$ref": "#/definitions/App",
3
+ "definitions": {
4
+ "App": {
5
+ "type": "object",
6
+ "properties": {
7
+ "name": {
8
+ "type": "string",
9
+ "pattern": "^[a-z_][a-z0-9_]*$",
10
+ "description": "App unique machine name"
11
+ },
12
+ "label": {
13
+ "type": "string",
14
+ "description": "App display label"
15
+ },
16
+ "description": {
17
+ "type": "string",
18
+ "description": "App description"
19
+ },
20
+ "icon": {
21
+ "type": "string",
22
+ "description": "App icon used in the App Launcher"
23
+ },
24
+ "branding": {
25
+ "type": "object",
26
+ "properties": {
27
+ "primaryColor": {
28
+ "type": "string",
29
+ "description": "Primary theme color hex code"
30
+ },
31
+ "logo": {
32
+ "type": "string",
33
+ "description": "Custom logo URL for this app"
34
+ },
35
+ "favicon": {
36
+ "type": "string",
37
+ "description": "Custom favicon URL for this app"
38
+ }
39
+ },
40
+ "additionalProperties": false,
41
+ "description": "App-specific branding"
42
+ },
43
+ "active": {
44
+ "type": "boolean",
45
+ "default": true,
46
+ "description": "Whether the app is enabled"
47
+ },
48
+ "isDefault": {
49
+ "type": "boolean",
50
+ "default": false,
51
+ "description": "Is default app"
52
+ },
53
+ "navigation": {
54
+ "type": "array",
55
+ "items": {
56
+ "anyOf": [
57
+ {
58
+ "type": "object",
59
+ "properties": {
60
+ "id": {
61
+ "type": "string",
62
+ "description": "Unique identifier for this navigation item"
63
+ },
64
+ "label": {
65
+ "type": "string",
66
+ "description": "Display proper label"
67
+ },
68
+ "icon": {
69
+ "type": "string",
70
+ "description": "Icon name"
71
+ },
72
+ "visible": {
73
+ "type": "string",
74
+ "description": "Visibility formula condition"
75
+ },
76
+ "type": {
77
+ "type": "string",
78
+ "const": "object"
79
+ },
80
+ "objectName": {
81
+ "type": "string",
82
+ "description": "Target object name"
83
+ },
84
+ "viewName": {
85
+ "type": "string",
86
+ "description": "Default list view to open. Defaults to \"all\""
87
+ }
88
+ },
89
+ "required": [
90
+ "id",
91
+ "label",
92
+ "type",
93
+ "objectName"
94
+ ],
95
+ "additionalProperties": false
96
+ },
97
+ {
98
+ "type": "object",
99
+ "properties": {
100
+ "id": {
101
+ "type": "string",
102
+ "description": "Unique identifier for this navigation item"
103
+ },
104
+ "label": {
105
+ "type": "string",
106
+ "description": "Display proper label"
107
+ },
108
+ "icon": {
109
+ "type": "string",
110
+ "description": "Icon name"
111
+ },
112
+ "visible": {
113
+ "type": "string",
114
+ "description": "Visibility formula condition"
115
+ },
116
+ "type": {
117
+ "type": "string",
118
+ "const": "dashboard"
119
+ },
120
+ "dashboardName": {
121
+ "type": "string",
122
+ "description": "Target dashboard name"
123
+ }
124
+ },
125
+ "required": [
126
+ "id",
127
+ "label",
128
+ "type",
129
+ "dashboardName"
130
+ ],
131
+ "additionalProperties": false
132
+ },
133
+ {
134
+ "type": "object",
135
+ "properties": {
136
+ "id": {
137
+ "type": "string",
138
+ "description": "Unique identifier for this navigation item"
139
+ },
140
+ "label": {
141
+ "type": "string",
142
+ "description": "Display proper label"
143
+ },
144
+ "icon": {
145
+ "type": "string",
146
+ "description": "Icon name"
147
+ },
148
+ "visible": {
149
+ "type": "string",
150
+ "description": "Visibility formula condition"
151
+ },
152
+ "type": {
153
+ "type": "string",
154
+ "const": "page"
155
+ },
156
+ "pageName": {
157
+ "type": "string",
158
+ "description": "Target custom page component name"
159
+ },
160
+ "params": {
161
+ "type": "object",
162
+ "additionalProperties": {},
163
+ "description": "Parameters passed to the page context"
164
+ }
165
+ },
166
+ "required": [
167
+ "id",
168
+ "label",
169
+ "type",
170
+ "pageName"
171
+ ],
172
+ "additionalProperties": false
173
+ },
174
+ {
175
+ "type": "object",
176
+ "properties": {
177
+ "id": {
178
+ "type": "string",
179
+ "description": "Unique identifier for this navigation item"
180
+ },
181
+ "label": {
182
+ "type": "string",
183
+ "description": "Display proper label"
184
+ },
185
+ "icon": {
186
+ "type": "string",
187
+ "description": "Icon name"
188
+ },
189
+ "visible": {
190
+ "type": "string",
191
+ "description": "Visibility formula condition"
192
+ },
193
+ "type": {
194
+ "type": "string",
195
+ "const": "url"
196
+ },
197
+ "url": {
198
+ "type": "string",
199
+ "description": "Target external URL"
200
+ },
201
+ "target": {
202
+ "type": "string",
203
+ "enum": [
204
+ "_self",
205
+ "_blank"
206
+ ],
207
+ "default": "_self",
208
+ "description": "Link target window"
209
+ }
210
+ },
211
+ "required": [
212
+ "id",
213
+ "label",
214
+ "type",
215
+ "url"
216
+ ],
217
+ "additionalProperties": false
218
+ },
219
+ {
220
+ "type": "object",
221
+ "properties": {
222
+ "id": {
223
+ "type": "string",
224
+ "description": "Unique identifier for this navigation item"
225
+ },
226
+ "label": {
227
+ "type": "string",
228
+ "description": "Display proper label"
229
+ },
230
+ "icon": {
231
+ "type": "string",
232
+ "description": "Icon name"
233
+ },
234
+ "visible": {
235
+ "type": "string",
236
+ "description": "Visibility formula condition"
237
+ },
238
+ "type": {
239
+ "type": "string",
240
+ "const": "group"
241
+ },
242
+ "expanded": {
243
+ "type": "boolean",
244
+ "default": false,
245
+ "description": "Default expansion state in sidebar"
246
+ },
247
+ "children": {
248
+ "type": "array",
249
+ "items": {},
250
+ "description": "Child navigation items"
251
+ }
252
+ },
253
+ "required": [
254
+ "id",
255
+ "label",
256
+ "type",
257
+ "children"
258
+ ],
259
+ "additionalProperties": false
260
+ }
261
+ ]
262
+ },
263
+ "description": "Structured navigation menu tree"
264
+ },
265
+ "homePageId": {
266
+ "type": "string",
267
+ "description": "ID of the navigation item to serve as landing page"
268
+ },
269
+ "requiredPermissions": {
270
+ "type": "array",
271
+ "items": {
272
+ "type": "string"
273
+ },
274
+ "description": "Permissions required to access this app"
275
+ }
276
+ },
277
+ "required": [
278
+ "name",
279
+ "label",
280
+ "navigation"
281
+ ],
282
+ "additionalProperties": false
283
+ }
284
+ },
285
+ "$schema": "http://json-schema.org/draft-07/schema#"
286
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "$ref": "#/definitions/AppBranding",
3
+ "definitions": {
4
+ "AppBranding": {
5
+ "type": "object",
6
+ "properties": {
7
+ "primaryColor": {
8
+ "type": "string",
9
+ "description": "Primary theme color hex code"
10
+ },
11
+ "logo": {
12
+ "type": "string",
13
+ "description": "Custom logo URL for this app"
14
+ },
15
+ "favicon": {
16
+ "type": "string",
17
+ "description": "Custom favicon URL for this app"
18
+ }
19
+ },
20
+ "additionalProperties": false
21
+ }
22
+ },
23
+ "$schema": "http://json-schema.org/draft-07/schema#"
24
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "$ref": "#/definitions/AuditPolicy",
3
+ "definitions": {
4
+ "AuditPolicy": {
5
+ "type": "object",
6
+ "properties": {
7
+ "logRetentionDays": {
8
+ "type": "number",
9
+ "default": 180
10
+ },
11
+ "sensitiveFields": {
12
+ "type": "array",
13
+ "items": {
14
+ "type": "string"
15
+ },
16
+ "description": "Fields to redact in logs (e.g. password, ssn)"
17
+ },
18
+ "captureRead": {
19
+ "type": "boolean",
20
+ "default": false,
21
+ "description": "Log read access (High volume!)"
22
+ }
23
+ },
24
+ "required": [
25
+ "sensitiveFields"
26
+ ],
27
+ "additionalProperties": false
28
+ }
29
+ },
30
+ "$schema": "http://json-schema.org/draft-07/schema#"
31
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "$ref": "#/definitions/AuthProtocol",
3
+ "definitions": {
4
+ "AuthProtocol": {
5
+ "type": "string",
6
+ "enum": [
7
+ "oidc",
8
+ "saml",
9
+ "ldap",
10
+ "oauth2",
11
+ "local",
12
+ "mock"
13
+ ]
14
+ }
15
+ },
16
+ "$schema": "http://json-schema.org/draft-07/schema#"
17
+ }