@objectstack/spec 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (386) hide show
  1. package/dist/ai/conversation.zod.d.ts +1059 -0
  2. package/dist/ai/conversation.zod.d.ts.map +1 -0
  3. package/dist/ai/conversation.zod.js +248 -0
  4. package/dist/ai/cost.zod.d.ts +2025 -0
  5. package/dist/ai/cost.zod.d.ts.map +1 -0
  6. package/dist/ai/cost.zod.js +324 -0
  7. package/dist/ai/index.d.ts +8 -0
  8. package/dist/ai/index.d.ts.map +1 -1
  9. package/dist/ai/index.js +8 -0
  10. package/dist/ai/model-registry.zod.d.ts +53 -53
  11. package/dist/ai/nlq.zod.d.ts +24 -24
  12. package/dist/ai/predictive.zod.d.ts +838 -0
  13. package/dist/ai/predictive.zod.d.ts.map +1 -0
  14. package/dist/ai/predictive.zod.js +244 -0
  15. package/dist/ai/rag-pipeline.zod.d.ts +22 -22
  16. package/dist/ai/workflow-automation.zod.d.ts +590 -0
  17. package/dist/ai/workflow-automation.zod.d.ts.map +1 -0
  18. package/dist/ai/workflow-automation.zod.js +197 -0
  19. package/dist/api/contract.zod.d.ts +22 -22
  20. package/dist/data/field.zod.d.ts +409 -4
  21. package/dist/data/field.zod.d.ts.map +1 -1
  22. package/dist/data/field.zod.js +28 -2
  23. package/dist/data/mapping.zod.d.ts +6 -6
  24. package/dist/data/object.zod.d.ts +80 -10
  25. package/dist/data/object.zod.d.ts.map +1 -1
  26. package/dist/data/workflow.zod.d.ts +809 -18
  27. package/dist/data/workflow.zod.d.ts.map +1 -1
  28. package/dist/data/workflow.zod.js +115 -7
  29. package/dist/system/api.zod.d.ts +4 -4
  30. package/dist/system/audit.zod.d.ts +1172 -0
  31. package/dist/system/audit.zod.d.ts.map +1 -0
  32. package/dist/system/audit.zod.js +596 -0
  33. package/dist/system/auth.zod.d.ts +8 -8
  34. package/dist/system/driver.zod.d.ts +4 -4
  35. package/dist/system/events.zod.d.ts +177 -0
  36. package/dist/system/events.zod.d.ts.map +1 -0
  37. package/dist/system/events.zod.js +51 -0
  38. package/dist/system/identity.zod.d.ts +4 -4
  39. package/dist/system/index.d.ts +5 -0
  40. package/dist/system/index.d.ts.map +1 -1
  41. package/dist/system/index.js +5 -0
  42. package/dist/system/job.zod.d.ts +237 -0
  43. package/dist/system/job.zod.d.ts.map +1 -0
  44. package/dist/system/job.zod.js +82 -0
  45. package/dist/system/manifest.zod.d.ts +10 -10
  46. package/dist/system/realtime.zod.d.ts +135 -0
  47. package/dist/system/realtime.zod.d.ts.map +1 -0
  48. package/dist/system/realtime.zod.js +83 -0
  49. package/dist/system/tenant.zod.d.ts +1151 -0
  50. package/dist/system/tenant.zod.d.ts.map +1 -0
  51. package/dist/system/tenant.zod.js +498 -0
  52. package/dist/system/webhook.zod.d.ts +2 -2
  53. package/dist/ui/action.zod.d.ts +8 -8
  54. package/dist/ui/theme.zod.d.ts +12 -12
  55. package/dist/ui/widget.zod.d.ts +40 -5
  56. package/dist/ui/widget.zod.d.ts.map +1 -1
  57. package/json-schema/README.md +127 -0
  58. package/json-schema/ai/AITask.json +123 -0
  59. package/json-schema/ai/AITaskType.json +21 -0
  60. package/json-schema/ai/AIWorkflowAutomation.json +379 -0
  61. package/json-schema/ai/AIWorkflowExecutionResult.json +105 -0
  62. package/json-schema/ai/AIWorkflowTrigger.json +18 -0
  63. package/json-schema/ai/BatchAIWorkflowExecution.json +48 -0
  64. package/json-schema/ai/BillingPeriod.json +18 -0
  65. package/json-schema/ai/BudgetLimit.json +111 -0
  66. package/json-schema/ai/BudgetStatus.json +91 -0
  67. package/json-schema/ai/BudgetType.json +17 -0
  68. package/json-schema/ai/ConversationAnalytics.json +86 -0
  69. package/json-schema/ai/ConversationContext.json +48 -0
  70. package/json-schema/ai/ConversationMessage.json +209 -0
  71. package/json-schema/ai/ConversationSession.json +458 -0
  72. package/json-schema/ai/ConversationSummary.json +73 -0
  73. package/json-schema/ai/CostAlert.json +107 -0
  74. package/json-schema/ai/CostAlertType.json +16 -0
  75. package/json-schema/ai/CostAnalytics.json +589 -0
  76. package/json-schema/ai/CostBreakdownDimension.json +20 -0
  77. package/json-schema/ai/CostBreakdownEntry.json +60 -0
  78. package/json-schema/ai/CostEntry.json +106 -0
  79. package/json-schema/ai/CostMetricType.json +17 -0
  80. package/json-schema/ai/CostOptimizationRecommendation.json +100 -0
  81. package/json-schema/ai/CostQueryFilters.json +112 -0
  82. package/json-schema/ai/CostReport.json +964 -0
  83. package/json-schema/ai/EvaluationMetrics.json +64 -0
  84. package/json-schema/ai/FunctionCall.json +28 -0
  85. package/json-schema/ai/Hyperparameters.json +80 -0
  86. package/json-schema/ai/MessageContent.json +46 -0
  87. package/json-schema/ai/MessageContentType.json +16 -0
  88. package/json-schema/ai/MessagePruningEvent.json +92 -0
  89. package/json-schema/ai/MessageRole.json +16 -0
  90. package/json-schema/ai/ModelDrift.json +73 -0
  91. package/json-schema/ai/ModelFeature.json +71 -0
  92. package/json-schema/ai/PostProcessingAction.json +41 -0
  93. package/json-schema/ai/PredictionRequest.json +39 -0
  94. package/json-schema/ai/PredictionResult.json +82 -0
  95. package/json-schema/ai/PredictiveModel.json +445 -0
  96. package/json-schema/ai/PredictiveModelType.json +18 -0
  97. package/json-schema/ai/TokenBudgetConfig.json +92 -0
  98. package/json-schema/ai/TokenBudgetStrategy.json +16 -0
  99. package/json-schema/ai/TokenUsageStats.json +66 -0
  100. package/json-schema/ai/ToolCall.json +49 -0
  101. package/json-schema/ai/TrainingConfig.json +88 -0
  102. package/json-schema/ai/WorkflowFieldCondition.json +33 -0
  103. package/json-schema/ai/WorkflowSchedule.json +51 -0
  104. package/json-schema/data/CustomScriptAction.json +49 -0
  105. package/json-schema/{Field.json → data/Field.json} +50 -1
  106. package/json-schema/{FieldType.json → data/FieldType.json} +4 -1
  107. package/json-schema/data/HttpCallAction.json +81 -0
  108. package/json-schema/{Object.json → data/Object.json} +50 -1
  109. package/json-schema/data/PushNotificationAction.json +59 -0
  110. package/json-schema/data/SlackMessageAction.json +45 -0
  111. package/json-schema/data/SmsNotificationAction.json +50 -0
  112. package/json-schema/data/TaskCreationAction.json +59 -0
  113. package/json-schema/data/TeamsMessageAction.json +45 -0
  114. package/json-schema/data/WebhookTriggerAction.json +58 -0
  115. package/json-schema/data/WorkflowAction.json +465 -0
  116. package/json-schema/data/WorkflowRule.json +509 -0
  117. package/json-schema/system/AuditConfig.json +587 -0
  118. package/json-schema/system/AuditEvent.json +232 -0
  119. package/json-schema/system/AuditEventActor.json +48 -0
  120. package/json-schema/system/AuditEventChange.json +25 -0
  121. package/json-schema/system/AuditEventFilter.json +127 -0
  122. package/json-schema/system/AuditEventSeverity.json +19 -0
  123. package/json-schema/system/AuditEventTarget.json +33 -0
  124. package/json-schema/system/AuditEventType.json +53 -0
  125. package/json-schema/system/AuditRetentionPolicy.json +73 -0
  126. package/json-schema/system/AuditStorageConfig.json +60 -0
  127. package/json-schema/system/CronSchedule.json +29 -0
  128. package/json-schema/system/DatabaseLevelIsolationStrategy.json +139 -0
  129. package/json-schema/system/Event.json +52 -0
  130. package/json-schema/system/EventHandler.json +29 -0
  131. package/json-schema/system/EventMetadata.json +33 -0
  132. package/json-schema/system/EventPersistence.json +25 -0
  133. package/json-schema/system/EventRoute.json +27 -0
  134. package/json-schema/system/IntervalSchedule.json +25 -0
  135. package/json-schema/system/Job.json +127 -0
  136. package/json-schema/system/JobExecution.json +49 -0
  137. package/json-schema/system/JobExecutionStatus.json +15 -0
  138. package/json-schema/system/LevelIsolationStrategySchema.json +93 -0
  139. package/json-schema/system/OnceSchedule.json +25 -0
  140. package/json-schema/system/Presence.json +40 -0
  141. package/json-schema/system/PresenceStatus.json +14 -0
  142. package/json-schema/system/RealtimeAction.json +14 -0
  143. package/json-schema/system/RealtimeEvent.json +51 -0
  144. package/json-schema/system/RealtimeEventType.json +15 -0
  145. package/json-schema/system/RetryPolicy.json +30 -0
  146. package/json-schema/system/RowLevelIsolationStrategy.json +74 -0
  147. package/json-schema/system/Schedule.json +71 -0
  148. package/json-schema/system/Subscription.json +65 -0
  149. package/json-schema/system/SubscriptionEvent.json +32 -0
  150. package/json-schema/system/SuspiciousActivityRule.json +175 -0
  151. package/json-schema/system/Tenant.json +61 -0
  152. package/json-schema/system/TenantIsolationConfig.json +298 -0
  153. package/json-schema/system/TenantIsolationLevel.json +14 -0
  154. package/json-schema/system/TenantQuota.json +27 -0
  155. package/json-schema/system/TenantSecurityPolicy.json +115 -0
  156. package/json-schema/system/TransportProtocol.json +14 -0
  157. package/json-schema/{Action.json → ui/Action.json} +4 -1
  158. package/json-schema/{ActionParam.json → ui/ActionParam.json} +4 -1
  159. package/json-schema/{FieldWidgetProps.json → ui/FieldWidgetProps.json} +50 -1
  160. package/package.json +12 -12
  161. package/json-schema/AuthenticationConfig.json +0 -601
  162. package/json-schema/AuthenticationProvider.json +0 -617
  163. package/json-schema/MenuItem.json +0 -28
  164. package/json-schema/WorkflowAction.json +0 -84
  165. package/json-schema/WorkflowRule.json +0 -128
  166. /package/json-schema/{AIKnowledge.json → ai/AIKnowledge.json} +0 -0
  167. /package/json-schema/{AIModelConfig.json → ai/AIModelConfig.json} +0 -0
  168. /package/json-schema/{AITool.json → ai/AITool.json} +0 -0
  169. /package/json-schema/{Agent.json → ai/Agent.json} +0 -0
  170. /package/json-schema/{ChunkingStrategy.json → ai/ChunkingStrategy.json} +0 -0
  171. /package/json-schema/{DocumentChunk.json → ai/DocumentChunk.json} +0 -0
  172. /package/json-schema/{DocumentLoaderConfig.json → ai/DocumentLoaderConfig.json} +0 -0
  173. /package/json-schema/{DocumentMetadata.json → ai/DocumentMetadata.json} +0 -0
  174. /package/json-schema/{EmbeddingModel.json → ai/EmbeddingModel.json} +0 -0
  175. /package/json-schema/{Entity.json → ai/Entity.json} +0 -0
  176. /package/json-schema/{FieldSynonymConfig.json → ai/FieldSynonymConfig.json} +0 -0
  177. /package/json-schema/{ModelCapability.json → ai/ModelCapability.json} +0 -0
  178. /package/json-schema/{ModelConfig.json → ai/ModelConfig.json} +0 -0
  179. /package/json-schema/{ModelLimits.json → ai/ModelLimits.json} +0 -0
  180. /package/json-schema/{ModelPricing.json → ai/ModelPricing.json} +0 -0
  181. /package/json-schema/{ModelProvider.json → ai/ModelProvider.json} +0 -0
  182. /package/json-schema/{ModelRegistry.json → ai/ModelRegistry.json} +0 -0
  183. /package/json-schema/{ModelRegistryEntry.json → ai/ModelRegistryEntry.json} +0 -0
  184. /package/json-schema/{ModelSelectionCriteria.json → ai/ModelSelectionCriteria.json} +0 -0
  185. /package/json-schema/{NLQAnalytics.json → ai/NLQAnalytics.json} +0 -0
  186. /package/json-schema/{NLQFieldMapping.json → ai/NLQFieldMapping.json} +0 -0
  187. /package/json-schema/{NLQModelConfig.json → ai/NLQModelConfig.json} +0 -0
  188. /package/json-schema/{NLQParseResult.json → ai/NLQParseResult.json} +0 -0
  189. /package/json-schema/{NLQRequest.json → ai/NLQRequest.json} +0 -0
  190. /package/json-schema/{NLQResponse.json → ai/NLQResponse.json} +0 -0
  191. /package/json-schema/{NLQTrainingExample.json → ai/NLQTrainingExample.json} +0 -0
  192. /package/json-schema/{PromptTemplate.json → ai/PromptTemplate.json} +0 -0
  193. /package/json-schema/{PromptVariable.json → ai/PromptVariable.json} +0 -0
  194. /package/json-schema/{QueryContext.json → ai/QueryContext.json} +0 -0
  195. /package/json-schema/{QueryIntent.json → ai/QueryIntent.json} +0 -0
  196. /package/json-schema/{QueryTemplate.json → ai/QueryTemplate.json} +0 -0
  197. /package/json-schema/{RAGPipelineConfig.json → ai/RAGPipelineConfig.json} +0 -0
  198. /package/json-schema/{RAGPipelineStatus.json → ai/RAGPipelineStatus.json} +0 -0
  199. /package/json-schema/{RAGQueryRequest.json → ai/RAGQueryRequest.json} +0 -0
  200. /package/json-schema/{RAGQueryResponse.json → ai/RAGQueryResponse.json} +0 -0
  201. /package/json-schema/{RerankingConfig.json → ai/RerankingConfig.json} +0 -0
  202. /package/json-schema/{RetrievalStrategy.json → ai/RetrievalStrategy.json} +0 -0
  203. /package/json-schema/{Timeframe.json → ai/Timeframe.json} +0 -0
  204. /package/json-schema/{VectorStoreConfig.json → ai/VectorStoreConfig.json} +0 -0
  205. /package/json-schema/{VectorStoreProvider.json → ai/VectorStoreProvider.json} +0 -0
  206. /package/json-schema/{ApiError.json → api/ApiError.json} +0 -0
  207. /package/json-schema/{BaseResponse.json → api/BaseResponse.json} +0 -0
  208. /package/json-schema/{BulkRequest.json → api/BulkRequest.json} +0 -0
  209. /package/json-schema/{BulkResponse.json → api/BulkResponse.json} +0 -0
  210. /package/json-schema/{CreateRequest.json → api/CreateRequest.json} +0 -0
  211. /package/json-schema/{DeleteResponse.json → api/DeleteResponse.json} +0 -0
  212. /package/json-schema/{ExportRequest.json → api/ExportRequest.json} +0 -0
  213. /package/json-schema/{ListRecordResponse.json → api/ListRecordResponse.json} +0 -0
  214. /package/json-schema/{ModificationResult.json → api/ModificationResult.json} +0 -0
  215. /package/json-schema/{RecordData.json → api/RecordData.json} +0 -0
  216. /package/json-schema/{SingleRecordResponse.json → api/SingleRecordResponse.json} +0 -0
  217. /package/json-schema/{UpdateRequest.json → api/UpdateRequest.json} +0 -0
  218. /package/json-schema/{Address.json → data/Address.json} +0 -0
  219. /package/json-schema/{AggregationFunction.json → data/AggregationFunction.json} +0 -0
  220. /package/json-schema/{AggregationNode.json → data/AggregationNode.json} +0 -0
  221. /package/json-schema/{AsyncValidation.json → data/AsyncValidation.json} +0 -0
  222. /package/json-schema/{ComparisonOperator.json → data/ComparisonOperator.json} +0 -0
  223. /package/json-schema/{ConditionalValidation.json → data/ConditionalValidation.json} +0 -0
  224. /package/json-schema/{CrossFieldValidation.json → data/CrossFieldValidation.json} +0 -0
  225. /package/json-schema/{CustomValidator.json → data/CustomValidator.json} +0 -0
  226. /package/json-schema/{Dataset.json → data/Dataset.json} +0 -0
  227. /package/json-schema/{DatasetMode.json → data/DatasetMode.json} +0 -0
  228. /package/json-schema/{EmailAlertAction.json → data/EmailAlertAction.json} +0 -0
  229. /package/json-schema/{EqualityOperator.json → data/EqualityOperator.json} +0 -0
  230. /package/json-schema/{FieldMapping.json → data/FieldMapping.json} +0 -0
  231. /package/json-schema/{FieldNode.json → data/FieldNode.json} +0 -0
  232. /package/json-schema/{FieldOperators.json → data/FieldOperators.json} +0 -0
  233. /package/json-schema/{FieldPermission.json → data/FieldPermission.json} +0 -0
  234. /package/json-schema/{FieldUpdateAction.json → data/FieldUpdateAction.json} +0 -0
  235. /package/json-schema/{FilterCondition.json → data/FilterCondition.json} +0 -0
  236. /package/json-schema/{FilterNode.json → data/FilterNode.json} +0 -0
  237. /package/json-schema/{FilterOperator.json → data/FilterOperator.json} +0 -0
  238. /package/json-schema/{Flow.json → data/Flow.json} +0 -0
  239. /package/json-schema/{FlowEdge.json → data/FlowEdge.json} +0 -0
  240. /package/json-schema/{FlowNode.json → data/FlowNode.json} +0 -0
  241. /package/json-schema/{FlowNodeAction.json → data/FlowNodeAction.json} +0 -0
  242. /package/json-schema/{FlowVariable.json → data/FlowVariable.json} +0 -0
  243. /package/json-schema/{FormatValidation.json → data/FormatValidation.json} +0 -0
  244. /package/json-schema/{Index.json → data/Index.json} +0 -0
  245. /package/json-schema/{JoinNode.json → data/JoinNode.json} +0 -0
  246. /package/json-schema/{JoinType.json → data/JoinType.json} +0 -0
  247. /package/json-schema/{LocationCoordinates.json → data/LocationCoordinates.json} +0 -0
  248. /package/json-schema/{LogicOperator.json → data/LogicOperator.json} +0 -0
  249. /package/json-schema/{Mapping.json → data/Mapping.json} +0 -0
  250. /package/json-schema/{NormalizedFilter.json → data/NormalizedFilter.json} +0 -0
  251. /package/json-schema/{OWDModel.json → data/OWDModel.json} +0 -0
  252. /package/json-schema/{ObjectCapabilities.json → data/ObjectCapabilities.json} +0 -0
  253. /package/json-schema/{ObjectPermission.json → data/ObjectPermission.json} +0 -0
  254. /package/json-schema/{PermissionSet.json → data/PermissionSet.json} +0 -0
  255. /package/json-schema/{Query.json → data/Query.json} +0 -0
  256. /package/json-schema/{QueryFilter.json → data/QueryFilter.json} +0 -0
  257. /package/json-schema/{RangeOperator.json → data/RangeOperator.json} +0 -0
  258. /package/json-schema/{ScriptValidation.json → data/ScriptValidation.json} +0 -0
  259. /package/json-schema/{SelectOption.json → data/SelectOption.json} +0 -0
  260. /package/json-schema/{SetOperator.json → data/SetOperator.json} +0 -0
  261. /package/json-schema/{SharingLevel.json → data/SharingLevel.json} +0 -0
  262. /package/json-schema/{SharingRule.json → data/SharingRule.json} +0 -0
  263. /package/json-schema/{SharingRuleType.json → data/SharingRuleType.json} +0 -0
  264. /package/json-schema/{SortNode.json → data/SortNode.json} +0 -0
  265. /package/json-schema/{SpecialOperator.json → data/SpecialOperator.json} +0 -0
  266. /package/json-schema/{StateMachineValidation.json → data/StateMachineValidation.json} +0 -0
  267. /package/json-schema/{StringOperator.json → data/StringOperator.json} +0 -0
  268. /package/json-schema/{TransformType.json → data/TransformType.json} +0 -0
  269. /package/json-schema/{Trigger.json → data/Trigger.json} +0 -0
  270. /package/json-schema/{TriggerAction.json → data/TriggerAction.json} +0 -0
  271. /package/json-schema/{TriggerContext.json → data/TriggerContext.json} +0 -0
  272. /package/json-schema/{TriggerTiming.json → data/TriggerTiming.json} +0 -0
  273. /package/json-schema/{UniquenessValidation.json → data/UniquenessValidation.json} +0 -0
  274. /package/json-schema/{ValidationRule.json → data/ValidationRule.json} +0 -0
  275. /package/json-schema/{WindowFunction.json → data/WindowFunction.json} +0 -0
  276. /package/json-schema/{WindowFunctionNode.json → data/WindowFunctionNode.json} +0 -0
  277. /package/json-schema/{WindowSpec.json → data/WindowSpec.json} +0 -0
  278. /package/json-schema/{WorkflowTriggerType.json → data/WorkflowTriggerType.json} +0 -0
  279. /package/json-schema/{Account.json → system/Account.json} +0 -0
  280. /package/json-schema/{AccountLinkingConfig.json → system/AccountLinkingConfig.json} +0 -0
  281. /package/json-schema/{ApiCapabilities.json → system/ApiCapabilities.json} +0 -0
  282. /package/json-schema/{ApiEndpoint.json → system/ApiEndpoint.json} +0 -0
  283. /package/json-schema/{ApiMapping.json → system/ApiMapping.json} +0 -0
  284. /package/json-schema/{ApiRoutes.json → system/ApiRoutes.json} +0 -0
  285. /package/json-schema/{AuditPolicy.json → system/AuditPolicy.json} +0 -0
  286. /package/json-schema/{AuthConfig.json → system/AuthConfig.json} +0 -0
  287. /package/json-schema/{AuthPluginConfig.json → system/AuthPluginConfig.json} +0 -0
  288. /package/json-schema/{AuthStrategy.json → system/AuthStrategy.json} +0 -0
  289. /package/json-schema/{CSRFConfig.json → system/CSRFConfig.json} +0 -0
  290. /package/json-schema/{DatabaseAdapter.json → system/DatabaseAdapter.json} +0 -0
  291. /package/json-schema/{DatabaseMapping.json → system/DatabaseMapping.json} +0 -0
  292. /package/json-schema/{Datasource.json → system/Datasource.json} +0 -0
  293. /package/json-schema/{DatasourceCapabilities.json → system/DatasourceCapabilities.json} +0 -0
  294. /package/json-schema/{Discovery.json → system/Discovery.json} +0 -0
  295. /package/json-schema/{DriverCapabilities.json → system/DriverCapabilities.json} +0 -0
  296. /package/json-schema/{DriverDefinition.json → system/DriverDefinition.json} +0 -0
  297. /package/json-schema/{DriverInterface.json → system/DriverInterface.json} +0 -0
  298. /package/json-schema/{DriverOptions.json → system/DriverOptions.json} +0 -0
  299. /package/json-schema/{DriverType.json → system/DriverType.json} +0 -0
  300. /package/json-schema/{EmailPasswordConfig.json → system/EmailPasswordConfig.json} +0 -0
  301. /package/json-schema/{EnterpriseAuthConfig.json → system/EnterpriseAuthConfig.json} +0 -0
  302. /package/json-schema/{Feature.json → system/Feature.json} +0 -0
  303. /package/json-schema/{HttpMethod.json → system/HttpMethod.json} +0 -0
  304. /package/json-schema/{I18nContext.json → system/I18nContext.json} +0 -0
  305. /package/json-schema/{Invitation.json → system/Invitation.json} +0 -0
  306. /package/json-schema/{InvitationStatus.json → system/InvitationStatus.json} +0 -0
  307. /package/json-schema/{LDAPConfig.json → system/LDAPConfig.json} +0 -0
  308. /package/json-schema/{License.json → system/License.json} +0 -0
  309. /package/json-schema/{Locale.json → system/Locale.json} +0 -0
  310. /package/json-schema/{Logger.json → system/Logger.json} +0 -0
  311. /package/json-schema/{MagicLinkConfig.json → system/MagicLinkConfig.json} +0 -0
  312. /package/json-schema/{Manifest.json → system/Manifest.json} +0 -0
  313. /package/json-schema/{Member.json → system/Member.json} +0 -0
  314. /package/json-schema/{MetricType.json → system/MetricType.json} +0 -0
  315. /package/json-schema/{NetworkPolicy.json → system/NetworkPolicy.json} +0 -0
  316. /package/json-schema/{OAuthProvider.json → system/OAuthProvider.json} +0 -0
  317. /package/json-schema/{OIDCConfig.json → system/OIDCConfig.json} +0 -0
  318. /package/json-schema/{ObjectQLClient.json → system/ObjectQLClient.json} +0 -0
  319. /package/json-schema/{Organization.json → system/Organization.json} +0 -0
  320. /package/json-schema/{PasskeyConfig.json → system/PasskeyConfig.json} +0 -0
  321. /package/json-schema/{PasswordPolicy.json → system/PasswordPolicy.json} +0 -0
  322. /package/json-schema/{Plan.json → system/Plan.json} +0 -0
  323. /package/json-schema/{Plugin.json → system/Plugin.json} +0 -0
  324. /package/json-schema/{PluginContext.json → system/PluginContext.json} +0 -0
  325. /package/json-schema/{PluginLifecycle.json → system/PluginLifecycle.json} +0 -0
  326. /package/json-schema/{Policy.json → system/Policy.json} +0 -0
  327. /package/json-schema/{RateLimit.json → system/RateLimit.json} +0 -0
  328. /package/json-schema/{RateLimitConfig.json → system/RateLimitConfig.json} +0 -0
  329. /package/json-schema/{Role.json → system/Role.json} +0 -0
  330. /package/json-schema/{Router.json → system/Router.json} +0 -0
  331. /package/json-schema/{SAMLConfig.json → system/SAMLConfig.json} +0 -0
  332. /package/json-schema/{Scheduler.json → system/Scheduler.json} +0 -0
  333. /package/json-schema/{ScopedStorage.json → system/ScopedStorage.json} +0 -0
  334. /package/json-schema/{Session.json → system/Session.json} +0 -0
  335. /package/json-schema/{SessionConfig.json → system/SessionConfig.json} +0 -0
  336. /package/json-schema/{SessionPolicy.json → system/SessionPolicy.json} +0 -0
  337. /package/json-schema/{StandardAuthProvider.json → system/StandardAuthProvider.json} +0 -0
  338. /package/json-schema/{SystemAPI.json → system/SystemAPI.json} +0 -0
  339. /package/json-schema/{Territory.json → system/Territory.json} +0 -0
  340. /package/json-schema/{TerritoryModel.json → system/TerritoryModel.json} +0 -0
  341. /package/json-schema/{TerritoryType.json → system/TerritoryType.json} +0 -0
  342. /package/json-schema/{TranslationBundle.json → system/TranslationBundle.json} +0 -0
  343. /package/json-schema/{TranslationData.json → system/TranslationData.json} +0 -0
  344. /package/json-schema/{TwoFactorConfig.json → system/TwoFactorConfig.json} +0 -0
  345. /package/json-schema/{User.json → system/User.json} +0 -0
  346. /package/json-schema/{UserFieldMapping.json → system/UserFieldMapping.json} +0 -0
  347. /package/json-schema/{VerificationToken.json → system/VerificationToken.json} +0 -0
  348. /package/json-schema/{Webhook.json → system/Webhook.json} +0 -0
  349. /package/json-schema/{WebhookReceiver.json → system/WebhookReceiver.json} +0 -0
  350. /package/json-schema/{WebhookTriggerType.json → system/WebhookTriggerType.json} +0 -0
  351. /package/json-schema/{Animation.json → ui/Animation.json} +0 -0
  352. /package/json-schema/{App.json → ui/App.json} +0 -0
  353. /package/json-schema/{AppBranding.json → ui/AppBranding.json} +0 -0
  354. /package/json-schema/{BorderRadius.json → ui/BorderRadius.json} +0 -0
  355. /package/json-schema/{Breakpoints.json → ui/Breakpoints.json} +0 -0
  356. /package/json-schema/{CalendarConfig.json → ui/CalendarConfig.json} +0 -0
  357. /package/json-schema/{ChartType.json → ui/ChartType.json} +0 -0
  358. /package/json-schema/{ColorPalette.json → ui/ColorPalette.json} +0 -0
  359. /package/json-schema/{Dashboard.json → ui/Dashboard.json} +0 -0
  360. /package/json-schema/{DashboardNavItem.json → ui/DashboardNavItem.json} +0 -0
  361. /package/json-schema/{DashboardWidget.json → ui/DashboardWidget.json} +0 -0
  362. /package/json-schema/{FormSection.json → ui/FormSection.json} +0 -0
  363. /package/json-schema/{FormView.json → ui/FormView.json} +0 -0
  364. /package/json-schema/{GanttConfig.json → ui/GanttConfig.json} +0 -0
  365. /package/json-schema/{GroupNavItem.json → ui/GroupNavItem.json} +0 -0
  366. /package/json-schema/{KanbanConfig.json → ui/KanbanConfig.json} +0 -0
  367. /package/json-schema/{ListView.json → ui/ListView.json} +0 -0
  368. /package/json-schema/{NavigationItem.json → ui/NavigationItem.json} +0 -0
  369. /package/json-schema/{ObjectNavItem.json → ui/ObjectNavItem.json} +0 -0
  370. /package/json-schema/{Page.json → ui/Page.json} +0 -0
  371. /package/json-schema/{PageComponent.json → ui/PageComponent.json} +0 -0
  372. /package/json-schema/{PageNavItem.json → ui/PageNavItem.json} +0 -0
  373. /package/json-schema/{PageRegion.json → ui/PageRegion.json} +0 -0
  374. /package/json-schema/{Report.json → ui/Report.json} +0 -0
  375. /package/json-schema/{ReportChart.json → ui/ReportChart.json} +0 -0
  376. /package/json-schema/{ReportColumn.json → ui/ReportColumn.json} +0 -0
  377. /package/json-schema/{ReportGrouping.json → ui/ReportGrouping.json} +0 -0
  378. /package/json-schema/{ReportType.json → ui/ReportType.json} +0 -0
  379. /package/json-schema/{Shadow.json → ui/Shadow.json} +0 -0
  380. /package/json-schema/{Spacing.json → ui/Spacing.json} +0 -0
  381. /package/json-schema/{Theme.json → ui/Theme.json} +0 -0
  382. /package/json-schema/{ThemeMode.json → ui/ThemeMode.json} +0 -0
  383. /package/json-schema/{Typography.json → ui/Typography.json} +0 -0
  384. /package/json-schema/{UrlNavItem.json → ui/UrlNavItem.json} +0 -0
  385. /package/json-schema/{View.json → ui/View.json} +0 -0
  386. /package/json-schema/{ZIndex.json → ui/ZIndex.json} +0 -0
