@objectstack/spec 0.9.2 → 1.0.0

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 (1769) hide show
  1. package/README.md +11 -370
  2. package/dist/ai/agent-action.zod.d.ts +3215 -624
  3. package/dist/ai/agent-action.zod.d.ts.map +1 -1
  4. package/dist/ai/agent-action.zod.js +45 -3
  5. package/dist/ai/agent.zod.d.ts +148 -36
  6. package/dist/ai/agent.zod.d.ts.map +1 -1
  7. package/dist/ai/agent.zod.js +24 -0
  8. package/dist/ai/conversation.zod.d.ts +1105 -149
  9. package/dist/ai/conversation.zod.d.ts.map +1 -1
  10. package/dist/ai/conversation.zod.js +40 -25
  11. package/dist/ai/cost.zod.d.ts +1714 -482
  12. package/dist/ai/cost.zod.d.ts.map +1 -1
  13. package/dist/ai/cost.zod.js +18 -20
  14. package/dist/ai/devops-agent.zod.d.ts +1761 -289
  15. package/dist/ai/devops-agent.zod.d.ts.map +1 -1
  16. package/dist/ai/devops-agent.zod.js +1 -0
  17. package/dist/ai/feedback-loop.zod.d.ts +28451 -2432
  18. package/dist/ai/feedback-loop.zod.d.ts.map +1 -1
  19. package/dist/ai/model-registry.zod.d.ts +1164 -145
  20. package/dist/ai/model-registry.zod.d.ts.map +1 -1
  21. package/dist/ai/model-registry.zod.js +2 -1
  22. package/dist/ai/nlq.zod.d.ts +918 -213
  23. package/dist/ai/nlq.zod.d.ts.map +1 -1
  24. package/dist/ai/nlq.zod.js +6 -6
  25. package/dist/ai/orchestration.zod.d.ts +465 -159
  26. package/dist/ai/orchestration.zod.d.ts.map +1 -1
  27. package/dist/ai/orchestration.zod.js +6 -4
  28. package/dist/ai/plugin-development.zod.d.ts +1154 -208
  29. package/dist/ai/plugin-development.zod.d.ts.map +1 -1
  30. package/dist/ai/predictive.zod.d.ts +702 -118
  31. package/dist/ai/predictive.zod.d.ts.map +1 -1
  32. package/dist/ai/predictive.zod.js +16 -5
  33. package/dist/ai/rag-pipeline.zod.d.ts +886 -195
  34. package/dist/ai/rag-pipeline.zod.d.ts.map +1 -1
  35. package/dist/ai/rag-pipeline.zod.js +30 -13
  36. package/dist/ai/runtime-ops.zod.d.ts +1591 -256
  37. package/dist/ai/runtime-ops.zod.d.ts.map +1 -1
  38. package/dist/ai/runtime-ops.zod.js +1 -1
  39. package/dist/api/analytics.zod.d.ts +715 -0
  40. package/dist/api/analytics.zod.d.ts.map +1 -0
  41. package/dist/api/analytics.zod.js +71 -0
  42. package/dist/api/auth.zod.d.ts +495 -0
  43. package/dist/api/auth.zod.d.ts.map +1 -0
  44. package/dist/api/auth.zod.js +78 -0
  45. package/dist/api/batch.zod.d.ts +892 -82
  46. package/dist/api/batch.zod.d.ts.map +1 -1
  47. package/dist/api/contract.zod.d.ts +1839 -207
  48. package/dist/api/contract.zod.d.ts.map +1 -1
  49. package/dist/api/contract.zod.js +23 -11
  50. package/dist/api/discovery.zod.d.ts +162 -12
  51. package/dist/api/discovery.zod.d.ts.map +1 -1
  52. package/dist/api/discovery.zod.js +6 -0
  53. package/dist/api/documentation.zod.d.ts +3646 -401
  54. package/dist/api/documentation.zod.d.ts.map +1 -1
  55. package/dist/api/endpoint.zod.d.ts +222 -56
  56. package/dist/api/endpoint.zod.d.ts.map +1 -1
  57. package/dist/api/errors.zod.d.ts +205 -376
  58. package/dist/api/errors.zod.d.ts.map +1 -1
  59. package/dist/api/graphql.zod.d.ts +5154 -670
  60. package/dist/api/graphql.zod.d.ts.map +1 -1
  61. package/dist/api/graphql.zod.js +3 -0
  62. package/dist/api/http-cache.zod.d.ts +229 -92
  63. package/dist/api/http-cache.zod.d.ts.map +1 -1
  64. package/dist/api/hub.zod.d.ts +27805 -3568
  65. package/dist/api/hub.zod.d.ts.map +1 -1
  66. package/dist/api/hub.zod.js +188 -150
  67. package/dist/api/index.d.ts +6 -0
  68. package/dist/api/index.d.ts.map +1 -1
  69. package/dist/api/index.js +6 -0
  70. package/dist/api/metadata.zod.d.ts +3757 -0
  71. package/dist/api/metadata.zod.d.ts.map +1 -0
  72. package/dist/api/metadata.zod.js +42 -0
  73. package/dist/api/odata.zod.d.ts +677 -72
  74. package/dist/api/odata.zod.d.ts.map +1 -1
  75. package/dist/api/protocol.zod.d.ts +9897 -318
  76. package/dist/api/protocol.zod.d.ts.map +1 -1
  77. package/dist/api/protocol.zod.js +167 -86
  78. package/dist/api/realtime.zod.d.ts +197 -73
  79. package/dist/api/realtime.zod.d.ts.map +1 -1
  80. package/dist/api/realtime.zod.js +2 -1
  81. package/dist/api/registry.example.d.ts +1 -2
  82. package/dist/api/registry.example.d.ts.map +1 -1
  83. package/dist/api/registry.example.js +1 -2
  84. package/dist/api/registry.zod.d.ts +8888 -1103
  85. package/dist/api/registry.zod.d.ts.map +1 -1
  86. package/dist/api/registry.zod.js +4 -7
  87. package/dist/api/rest-server.zod.d.ts +1942 -248
  88. package/dist/api/rest-server.zod.d.ts.map +1 -1
  89. package/dist/api/rest-server.zod.js +1 -1
  90. package/dist/api/router.zod.d.ts +155 -41
  91. package/dist/api/router.zod.d.ts.map +1 -1
  92. package/dist/api/router.zod.js +4 -0
  93. package/dist/api/storage.zod.d.ts +261 -0
  94. package/dist/api/storage.zod.d.ts.map +1 -0
  95. package/dist/api/storage.zod.js +43 -0
  96. package/dist/api/websocket.zod.d.ts +1209 -203
  97. package/dist/api/websocket.zod.d.ts.map +1 -1
  98. package/dist/automation/approval.zod.d.ts +713 -171
  99. package/dist/automation/approval.zod.d.ts.map +1 -1
  100. package/dist/automation/approval.zod.js +6 -2
  101. package/dist/automation/etl.zod.d.ts +453 -144
  102. package/dist/automation/etl.zod.d.ts.map +1 -1
  103. package/dist/automation/flow.zod.d.ts +290 -79
  104. package/dist/automation/flow.zod.d.ts.map +1 -1
  105. package/dist/automation/flow.zod.js +44 -1
  106. package/dist/automation/sync.zod.d.ts +813 -132
  107. package/dist/automation/sync.zod.d.ts.map +1 -1
  108. package/dist/automation/trigger-registry.zod.d.ts +1030 -184
  109. package/dist/automation/trigger-registry.zod.d.ts.map +1 -1
  110. package/dist/automation/webhook.zod.d.ts +125 -50
  111. package/dist/automation/webhook.zod.d.ts.map +1 -1
  112. package/dist/automation/workflow.zod.d.ts +1192 -597
  113. package/dist/automation/workflow.zod.d.ts.map +1 -1
  114. package/dist/automation/workflow.zod.js +101 -57
  115. package/dist/data/analytics.zod.d.ts +358 -0
  116. package/dist/data/analytics.zod.d.ts.map +1 -0
  117. package/dist/data/analytics.zod.js +135 -0
  118. package/dist/data/data-engine.zod.d.ts +2335 -326
  119. package/dist/data/data-engine.zod.d.ts.map +1 -1
  120. package/dist/data/data-engine.zod.js +21 -28
  121. package/dist/data/dataset.zod.d.ts +40 -21
  122. package/dist/data/dataset.zod.d.ts.map +1 -1
  123. package/dist/data/datasource.zod.d.ts +324 -0
  124. package/dist/data/datasource.zod.d.ts.map +1 -0
  125. package/dist/data/document.zod.d.ts +547 -39
  126. package/dist/data/document.zod.d.ts.map +1 -1
  127. package/dist/data/driver/mongo.zod.d.ts +39 -3
  128. package/dist/data/driver/mongo.zod.d.ts.map +1 -1
  129. package/dist/data/driver/mongo.zod.js +1 -1
  130. package/dist/data/driver/postgres.zod.d.ts +109 -3
  131. package/dist/data/driver/postgres.zod.d.ts.map +1 -1
  132. package/dist/data/driver-nosql.zod.d.ts +695 -189
  133. package/dist/data/driver-nosql.zod.d.ts.map +1 -1
  134. package/dist/data/driver-sql.zod.d.ts +481 -33
  135. package/dist/data/driver-sql.zod.d.ts.map +1 -1
  136. package/dist/data/driver.zod.d.ts +4237 -473
  137. package/dist/data/driver.zod.d.ts.map +1 -1
  138. package/dist/data/driver.zod.js +99 -103
  139. package/dist/data/external-lookup.zod.d.ts +505 -68
  140. package/dist/data/external-lookup.zod.d.ts.map +1 -1
  141. package/dist/data/field.zod.d.ts +1754 -770
  142. package/dist/data/field.zod.d.ts.map +1 -1
  143. package/dist/data/field.zod.js +25 -0
  144. package/dist/data/filter.zod.d.ts +224 -36
  145. package/dist/data/filter.zod.d.ts.map +1 -1
  146. package/dist/data/hook.zod.d.ts +143 -70
  147. package/dist/data/hook.zod.d.ts.map +1 -1
  148. package/dist/data/index.d.ts +2 -0
  149. package/dist/data/index.d.ts.map +1 -1
  150. package/dist/data/index.js +3 -0
  151. package/dist/data/mapping.zod.d.ts +483 -109
  152. package/dist/data/mapping.zod.d.ts.map +1 -1
  153. package/dist/data/object.zod.d.ts +2899 -506
  154. package/dist/data/object.zod.d.ts.map +1 -1
  155. package/dist/data/object.zod.js +40 -0
  156. package/dist/data/query.zod.d.ts +402 -157
  157. package/dist/data/query.zod.d.ts.map +1 -1
  158. package/dist/data/validation.zod.d.ts +284 -123
  159. package/dist/data/validation.zod.d.ts.map +1 -1
  160. package/dist/hub/composer.zod.d.ts +2579 -282
  161. package/dist/hub/composer.zod.d.ts.map +1 -1
  162. package/dist/hub/composer.zod.js +1 -1
  163. package/dist/hub/hub-federation.zod.d.ts +2124 -458
  164. package/dist/hub/hub-federation.zod.d.ts.map +1 -1
  165. package/dist/hub/index.d.ts +1 -1
  166. package/dist/hub/index.d.ts.map +1 -1
  167. package/dist/hub/index.js +1 -1
  168. package/dist/hub/license.zod.d.ts +74 -29
  169. package/dist/hub/license.zod.d.ts.map +1 -1
  170. package/dist/hub/marketplace.zod.d.ts +280 -37
  171. package/dist/hub/marketplace.zod.d.ts.map +1 -1
  172. package/dist/hub/marketplace.zod.js +38 -12
  173. package/dist/hub/plugin-registry.zod.d.ts +1461 -140
  174. package/dist/hub/plugin-registry.zod.d.ts.map +1 -1
  175. package/dist/hub/plugin-registry.zod.js +1 -1
  176. package/dist/hub/plugin-security.zod.d.ts +3720 -476
  177. package/dist/hub/plugin-security.zod.d.ts.map +1 -1
  178. package/dist/hub/plugin-security.zod.js +1 -1
  179. package/dist/hub/registry-config.zod.d.ts +450 -0
  180. package/dist/hub/registry-config.zod.d.ts.map +1 -0
  181. package/dist/hub/registry-config.zod.js +156 -0
  182. package/dist/hub/space.zod.d.ts +307 -72
  183. package/dist/hub/space.zod.d.ts.map +1 -1
  184. package/dist/hub/tenant.zod.d.ts +861 -107
  185. package/dist/hub/tenant.zod.d.ts.map +1 -1
  186. package/dist/identity/identity.zod.d.ts +258 -0
  187. package/dist/identity/identity.zod.d.ts.map +1 -0
  188. package/dist/{auth → identity}/index.d.ts +0 -2
  189. package/dist/identity/index.d.ts.map +1 -0
  190. package/dist/{auth → identity}/index.js +0 -2
  191. package/dist/identity/organization.zod.d.ts +179 -0
  192. package/dist/identity/organization.zod.d.ts.map +1 -0
  193. package/dist/identity/protocol.d.ts.map +1 -0
  194. package/dist/{auth → identity}/role.zod.d.ts +14 -1
  195. package/dist/identity/role.zod.d.ts.map +1 -0
  196. package/dist/identity/scim.zod.d.ts +2732 -0
  197. package/dist/identity/scim.zod.d.ts.map +1 -0
  198. package/dist/index.d.ts +4 -2
  199. package/dist/index.d.ts.map +1 -1
  200. package/dist/index.js +6 -3
  201. package/dist/integration/connector/database.zod.d.ts +1253 -264
  202. package/dist/integration/connector/database.zod.d.ts.map +1 -1
  203. package/dist/integration/connector/file-storage.zod.d.ts +990 -259
  204. package/dist/integration/connector/file-storage.zod.d.ts.map +1 -1
  205. package/dist/integration/connector/github.zod.d.ts +1251 -226
  206. package/dist/integration/connector/github.zod.d.ts.map +1 -1
  207. package/dist/integration/connector/message-queue.zod.d.ts +1247 -314
  208. package/dist/integration/connector/message-queue.zod.d.ts.map +1 -1
  209. package/dist/integration/connector/saas.zod.d.ts +1129 -254
  210. package/dist/integration/connector/saas.zod.d.ts.map +1 -1
  211. package/dist/integration/connector/vercel.zod.d.ts +1799 -327
  212. package/dist/integration/connector/vercel.zod.d.ts.map +1 -1
  213. package/dist/integration/connector.zod.d.ts +1225 -382
  214. package/dist/integration/connector.zod.d.ts.map +1 -1
  215. package/dist/integration/connector.zod.js +26 -3
  216. package/dist/kernel/context.zod.d.ts +56 -0
  217. package/dist/kernel/context.zod.d.ts.map +1 -0
  218. package/dist/kernel/events.zod.d.ts +2716 -0
  219. package/dist/kernel/events.zod.d.ts.map +1 -0
  220. package/dist/{system → kernel}/events.zod.js +16 -16
  221. package/dist/kernel/feature.zod.d.ts +131 -0
  222. package/dist/kernel/feature.zod.d.ts.map +1 -0
  223. package/dist/kernel/index.d.ts +17 -0
  224. package/dist/kernel/index.d.ts.map +1 -0
  225. package/dist/kernel/index.js +32 -0
  226. package/dist/kernel/manifest.zod.d.ts +2124 -0
  227. package/dist/kernel/manifest.zod.d.ts.map +1 -0
  228. package/dist/{system → kernel}/manifest.zod.js +49 -8
  229. package/dist/kernel/metadata-loader.zod.d.ts +641 -0
  230. package/dist/kernel/metadata-loader.zod.d.ts.map +1 -0
  231. package/dist/kernel/plugin-capability.zod.d.ts +1130 -0
  232. package/dist/kernel/plugin-capability.zod.d.ts.map +1 -0
  233. package/dist/kernel/plugin-lifecycle-advanced.zod.d.ts +1458 -0
  234. package/dist/kernel/plugin-lifecycle-advanced.zod.d.ts.map +1 -0
  235. package/dist/{system → kernel}/plugin-lifecycle-events.zod.d.ts +209 -49
  236. package/dist/kernel/plugin-lifecycle-events.zod.d.ts.map +1 -0
  237. package/dist/kernel/plugin-loading.zod.d.ts +1774 -0
  238. package/dist/kernel/plugin-loading.zod.d.ts.map +1 -0
  239. package/dist/kernel/plugin-security-advanced.zod.d.ts +3833 -0
  240. package/dist/kernel/plugin-security-advanced.zod.d.ts.map +1 -0
  241. package/dist/kernel/plugin-structure.zod.d.ts +54 -0
  242. package/dist/kernel/plugin-structure.zod.d.ts.map +1 -0
  243. package/dist/kernel/plugin-structure.zod.js +107 -0
  244. package/dist/kernel/plugin-validator.zod.d.ts +245 -0
  245. package/dist/kernel/plugin-validator.zod.d.ts.map +1 -0
  246. package/dist/kernel/plugin-versioning.zod.d.ts +1309 -0
  247. package/dist/kernel/plugin-versioning.zod.d.ts.map +1 -0
  248. package/dist/{system → kernel}/plugin-versioning.zod.js +8 -8
  249. package/dist/kernel/plugin.zod.d.ts +3482 -0
  250. package/dist/kernel/plugin.zod.d.ts.map +1 -0
  251. package/dist/kernel/plugin.zod.js +80 -0
  252. package/dist/kernel/service-registry.zod.d.ts +247 -0
  253. package/dist/kernel/service-registry.zod.d.ts.map +1 -0
  254. package/dist/kernel/service-registry.zod.js +218 -0
  255. package/dist/kernel/startup-orchestrator.zod.d.ts +376 -0
  256. package/dist/kernel/startup-orchestrator.zod.d.ts.map +1 -0
  257. package/dist/qa/testing.zod.d.ts +765 -240
  258. package/dist/qa/testing.zod.d.ts.map +1 -1
  259. package/dist/{permission → security}/index.d.ts +1 -0
  260. package/dist/security/index.d.ts.map +1 -0
  261. package/dist/{permission → security}/index.js +1 -0
  262. package/dist/security/permission.zod.d.ts +342 -0
  263. package/dist/security/permission.zod.d.ts.map +1 -0
  264. package/dist/{permission → security}/permission.zod.js +1 -1
  265. package/dist/security/policy.zod.d.ts +209 -0
  266. package/dist/security/policy.zod.d.ts.map +1 -0
  267. package/dist/security/rls.zod.d.ts +605 -0
  268. package/dist/security/rls.zod.d.ts.map +1 -0
  269. package/dist/security/sharing.zod.d.ts +146 -0
  270. package/dist/security/sharing.zod.d.ts.map +1 -0
  271. package/dist/security/territory.zod.d.ts +104 -0
  272. package/dist/security/territory.zod.d.ts.map +1 -0
  273. package/dist/shared/connector-auth.zod.d.ts +176 -0
  274. package/dist/shared/connector-auth.zod.d.ts.map +1 -0
  275. package/dist/shared/connector-auth.zod.js +63 -0
  276. package/dist/shared/http.zod.d.ts +67 -22
  277. package/dist/shared/http.zod.d.ts.map +1 -1
  278. package/dist/shared/mapping.zod.d.ts +139 -25
  279. package/dist/shared/mapping.zod.d.ts.map +1 -1
  280. package/dist/stack.zod.d.ts +33170 -6871
  281. package/dist/stack.zod.d.ts.map +1 -1
  282. package/dist/stack.zod.js +7 -7
  283. package/dist/system/audit.zod.d.ts +974 -521
  284. package/dist/system/audit.zod.d.ts.map +1 -1
  285. package/dist/system/auth-config.zod.d.ts +143 -0
  286. package/dist/system/auth-config.zod.d.ts.map +1 -0
  287. package/dist/system/auth-config.zod.js +35 -0
  288. package/dist/system/cache.zod.d.ts +102 -64
  289. package/dist/system/cache.zod.d.ts.map +1 -1
  290. package/dist/system/change-management.zod.d.ts +452 -77
  291. package/dist/system/change-management.zod.d.ts.map +1 -1
  292. package/dist/system/collaboration.zod.d.ts +1609 -243
  293. package/dist/system/collaboration.zod.d.ts.map +1 -1
  294. package/dist/system/compliance.zod.d.ts +293 -63
  295. package/dist/system/compliance.zod.d.ts.map +1 -1
  296. package/dist/system/encryption.zod.d.ts +184 -54
  297. package/dist/system/encryption.zod.d.ts.map +1 -1
  298. package/dist/system/http-server.zod.d.ts +562 -116
  299. package/dist/system/http-server.zod.d.ts.map +1 -1
  300. package/dist/system/index.d.ts +23 -33
  301. package/dist/system/index.d.ts.map +1 -1
  302. package/dist/system/index.js +28 -49
  303. package/dist/system/job.zod.d.ts +169 -29
  304. package/dist/system/job.zod.d.ts.map +1 -1
  305. package/dist/system/job.zod.js +18 -5
  306. package/dist/system/logging.zod.d.ts +1875 -272
  307. package/dist/system/logging.zod.d.ts.map +1 -1
  308. package/dist/system/masking.zod.d.ts +66 -34
  309. package/dist/system/masking.zod.d.ts.map +1 -1
  310. package/dist/system/message-queue.zod.d.ts +135 -49
  311. package/dist/system/message-queue.zod.d.ts.map +1 -1
  312. package/dist/system/metadata-persistence.zod.d.ts +552 -0
  313. package/dist/system/metadata-persistence.zod.d.ts.map +1 -0
  314. package/dist/system/metadata-persistence.zod.js +214 -0
  315. package/dist/system/metrics.zod.d.ts +1705 -330
  316. package/dist/system/metrics.zod.d.ts.map +1 -1
  317. package/dist/system/migration.zod.d.ts +18486 -2398
  318. package/dist/system/migration.zod.d.ts.map +1 -1
  319. package/dist/system/notification.zod.d.ts +534 -75
  320. package/dist/system/notification.zod.d.ts.map +1 -1
  321. package/dist/system/object-storage.zod.d.ts +1101 -382
  322. package/dist/system/object-storage.zod.d.ts.map +1 -1
  323. package/dist/system/search-engine.zod.d.ts +209 -78
  324. package/dist/system/search-engine.zod.d.ts.map +1 -1
  325. package/dist/system/service-registry.zod.d.ts +67 -125
  326. package/dist/system/service-registry.zod.d.ts.map +1 -1
  327. package/dist/system/service-registry.zod.js +81 -202
  328. package/dist/system/tracing.zod.d.ts +1623 -286
  329. package/dist/system/tracing.zod.d.ts.map +1 -1
  330. package/dist/system/translation.zod.d.ts +136 -8
  331. package/dist/system/translation.zod.d.ts.map +1 -1
  332. package/dist/system/translation.zod.js +2 -0
  333. package/dist/system/worker.zod.d.ts +1138 -159
  334. package/dist/system/worker.zod.d.ts.map +1 -1
  335. package/dist/system/worker.zod.js +8 -8
  336. package/dist/ui/action.zod.d.ts +121 -118
  337. package/dist/ui/action.zod.d.ts.map +1 -1
  338. package/dist/ui/app.zod.d.ts +306 -22
  339. package/dist/ui/app.zod.d.ts.map +1 -1
  340. package/dist/ui/app.zod.js +20 -1
  341. package/dist/ui/chart.zod.d.ts +390 -66
  342. package/dist/ui/chart.zod.d.ts.map +1 -1
  343. package/dist/ui/chart.zod.js +90 -5
  344. package/dist/ui/component.zod.d.ts +210 -86
  345. package/dist/ui/component.zod.d.ts.map +1 -1
  346. package/dist/ui/component.zod.js +4 -1
  347. package/dist/ui/dashboard.zod.d.ts +1002 -153
  348. package/dist/ui/dashboard.zod.d.ts.map +1 -1
  349. package/dist/ui/dashboard.zod.js +25 -0
  350. package/dist/ui/page.zod.d.ts +251 -117
  351. package/dist/ui/page.zod.d.ts.map +1 -1
  352. package/dist/ui/page.zod.js +22 -1
  353. package/dist/ui/report.zod.d.ts +461 -138
  354. package/dist/ui/report.zod.d.ts.map +1 -1
  355. package/dist/ui/theme.zod.d.ts +944 -42
  356. package/dist/ui/theme.zod.d.ts.map +1 -1
  357. package/dist/ui/view.zod.d.ts +3021 -393
  358. package/dist/ui/view.zod.d.ts.map +1 -1
  359. package/dist/ui/view.zod.js +84 -10
  360. package/dist/ui/widget.zod.d.ts +1689 -203
  361. package/dist/ui/widget.zod.d.ts.map +1 -1
  362. package/dist/ui/widget.zod.js +32 -10
  363. package/json-schema/ai/AICodeReviewResult.json +219 -1
  364. package/json-schema/ai/AIKnowledge.json +24 -1
  365. package/json-schema/ai/AIModelConfig.json +35 -1
  366. package/json-schema/ai/AIOperationCost.json +73 -1
  367. package/json-schema/ai/AIOpsAgentConfig.json +470 -1
  368. package/json-schema/ai/AIOrchestration.json +385 -1
  369. package/json-schema/ai/AIOrchestrationExecutionResult.json +133 -1
  370. package/json-schema/ai/AIOrchestrationTrigger.json +12 -1
  371. package/json-schema/ai/AITask.json +127 -1
  372. package/json-schema/ai/AITaskType.json +15 -1
  373. package/json-schema/ai/AITool.json +27 -1
  374. package/json-schema/ai/Agent.json +147 -1
  375. package/json-schema/ai/AgentAction.json +431 -1
  376. package/json-schema/ai/AgentActionResult.json +63 -1
  377. package/json-schema/ai/AgentActionSequence.json +497 -1
  378. package/json-schema/ai/AgentActionSequenceResult.json +137 -1
  379. package/json-schema/ai/AnomalyDetectionConfig.json +66 -1
  380. package/json-schema/ai/AutoScalingPolicy.json +163 -1
  381. package/json-schema/ai/BatchAIOrchestrationExecution.json +42 -1
  382. package/json-schema/ai/BillingPeriod.json +12 -1
  383. package/json-schema/ai/BudgetLimit.json +105 -1
  384. package/json-schema/ai/BudgetStatus.json +88 -1
  385. package/json-schema/ai/BudgetType.json +11 -1
  386. package/json-schema/ai/CICDPipelineConfig.json +130 -1
  387. package/json-schema/ai/ChunkingStrategy.json +127 -1
  388. package/json-schema/ai/CodeContent.json +32 -0
  389. package/json-schema/ai/CodeGenerationConfig.json +59 -1
  390. package/json-schema/ai/CodeGenerationRequest.json +234 -1
  391. package/json-schema/ai/CodeGenerationTarget.json +13 -1
  392. package/json-schema/ai/ComponentActionParams.json +71 -1
  393. package/json-schema/ai/ComponentActionType.json +14 -1
  394. package/json-schema/ai/ComponentAgentAction.json +153 -0
  395. package/json-schema/ai/ConversationAnalytics.json +82 -1
  396. package/json-schema/ai/ConversationContext.json +42 -1
  397. package/json-schema/ai/ConversationMessage.json +282 -1
  398. package/json-schema/ai/ConversationSession.json +560 -1
  399. package/json-schema/ai/ConversationSummary.json +68 -1
  400. package/json-schema/ai/CostAlert.json +103 -1
  401. package/json-schema/ai/CostAlertType.json +10 -1
  402. package/json-schema/ai/CostAnalytics.json +603 -1
  403. package/json-schema/ai/CostBreakdownDimension.json +14 -1
  404. package/json-schema/ai/CostBreakdownEntry.json +56 -1
  405. package/json-schema/ai/CostEntry.json +116 -1
  406. package/json-schema/ai/CostMetricType.json +11 -1
  407. package/json-schema/ai/CostOptimizationRecommendation.json +95 -1
  408. package/json-schema/ai/CostQueryFilters.json +108 -1
  409. package/json-schema/ai/CostReport.json +987 -1
  410. package/json-schema/ai/DataActionParams.json +32 -1
  411. package/json-schema/ai/DataActionType.json +12 -1
  412. package/json-schema/ai/DataAgentAction.json +112 -0
  413. package/json-schema/ai/DeploymentStrategy.json +46 -1
  414. package/json-schema/ai/DevOpsAgent.json +809 -1
  415. package/json-schema/ai/DevOpsTool.json +32 -1
  416. package/json-schema/ai/DevelopmentConfig.json +164 -1
  417. package/json-schema/ai/DocumentChunk.json +94 -1
  418. package/json-schema/ai/DocumentLoaderConfig.json +63 -1
  419. package/json-schema/ai/DocumentMetadata.json +58 -1
  420. package/json-schema/ai/EmbeddingModel.json +55 -1
  421. package/json-schema/ai/Entity.json +49 -1
  422. package/json-schema/ai/EvaluationMetrics.json +58 -1
  423. package/json-schema/ai/FeedbackLoop.json +7571 -1
  424. package/json-schema/ai/FieldSynonymConfig.json +33 -1
  425. package/json-schema/ai/FileContent.json +37 -0
  426. package/json-schema/ai/FilterExpression.json +58 -0
  427. package/json-schema/ai/FilterGroup.json +83 -0
  428. package/json-schema/ai/FormActionParams.json +30 -1
  429. package/json-schema/ai/FormActionType.json +14 -1
  430. package/json-schema/ai/FormAgentAction.json +112 -0
  431. package/json-schema/ai/FunctionCall.json +22 -1
  432. package/json-schema/ai/GeneratedCode.json +195 -1
  433. package/json-schema/ai/GitHubIntegration.json +65 -1
  434. package/json-schema/ai/Hyperparameters.json +74 -1
  435. package/json-schema/ai/ImageContent.json +38 -0
  436. package/json-schema/ai/IntegrationConfig.json +145 -1
  437. package/json-schema/ai/IntentActionMapping.json +486 -1
  438. package/json-schema/ai/Issue.json +68 -1
  439. package/json-schema/ai/MessageContent.json +115 -1
  440. package/json-schema/ai/MessageContentType.json +10 -1
  441. package/json-schema/ai/MessagePruningEvent.json +71 -1
  442. package/json-schema/ai/MessageRole.json +10 -1
  443. package/json-schema/ai/MetadataFilter.json +164 -0
  444. package/json-schema/ai/MetadataSource.json +27 -1
  445. package/json-schema/ai/ModelCapability.json +41 -1
  446. package/json-schema/ai/ModelConfig.json +179 -1
  447. package/json-schema/ai/ModelDrift.json +68 -1
  448. package/json-schema/ai/ModelFeature.json +65 -1
  449. package/json-schema/ai/ModelLimits.json +39 -1
  450. package/json-schema/ai/ModelPricing.json +22 -1
  451. package/json-schema/ai/ModelProvider.json +13 -1
  452. package/json-schema/ai/ModelRegistry.json +425 -1
  453. package/json-schema/ai/ModelRegistryEntry.json +237 -1
  454. package/json-schema/ai/ModelSelectionCriteria.json +44 -1
  455. package/json-schema/ai/MonitoringConfig.json +74 -1
  456. package/json-schema/ai/NLQAnalytics.json +103 -1
  457. package/json-schema/ai/NLQFieldMapping.json +34 -1
  458. package/json-schema/ai/NLQModelConfig.json +72 -1
  459. package/json-schema/ai/NLQParseResult.json +249 -1
  460. package/json-schema/ai/NLQRequest.json +104 -1
  461. package/json-schema/ai/NLQResponse.json +317 -1
  462. package/json-schema/ai/NLQTrainingExample.json +117 -1
  463. package/json-schema/ai/NavigationActionParams.json +50 -1
  464. package/json-schema/ai/NavigationActionType.json +15 -1
  465. package/json-schema/ai/NavigationAgentAction.json +133 -0
  466. package/json-schema/ai/PerformanceOptimization.json +110 -1
  467. package/json-schema/ai/PipelineStage.json +71 -1
  468. package/json-schema/ai/PluginCompositionRequest.json +88 -1
  469. package/json-schema/ai/PluginCompositionResult.json +138 -1
  470. package/json-schema/ai/PluginRecommendation.json +135 -1
  471. package/json-schema/ai/PluginRecommendationRequest.json +75 -1
  472. package/json-schema/ai/PluginScaffoldingTemplate.json +122 -1
  473. package/json-schema/ai/PostProcessingAction.json +35 -1
  474. package/json-schema/ai/PredictionRequest.json +33 -1
  475. package/json-schema/ai/PredictionResult.json +109 -1
  476. package/json-schema/ai/PredictiveModel.json +442 -1
  477. package/json-schema/ai/PredictiveModelType.json +12 -1
  478. package/json-schema/ai/PromptTemplate.json +157 -1
  479. package/json-schema/ai/PromptVariable.json +50 -1
  480. package/json-schema/ai/QueryContext.json +66 -1
  481. package/json-schema/ai/QueryIntent.json +15 -1
  482. package/json-schema/ai/QueryTemplate.json +78 -1
  483. package/json-schema/ai/RAGPipelineConfig.json +687 -1
  484. package/json-schema/ai/RAGPipelineStatus.json +61 -1
  485. package/json-schema/ai/RAGQueryRequest.json +58 -1
  486. package/json-schema/ai/RAGQueryResponse.json +134 -1
  487. package/json-schema/ai/RerankingConfig.json +28 -1
  488. package/json-schema/ai/Resolution.json +7477 -1
  489. package/json-schema/ai/RetrievalStrategy.json +115 -1
  490. package/json-schema/ai/RootCauseAnalysisRequest.json +87 -1
  491. package/json-schema/ai/RootCauseAnalysisResult.json +193 -1
  492. package/json-schema/ai/SelfHealingAction.json +92 -1
  493. package/json-schema/ai/SelfHealingConfig.json +205 -1
  494. package/json-schema/ai/TestingConfig.json +51 -1
  495. package/json-schema/ai/TextContent.json +28 -0
  496. package/json-schema/ai/Timeframe.json +62 -1
  497. package/json-schema/ai/TokenBudgetConfig.json +86 -1
  498. package/json-schema/ai/TokenBudgetStrategy.json +10 -1
  499. package/json-schema/ai/TokenUsage.json +26 -1
  500. package/json-schema/ai/TokenUsageStats.json +60 -1
  501. package/json-schema/ai/ToolCall.json +43 -1
  502. package/json-schema/ai/TrainingConfig.json +82 -1
  503. package/json-schema/ai/TypedAgentAction.json +770 -0
  504. package/json-schema/ai/UIActionType.json +57 -1
  505. package/json-schema/ai/VectorStoreConfig.json +80 -1
  506. package/json-schema/ai/VectorStoreProvider.json +15 -1
  507. package/json-schema/ai/VercelIntegration.json +63 -1
  508. package/json-schema/ai/VersionManagement.json +52 -1
  509. package/json-schema/ai/ViewActionParams.json +68 -1
  510. package/json-schema/ai/ViewActionType.json +15 -1
  511. package/json-schema/ai/ViewAgentAction.json +151 -0
  512. package/json-schema/ai/WorkflowActionParams.json +55 -1
  513. package/json-schema/ai/WorkflowActionType.json +12 -1
  514. package/json-schema/ai/WorkflowAgentAction.json +135 -0
  515. package/json-schema/ai/WorkflowFieldCondition.json +27 -1
  516. package/json-schema/ai/WorkflowSchedule.json +45 -1
  517. package/json-schema/api/AckMessage.json +40 -1
  518. package/json-schema/api/AnalyticsEndpoint.json +14 -0
  519. package/json-schema/api/AnalyticsMetadataResponse.json +280 -0
  520. package/json-schema/api/AnalyticsQueryRequest.json +154 -0
  521. package/json-schema/api/AnalyticsResultResponse.json +114 -0
  522. package/json-schema/api/AnalyticsSqlResponse.json +88 -0
  523. package/json-schema/api/ApiCapabilities.json +32 -1
  524. package/json-schema/api/ApiChangelogEntry.json +79 -1
  525. package/json-schema/api/ApiDiscoveryQuery.json +51 -1
  526. package/json-schema/api/ApiDiscoveryResponse.json +606 -1
  527. package/json-schema/api/ApiDocumentationConfig.json +711 -1
  528. package/json-schema/api/ApiEndpoint.json +159 -1
  529. package/json-schema/api/ApiEndpointRegistration.json +397 -1
  530. package/json-schema/api/ApiError.json +29 -1
  531. package/json-schema/api/ApiMapping.json +22 -1
  532. package/json-schema/api/ApiMetadata.json +38 -1
  533. package/json-schema/api/ApiParameter.json +130 -1
  534. package/json-schema/api/ApiProtocolType.json +15 -1
  535. package/json-schema/api/ApiRegistry.json +1680 -1
  536. package/json-schema/api/ApiRegistryEntry.json +536 -1
  537. package/json-schema/api/ApiResponse.json +109 -1
  538. package/json-schema/api/ApiRoutes.json +43 -1
  539. package/json-schema/api/ApiTestCollection.json +209 -1
  540. package/json-schema/api/ApiTestRequest.json +79 -1
  541. package/json-schema/api/ApiTestingUiConfig.json +136 -1
  542. package/json-schema/api/ApiTestingUiType.json +14 -1
  543. package/json-schema/api/AppDefinitionResponse.json +380 -0
  544. package/json-schema/api/AuthProvider.json +17 -0
  545. package/json-schema/api/AutomationTriggerRequest.json +23 -0
  546. package/json-schema/api/AutomationTriggerResponse.json +22 -0
  547. package/json-schema/api/BaseResponse.json +65 -1
  548. package/json-schema/api/BatchConfig.json +45 -1
  549. package/json-schema/api/BatchDataRequest.json +87 -1
  550. package/json-schema/api/BatchDataResponse.json +154 -1
  551. package/json-schema/api/BatchEndpointsConfig.json +50 -1
  552. package/json-schema/api/BatchOperationResult.json +59 -1
  553. package/json-schema/api/BatchOperationType.json +9 -1
  554. package/json-schema/api/BatchOptions.json +26 -1
  555. package/json-schema/api/BatchRecord.json +19 -1
  556. package/json-schema/api/BatchUpdateRequest.json +72 -1
  557. package/json-schema/api/BatchUpdateResponse.json +154 -1
  558. package/json-schema/api/BuildStatusResponse.json +140 -1
  559. package/json-schema/api/BulkRequest.json +23 -1
  560. package/json-schema/api/BulkResponse.json +125 -1
  561. package/json-schema/api/CacheControl.json +36 -1
  562. package/json-schema/api/CacheDirective.json +11 -1
  563. package/json-schema/api/CacheInvalidationRequest.json +37 -1
  564. package/json-schema/api/CacheInvalidationResponse.json +25 -1
  565. package/json-schema/api/CacheInvalidationTarget.json +11 -1
  566. package/json-schema/api/CodeGenerationTemplate.json +30 -1
  567. package/json-schema/api/CompileManifestRequest.json +80 -1
  568. package/json-schema/api/CompileManifestResponse.json +1580 -1
  569. package/json-schema/api/CompleteUploadRequest.json +23 -0
  570. package/json-schema/api/ConceptListResponse.json +98 -0
  571. package/json-schema/api/ConflictResolutionStrategy.json +9 -1
  572. package/json-schema/api/CreateDataRequest.json +19 -1
  573. package/json-schema/api/CreateDataResponse.json +24 -1
  574. package/json-schema/api/CreateManyDataRequest.json +22 -1
  575. package/json-schema/api/CreateManyDataResponse.json +27 -1
  576. package/json-schema/api/CreateRequest.json +14 -1
  577. package/json-schema/api/CreateSpaceRequest.json +237 -1
  578. package/json-schema/api/CreateTenantRequest.json +50 -1
  579. package/json-schema/api/CrudEndpointPattern.json +35 -1
  580. package/json-schema/api/CrudEndpointsConfig.json +107 -1
  581. package/json-schema/api/CrudOperation.json +10 -1
  582. package/json-schema/api/CursorMessage.json +133 -1
  583. package/json-schema/api/CursorPosition.json +106 -1
  584. package/json-schema/api/DeleteDataRequest.json +18 -1
  585. package/json-schema/api/DeleteDataResponse.json +23 -1
  586. package/json-schema/api/DeleteManyDataRequest.json +48 -1
  587. package/json-schema/api/DeleteManyDataResponse.json +154 -1
  588. package/json-schema/api/DeleteManyRequest.json +45 -1
  589. package/json-schema/api/DeleteResponse.json +70 -1
  590. package/json-schema/api/Discovery.json +126 -1
  591. package/json-schema/api/DocumentState.json +43 -1
  592. package/json-schema/api/ETag.json +18 -1
  593. package/json-schema/api/EditMessage.json +129 -1
  594. package/json-schema/api/EditOperation.json +102 -1
  595. package/json-schema/api/EditOperationType.json +8 -1
  596. package/json-schema/api/EndpointRegistry.json +278 -1
  597. package/json-schema/api/EnhancedApiError.json +220 -1
  598. package/json-schema/api/ErrorCategory.json +14 -1
  599. package/json-schema/api/ErrorMessage.json +38 -1
  600. package/json-schema/api/ErrorResponse.json +253 -1
  601. package/json-schema/api/EventFilter.json +59 -1
  602. package/json-schema/api/EventFilterCondition.json +36 -1
  603. package/json-schema/api/EventMessage.json +49 -1
  604. package/json-schema/api/EventPattern.json +6 -1
  605. package/json-schema/api/EventSubscription.json +99 -1
  606. package/json-schema/api/ExportRequest.json +854 -1
  607. package/json-schema/api/FieldError.json +82 -1
  608. package/json-schema/api/FileUploadResponse.json +117 -0
  609. package/json-schema/api/FilterOperator.json +18 -1
  610. package/json-schema/api/FindDataRequest.json +503 -1
  611. package/json-schema/api/FindDataResponse.json +30 -1
  612. package/json-schema/api/GeneratedApiDocumentation.json +540 -1
  613. package/json-schema/api/GeneratedEndpoint.json +82 -1
  614. package/json-schema/api/GetAnalyticsMetaRequest.json +16 -0
  615. package/json-schema/api/GetBuildStatusRequest.json +12 -1
  616. package/json-schema/api/GetDataRequest.json +18 -1
  617. package/json-schema/api/GetDataResponse.json +24 -1
  618. package/json-schema/api/GetDiscoveryRequest.json +5 -1
  619. package/json-schema/api/GetDiscoveryResponse.json +95 -1
  620. package/json-schema/api/GetMarketplacePluginRequest.json +12 -1
  621. package/json-schema/api/GetMetaItemCachedRequest.json +71 -1
  622. package/json-schema/api/GetMetaItemCachedResponse.json +79 -1
  623. package/json-schema/api/GetMetaItemRequest.json +18 -1
  624. package/json-schema/api/GetMetaItemResponse.json +21 -1
  625. package/json-schema/api/GetMetaItemsRequest.json +13 -1
  626. package/json-schema/api/GetMetaItemsResponse.json +18 -1
  627. package/json-schema/api/GetMetaTypesRequest.json +5 -1
  628. package/json-schema/api/GetMetaTypesResponse.json +16 -1
  629. package/json-schema/api/GetPluginVersionsRequest.json +13 -1
  630. package/json-schema/api/GetPluginVersionsResponse.json +120 -1
  631. package/json-schema/api/GetPresignedUrlRequest.json +38 -0
  632. package/json-schema/api/GetUiViewRequest.json +22 -1
  633. package/json-schema/api/GetUiViewResponse.json +1622 -1
  634. package/json-schema/api/GraphQLConfig.json +1394 -1
  635. package/json-schema/api/GraphQLDataLoaderConfig.json +95 -1
  636. package/json-schema/api/GraphQLDirectiveConfig.json +102 -1
  637. package/json-schema/api/GraphQLDirectiveLocation.json +24 -1
  638. package/json-schema/api/GraphQLMutationConfig.json +174 -1
  639. package/json-schema/api/GraphQLPersistedQuery.json +145 -1
  640. package/json-schema/api/GraphQLQueryComplexity.json +77 -1
  641. package/json-schema/api/GraphQLQueryConfig.json +236 -1
  642. package/json-schema/api/GraphQLQueryDepthLimit.json +38 -1
  643. package/json-schema/api/GraphQLRateLimit.json +132 -1
  644. package/json-schema/api/GraphQLResolverConfig.json +92 -1
  645. package/json-schema/api/GraphQLScalarType.json +26 -1
  646. package/json-schema/api/GraphQLSubscriptionConfig.json +112 -1
  647. package/json-schema/api/GraphQLTypeConfig.json +107 -1
  648. package/json-schema/api/HttpMethod.json +12 -1
  649. package/json-schema/api/HttpStatusCode.json +18 -1
  650. package/json-schema/api/HubHealthResponse.json +125 -1
  651. package/json-schema/api/HubMetricsResponse.json +162 -1
  652. package/json-schema/api/IdRequest.json +19 -0
  653. package/json-schema/api/InstallPluginRequest.json +33 -0
  654. package/json-schema/api/InstallPluginResponse.json +72 -0
  655. package/json-schema/api/IssueLicenseRequest.json +40 -1
  656. package/json-schema/api/LicenseResponse.json +125 -1
  657. package/json-schema/api/ListLicensesRequest.json +43 -1
  658. package/json-schema/api/ListLicensesResponse.json +165 -1
  659. package/json-schema/api/ListMarketplaceRequest.json +43 -1
  660. package/json-schema/api/ListMarketplaceResponse.json +352 -1
  661. package/json-schema/api/ListRecordResponse.json +110 -1
  662. package/json-schema/api/ListSpacesRequest.json +36 -1
  663. package/json-schema/api/ListSpacesResponse.json +379 -1
  664. package/json-schema/api/ListTenantsRequest.json +39 -1
  665. package/json-schema/api/ListTenantsResponse.json +159 -1
  666. package/json-schema/api/LoginRequest.json +45 -0
  667. package/json-schema/api/LoginType.json +16 -0
  668. package/json-schema/api/MarketplacePluginResponse.json +288 -1
  669. package/json-schema/api/MetadataCacheRequest.json +52 -1
  670. package/json-schema/api/MetadataCacheResponse.json +79 -1
  671. package/json-schema/api/MetadataEndpointsConfig.json +48 -1
  672. package/json-schema/api/ModificationResult.json +55 -1
  673. package/json-schema/api/ODataConfig.json +126 -1
  674. package/json-schema/api/ODataError.json +59 -1
  675. package/json-schema/api/ODataFilterFunction.json +33 -1
  676. package/json-schema/api/ODataFilterOperator.json +18 -1
  677. package/json-schema/api/ODataMetadata.json +109 -1
  678. package/json-schema/api/ODataQuery.json +83 -1
  679. package/json-schema/api/ODataResponse.json +31 -1
  680. package/json-schema/api/ObjectDefinitionResponse.json +2755 -0
  681. package/json-schema/api/ObjectQLReference.json +36 -1
  682. package/json-schema/api/ObjectStackProtocol.json +5 -1
  683. package/json-schema/api/OpenApiSecurityScheme.json +60 -1
  684. package/json-schema/api/OpenApiServer.json +43 -1
  685. package/json-schema/api/OpenApiSpec.json +296 -1
  686. package/json-schema/api/PaginationRequest.json +28 -1
  687. package/json-schema/api/PaginationResponse.json +36 -1
  688. package/json-schema/api/PingMessage.json +25 -1
  689. package/json-schema/api/PluginResponse.json +893 -1
  690. package/json-schema/api/PluginVersionInfo.json +29 -1
  691. package/json-schema/api/PongMessage.json +30 -1
  692. package/json-schema/api/Presence.json +34 -1
  693. package/json-schema/api/PresenceMessage.json +86 -1
  694. package/json-schema/api/PresenceState.json +59 -1
  695. package/json-schema/api/PresenceStatus.json +8 -1
  696. package/json-schema/api/PresenceUpdate.json +29 -1
  697. package/json-schema/api/PresignedUrlResponse.json +115 -0
  698. package/json-schema/api/PublishPluginRequest.json +646 -1
  699. package/json-schema/api/RateLimit.json +21 -1
  700. package/json-schema/api/RealtimeAction.json +8 -1
  701. package/json-schema/api/RealtimeConfig.json +84 -1
  702. package/json-schema/api/RealtimeEvent.json +52 -1
  703. package/json-schema/api/RealtimeEventType.json +9 -1
  704. package/json-schema/api/RecordData.json +5 -1
  705. package/json-schema/api/RefreshTokenRequest.json +19 -0
  706. package/json-schema/api/RegisterRequest.json +30 -0
  707. package/json-schema/api/RestApiConfig.json +122 -1
  708. package/json-schema/api/RestServerConfig.json +403 -1
  709. package/json-schema/api/RetryStrategy.json +9 -1
  710. package/json-schema/api/RevokeLicenseRequest.json +15 -1
  711. package/json-schema/api/RouteCategory.json +11 -1
  712. package/json-schema/api/RouteDefinition.json +71 -1
  713. package/json-schema/api/RouteGenerationConfig.json +65 -1
  714. package/json-schema/api/RouterConfig.json +143 -1
  715. package/json-schema/api/SchemaDefinition.json +54 -1
  716. package/json-schema/api/SearchPluginsRequest.json +85 -1
  717. package/json-schema/api/SearchPluginsResponse.json +933 -1
  718. package/json-schema/api/Session.json +36 -0
  719. package/json-schema/api/SessionResponse.json +184 -0
  720. package/json-schema/api/SessionUser.json +72 -0
  721. package/json-schema/api/SimpleCursorPosition.json +47 -1
  722. package/json-schema/api/SimplePresenceState.json +38 -1
  723. package/json-schema/api/SingleRecordResponse.json +71 -1
  724. package/json-schema/api/SpaceResponse.json +339 -1
  725. package/json-schema/api/StandardErrorCode.json +56 -1
  726. package/json-schema/api/SubscribeMessage.json +126 -1
  727. package/json-schema/api/Subscription.json +59 -1
  728. package/json-schema/api/SubscriptionEvent.json +26 -1
  729. package/json-schema/api/TenantResponse.json +119 -1
  730. package/json-schema/api/TransportProtocol.json +8 -1
  731. package/json-schema/api/UnsubscribeMessage.json +41 -1
  732. package/json-schema/api/UnsubscribeRequest.json +14 -1
  733. package/json-schema/api/UpdateDataRequest.json +24 -1
  734. package/json-schema/api/UpdateDataResponse.json +24 -1
  735. package/json-schema/api/UpdateManyDataRequest.json +64 -1
  736. package/json-schema/api/UpdateManyDataResponse.json +154 -1
  737. package/json-schema/api/UpdateManyRequest.json +61 -1
  738. package/json-schema/api/UpdatePluginRequest.json +640 -1
  739. package/json-schema/api/UpdateRequest.json +14 -1
  740. package/json-schema/api/UpdateSpaceRequest.json +232 -1
  741. package/json-schema/api/UpdateTenantRequest.json +46 -1
  742. package/json-schema/api/UserProfileResponse.json +138 -0
  743. package/json-schema/api/ValidateLicenseRequest.json +17 -1
  744. package/json-schema/api/ValidateLicenseResponse.json +151 -1
  745. package/json-schema/api/WebSocketConfig.json +57 -1
  746. package/json-schema/api/WebSocketEvent.json +34 -1
  747. package/json-schema/api/WebSocketMessage.json +701 -1
  748. package/json-schema/api/WebSocketMessageType.json +15 -1
  749. package/json-schema/api/WebSocketPresenceStatus.json +9 -1
  750. package/json-schema/api/WebSocketServerConfig.json +36 -1
  751. package/json-schema/automation/ApprovalAction.json +36 -1
  752. package/json-schema/automation/ApprovalActionType.json +10 -1
  753. package/json-schema/automation/ApprovalProcess.json +362 -1
  754. package/json-schema/automation/ApprovalStep.json +155 -1
  755. package/json-schema/automation/ApproverType.json +10 -1
  756. package/json-schema/automation/AuthField.json +67 -1
  757. package/json-schema/automation/Authentication.json +153 -1
  758. package/json-schema/automation/AuthenticationType.json +12 -1
  759. package/json-schema/automation/ConflictResolution.json +10 -1
  760. package/json-schema/automation/Connector.json +434 -1
  761. package/json-schema/automation/ConnectorActionRef.json +40 -0
  762. package/json-schema/automation/ConnectorCategory.json +20 -1
  763. package/json-schema/automation/ConnectorInstance.json +63 -1
  764. package/json-schema/automation/ConnectorOperation.json +111 -1
  765. package/json-schema/automation/ConnectorTrigger.json +48 -1
  766. package/json-schema/automation/CustomScriptAction.json +43 -1
  767. package/json-schema/automation/DataDestinationConfig.json +189 -1
  768. package/json-schema/automation/DataSourceConfig.json +28 -1
  769. package/json-schema/automation/DataSyncConfig.json +455 -1
  770. package/json-schema/automation/ETLDestination.json +51 -1
  771. package/json-schema/automation/ETLEndpointType.json +13 -1
  772. package/json-schema/automation/ETLPipeline.json +246 -1
  773. package/json-schema/automation/ETLPipelineRun.json +101 -1
  774. package/json-schema/automation/ETLRunStatus.json +11 -1
  775. package/json-schema/automation/ETLSource.json +54 -1
  776. package/json-schema/automation/ETLSyncMode.json +8 -1
  777. package/json-schema/automation/ETLTransformation.json +40 -1
  778. package/json-schema/automation/ETLTransformationType.json +15 -1
  779. package/json-schema/automation/EmailAlertAction.json +31 -1
  780. package/json-schema/automation/FieldUpdateAction.json +26 -1
  781. package/json-schema/automation/Flow.json +233 -1
  782. package/json-schema/automation/FlowEdge.json +40 -1
  783. package/json-schema/automation/FlowNode.json +82 -1
  784. package/json-schema/automation/FlowNodeAction.json +19 -1
  785. package/json-schema/automation/FlowVariable.json +28 -1
  786. package/json-schema/automation/HttpCallAction.json +46 -1
  787. package/json-schema/automation/OAuth2Config.json +37 -1
  788. package/json-schema/automation/OperationParameter.json +53 -1
  789. package/json-schema/automation/OperationType.json +11 -1
  790. package/json-schema/automation/PushNotificationAction.json +53 -1
  791. package/json-schema/automation/SyncDirection.json +8 -1
  792. package/json-schema/automation/SyncExecutionResult.json +129 -1
  793. package/json-schema/automation/SyncExecutionStatus.json +11 -1
  794. package/json-schema/automation/SyncMode.json +8 -1
  795. package/json-schema/automation/TaskCreationAction.json +53 -1
  796. package/json-schema/automation/TimeTrigger.json +344 -1
  797. package/json-schema/automation/Webhook.json +167 -1
  798. package/json-schema/automation/WebhookReceiver.json +62 -1
  799. package/json-schema/automation/WebhookTriggerType.json +10 -1
  800. package/json-schema/automation/WorkflowAction.json +290 -1
  801. package/json-schema/automation/WorkflowRule.json +688 -1
  802. package/json-schema/automation/WorkflowTriggerType.json +10 -1
  803. package/json-schema/data/Address.json +34 -1
  804. package/json-schema/data/AggregationFunction.json +13 -1
  805. package/json-schema/data/AggregationNode.json +59 -1
  806. package/json-schema/data/AggregationPipeline.json +93 -1
  807. package/json-schema/data/AggregationStage.json +19 -1
  808. package/json-schema/data/AnalyticsQuery.json +129 -0
  809. package/json-schema/data/ApiMethod.json +19 -1
  810. package/json-schema/data/AsyncValidation.json +111 -1
  811. package/json-schema/data/CDCConfig.json +31 -1
  812. package/json-schema/data/ComparisonOperator.json +102 -1
  813. package/json-schema/data/ComputedFieldCache.json +27 -1
  814. package/json-schema/data/ConditionalValidation.json +1434 -1
  815. package/json-schema/data/ConsistencyLevel.json +11 -1
  816. package/json-schema/data/CrossFieldValidation.json +81 -1
  817. package/json-schema/data/Cube.json +201 -0
  818. package/json-schema/data/CubeJoin.json +33 -0
  819. package/json-schema/data/CurrencyConfig.json +29 -1
  820. package/json-schema/data/CurrencyValue.json +20 -1
  821. package/json-schema/data/CustomValidator.json +78 -1
  822. package/json-schema/data/DataEngineAggregateOptions.json +74 -1
  823. package/json-schema/data/DataEngineAggregateRequest.json +92 -1
  824. package/json-schema/data/DataEngineBatchRequest.json +693 -1
  825. package/json-schema/data/DataEngineContract.json +6 -1
  826. package/json-schema/data/DataEngineCountOptions.json +38 -1
  827. package/json-schema/data/DataEngineCountRequest.json +55 -1
  828. package/json-schema/data/DataEngineDeleteOptions.json +42 -1
  829. package/json-schema/data/DataEngineDeleteRequest.json +62 -1
  830. package/json-schema/data/DataEngineExecuteRequest.json +18 -1
  831. package/json-schema/data/DataEngineFilter.json +31 -1
  832. package/json-schema/data/DataEngineFindOneRequest.json +127 -1
  833. package/json-schema/data/DataEngineFindRequest.json +127 -1
  834. package/json-schema/data/DataEngineInsertOptions.json +11 -1
  835. package/json-schema/data/DataEngineInsertRequest.json +44 -1
  836. package/json-schema/data/DataEngineQueryOptions.json +110 -1
  837. package/json-schema/data/DataEngineRequest.json +1366 -1
  838. package/json-schema/data/DataEngineSort.json +48 -1
  839. package/json-schema/data/DataEngineUpdateOptions.json +50 -1
  840. package/json-schema/data/DataEngineUpdateRequest.json +75 -1
  841. package/json-schema/data/DataEngineVectorFindRequest.json +68 -1
  842. package/json-schema/data/DataQualityRules.json +39 -1
  843. package/json-schema/data/DataTypeMapping.json +45 -1
  844. package/json-schema/data/Dataset.json +57 -1
  845. package/json-schema/data/DatasetMode.json +10 -1
  846. package/json-schema/data/Datasource.json +130 -0
  847. package/json-schema/data/DatasourceCapabilities.json +56 -0
  848. package/json-schema/data/Dimension.json +60 -0
  849. package/json-schema/data/DimensionType.json +16 -0
  850. package/json-schema/data/Document.json +286 -1
  851. package/json-schema/data/DocumentTemplate.json +72 -1
  852. package/json-schema/data/DocumentValidationSchema.json +33 -1
  853. package/json-schema/data/DocumentVersion.json +44 -1
  854. package/json-schema/data/DriverCapabilities.json +174 -1
  855. package/json-schema/data/DriverConfig.json +237 -1
  856. package/json-schema/data/DriverDefinition.json +86 -0
  857. package/json-schema/data/DriverInterface.json +193 -1
  858. package/json-schema/data/DriverOptions.json +28 -1
  859. package/json-schema/{system → data}/DriverType.json +4 -1
  860. package/json-schema/data/ESignatureConfig.json +68 -1
  861. package/json-schema/data/EqualityOperator.json +8 -1
  862. package/json-schema/data/ExternalDataSource.json +62 -1
  863. package/json-schema/data/ExternalFieldMapping.json +145 -1
  864. package/json-schema/data/ExternalLookup.json +321 -1
  865. package/json-schema/data/Field.json +855 -1
  866. package/json-schema/data/FieldMapping.json +77 -1
  867. package/json-schema/data/FieldNode.json +26 -1
  868. package/json-schema/data/FieldOperators.json +180 -1
  869. package/json-schema/data/FieldReference.json +13 -1
  870. package/json-schema/data/FieldType.json +49 -1
  871. package/json-schema/data/FileAttachmentConfig.json +213 -1
  872. package/json-schema/data/FilterCondition.json +22 -1
  873. package/json-schema/data/FormatValidation.json +84 -1
  874. package/json-schema/data/FullTextSearch.json +54 -1
  875. package/json-schema/data/Hook.json +89 -1
  876. package/json-schema/data/HookContext.json +82 -1
  877. package/json-schema/data/HookEvent.json +23 -1
  878. package/json-schema/data/Index.json +41 -1
  879. package/json-schema/data/JSONValidation.json +79 -1
  880. package/json-schema/data/JoinNode.json +488 -1
  881. package/json-schema/data/JoinStrategy.json +9 -1
  882. package/json-schema/data/JoinType.json +9 -1
  883. package/json-schema/data/LocationCoordinates.json +30 -1
  884. package/json-schema/data/Mapping.json +633 -1
  885. package/json-schema/data/Metric.json +66 -0
  886. package/json-schema/data/MetricType.json +20 -0
  887. package/json-schema/data/NoSQLDataTypeMapping.json +57 -1
  888. package/json-schema/data/NoSQLDatabaseType.json +13 -1
  889. package/json-schema/data/NoSQLDriverConfig.json +446 -1
  890. package/json-schema/data/NoSQLIndex.json +81 -1
  891. package/json-schema/data/NoSQLIndexType.json +13 -1
  892. package/json-schema/data/NoSQLOperationType.json +16 -1
  893. package/json-schema/data/NoSQLQueryOptions.json +55 -1
  894. package/json-schema/data/NoSQLTransactionOptions.json +41 -1
  895. package/json-schema/data/NormalizedFilter.json +576 -1
  896. package/json-schema/data/Object.json +2682 -1
  897. package/json-schema/data/ObjectCapabilities.json +74 -1
  898. package/json-schema/data/PartitioningConfig.json +32 -1
  899. package/json-schema/data/PoolConfig.json +30 -1
  900. package/json-schema/data/Query.json +489 -1
  901. package/json-schema/data/QueryFilter.json +28 -1
  902. package/json-schema/data/RangeOperator.json +61 -1
  903. package/json-schema/data/ReplicationConfig.json +40 -1
  904. package/json-schema/data/SQLDialect.json +11 -1
  905. package/json-schema/data/SQLDriverConfig.json +319 -1
  906. package/json-schema/data/SSLConfig.json +23 -1
  907. package/json-schema/data/ScriptValidation.json +73 -1
  908. package/json-schema/data/SearchConfig.json +30 -1
  909. package/json-schema/data/SelectOption.json +28 -1
  910. package/json-schema/data/SetOperator.json +12 -1
  911. package/json-schema/data/ShardingConfig.json +29 -1
  912. package/json-schema/data/SoftDeleteConfig.json +23 -1
  913. package/json-schema/data/SortNode.json +20 -1
  914. package/json-schema/data/SpecialOperator.json +12 -1
  915. package/json-schema/data/StateMachineValidation.json +84 -1
  916. package/json-schema/data/StringOperator.json +15 -1
  917. package/json-schema/data/TenancyConfig.json +33 -1
  918. package/json-schema/data/TimeUpdateInterval.json +19 -0
  919. package/json-schema/data/TransformType.json +12 -1
  920. package/json-schema/data/UniquenessValidation.json +84 -1
  921. package/json-schema/data/ValidationRule.json +1435 -1
  922. package/json-schema/data/VectorConfig.json +45 -1
  923. package/json-schema/data/VersioningConfig.json +33 -1
  924. package/json-schema/data/WindowFunction.json +18 -1
  925. package/json-schema/data/WindowFunctionNode.json +98 -1
  926. package/json-schema/data/WindowSpec.json +59 -1
  927. package/json-schema/hub/BillOfMaterials.json +64 -1
  928. package/json-schema/hub/ComposerRequest.json +80 -1
  929. package/json-schema/hub/ComposerResponse.json +1514 -1
  930. package/json-schema/hub/ConflictReport.json +47 -1
  931. package/json-schema/hub/DatabaseLevelIsolationStrategy.json +133 -1
  932. package/json-schema/hub/DependencyConflict.json +72 -1
  933. package/json-schema/hub/DependencyGraph.json +161 -1
  934. package/json-schema/hub/DependencyGraphNode.json +81 -1
  935. package/json-schema/hub/DependencyRequirement.json +30 -1
  936. package/json-schema/hub/DependencyResolutionResult.json +285 -1
  937. package/json-schema/hub/DeploymentTarget.json +32 -1
  938. package/json-schema/hub/EdgeLocation.json +93 -1
  939. package/json-schema/hub/Feature.json +45 -1
  940. package/json-schema/hub/FederationTopology.json +406 -1
  941. package/json-schema/hub/GlobalRegistryEntry.json +60 -1
  942. package/json-schema/hub/HubInstance.json +115 -1
  943. package/json-schema/hub/HubSpace.json +273 -1
  944. package/json-schema/hub/LevelIsolationStrategySchema.json +87 -1
  945. package/json-schema/hub/License.json +59 -1
  946. package/json-schema/hub/MarketplacePlugin.json +222 -1
  947. package/json-schema/hub/MetricType.json +8 -1
  948. package/json-schema/hub/PackageDependency.json +30 -1
  949. package/json-schema/hub/Plan.json +47 -1
  950. package/json-schema/hub/PluginAuthor.json +41 -1
  951. package/json-schema/hub/PluginInstallConfig.json +47 -1
  952. package/json-schema/hub/PluginPricing.json +37 -1
  953. package/json-schema/hub/PluginProvenance.json +192 -1
  954. package/json-schema/hub/PluginQualityMetrics.json +95 -1
  955. package/json-schema/hub/PluginRegistryEntry.json +827 -1
  956. package/json-schema/hub/PluginSearchFilters.json +85 -1
  957. package/json-schema/hub/PluginStatistics.json +78 -1
  958. package/json-schema/hub/PluginTrustScore.json +88 -1
  959. package/json-schema/hub/PluginVendor.json +41 -1
  960. package/json-schema/hub/PluginVersion.json +63 -0
  961. package/json-schema/hub/Region.json +175 -1
  962. package/json-schema/hub/RegistryConfig.json +233 -1
  963. package/json-schema/hub/RegistrySyncPolicy.json +9 -1
  964. package/json-schema/hub/RegistryUpstream.json +104 -1
  965. package/json-schema/hub/ReplicationJob.json +134 -1
  966. package/json-schema/hub/RowLevelIsolationStrategy.json +68 -1
  967. package/json-schema/hub/SBOM.json +144 -1
  968. package/json-schema/hub/SBOMEntry.json +78 -1
  969. package/json-schema/hub/SecurityPolicy.json +140 -1
  970. package/json-schema/hub/SecurityScanResult.json +303 -1
  971. package/json-schema/hub/SecurityVulnerability.json +112 -1
  972. package/json-schema/hub/SpaceSubscription.json +71 -1
  973. package/json-schema/hub/SubscriptionStatus.json +10 -1
  974. package/json-schema/hub/Tenant.json +53 -1
  975. package/json-schema/hub/TenantIsolationConfig.json +292 -1
  976. package/json-schema/hub/TenantIsolationLevel.json +8 -1
  977. package/json-schema/hub/TenantPlacementPolicy.json +92 -1
  978. package/json-schema/hub/TenantQuota.json +21 -1
  979. package/json-schema/hub/TenantSecurityPolicy.json +109 -1
  980. package/json-schema/hub/VulnerabilitySeverity.json +10 -1
  981. package/json-schema/identity/Account.json +87 -0
  982. package/json-schema/identity/Invitation.json +69 -0
  983. package/json-schema/identity/InvitationStatus.json +15 -0
  984. package/json-schema/identity/Member.json +46 -0
  985. package/json-schema/identity/Organization.json +52 -0
  986. package/json-schema/identity/Role.json +33 -0
  987. package/json-schema/identity/SCIMAddress.json +50 -0
  988. package/json-schema/identity/SCIMEmail.json +38 -0
  989. package/json-schema/identity/SCIMEnterpriseUser.json +55 -0
  990. package/json-schema/identity/SCIMError.json +52 -0
  991. package/json-schema/identity/SCIMGroup.json +102 -0
  992. package/json-schema/identity/SCIMGroupReference.json +36 -0
  993. package/json-schema/identity/SCIMListResponse.json +606 -0
  994. package/json-schema/identity/SCIMMemberReference.json +36 -0
  995. package/json-schema/identity/SCIMMeta.json +35 -0
  996. package/json-schema/identity/SCIMName.json +36 -0
  997. package/json-schema/identity/SCIMPatchOperation.json +31 -0
  998. package/json-schema/identity/SCIMPatchRequest.json +56 -0
  999. package/json-schema/identity/SCIMPhoneNumber.json +40 -0
  1000. package/json-schema/identity/SCIMUser.json +462 -0
  1001. package/json-schema/identity/Session.json +63 -0
  1002. package/json-schema/identity/User.json +51 -0
  1003. package/json-schema/identity/VerificationToken.json +36 -0
  1004. package/json-schema/integration/AckMode.json +9 -1
  1005. package/json-schema/integration/ApiVersionConfig.json +26 -1
  1006. package/json-schema/integration/Authentication.json +140 -1
  1007. package/json-schema/integration/BuildConfig.json +33 -1
  1008. package/json-schema/integration/CdcConfig.json +49 -1
  1009. package/json-schema/integration/ConflictResolution.json +10 -1
  1010. package/json-schema/integration/Connector.json +861 -1
  1011. package/json-schema/integration/ConnectorAction.json +37 -0
  1012. package/json-schema/integration/ConnectorStatus.json +10 -1
  1013. package/json-schema/integration/ConnectorTrigger.json +40 -0
  1014. package/json-schema/integration/ConnectorType.json +12 -1
  1015. package/json-schema/integration/ConsumerConfig.json +61 -1
  1016. package/json-schema/integration/DataSyncConfig.json +73 -1
  1017. package/json-schema/integration/DatabaseConnector.json +1314 -1
  1018. package/json-schema/integration/DatabasePoolConfig.json +47 -1
  1019. package/json-schema/integration/DatabaseProvider.json +18 -1
  1020. package/json-schema/integration/DatabaseTable.json +210 -1
  1021. package/json-schema/integration/DeliveryGuarantee.json +9 -1
  1022. package/json-schema/integration/DeploymentConfig.json +71 -1
  1023. package/json-schema/integration/DlqConfig.json +31 -1
  1024. package/json-schema/integration/DomainConfig.json +45 -1
  1025. package/json-schema/integration/EdgeFunctionConfig.json +39 -1
  1026. package/json-schema/integration/EnvironmentVariables.json +40 -1
  1027. package/json-schema/integration/FieldMapping.json +164 -1
  1028. package/json-schema/integration/FieldTransform.json +30 -1
  1029. package/json-schema/integration/FileAccessPattern.json +11 -1
  1030. package/json-schema/integration/FileFilterConfig.json +44 -1
  1031. package/json-schema/integration/FileMetadataConfig.json +35 -1
  1032. package/json-schema/integration/FileStorageConnector.json +1182 -1
  1033. package/json-schema/integration/FileStorageProvider.json +17 -1
  1034. package/json-schema/integration/FileVersioningConfig.json +22 -1
  1035. package/json-schema/integration/GitHubActionsWorkflow.json +52 -1
  1036. package/json-schema/integration/GitHubCommitConfig.json +29 -1
  1037. package/json-schema/integration/GitHubConnector.json +1189 -1
  1038. package/json-schema/integration/GitHubIssueTracking.json +55 -1
  1039. package/json-schema/integration/GitHubProvider.json +8 -1
  1040. package/json-schema/integration/GitHubPullRequestConfig.json +45 -1
  1041. package/json-schema/integration/GitHubReleaseConfig.json +34 -1
  1042. package/json-schema/integration/GitHubRepository.json +68 -1
  1043. package/json-schema/integration/GitRepositoryConfig.json +38 -1
  1044. package/json-schema/integration/MessageFormat.json +12 -1
  1045. package/json-schema/integration/MessageQueueConnector.json +1267 -1
  1046. package/json-schema/integration/MessageQueueProvider.json +19 -1
  1047. package/json-schema/integration/MultipartUploadConfig.json +30 -1
  1048. package/json-schema/integration/ProducerConfig.json +66 -1
  1049. package/json-schema/integration/RateLimitConfig.json +63 -1
  1050. package/json-schema/integration/RateLimitStrategy.json +10 -1
  1051. package/json-schema/integration/RetryConfig.json +67 -1
  1052. package/json-schema/integration/RetryStrategy.json +10 -1
  1053. package/json-schema/integration/SaasConnector.json +1209 -1
  1054. package/json-schema/integration/SaasObjectType.json +212 -1
  1055. package/json-schema/integration/SaasProvider.json +18 -1
  1056. package/json-schema/integration/SslConfig.json +28 -1
  1057. package/json-schema/integration/StorageBucket.json +93 -1
  1058. package/json-schema/integration/SyncStrategy.json +10 -1
  1059. package/json-schema/integration/TopicQueue.json +246 -1
  1060. package/json-schema/integration/VercelConnector.json +1286 -1
  1061. package/json-schema/integration/VercelFramework.json +18 -1
  1062. package/json-schema/integration/VercelMonitoring.json +58 -1
  1063. package/json-schema/integration/VercelProject.json +316 -1
  1064. package/json-schema/integration/VercelProvider.json +7 -1
  1065. package/json-schema/integration/VercelTeam.json +14 -1
  1066. package/json-schema/integration/WebhookConfig.json +195 -1
  1067. package/json-schema/integration/WebhookEvent.json +14 -1
  1068. package/json-schema/integration/WebhookSignatureAlgorithm.json +9 -1
  1069. package/json-schema/kernel/AdvancedPluginLifecycleConfig.json +424 -0
  1070. package/json-schema/kernel/BreakingChange.json +63 -0
  1071. package/json-schema/kernel/CapabilityConformanceLevel.json +16 -0
  1072. package/json-schema/kernel/CompatibilityLevel.json +17 -0
  1073. package/json-schema/kernel/CompatibilityMatrixEntry.json +123 -0
  1074. package/json-schema/kernel/DeadLetterQueueEntry.json +137 -0
  1075. package/json-schema/kernel/DependencyConflict.json +102 -0
  1076. package/json-schema/kernel/DependencyResolutionResult.json +163 -0
  1077. package/json-schema/kernel/DeprecationNotice.json +38 -0
  1078. package/json-schema/kernel/DistributedStateConfig.json +78 -0
  1079. package/json-schema/kernel/Event.json +77 -0
  1080. package/json-schema/kernel/EventBusConfig.json +552 -0
  1081. package/json-schema/kernel/EventHandler.json +63 -0
  1082. package/json-schema/kernel/EventLogEntry.json +153 -0
  1083. package/json-schema/kernel/EventMessageQueueConfig.json +79 -0
  1084. package/json-schema/kernel/EventMetadata.json +53 -0
  1085. package/json-schema/kernel/EventPersistence.json +36 -0
  1086. package/json-schema/kernel/EventPhase.json +15 -0
  1087. package/json-schema/kernel/EventPriority.json +16 -0
  1088. package/json-schema/kernel/EventQueueConfig.json +67 -0
  1089. package/json-schema/kernel/EventReplayConfig.json +50 -0
  1090. package/json-schema/kernel/EventRoute.json +27 -0
  1091. package/json-schema/kernel/EventSourcingConfig.json +65 -0
  1092. package/json-schema/kernel/EventTypeDefinition.json +45 -0
  1093. package/json-schema/kernel/EventWebhookConfig.json +119 -0
  1094. package/json-schema/kernel/ExtensionPoint.json +67 -0
  1095. package/json-schema/kernel/FeatureFlag.json +87 -0
  1096. package/json-schema/kernel/FeatureStrategy.json +16 -0
  1097. package/json-schema/kernel/GracefulDegradation.json +87 -0
  1098. package/json-schema/kernel/HealthStatus.json +33 -0
  1099. package/json-schema/kernel/HookRegisteredEvent.json +30 -0
  1100. package/json-schema/kernel/HookTriggeredEvent.json +34 -0
  1101. package/json-schema/kernel/HotReloadConfig.json +138 -0
  1102. package/json-schema/kernel/KernelContext.json +62 -0
  1103. package/json-schema/kernel/KernelEventBase.json +19 -0
  1104. package/json-schema/kernel/KernelReadyEvent.json +29 -0
  1105. package/json-schema/kernel/KernelShutdownEvent.json +23 -0
  1106. package/json-schema/kernel/Manifest.json +1432 -0
  1107. package/json-schema/kernel/MetadataCollectionInfo.json +53 -0
  1108. package/json-schema/kernel/MetadataExportOptions.json +49 -0
  1109. package/json-schema/kernel/MetadataFormat.json +15 -0
  1110. package/json-schema/kernel/MetadataImportOptions.json +42 -0
  1111. package/json-schema/kernel/MetadataLoadOptions.json +52 -0
  1112. package/json-schema/kernel/MetadataLoadResult.json +86 -0
  1113. package/json-schema/kernel/MetadataLoaderContract.json +48 -0
  1114. package/json-schema/kernel/MetadataManagerConfig.json +108 -0
  1115. package/json-schema/kernel/MetadataSaveOptions.json +64 -0
  1116. package/json-schema/kernel/MetadataSaveResult.json +42 -0
  1117. package/json-schema/kernel/MetadataStats.json +51 -0
  1118. package/json-schema/kernel/MetadataWatchEvent.json +48 -0
  1119. package/json-schema/kernel/MultiVersionSupport.json +91 -0
  1120. package/json-schema/kernel/OpsDomainModule.json +26 -0
  1121. package/json-schema/kernel/OpsFilePath.json +9 -0
  1122. package/json-schema/kernel/OpsPluginStructure.json +26 -0
  1123. package/json-schema/kernel/Permission.json +110 -0
  1124. package/json-schema/kernel/PermissionAction.json +23 -0
  1125. package/json-schema/kernel/PermissionScope.json +17 -0
  1126. package/json-schema/kernel/PermissionSet.json +160 -0
  1127. package/json-schema/kernel/Plugin.json +32 -0
  1128. package/json-schema/kernel/PluginCaching.json +77 -0
  1129. package/json-schema/kernel/PluginCapability.json +127 -0
  1130. package/json-schema/kernel/PluginCapabilityManifest.json +410 -0
  1131. package/json-schema/kernel/PluginCodeSplitting.json +56 -0
  1132. package/json-schema/kernel/PluginCompatibilityMatrix.json +177 -0
  1133. package/json-schema/kernel/PluginContext.json +82 -0
  1134. package/json-schema/kernel/PluginDependency.json +39 -0
  1135. package/json-schema/kernel/PluginDependencyResolution.json +88 -0
  1136. package/json-schema/kernel/PluginDynamicImport.json +69 -0
  1137. package/json-schema/kernel/PluginErrorEvent.json +46 -0
  1138. package/json-schema/kernel/PluginEventBase.json +24 -0
  1139. package/json-schema/kernel/PluginHealthCheck.json +61 -0
  1140. package/json-schema/kernel/PluginHealthReport.json +128 -0
  1141. package/json-schema/kernel/PluginHealthStatus.json +18 -0
  1142. package/json-schema/kernel/PluginHotReload.json +80 -0
  1143. package/json-schema/kernel/PluginInitialization.json +64 -0
  1144. package/json-schema/kernel/PluginInterface.json +141 -0
  1145. package/json-schema/{system → kernel}/PluginLifecycle.json +5 -1
  1146. package/json-schema/kernel/PluginLifecycleEventType.json +31 -0
  1147. package/json-schema/kernel/PluginLifecyclePhaseEvent.json +38 -0
  1148. package/json-schema/kernel/PluginLoadingConfig.json +635 -0
  1149. package/json-schema/kernel/PluginLoadingEvent.json +67 -0
  1150. package/json-schema/kernel/PluginLoadingState.json +54 -0
  1151. package/json-schema/kernel/PluginLoadingStrategy.json +17 -0
  1152. package/json-schema/kernel/PluginMetadata.json +37 -0
  1153. package/json-schema/kernel/PluginPerformanceMonitoring.json +70 -0
  1154. package/json-schema/kernel/PluginPreloadConfig.json +73 -0
  1155. package/json-schema/kernel/PluginRegisteredEvent.json +28 -0
  1156. package/json-schema/kernel/PluginSandboxing.json +87 -0
  1157. package/json-schema/kernel/PluginSecurityManifest.json +1189 -0
  1158. package/json-schema/kernel/PluginStartupResult.json +73 -0
  1159. package/json-schema/kernel/PluginStateSnapshot.json +50 -0
  1160. package/json-schema/kernel/PluginTrustLevel.json +17 -0
  1161. package/json-schema/kernel/PluginUpdateStrategy.json +102 -0
  1162. package/json-schema/kernel/PluginVersionMetadata.json +362 -0
  1163. package/json-schema/kernel/ProtocolFeature.json +34 -0
  1164. package/json-schema/kernel/ProtocolReference.json +56 -0
  1165. package/json-schema/kernel/ProtocolVersion.json +30 -0
  1166. package/json-schema/kernel/RealTimeNotificationConfig.json +85 -0
  1167. package/json-schema/kernel/ResourceType.json +28 -0
  1168. package/json-schema/kernel/RuntimeConfig.json +138 -0
  1169. package/json-schema/kernel/RuntimeMode.json +16 -0
  1170. package/json-schema/kernel/SandboxConfig.json +312 -0
  1171. package/json-schema/kernel/ScopeConfig.json +28 -0
  1172. package/json-schema/kernel/ScopeInfo.json +39 -0
  1173. package/json-schema/kernel/SecurityPolicy.json +172 -0
  1174. package/json-schema/kernel/SecurityScanResult.json +352 -0
  1175. package/json-schema/kernel/SecurityVulnerability.json +92 -0
  1176. package/json-schema/kernel/SemanticVersion.json +41 -0
  1177. package/json-schema/kernel/ServiceFactoryRegistration.json +44 -0
  1178. package/json-schema/kernel/ServiceMetadata.json +43 -0
  1179. package/json-schema/kernel/ServiceRegisteredEvent.json +28 -0
  1180. package/json-schema/kernel/ServiceRegistryConfig.json +39 -0
  1181. package/json-schema/kernel/ServiceScopeType.json +15 -0
  1182. package/json-schema/kernel/ServiceUnregisteredEvent.json +24 -0
  1183. package/json-schema/kernel/StartupOptions.json +36 -0
  1184. package/json-schema/kernel/StartupOrchestrationResult.json +104 -0
  1185. package/json-schema/kernel/ValidationError.json +28 -0
  1186. package/json-schema/kernel/ValidationResult.json +71 -0
  1187. package/json-schema/kernel/ValidationWarning.json +28 -0
  1188. package/json-schema/kernel/VersionConstraint.json +60 -0
  1189. package/json-schema/qa/TestAction.json +36 -1
  1190. package/json-schema/qa/TestActionType.json +13 -1
  1191. package/json-schema/qa/TestAssertion.json +31 -1
  1192. package/json-schema/qa/TestAssertionType.json +16 -1
  1193. package/json-schema/qa/TestContext.json +5 -1
  1194. package/json-schema/qa/TestScenario.json +335 -1
  1195. package/json-schema/qa/TestStep.json +93 -1
  1196. package/json-schema/qa/TestSuite.json +351 -1
  1197. package/json-schema/security/AuditPolicy.json +31 -0
  1198. package/json-schema/security/CriteriaSharingRule.json +82 -0
  1199. package/json-schema/security/FieldPermission.json +22 -0
  1200. package/json-schema/security/NetworkPolicy.json +31 -0
  1201. package/json-schema/security/OWDModel.json +15 -0
  1202. package/json-schema/security/ObjectPermission.json +57 -0
  1203. package/json-schema/security/OwnerSharingRule.json +102 -0
  1204. package/json-schema/security/PasswordPolicy.json +41 -0
  1205. package/json-schema/security/PermissionSet.json +193 -0
  1206. package/json-schema/security/Policy.json +138 -0
  1207. package/json-schema/security/RLSConfig.json +59 -0
  1208. package/json-schema/security/RLSEvaluationResult.json +40 -0
  1209. package/json-schema/security/RLSOperation.json +16 -0
  1210. package/json-schema/security/RLSUserContext.json +51 -0
  1211. package/json-schema/security/RowLevelSecurityPolicy.json +77 -0
  1212. package/json-schema/security/SessionPolicy.json +27 -0
  1213. package/json-schema/security/ShareRecipientType.json +16 -0
  1214. package/json-schema/security/SharingLevel.json +14 -0
  1215. package/json-schema/security/SharingRule.json +182 -0
  1216. package/json-schema/{permission → security}/SharingRuleType.json +7 -1
  1217. package/json-schema/security/Territory.json +79 -0
  1218. package/json-schema/security/TerritoryModel.json +34 -0
  1219. package/json-schema/security/TerritoryType.json +15 -0
  1220. package/json-schema/shared/CorsConfig.json +51 -1
  1221. package/json-schema/shared/EventName.json +6 -1
  1222. package/json-schema/shared/FieldMapping.json +136 -1
  1223. package/json-schema/shared/HttpMethod.json +12 -1
  1224. package/json-schema/shared/RateLimitConfig.json +21 -1
  1225. package/json-schema/shared/SnakeCaseIdentifier.json +6 -1
  1226. package/json-schema/shared/StaticMount.json +22 -1
  1227. package/json-schema/shared/SystemIdentifier.json +6 -1
  1228. package/json-schema/shared/TransformType.json +114 -1
  1229. package/json-schema/system/AccessControlConfig.json +100 -1
  1230. package/json-schema/system/AddFieldOperation.json +877 -1
  1231. package/json-schema/system/AnalyzerConfig.json +35 -1
  1232. package/json-schema/system/AuditConfig.json +580 -1
  1233. package/json-schema/system/AuditEvent.json +226 -1
  1234. package/json-schema/system/AuditEventActor.json +42 -1
  1235. package/json-schema/system/AuditEventChange.json +19 -1
  1236. package/json-schema/system/AuditEventFilter.json +121 -1
  1237. package/json-schema/system/AuditEventSeverity.json +13 -1
  1238. package/json-schema/system/AuditEventTarget.json +27 -1
  1239. package/json-schema/system/AuditEventType.json +47 -1
  1240. package/json-schema/system/AuditLogConfig.json +42 -1
  1241. package/json-schema/system/AuditRetentionPolicy.json +67 -1
  1242. package/json-schema/system/AuditStorageConfig.json +54 -1
  1243. package/json-schema/system/AuthConfig.json +100 -0
  1244. package/json-schema/system/AuthPluginConfig.json +32 -0
  1245. package/json-schema/system/AuthProviderConfig.json +36 -0
  1246. package/json-schema/system/AwarenessEvent.json +45 -1
  1247. package/json-schema/system/AwarenessSession.json +111 -1
  1248. package/json-schema/system/AwarenessUpdate.json +29 -1
  1249. package/json-schema/system/AwarenessUserState.json +71 -1
  1250. package/json-schema/system/BatchProgress.json +66 -1
  1251. package/json-schema/system/BatchTask.json +57 -1
  1252. package/json-schema/system/BucketConfig.json +326 -1
  1253. package/json-schema/system/CRDTMergeResult.json +289 -1
  1254. package/json-schema/system/CRDTState.json +252 -1
  1255. package/json-schema/system/CRDTType.json +14 -1
  1256. package/json-schema/system/CacheConfig.json +115 -1
  1257. package/json-schema/system/CacheInvalidation.json +37 -1
  1258. package/json-schema/system/CacheStrategy.json +10 -1
  1259. package/json-schema/system/CacheTier.json +46 -1
  1260. package/json-schema/system/ChangeImpact.json +49 -1
  1261. package/json-schema/system/ChangePriority.json +9 -1
  1262. package/json-schema/system/ChangeRequest.json +307 -1
  1263. package/json-schema/system/ChangeSet.json +7418 -1
  1264. package/json-schema/system/ChangeStatus.json +15 -1
  1265. package/json-schema/system/ChangeType.json +9 -1
  1266. package/json-schema/system/CollaborationMode.json +9 -1
  1267. package/json-schema/system/CollaborationSession.json +569 -1
  1268. package/json-schema/system/CollaborationSessionConfig.json +80 -1
  1269. package/json-schema/system/CollaborativeCursor.json +183 -1
  1270. package/json-schema/system/ComplianceConfig.json +196 -1
  1271. package/json-schema/system/ConsoleDestinationConfig.json +23 -1
  1272. package/json-schema/system/ConsumerConfig.json +28 -1
  1273. package/json-schema/system/CoreServiceName.json +25 -0
  1274. package/json-schema/system/CounterOperation.json +24 -1
  1275. package/json-schema/system/CreateObjectOperation.json +2696 -1
  1276. package/json-schema/system/CronSchedule.json +23 -1
  1277. package/json-schema/system/CursorColorPreset.json +15 -1
  1278. package/json-schema/system/CursorSelection.json +60 -1
  1279. package/json-schema/system/CursorStyle.json +53 -1
  1280. package/json-schema/system/CursorUpdate.json +95 -1
  1281. package/json-schema/system/DeadLetterQueue.json +20 -1
  1282. package/json-schema/system/DeleteObjectOperation.json +17 -1
  1283. package/json-schema/system/EmailTemplate.json +63 -1
  1284. package/json-schema/system/EncryptionAlgorithm.json +8 -1
  1285. package/json-schema/system/EncryptionConfig.json +87 -1
  1286. package/json-schema/system/ExecuteSqlOperation.json +20 -1
  1287. package/json-schema/system/ExtendedLogLevel.json +12 -1
  1288. package/json-schema/system/ExternalServiceDestinationConfig.json +45 -1
  1289. package/json-schema/system/FacetConfig.json +24 -1
  1290. package/json-schema/system/FieldEncryption.json +104 -1
  1291. package/json-schema/system/FileDestinationConfig.json +50 -1
  1292. package/json-schema/system/FileMetadata.json +44 -1
  1293. package/json-schema/system/GCounter.json +22 -1
  1294. package/json-schema/system/GDPRConfig.json +65 -1
  1295. package/json-schema/system/HIPAAConfig.json +39 -1
  1296. package/json-schema/system/HistogramBucketConfig.json +86 -1
  1297. package/json-schema/system/HttpDestinationConfig.json +105 -1
  1298. package/json-schema/system/HttpServerConfig.json +150 -1
  1299. package/json-schema/system/InAppNotification.json +42 -1
  1300. package/json-schema/system/IntervalSchedule.json +19 -1
  1301. package/json-schema/system/Job.json +126 -1
  1302. package/json-schema/system/JobExecution.json +43 -1
  1303. package/json-schema/system/JobExecutionStatus.json +9 -1
  1304. package/json-schema/system/KernelServiceMap.json +30 -0
  1305. package/json-schema/system/KeyManagementProvider.json +10 -1
  1306. package/json-schema/system/KeyRotationPolicy.json +23 -1
  1307. package/json-schema/system/LWWRegister.json +45 -1
  1308. package/json-schema/system/LifecycleAction.json +9 -1
  1309. package/json-schema/system/LifecyclePolicyConfig.json +78 -1
  1310. package/json-schema/system/LifecyclePolicyRule.json +62 -1
  1311. package/json-schema/system/Locale.json +4 -1
  1312. package/json-schema/system/LogDestination.json +289 -1
  1313. package/json-schema/system/LogDestinationType.json +20 -1
  1314. package/json-schema/system/LogEnrichmentConfig.json +53 -1
  1315. package/json-schema/system/LogEntry.json +58 -1
  1316. package/json-schema/system/LogFormat.json +9 -1
  1317. package/json-schema/system/LogLevel.json +12 -1
  1318. package/json-schema/system/LoggerConfig.json +69 -1
  1319. package/json-schema/system/LoggingConfig.json +608 -1
  1320. package/json-schema/system/MaskingConfig.json +71 -1
  1321. package/json-schema/system/MaskingRule.json +51 -1
  1322. package/json-schema/system/MaskingStrategy.json +12 -1
  1323. package/json-schema/system/MessageQueueConfig.json +137 -1
  1324. package/json-schema/system/MessageQueueProvider.json +11 -1
  1325. package/json-schema/system/MetadataCollectionInfo.json +23 -1
  1326. package/json-schema/system/MetadataExportOptions.json +38 -1
  1327. package/json-schema/system/MetadataFormat.json +12 -1
  1328. package/json-schema/system/MetadataImportOptions.json +26 -1
  1329. package/json-schema/system/MetadataLoadOptions.json +45 -1
  1330. package/json-schema/system/MetadataLoadResult.json +72 -1
  1331. package/json-schema/system/MetadataLoaderContract.json +57 -1
  1332. package/json-schema/system/MetadataManagerConfig.json +37 -1
  1333. package/json-schema/system/MetadataRecord.json +83 -0
  1334. package/json-schema/system/MetadataSaveOptions.json +44 -1
  1335. package/json-schema/system/MetadataSaveResult.json +65 -1
  1336. package/json-schema/system/MetadataScope.json +14 -0
  1337. package/json-schema/system/MetadataState.json +15 -0
  1338. package/json-schema/system/MetadataStats.json +38 -1
  1339. package/json-schema/system/MetadataWatchEvent.json +73 -1
  1340. package/json-schema/system/MetricAggregationConfig.json +63 -1
  1341. package/json-schema/system/MetricAggregationType.json +19 -1
  1342. package/json-schema/system/MetricDataPoint.json +129 -1
  1343. package/json-schema/system/MetricDefinition.json +187 -1
  1344. package/json-schema/system/MetricExportConfig.json +87 -1
  1345. package/json-schema/system/MetricLabels.json +7 -1
  1346. package/json-schema/system/MetricType.json +10 -1
  1347. package/json-schema/system/MetricUnit.json +26 -1
  1348. package/json-schema/system/MetricsConfig.json +712 -1
  1349. package/json-schema/system/MiddlewareConfig.json +64 -1
  1350. package/json-schema/system/MiddlewareType.json +12 -1
  1351. package/json-schema/system/MigrationDependency.json +15 -1
  1352. package/json-schema/system/MigrationOperation.json +3682 -1
  1353. package/json-schema/system/ModifyFieldOperation.json +26 -1
  1354. package/json-schema/system/MultipartUploadConfig.json +43 -1
  1355. package/json-schema/system/NotificationChannel.json +12 -1
  1356. package/json-schema/system/NotificationConfig.json +337 -1
  1357. package/json-schema/system/ORSet.json +51 -1
  1358. package/json-schema/system/ORSetElement.json +33 -1
  1359. package/json-schema/system/OTComponent.json +70 -1
  1360. package/json-schema/system/OTOperation.json +122 -1
  1361. package/json-schema/system/OTOperationType.json +8 -1
  1362. package/json-schema/system/OTTransformResult.json +144 -1
  1363. package/json-schema/system/ObjectMetadata.json +84 -1
  1364. package/json-schema/system/ObjectStorageConfig.json +469 -1
  1365. package/json-schema/system/OnceSchedule.json +19 -1
  1366. package/json-schema/system/OpenTelemetryCompatibility.json +190 -1
  1367. package/json-schema/system/OtelExporterType.json +16 -1
  1368. package/json-schema/system/PCIDSSConfig.json +41 -1
  1369. package/json-schema/system/PNCounter.json +31 -1
  1370. package/json-schema/system/PresignedUrlConfig.json +43 -1
  1371. package/json-schema/system/PushNotification.json +54 -1
  1372. package/json-schema/system/QueueConfig.json +127 -1
  1373. package/json-schema/system/RemoveFieldOperation.json +21 -1
  1374. package/json-schema/system/RenameObjectOperation.json +21 -1
  1375. package/json-schema/system/RetryPolicy.json +24 -1
  1376. package/json-schema/system/RollbackPlan.json +45 -1
  1377. package/json-schema/system/RouteHandlerMetadata.json +79 -1
  1378. package/json-schema/system/SMSTemplate.json +30 -1
  1379. package/json-schema/system/SamplingDecision.json +9 -1
  1380. package/json-schema/system/SamplingStrategyType.json +14 -1
  1381. package/json-schema/system/Schedule.json +65 -1
  1382. package/json-schema/system/SearchConfig.json +189 -1
  1383. package/json-schema/system/SearchIndexConfig.json +72 -1
  1384. package/json-schema/system/SearchProvider.json +10 -1
  1385. package/json-schema/system/ServerCapabilities.json +57 -1
  1386. package/json-schema/system/ServerEvent.json +33 -1
  1387. package/json-schema/system/ServerEventType.json +12 -1
  1388. package/json-schema/system/ServerStatus.json +87 -1
  1389. package/json-schema/system/ServiceConfig.json +42 -0
  1390. package/json-schema/system/ServiceCriticality.json +14 -0
  1391. package/json-schema/system/ServiceLevelIndicator.json +99 -1
  1392. package/json-schema/system/ServiceLevelObjective.json +164 -1
  1393. package/json-schema/system/ServiceStatus.json +62 -0
  1394. package/json-schema/system/Span.json +381 -1
  1395. package/json-schema/system/SpanAttributeValue.json +32 -1
  1396. package/json-schema/system/SpanAttributes.json +36 -1
  1397. package/json-schema/system/SpanEvent.json +56 -1
  1398. package/json-schema/system/SpanKind.json +11 -1
  1399. package/json-schema/system/SpanLink.json +104 -1
  1400. package/json-schema/system/SpanStatus.json +9 -1
  1401. package/json-schema/system/StorageAcl.json +12 -1
  1402. package/json-schema/system/StorageClass.json +11 -1
  1403. package/json-schema/system/StorageConnection.json +56 -1
  1404. package/json-schema/system/StorageProvider.json +15 -1
  1405. package/json-schema/system/StorageScope.json +16 -1
  1406. package/json-schema/system/StructuredLogEntry.json +185 -1
  1407. package/json-schema/system/SuspiciousActivityRule.json +169 -1
  1408. package/json-schema/system/Task.json +139 -1
  1409. package/json-schema/system/TaskExecutionResult.json +79 -1
  1410. package/json-schema/system/TaskPriority.json +10 -1
  1411. package/json-schema/system/TaskRetryPolicy.json +40 -1
  1412. package/json-schema/system/TaskStatus.json +13 -1
  1413. package/json-schema/system/TextCRDTOperation.json +46 -1
  1414. package/json-schema/system/TextCRDTState.json +99 -1
  1415. package/json-schema/system/TimeSeries.json +63 -1
  1416. package/json-schema/system/TimeSeriesDataPoint.json +27 -1
  1417. package/json-schema/system/TopicConfig.json +33 -1
  1418. package/json-schema/system/TraceContext.json +58 -1
  1419. package/json-schema/system/TraceContextPropagation.json +73 -1
  1420. package/json-schema/system/TraceFlags.json +6 -1
  1421. package/json-schema/system/TracePropagationFormat.json +13 -1
  1422. package/json-schema/system/TraceSamplingConfig.json +180 -1
  1423. package/json-schema/system/TraceState.json +17 -1
  1424. package/json-schema/system/TracingConfig.json +533 -1
  1425. package/json-schema/system/TranslationBundle.json +72 -1
  1426. package/json-schema/system/TranslationData.json +69 -1
  1427. package/json-schema/system/UserActivityStatus.json +9 -1
  1428. package/json-schema/system/VectorClock.json +17 -1
  1429. package/json-schema/system/WorkerConfig.json +182 -1
  1430. package/json-schema/system/WorkerStats.json +84 -1
  1431. package/json-schema/ui/Action.json +180 -1
  1432. package/json-schema/ui/ActionParam.json +89 -1
  1433. package/json-schema/ui/Animation.json +50 -1
  1434. package/json-schema/ui/App.json +307 -1
  1435. package/json-schema/ui/AppBranding.json +18 -1
  1436. package/json-schema/ui/BorderRadius.json +38 -1
  1437. package/json-schema/ui/Breakpoints.json +30 -1
  1438. package/json-schema/ui/CalendarConfig.json +22 -1
  1439. package/json-schema/ui/ChartAnnotation.json +60 -0
  1440. package/json-schema/ui/ChartAxis.json +57 -0
  1441. package/json-schema/ui/ChartConfig.json +353 -1
  1442. package/json-schema/ui/ChartInteraction.json +28 -0
  1443. package/json-schema/ui/ChartSeries.json +84 -0
  1444. package/json-schema/ui/ChartType.json +43 -1
  1445. package/json-schema/ui/ColorPalette.json +77 -1
  1446. package/json-schema/ui/Dashboard.json +515 -1
  1447. package/json-schema/ui/DashboardNavItem.json +38 -1
  1448. package/json-schema/ui/DashboardWidget.json +487 -1
  1449. package/json-schema/ui/FieldWidgetProps.json +892 -1
  1450. package/json-schema/ui/FormField.json +55 -1
  1451. package/json-schema/ui/FormSection.json +95 -1
  1452. package/json-schema/ui/FormView.json +351 -1
  1453. package/json-schema/ui/GanttConfig.json +26 -1
  1454. package/json-schema/ui/GroupNavItem.json +38 -1
  1455. package/json-schema/ui/HttpMethod.json +10 -1
  1456. package/json-schema/ui/HttpRequest.json +40 -1
  1457. package/json-schema/ui/KanbanConfig.json +25 -1
  1458. package/json-schema/ui/ListColumn.json +59 -1
  1459. package/json-schema/ui/ListView.json +453 -1
  1460. package/json-schema/ui/NavigationConfig.json +46 -0
  1461. package/json-schema/ui/NavigationItem.json +223 -1
  1462. package/json-schema/ui/NavigationMode.json +18 -0
  1463. package/json-schema/ui/ObjectNavItem.json +42 -1
  1464. package/json-schema/ui/Page.json +190 -1
  1465. package/json-schema/ui/PageCardProps.json +27 -1
  1466. package/json-schema/ui/PageComponent.json +78 -1
  1467. package/json-schema/ui/PageComponentType.json +26 -1
  1468. package/json-schema/ui/PageHeaderProps.json +33 -1
  1469. package/json-schema/ui/PageNavItem.json +43 -1
  1470. package/json-schema/ui/PageRegion.json +105 -1
  1471. package/json-schema/ui/PageTabsProps.json +49 -1
  1472. package/json-schema/ui/PageVariable.json +31 -0
  1473. package/json-schema/ui/PaginationConfig.json +20 -1
  1474. package/json-schema/ui/RecordDetailsProps.json +31 -1
  1475. package/json-schema/ui/RecordHighlightsProps.json +18 -1
  1476. package/json-schema/ui/RecordRelatedListProps.json +33 -1
  1477. package/json-schema/ui/Report.json +428 -1
  1478. package/json-schema/ui/ReportChart.json +260 -1
  1479. package/json-schema/ui/ReportColumn.json +29 -1
  1480. package/json-schema/ui/ReportGrouping.json +32 -1
  1481. package/json-schema/ui/ReportType.json +9 -1
  1482. package/json-schema/ui/SelectionConfig.json +16 -1
  1483. package/json-schema/ui/Shadow.json +38 -1
  1484. package/json-schema/ui/Spacing.json +58 -1
  1485. package/json-schema/ui/Theme.json +537 -1
  1486. package/json-schema/ui/ThemeMode.json +8 -1
  1487. package/json-schema/ui/Typography.json +136 -1
  1488. package/json-schema/ui/UrlNavItem.json +47 -1
  1489. package/json-schema/ui/View.json +1622 -1
  1490. package/json-schema/ui/ViewData.json +136 -1
  1491. package/json-schema/ui/WidgetEvent.json +36 -1
  1492. package/json-schema/ui/WidgetLifecycle.json +34 -1
  1493. package/json-schema/ui/WidgetManifest.json +310 -1
  1494. package/json-schema/ui/WidgetProperty.json +52 -1
  1495. package/json-schema/ui/WidgetSource.json +83 -0
  1496. package/json-schema/ui/ZIndex.json +38 -1
  1497. package/package.json +3 -3
  1498. package/dist/auth/config.zod.d.ts +0 -1050
  1499. package/dist/auth/config.zod.d.ts.map +0 -1
  1500. package/dist/auth/config.zod.js +0 -641
  1501. package/dist/auth/identity.zod.d.ts +0 -81
  1502. package/dist/auth/identity.zod.d.ts.map +0 -1
  1503. package/dist/auth/index.d.ts.map +0 -1
  1504. package/dist/auth/organization.zod.d.ts +0 -68
  1505. package/dist/auth/organization.zod.d.ts.map +0 -1
  1506. package/dist/auth/policy.zod.d.ts +0 -72
  1507. package/dist/auth/policy.zod.d.ts.map +0 -1
  1508. package/dist/auth/protocol.d.ts.map +0 -1
  1509. package/dist/auth/role.zod.d.ts.map +0 -1
  1510. package/dist/auth/scim.zod.d.ts +0 -570
  1511. package/dist/auth/scim.zod.d.ts.map +0 -1
  1512. package/dist/hub/marketplace-enhanced.zod.d.ts +0 -1028
  1513. package/dist/hub/marketplace-enhanced.zod.d.ts.map +0 -1
  1514. package/dist/hub/marketplace-enhanced.zod.js +0 -728
  1515. package/dist/permission/index.d.ts.map +0 -1
  1516. package/dist/permission/permission.zod.d.ts +0 -96
  1517. package/dist/permission/permission.zod.d.ts.map +0 -1
  1518. package/dist/permission/rls.zod.d.ts +0 -298
  1519. package/dist/permission/rls.zod.d.ts.map +0 -1
  1520. package/dist/permission/sharing.zod.d.ts +0 -112
  1521. package/dist/permission/sharing.zod.d.ts.map +0 -1
  1522. package/dist/permission/territory.zod.d.ts +0 -83
  1523. package/dist/permission/territory.zod.d.ts.map +0 -1
  1524. package/dist/system/context.zod.d.ts +0 -33
  1525. package/dist/system/context.zod.d.ts.map +0 -1
  1526. package/dist/system/datasource.zod.d.ts +0 -85
  1527. package/dist/system/datasource.zod.d.ts.map +0 -1
  1528. package/dist/system/events.zod.d.ts +0 -756
  1529. package/dist/system/events.zod.d.ts.map +0 -1
  1530. package/dist/system/feature.zod.d.ts +0 -73
  1531. package/dist/system/feature.zod.d.ts.map +0 -1
  1532. package/dist/system/manifest.zod.d.ts +0 -430
  1533. package/dist/system/manifest.zod.d.ts.map +0 -1
  1534. package/dist/system/metadata-loader.zod.d.ts +0 -222
  1535. package/dist/system/metadata-loader.zod.d.ts.map +0 -1
  1536. package/dist/system/plugin-capability.zod.d.ts +0 -286
  1537. package/dist/system/plugin-capability.zod.d.ts.map +0 -1
  1538. package/dist/system/plugin-lifecycle-advanced.zod.d.ts +0 -357
  1539. package/dist/system/plugin-lifecycle-advanced.zod.d.ts.map +0 -1
  1540. package/dist/system/plugin-lifecycle-events.zod.d.ts.map +0 -1
  1541. package/dist/system/plugin-loading.zod.d.ts +0 -575
  1542. package/dist/system/plugin-loading.zod.d.ts.map +0 -1
  1543. package/dist/system/plugin-security-advanced.zod.d.ts +0 -904
  1544. package/dist/system/plugin-security-advanced.zod.d.ts.map +0 -1
  1545. package/dist/system/plugin-validator.zod.d.ts +0 -98
  1546. package/dist/system/plugin-validator.zod.d.ts.map +0 -1
  1547. package/dist/system/plugin-versioning.zod.d.ts +0 -438
  1548. package/dist/system/plugin-versioning.zod.d.ts.map +0 -1
  1549. package/dist/system/plugin.zod.d.ts +0 -421
  1550. package/dist/system/plugin.zod.d.ts.map +0 -1
  1551. package/dist/system/plugin.zod.js +0 -123
  1552. package/dist/system/startup-orchestrator.zod.d.ts +0 -119
  1553. package/dist/system/startup-orchestrator.zod.d.ts.map +0 -1
  1554. package/json-schema/auth/APIKey.json +0 -7
  1555. package/json-schema/auth/Account.json +0 -7
  1556. package/json-schema/auth/AccountLinkingConfig.json +0 -7
  1557. package/json-schema/auth/ApplicationAuthConfig.json +0 -7
  1558. package/json-schema/auth/AuditPolicy.json +0 -7
  1559. package/json-schema/auth/AuthConfig.json +0 -7
  1560. package/json-schema/auth/AuthPluginConfig.json +0 -7
  1561. package/json-schema/auth/AuthStrategy.json +0 -7
  1562. package/json-schema/auth/BasicAuth.json +0 -7
  1563. package/json-schema/auth/BearerAuth.json +0 -7
  1564. package/json-schema/auth/CSRFConfig.json +0 -7
  1565. package/json-schema/auth/DatabaseAdapter.json +0 -7
  1566. package/json-schema/auth/DatabaseMapping.json +0 -7
  1567. package/json-schema/auth/EmailPasswordConfig.json +0 -7
  1568. package/json-schema/auth/EnterpriseAuthConfig.json +0 -7
  1569. package/json-schema/auth/Invitation.json +0 -7
  1570. package/json-schema/auth/InvitationStatus.json +0 -7
  1571. package/json-schema/auth/JWTAuth.json +0 -7
  1572. package/json-schema/auth/LDAPConfig.json +0 -7
  1573. package/json-schema/auth/MagicLinkConfig.json +0 -7
  1574. package/json-schema/auth/Member.json +0 -7
  1575. package/json-schema/auth/NetworkPolicy.json +0 -7
  1576. package/json-schema/auth/NoAuth.json +0 -7
  1577. package/json-schema/auth/OAuth2.json +0 -7
  1578. package/json-schema/auth/OAuthProvider.json +0 -7
  1579. package/json-schema/auth/OIDCConfig.json +0 -7
  1580. package/json-schema/auth/Organization.json +0 -7
  1581. package/json-schema/auth/PasskeyConfig.json +0 -7
  1582. package/json-schema/auth/PasswordPolicy.json +0 -7
  1583. package/json-schema/auth/Policy.json +0 -7
  1584. package/json-schema/auth/RateLimitConfig.json +0 -7
  1585. package/json-schema/auth/Role.json +0 -7
  1586. package/json-schema/auth/SAMLAuth.json +0 -7
  1587. package/json-schema/auth/SAMLConfig.json +0 -7
  1588. package/json-schema/auth/SCIMAddress.json +0 -7
  1589. package/json-schema/auth/SCIMEmail.json +0 -7
  1590. package/json-schema/auth/SCIMEnterpriseUser.json +0 -7
  1591. package/json-schema/auth/SCIMError.json +0 -7
  1592. package/json-schema/auth/SCIMGroup.json +0 -7
  1593. package/json-schema/auth/SCIMGroupReference.json +0 -7
  1594. package/json-schema/auth/SCIMListResponse.json +0 -7
  1595. package/json-schema/auth/SCIMMemberReference.json +0 -7
  1596. package/json-schema/auth/SCIMMeta.json +0 -7
  1597. package/json-schema/auth/SCIMName.json +0 -7
  1598. package/json-schema/auth/SCIMPatchOperation.json +0 -7
  1599. package/json-schema/auth/SCIMPatchRequest.json +0 -7
  1600. package/json-schema/auth/SCIMPhoneNumber.json +0 -7
  1601. package/json-schema/auth/SCIMUser.json +0 -7
  1602. package/json-schema/auth/Session.json +0 -7
  1603. package/json-schema/auth/SessionConfig.json +0 -7
  1604. package/json-schema/auth/SessionPolicy.json +0 -7
  1605. package/json-schema/auth/StandardAuthProvider.json +0 -7
  1606. package/json-schema/auth/TwoFactorConfig.json +0 -7
  1607. package/json-schema/auth/User.json +0 -7
  1608. package/json-schema/auth/UserFieldMapping.json +0 -7
  1609. package/json-schema/auth/VerificationToken.json +0 -7
  1610. package/json-schema/automation/SlackMessageAction.json +0 -7
  1611. package/json-schema/automation/SmsNotificationAction.json +0 -7
  1612. package/json-schema/automation/TeamsMessageAction.json +0 -7
  1613. package/json-schema/automation/WebhookTriggerAction.json +0 -7
  1614. package/json-schema/hub/MarketplaceQualityMetrics.json +0 -7
  1615. package/json-schema/hub/PluginCategory.json +0 -7
  1616. package/json-schema/hub/PluginCertification.json +0 -7
  1617. package/json-schema/hub/PluginInstallationRequest.json +0 -7
  1618. package/json-schema/hub/PluginInstallationStatus.json +0 -7
  1619. package/json-schema/hub/PluginLicense.json +0 -7
  1620. package/json-schema/hub/PluginMarketplaceListing.json +0 -7
  1621. package/json-schema/hub/PluginRating.json +0 -7
  1622. package/json-schema/hub/PluginRevenueSharing.json +0 -7
  1623. package/json-schema/hub/PluginSearchQuery.json +0 -7
  1624. package/json-schema/hub/PluginTag.json +0 -7
  1625. package/json-schema/permission/CriteriaSharingRule.json +0 -7
  1626. package/json-schema/permission/FieldPermission.json +0 -7
  1627. package/json-schema/permission/OWDModel.json +0 -7
  1628. package/json-schema/permission/ObjectPermission.json +0 -7
  1629. package/json-schema/permission/OwnerSharingRule.json +0 -7
  1630. package/json-schema/permission/PermissionSet.json +0 -7
  1631. package/json-schema/permission/RLSConfig.json +0 -7
  1632. package/json-schema/permission/RLSEvaluationResult.json +0 -7
  1633. package/json-schema/permission/RLSOperation.json +0 -7
  1634. package/json-schema/permission/RLSUserContext.json +0 -7
  1635. package/json-schema/permission/RowLevelSecurityPolicy.json +0 -7
  1636. package/json-schema/permission/ShareRecipientType.json +0 -7
  1637. package/json-schema/permission/SharingLevel.json +0 -7
  1638. package/json-schema/permission/SharingRule.json +0 -7
  1639. package/json-schema/permission/Territory.json +0 -7
  1640. package/json-schema/permission/TerritoryModel.json +0 -7
  1641. package/json-schema/permission/TerritoryType.json +0 -7
  1642. package/json-schema/system/AdvancedPluginLifecycleConfig.json +0 -7
  1643. package/json-schema/system/BreakingChange.json +0 -7
  1644. package/json-schema/system/CapabilityConformanceLevel.json +0 -7
  1645. package/json-schema/system/CompatibilityLevel.json +0 -7
  1646. package/json-schema/system/CompatibilityMatrixEntry.json +0 -7
  1647. package/json-schema/system/Datasource.json +0 -7
  1648. package/json-schema/system/DatasourceCapabilities.json +0 -7
  1649. package/json-schema/system/DeadLetterQueueEntry.json +0 -7
  1650. package/json-schema/system/DependencyConflict.json +0 -7
  1651. package/json-schema/system/DependencyResolutionResult.json +0 -7
  1652. package/json-schema/system/DeprecationNotice.json +0 -7
  1653. package/json-schema/system/DistributedStateConfig.json +0 -7
  1654. package/json-schema/system/DriverDefinition.json +0 -7
  1655. package/json-schema/system/Event.json +0 -7
  1656. package/json-schema/system/EventBusConfig.json +0 -7
  1657. package/json-schema/system/EventHandler.json +0 -7
  1658. package/json-schema/system/EventLogEntry.json +0 -7
  1659. package/json-schema/system/EventMessageQueueConfig.json +0 -7
  1660. package/json-schema/system/EventMetadata.json +0 -7
  1661. package/json-schema/system/EventPersistence.json +0 -7
  1662. package/json-schema/system/EventPhase.json +0 -7
  1663. package/json-schema/system/EventPriority.json +0 -7
  1664. package/json-schema/system/EventQueueConfig.json +0 -7
  1665. package/json-schema/system/EventReplayConfig.json +0 -7
  1666. package/json-schema/system/EventRoute.json +0 -7
  1667. package/json-schema/system/EventSourcingConfig.json +0 -7
  1668. package/json-schema/system/EventTypeDefinition.json +0 -7
  1669. package/json-schema/system/EventWebhookConfig.json +0 -7
  1670. package/json-schema/system/ExtensionPoint.json +0 -7
  1671. package/json-schema/system/FeatureFlag.json +0 -7
  1672. package/json-schema/system/FeatureStrategy.json +0 -7
  1673. package/json-schema/system/GracefulDegradation.json +0 -7
  1674. package/json-schema/system/HealthStatus.json +0 -7
  1675. package/json-schema/system/HookRegisteredEvent.json +0 -7
  1676. package/json-schema/system/HookTriggeredEvent.json +0 -7
  1677. package/json-schema/system/HotReloadConfig.json +0 -7
  1678. package/json-schema/system/KernelContext.json +0 -7
  1679. package/json-schema/system/KernelEventBase.json +0 -7
  1680. package/json-schema/system/KernelReadyEvent.json +0 -7
  1681. package/json-schema/system/KernelShutdownEvent.json +0 -7
  1682. package/json-schema/system/Manifest.json +0 -7
  1683. package/json-schema/system/MultiVersionSupport.json +0 -7
  1684. package/json-schema/system/Permission.json +0 -7
  1685. package/json-schema/system/PermissionAction.json +0 -7
  1686. package/json-schema/system/PermissionScope.json +0 -7
  1687. package/json-schema/system/PermissionSet.json +0 -7
  1688. package/json-schema/system/Plugin.json +0 -7
  1689. package/json-schema/system/PluginCaching.json +0 -7
  1690. package/json-schema/system/PluginCapability.json +0 -7
  1691. package/json-schema/system/PluginCapabilityManifest.json +0 -7
  1692. package/json-schema/system/PluginCodeSplitting.json +0 -7
  1693. package/json-schema/system/PluginCompatibilityMatrix.json +0 -7
  1694. package/json-schema/system/PluginContext.json +0 -7
  1695. package/json-schema/system/PluginDependency.json +0 -7
  1696. package/json-schema/system/PluginDependencyResolution.json +0 -7
  1697. package/json-schema/system/PluginDynamicImport.json +0 -7
  1698. package/json-schema/system/PluginErrorEvent.json +0 -7
  1699. package/json-schema/system/PluginEventBase.json +0 -7
  1700. package/json-schema/system/PluginHealthCheck.json +0 -7
  1701. package/json-schema/system/PluginHealthReport.json +0 -7
  1702. package/json-schema/system/PluginHealthStatus.json +0 -7
  1703. package/json-schema/system/PluginHotReload.json +0 -7
  1704. package/json-schema/system/PluginInitialization.json +0 -7
  1705. package/json-schema/system/PluginInterface.json +0 -7
  1706. package/json-schema/system/PluginLifecycleEventType.json +0 -7
  1707. package/json-schema/system/PluginLifecyclePhaseEvent.json +0 -7
  1708. package/json-schema/system/PluginLoadingConfig.json +0 -7
  1709. package/json-schema/system/PluginLoadingEvent.json +0 -7
  1710. package/json-schema/system/PluginLoadingState.json +0 -7
  1711. package/json-schema/system/PluginLoadingStrategy.json +0 -7
  1712. package/json-schema/system/PluginMetadata.json +0 -7
  1713. package/json-schema/system/PluginPerformanceMonitoring.json +0 -7
  1714. package/json-schema/system/PluginPreloadConfig.json +0 -7
  1715. package/json-schema/system/PluginRegisteredEvent.json +0 -7
  1716. package/json-schema/system/PluginSandboxing.json +0 -7
  1717. package/json-schema/system/PluginSecurityManifest.json +0 -7
  1718. package/json-schema/system/PluginStartupResult.json +0 -7
  1719. package/json-schema/system/PluginStateSnapshot.json +0 -7
  1720. package/json-schema/system/PluginTrustLevel.json +0 -7
  1721. package/json-schema/system/PluginUpdateStrategy.json +0 -7
  1722. package/json-schema/system/PluginVersionMetadata.json +0 -7
  1723. package/json-schema/system/ProtocolFeature.json +0 -7
  1724. package/json-schema/system/ProtocolReference.json +0 -7
  1725. package/json-schema/system/ProtocolVersion.json +0 -7
  1726. package/json-schema/system/RealTimeNotificationConfig.json +0 -7
  1727. package/json-schema/system/ResourceType.json +0 -7
  1728. package/json-schema/system/RuntimeConfig.json +0 -7
  1729. package/json-schema/system/RuntimeMode.json +0 -7
  1730. package/json-schema/system/SandboxConfig.json +0 -7
  1731. package/json-schema/system/ScopeConfig.json +0 -7
  1732. package/json-schema/system/ScopeInfo.json +0 -7
  1733. package/json-schema/system/SecurityPolicy.json +0 -7
  1734. package/json-schema/system/SecurityScanResult.json +0 -7
  1735. package/json-schema/system/SecurityVulnerability.json +0 -7
  1736. package/json-schema/system/SemanticVersion.json +0 -7
  1737. package/json-schema/system/ServiceFactoryRegistration.json +0 -7
  1738. package/json-schema/system/ServiceMetadata.json +0 -7
  1739. package/json-schema/system/ServiceRegisteredEvent.json +0 -7
  1740. package/json-schema/system/ServiceRegistryConfig.json +0 -7
  1741. package/json-schema/system/ServiceScopeType.json +0 -7
  1742. package/json-schema/system/ServiceUnregisteredEvent.json +0 -7
  1743. package/json-schema/system/StartupOptions.json +0 -7
  1744. package/json-schema/system/StartupOrchestrationResult.json +0 -7
  1745. package/json-schema/system/ValidationError.json +0 -7
  1746. package/json-schema/system/ValidationResult.json +0 -7
  1747. package/json-schema/system/ValidationWarning.json +0 -7
  1748. package/json-schema/system/VersionConstraint.json +0 -7
  1749. /package/dist/{system → data}/datasource.zod.js +0 -0
  1750. /package/dist/{auth → identity}/identity.zod.js +0 -0
  1751. /package/dist/{auth → identity}/organization.zod.js +0 -0
  1752. /package/dist/{auth → identity}/protocol.d.ts +0 -0
  1753. /package/dist/{auth → identity}/protocol.js +0 -0
  1754. /package/dist/{auth → identity}/role.zod.js +0 -0
  1755. /package/dist/{auth → identity}/scim.zod.js +0 -0
  1756. /package/dist/{system → kernel}/context.zod.js +0 -0
  1757. /package/dist/{system → kernel}/feature.zod.js +0 -0
  1758. /package/dist/{system → kernel}/metadata-loader.zod.js +0 -0
  1759. /package/dist/{system → kernel}/plugin-capability.zod.js +0 -0
  1760. /package/dist/{system → kernel}/plugin-lifecycle-advanced.zod.js +0 -0
  1761. /package/dist/{system → kernel}/plugin-lifecycle-events.zod.js +0 -0
  1762. /package/dist/{system → kernel}/plugin-loading.zod.js +0 -0
  1763. /package/dist/{system → kernel}/plugin-security-advanced.zod.js +0 -0
  1764. /package/dist/{system → kernel}/plugin-validator.zod.js +0 -0
  1765. /package/dist/{system → kernel}/startup-orchestrator.zod.js +0 -0
  1766. /package/dist/{auth → security}/policy.zod.js +0 -0
  1767. /package/dist/{permission → security}/rls.zod.js +0 -0
  1768. /package/dist/{permission → security}/sharing.zod.js +0 -0
  1769. /package/dist/{permission → security}/territory.zod.js +0 -0
