@objectstack/spec 0.3.3 → 0.4.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 (304) hide show
  1. package/dist/ai/conversation.zod.d.ts +14 -14
  2. package/dist/ai/cost.zod.d.ts +112 -112
  3. package/dist/ai/model-registry.zod.d.ts +44 -44
  4. package/dist/ai/nlq.zod.d.ts +2 -2
  5. package/dist/ai/orchestration.zod.d.ts +6 -6
  6. package/dist/ai/predictive.zod.d.ts +8 -8
  7. package/dist/ai/rag-pipeline.zod.d.ts +62 -62
  8. package/dist/api/contract.zod.d.ts +92 -92
  9. package/dist/api/discovery.zod.d.ts +2 -2
  10. package/dist/api/index.d.ts +2 -0
  11. package/dist/api/index.d.ts.map +1 -1
  12. package/dist/api/index.js +2 -0
  13. package/dist/api/odata.zod.d.ts +482 -0
  14. package/dist/api/odata.zod.d.ts.map +1 -0
  15. package/dist/api/odata.zod.js +401 -0
  16. package/dist/api/router.zod.d.ts +4 -4
  17. package/dist/auth/config.zod.d.ts +21 -21
  18. package/dist/auth/index.d.ts +1 -0
  19. package/dist/auth/index.d.ts.map +1 -1
  20. package/dist/auth/index.js +1 -0
  21. package/dist/auth/organization.zod.d.ts +2 -2
  22. package/dist/auth/role.zod.d.ts +14 -0
  23. package/dist/auth/role.zod.d.ts.map +1 -1
  24. package/dist/auth/role.zod.js +16 -1
  25. package/dist/auth/scim.zod.d.ts +2732 -0
  26. package/dist/auth/scim.zod.d.ts.map +1 -0
  27. package/dist/auth/scim.zod.js +811 -0
  28. package/dist/automation/approval.zod.d.ts +643 -0
  29. package/dist/automation/approval.zod.d.ts.map +1 -0
  30. package/dist/automation/approval.zod.js +84 -0
  31. package/dist/automation/connector.zod.d.ts +1284 -0
  32. package/dist/automation/connector.zod.d.ts.map +1 -0
  33. package/dist/automation/connector.zod.js +500 -0
  34. package/dist/automation/etl.zod.d.ts +623 -0
  35. package/dist/automation/etl.zod.d.ts.map +1 -0
  36. package/dist/automation/etl.zod.js +359 -0
  37. package/dist/automation/flow.zod.d.ts +6 -6
  38. package/dist/automation/index.d.ts +4 -0
  39. package/dist/automation/index.d.ts.map +1 -1
  40. package/dist/automation/index.js +4 -0
  41. package/dist/automation/sync.zod.d.ts +854 -0
  42. package/dist/automation/sync.zod.d.ts.map +1 -0
  43. package/dist/automation/sync.zod.js +444 -0
  44. package/dist/automation/webhook.zod.d.ts +24 -1
  45. package/dist/automation/webhook.zod.d.ts.map +1 -1
  46. package/dist/automation/webhook.zod.js +27 -3
  47. package/dist/automation/workflow.zod.d.ts +14 -0
  48. package/dist/automation/workflow.zod.d.ts.map +1 -1
  49. package/dist/automation/workflow.zod.js +16 -1
  50. package/dist/data/field.zod.d.ts +338 -8
  51. package/dist/data/field.zod.d.ts.map +1 -1
  52. package/dist/data/field.zod.js +100 -16
  53. package/dist/data/mapping.zod.d.ts +22 -10
  54. package/dist/data/mapping.zod.d.ts.map +1 -1
  55. package/dist/data/mapping.zod.js +16 -3
  56. package/dist/data/object.zod.d.ts +116 -22
  57. package/dist/data/object.zod.d.ts.map +1 -1
  58. package/dist/data/object.zod.js +4 -4
  59. package/dist/data/validation.zod.d.ts +18 -18
  60. package/dist/hub/composer.zod.d.ts +42 -1939
  61. package/dist/hub/composer.zod.d.ts.map +1 -1
  62. package/dist/hub/composer.zod.js +1 -1
  63. package/dist/hub/license.zod.d.ts +2 -2
  64. package/dist/hub/marketplace.zod.d.ts +6 -6
  65. package/dist/index.d.ts +2 -2
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +6 -3
  68. package/dist/permission/index.d.ts +7 -5
  69. package/dist/permission/index.d.ts.map +1 -1
  70. package/dist/permission/index.js +7 -5
  71. package/dist/permission/permission.zod.d.ts +14 -0
  72. package/dist/permission/permission.zod.d.ts.map +1 -1
  73. package/dist/permission/permission.zod.js +16 -1
  74. package/dist/permission/rls.zod.d.ts +605 -0
  75. package/dist/permission/rls.zod.d.ts.map +1 -0
  76. package/dist/permission/rls.zod.js +615 -0
  77. package/dist/permission/territory.zod.d.ts +13 -0
  78. package/dist/permission/territory.zod.d.ts.map +1 -1
  79. package/dist/permission/territory.zod.js +15 -1
  80. package/dist/shared/identifiers.zod.d.ts +87 -0
  81. package/dist/shared/identifiers.zod.d.ts.map +1 -0
  82. package/dist/shared/identifiers.zod.js +101 -0
  83. package/dist/shared/index.d.ts +6 -0
  84. package/dist/shared/index.d.ts.map +1 -0
  85. package/dist/{driver → shared}/index.js +5 -4
  86. package/dist/stack.zod.d.ts +19869 -0
  87. package/dist/stack.zod.d.ts.map +1 -0
  88. package/dist/stack.zod.js +248 -0
  89. package/dist/system/audit.zod.d.ts +12 -12
  90. package/dist/{kernel → system}/context.zod.d.ts.map +1 -1
  91. package/dist/{driver → system}/datasource.zod.d.ts +2 -2
  92. package/dist/{driver → system}/datasource.zod.d.ts.map +1 -1
  93. package/dist/{driver → system/driver}/mongo.zod.d.ts +2 -2
  94. package/dist/system/driver/mongo.zod.d.ts.map +1 -0
  95. package/dist/{driver → system/driver}/postgres.zod.d.ts +4 -4
  96. package/dist/system/driver/postgres.zod.d.ts.map +1 -0
  97. package/dist/{driver → system}/driver.zod.d.ts +14 -14
  98. package/dist/{driver → system}/driver.zod.d.ts.map +1 -1
  99. package/dist/system/events.zod.d.ts +15 -12
  100. package/dist/system/events.zod.d.ts.map +1 -1
  101. package/dist/system/events.zod.js +5 -1
  102. package/dist/system/feature.zod.d.ts +131 -0
  103. package/dist/system/feature.zod.d.ts.map +1 -0
  104. package/dist/system/feature.zod.js +45 -0
  105. package/dist/system/index.d.ts +10 -0
  106. package/dist/system/index.d.ts.map +1 -1
  107. package/dist/system/index.js +12 -0
  108. package/dist/system/job.zod.d.ts +8 -8
  109. package/dist/{kernel → system}/logger.zod.d.ts +4 -4
  110. package/dist/{kernel → system}/logger.zod.d.ts.map +1 -1
  111. package/dist/system/manifest.zod.d.ts +515 -0
  112. package/dist/system/manifest.zod.d.ts.map +1 -0
  113. package/dist/{kernel → system}/manifest.zod.js +0 -12
  114. package/dist/{kernel → system}/plugin.zod.d.ts.map +1 -1
  115. package/dist/{kernel → system}/scoped-storage.zod.d.ts +2 -2
  116. package/dist/{kernel → system}/scoped-storage.zod.d.ts.map +1 -1
  117. package/dist/ui/action.zod.d.ts +35 -10
  118. package/dist/ui/action.zod.d.ts.map +1 -1
  119. package/dist/ui/action.zod.js +30 -1
  120. package/dist/ui/app.zod.d.ts +23 -8
  121. package/dist/ui/app.zod.d.ts.map +1 -1
  122. package/dist/ui/app.zod.js +32 -4
  123. package/dist/ui/block.zod.d.ts +265 -0
  124. package/dist/ui/block.zod.d.ts.map +1 -0
  125. package/dist/ui/block.zod.js +90 -0
  126. package/dist/ui/component.zod.d.ts +265 -0
  127. package/dist/ui/component.zod.d.ts.map +1 -0
  128. package/dist/ui/component.zod.js +90 -0
  129. package/dist/ui/dashboard.zod.d.ts +15 -15
  130. package/dist/ui/dashboard.zod.d.ts.map +1 -1
  131. package/dist/ui/dashboard.zod.js +18 -8
  132. package/dist/ui/index.d.ts +1 -0
  133. package/dist/ui/index.d.ts.map +1 -1
  134. package/dist/ui/index.js +1 -0
  135. package/dist/ui/page.zod.d.ts +21 -3
  136. package/dist/ui/page.zod.d.ts.map +1 -1
  137. package/dist/ui/page.zod.js +37 -4
  138. package/dist/ui/report.zod.d.ts +7 -7
  139. package/dist/ui/view.zod.d.ts +252 -240
  140. package/dist/ui/view.zod.d.ts.map +1 -1
  141. package/dist/ui/view.zod.js +32 -3
  142. package/dist/ui/widget.zod.d.ts +673 -5
  143. package/dist/ui/widget.zod.d.ts.map +1 -1
  144. package/dist/ui/widget.zod.js +294 -1
  145. package/json-schema/api/ODataError.json +65 -0
  146. package/json-schema/api/ODataFilterFunction.json +39 -0
  147. package/json-schema/api/ODataFilterOperator.json +24 -0
  148. package/json-schema/api/ODataMetadata.json +115 -0
  149. package/json-schema/api/ODataQuery.json +89 -0
  150. package/json-schema/api/ODataResponse.json +37 -0
  151. package/json-schema/auth/Role.json +3 -2
  152. package/json-schema/auth/SCIMAddress.json +50 -0
  153. package/json-schema/auth/SCIMEmail.json +38 -0
  154. package/json-schema/auth/SCIMEnterpriseUser.json +55 -0
  155. package/json-schema/auth/SCIMError.json +52 -0
  156. package/json-schema/auth/SCIMGroup.json +102 -0
  157. package/json-schema/auth/SCIMGroupReference.json +36 -0
  158. package/json-schema/auth/SCIMListResponse.json +606 -0
  159. package/json-schema/auth/SCIMMemberReference.json +36 -0
  160. package/json-schema/auth/SCIMMeta.json +35 -0
  161. package/json-schema/auth/SCIMName.json +36 -0
  162. package/json-schema/auth/SCIMPatchOperation.json +31 -0
  163. package/json-schema/auth/SCIMPatchRequest.json +56 -0
  164. package/json-schema/auth/SCIMPhoneNumber.json +40 -0
  165. package/json-schema/auth/SCIMUser.json +462 -0
  166. package/json-schema/automation/ApprovalAction.json +35 -0
  167. package/json-schema/automation/ApprovalActionType.json +15 -0
  168. package/json-schema/automation/ApprovalProcess.json +326 -0
  169. package/json-schema/automation/ApprovalStep.json +147 -0
  170. package/json-schema/automation/ApproverType.json +16 -0
  171. package/json-schema/automation/AuthField.json +73 -0
  172. package/json-schema/automation/Authentication.json +159 -0
  173. package/json-schema/automation/AuthenticationType.json +18 -0
  174. package/json-schema/automation/ConflictResolution.json +16 -0
  175. package/json-schema/automation/Connector.json +440 -0
  176. package/json-schema/automation/ConnectorCategory.json +26 -0
  177. package/json-schema/automation/ConnectorInstance.json +69 -0
  178. package/json-schema/automation/ConnectorOperation.json +117 -0
  179. package/json-schema/automation/ConnectorTrigger.json +54 -0
  180. package/json-schema/automation/DataDestinationConfig.json +89 -0
  181. package/json-schema/automation/DataSourceConfig.json +34 -0
  182. package/json-schema/automation/DataSyncConfig.json +355 -0
  183. package/json-schema/automation/ETLDestination.json +57 -0
  184. package/json-schema/automation/ETLEndpointType.json +19 -0
  185. package/json-schema/automation/ETLPipeline.json +252 -0
  186. package/json-schema/automation/ETLPipelineRun.json +107 -0
  187. package/json-schema/automation/ETLRunStatus.json +17 -0
  188. package/json-schema/automation/ETLSource.json +60 -0
  189. package/json-schema/automation/ETLSyncMode.json +14 -0
  190. package/json-schema/automation/ETLTransformation.json +46 -0
  191. package/json-schema/automation/ETLTransformationType.json +21 -0
  192. package/json-schema/automation/FieldMapping.json +36 -0
  193. package/json-schema/automation/OAuth2Config.json +43 -0
  194. package/json-schema/automation/OperationParameter.json +59 -0
  195. package/json-schema/automation/OperationType.json +17 -0
  196. package/json-schema/automation/SyncDirection.json +14 -0
  197. package/json-schema/automation/SyncExecutionResult.json +135 -0
  198. package/json-schema/automation/SyncExecutionStatus.json +17 -0
  199. package/json-schema/automation/SyncMode.json +14 -0
  200. package/json-schema/automation/Webhook.json +3 -1
  201. package/json-schema/automation/WebhookReceiver.json +3 -1
  202. package/json-schema/automation/WorkflowRule.json +3 -2
  203. package/json-schema/data/Field.json +62 -4
  204. package/json-schema/data/FieldType.json +12 -2
  205. package/json-schema/data/Object.json +62 -4
  206. package/json-schema/data/SelectOption.json +4 -2
  207. package/json-schema/data/VectorConfig.json +51 -0
  208. package/json-schema/hub/ComposerResponse.json +0 -2162
  209. package/json-schema/permission/PermissionSet.json +3 -1
  210. package/json-schema/permission/RLSConfig.json +59 -0
  211. package/json-schema/permission/RLSEvaluationResult.json +40 -0
  212. package/json-schema/permission/RLSOperation.json +16 -0
  213. package/json-schema/permission/RLSUserContext.json +51 -0
  214. package/json-schema/permission/RowLevelSecurityPolicy.json +77 -0
  215. package/json-schema/permission/Territory.json +3 -1
  216. package/json-schema/shared/EventName.json +12 -0
  217. package/json-schema/shared/SnakeCaseIdentifier.json +12 -0
  218. package/json-schema/shared/SystemIdentifier.json +12 -0
  219. package/json-schema/system/Event.json +3 -2
  220. package/json-schema/system/FeatureFlag.json +87 -0
  221. package/json-schema/system/FeatureStrategy.json +16 -0
  222. package/json-schema/system/Manifest.json +395 -0
  223. package/json-schema/ui/Action.json +25 -4
  224. package/json-schema/ui/ActionParam.json +12 -2
  225. package/json-schema/ui/App.json +18 -7
  226. package/json-schema/ui/ChartType.json +9 -1
  227. package/json-schema/ui/Dashboard.json +9 -1
  228. package/json-schema/ui/DashboardNavItem.json +3 -1
  229. package/json-schema/ui/DashboardWidget.json +9 -1
  230. package/json-schema/ui/FieldWidgetProps.json +62 -4
  231. package/json-schema/ui/FormView.json +4 -1
  232. package/json-schema/ui/GroupNavItem.json +3 -1
  233. package/json-schema/ui/ListView.json +7 -1
  234. package/json-schema/ui/NavigationItem.json +15 -5
  235. package/json-schema/ui/ObjectNavItem.json +3 -1
  236. package/json-schema/ui/Page.json +36 -4
  237. package/json-schema/ui/PageCardProps.json +32 -0
  238. package/json-schema/ui/PageComponent.json +33 -3
  239. package/json-schema/ui/PageComponentType.json +32 -0
  240. package/json-schema/ui/PageHeaderProps.json +39 -0
  241. package/json-schema/ui/PageNavItem.json +3 -1
  242. package/json-schema/ui/PageRegion.json +33 -3
  243. package/json-schema/ui/PageTabsProps.json +55 -0
  244. package/json-schema/ui/RecordDetailsProps.json +37 -0
  245. package/json-schema/ui/RecordHighlightsProps.json +24 -0
  246. package/json-schema/ui/RecordRelatedListProps.json +39 -0
  247. package/json-schema/ui/UrlNavItem.json +3 -1
  248. package/json-schema/ui/View.json +22 -4
  249. package/json-schema/ui/WidgetEvent.json +42 -0
  250. package/json-schema/ui/WidgetLifecycle.json +40 -0
  251. package/json-schema/ui/WidgetManifest.json +262 -0
  252. package/json-schema/ui/WidgetProperty.json +58 -0
  253. package/package.json +1 -1
  254. package/prompts/architecture.md +5 -5
  255. package/prompts/create-new-project.md +85 -0
  256. package/dist/driver/index.d.ts +0 -5
  257. package/dist/driver/index.d.ts.map +0 -1
  258. package/dist/driver/mongo.zod.d.ts.map +0 -1
  259. package/dist/driver/postgres.zod.d.ts.map +0 -1
  260. package/dist/kernel/index.d.ts +0 -12
  261. package/dist/kernel/index.d.ts.map +0 -1
  262. package/dist/kernel/index.js +0 -27
  263. package/dist/kernel/manifest.zod.d.ts +0 -2153
  264. package/dist/kernel/manifest.zod.d.ts.map +0 -1
  265. package/json-schema/kernel/Manifest.json +0 -2557
  266. /package/dist/{kernel → system}/context.zod.d.ts +0 -0
  267. /package/dist/{kernel → system}/context.zod.js +0 -0
  268. /package/dist/{driver → system}/datasource.zod.js +0 -0
  269. /package/dist/{driver → system/driver}/mongo.zod.js +0 -0
  270. /package/dist/{driver → system/driver}/postgres.zod.js +0 -0
  271. /package/dist/{driver → system}/driver.zod.js +0 -0
  272. /package/dist/{kernel → system}/logger.zod.js +0 -0
  273. /package/dist/{kernel → system}/plugin.zod.d.ts +0 -0
  274. /package/dist/{kernel → system}/plugin.zod.js +0 -0
  275. /package/dist/{kernel → system}/scoped-storage.zod.js +0 -0
  276. /package/json-schema/{driver → system}/Datasource.json +0 -0
  277. /package/json-schema/{driver → system}/DatasourceCapabilities.json +0 -0
  278. /package/json-schema/{driver → system}/DriverCapabilities.json +0 -0
  279. /package/json-schema/{driver → system}/DriverDefinition.json +0 -0
  280. /package/json-schema/{driver → system}/DriverInterface.json +0 -0
  281. /package/json-schema/{driver → system}/DriverOptions.json +0 -0
  282. /package/json-schema/{driver → system}/DriverType.json +0 -0
  283. /package/json-schema/{kernel → system}/FileMetadata.json +0 -0
  284. /package/json-schema/{kernel → system}/I18nContext.json +0 -0
  285. /package/json-schema/{kernel → system}/KernelContext.json +0 -0
  286. /package/json-schema/{kernel → system}/LogEntry.json +0 -0
  287. /package/json-schema/{kernel → system}/LogFormat.json +0 -0
  288. /package/json-schema/{kernel → system}/LogLevel.json +0 -0
  289. /package/json-schema/{kernel → system}/Logger.json +0 -0
  290. /package/json-schema/{kernel → system}/LoggerConfig.json +0 -0
  291. /package/json-schema/{driver → system}/MongoConfig.json +0 -0
  292. /package/json-schema/{kernel → system}/ObjectQLClient.json +0 -0
  293. /package/json-schema/{kernel → system}/Plugin.json +0 -0
  294. /package/json-schema/{kernel → system}/PluginContext.json +0 -0
  295. /package/json-schema/{kernel → system}/PluginLifecycle.json +0 -0
  296. /package/json-schema/{driver → system}/PostgresConfig.json +0 -0
  297. /package/json-schema/{kernel → system}/Router.json +0 -0
  298. /package/json-schema/{kernel → system}/RuntimeMode.json +0 -0
  299. /package/json-schema/{kernel → system}/Scheduler.json +0 -0
  300. /package/json-schema/{kernel → system}/ScopedStorage.json +0 -0
  301. /package/json-schema/{kernel → system}/ScopedStorageConfig.json +0 -0
  302. /package/json-schema/{kernel → system}/StorageAdapterType.json +0 -0
  303. /package/json-schema/{kernel → system}/StorageScope.json +0 -0
  304. /package/json-schema/{kernel → system}/SystemAPI.json +0 -0