@@ -0,0 +1,445 @@
1
+ {
2
+ "$ref": "#/definitions/PredictiveModel",
3
+ "definitions": {
4
+ "PredictiveModel": {
5
+ "type": "object",
6
+ "properties": {
7
+ "name": {
8
+ "type": "string",
9
+ "pattern": "^[a-z_][a-z0-9_]*$",
10
+ "description": "Model unique identifier (snake_case)"
11
+ },
12
+ "label": {
13
+ "type": "string",
14
+ "description": "Model display name"
15
+ },
16
+ "description": {
17
+ "type": "string"
18
+ },
19
+ "type": {
20
+ "type": "string",
21
+ "enum": [
22
+ "classification",
23
+ "regression",
24
+ "clustering",
25
+ "forecasting",
26
+ "anomaly_detection",
27
+ "recommendation",
28
+ "ranking"
29
+ ]
30
+ },
31
+ "algorithm": {
32
+ "type": "string",
33
+ "description": "Specific algorithm (e.g., \"random_forest\", \"xgboost\", \"lstm\")"
34
+ },
35
+ "objectName": {
36
+ "type": "string",
37
+ "description": "Target object for predictions"
38
+ },
39
+ "target": {
40
+ "type": "string",
41
+ "description": "Target field to predict"
42
+ },
43
+ "targetType": {
44
+ "type": "string",
45
+ "enum": [
46
+ "numeric",
47
+ "categorical",
48
+ "binary"
49
+ ],
50
+ "description": "Target field type"
51
+ },
52
+ "features": {
53
+ "type": "array",
54
+ "items": {
55
+ "type": "object",
56
+ "properties": {
57
+ "name": {
58
+ "type": "string",
59
+ "pattern": "^[a-z_][a-z0-9_]*$",
60
+ "description": "Feature name (snake_case)"
61
+ },
62
+ "label": {
63
+ "type": "string",
64
+ "description": "Human-readable label"
65
+ },
66
+ "field": {
67
+ "type": "string",
68
+ "description": "Source field name"
69
+ },
70
+ "object": {
71
+ "type": "string",
72
+ "description": "Source object (if different from target)"
73
+ },
74
+ "dataType": {
75
+ "type": "string",
76
+ "enum": [
77
+ "numeric",
78
+ "categorical",
79
+ "text",
80
+ "datetime",
81
+ "boolean"
82
+ ],
83
+ "description": "Feature data type"
84
+ },
85
+ "transformation": {
86
+ "type": "string",
87
+ "enum": [
88
+ "none",
89
+ "normalize",
90
+ "standardize",
91
+ "one_hot_encode",
92
+ "label_encode",
93
+ "log_transform",
94
+ "binning",
95
+ "embedding"
96
+ ],
97
+ "default": "none"
98
+ },
99
+ "required": {
100
+ "type": "boolean",
101
+ "default": true
102
+ },
103
+ "defaultValue": {},
104
+ "description": {
105
+ "type": "string"
106
+ },
107
+ "importance": {
108
+ "type": "number",
109
+ "description": "Feature importance score (0-1)"
110
+ }
111
+ },
112
+ "required": [
113
+ "name",
114
+ "field",
115
+ "dataType"
116
+ ],
117
+ "additionalProperties": false
118
+ },
119
+ "description": "Input features for the model"
120
+ },
121
+ "hyperparameters": {
122
+ "type": "object",
123
+ "properties": {
124
+ "learningRate": {
125
+ "type": "number",
126
+ "description": "Learning rate for training"
127
+ },
128
+ "epochs": {
129
+ "type": "integer",
130
+ "description": "Number of training epochs"
131
+ },
132
+ "batchSize": {
133
+ "type": "integer",
134
+ "description": "Training batch size"
135
+ },
136
+ "maxDepth": {
137
+ "type": "integer",
138
+ "description": "Maximum tree depth"
139
+ },
140
+ "numTrees": {
141
+ "type": "integer",
142
+ "description": "Number of trees in ensemble"
143
+ },
144
+ "minSamplesSplit": {
145
+ "type": "integer",
146
+ "description": "Minimum samples to split node"
147
+ },
148
+ "minSamplesLeaf": {
149
+ "type": "integer",
150
+ "description": "Minimum samples in leaf node"
151
+ },
152
+ "hiddenLayers": {
153
+ "type": "array",
154
+ "items": {
155
+ "type": "integer"
156
+ },
157
+ "description": "Hidden layer sizes"
158
+ },
159
+ "activation": {
160
+ "type": "string",
161
+ "description": "Activation function"
162
+ },
163
+ "dropout": {
164
+ "type": "number",
165
+ "description": "Dropout rate"
166
+ },
167
+ "l1Regularization": {
168
+ "type": "number",
169
+ "description": "L1 regularization strength"
170
+ },
171
+ "l2Regularization": {
172
+ "type": "number",
173
+ "description": "L2 regularization strength"
174
+ },
175
+ "numClusters": {
176
+ "type": "integer",
177
+ "description": "Number of clusters (k-means, etc.)"
178
+ },
179
+ "seasonalPeriod": {
180
+ "type": "integer",
181
+ "description": "Seasonal period for time series"
182
+ },
183
+ "forecastHorizon": {
184
+ "type": "integer",
185
+ "description": "Number of periods to forecast"
186
+ },
187
+ "custom": {
188
+ "type": "object",
189
+ "additionalProperties": {},
190
+ "description": "Algorithm-specific parameters"
191
+ }
192
+ },
193
+ "additionalProperties": false
194
+ },
195
+ "training": {
196
+ "type": "object",
197
+ "properties": {
198
+ "trainingDataRatio": {
199
+ "type": "number",
200
+ "minimum": 0,
201
+ "maximum": 1,
202
+ "default": 0.8,
203
+ "description": "Proportion of data for training"
204
+ },
205
+ "validationDataRatio": {
206
+ "type": "number",
207
+ "minimum": 0,
208
+ "maximum": 1,
209
+ "default": 0.1,
210
+ "description": "Proportion for validation"
211
+ },
212
+ "testDataRatio": {
213
+ "type": "number",
214
+ "minimum": 0,
215
+ "maximum": 1,
216
+ "default": 0.1,
217
+ "description": "Proportion for testing"
218
+ },
219
+ "dataFilter": {
220
+ "type": "string",
221
+ "description": "Formula to filter training data"
222
+ },
223
+ "minRecords": {
224
+ "type": "integer",
225
+ "default": 100,
226
+ "description": "Minimum records required"
227
+ },
228
+ "maxRecords": {
229
+ "type": "integer",
230
+ "description": "Maximum records to use"
231
+ },
232
+ "strategy": {
233
+ "type": "string",
234
+ "enum": [
235
+ "full",
236
+ "incremental",
237
+ "online",
238
+ "transfer_learning"
239
+ ],
240
+ "default": "full"
241
+ },
242
+ "crossValidation": {
243
+ "type": "boolean",
244
+ "default": true
245
+ },
246
+ "folds": {
247
+ "type": "integer",
248
+ "minimum": 2,
249
+ "maximum": 10,
250
+ "default": 5,
251
+ "description": "Cross-validation folds"
252
+ },
253
+ "earlyStoppingEnabled": {
254
+ "type": "boolean",
255
+ "default": true
256
+ },
257
+ "earlyStoppingPatience": {
258
+ "type": "integer",
259
+ "default": 10,
260
+ "description": "Epochs without improvement before stopping"
261
+ },
262
+ "maxTrainingTime": {
263
+ "type": "number",
264
+ "description": "Maximum training time in seconds"
265
+ },
266
+ "gpuEnabled": {
267
+ "type": "boolean",
268
+ "default": false
269
+ },
270
+ "randomSeed": {
271
+ "type": "integer",
272
+ "description": "Random seed for reproducibility"
273
+ }
274
+ },
275
+ "additionalProperties": false
276
+ },
277
+ "metrics": {
278
+ "type": "object",
279
+ "properties": {
280
+ "accuracy": {
281
+ "type": "number"
282
+ },
283
+ "precision": {
284
+ "type": "number"
285
+ },
286
+ "recall": {
287
+ "type": "number"
288
+ },
289
+ "f1Score": {
290
+ "type": "number"
291
+ },
292
+ "auc": {
293
+ "type": "number",
294
+ "description": "Area Under ROC Curve"
295
+ },
296
+ "mse": {
297
+ "type": "number",
298
+ "description": "Mean Squared Error"
299
+ },
300
+ "rmse": {
301
+ "type": "number",
302
+ "description": "Root Mean Squared Error"
303
+ },
304
+ "mae": {
305
+ "type": "number",
306
+ "description": "Mean Absolute Error"
307
+ },
308
+ "r2Score": {
309
+ "type": "number",
310
+ "description": "R-squared score"
311
+ },
312
+ "silhouetteScore": {
313
+ "type": "number"
314
+ },
315
+ "daviesBouldinIndex": {
316
+ "type": "number"
317
+ },
318
+ "mape": {
319
+ "type": "number",
320
+ "description": "Mean Absolute Percentage Error"
321
+ },
322
+ "smape": {
323
+ "type": "number",
324
+ "description": "Symmetric MAPE"
325
+ },
326
+ "custom": {
327
+ "type": "object",
328
+ "additionalProperties": {
329
+ "type": "number"
330
+ }
331
+ }
332
+ },
333
+ "additionalProperties": false,
334
+ "description": "Evaluation metrics from last training"
335
+ },
336
+ "deploymentStatus": {
337
+ "type": "string",
338
+ "enum": [
339
+ "draft",
340
+ "training",
341
+ "trained",
342
+ "deployed",
343
+ "deprecated"
344
+ ],
345
+ "default": "draft"
346
+ },
347
+ "version": {
348
+ "type": "string",
349
+ "default": "1.0.0"
350
+ },
351
+ "predictionField": {
352
+ "type": "string",
353
+ "description": "Field to store predictions"
354
+ },
355
+ "confidenceField": {
356
+ "type": "string",
357
+ "description": "Field to store confidence scores"
358
+ },
359
+ "updateTrigger": {
360
+ "type": "string",
361
+ "enum": [
362
+ "on_create",
363
+ "on_update",
364
+ "manual",
365
+ "scheduled"
366
+ ],
367
+ "default": "on_create"
368
+ },
369
+ "autoRetrain": {
370
+ "type": "boolean",
371
+ "default": false
372
+ },
373
+ "retrainSchedule": {
374
+ "type": "string",
375
+ "description": "Cron expression for auto-retraining"
376
+ },
377
+ "retrainThreshold": {
378
+ "type": "number",
379
+ "description": "Performance threshold to trigger retraining"
380
+ },
381
+ "enableExplainability": {
382
+ "type": "boolean",
383
+ "default": false,
384
+ "description": "Generate feature importance & explanations"
385
+ },
386
+ "enableMonitoring": {
387
+ "type": "boolean",
388
+ "default": true
389
+ },
390
+ "alertOnDrift": {
391
+ "type": "boolean",
392
+ "default": true,
393
+ "description": "Alert when model drift is detected"
394
+ },
395
+ "active": {
396
+ "type": "boolean",
397
+ "default": true
398
+ },
399
+ "owner": {
400
+ "type": "string",
401
+ "description": "User ID of model owner"
402
+ },
403
+ "permissions": {
404
+ "type": "array",
405
+ "items": {
406
+ "type": "string"
407
+ },
408
+ "description": "User/group IDs with access"
409
+ },
410
+ "tags": {
411
+ "type": "array",
412
+ "items": {
413
+ "type": "string"
414
+ }
415
+ },
416
+ "category": {
417
+ "type": "string",
418
+ "description": "Model category (e.g., \"sales\", \"marketing\", \"operations\")"
419
+ },
420
+ "lastTrainedAt": {
421
+ "type": "string",
422
+ "description": "ISO timestamp"
423
+ },
424
+ "createdAt": {
425
+ "type": "string",
426
+ "description": "ISO timestamp"
427
+ },
428
+ "updatedAt": {
429
+ "type": "string",
430
+ "description": "ISO timestamp"
431
+ }
432
+ },
433
+ "required": [
434
+ "name",
435
+ "label",
436
+ "type",
437
+ "objectName",
438
+ "target",
439
+ "features"
440
+ ],
441
+ "additionalProperties": false
442
+ }
443
+ },
444
+ "$schema": "http://json-schema.org/draft-07/schema#"
445
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$ref": "#/definitions/PredictiveModelType",
3
+ "definitions": {
4
+ "PredictiveModelType": {
5
+ "type": "string",
6
+ "enum": [
7
+ "classification",
8
+ "regression",
9
+ "clustering",
10
+ "forecasting",
11
+ "anomaly_detection",
12
+ "recommendation",
13
+ "ranking"
14
+ ]
15
+ }
16
+ },
17
+ "$schema": "http://json-schema.org/draft-07/schema#"
18
+ }
@@ -0,0 +1,92 @@
1
+ {
2
+ "$ref": "#/definitions/TokenBudgetConfig",
3
+ "definitions": {
4
+ "TokenBudgetConfig": {
5
+ "type": "object",
6
+ "properties": {
7
+ "maxTokens": {
8
+ "type": "integer",
9
+ "exclusiveMinimum": 0,
10
+ "description": "Maximum total tokens"
11
+ },
12
+ "maxPromptTokens": {
13
+ "type": "integer",
14
+ "exclusiveMinimum": 0,
15
+ "description": "Max tokens for prompt"
16
+ },
17
+ "maxCompletionTokens": {
18
+ "type": "integer",
19
+ "exclusiveMinimum": 0,
20
+ "description": "Max tokens for completion"
21
+ },
22
+ "reserveTokens": {
23
+ "type": "integer",
24
+ "minimum": 0,
25
+ "default": 500,
26
+ "description": "Reserve tokens for system messages"
27
+ },
28
+ "bufferPercentage": {
29
+ "type": "number",
30
+ "minimum": 0,
31
+ "maximum": 1,
32
+ "default": 0.1,
33
+ "description": "Buffer percentage (0.1 = 10%)"
34
+ },
35
+ "strategy": {
36
+ "type": "string",
37
+ "enum": [
38
+ "fifo",
39
+ "importance",
40
+ "semantic",
41
+ "sliding_window",
42
+ "summary"
43
+ ],
44
+ "default": "sliding_window"
45
+ },
46
+ "slidingWindowSize": {
47
+ "type": "integer",
48
+ "exclusiveMinimum": 0,
49
+ "description": "Number of recent messages to keep"
50
+ },
51
+ "minImportanceScore": {
52
+ "type": "number",
53
+ "minimum": 0,
54
+ "maximum": 1,
55
+ "description": "Minimum importance to keep"
56
+ },
57
+ "semanticThreshold": {
58
+ "type": "number",
59
+ "minimum": 0,
60
+ "maximum": 1,
61
+ "description": "Semantic similarity threshold"
62
+ },
63
+ "enableSummarization": {
64
+ "type": "boolean",
65
+ "default": false,
66
+ "description": "Enable context summarization"
67
+ },
68
+ "summarizationThreshold": {
69
+ "type": "integer",
70
+ "exclusiveMinimum": 0,
71
+ "description": "Trigger summarization at N tokens"
72
+ },
73
+ "summaryModel": {
74
+ "type": "string",
75
+ "description": "Model ID for summarization"
76
+ },
77
+ "warnThreshold": {
78
+ "type": "number",
79
+ "minimum": 0,
80
+ "maximum": 1,
81
+ "default": 0.8,
82
+ "description": "Warn at % of budget (0.8 = 80%)"
83
+ }
84
+ },
85
+ "required": [
86
+ "maxTokens"
87
+ ],
88
+ "additionalProperties": false
89
+ }
90
+ },
91
+ "$schema": "http://json-schema.org/draft-07/schema#"
92
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "$ref": "#/definitions/TokenBudgetStrategy",
3
+ "definitions": {
4
+ "TokenBudgetStrategy": {
5
+ "type": "string",
6
+ "enum": [
7
+ "fifo",
8
+ "importance",
9
+ "semantic",
10
+ "sliding_window",
11
+ "summary"
12
+ ]
13
+ }
14
+ },
15
+ "$schema": "http://json-schema.org/draft-07/schema#"
16
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "$ref": "#/definitions/TokenUsageStats",
3
+ "definitions": {
4
+ "TokenUsageStats": {
5
+ "type": "object",
6
+ "properties": {
7
+ "promptTokens": {
8
+ "type": "integer",
9
+ "minimum": 0,
10
+ "default": 0
11
+ },
12
+ "completionTokens": {
13
+ "type": "integer",
14
+ "minimum": 0,
15
+ "default": 0
16
+ },
17
+ "totalTokens": {
18
+ "type": "integer",
19
+ "minimum": 0,
20
+ "default": 0
21
+ },
22
+ "budgetLimit": {
23
+ "type": "integer",
24
+ "exclusiveMinimum": 0
25
+ },
26
+ "budgetUsed": {
27
+ "type": "integer",
28
+ "minimum": 0,
29
+ "default": 0
30
+ },
31
+ "budgetRemaining": {
32
+ "type": "integer",
33
+ "minimum": 0
34
+ },
35
+ "budgetPercentage": {
36
+ "type": "number",
37
+ "minimum": 0,
38
+ "maximum": 1,
39
+ "description": "Usage as percentage of budget"
40
+ },
41
+ "messageCount": {
42
+ "type": "integer",
43
+ "minimum": 0,
44
+ "default": 0
45
+ },
46
+ "prunedMessageCount": {
47
+ "type": "integer",
48
+ "minimum": 0,
49
+ "default": 0
50
+ },
51
+ "summarizedMessageCount": {
52
+ "type": "integer",
53
+ "minimum": 0,
54
+ "default": 0
55
+ }
56
+ },
57
+ "required": [
58
+ "budgetLimit",
59
+ "budgetRemaining",
60
+ "budgetPercentage"
61
+ ],
62
+ "additionalProperties": false
63
+ }
64
+ },
65
+ "$schema": "http://json-schema.org/draft-07/schema#"
66
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "$ref": "#/definitions/ToolCall",
3
+ "definitions": {
4
+ "ToolCall": {
5
+ "type": "object",
6
+ "properties": {
7
+ "id": {
8
+ "type": "string",
9
+ "description": "Tool call ID"
10
+ },
11
+ "type": {
12
+ "type": "string",
13
+ "enum": [
14
+ "function"
15
+ ],
16
+ "default": "function"
17
+ },
18
+ "function": {
19
+ "type": "object",
20
+ "properties": {
21
+ "name": {
22
+ "type": "string",
23
+ "description": "Function name"
24
+ },
25
+ "arguments": {
26
+ "type": "string",
27
+ "description": "JSON string of function arguments"
28
+ },
29
+ "result": {
30
+ "type": "string",
31
+ "description": "Function execution result"
32
+ }
33
+ },
34
+ "required": [
35
+ "name",
36
+ "arguments"
37
+ ],
38
+ "additionalProperties": false
39
+ }
40
+ },
41
+ "required": [
42
+ "id",
43
+ "function"
44
+ ],
45
+ "additionalProperties": false
46
+ }
47
+ },
48
+ "$schema": "http://json-schema.org/draft-07/schema#"
49
+ }