@@ -1,7 +1,3688 @@
1
1
  {
2
2
  "$ref": "#/definitions/MigrationOperation",
3
3
  "definitions": {
4
- "MigrationOperation": {}
4
+ "MigrationOperation": {
5
+ "anyOf": [
6
+ {
7
+ "type": "object",
8
+ "properties": {
9
+ "type": {
10
+ "type": "string",
11
+ "const": "add_field"
12
+ },
13
+ "objectName": {
14
+ "type": "string"
15
+ },
16
+ "fieldName": {
17
+ "type": "string"
18
+ },
19
+ "field": {
20
+ "type": "object",
21
+ "properties": {
22
+ "name": {
23
+ "type": "string",
24
+ "pattern": "^[a-z_][a-z0-9_]*$",
25
+ "description": "Machine name (snake_case)"
26
+ },
27
+ "label": {
28
+ "type": "string",
29
+ "description": "Human readable label"
30
+ },
31
+ "type": {
32
+ "type": "string",
33
+ "enum": [
34
+ "text",
35
+ "textarea",
36
+ "email",
37
+ "url",
38
+ "phone",
39
+ "password",
40
+ "markdown",
41
+ "html",
42
+ "richtext",
43
+ "number",
44
+ "currency",
45
+ "percent",
46
+ "date",
47
+ "datetime",
48
+ "time",
49
+ "boolean",
50
+ "toggle",
51
+ "select",
52
+ "multiselect",
53
+ "radio",
54
+ "checkboxes",
55
+ "lookup",
56
+ "master_detail",
57
+ "tree",
58
+ "image",
59
+ "file",
60
+ "avatar",
61
+ "video",
62
+ "audio",
63
+ "formula",
64
+ "summary",
65
+ "autonumber",
66
+ "location",
67
+ "address",
68
+ "code",
69
+ "json",
70
+ "color",
71
+ "rating",
72
+ "slider",
73
+ "signature",
74
+ "qrcode",
75
+ "progress",
76
+ "tags",
77
+ "vector"
78
+ ],
79
+ "description": "Field Data Type"
80
+ },
81
+ "description": {
82
+ "type": "string",
83
+ "description": "Tooltip/Help text"
84
+ },
85
+ "format": {
86
+ "type": "string",
87
+ "description": "Format string (e.g. email, phone)"
88
+ },
89
+ "required": {
90
+ "type": "boolean",
91
+ "default": false,
92
+ "description": "Is required"
93
+ },
94
+ "searchable": {
95
+ "type": "boolean",
96
+ "default": false,
97
+ "description": "Is searchable"
98
+ },
99
+ "multiple": {
100
+ "type": "boolean",
101
+ "default": false,
102
+ "description": "Allow multiple values (Stores as Array/JSON). Applicable for select, lookup, file, image."
103
+ },
104
+ "unique": {
105
+ "type": "boolean",
106
+ "default": false,
107
+ "description": "Is unique constraint"
108
+ },
109
+ "defaultValue": {
110
+ "description": "Default value"
111
+ },
112
+ "maxLength": {
113
+ "type": "number",
114
+ "description": "Max character length"
115
+ },
116
+ "minLength": {
117
+ "type": "number",
118
+ "description": "Min character length"
119
+ },
120
+ "precision": {
121
+ "type": "number",
122
+ "description": "Total digits"
123
+ },
124
+ "scale": {
125
+ "type": "number",
126
+ "description": "Decimal places"
127
+ },
128
+ "min": {
129
+ "type": "number",
130
+ "description": "Minimum value"
131
+ },
132
+ "max": {
133
+ "type": "number",
134
+ "description": "Maximum value"
135
+ },
136
+ "options": {
137
+ "type": "array",
138
+ "items": {
139
+ "type": "object",
140
+ "properties": {
141
+ "label": {
142
+ "type": "string",
143
+ "description": "Display label (human-readable, any case allowed)"
144
+ },
145
+ "value": {
146
+ "type": "string",
147
+ "minLength": 2,
148
+ "pattern": "^[a-z][a-z0-9_.]*$",
149
+ "description": "Stored value (lowercase machine identifier)"
150
+ },
151
+ "color": {
152
+ "type": "string",
153
+ "description": "Color code for badges/charts"
154
+ },
155
+ "default": {
156
+ "type": "boolean",
157
+ "description": "Is default option"
158
+ }
159
+ },
160
+ "required": [
161
+ "label",
162
+ "value"
163
+ ],
164
+ "additionalProperties": false
165
+ },
166
+ "description": "Static options for select/multiselect"
167
+ },
168
+ "reference": {
169
+ "type": "string",
170
+ "description": "Target Object Name"
171
+ },
172
+ "referenceFilters": {
173
+ "type": "array",
174
+ "items": {
175
+ "type": "string"
176
+ },
177
+ "description": "Filters applied to lookup dialogs (e.g. \"active = true\")"
178
+ },
179
+ "writeRequiresMasterRead": {
180
+ "type": "boolean",
181
+ "description": "If true, user needs read access to master record to edit this field"
182
+ },
183
+ "deleteBehavior": {
184
+ "type": "string",
185
+ "enum": [
186
+ "set_null",
187
+ "cascade",
188
+ "restrict"
189
+ ],
190
+ "default": "set_null",
191
+ "description": "What happens if referenced record is deleted"
192
+ },
193
+ "expression": {
194
+ "type": "string",
195
+ "description": "Formula expression"
196
+ },
197
+ "formula": {
198
+ "type": "string",
199
+ "description": "Deprecated: Use expression"
200
+ },
201
+ "summaryOperations": {
202
+ "type": "object",
203
+ "properties": {
204
+ "object": {
205
+ "type": "string"
206
+ },
207
+ "field": {
208
+ "type": "string"
209
+ },
210
+ "function": {
211
+ "type": "string",
212
+ "enum": [
213
+ "count",
214
+ "sum",
215
+ "min",
216
+ "max",
217
+ "avg"
218
+ ]
219
+ }
220
+ },
221
+ "required": [
222
+ "object",
223
+ "field",
224
+ "function"
225
+ ],
226
+ "additionalProperties": false,
227
+ "description": "Roll-up summary definition"
228
+ },
229
+ "language": {
230
+ "type": "string",
231
+ "description": "Programming language for syntax highlighting (e.g., javascript, python, sql)"
232
+ },
233
+ "theme": {
234
+ "type": "string",
235
+ "description": "Code editor theme (e.g., dark, light, monokai)"
236
+ },
237
+ "lineNumbers": {
238
+ "type": "boolean",
239
+ "description": "Show line numbers in code editor"
240
+ },
241
+ "maxRating": {
242
+ "type": "number",
243
+ "description": "Maximum rating value (default: 5)"
244
+ },
245
+ "allowHalf": {
246
+ "type": "boolean",
247
+ "description": "Allow half-star ratings"
248
+ },
249
+ "displayMap": {
250
+ "type": "boolean",
251
+ "description": "Display map widget for location field"
252
+ },
253
+ "allowGeocoding": {
254
+ "type": "boolean",
255
+ "description": "Allow address-to-coordinate conversion"
256
+ },
257
+ "addressFormat": {
258
+ "type": "string",
259
+ "enum": [
260
+ "us",
261
+ "uk",
262
+ "international"
263
+ ],
264
+ "description": "Address format template"
265
+ },
266
+ "colorFormat": {
267
+ "type": "string",
268
+ "enum": [
269
+ "hex",
270
+ "rgb",
271
+ "rgba",
272
+ "hsl"
273
+ ],
274
+ "description": "Color value format"
275
+ },
276
+ "allowAlpha": {
277
+ "type": "boolean",
278
+ "description": "Allow transparency/alpha channel"
279
+ },
280
+ "presetColors": {
281
+ "type": "array",
282
+ "items": {
283
+ "type": "string"
284
+ },
285
+ "description": "Preset color options"
286
+ },
287
+ "step": {
288
+ "type": "number",
289
+ "description": "Step increment for slider (default: 1)"
290
+ },
291
+ "showValue": {
292
+ "type": "boolean",
293
+ "description": "Display current value on slider"
294
+ },
295
+ "marks": {
296
+ "type": "object",
297
+ "additionalProperties": {
298
+ "type": "string"
299
+ },
300
+ "description": "Custom marks/labels at specific values (e.g., {0: \"Low\", 50: \"Medium\", 100: \"High\"})"
301
+ },
302
+ "barcodeFormat": {
303
+ "type": "string",
304
+ "enum": [
305
+ "qr",
306
+ "ean13",
307
+ "ean8",
308
+ "code128",
309
+ "code39",
310
+ "upca",
311
+ "upce"
312
+ ],
313
+ "description": "Barcode format type"
314
+ },
315
+ "qrErrorCorrection": {
316
+ "type": "string",
317
+ "enum": [
318
+ "L",
319
+ "M",
320
+ "Q",
321
+ "H"
322
+ ],
323
+ "description": "QR code error correction level (L=7%, M=15%, Q=25%, H=30%). Only applicable when barcodeFormat is \"qr\""
324
+ },
325
+ "displayValue": {
326
+ "type": "boolean",
327
+ "description": "Display human-readable value below barcode/QR code"
328
+ },
329
+ "allowScanning": {
330
+ "type": "boolean",
331
+ "description": "Enable camera scanning for barcode/QR code input"
332
+ },
333
+ "currencyConfig": {
334
+ "type": "object",
335
+ "properties": {
336
+ "precision": {
337
+ "type": "integer",
338
+ "minimum": 0,
339
+ "maximum": 10,
340
+ "default": 2,
341
+ "description": "Decimal precision (default: 2)"
342
+ },
343
+ "currencyMode": {
344
+ "type": "string",
345
+ "enum": [
346
+ "dynamic",
347
+ "fixed"
348
+ ],
349
+ "default": "dynamic",
350
+ "description": "Currency mode: dynamic (user selectable) or fixed (single currency)"
351
+ },
352
+ "defaultCurrency": {
353
+ "type": "string",
354
+ "minLength": 3,
355
+ "maxLength": 3,
356
+ "default": "CNY",
357
+ "description": "Default or fixed currency code (ISO 4217, e.g., USD, CNY, EUR)"
358
+ }
359
+ },
360
+ "additionalProperties": false,
361
+ "description": "Configuration for currency field type"
362
+ },
363
+ "vectorConfig": {
364
+ "type": "object",
365
+ "properties": {
366
+ "dimensions": {
367
+ "type": "integer",
368
+ "minimum": 1,
369
+ "maximum": 10000,
370
+ "description": "Vector dimensionality (e.g., 1536 for OpenAI embeddings)"
371
+ },
372
+ "distanceMetric": {
373
+ "type": "string",
374
+ "enum": [
375
+ "cosine",
376
+ "euclidean",
377
+ "dotProduct",
378
+ "manhattan"
379
+ ],
380
+ "default": "cosine",
381
+ "description": "Distance/similarity metric for vector search"
382
+ },
383
+ "normalized": {
384
+ "type": "boolean",
385
+ "default": false,
386
+ "description": "Whether vectors are normalized (unit length)"
387
+ },
388
+ "indexed": {
389
+ "type": "boolean",
390
+ "default": true,
391
+ "description": "Whether to create a vector index for fast similarity search"
392
+ },
393
+ "indexType": {
394
+ "type": "string",
395
+ "enum": [
396
+ "hnsw",
397
+ "ivfflat",
398
+ "flat"
399
+ ],
400
+ "description": "Vector index algorithm (HNSW for high accuracy, IVFFlat for large datasets)"
401
+ }
402
+ },
403
+ "required": [
404
+ "dimensions"
405
+ ],
406
+ "additionalProperties": false,
407
+ "description": "Configuration for vector field type (AI/ML embeddings)"
408
+ },
409
+ "fileAttachmentConfig": {
410
+ "type": "object",
411
+ "properties": {
412
+ "minSize": {
413
+ "type": "number",
414
+ "minimum": 0,
415
+ "description": "Minimum file size in bytes"
416
+ },
417
+ "maxSize": {
418
+ "type": "number",
419
+ "minimum": 1,
420
+ "description": "Maximum file size in bytes (e.g., 10485760 = 10MB)"
421
+ },
422
+ "allowedTypes": {
423
+ "type": "array",
424
+ "items": {
425
+ "type": "string"
426
+ },
427
+ "description": "Allowed file extensions (e.g., [\".pdf\", \".docx\", \".jpg\"])"
428
+ },
429
+ "blockedTypes": {
430
+ "type": "array",
431
+ "items": {
432
+ "type": "string"
433
+ },
434
+ "description": "Blocked file extensions (e.g., [\".exe\", \".bat\", \".sh\"])"
435
+ },
436
+ "allowedMimeTypes": {
437
+ "type": "array",
438
+ "items": {
439
+ "type": "string"
440
+ },
441
+ "description": "Allowed MIME types (e.g., [\"image/jpeg\", \"application/pdf\"])"
442
+ },
443
+ "blockedMimeTypes": {
444
+ "type": "array",
445
+ "items": {
446
+ "type": "string"
447
+ },
448
+ "description": "Blocked MIME types"
449
+ },
450
+ "virusScan": {
451
+ "type": "boolean",
452
+ "default": false,
453
+ "description": "Enable virus scanning for uploaded files"
454
+ },
455
+ "virusScanProvider": {
456
+ "type": "string",
457
+ "enum": [
458
+ "clamav",
459
+ "virustotal",
460
+ "metadefender",
461
+ "custom"
462
+ ],
463
+ "description": "Virus scanning service provider"
464
+ },
465
+ "virusScanOnUpload": {
466
+ "type": "boolean",
467
+ "default": true,
468
+ "description": "Scan files immediately on upload"
469
+ },
470
+ "quarantineOnThreat": {
471
+ "type": "boolean",
472
+ "default": true,
473
+ "description": "Quarantine files if threat detected"
474
+ },
475
+ "storageProvider": {
476
+ "type": "string",
477
+ "description": "Object storage provider name (references ObjectStorageConfig)"
478
+ },
479
+ "storageBucket": {
480
+ "type": "string",
481
+ "description": "Target bucket name"
482
+ },
483
+ "storagePrefix": {
484
+ "type": "string",
485
+ "description": "Storage path prefix (e.g., \"uploads/documents/\")"
486
+ },
487
+ "imageValidation": {
488
+ "type": "object",
489
+ "properties": {
490
+ "minWidth": {
491
+ "type": "number",
492
+ "minimum": 1,
493
+ "description": "Minimum image width in pixels"
494
+ },
495
+ "maxWidth": {
496
+ "type": "number",
497
+ "minimum": 1,
498
+ "description": "Maximum image width in pixels"
499
+ },
500
+ "minHeight": {
501
+ "type": "number",
502
+ "minimum": 1,
503
+ "description": "Minimum image height in pixels"
504
+ },
505
+ "maxHeight": {
506
+ "type": "number",
507
+ "minimum": 1,
508
+ "description": "Maximum image height in pixels"
509
+ },
510
+ "aspectRatio": {
511
+ "type": "string",
512
+ "description": "Required aspect ratio (e.g., \"16:9\", \"1:1\")"
513
+ },
514
+ "generateThumbnails": {
515
+ "type": "boolean",
516
+ "default": false,
517
+ "description": "Auto-generate thumbnails"
518
+ },
519
+ "thumbnailSizes": {
520
+ "type": "array",
521
+ "items": {
522
+ "type": "object",
523
+ "properties": {
524
+ "name": {
525
+ "type": "string",
526
+ "description": "Thumbnail variant name (e.g., \"small\", \"medium\", \"large\")"
527
+ },
528
+ "width": {
529
+ "type": "number",
530
+ "minimum": 1,
531
+ "description": "Thumbnail width in pixels"
532
+ },
533
+ "height": {
534
+ "type": "number",
535
+ "minimum": 1,
536
+ "description": "Thumbnail height in pixels"
537
+ },
538
+ "crop": {
539
+ "type": "boolean",
540
+ "default": false,
541
+ "description": "Crop to exact dimensions"
542
+ }
543
+ },
544
+ "required": [
545
+ "name",
546
+ "width",
547
+ "height"
548
+ ],
549
+ "additionalProperties": false
550
+ },
551
+ "description": "Thumbnail size configurations"
552
+ },
553
+ "preserveMetadata": {
554
+ "type": "boolean",
555
+ "default": false,
556
+ "description": "Preserve EXIF metadata"
557
+ },
558
+ "autoRotate": {
559
+ "type": "boolean",
560
+ "default": true,
561
+ "description": "Auto-rotate based on EXIF orientation"
562
+ }
563
+ },
564
+ "additionalProperties": false,
565
+ "description": "Image-specific validation rules"
566
+ },
567
+ "allowMultiple": {
568
+ "type": "boolean",
569
+ "default": false,
570
+ "description": "Allow multiple file uploads (overrides field.multiple)"
571
+ },
572
+ "allowReplace": {
573
+ "type": "boolean",
574
+ "default": true,
575
+ "description": "Allow replacing existing files"
576
+ },
577
+ "allowDelete": {
578
+ "type": "boolean",
579
+ "default": true,
580
+ "description": "Allow deleting uploaded files"
581
+ },
582
+ "requireUpload": {
583
+ "type": "boolean",
584
+ "default": false,
585
+ "description": "Require at least one file when field is required"
586
+ },
587
+ "extractMetadata": {
588
+ "type": "boolean",
589
+ "default": true,
590
+ "description": "Extract file metadata (name, size, type, etc.)"
591
+ },
592
+ "extractText": {
593
+ "type": "boolean",
594
+ "default": false,
595
+ "description": "Extract text content from documents (OCR/parsing)"
596
+ },
597
+ "versioningEnabled": {
598
+ "type": "boolean",
599
+ "default": false,
600
+ "description": "Keep previous versions of replaced files"
601
+ },
602
+ "maxVersions": {
603
+ "type": "number",
604
+ "minimum": 1,
605
+ "description": "Maximum number of versions to retain"
606
+ },
607
+ "publicRead": {
608
+ "type": "boolean",
609
+ "default": false,
610
+ "description": "Allow public read access to uploaded files"
611
+ },
612
+ "presignedUrlExpiry": {
613
+ "type": "number",
614
+ "minimum": 60,
615
+ "maximum": 604800,
616
+ "default": 3600,
617
+ "description": "Presigned URL expiration in seconds (default: 1 hour)"
618
+ }
619
+ },
620
+ "additionalProperties": false,
621
+ "description": "Configuration for file and attachment field types"
622
+ },
623
+ "encryptionConfig": {
624
+ "type": "object",
625
+ "properties": {
626
+ "enabled": {
627
+ "type": "boolean",
628
+ "default": false
629
+ },
630
+ "algorithm": {
631
+ "type": "string",
632
+ "enum": [
633
+ "aes-256-gcm",
634
+ "aes-256-cbc",
635
+ "chacha20-poly1305"
636
+ ],
637
+ "default": "aes-256-gcm"
638
+ },
639
+ "keyManagement": {
640
+ "type": "object",
641
+ "properties": {
642
+ "provider": {
643
+ "type": "string",
644
+ "enum": [
645
+ "local",
646
+ "aws-kms",
647
+ "azure-key-vault",
648
+ "gcp-kms",
649
+ "hashicorp-vault"
650
+ ]
651
+ },
652
+ "keyId": {
653
+ "type": "string"
654
+ },
655
+ "rotationPolicy": {
656
+ "type": "object",
657
+ "properties": {
658
+ "enabled": {
659
+ "type": "boolean",
660
+ "default": false
661
+ },
662
+ "frequencyDays": {
663
+ "type": "number",
664
+ "minimum": 1,
665
+ "default": 90
666
+ },
667
+ "retainOldVersions": {
668
+ "type": "number",
669
+ "default": 3
670
+ },
671
+ "autoRotate": {
672
+ "type": "boolean",
673
+ "default": true
674
+ }
675
+ },
676
+ "additionalProperties": false
677
+ }
678
+ },
679
+ "required": [
680
+ "provider"
681
+ ],
682
+ "additionalProperties": false
683
+ },
684
+ "scope": {
685
+ "type": "string",
686
+ "enum": [
687
+ "field",
688
+ "record",
689
+ "table",
690
+ "database"
691
+ ]
692
+ },
693
+ "deterministicEncryption": {
694
+ "type": "boolean",
695
+ "default": false,
696
+ "description": "Allows equality queries on encrypted data"
697
+ },
698
+ "searchableEncryption": {
699
+ "type": "boolean",
700
+ "default": false,
701
+ "description": "Allows search on encrypted data"
702
+ }
703
+ },
704
+ "required": [
705
+ "keyManagement",
706
+ "scope"
707
+ ],
708
+ "additionalProperties": false,
709
+ "description": "Field-level encryption configuration for sensitive data (GDPR/HIPAA/PCI-DSS)"
710
+ },
711
+ "maskingRule": {
712
+ "type": "object",
713
+ "properties": {
714
+ "field": {
715
+ "type": "string"
716
+ },
717
+ "strategy": {
718
+ "type": "string",
719
+ "enum": [
720
+ "redact",
721
+ "partial",
722
+ "hash",
723
+ "tokenize",
724
+ "randomize",
725
+ "nullify",
726
+ "substitute"
727
+ ]
728
+ },
729
+ "pattern": {
730
+ "type": "string",
731
+ "description": "Regex pattern for partial masking"
732
+ },
733
+ "preserveFormat": {
734
+ "type": "boolean",
735
+ "default": true
736
+ },
737
+ "preserveLength": {
738
+ "type": "boolean",
739
+ "default": true
740
+ },
741
+ "roles": {
742
+ "type": "array",
743
+ "items": {
744
+ "type": "string"
745
+ },
746
+ "description": "Roles that see masked data"
747
+ },
748
+ "exemptRoles": {
749
+ "type": "array",
750
+ "items": {
751
+ "type": "string"
752
+ },
753
+ "description": "Roles that see unmasked data"
754
+ }
755
+ },
756
+ "required": [
757
+ "field",
758
+ "strategy"
759
+ ],
760
+ "additionalProperties": false,
761
+ "description": "Data masking rules for PII protection"
762
+ },
763
+ "auditTrail": {
764
+ "type": "boolean",
765
+ "default": false,
766
+ "description": "Enable detailed audit trail for this field (tracks all changes with user and timestamp)"
767
+ },
768
+ "dependencies": {
769
+ "type": "array",
770
+ "items": {
771
+ "type": "string"
772
+ },
773
+ "description": "Array of field names that this field depends on (for formulas, visibility rules, etc.)"
774
+ },
775
+ "cached": {
776
+ "type": "object",
777
+ "properties": {
778
+ "enabled": {
779
+ "type": "boolean",
780
+ "description": "Enable caching for computed field results"
781
+ },
782
+ "ttl": {
783
+ "type": "number",
784
+ "minimum": 0,
785
+ "description": "Cache TTL in seconds (0 = no expiration)"
786
+ },
787
+ "invalidateOn": {
788
+ "type": "array",
789
+ "items": {
790
+ "type": "string"
791
+ },
792
+ "description": "Field paths that invalidate cache (e.g., [\"inventory.quantity\", \"pricing.base_price\"])"
793
+ }
794
+ },
795
+ "required": [
796
+ "enabled",
797
+ "ttl",
798
+ "invalidateOn"
799
+ ],
800
+ "additionalProperties": false,
801
+ "description": "Caching configuration for computed/formula fields"
802
+ },
803
+ "dataQuality": {
804
+ "type": "object",
805
+ "properties": {
806
+ "uniqueness": {
807
+ "type": "boolean",
808
+ "default": false,
809
+ "description": "Enforce unique values across all records"
810
+ },
811
+ "completeness": {
812
+ "type": "number",
813
+ "minimum": 0,
814
+ "maximum": 1,
815
+ "default": 0,
816
+ "description": "Minimum ratio of non-null values (0-1, default: 0 = no requirement)"
817
+ },
818
+ "accuracy": {
819
+ "type": "object",
820
+ "properties": {
821
+ "source": {
822
+ "type": "string",
823
+ "description": "Reference data source for validation (e.g., \"api.verify.com\", \"master_data\")"
824
+ },
825
+ "threshold": {
826
+ "type": "number",
827
+ "minimum": 0,
828
+ "maximum": 1,
829
+ "description": "Minimum accuracy threshold (0-1, e.g., 0.95 = 95% match required)"
830
+ }
831
+ },
832
+ "required": [
833
+ "source",
834
+ "threshold"
835
+ ],
836
+ "additionalProperties": false,
837
+ "description": "Accuracy validation configuration"
838
+ }
839
+ },
840
+ "additionalProperties": false,
841
+ "description": "Data quality validation and monitoring rules"
842
+ },
843
+ "hidden": {
844
+ "type": "boolean",
845
+ "default": false,
846
+ "description": "Hidden from default UI"
847
+ },
848
+ "readonly": {
849
+ "type": "boolean",
850
+ "default": false,
851
+ "description": "Read-only in UI"
852
+ },
853
+ "encryption": {
854
+ "type": "boolean",
855
+ "default": false,
856
+ "description": "Deprecated: Use encryptionConfig for enhanced encryption features. Simple flag for backward compatibility."
857
+ },
858
+ "index": {
859
+ "type": "boolean",
860
+ "default": false,
861
+ "description": "Create standard database index"
862
+ },
863
+ "externalId": {
864
+ "type": "boolean",
865
+ "default": false,
866
+ "description": "Is external ID for upsert operations"
867
+ }
868
+ },
869
+ "required": [
870
+ "type"
871
+ ],
872
+ "additionalProperties": false
873
+ }
874
+ },
875
+ "required": [
876
+ "type",
877
+ "objectName",
878
+ "fieldName",
879
+ "field"
880
+ ],
881
+ "additionalProperties": false
882
+ },
883
+ {
884
+ "type": "object",
885
+ "properties": {
886
+ "type": {
887
+ "type": "string",
888
+ "const": "modify_field"
889
+ },
890
+ "objectName": {
891
+ "type": "string"
892
+ },
893
+ "fieldName": {
894
+ "type": "string"
895
+ },
896
+ "changes": {
897
+ "type": "object",
898
+ "additionalProperties": {}
899
+ }
900
+ },
901
+ "required": [
902
+ "type",
903
+ "objectName",
904
+ "fieldName",
905
+ "changes"
906
+ ],
907
+ "additionalProperties": false
908
+ },
909
+ {
910
+ "type": "object",
911
+ "properties": {
912
+ "type": {
913
+ "type": "string",
914
+ "const": "remove_field"
915
+ },
916
+ "objectName": {
917
+ "type": "string"
918
+ },
919
+ "fieldName": {
920
+ "type": "string"
921
+ }
922
+ },
923
+ "required": [
924
+ "type",
925
+ "objectName",
926
+ "fieldName"
927
+ ],
928
+ "additionalProperties": false
929
+ },
930
+ {
931
+ "type": "object",
932
+ "properties": {
933
+ "type": {
934
+ "type": "string",
935
+ "const": "create_object"
936
+ },
937
+ "object": {
938
+ "type": "object",
939
+ "properties": {
940
+ "name": {
941
+ "type": "string",
942
+ "pattern": "^[a-z_][a-z0-9_]*$",
943
+ "description": "Machine unique key (snake_case). Immutable."
944
+ },
945
+ "label": {
946
+ "type": "string",
947
+ "description": "Human readable singular label (e.g. \"Account\")"
948
+ },
949
+ "pluralLabel": {
950
+ "type": "string",
951
+ "description": "Human readable plural label (e.g. \"Accounts\")"
952
+ },
953
+ "description": {
954
+ "type": "string",
955
+ "description": "Developer documentation / description"
956
+ },
957
+ "icon": {
958
+ "type": "string",
959
+ "description": "Icon name (Lucide/Material) for UI representation"
960
+ },
961
+ "tags": {
962
+ "type": "array",
963
+ "items": {
964
+ "type": "string"
965
+ },
966
+ "description": "Categorization tags (e.g. \"sales\", \"system\", \"reference\")"
967
+ },
968
+ "active": {
969
+ "type": "boolean",
970
+ "default": true,
971
+ "description": "Is the object active and usable"
972
+ },
973
+ "isSystem": {
974
+ "type": "boolean",
975
+ "default": false,
976
+ "description": "Is system object (protected from deletion)"
977
+ },
978
+ "abstract": {
979
+ "type": "boolean",
980
+ "default": false,
981
+ "description": "Is abstract base object (cannot be instantiated)"
982
+ },
983
+ "datasource": {
984
+ "type": "string",
985
+ "default": "default",
986
+ "description": "Target Datasource ID. \"default\" is the primary DB."
987
+ },
988
+ "tableName": {
989
+ "type": "string",
990
+ "description": "Physical table/collection name in the target datasource"
991
+ },
992
+ "fields": {
993
+ "type": "object",
994
+ "additionalProperties": {
995
+ "type": "object",
996
+ "properties": {
997
+ "name": {
998
+ "type": "string",
999
+ "pattern": "^[a-z_][a-z0-9_]*$",
1000
+ "description": "Machine name (snake_case)"
1001
+ },
1002
+ "label": {
1003
+ "type": "string",
1004
+ "description": "Human readable label"
1005
+ },
1006
+ "type": {
1007
+ "type": "string",
1008
+ "enum": [
1009
+ "text",
1010
+ "textarea",
1011
+ "email",
1012
+ "url",
1013
+ "phone",
1014
+ "password",
1015
+ "markdown",
1016
+ "html",
1017
+ "richtext",
1018
+ "number",
1019
+ "currency",
1020
+ "percent",
1021
+ "date",
1022
+ "datetime",
1023
+ "time",
1024
+ "boolean",
1025
+ "toggle",
1026
+ "select",
1027
+ "multiselect",
1028
+ "radio",
1029
+ "checkboxes",
1030
+ "lookup",
1031
+ "master_detail",
1032
+ "tree",
1033
+ "image",
1034
+ "file",
1035
+ "avatar",
1036
+ "video",
1037
+ "audio",
1038
+ "formula",
1039
+ "summary",
1040
+ "autonumber",
1041
+ "location",
1042
+ "address",
1043
+ "code",
1044
+ "json",
1045
+ "color",
1046
+ "rating",
1047
+ "slider",
1048
+ "signature",
1049
+ "qrcode",
1050
+ "progress",
1051
+ "tags",
1052
+ "vector"
1053
+ ],
1054
+ "description": "Field Data Type"
1055
+ },
1056
+ "description": {
1057
+ "type": "string",
1058
+ "description": "Tooltip/Help text"
1059
+ },
1060
+ "format": {
1061
+ "type": "string",
1062
+ "description": "Format string (e.g. email, phone)"
1063
+ },
1064
+ "required": {
1065
+ "type": "boolean",
1066
+ "default": false,
1067
+ "description": "Is required"
1068
+ },
1069
+ "searchable": {
1070
+ "type": "boolean",
1071
+ "default": false,
1072
+ "description": "Is searchable"
1073
+ },
1074
+ "multiple": {
1075
+ "type": "boolean",
1076
+ "default": false,
1077
+ "description": "Allow multiple values (Stores as Array/JSON). Applicable for select, lookup, file, image."
1078
+ },
1079
+ "unique": {
1080
+ "type": "boolean",
1081
+ "default": false,
1082
+ "description": "Is unique constraint"
1083
+ },
1084
+ "defaultValue": {
1085
+ "description": "Default value"
1086
+ },
1087
+ "maxLength": {
1088
+ "type": "number",
1089
+ "description": "Max character length"
1090
+ },
1091
+ "minLength": {
1092
+ "type": "number",
1093
+ "description": "Min character length"
1094
+ },
1095
+ "precision": {
1096
+ "type": "number",
1097
+ "description": "Total digits"
1098
+ },
1099
+ "scale": {
1100
+ "type": "number",
1101
+ "description": "Decimal places"
1102
+ },
1103
+ "min": {
1104
+ "type": "number",
1105
+ "description": "Minimum value"
1106
+ },
1107
+ "max": {
1108
+ "type": "number",
1109
+ "description": "Maximum value"
1110
+ },
1111
+ "options": {
1112
+ "type": "array",
1113
+ "items": {
1114
+ "type": "object",
1115
+ "properties": {
1116
+ "label": {
1117
+ "type": "string",
1118
+ "description": "Display label (human-readable, any case allowed)"
1119
+ },
1120
+ "value": {
1121
+ "type": "string",
1122
+ "minLength": 2,
1123
+ "pattern": "^[a-z][a-z0-9_.]*$",
1124
+ "description": "Stored value (lowercase machine identifier)"
1125
+ },
1126
+ "color": {
1127
+ "type": "string",
1128
+ "description": "Color code for badges/charts"
1129
+ },
1130
+ "default": {
1131
+ "type": "boolean",
1132
+ "description": "Is default option"
1133
+ }
1134
+ },
1135
+ "required": [
1136
+ "label",
1137
+ "value"
1138
+ ],
1139
+ "additionalProperties": false
1140
+ },
1141
+ "description": "Static options for select/multiselect"
1142
+ },
1143
+ "reference": {
1144
+ "type": "string",
1145
+ "description": "Target Object Name"
1146
+ },
1147
+ "referenceFilters": {
1148
+ "type": "array",
1149
+ "items": {
1150
+ "type": "string"
1151
+ },
1152
+ "description": "Filters applied to lookup dialogs (e.g. \"active = true\")"
1153
+ },
1154
+ "writeRequiresMasterRead": {
1155
+ "type": "boolean",
1156
+ "description": "If true, user needs read access to master record to edit this field"
1157
+ },
1158
+ "deleteBehavior": {
1159
+ "type": "string",
1160
+ "enum": [
1161
+ "set_null",
1162
+ "cascade",
1163
+ "restrict"
1164
+ ],
1165
+ "default": "set_null",
1166
+ "description": "What happens if referenced record is deleted"
1167
+ },
1168
+ "expression": {
1169
+ "type": "string",
1170
+ "description": "Formula expression"
1171
+ },
1172
+ "formula": {
1173
+ "type": "string",
1174
+ "description": "Deprecated: Use expression"
1175
+ },
1176
+ "summaryOperations": {
1177
+ "type": "object",
1178
+ "properties": {
1179
+ "object": {
1180
+ "type": "string"
1181
+ },
1182
+ "field": {
1183
+ "type": "string"
1184
+ },
1185
+ "function": {
1186
+ "type": "string",
1187
+ "enum": [
1188
+ "count",
1189
+ "sum",
1190
+ "min",
1191
+ "max",
1192
+ "avg"
1193
+ ]
1194
+ }
1195
+ },
1196
+ "required": [
1197
+ "object",
1198
+ "field",
1199
+ "function"
1200
+ ],
1201
+ "additionalProperties": false,
1202
+ "description": "Roll-up summary definition"
1203
+ },
1204
+ "language": {
1205
+ "type": "string",
1206
+ "description": "Programming language for syntax highlighting (e.g., javascript, python, sql)"
1207
+ },
1208
+ "theme": {
1209
+ "type": "string",
1210
+ "description": "Code editor theme (e.g., dark, light, monokai)"
1211
+ },
1212
+ "lineNumbers": {
1213
+ "type": "boolean",
1214
+ "description": "Show line numbers in code editor"
1215
+ },
1216
+ "maxRating": {
1217
+ "type": "number",
1218
+ "description": "Maximum rating value (default: 5)"
1219
+ },
1220
+ "allowHalf": {
1221
+ "type": "boolean",
1222
+ "description": "Allow half-star ratings"
1223
+ },
1224
+ "displayMap": {
1225
+ "type": "boolean",
1226
+ "description": "Display map widget for location field"
1227
+ },
1228
+ "allowGeocoding": {
1229
+ "type": "boolean",
1230
+ "description": "Allow address-to-coordinate conversion"
1231
+ },
1232
+ "addressFormat": {
1233
+ "type": "string",
1234
+ "enum": [
1235
+ "us",
1236
+ "uk",
1237
+ "international"
1238
+ ],
1239
+ "description": "Address format template"
1240
+ },
1241
+ "colorFormat": {
1242
+ "type": "string",
1243
+ "enum": [
1244
+ "hex",
1245
+ "rgb",
1246
+ "rgba",
1247
+ "hsl"
1248
+ ],
1249
+ "description": "Color value format"
1250
+ },
1251
+ "allowAlpha": {
1252
+ "type": "boolean",
1253
+ "description": "Allow transparency/alpha channel"
1254
+ },
1255
+ "presetColors": {
1256
+ "type": "array",
1257
+ "items": {
1258
+ "type": "string"
1259
+ },
1260
+ "description": "Preset color options"
1261
+ },
1262
+ "step": {
1263
+ "type": "number",
1264
+ "description": "Step increment for slider (default: 1)"
1265
+ },
1266
+ "showValue": {
1267
+ "type": "boolean",
1268
+ "description": "Display current value on slider"
1269
+ },
1270
+ "marks": {
1271
+ "type": "object",
1272
+ "additionalProperties": {
1273
+ "type": "string"
1274
+ },
1275
+ "description": "Custom marks/labels at specific values (e.g., {0: \"Low\", 50: \"Medium\", 100: \"High\"})"
1276
+ },
1277
+ "barcodeFormat": {
1278
+ "type": "string",
1279
+ "enum": [
1280
+ "qr",
1281
+ "ean13",
1282
+ "ean8",
1283
+ "code128",
1284
+ "code39",
1285
+ "upca",
1286
+ "upce"
1287
+ ],
1288
+ "description": "Barcode format type"
1289
+ },
1290
+ "qrErrorCorrection": {
1291
+ "type": "string",
1292
+ "enum": [
1293
+ "L",
1294
+ "M",
1295
+ "Q",
1296
+ "H"
1297
+ ],
1298
+ "description": "QR code error correction level (L=7%, M=15%, Q=25%, H=30%). Only applicable when barcodeFormat is \"qr\""
1299
+ },
1300
+ "displayValue": {
1301
+ "type": "boolean",
1302
+ "description": "Display human-readable value below barcode/QR code"
1303
+ },
1304
+ "allowScanning": {
1305
+ "type": "boolean",
1306
+ "description": "Enable camera scanning for barcode/QR code input"
1307
+ },
1308
+ "currencyConfig": {
1309
+ "type": "object",
1310
+ "properties": {
1311
+ "precision": {
1312
+ "type": "integer",
1313
+ "minimum": 0,
1314
+ "maximum": 10,
1315
+ "default": 2,
1316
+ "description": "Decimal precision (default: 2)"
1317
+ },
1318
+ "currencyMode": {
1319
+ "type": "string",
1320
+ "enum": [
1321
+ "dynamic",
1322
+ "fixed"
1323
+ ],
1324
+ "default": "dynamic",
1325
+ "description": "Currency mode: dynamic (user selectable) or fixed (single currency)"
1326
+ },
1327
+ "defaultCurrency": {
1328
+ "type": "string",
1329
+ "minLength": 3,
1330
+ "maxLength": 3,
1331
+ "default": "CNY",
1332
+ "description": "Default or fixed currency code (ISO 4217, e.g., USD, CNY, EUR)"
1333
+ }
1334
+ },
1335
+ "additionalProperties": false,
1336
+ "description": "Configuration for currency field type"
1337
+ },
1338
+ "vectorConfig": {
1339
+ "type": "object",
1340
+ "properties": {
1341
+ "dimensions": {
1342
+ "type": "integer",
1343
+ "minimum": 1,
1344
+ "maximum": 10000,
1345
+ "description": "Vector dimensionality (e.g., 1536 for OpenAI embeddings)"
1346
+ },
1347
+ "distanceMetric": {
1348
+ "type": "string",
1349
+ "enum": [
1350
+ "cosine",
1351
+ "euclidean",
1352
+ "dotProduct",
1353
+ "manhattan"
1354
+ ],
1355
+ "default": "cosine",
1356
+ "description": "Distance/similarity metric for vector search"
1357
+ },
1358
+ "normalized": {
1359
+ "type": "boolean",
1360
+ "default": false,
1361
+ "description": "Whether vectors are normalized (unit length)"
1362
+ },
1363
+ "indexed": {
1364
+ "type": "boolean",
1365
+ "default": true,
1366
+ "description": "Whether to create a vector index for fast similarity search"
1367
+ },
1368
+ "indexType": {
1369
+ "type": "string",
1370
+ "enum": [
1371
+ "hnsw",
1372
+ "ivfflat",
1373
+ "flat"
1374
+ ],
1375
+ "description": "Vector index algorithm (HNSW for high accuracy, IVFFlat for large datasets)"
1376
+ }
1377
+ },
1378
+ "required": [
1379
+ "dimensions"
1380
+ ],
1381
+ "additionalProperties": false,
1382
+ "description": "Configuration for vector field type (AI/ML embeddings)"
1383
+ },
1384
+ "fileAttachmentConfig": {
1385
+ "type": "object",
1386
+ "properties": {
1387
+ "minSize": {
1388
+ "type": "number",
1389
+ "minimum": 0,
1390
+ "description": "Minimum file size in bytes"
1391
+ },
1392
+ "maxSize": {
1393
+ "type": "number",
1394
+ "minimum": 1,
1395
+ "description": "Maximum file size in bytes (e.g., 10485760 = 10MB)"
1396
+ },
1397
+ "allowedTypes": {
1398
+ "type": "array",
1399
+ "items": {
1400
+ "type": "string"
1401
+ },
1402
+ "description": "Allowed file extensions (e.g., [\".pdf\", \".docx\", \".jpg\"])"
1403
+ },
1404
+ "blockedTypes": {
1405
+ "type": "array",
1406
+ "items": {
1407
+ "type": "string"
1408
+ },
1409
+ "description": "Blocked file extensions (e.g., [\".exe\", \".bat\", \".sh\"])"
1410
+ },
1411
+ "allowedMimeTypes": {
1412
+ "type": "array",
1413
+ "items": {
1414
+ "type": "string"
1415
+ },
1416
+ "description": "Allowed MIME types (e.g., [\"image/jpeg\", \"application/pdf\"])"
1417
+ },
1418
+ "blockedMimeTypes": {
1419
+ "type": "array",
1420
+ "items": {
1421
+ "type": "string"
1422
+ },
1423
+ "description": "Blocked MIME types"
1424
+ },
1425
+ "virusScan": {
1426
+ "type": "boolean",
1427
+ "default": false,
1428
+ "description": "Enable virus scanning for uploaded files"
1429
+ },
1430
+ "virusScanProvider": {
1431
+ "type": "string",
1432
+ "enum": [
1433
+ "clamav",
1434
+ "virustotal",
1435
+ "metadefender",
1436
+ "custom"
1437
+ ],
1438
+ "description": "Virus scanning service provider"
1439
+ },
1440
+ "virusScanOnUpload": {
1441
+ "type": "boolean",
1442
+ "default": true,
1443
+ "description": "Scan files immediately on upload"
1444
+ },
1445
+ "quarantineOnThreat": {
1446
+ "type": "boolean",
1447
+ "default": true,
1448
+ "description": "Quarantine files if threat detected"
1449
+ },
1450
+ "storageProvider": {
1451
+ "type": "string",
1452
+ "description": "Object storage provider name (references ObjectStorageConfig)"
1453
+ },
1454
+ "storageBucket": {
1455
+ "type": "string",
1456
+ "description": "Target bucket name"
1457
+ },
1458
+ "storagePrefix": {
1459
+ "type": "string",
1460
+ "description": "Storage path prefix (e.g., \"uploads/documents/\")"
1461
+ },
1462
+ "imageValidation": {
1463
+ "type": "object",
1464
+ "properties": {
1465
+ "minWidth": {
1466
+ "type": "number",
1467
+ "minimum": 1,
1468
+ "description": "Minimum image width in pixels"
1469
+ },
1470
+ "maxWidth": {
1471
+ "type": "number",
1472
+ "minimum": 1,
1473
+ "description": "Maximum image width in pixels"
1474
+ },
1475
+ "minHeight": {
1476
+ "type": "number",
1477
+ "minimum": 1,
1478
+ "description": "Minimum image height in pixels"
1479
+ },
1480
+ "maxHeight": {
1481
+ "type": "number",
1482
+ "minimum": 1,
1483
+ "description": "Maximum image height in pixels"
1484
+ },
1485
+ "aspectRatio": {
1486
+ "type": "string",
1487
+ "description": "Required aspect ratio (e.g., \"16:9\", \"1:1\")"
1488
+ },
1489
+ "generateThumbnails": {
1490
+ "type": "boolean",
1491
+ "default": false,
1492
+ "description": "Auto-generate thumbnails"
1493
+ },
1494
+ "thumbnailSizes": {
1495
+ "type": "array",
1496
+ "items": {
1497
+ "type": "object",
1498
+ "properties": {
1499
+ "name": {
1500
+ "type": "string",
1501
+ "description": "Thumbnail variant name (e.g., \"small\", \"medium\", \"large\")"
1502
+ },
1503
+ "width": {
1504
+ "type": "number",
1505
+ "minimum": 1,
1506
+ "description": "Thumbnail width in pixels"
1507
+ },
1508
+ "height": {
1509
+ "type": "number",
1510
+ "minimum": 1,
1511
+ "description": "Thumbnail height in pixels"
1512
+ },
1513
+ "crop": {
1514
+ "type": "boolean",
1515
+ "default": false,
1516
+ "description": "Crop to exact dimensions"
1517
+ }
1518
+ },
1519
+ "required": [
1520
+ "name",
1521
+ "width",
1522
+ "height"
1523
+ ],
1524
+ "additionalProperties": false
1525
+ },
1526
+ "description": "Thumbnail size configurations"
1527
+ },
1528
+ "preserveMetadata": {
1529
+ "type": "boolean",
1530
+ "default": false,
1531
+ "description": "Preserve EXIF metadata"
1532
+ },
1533
+ "autoRotate": {
1534
+ "type": "boolean",
1535
+ "default": true,
1536
+ "description": "Auto-rotate based on EXIF orientation"
1537
+ }
1538
+ },
1539
+ "additionalProperties": false,
1540
+ "description": "Image-specific validation rules"
1541
+ },
1542
+ "allowMultiple": {
1543
+ "type": "boolean",
1544
+ "default": false,
1545
+ "description": "Allow multiple file uploads (overrides field.multiple)"
1546
+ },
1547
+ "allowReplace": {
1548
+ "type": "boolean",
1549
+ "default": true,
1550
+ "description": "Allow replacing existing files"
1551
+ },
1552
+ "allowDelete": {
1553
+ "type": "boolean",
1554
+ "default": true,
1555
+ "description": "Allow deleting uploaded files"
1556
+ },
1557
+ "requireUpload": {
1558
+ "type": "boolean",
1559
+ "default": false,
1560
+ "description": "Require at least one file when field is required"
1561
+ },
1562
+ "extractMetadata": {
1563
+ "type": "boolean",
1564
+ "default": true,
1565
+ "description": "Extract file metadata (name, size, type, etc.)"
1566
+ },
1567
+ "extractText": {
1568
+ "type": "boolean",
1569
+ "default": false,
1570
+ "description": "Extract text content from documents (OCR/parsing)"
1571
+ },
1572
+ "versioningEnabled": {
1573
+ "type": "boolean",
1574
+ "default": false,
1575
+ "description": "Keep previous versions of replaced files"
1576
+ },
1577
+ "maxVersions": {
1578
+ "type": "number",
1579
+ "minimum": 1,
1580
+ "description": "Maximum number of versions to retain"
1581
+ },
1582
+ "publicRead": {
1583
+ "type": "boolean",
1584
+ "default": false,
1585
+ "description": "Allow public read access to uploaded files"
1586
+ },
1587
+ "presignedUrlExpiry": {
1588
+ "type": "number",
1589
+ "minimum": 60,
1590
+ "maximum": 604800,
1591
+ "default": 3600,
1592
+ "description": "Presigned URL expiration in seconds (default: 1 hour)"
1593
+ }
1594
+ },
1595
+ "additionalProperties": false,
1596
+ "description": "Configuration for file and attachment field types"
1597
+ },
1598
+ "encryptionConfig": {
1599
+ "type": "object",
1600
+ "properties": {
1601
+ "enabled": {
1602
+ "type": "boolean",
1603
+ "default": false
1604
+ },
1605
+ "algorithm": {
1606
+ "type": "string",
1607
+ "enum": [
1608
+ "aes-256-gcm",
1609
+ "aes-256-cbc",
1610
+ "chacha20-poly1305"
1611
+ ],
1612
+ "default": "aes-256-gcm"
1613
+ },
1614
+ "keyManagement": {
1615
+ "type": "object",
1616
+ "properties": {
1617
+ "provider": {
1618
+ "type": "string",
1619
+ "enum": [
1620
+ "local",
1621
+ "aws-kms",
1622
+ "azure-key-vault",
1623
+ "gcp-kms",
1624
+ "hashicorp-vault"
1625
+ ]
1626
+ },
1627
+ "keyId": {
1628
+ "type": "string"
1629
+ },
1630
+ "rotationPolicy": {
1631
+ "type": "object",
1632
+ "properties": {
1633
+ "enabled": {
1634
+ "type": "boolean",
1635
+ "default": false
1636
+ },
1637
+ "frequencyDays": {
1638
+ "type": "number",
1639
+ "minimum": 1,
1640
+ "default": 90
1641
+ },
1642
+ "retainOldVersions": {
1643
+ "type": "number",
1644
+ "default": 3
1645
+ },
1646
+ "autoRotate": {
1647
+ "type": "boolean",
1648
+ "default": true
1649
+ }
1650
+ },
1651
+ "additionalProperties": false
1652
+ }
1653
+ },
1654
+ "required": [
1655
+ "provider"
1656
+ ],
1657
+ "additionalProperties": false
1658
+ },
1659
+ "scope": {
1660
+ "type": "string",
1661
+ "enum": [
1662
+ "field",
1663
+ "record",
1664
+ "table",
1665
+ "database"
1666
+ ]
1667
+ },
1668
+ "deterministicEncryption": {
1669
+ "type": "boolean",
1670
+ "default": false,
1671
+ "description": "Allows equality queries on encrypted data"
1672
+ },
1673
+ "searchableEncryption": {
1674
+ "type": "boolean",
1675
+ "default": false,
1676
+ "description": "Allows search on encrypted data"
1677
+ }
1678
+ },
1679
+ "required": [
1680
+ "keyManagement",
1681
+ "scope"
1682
+ ],
1683
+ "additionalProperties": false,
1684
+ "description": "Field-level encryption configuration for sensitive data (GDPR/HIPAA/PCI-DSS)"
1685
+ },
1686
+ "maskingRule": {
1687
+ "type": "object",
1688
+ "properties": {
1689
+ "field": {
1690
+ "type": "string"
1691
+ },
1692
+ "strategy": {
1693
+ "type": "string",
1694
+ "enum": [
1695
+ "redact",
1696
+ "partial",
1697
+ "hash",
1698
+ "tokenize",
1699
+ "randomize",
1700
+ "nullify",
1701
+ "substitute"
1702
+ ]
1703
+ },
1704
+ "pattern": {
1705
+ "type": "string",
1706
+ "description": "Regex pattern for partial masking"
1707
+ },
1708
+ "preserveFormat": {
1709
+ "type": "boolean",
1710
+ "default": true
1711
+ },
1712
+ "preserveLength": {
1713
+ "type": "boolean",
1714
+ "default": true
1715
+ },
1716
+ "roles": {
1717
+ "type": "array",
1718
+ "items": {
1719
+ "type": "string"
1720
+ },
1721
+ "description": "Roles that see masked data"
1722
+ },
1723
+ "exemptRoles": {
1724
+ "type": "array",
1725
+ "items": {
1726
+ "type": "string"
1727
+ },
1728
+ "description": "Roles that see unmasked data"
1729
+ }
1730
+ },
1731
+ "required": [
1732
+ "field",
1733
+ "strategy"
1734
+ ],
1735
+ "additionalProperties": false,
1736
+ "description": "Data masking rules for PII protection"
1737
+ },
1738
+ "auditTrail": {
1739
+ "type": "boolean",
1740
+ "default": false,
1741
+ "description": "Enable detailed audit trail for this field (tracks all changes with user and timestamp)"
1742
+ },
1743
+ "dependencies": {
1744
+ "type": "array",
1745
+ "items": {
1746
+ "type": "string"
1747
+ },
1748
+ "description": "Array of field names that this field depends on (for formulas, visibility rules, etc.)"
1749
+ },
1750
+ "cached": {
1751
+ "type": "object",
1752
+ "properties": {
1753
+ "enabled": {
1754
+ "type": "boolean",
1755
+ "description": "Enable caching for computed field results"
1756
+ },
1757
+ "ttl": {
1758
+ "type": "number",
1759
+ "minimum": 0,
1760
+ "description": "Cache TTL in seconds (0 = no expiration)"
1761
+ },
1762
+ "invalidateOn": {
1763
+ "type": "array",
1764
+ "items": {
1765
+ "type": "string"
1766
+ },
1767
+ "description": "Field paths that invalidate cache (e.g., [\"inventory.quantity\", \"pricing.base_price\"])"
1768
+ }
1769
+ },
1770
+ "required": [
1771
+ "enabled",
1772
+ "ttl",
1773
+ "invalidateOn"
1774
+ ],
1775
+ "additionalProperties": false,
1776
+ "description": "Caching configuration for computed/formula fields"
1777
+ },
1778
+ "dataQuality": {
1779
+ "type": "object",
1780
+ "properties": {
1781
+ "uniqueness": {
1782
+ "type": "boolean",
1783
+ "default": false,
1784
+ "description": "Enforce unique values across all records"
1785
+ },
1786
+ "completeness": {
1787
+ "type": "number",
1788
+ "minimum": 0,
1789
+ "maximum": 1,
1790
+ "default": 0,
1791
+ "description": "Minimum ratio of non-null values (0-1, default: 0 = no requirement)"
1792
+ },
1793
+ "accuracy": {
1794
+ "type": "object",
1795
+ "properties": {
1796
+ "source": {
1797
+ "type": "string",
1798
+ "description": "Reference data source for validation (e.g., \"api.verify.com\", \"master_data\")"
1799
+ },
1800
+ "threshold": {
1801
+ "type": "number",
1802
+ "minimum": 0,
1803
+ "maximum": 1,
1804
+ "description": "Minimum accuracy threshold (0-1, e.g., 0.95 = 95% match required)"
1805
+ }
1806
+ },
1807
+ "required": [
1808
+ "source",
1809
+ "threshold"
1810
+ ],
1811
+ "additionalProperties": false,
1812
+ "description": "Accuracy validation configuration"
1813
+ }
1814
+ },
1815
+ "additionalProperties": false,
1816
+ "description": "Data quality validation and monitoring rules"
1817
+ },
1818
+ "hidden": {
1819
+ "type": "boolean",
1820
+ "default": false,
1821
+ "description": "Hidden from default UI"
1822
+ },
1823
+ "readonly": {
1824
+ "type": "boolean",
1825
+ "default": false,
1826
+ "description": "Read-only in UI"
1827
+ },
1828
+ "encryption": {
1829
+ "type": "boolean",
1830
+ "default": false,
1831
+ "description": "Deprecated: Use encryptionConfig for enhanced encryption features. Simple flag for backward compatibility."
1832
+ },
1833
+ "index": {
1834
+ "type": "boolean",
1835
+ "default": false,
1836
+ "description": "Create standard database index"
1837
+ },
1838
+ "externalId": {
1839
+ "type": "boolean",
1840
+ "default": false,
1841
+ "description": "Is external ID for upsert operations"
1842
+ }
1843
+ },
1844
+ "required": [
1845
+ "type"
1846
+ ],
1847
+ "additionalProperties": false
1848
+ },
1849
+ "propertyNames": {
1850
+ "pattern": "^[a-z_][a-z0-9_]*$"
1851
+ },
1852
+ "description": "Field definitions map. Keys must be snake_case identifiers."
1853
+ },
1854
+ "indexes": {
1855
+ "type": "array",
1856
+ "items": {
1857
+ "type": "object",
1858
+ "properties": {
1859
+ "name": {
1860
+ "type": "string",
1861
+ "description": "Index name (auto-generated if not provided)"
1862
+ },
1863
+ "fields": {
1864
+ "type": "array",
1865
+ "items": {
1866
+ "type": "string"
1867
+ },
1868
+ "description": "Fields included in the index"
1869
+ },
1870
+ "type": {
1871
+ "type": "string",
1872
+ "enum": [
1873
+ "btree",
1874
+ "hash",
1875
+ "gin",
1876
+ "gist",
1877
+ "fulltext"
1878
+ ],
1879
+ "default": "btree",
1880
+ "description": "Index algorithm type"
1881
+ },
1882
+ "unique": {
1883
+ "type": "boolean",
1884
+ "default": false,
1885
+ "description": "Whether the index enforces uniqueness"
1886
+ },
1887
+ "partial": {
1888
+ "type": "string",
1889
+ "description": "Partial index condition (SQL WHERE clause for conditional indexes)"
1890
+ }
1891
+ },
1892
+ "required": [
1893
+ "fields"
1894
+ ],
1895
+ "additionalProperties": false
1896
+ },
1897
+ "description": "Database performance indexes"
1898
+ },
1899
+ "tenancy": {
1900
+ "type": "object",
1901
+ "properties": {
1902
+ "enabled": {
1903
+ "type": "boolean",
1904
+ "description": "Enable multi-tenancy for this object"
1905
+ },
1906
+ "strategy": {
1907
+ "type": "string",
1908
+ "enum": [
1909
+ "shared",
1910
+ "isolated",
1911
+ "hybrid"
1912
+ ],
1913
+ "description": "Tenant isolation strategy: shared (single DB, row-level), isolated (separate DB per tenant), hybrid (mix)"
1914
+ },
1915
+ "tenantField": {
1916
+ "type": "string",
1917
+ "default": "tenant_id",
1918
+ "description": "Field name for tenant identifier"
1919
+ },
1920
+ "crossTenantAccess": {
1921
+ "type": "boolean",
1922
+ "default": false,
1923
+ "description": "Allow cross-tenant data access (with explicit permission)"
1924
+ }
1925
+ },
1926
+ "required": [
1927
+ "enabled",
1928
+ "strategy"
1929
+ ],
1930
+ "additionalProperties": false,
1931
+ "description": "Multi-tenancy configuration for SaaS applications"
1932
+ },
1933
+ "softDelete": {
1934
+ "type": "object",
1935
+ "properties": {
1936
+ "enabled": {
1937
+ "type": "boolean",
1938
+ "description": "Enable soft delete (trash/recycle bin)"
1939
+ },
1940
+ "field": {
1941
+ "type": "string",
1942
+ "default": "deleted_at",
1943
+ "description": "Field name for soft delete timestamp"
1944
+ },
1945
+ "cascadeDelete": {
1946
+ "type": "boolean",
1947
+ "default": false,
1948
+ "description": "Cascade soft delete to related records"
1949
+ }
1950
+ },
1951
+ "required": [
1952
+ "enabled"
1953
+ ],
1954
+ "additionalProperties": false,
1955
+ "description": "Soft delete (trash/recycle bin) configuration"
1956
+ },
1957
+ "versioning": {
1958
+ "type": "object",
1959
+ "properties": {
1960
+ "enabled": {
1961
+ "type": "boolean",
1962
+ "description": "Enable record versioning"
1963
+ },
1964
+ "strategy": {
1965
+ "type": "string",
1966
+ "enum": [
1967
+ "snapshot",
1968
+ "delta",
1969
+ "event-sourcing"
1970
+ ],
1971
+ "description": "Versioning strategy: snapshot (full copy), delta (changes only), event-sourcing (event log)"
1972
+ },
1973
+ "retentionDays": {
1974
+ "type": "number",
1975
+ "minimum": 1,
1976
+ "description": "Number of days to retain old versions (undefined = infinite)"
1977
+ },
1978
+ "versionField": {
1979
+ "type": "string",
1980
+ "default": "version",
1981
+ "description": "Field name for version number/timestamp"
1982
+ }
1983
+ },
1984
+ "required": [
1985
+ "enabled",
1986
+ "strategy"
1987
+ ],
1988
+ "additionalProperties": false,
1989
+ "description": "Record versioning and history tracking configuration"
1990
+ },
1991
+ "partitioning": {
1992
+ "type": "object",
1993
+ "properties": {
1994
+ "enabled": {
1995
+ "type": "boolean",
1996
+ "description": "Enable table partitioning"
1997
+ },
1998
+ "strategy": {
1999
+ "type": "string",
2000
+ "enum": [
2001
+ "range",
2002
+ "hash",
2003
+ "list"
2004
+ ],
2005
+ "description": "Partitioning strategy: range (date ranges), hash (consistent hashing), list (predefined values)"
2006
+ },
2007
+ "key": {
2008
+ "type": "string",
2009
+ "description": "Field name to partition by"
2010
+ },
2011
+ "interval": {
2012
+ "type": "string",
2013
+ "description": "Partition interval for range strategy (e.g., \"1 month\", \"1 year\")"
2014
+ }
2015
+ },
2016
+ "required": [
2017
+ "enabled",
2018
+ "strategy",
2019
+ "key"
2020
+ ],
2021
+ "additionalProperties": false,
2022
+ "description": "Table partitioning configuration for performance"
2023
+ },
2024
+ "cdc": {
2025
+ "type": "object",
2026
+ "properties": {
2027
+ "enabled": {
2028
+ "type": "boolean",
2029
+ "description": "Enable Change Data Capture"
2030
+ },
2031
+ "events": {
2032
+ "type": "array",
2033
+ "items": {
2034
+ "type": "string",
2035
+ "enum": [
2036
+ "insert",
2037
+ "update",
2038
+ "delete"
2039
+ ]
2040
+ },
2041
+ "description": "Event types to capture"
2042
+ },
2043
+ "destination": {
2044
+ "type": "string",
2045
+ "description": "Destination endpoint (e.g., \"kafka://topic\", \"webhook://url\")"
2046
+ }
2047
+ },
2048
+ "required": [
2049
+ "enabled",
2050
+ "events",
2051
+ "destination"
2052
+ ],
2053
+ "additionalProperties": false,
2054
+ "description": "Change Data Capture (CDC) configuration for real-time data streaming"
2055
+ },
2056
+ "validations": {
2057
+ "type": "array",
2058
+ "items": {
2059
+ "anyOf": [
2060
+ {
2061
+ "type": "object",
2062
+ "properties": {
2063
+ "name": {
2064
+ "type": "string",
2065
+ "pattern": "^[a-z_][a-z0-9_]*$",
2066
+ "description": "Unique rule name (snake_case)"
2067
+ },
2068
+ "label": {
2069
+ "type": "string",
2070
+ "description": "Human-readable label for the rule listing"
2071
+ },
2072
+ "description": {
2073
+ "type": "string",
2074
+ "description": "Administrative notes explaining the business reason"
2075
+ },
2076
+ "active": {
2077
+ "type": "boolean",
2078
+ "default": true
2079
+ },
2080
+ "events": {
2081
+ "type": "array",
2082
+ "items": {
2083
+ "type": "string",
2084
+ "enum": [
2085
+ "insert",
2086
+ "update",
2087
+ "delete"
2088
+ ]
2089
+ },
2090
+ "default": [
2091
+ "insert",
2092
+ "update"
2093
+ ],
2094
+ "description": "Validation contexts"
2095
+ },
2096
+ "tags": {
2097
+ "type": "array",
2098
+ "items": {
2099
+ "type": "string"
2100
+ },
2101
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
2102
+ },
2103
+ "severity": {
2104
+ "type": "string",
2105
+ "enum": [
2106
+ "error",
2107
+ "warning",
2108
+ "info"
2109
+ ],
2110
+ "default": "error"
2111
+ },
2112
+ "message": {
2113
+ "type": "string",
2114
+ "description": "Error message to display to the user"
2115
+ },
2116
+ "type": {
2117
+ "type": "string",
2118
+ "const": "script"
2119
+ },
2120
+ "condition": {
2121
+ "type": "string",
2122
+ "description": "Formula expression. If TRUE, validation fails. (e.g. amount < 0)"
2123
+ }
2124
+ },
2125
+ "required": [
2126
+ "name",
2127
+ "message",
2128
+ "type",
2129
+ "condition"
2130
+ ],
2131
+ "additionalProperties": false
2132
+ },
2133
+ {
2134
+ "type": "object",
2135
+ "properties": {
2136
+ "name": {
2137
+ "type": "string",
2138
+ "pattern": "^[a-z_][a-z0-9_]*$",
2139
+ "description": "Unique rule name (snake_case)"
2140
+ },
2141
+ "label": {
2142
+ "type": "string",
2143
+ "description": "Human-readable label for the rule listing"
2144
+ },
2145
+ "description": {
2146
+ "type": "string",
2147
+ "description": "Administrative notes explaining the business reason"
2148
+ },
2149
+ "active": {
2150
+ "type": "boolean",
2151
+ "default": true
2152
+ },
2153
+ "events": {
2154
+ "type": "array",
2155
+ "items": {
2156
+ "type": "string",
2157
+ "enum": [
2158
+ "insert",
2159
+ "update",
2160
+ "delete"
2161
+ ]
2162
+ },
2163
+ "default": [
2164
+ "insert",
2165
+ "update"
2166
+ ],
2167
+ "description": "Validation contexts"
2168
+ },
2169
+ "tags": {
2170
+ "type": "array",
2171
+ "items": {
2172
+ "type": "string"
2173
+ },
2174
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
2175
+ },
2176
+ "severity": {
2177
+ "type": "string",
2178
+ "enum": [
2179
+ "error",
2180
+ "warning",
2181
+ "info"
2182
+ ],
2183
+ "default": "error"
2184
+ },
2185
+ "message": {
2186
+ "type": "string",
2187
+ "description": "Error message to display to the user"
2188
+ },
2189
+ "type": {
2190
+ "type": "string",
2191
+ "const": "unique"
2192
+ },
2193
+ "fields": {
2194
+ "type": "array",
2195
+ "items": {
2196
+ "type": "string"
2197
+ },
2198
+ "description": "Fields that must be combined unique"
2199
+ },
2200
+ "scope": {
2201
+ "type": "string",
2202
+ "description": "Formula condition for scope (e.g. active = true)"
2203
+ },
2204
+ "caseSensitive": {
2205
+ "type": "boolean",
2206
+ "default": true
2207
+ }
2208
+ },
2209
+ "required": [
2210
+ "name",
2211
+ "message",
2212
+ "type",
2213
+ "fields"
2214
+ ],
2215
+ "additionalProperties": false
2216
+ },
2217
+ {
2218
+ "type": "object",
2219
+ "properties": {
2220
+ "name": {
2221
+ "type": "string",
2222
+ "pattern": "^[a-z_][a-z0-9_]*$",
2223
+ "description": "Unique rule name (snake_case)"
2224
+ },
2225
+ "label": {
2226
+ "type": "string",
2227
+ "description": "Human-readable label for the rule listing"
2228
+ },
2229
+ "description": {
2230
+ "type": "string",
2231
+ "description": "Administrative notes explaining the business reason"
2232
+ },
2233
+ "active": {
2234
+ "type": "boolean",
2235
+ "default": true
2236
+ },
2237
+ "events": {
2238
+ "type": "array",
2239
+ "items": {
2240
+ "type": "string",
2241
+ "enum": [
2242
+ "insert",
2243
+ "update",
2244
+ "delete"
2245
+ ]
2246
+ },
2247
+ "default": [
2248
+ "insert",
2249
+ "update"
2250
+ ],
2251
+ "description": "Validation contexts"
2252
+ },
2253
+ "tags": {
2254
+ "type": "array",
2255
+ "items": {
2256
+ "type": "string"
2257
+ },
2258
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
2259
+ },
2260
+ "severity": {
2261
+ "type": "string",
2262
+ "enum": [
2263
+ "error",
2264
+ "warning",
2265
+ "info"
2266
+ ],
2267
+ "default": "error"
2268
+ },
2269
+ "message": {
2270
+ "type": "string",
2271
+ "description": "Error message to display to the user"
2272
+ },
2273
+ "type": {
2274
+ "type": "string",
2275
+ "const": "state_machine"
2276
+ },
2277
+ "field": {
2278
+ "type": "string",
2279
+ "description": "State field (e.g. status)"
2280
+ },
2281
+ "transitions": {
2282
+ "type": "object",
2283
+ "additionalProperties": {
2284
+ "type": "array",
2285
+ "items": {
2286
+ "type": "string"
2287
+ }
2288
+ },
2289
+ "description": "Map of { OldState: [AllowedNewStates] }"
2290
+ }
2291
+ },
2292
+ "required": [
2293
+ "name",
2294
+ "message",
2295
+ "type",
2296
+ "field",
2297
+ "transitions"
2298
+ ],
2299
+ "additionalProperties": false
2300
+ },
2301
+ {
2302
+ "type": "object",
2303
+ "properties": {
2304
+ "name": {
2305
+ "type": "string",
2306
+ "pattern": "^[a-z_][a-z0-9_]*$",
2307
+ "description": "Unique rule name (snake_case)"
2308
+ },
2309
+ "label": {
2310
+ "type": "string",
2311
+ "description": "Human-readable label for the rule listing"
2312
+ },
2313
+ "description": {
2314
+ "type": "string",
2315
+ "description": "Administrative notes explaining the business reason"
2316
+ },
2317
+ "active": {
2318
+ "type": "boolean",
2319
+ "default": true
2320
+ },
2321
+ "events": {
2322
+ "type": "array",
2323
+ "items": {
2324
+ "type": "string",
2325
+ "enum": [
2326
+ "insert",
2327
+ "update",
2328
+ "delete"
2329
+ ]
2330
+ },
2331
+ "default": [
2332
+ "insert",
2333
+ "update"
2334
+ ],
2335
+ "description": "Validation contexts"
2336
+ },
2337
+ "tags": {
2338
+ "type": "array",
2339
+ "items": {
2340
+ "type": "string"
2341
+ },
2342
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
2343
+ },
2344
+ "severity": {
2345
+ "type": "string",
2346
+ "enum": [
2347
+ "error",
2348
+ "warning",
2349
+ "info"
2350
+ ],
2351
+ "default": "error"
2352
+ },
2353
+ "message": {
2354
+ "type": "string",
2355
+ "description": "Error message to display to the user"
2356
+ },
2357
+ "type": {
2358
+ "type": "string",
2359
+ "const": "format"
2360
+ },
2361
+ "field": {
2362
+ "type": "string"
2363
+ },
2364
+ "regex": {
2365
+ "type": "string"
2366
+ },
2367
+ "format": {
2368
+ "type": "string",
2369
+ "enum": [
2370
+ "email",
2371
+ "url",
2372
+ "phone",
2373
+ "json"
2374
+ ]
2375
+ }
2376
+ },
2377
+ "required": [
2378
+ "name",
2379
+ "message",
2380
+ "type",
2381
+ "field"
2382
+ ],
2383
+ "additionalProperties": false
2384
+ },
2385
+ {
2386
+ "type": "object",
2387
+ "properties": {
2388
+ "name": {
2389
+ "type": "string",
2390
+ "pattern": "^[a-z_][a-z0-9_]*$",
2391
+ "description": "Unique rule name (snake_case)"
2392
+ },
2393
+ "label": {
2394
+ "type": "string",
2395
+ "description": "Human-readable label for the rule listing"
2396
+ },
2397
+ "description": {
2398
+ "type": "string",
2399
+ "description": "Administrative notes explaining the business reason"
2400
+ },
2401
+ "active": {
2402
+ "type": "boolean",
2403
+ "default": true
2404
+ },
2405
+ "events": {
2406
+ "type": "array",
2407
+ "items": {
2408
+ "type": "string",
2409
+ "enum": [
2410
+ "insert",
2411
+ "update",
2412
+ "delete"
2413
+ ]
2414
+ },
2415
+ "default": [
2416
+ "insert",
2417
+ "update"
2418
+ ],
2419
+ "description": "Validation contexts"
2420
+ },
2421
+ "tags": {
2422
+ "type": "array",
2423
+ "items": {
2424
+ "type": "string"
2425
+ },
2426
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
2427
+ },
2428
+ "severity": {
2429
+ "type": "string",
2430
+ "enum": [
2431
+ "error",
2432
+ "warning",
2433
+ "info"
2434
+ ],
2435
+ "default": "error"
2436
+ },
2437
+ "message": {
2438
+ "type": "string",
2439
+ "description": "Error message to display to the user"
2440
+ },
2441
+ "type": {
2442
+ "type": "string",
2443
+ "const": "cross_field"
2444
+ },
2445
+ "condition": {
2446
+ "type": "string",
2447
+ "description": "Formula expression comparing fields (e.g. \"end_date > start_date\")"
2448
+ },
2449
+ "fields": {
2450
+ "type": "array",
2451
+ "items": {
2452
+ "type": "string"
2453
+ },
2454
+ "description": "Fields involved in the validation"
2455
+ }
2456
+ },
2457
+ "required": [
2458
+ "name",
2459
+ "message",
2460
+ "type",
2461
+ "condition",
2462
+ "fields"
2463
+ ],
2464
+ "additionalProperties": false
2465
+ },
2466
+ {
2467
+ "type": "object",
2468
+ "properties": {
2469
+ "name": {
2470
+ "type": "string",
2471
+ "pattern": "^[a-z_][a-z0-9_]*$",
2472
+ "description": "Unique rule name (snake_case)"
2473
+ },
2474
+ "label": {
2475
+ "type": "string",
2476
+ "description": "Human-readable label for the rule listing"
2477
+ },
2478
+ "description": {
2479
+ "type": "string",
2480
+ "description": "Administrative notes explaining the business reason"
2481
+ },
2482
+ "active": {
2483
+ "type": "boolean",
2484
+ "default": true
2485
+ },
2486
+ "events": {
2487
+ "type": "array",
2488
+ "items": {
2489
+ "type": "string",
2490
+ "enum": [
2491
+ "insert",
2492
+ "update",
2493
+ "delete"
2494
+ ]
2495
+ },
2496
+ "default": [
2497
+ "insert",
2498
+ "update"
2499
+ ],
2500
+ "description": "Validation contexts"
2501
+ },
2502
+ "tags": {
2503
+ "type": "array",
2504
+ "items": {
2505
+ "type": "string"
2506
+ },
2507
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
2508
+ },
2509
+ "severity": {
2510
+ "type": "string",
2511
+ "enum": [
2512
+ "error",
2513
+ "warning",
2514
+ "info"
2515
+ ],
2516
+ "default": "error"
2517
+ },
2518
+ "message": {
2519
+ "type": "string",
2520
+ "description": "Error message to display to the user"
2521
+ },
2522
+ "type": {
2523
+ "type": "string",
2524
+ "const": "json_schema"
2525
+ },
2526
+ "field": {
2527
+ "type": "string",
2528
+ "description": "JSON field to validate"
2529
+ },
2530
+ "schema": {
2531
+ "type": "object",
2532
+ "additionalProperties": {},
2533
+ "description": "JSON Schema object definition"
2534
+ }
2535
+ },
2536
+ "required": [
2537
+ "name",
2538
+ "message",
2539
+ "type",
2540
+ "field",
2541
+ "schema"
2542
+ ],
2543
+ "additionalProperties": false
2544
+ },
2545
+ {
2546
+ "type": "object",
2547
+ "properties": {
2548
+ "name": {
2549
+ "type": "string",
2550
+ "pattern": "^[a-z_][a-z0-9_]*$",
2551
+ "description": "Unique rule name (snake_case)"
2552
+ },
2553
+ "label": {
2554
+ "type": "string",
2555
+ "description": "Human-readable label for the rule listing"
2556
+ },
2557
+ "description": {
2558
+ "type": "string",
2559
+ "description": "Administrative notes explaining the business reason"
2560
+ },
2561
+ "active": {
2562
+ "type": "boolean",
2563
+ "default": true
2564
+ },
2565
+ "events": {
2566
+ "type": "array",
2567
+ "items": {
2568
+ "type": "string",
2569
+ "enum": [
2570
+ "insert",
2571
+ "update",
2572
+ "delete"
2573
+ ]
2574
+ },
2575
+ "default": [
2576
+ "insert",
2577
+ "update"
2578
+ ],
2579
+ "description": "Validation contexts"
2580
+ },
2581
+ "tags": {
2582
+ "type": "array",
2583
+ "items": {
2584
+ "type": "string"
2585
+ },
2586
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
2587
+ },
2588
+ "severity": {
2589
+ "type": "string",
2590
+ "enum": [
2591
+ "error",
2592
+ "warning",
2593
+ "info"
2594
+ ],
2595
+ "default": "error"
2596
+ },
2597
+ "message": {
2598
+ "type": "string",
2599
+ "description": "Error message to display to the user"
2600
+ },
2601
+ "type": {
2602
+ "type": "string",
2603
+ "const": "async"
2604
+ },
2605
+ "field": {
2606
+ "type": "string",
2607
+ "description": "Field to validate"
2608
+ },
2609
+ "validatorUrl": {
2610
+ "type": "string",
2611
+ "description": "External API endpoint for validation"
2612
+ },
2613
+ "method": {
2614
+ "type": "string",
2615
+ "enum": [
2616
+ "GET",
2617
+ "POST"
2618
+ ],
2619
+ "default": "GET",
2620
+ "description": "HTTP method for external call"
2621
+ },
2622
+ "headers": {
2623
+ "type": "object",
2624
+ "additionalProperties": {
2625
+ "type": "string"
2626
+ },
2627
+ "description": "Custom headers for the request"
2628
+ },
2629
+ "validatorFunction": {
2630
+ "type": "string",
2631
+ "description": "Reference to custom validator function"
2632
+ },
2633
+ "timeout": {
2634
+ "type": "number",
2635
+ "default": 5000,
2636
+ "description": "Timeout in milliseconds"
2637
+ },
2638
+ "debounce": {
2639
+ "type": "number",
2640
+ "description": "Debounce delay in milliseconds"
2641
+ },
2642
+ "params": {
2643
+ "type": "object",
2644
+ "additionalProperties": {},
2645
+ "description": "Additional parameters to pass to validator"
2646
+ }
2647
+ },
2648
+ "required": [
2649
+ "name",
2650
+ "message",
2651
+ "type",
2652
+ "field"
2653
+ ],
2654
+ "additionalProperties": false
2655
+ },
2656
+ {
2657
+ "type": "object",
2658
+ "properties": {
2659
+ "name": {
2660
+ "type": "string",
2661
+ "pattern": "^[a-z_][a-z0-9_]*$",
2662
+ "description": "Unique rule name (snake_case)"
2663
+ },
2664
+ "label": {
2665
+ "type": "string",
2666
+ "description": "Human-readable label for the rule listing"
2667
+ },
2668
+ "description": {
2669
+ "type": "string",
2670
+ "description": "Administrative notes explaining the business reason"
2671
+ },
2672
+ "active": {
2673
+ "type": "boolean",
2674
+ "default": true
2675
+ },
2676
+ "events": {
2677
+ "type": "array",
2678
+ "items": {
2679
+ "type": "string",
2680
+ "enum": [
2681
+ "insert",
2682
+ "update",
2683
+ "delete"
2684
+ ]
2685
+ },
2686
+ "default": [
2687
+ "insert",
2688
+ "update"
2689
+ ],
2690
+ "description": "Validation contexts"
2691
+ },
2692
+ "tags": {
2693
+ "type": "array",
2694
+ "items": {
2695
+ "type": "string"
2696
+ },
2697
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
2698
+ },
2699
+ "severity": {
2700
+ "type": "string",
2701
+ "enum": [
2702
+ "error",
2703
+ "warning",
2704
+ "info"
2705
+ ],
2706
+ "default": "error"
2707
+ },
2708
+ "message": {
2709
+ "type": "string",
2710
+ "description": "Error message to display to the user"
2711
+ },
2712
+ "type": {
2713
+ "type": "string",
2714
+ "const": "custom"
2715
+ },
2716
+ "handler": {
2717
+ "type": "string",
2718
+ "description": "Name of the custom validation function registered in the system"
2719
+ },
2720
+ "params": {
2721
+ "type": "object",
2722
+ "additionalProperties": {},
2723
+ "description": "Parameters passed to the custom handler"
2724
+ }
2725
+ },
2726
+ "required": [
2727
+ "name",
2728
+ "message",
2729
+ "type",
2730
+ "handler"
2731
+ ],
2732
+ "additionalProperties": false
2733
+ },
2734
+ {
2735
+ "type": "object",
2736
+ "properties": {
2737
+ "name": {
2738
+ "type": "string",
2739
+ "pattern": "^[a-z_][a-z0-9_]*$",
2740
+ "description": "Unique rule name (snake_case)"
2741
+ },
2742
+ "label": {
2743
+ "type": "string",
2744
+ "description": "Human-readable label for the rule listing"
2745
+ },
2746
+ "description": {
2747
+ "type": "string",
2748
+ "description": "Administrative notes explaining the business reason"
2749
+ },
2750
+ "active": {
2751
+ "type": "boolean",
2752
+ "default": true
2753
+ },
2754
+ "events": {
2755
+ "type": "array",
2756
+ "items": {
2757
+ "type": "string",
2758
+ "enum": [
2759
+ "insert",
2760
+ "update",
2761
+ "delete"
2762
+ ]
2763
+ },
2764
+ "default": [
2765
+ "insert",
2766
+ "update"
2767
+ ],
2768
+ "description": "Validation contexts"
2769
+ },
2770
+ "tags": {
2771
+ "type": "array",
2772
+ "items": {
2773
+ "type": "string"
2774
+ },
2775
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
2776
+ },
2777
+ "severity": {
2778
+ "type": "string",
2779
+ "enum": [
2780
+ "error",
2781
+ "warning",
2782
+ "info"
2783
+ ],
2784
+ "default": "error"
2785
+ },
2786
+ "message": {
2787
+ "type": "string",
2788
+ "description": "Error message to display to the user"
2789
+ },
2790
+ "type": {
2791
+ "type": "string",
2792
+ "const": "conditional"
2793
+ },
2794
+ "when": {
2795
+ "type": "string",
2796
+ "description": "Condition formula (e.g. \"type = 'enterprise'\")"
2797
+ },
2798
+ "then": {
2799
+ "anyOf": [
2800
+ {
2801
+ "type": "object",
2802
+ "properties": {
2803
+ "name": {
2804
+ "type": "string",
2805
+ "pattern": "^[a-z_][a-z0-9_]*$",
2806
+ "description": "Unique rule name (snake_case)"
2807
+ },
2808
+ "label": {
2809
+ "type": "string",
2810
+ "description": "Human-readable label for the rule listing"
2811
+ },
2812
+ "description": {
2813
+ "type": "string",
2814
+ "description": "Administrative notes explaining the business reason"
2815
+ },
2816
+ "active": {
2817
+ "type": "boolean",
2818
+ "default": true
2819
+ },
2820
+ "events": {
2821
+ "type": "array",
2822
+ "items": {
2823
+ "type": "string",
2824
+ "enum": [
2825
+ "insert",
2826
+ "update",
2827
+ "delete"
2828
+ ]
2829
+ },
2830
+ "default": [
2831
+ "insert",
2832
+ "update"
2833
+ ],
2834
+ "description": "Validation contexts"
2835
+ },
2836
+ "tags": {
2837
+ "type": "array",
2838
+ "items": {
2839
+ "type": "string"
2840
+ },
2841
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
2842
+ },
2843
+ "severity": {
2844
+ "type": "string",
2845
+ "enum": [
2846
+ "error",
2847
+ "warning",
2848
+ "info"
2849
+ ],
2850
+ "default": "error"
2851
+ },
2852
+ "message": {
2853
+ "type": "string",
2854
+ "description": "Error message to display to the user"
2855
+ },
2856
+ "type": {
2857
+ "type": "string",
2858
+ "const": "script"
2859
+ },
2860
+ "condition": {
2861
+ "type": "string",
2862
+ "description": "Formula expression. If TRUE, validation fails. (e.g. amount < 0)"
2863
+ }
2864
+ },
2865
+ "required": [
2866
+ "name",
2867
+ "message",
2868
+ "type",
2869
+ "condition"
2870
+ ],
2871
+ "additionalProperties": false
2872
+ },
2873
+ {
2874
+ "type": "object",
2875
+ "properties": {
2876
+ "name": {
2877
+ "type": "string",
2878
+ "pattern": "^[a-z_][a-z0-9_]*$",
2879
+ "description": "Unique rule name (snake_case)"
2880
+ },
2881
+ "label": {
2882
+ "type": "string",
2883
+ "description": "Human-readable label for the rule listing"
2884
+ },
2885
+ "description": {
2886
+ "type": "string",
2887
+ "description": "Administrative notes explaining the business reason"
2888
+ },
2889
+ "active": {
2890
+ "type": "boolean",
2891
+ "default": true
2892
+ },
2893
+ "events": {
2894
+ "type": "array",
2895
+ "items": {
2896
+ "type": "string",
2897
+ "enum": [
2898
+ "insert",
2899
+ "update",
2900
+ "delete"
2901
+ ]
2902
+ },
2903
+ "default": [
2904
+ "insert",
2905
+ "update"
2906
+ ],
2907
+ "description": "Validation contexts"
2908
+ },
2909
+ "tags": {
2910
+ "type": "array",
2911
+ "items": {
2912
+ "type": "string"
2913
+ },
2914
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
2915
+ },
2916
+ "severity": {
2917
+ "type": "string",
2918
+ "enum": [
2919
+ "error",
2920
+ "warning",
2921
+ "info"
2922
+ ],
2923
+ "default": "error"
2924
+ },
2925
+ "message": {
2926
+ "type": "string",
2927
+ "description": "Error message to display to the user"
2928
+ },
2929
+ "type": {
2930
+ "type": "string",
2931
+ "const": "unique"
2932
+ },
2933
+ "fields": {
2934
+ "type": "array",
2935
+ "items": {
2936
+ "type": "string"
2937
+ },
2938
+ "description": "Fields that must be combined unique"
2939
+ },
2940
+ "scope": {
2941
+ "type": "string",
2942
+ "description": "Formula condition for scope (e.g. active = true)"
2943
+ },
2944
+ "caseSensitive": {
2945
+ "type": "boolean",
2946
+ "default": true
2947
+ }
2948
+ },
2949
+ "required": [
2950
+ "name",
2951
+ "message",
2952
+ "type",
2953
+ "fields"
2954
+ ],
2955
+ "additionalProperties": false
2956
+ },
2957
+ {
2958
+ "type": "object",
2959
+ "properties": {
2960
+ "name": {
2961
+ "type": "string",
2962
+ "pattern": "^[a-z_][a-z0-9_]*$",
2963
+ "description": "Unique rule name (snake_case)"
2964
+ },
2965
+ "label": {
2966
+ "type": "string",
2967
+ "description": "Human-readable label for the rule listing"
2968
+ },
2969
+ "description": {
2970
+ "type": "string",
2971
+ "description": "Administrative notes explaining the business reason"
2972
+ },
2973
+ "active": {
2974
+ "type": "boolean",
2975
+ "default": true
2976
+ },
2977
+ "events": {
2978
+ "type": "array",
2979
+ "items": {
2980
+ "type": "string",
2981
+ "enum": [
2982
+ "insert",
2983
+ "update",
2984
+ "delete"
2985
+ ]
2986
+ },
2987
+ "default": [
2988
+ "insert",
2989
+ "update"
2990
+ ],
2991
+ "description": "Validation contexts"
2992
+ },
2993
+ "tags": {
2994
+ "type": "array",
2995
+ "items": {
2996
+ "type": "string"
2997
+ },
2998
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
2999
+ },
3000
+ "severity": {
3001
+ "type": "string",
3002
+ "enum": [
3003
+ "error",
3004
+ "warning",
3005
+ "info"
3006
+ ],
3007
+ "default": "error"
3008
+ },
3009
+ "message": {
3010
+ "type": "string",
3011
+ "description": "Error message to display to the user"
3012
+ },
3013
+ "type": {
3014
+ "type": "string",
3015
+ "const": "state_machine"
3016
+ },
3017
+ "field": {
3018
+ "type": "string",
3019
+ "description": "State field (e.g. status)"
3020
+ },
3021
+ "transitions": {
3022
+ "type": "object",
3023
+ "additionalProperties": {
3024
+ "type": "array",
3025
+ "items": {
3026
+ "type": "string"
3027
+ }
3028
+ },
3029
+ "description": "Map of { OldState: [AllowedNewStates] }"
3030
+ }
3031
+ },
3032
+ "required": [
3033
+ "name",
3034
+ "message",
3035
+ "type",
3036
+ "field",
3037
+ "transitions"
3038
+ ],
3039
+ "additionalProperties": false
3040
+ },
3041
+ {
3042
+ "type": "object",
3043
+ "properties": {
3044
+ "name": {
3045
+ "type": "string",
3046
+ "pattern": "^[a-z_][a-z0-9_]*$",
3047
+ "description": "Unique rule name (snake_case)"
3048
+ },
3049
+ "label": {
3050
+ "type": "string",
3051
+ "description": "Human-readable label for the rule listing"
3052
+ },
3053
+ "description": {
3054
+ "type": "string",
3055
+ "description": "Administrative notes explaining the business reason"
3056
+ },
3057
+ "active": {
3058
+ "type": "boolean",
3059
+ "default": true
3060
+ },
3061
+ "events": {
3062
+ "type": "array",
3063
+ "items": {
3064
+ "type": "string",
3065
+ "enum": [
3066
+ "insert",
3067
+ "update",
3068
+ "delete"
3069
+ ]
3070
+ },
3071
+ "default": [
3072
+ "insert",
3073
+ "update"
3074
+ ],
3075
+ "description": "Validation contexts"
3076
+ },
3077
+ "tags": {
3078
+ "type": "array",
3079
+ "items": {
3080
+ "type": "string"
3081
+ },
3082
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
3083
+ },
3084
+ "severity": {
3085
+ "type": "string",
3086
+ "enum": [
3087
+ "error",
3088
+ "warning",
3089
+ "info"
3090
+ ],
3091
+ "default": "error"
3092
+ },
3093
+ "message": {
3094
+ "type": "string",
3095
+ "description": "Error message to display to the user"
3096
+ },
3097
+ "type": {
3098
+ "type": "string",
3099
+ "const": "format"
3100
+ },
3101
+ "field": {
3102
+ "type": "string"
3103
+ },
3104
+ "regex": {
3105
+ "type": "string"
3106
+ },
3107
+ "format": {
3108
+ "type": "string",
3109
+ "enum": [
3110
+ "email",
3111
+ "url",
3112
+ "phone",
3113
+ "json"
3114
+ ]
3115
+ }
3116
+ },
3117
+ "required": [
3118
+ "name",
3119
+ "message",
3120
+ "type",
3121
+ "field"
3122
+ ],
3123
+ "additionalProperties": false
3124
+ },
3125
+ {
3126
+ "type": "object",
3127
+ "properties": {
3128
+ "name": {
3129
+ "type": "string",
3130
+ "pattern": "^[a-z_][a-z0-9_]*$",
3131
+ "description": "Unique rule name (snake_case)"
3132
+ },
3133
+ "label": {
3134
+ "type": "string",
3135
+ "description": "Human-readable label for the rule listing"
3136
+ },
3137
+ "description": {
3138
+ "type": "string",
3139
+ "description": "Administrative notes explaining the business reason"
3140
+ },
3141
+ "active": {
3142
+ "type": "boolean",
3143
+ "default": true
3144
+ },
3145
+ "events": {
3146
+ "type": "array",
3147
+ "items": {
3148
+ "type": "string",
3149
+ "enum": [
3150
+ "insert",
3151
+ "update",
3152
+ "delete"
3153
+ ]
3154
+ },
3155
+ "default": [
3156
+ "insert",
3157
+ "update"
3158
+ ],
3159
+ "description": "Validation contexts"
3160
+ },
3161
+ "tags": {
3162
+ "type": "array",
3163
+ "items": {
3164
+ "type": "string"
3165
+ },
3166
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
3167
+ },
3168
+ "severity": {
3169
+ "type": "string",
3170
+ "enum": [
3171
+ "error",
3172
+ "warning",
3173
+ "info"
3174
+ ],
3175
+ "default": "error"
3176
+ },
3177
+ "message": {
3178
+ "type": "string",
3179
+ "description": "Error message to display to the user"
3180
+ },
3181
+ "type": {
3182
+ "type": "string",
3183
+ "const": "cross_field"
3184
+ },
3185
+ "condition": {
3186
+ "type": "string",
3187
+ "description": "Formula expression comparing fields (e.g. \"end_date > start_date\")"
3188
+ },
3189
+ "fields": {
3190
+ "type": "array",
3191
+ "items": {
3192
+ "type": "string"
3193
+ },
3194
+ "description": "Fields involved in the validation"
3195
+ }
3196
+ },
3197
+ "required": [
3198
+ "name",
3199
+ "message",
3200
+ "type",
3201
+ "condition",
3202
+ "fields"
3203
+ ],
3204
+ "additionalProperties": false
3205
+ },
3206
+ {
3207
+ "type": "object",
3208
+ "properties": {
3209
+ "name": {
3210
+ "type": "string",
3211
+ "pattern": "^[a-z_][a-z0-9_]*$",
3212
+ "description": "Unique rule name (snake_case)"
3213
+ },
3214
+ "label": {
3215
+ "type": "string",
3216
+ "description": "Human-readable label for the rule listing"
3217
+ },
3218
+ "description": {
3219
+ "type": "string",
3220
+ "description": "Administrative notes explaining the business reason"
3221
+ },
3222
+ "active": {
3223
+ "type": "boolean",
3224
+ "default": true
3225
+ },
3226
+ "events": {
3227
+ "type": "array",
3228
+ "items": {
3229
+ "type": "string",
3230
+ "enum": [
3231
+ "insert",
3232
+ "update",
3233
+ "delete"
3234
+ ]
3235
+ },
3236
+ "default": [
3237
+ "insert",
3238
+ "update"
3239
+ ],
3240
+ "description": "Validation contexts"
3241
+ },
3242
+ "tags": {
3243
+ "type": "array",
3244
+ "items": {
3245
+ "type": "string"
3246
+ },
3247
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
3248
+ },
3249
+ "severity": {
3250
+ "type": "string",
3251
+ "enum": [
3252
+ "error",
3253
+ "warning",
3254
+ "info"
3255
+ ],
3256
+ "default": "error"
3257
+ },
3258
+ "message": {
3259
+ "type": "string",
3260
+ "description": "Error message to display to the user"
3261
+ },
3262
+ "type": {
3263
+ "type": "string",
3264
+ "const": "json_schema"
3265
+ },
3266
+ "field": {
3267
+ "type": "string",
3268
+ "description": "JSON field to validate"
3269
+ },
3270
+ "schema": {
3271
+ "type": "object",
3272
+ "additionalProperties": {},
3273
+ "description": "JSON Schema object definition"
3274
+ }
3275
+ },
3276
+ "required": [
3277
+ "name",
3278
+ "message",
3279
+ "type",
3280
+ "field",
3281
+ "schema"
3282
+ ],
3283
+ "additionalProperties": false
3284
+ },
3285
+ {
3286
+ "type": "object",
3287
+ "properties": {
3288
+ "name": {
3289
+ "type": "string",
3290
+ "pattern": "^[a-z_][a-z0-9_]*$",
3291
+ "description": "Unique rule name (snake_case)"
3292
+ },
3293
+ "label": {
3294
+ "type": "string",
3295
+ "description": "Human-readable label for the rule listing"
3296
+ },
3297
+ "description": {
3298
+ "type": "string",
3299
+ "description": "Administrative notes explaining the business reason"
3300
+ },
3301
+ "active": {
3302
+ "type": "boolean",
3303
+ "default": true
3304
+ },
3305
+ "events": {
3306
+ "type": "array",
3307
+ "items": {
3308
+ "type": "string",
3309
+ "enum": [
3310
+ "insert",
3311
+ "update",
3312
+ "delete"
3313
+ ]
3314
+ },
3315
+ "default": [
3316
+ "insert",
3317
+ "update"
3318
+ ],
3319
+ "description": "Validation contexts"
3320
+ },
3321
+ "tags": {
3322
+ "type": "array",
3323
+ "items": {
3324
+ "type": "string"
3325
+ },
3326
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
3327
+ },
3328
+ "severity": {
3329
+ "type": "string",
3330
+ "enum": [
3331
+ "error",
3332
+ "warning",
3333
+ "info"
3334
+ ],
3335
+ "default": "error"
3336
+ },
3337
+ "message": {
3338
+ "type": "string",
3339
+ "description": "Error message to display to the user"
3340
+ },
3341
+ "type": {
3342
+ "type": "string",
3343
+ "const": "async"
3344
+ },
3345
+ "field": {
3346
+ "type": "string",
3347
+ "description": "Field to validate"
3348
+ },
3349
+ "validatorUrl": {
3350
+ "type": "string",
3351
+ "description": "External API endpoint for validation"
3352
+ },
3353
+ "method": {
3354
+ "type": "string",
3355
+ "enum": [
3356
+ "GET",
3357
+ "POST"
3358
+ ],
3359
+ "default": "GET",
3360
+ "description": "HTTP method for external call"
3361
+ },
3362
+ "headers": {
3363
+ "type": "object",
3364
+ "additionalProperties": {
3365
+ "type": "string"
3366
+ },
3367
+ "description": "Custom headers for the request"
3368
+ },
3369
+ "validatorFunction": {
3370
+ "type": "string",
3371
+ "description": "Reference to custom validator function"
3372
+ },
3373
+ "timeout": {
3374
+ "type": "number",
3375
+ "default": 5000,
3376
+ "description": "Timeout in milliseconds"
3377
+ },
3378
+ "debounce": {
3379
+ "type": "number",
3380
+ "description": "Debounce delay in milliseconds"
3381
+ },
3382
+ "params": {
3383
+ "type": "object",
3384
+ "additionalProperties": {},
3385
+ "description": "Additional parameters to pass to validator"
3386
+ }
3387
+ },
3388
+ "required": [
3389
+ "name",
3390
+ "message",
3391
+ "type",
3392
+ "field"
3393
+ ],
3394
+ "additionalProperties": false
3395
+ },
3396
+ {
3397
+ "type": "object",
3398
+ "properties": {
3399
+ "name": {
3400
+ "type": "string",
3401
+ "pattern": "^[a-z_][a-z0-9_]*$",
3402
+ "description": "Unique rule name (snake_case)"
3403
+ },
3404
+ "label": {
3405
+ "type": "string",
3406
+ "description": "Human-readable label for the rule listing"
3407
+ },
3408
+ "description": {
3409
+ "type": "string",
3410
+ "description": "Administrative notes explaining the business reason"
3411
+ },
3412
+ "active": {
3413
+ "type": "boolean",
3414
+ "default": true
3415
+ },
3416
+ "events": {
3417
+ "type": "array",
3418
+ "items": {
3419
+ "type": "string",
3420
+ "enum": [
3421
+ "insert",
3422
+ "update",
3423
+ "delete"
3424
+ ]
3425
+ },
3426
+ "default": [
3427
+ "insert",
3428
+ "update"
3429
+ ],
3430
+ "description": "Validation contexts"
3431
+ },
3432
+ "tags": {
3433
+ "type": "array",
3434
+ "items": {
3435
+ "type": "string"
3436
+ },
3437
+ "description": "Categorization tags (e.g., \"compliance\", \"billing\")"
3438
+ },
3439
+ "severity": {
3440
+ "type": "string",
3441
+ "enum": [
3442
+ "error",
3443
+ "warning",
3444
+ "info"
3445
+ ],
3446
+ "default": "error"
3447
+ },
3448
+ "message": {
3449
+ "type": "string",
3450
+ "description": "Error message to display to the user"
3451
+ },
3452
+ "type": {
3453
+ "type": "string",
3454
+ "const": "custom"
3455
+ },
3456
+ "handler": {
3457
+ "type": "string",
3458
+ "description": "Name of the custom validation function registered in the system"
3459
+ },
3460
+ "params": {
3461
+ "type": "object",
3462
+ "additionalProperties": {},
3463
+ "description": "Parameters passed to the custom handler"
3464
+ }
3465
+ },
3466
+ "required": [
3467
+ "name",
3468
+ "message",
3469
+ "type",
3470
+ "handler"
3471
+ ],
3472
+ "additionalProperties": false
3473
+ },
3474
+ {}
3475
+ ],
3476
+ "description": "Validation rule to apply when condition is true"
3477
+ },
3478
+ "otherwise": {
3479
+ "description": "Validation rule to apply when condition is false"
3480
+ }
3481
+ },
3482
+ "required": [
3483
+ "name",
3484
+ "message",
3485
+ "type",
3486
+ "when",
3487
+ "then"
3488
+ ],
3489
+ "additionalProperties": false
3490
+ }
3491
+ ]
3492
+ },
3493
+ "description": "Object-level validation rules"
3494
+ },
3495
+ "titleFormat": {
3496
+ "type": "string",
3497
+ "description": "Title expression (e.g. \"{name} - {code}\"). Overrides nameField."
3498
+ },
3499
+ "compactLayout": {
3500
+ "type": "array",
3501
+ "items": {
3502
+ "type": "string"
3503
+ },
3504
+ "description": "Primary fields for hover/cards/lookups"
3505
+ },
3506
+ "search": {
3507
+ "type": "object",
3508
+ "properties": {
3509
+ "fields": {
3510
+ "type": "array",
3511
+ "items": {
3512
+ "type": "string"
3513
+ },
3514
+ "description": "Fields to index for full-text search weighting"
3515
+ },
3516
+ "displayFields": {
3517
+ "type": "array",
3518
+ "items": {
3519
+ "type": "string"
3520
+ },
3521
+ "description": "Fields to display in search result cards"
3522
+ },
3523
+ "filters": {
3524
+ "type": "array",
3525
+ "items": {
3526
+ "type": "string"
3527
+ },
3528
+ "description": "Default filters for search results"
3529
+ }
3530
+ },
3531
+ "required": [
3532
+ "fields"
3533
+ ],
3534
+ "additionalProperties": false,
3535
+ "description": "Search engine configuration"
3536
+ },
3537
+ "enable": {
3538
+ "type": "object",
3539
+ "properties": {
3540
+ "trackHistory": {
3541
+ "type": "boolean",
3542
+ "default": false,
3543
+ "description": "Enable field history tracking for audit compliance"
3544
+ },
3545
+ "searchable": {
3546
+ "type": "boolean",
3547
+ "default": true,
3548
+ "description": "Index records for global search"
3549
+ },
3550
+ "apiEnabled": {
3551
+ "type": "boolean",
3552
+ "default": true,
3553
+ "description": "Expose object via automatic APIs"
3554
+ },
3555
+ "apiMethods": {
3556
+ "type": "array",
3557
+ "items": {
3558
+ "type": "string",
3559
+ "enum": [
3560
+ "get",
3561
+ "list",
3562
+ "create",
3563
+ "update",
3564
+ "delete",
3565
+ "upsert",
3566
+ "bulk",
3567
+ "aggregate",
3568
+ "history",
3569
+ "search",
3570
+ "restore",
3571
+ "purge",
3572
+ "import",
3573
+ "export"
3574
+ ]
3575
+ },
3576
+ "description": "Whitelist of allowed API operations"
3577
+ },
3578
+ "files": {
3579
+ "type": "boolean",
3580
+ "default": false,
3581
+ "description": "Enable file attachments and document management"
3582
+ },
3583
+ "feeds": {
3584
+ "type": "boolean",
3585
+ "default": false,
3586
+ "description": "Enable social feed, comments, and mentions (Chatter-like)"
3587
+ },
3588
+ "activities": {
3589
+ "type": "boolean",
3590
+ "default": false,
3591
+ "description": "Enable standard tasks and events tracking"
3592
+ },
3593
+ "trash": {
3594
+ "type": "boolean",
3595
+ "default": true,
3596
+ "description": "Enable soft-delete with restore capability"
3597
+ },
3598
+ "mru": {
3599
+ "type": "boolean",
3600
+ "default": true,
3601
+ "description": "Track Most Recently Used (MRU) list for users"
3602
+ },
3603
+ "clone": {
3604
+ "type": "boolean",
3605
+ "default": true,
3606
+ "description": "Allow record deep cloning"
3607
+ }
3608
+ },
3609
+ "additionalProperties": false,
3610
+ "description": "Enabled system features modules"
3611
+ }
3612
+ },
3613
+ "required": [
3614
+ "name",
3615
+ "fields"
3616
+ ],
3617
+ "additionalProperties": false
3618
+ }
3619
+ },
3620
+ "required": [
3621
+ "type",
3622
+ "object"
3623
+ ],
3624
+ "additionalProperties": false
3625
+ },
3626
+ {
3627
+ "type": "object",
3628
+ "properties": {
3629
+ "type": {
3630
+ "type": "string",
3631
+ "const": "rename_object"
3632
+ },
3633
+ "oldName": {
3634
+ "type": "string"
3635
+ },
3636
+ "newName": {
3637
+ "type": "string"
3638
+ }
3639
+ },
3640
+ "required": [
3641
+ "type",
3642
+ "oldName",
3643
+ "newName"
3644
+ ],
3645
+ "additionalProperties": false
3646
+ },
3647
+ {
3648
+ "type": "object",
3649
+ "properties": {
3650
+ "type": {
3651
+ "type": "string",
3652
+ "const": "delete_object"
3653
+ },
3654
+ "objectName": {
3655
+ "type": "string"
3656
+ }
3657
+ },
3658
+ "required": [
3659
+ "type",
3660
+ "objectName"
3661
+ ],
3662
+ "additionalProperties": false
3663
+ },
3664
+ {
3665
+ "type": "object",
3666
+ "properties": {
3667
+ "type": {
3668
+ "type": "string",
3669
+ "const": "execute_sql"
3670
+ },
3671
+ "sql": {
3672
+ "type": "string"
3673
+ },
3674
+ "description": {
3675
+ "type": "string"
3676
+ }
3677
+ },
3678
+ "required": [
3679
+ "type",
3680
+ "sql"
3681
+ ],
3682
+ "additionalProperties": false
3683
+ }
3684
+ ]
3685
+ }
5
3686
  },
6
3687
  "$schema": "http://json-schema.org/draft-07/schema#"
7
3688
  }