@@ -52,24 +52,34 @@
52
52
  "datetime",
53
53
  "time",
54
54
  "boolean",
55
+ "toggle",
55
56
  "select",
57
+ "multiselect",
58
+ "radio",
59
+ "checkboxes",
56
60
  "lookup",
57
61
  "master_detail",
62
+ "tree",
58
63
  "image",
59
64
  "file",
60
65
  "avatar",
66
+ "video",
67
+ "audio",
61
68
  "formula",
62
69
  "summary",
63
70
  "autonumber",
64
71
  "location",
65
- "geolocation",
66
72
  "address",
67
73
  "code",
74
+ "json",
68
75
  "color",
69
76
  "rating",
70
77
  "slider",
71
78
  "signature",
72
- "qrcode"
79
+ "qrcode",
80
+ "progress",
81
+ "tags",
82
+ "vector"
73
83
  ],
74
84
  "description": "Field Data Type"
75
85
  },
@@ -135,11 +145,13 @@
135
145
  "properties": {
136
146
  "label": {
137
147
  "type": "string",
138
- "description": "Display label"
148
+ "description": "Display label (human-readable, any case allowed)"
139
149
  },
140
150
  "value": {
141
151
  "type": "string",
142
- "description": "Stored value"
152
+ "minLength": 2,
153
+ "pattern": "^[a-z][a-z0-9_.]*$",
154
+ "description": "Stored value (lowercase machine identifier)"
143
155
  },
144
156
  "color": {
145
157
  "type": "string",
@@ -353,6 +365,52 @@
353
365
  "additionalProperties": false,
354
366
  "description": "Configuration for currency field type"
355
367
  },
368
+ "vectorConfig": {
369
+ "type": "object",
370
+ "properties": {
371
+ "dimensions": {
372
+ "type": "integer",
373
+ "minimum": 1,
374
+ "maximum": 10000,
375
+ "description": "Vector dimensionality (e.g., 1536 for OpenAI embeddings)"
376
+ },
377
+ "distanceMetric": {
378
+ "type": "string",
379
+ "enum": [
380
+ "cosine",
381
+ "euclidean",
382
+ "dotProduct",
383
+ "manhattan"
384
+ ],
385
+ "default": "cosine",
386
+ "description": "Distance/similarity metric for vector search"
387
+ },
388
+ "normalized": {
389
+ "type": "boolean",
390
+ "default": false,
391
+ "description": "Whether vectors are normalized (unit length)"
392
+ },
393
+ "indexed": {
394
+ "type": "boolean",
395
+ "default": true,
396
+ "description": "Whether to create a vector index for fast similarity search"
397
+ },
398
+ "indexType": {
399
+ "type": "string",
400
+ "enum": [
401
+ "hnsw",
402
+ "ivfflat",
403
+ "flat"
404
+ ],
405
+ "description": "Vector index algorithm (HNSW for high accuracy, IVFFlat for large datasets)"
406
+ }
407
+ },
408
+ "required": [
409
+ "dimensions"
410
+ ],
411
+ "additionalProperties": false,
412
+ "description": "Configuration for vector field type (AI/ML embeddings)"
413
+ },
356
414
  "hidden": {
357
415
  "type": "boolean",
358
416
  "default": false,
@@ -9,7 +9,10 @@
9
9
  "enum": [
10
10
  "simple",
11
11
  "tabbed",
12
- "wizard"
12
+ "wizard",
13
+ "split",
14
+ "drawer",
15
+ "modal"
13
16
  ],
14
17
  "default": "simple"
15
18
  },
@@ -6,7 +6,9 @@
6
6
  "properties": {
7
7
  "id": {
8
8
  "type": "string",
9
- "description": "Unique identifier for this navigation item"
9
+ "minLength": 2,
10
+ "pattern": "^[a-z][a-z0-9_]*$",
11
+ "description": "Unique identifier for this navigation item (lowercase snake_case)"
10
12
  },
11
13
  "label": {
12
14
  "type": "string",
@@ -5,7 +5,10 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "name": {
8
- "type": "string"
8
+ "type": "string",
9
+ "minLength": 2,
10
+ "pattern": "^[a-z][a-z0-9_]*$",
11
+ "description": "Internal view name (lowercase snake_case)"
9
12
  },
10
13
  "label": {
11
14
  "type": "string"
@@ -14,8 +17,11 @@
14
17
  "type": "string",
15
18
  "enum": [
16
19
  "grid",
20
+ "spreadsheet",
17
21
  "kanban",
22
+ "gallery",
18
23
  "calendar",
24
+ "timeline",
19
25
  "gantt",
20
26
  "map"
21
27
  ],
@@ -8,7 +8,9 @@
8
8
  "properties": {
9
9
  "id": {
10
10
  "type": "string",
11
- "description": "Unique identifier for this navigation item"
11
+ "minLength": 2,
12
+ "pattern": "^[a-z][a-z0-9_]*$",
13
+ "description": "Unique identifier for this navigation item (lowercase snake_case)"
12
14
  },
13
15
  "label": {
14
16
  "type": "string",
@@ -48,7 +50,9 @@
48
50
  "properties": {
49
51
  "id": {
50
52
  "type": "string",
51
- "description": "Unique identifier for this navigation item"
53
+ "minLength": 2,
54
+ "pattern": "^[a-z][a-z0-9_]*$",
55
+ "description": "Unique identifier for this navigation item (lowercase snake_case)"
52
56
  },
53
57
  "label": {
54
58
  "type": "string",
@@ -84,7 +88,9 @@
84
88
  "properties": {
85
89
  "id": {
86
90
  "type": "string",
87
- "description": "Unique identifier for this navigation item"
91
+ "minLength": 2,
92
+ "pattern": "^[a-z][a-z0-9_]*$",
93
+ "description": "Unique identifier for this navigation item (lowercase snake_case)"
88
94
  },
89
95
  "label": {
90
96
  "type": "string",
@@ -125,7 +131,9 @@
125
131
  "properties": {
126
132
  "id": {
127
133
  "type": "string",
128
- "description": "Unique identifier for this navigation item"
134
+ "minLength": 2,
135
+ "pattern": "^[a-z][a-z0-9_]*$",
136
+ "description": "Unique identifier for this navigation item (lowercase snake_case)"
129
137
  },
130
138
  "label": {
131
139
  "type": "string",
@@ -170,7 +178,9 @@
170
178
  "properties": {
171
179
  "id": {
172
180
  "type": "string",
173
- "description": "Unique identifier for this navigation item"
181
+ "minLength": 2,
182
+ "pattern": "^[a-z][a-z0-9_]*$",
183
+ "description": "Unique identifier for this navigation item (lowercase snake_case)"
174
184
  },
175
185
  "label": {
176
186
  "type": "string",
@@ -6,7 +6,9 @@
6
6
  "properties": {
7
7
  "id": {
8
8
  "type": "string",
9
- "description": "Unique identifier for this navigation item"
9
+ "minLength": 2,
10
+ "pattern": "^[a-z][a-z0-9_]*$",
11
+ "description": "Unique identifier for this navigation item (lowercase snake_case)"
10
12
  },
11
13
  "label": {
12
14
  "type": "string",
@@ -6,7 +6,9 @@
6
6
  "properties": {
7
7
  "name": {
8
8
  "type": "string",
9
- "pattern": "^[a-z_][a-z0-9_]*$"
9
+ "minLength": 2,
10
+ "pattern": "^[a-z][a-z0-9_]*$",
11
+ "description": "Page unique name (lowercase snake_case)"
10
12
  },
11
13
  "label": {
12
14
  "type": "string"
@@ -57,8 +59,38 @@
57
59
  "type": "object",
58
60
  "properties": {
59
61
  "type": {
60
- "type": "string",
61
- "description": "Component Type (e.g. \"steedos-labs.related-list\")"
62
+ "anyOf": [
63
+ {
64
+ "type": "string",
65
+ "enum": [
66
+ "page:header",
67
+ "page:footer",
68
+ "page:sidebar",
69
+ "page:tabs",
70
+ "page:accordion",
71
+ "page:card",
72
+ "page:section",
73
+ "record:details",
74
+ "record:highlights",
75
+ "record:related_list",
76
+ "record:activity",
77
+ "record:chatter",
78
+ "record:path",
79
+ "app:launcher",
80
+ "nav:menu",
81
+ "nav:breadcrumb",
82
+ "global:search",
83
+ "global:notifications",
84
+ "user:profile",
85
+ "ai:chat_window",
86
+ "ai:suggestion"
87
+ ]
88
+ },
89
+ {
90
+ "type": "string"
91
+ }
92
+ ],
93
+ "description": "Component Type (Standard enum or custom string)"
62
94
  },
63
95
  "id": {
64
96
  "type": "string",
@@ -70,7 +102,7 @@
70
102
  "properties": {
71
103
  "type": "object",
72
104
  "additionalProperties": {},
73
- "description": "Component props passed to the widget"
105
+ "description": "Component props passed to the widget. See block.zod.ts for schemas."
74
106
  },
75
107
  "visibility": {
76
108
  "type": "string",
@@ -0,0 +1,32 @@
1
+ {
2
+ "$ref": "#/definitions/PageCardProps",
3
+ "definitions": {
4
+ "PageCardProps": {
5
+ "type": "object",
6
+ "properties": {
7
+ "title": {
8
+ "type": "string"
9
+ },
10
+ "bordered": {
11
+ "type": "boolean",
12
+ "default": true
13
+ },
14
+ "actions": {
15
+ "type": "array",
16
+ "items": {
17
+ "type": "string"
18
+ }
19
+ },
20
+ "children": {
21
+ "type": "array",
22
+ "description": "Card content"
23
+ }
24
+ },
25
+ "required": [
26
+ "children"
27
+ ],
28
+ "additionalProperties": false
29
+ }
30
+ },
31
+ "$schema": "http://json-schema.org/draft-07/schema#"
32
+ }
@@ -5,8 +5,38 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "type": {
8
- "type": "string",
9
- "description": "Component Type (e.g. \"steedos-labs.related-list\")"
8
+ "anyOf": [
9
+ {
10
+ "type": "string",
11
+ "enum": [
12
+ "page:header",
13
+ "page:footer",
14
+ "page:sidebar",
15
+ "page:tabs",
16
+ "page:accordion",
17
+ "page:card",
18
+ "page:section",
19
+ "record:details",
20
+ "record:highlights",
21
+ "record:related_list",
22
+ "record:activity",
23
+ "record:chatter",
24
+ "record:path",
25
+ "app:launcher",
26
+ "nav:menu",
27
+ "nav:breadcrumb",
28
+ "global:search",
29
+ "global:notifications",
30
+ "user:profile",
31
+ "ai:chat_window",
32
+ "ai:suggestion"
33
+ ]
34
+ },
35
+ {
36
+ "type": "string"
37
+ }
38
+ ],
39
+ "description": "Component Type (Standard enum or custom string)"
10
40
  },
11
41
  "id": {
12
42
  "type": "string",
@@ -18,7 +48,7 @@
18
48
  "properties": {
19
49
  "type": "object",
20
50
  "additionalProperties": {},
21
- "description": "Component props passed to the widget"
51
+ "description": "Component props passed to the widget. See block.zod.ts for schemas."
22
52
  },
23
53
  "visibility": {
24
54
  "type": "string",
@@ -0,0 +1,32 @@
1
+ {
2
+ "$ref": "#/definitions/PageComponentType",
3
+ "definitions": {
4
+ "PageComponentType": {
5
+ "type": "string",
6
+ "enum": [
7
+ "page:header",
8
+ "page:footer",
9
+ "page:sidebar",
10
+ "page:tabs",
11
+ "page:accordion",
12
+ "page:card",
13
+ "page:section",
14
+ "record:details",
15
+ "record:highlights",
16
+ "record:related_list",
17
+ "record:activity",
18
+ "record:chatter",
19
+ "record:path",
20
+ "app:launcher",
21
+ "nav:menu",
22
+ "nav:breadcrumb",
23
+ "global:search",
24
+ "global:notifications",
25
+ "user:profile",
26
+ "ai:chat_window",
27
+ "ai:suggestion"
28
+ ]
29
+ }
30
+ },
31
+ "$schema": "http://json-schema.org/draft-07/schema#"
32
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "$ref": "#/definitions/PageHeaderProps",
3
+ "definitions": {
4
+ "PageHeaderProps": {
5
+ "type": "object",
6
+ "properties": {
7
+ "title": {
8
+ "type": "string",
9
+ "description": "Page title"
10
+ },
11
+ "subtitle": {
12
+ "type": "string",
13
+ "description": "Page subtitle"
14
+ },
15
+ "icon": {
16
+ "type": "string",
17
+ "description": "Icon name"
18
+ },
19
+ "breadcrumb": {
20
+ "type": "boolean",
21
+ "default": true,
22
+ "description": "Show breadcrumb"
23
+ },
24
+ "actions": {
25
+ "type": "array",
26
+ "items": {
27
+ "type": "string"
28
+ },
29
+ "description": "Action IDs to show in header"
30
+ }
31
+ },
32
+ "required": [
33
+ "title"
34
+ ],
35
+ "additionalProperties": false
36
+ }
37
+ },
38
+ "$schema": "http://json-schema.org/draft-07/schema#"
39
+ }
@@ -6,7 +6,9 @@
6
6
  "properties": {
7
7
  "id": {
8
8
  "type": "string",
9
- "description": "Unique identifier for this navigation item"
9
+ "minLength": 2,
10
+ "pattern": "^[a-z][a-z0-9_]*$",
11
+ "description": "Unique identifier for this navigation item (lowercase snake_case)"
10
12
  },
11
13
  "label": {
12
14
  "type": "string",
@@ -23,8 +23,38 @@
23
23
  "type": "object",
24
24
  "properties": {
25
25
  "type": {
26
- "type": "string",
27
- "description": "Component Type (e.g. \"steedos-labs.related-list\")"
26
+ "anyOf": [
27
+ {
28
+ "type": "string",
29
+ "enum": [
30
+ "page:header",
31
+ "page:footer",
32
+ "page:sidebar",
33
+ "page:tabs",
34
+ "page:accordion",
35
+ "page:card",
36
+ "page:section",
37
+ "record:details",
38
+ "record:highlights",
39
+ "record:related_list",
40
+ "record:activity",
41
+ "record:chatter",
42
+ "record:path",
43
+ "app:launcher",
44
+ "nav:menu",
45
+ "nav:breadcrumb",
46
+ "global:search",
47
+ "global:notifications",
48
+ "user:profile",
49
+ "ai:chat_window",
50
+ "ai:suggestion"
51
+ ]
52
+ },
53
+ {
54
+ "type": "string"
55
+ }
56
+ ],
57
+ "description": "Component Type (Standard enum or custom string)"
28
58
  },
29
59
  "id": {
30
60
  "type": "string",
@@ -36,7 +66,7 @@
36
66
  "properties": {
37
67
  "type": "object",
38
68
  "additionalProperties": {},
39
- "description": "Component props passed to the widget"
69
+ "description": "Component props passed to the widget. See block.zod.ts for schemas."
40
70
  },
41
71
  "visibility": {
42
72
  "type": "string",
@@ -0,0 +1,55 @@
1
+ {
2
+ "$ref": "#/definitions/PageTabsProps",
3
+ "definitions": {
4
+ "PageTabsProps": {
5
+ "type": "object",
6
+ "properties": {
7
+ "type": {
8
+ "type": "string",
9
+ "enum": [
10
+ "line",
11
+ "card",
12
+ "pill"
13
+ ],
14
+ "default": "line"
15
+ },
16
+ "position": {
17
+ "type": "string",
18
+ "enum": [
19
+ "top",
20
+ "left"
21
+ ],
22
+ "default": "top"
23
+ },
24
+ "items": {
25
+ "type": "array",
26
+ "items": {
27
+ "type": "object",
28
+ "properties": {
29
+ "label": {
30
+ "type": "string"
31
+ },
32
+ "icon": {
33
+ "type": "string"
34
+ },
35
+ "children": {
36
+ "type": "array",
37
+ "description": "Child components"
38
+ }
39
+ },
40
+ "required": [
41
+ "label",
42
+ "children"
43
+ ],
44
+ "additionalProperties": false
45
+ }
46
+ }
47
+ },
48
+ "required": [
49
+ "items"
50
+ ],
51
+ "additionalProperties": false
52
+ }
53
+ },
54
+ "$schema": "http://json-schema.org/draft-07/schema#"
55
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "$ref": "#/definitions/RecordDetailsProps",
3
+ "definitions": {
4
+ "RecordDetailsProps": {
5
+ "type": "object",
6
+ "properties": {
7
+ "columns": {
8
+ "type": "string",
9
+ "enum": [
10
+ "1",
11
+ "2",
12
+ "3",
13
+ "4"
14
+ ],
15
+ "default": "2"
16
+ },
17
+ "layout": {
18
+ "type": "string",
19
+ "enum": [
20
+ "auto",
21
+ "custom"
22
+ ],
23
+ "default": "auto"
24
+ },
25
+ "sections": {
26
+ "type": "array",
27
+ "items": {
28
+ "type": "string"
29
+ },
30
+ "description": "Section IDs to show"
31
+ }
32
+ },
33
+ "additionalProperties": false
34
+ }
35
+ },
36
+ "$schema": "http://json-schema.org/draft-07/schema#"
37
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "$ref": "#/definitions/RecordHighlightsProps",
3
+ "definitions": {
4
+ "RecordHighlightsProps": {
5
+ "type": "object",
6
+ "properties": {
7
+ "fields": {
8
+ "type": "array",
9
+ "items": {
10
+ "type": "string"
11
+ },
12
+ "minItems": 1,
13
+ "maxItems": 7,
14
+ "description": "Key fields to highlights (max 7)"
15
+ }
16
+ },
17
+ "required": [
18
+ "fields"
19
+ ],
20
+ "additionalProperties": false
21
+ }
22
+ },
23
+ "$schema": "http://json-schema.org/draft-07/schema#"
24
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "$ref": "#/definitions/RecordRelatedListProps",
3
+ "definitions": {
4
+ "RecordRelatedListProps": {
5
+ "type": "object",
6
+ "properties": {
7
+ "objectName": {
8
+ "type": "string",
9
+ "description": "Related object name"
10
+ },
11
+ "relationshipField": {
12
+ "type": "string",
13
+ "description": "Field on related object that points to this record"
14
+ },
15
+ "columns": {
16
+ "type": "array",
17
+ "items": {
18
+ "type": "string"
19
+ },
20
+ "description": "Fields to display"
21
+ },
22
+ "sort": {
23
+ "type": "string"
24
+ },
25
+ "limit": {
26
+ "type": "number",
27
+ "default": 5
28
+ }
29
+ },
30
+ "required": [
31
+ "objectName",
32
+ "relationshipField",
33
+ "columns"
34
+ ],
35
+ "additionalProperties": false
36
+ }
37
+ },
38
+ "$schema": "http://json-schema.org/draft-07/schema#"
39
+ }
@@ -6,7 +6,9 @@
6
6
  "properties": {
7
7
  "id": {
8
8
  "type": "string",
9
- "description": "Unique identifier for this navigation item"
9
+ "minLength": 2,
10
+ "pattern": "^[a-z][a-z0-9_]*$",
11
+ "description": "Unique identifier for this navigation item (lowercase snake_case)"
10
12
  },
11
13
  "label": {
12
14
  "type": "string",