@objectstack/spec 0.3.1 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -10
- package/dist/ai/agent.zod.d.ts +12 -12
- package/dist/ai/conversation.zod.d.ts +65 -65
- package/dist/ai/cost.zod.d.ts +125 -125
- package/dist/ai/index.d.ts +1 -1
- package/dist/ai/index.d.ts.map +1 -1
- package/dist/ai/index.js +1 -1
- package/dist/ai/model-registry.zod.d.ts +94 -94
- package/dist/ai/nlq.zod.d.ts +70 -70
- package/dist/ai/{workflow-automation.zod.d.ts → orchestration.zod.d.ts} +50 -49
- package/dist/ai/orchestration.zod.d.ts.map +1 -0
- package/dist/ai/{workflow-automation.zod.js → orchestration.zod.js} +26 -25
- package/dist/ai/predictive.zod.d.ts +31 -31
- package/dist/ai/rag-pipeline.zod.d.ts +86 -86
- package/dist/api/contract.zod.d.ts +125 -109
- package/dist/api/contract.zod.d.ts.map +1 -1
- package/dist/{system → api}/discovery.zod.d.ts +26 -26
- package/dist/api/discovery.zod.d.ts.map +1 -0
- package/dist/{system → api}/discovery.zod.js +9 -9
- package/dist/{system/api.zod.d.ts → api/endpoint.zod.d.ts} +53 -57
- package/dist/api/endpoint.zod.d.ts.map +1 -0
- package/dist/{system/api.zod.js → api/endpoint.zod.js} +3 -6
- package/dist/api/index.d.ts +4 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +4 -0
- package/dist/{system → api}/realtime.zod.d.ts +4 -4
- package/dist/api/realtime.zod.d.ts.map +1 -0
- package/dist/api/router.zod.d.ts +182 -0
- package/dist/api/router.zod.d.ts.map +1 -0
- package/dist/api/router.zod.js +103 -0
- package/dist/{system/auth.zod.d.ts → auth/config.zod.d.ts} +191 -191
- package/dist/auth/config.zod.d.ts.map +1 -0
- package/dist/{system → auth}/identity.zod.d.ts +8 -8
- package/dist/auth/identity.zod.d.ts.map +1 -0
- package/dist/auth/index.d.ts +7 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +22 -0
- package/dist/{system → auth}/organization.zod.d.ts +5 -5
- package/dist/auth/organization.zod.d.ts.map +1 -0
- package/dist/{system → auth}/policy.zod.d.ts +3 -3
- package/dist/auth/policy.zod.d.ts.map +1 -0
- package/dist/{system/auth-protocol.d.ts → auth/protocol.d.ts} +1 -1
- package/dist/auth/protocol.d.ts.map +1 -0
- package/dist/auth/role.zod.d.ts.map +1 -0
- package/dist/{data → automation}/flow.zod.d.ts +34 -16
- package/dist/automation/flow.zod.d.ts.map +1 -0
- package/dist/{data → automation}/flow.zod.js +6 -1
- package/dist/automation/index.d.ts +4 -0
- package/dist/automation/index.d.ts.map +1 -0
- package/dist/automation/index.js +19 -0
- package/dist/{system → automation}/webhook.zod.d.ts +2 -2
- package/dist/automation/webhook.zod.d.ts.map +1 -0
- package/dist/automation/workflow.zod.d.ts +2045 -0
- package/dist/automation/workflow.zod.d.ts.map +1 -0
- package/dist/{data → automation}/workflow.zod.js +24 -1
- package/dist/data/dataset.zod.d.ts +2 -2
- package/dist/data/field.zod.d.ts +443 -213
- package/dist/data/field.zod.d.ts.map +1 -1
- package/dist/data/field.zod.js +29 -1
- package/dist/data/filter.zod.d.ts +167 -30
- package/dist/data/filter.zod.d.ts.map +1 -1
- package/dist/data/filter.zod.js +25 -13
- package/dist/data/hook.zod.d.ts +191 -0
- package/dist/data/hook.zod.d.ts.map +1 -0
- package/dist/data/hook.zod.js +144 -0
- package/dist/data/index.d.ts +4 -17
- package/dist/data/index.d.ts.map +1 -1
- package/dist/data/index.js +4 -17
- package/dist/data/mapping.zod.d.ts +103 -91
- package/dist/data/mapping.zod.d.ts.map +1 -1
- package/dist/data/object.zod.d.ts +387 -127
- package/dist/data/object.zod.d.ts.map +1 -1
- package/dist/data/object.zod.js +87 -42
- package/dist/data/query.zod.d.ts +98 -169
- package/dist/data/query.zod.d.ts.map +1 -1
- package/dist/data/query.zod.js +42 -130
- package/dist/data/validation.zod.d.ts +166 -26
- package/dist/data/validation.zod.d.ts.map +1 -1
- package/dist/data/validation.zod.js +38 -16
- package/dist/{system → driver}/datasource.zod.d.ts +42 -8
- package/dist/driver/datasource.zod.d.ts.map +1 -0
- package/dist/{system → driver}/datasource.zod.js +17 -13
- package/dist/driver/driver.zod.d.ts +3392 -0
- package/dist/driver/driver.zod.d.ts.map +1 -0
- package/dist/{system → driver}/driver.zod.js +99 -0
- package/dist/driver/index.d.ts +5 -0
- package/dist/driver/index.d.ts.map +1 -0
- package/dist/driver/index.js +20 -0
- package/dist/driver/mongo.zod.d.ts +107 -0
- package/dist/driver/mongo.zod.d.ts.map +1 -0
- package/dist/driver/mongo.zod.js +80 -0
- package/dist/driver/postgres.zod.d.ts +134 -0
- package/dist/driver/postgres.zod.d.ts.map +1 -0
- package/dist/driver/postgres.zod.js +88 -0
- package/dist/hub/composer.zod.d.ts +2768 -0
- package/dist/hub/composer.zod.d.ts.map +1 -0
- package/dist/hub/composer.zod.js +111 -0
- package/dist/hub/index.d.ts +6 -0
- package/dist/hub/index.d.ts.map +1 -0
- package/dist/hub/index.js +22 -0
- package/dist/{system → hub}/license.zod.d.ts +11 -7
- package/dist/hub/license.zod.d.ts.map +1 -0
- package/dist/{system → hub}/license.zod.js +5 -3
- package/dist/hub/marketplace.zod.d.ts +191 -0
- package/dist/hub/marketplace.zod.d.ts.map +1 -0
- package/dist/hub/marketplace.zod.js +85 -0
- package/dist/hub/space.zod.d.ts +383 -0
- package/dist/hub/space.zod.d.ts.map +1 -0
- package/dist/hub/space.zod.js +103 -0
- package/dist/{system → hub}/tenant.zod.d.ts +73 -47
- package/dist/hub/tenant.zod.d.ts.map +1 -0
- package/dist/{system → hub}/tenant.zod.js +36 -10
- package/dist/index.d.ts +11 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -5
- package/dist/kernel/context.zod.d.ts +56 -0
- package/dist/kernel/context.zod.d.ts.map +1 -0
- package/dist/kernel/context.zod.js +43 -0
- package/dist/kernel/index.d.ts +12 -0
- package/dist/kernel/index.d.ts.map +1 -0
- package/dist/kernel/index.js +27 -0
- package/dist/kernel/logger.zod.d.ts +111 -0
- package/dist/kernel/logger.zod.d.ts.map +1 -0
- package/dist/kernel/logger.zod.js +75 -0
- package/dist/kernel/manifest.zod.d.ts +2153 -0
- package/dist/kernel/manifest.zod.d.ts.map +1 -0
- package/dist/{system → kernel}/manifest.zod.js +40 -0
- package/dist/{system → kernel}/plugin.zod.d.ts +598 -318
- package/dist/kernel/plugin.zod.d.ts.map +1 -0
- package/dist/{system → kernel}/plugin.zod.js +13 -0
- package/dist/kernel/scoped-storage.zod.d.ts +81 -0
- package/dist/kernel/scoped-storage.zod.d.ts.map +1 -0
- package/dist/kernel/scoped-storage.zod.js +66 -0
- package/dist/permission/index.d.ts +12 -0
- package/dist/permission/index.d.ts.map +1 -0
- package/dist/permission/index.js +27 -0
- package/dist/{data → permission}/permission.zod.d.ts +34 -3
- package/dist/permission/permission.zod.d.ts.map +1 -0
- package/dist/{data → permission}/permission.zod.js +10 -1
- package/dist/permission/sharing.zod.d.ts +146 -0
- package/dist/permission/sharing.zod.d.ts.map +1 -0
- package/dist/permission/sharing.zod.js +88 -0
- package/dist/permission/territory.zod.d.ts.map +1 -0
- package/dist/system/audit.zod.d.ts +52 -52
- package/dist/system/events.zod.d.ts +17 -17
- package/dist/system/index.d.ts +1 -20
- package/dist/system/index.d.ts.map +1 -1
- package/dist/system/index.js +3 -20
- package/dist/system/job.zod.d.ts +13 -13
- package/dist/ui/action.zod.d.ts +13 -13
- package/dist/ui/app.zod.d.ts +11 -11
- package/dist/ui/dashboard.zod.d.ts +12 -12
- package/dist/ui/page.zod.d.ts +2 -2
- package/dist/ui/report.zod.d.ts +7 -7
- package/dist/ui/theme.zod.d.ts +42 -42
- package/dist/ui/view.zod.d.ts +2320 -59
- package/dist/ui/view.zod.d.ts.map +1 -1
- package/dist/ui/view.zod.js +102 -3
- package/dist/ui/widget.zod.d.ts +61 -28
- package/dist/ui/widget.zod.d.ts.map +1 -1
- package/json-schema/ai/{AIWorkflowAutomation.json → AIOrchestration.json} +5 -5
- package/json-schema/ai/{AIWorkflowExecutionResult.json → AIOrchestrationExecutionResult.json} +2 -2
- package/json-schema/ai/{AIWorkflowTrigger.json → AIOrchestrationTrigger.json} +2 -2
- package/json-schema/ai/{BatchAIWorkflowExecution.json → BatchAIOrchestrationExecution.json} +3 -3
- package/json-schema/{system → api}/ApiEndpoint.json +3 -1
- package/json-schema/{system → api}/ApiRoutes.json +7 -7
- package/json-schema/{system → api}/Discovery.json +7 -7
- package/json-schema/api/ExportRequest.json +402 -438
- package/json-schema/api/HttpMethod.json +18 -0
- package/json-schema/api/RouteCategory.json +17 -0
- package/json-schema/api/RouteDefinition.json +77 -0
- package/json-schema/api/RouterConfig.json +117 -0
- package/json-schema/{data → automation}/Flow.json +31 -1
- package/json-schema/{data → automation}/FlowEdge.json +9 -0
- package/json-schema/{data/WorkflowRule.json → automation/TimeTrigger.json} +35 -25
- package/json-schema/automation/WorkflowRule.json +1031 -0
- package/json-schema/data/AggregationNode.json +23 -0
- package/json-schema/data/AsyncValidation.json +49 -2
- package/json-schema/data/ComparisonOperator.json +52 -0
- package/json-schema/data/ConditionalValidation.json +693 -46
- package/json-schema/data/CrossFieldValidation.json +33 -2
- package/json-schema/data/CurrencyConfig.json +35 -0
- package/json-schema/data/CurrencyValue.json +26 -0
- package/json-schema/data/CustomValidator.json +37 -10
- package/json-schema/data/Field.json +30 -0
- package/json-schema/data/FieldOperators.json +78 -0
- package/json-schema/data/FieldReference.json +19 -0
- package/json-schema/data/FormatValidation.json +33 -2
- package/json-schema/data/Hook.json +95 -0
- package/json-schema/data/HookContext.json +88 -0
- package/json-schema/data/HookEvent.json +29 -0
- package/json-schema/data/Index.json +10 -0
- package/json-schema/data/JSONValidation.json +85 -0
- package/json-schema/data/JoinNode.json +197 -213
- package/json-schema/data/{TriggerAction.json → JoinStrategy.json} +6 -5
- package/json-schema/data/NormalizedFilter.json +234 -0
- package/json-schema/data/Object.json +1580 -28
- package/json-schema/data/ObjectCapabilities.json +30 -12
- package/json-schema/data/Query.json +246 -262
- package/json-schema/data/RangeOperator.json +26 -0
- package/json-schema/data/ScriptValidation.json +33 -2
- package/json-schema/data/SearchConfig.json +36 -0
- package/json-schema/data/StateMachineValidation.json +33 -2
- package/json-schema/data/UniquenessValidation.json +33 -2
- package/json-schema/data/ValidationRule.json +693 -46
- package/json-schema/{system → driver}/Datasource.json +35 -0
- package/json-schema/{system → driver}/DriverCapabilities.json +10 -0
- package/json-schema/{system → driver}/DriverInterface.json +10 -0
- package/json-schema/{system → driver}/DriverOptions.json +11 -0
- package/json-schema/driver/MongoConfig.json +82 -0
- package/json-schema/driver/PostgresConfig.json +98 -0
- package/json-schema/hub/BillOfMaterials.json +70 -0
- package/json-schema/hub/ComposerRequest.json +86 -0
- package/json-schema/hub/ComposerResponse.json +2645 -0
- package/json-schema/hub/ConflictReport.json +53 -0
- package/json-schema/hub/DependencyRequirement.json +36 -0
- package/json-schema/hub/DeploymentTarget.json +38 -0
- package/json-schema/hub/HubSpace.json +279 -0
- package/json-schema/{system → hub}/License.json +11 -3
- package/json-schema/hub/MarketplacePlugin.json +141 -0
- package/json-schema/hub/PluginAuthor.json +26 -0
- package/json-schema/hub/PluginPricing.json +43 -0
- package/json-schema/hub/SpaceSubscription.json +77 -0
- package/json-schema/hub/SubscriptionStatus.json +16 -0
- package/json-schema/{system → hub}/Tenant.json +3 -5
- package/json-schema/kernel/FileMetadata.json +43 -0
- package/json-schema/kernel/KernelContext.json +62 -0
- package/json-schema/kernel/LogEntry.json +63 -0
- package/json-schema/kernel/LogFormat.json +15 -0
- package/json-schema/kernel/LogLevel.json +17 -0
- package/json-schema/kernel/LoggerConfig.json +70 -0
- package/json-schema/kernel/Manifest.json +2557 -0
- package/json-schema/{system → kernel}/PluginContext.json +8 -1
- package/json-schema/kernel/RuntimeMode.json +16 -0
- package/json-schema/kernel/ScopedStorageConfig.json +54 -0
- package/json-schema/kernel/StorageAdapterType.json +17 -0
- package/json-schema/kernel/StorageScope.json +18 -0
- package/json-schema/permission/CriteriaSharingRule.json +82 -0
- package/json-schema/{data → permission}/OWDModel.json +2 -1
- package/json-schema/{data → permission}/ObjectPermission.json +15 -0
- package/json-schema/permission/OwnerSharingRule.json +102 -0
- package/json-schema/{data → permission}/PermissionSet.json +15 -0
- package/json-schema/permission/ShareRecipientType.json +16 -0
- package/json-schema/{data → permission}/SharingLevel.json +2 -1
- package/json-schema/permission/SharingRule.json +182 -0
- package/json-schema/{data → permission}/SharingRuleType.json +1 -3
- package/json-schema/ui/FieldWidgetProps.json +30 -0
- package/json-schema/ui/FormField.json +61 -0
- package/json-schema/ui/FormSection.json +60 -1
- package/json-schema/ui/FormView.json +257 -2
- package/json-schema/{system → ui}/HttpMethod.json +2 -2
- package/json-schema/ui/HttpRequest.json +46 -0
- package/json-schema/ui/ListColumn.json +57 -0
- package/json-schema/ui/ListView.json +249 -4
- package/json-schema/ui/PaginationConfig.json +26 -0
- package/json-schema/ui/SelectionConfig.json +22 -0
- package/json-schema/ui/View.json +1012 -12
- package/json-schema/ui/ViewData.json +142 -0
- package/llms.txt +182 -0
- package/package.json +38 -16
- package/prompts/README.md +18 -0
- package/prompts/architecture.md +81 -0
- package/prompts/implement-objectai.md +39 -0
- package/prompts/implement-objectos.md +48 -0
- package/prompts/implement-objectql.md +39 -0
- package/prompts/implement-objectui.md +46 -0
- package/prompts/instructions.md +91 -0
- package/dist/ai/workflow-automation.zod.d.ts.map +0 -1
- package/dist/data/flow.zod.d.ts.map +0 -1
- package/dist/data/permission.zod.d.ts.map +0 -1
- package/dist/data/sharing.zod.d.ts +0 -63
- package/dist/data/sharing.zod.d.ts.map +0 -1
- package/dist/data/sharing.zod.js +0 -57
- package/dist/data/trigger.zod.d.ts +0 -354
- package/dist/data/trigger.zod.d.ts.map +0 -1
- package/dist/data/trigger.zod.js +0 -195
- package/dist/data/workflow.zod.d.ts +0 -986
- package/dist/data/workflow.zod.d.ts.map +0 -1
- package/dist/system/api.zod.d.ts.map +0 -1
- package/dist/system/auth-protocol.d.ts.map +0 -1
- package/dist/system/auth.zod.d.ts.map +0 -1
- package/dist/system/datasource.zod.d.ts.map +0 -1
- package/dist/system/discovery.zod.d.ts.map +0 -1
- package/dist/system/driver.zod.d.ts +0 -1631
- package/dist/system/driver.zod.d.ts.map +0 -1
- package/dist/system/identity.zod.d.ts.map +0 -1
- package/dist/system/license.zod.d.ts.map +0 -1
- package/dist/system/manifest.zod.d.ts +0 -397
- package/dist/system/manifest.zod.d.ts.map +0 -1
- package/dist/system/organization.zod.d.ts.map +0 -1
- package/dist/system/plugin.zod.d.ts.map +0 -1
- package/dist/system/policy.zod.d.ts.map +0 -1
- package/dist/system/realtime.zod.d.ts.map +0 -1
- package/dist/system/role.zod.d.ts.map +0 -1
- package/dist/system/tenant.zod.d.ts.map +0 -1
- package/dist/system/territory.zod.d.ts.map +0 -1
- package/dist/system/webhook.zod.d.ts.map +0 -1
- package/json-schema/README.md +0 -127
- package/json-schema/data/FieldMapping.json +0 -83
- package/json-schema/data/FilterNode.json +0 -52
- package/json-schema/data/FilterOperator.json +0 -26
- package/json-schema/data/LogicOperator.json +0 -14
- package/json-schema/data/Mapping.json +0 -598
- package/json-schema/data/SharingRule.json +0 -58
- package/json-schema/data/TransformType.json +0 -18
- package/json-schema/data/Trigger.json +0 -73
- package/json-schema/data/TriggerContext.json +0 -61
- package/json-schema/data/TriggerTiming.json +0 -13
- package/json-schema/system/Manifest.json +0 -315
- /package/dist/{system → api}/realtime.zod.js +0 -0
- /package/dist/{system/auth.zod.js → auth/config.zod.js} +0 -0
- /package/dist/{system → auth}/identity.zod.js +0 -0
- /package/dist/{system → auth}/organization.zod.js +0 -0
- /package/dist/{system → auth}/policy.zod.js +0 -0
- /package/dist/{system/auth-protocol.js → auth/protocol.js} +0 -0
- /package/dist/{system → auth}/role.zod.d.ts +0 -0
- /package/dist/{system → auth}/role.zod.js +0 -0
- /package/dist/{system → automation}/webhook.zod.js +0 -0
- /package/dist/{system → permission}/territory.zod.d.ts +0 -0
- /package/dist/{system → permission}/territory.zod.js +0 -0
- /package/json-schema/{system → api}/ApiCapabilities.json +0 -0
- /package/json-schema/{system → api}/ApiMapping.json +0 -0
- /package/json-schema/{system → api}/Presence.json +0 -0
- /package/json-schema/{system → api}/PresenceStatus.json +0 -0
- /package/json-schema/{system → api}/RateLimit.json +0 -0
- /package/json-schema/{system → api}/RealtimeAction.json +0 -0
- /package/json-schema/{system → api}/RealtimeEvent.json +0 -0
- /package/json-schema/{system → api}/RealtimeEventType.json +0 -0
- /package/json-schema/{system → api}/Subscription.json +0 -0
- /package/json-schema/{system → api}/SubscriptionEvent.json +0 -0
- /package/json-schema/{system → api}/TransportProtocol.json +0 -0
- /package/json-schema/{system → auth}/Account.json +0 -0
- /package/json-schema/{system → auth}/AccountLinkingConfig.json +0 -0
- /package/json-schema/{system → auth}/AuditPolicy.json +0 -0
- /package/json-schema/{system → auth}/AuthConfig.json +0 -0
- /package/json-schema/{system → auth}/AuthPluginConfig.json +0 -0
- /package/json-schema/{system → auth}/AuthStrategy.json +0 -0
- /package/json-schema/{system → auth}/CSRFConfig.json +0 -0
- /package/json-schema/{system → auth}/DatabaseAdapter.json +0 -0
- /package/json-schema/{system → auth}/DatabaseMapping.json +0 -0
- /package/json-schema/{system → auth}/EmailPasswordConfig.json +0 -0
- /package/json-schema/{system → auth}/EnterpriseAuthConfig.json +0 -0
- /package/json-schema/{system → auth}/Invitation.json +0 -0
- /package/json-schema/{system → auth}/InvitationStatus.json +0 -0
- /package/json-schema/{system → auth}/LDAPConfig.json +0 -0
- /package/json-schema/{system → auth}/MagicLinkConfig.json +0 -0
- /package/json-schema/{system → auth}/Member.json +0 -0
- /package/json-schema/{system → auth}/NetworkPolicy.json +0 -0
- /package/json-schema/{system → auth}/OAuthProvider.json +0 -0
- /package/json-schema/{system → auth}/OIDCConfig.json +0 -0
- /package/json-schema/{system → auth}/Organization.json +0 -0
- /package/json-schema/{system → auth}/PasskeyConfig.json +0 -0
- /package/json-schema/{system → auth}/PasswordPolicy.json +0 -0
- /package/json-schema/{system → auth}/Policy.json +0 -0
- /package/json-schema/{system → auth}/RateLimitConfig.json +0 -0
- /package/json-schema/{system → auth}/Role.json +0 -0
- /package/json-schema/{system → auth}/SAMLConfig.json +0 -0
- /package/json-schema/{system → auth}/Session.json +0 -0
- /package/json-schema/{system → auth}/SessionConfig.json +0 -0
- /package/json-schema/{system → auth}/SessionPolicy.json +0 -0
- /package/json-schema/{system → auth}/StandardAuthProvider.json +0 -0
- /package/json-schema/{system → auth}/TwoFactorConfig.json +0 -0
- /package/json-schema/{system → auth}/User.json +0 -0
- /package/json-schema/{system → auth}/UserFieldMapping.json +0 -0
- /package/json-schema/{system → auth}/VerificationToken.json +0 -0
- /package/json-schema/{data → automation}/CustomScriptAction.json +0 -0
- /package/json-schema/{data → automation}/EmailAlertAction.json +0 -0
- /package/json-schema/{data → automation}/FieldUpdateAction.json +0 -0
- /package/json-schema/{data → automation}/FlowNode.json +0 -0
- /package/json-schema/{data → automation}/FlowNodeAction.json +0 -0
- /package/json-schema/{data → automation}/FlowVariable.json +0 -0
- /package/json-schema/{data → automation}/HttpCallAction.json +0 -0
- /package/json-schema/{data → automation}/PushNotificationAction.json +0 -0
- /package/json-schema/{data → automation}/SlackMessageAction.json +0 -0
- /package/json-schema/{data → automation}/SmsNotificationAction.json +0 -0
- /package/json-schema/{data → automation}/TaskCreationAction.json +0 -0
- /package/json-schema/{data → automation}/TeamsMessageAction.json +0 -0
- /package/json-schema/{system → automation}/Webhook.json +0 -0
- /package/json-schema/{system → automation}/WebhookReceiver.json +0 -0
- /package/json-schema/{data → automation}/WebhookTriggerAction.json +0 -0
- /package/json-schema/{system → automation}/WebhookTriggerType.json +0 -0
- /package/json-schema/{data → automation}/WorkflowAction.json +0 -0
- /package/json-schema/{data → automation}/WorkflowTriggerType.json +0 -0
- /package/json-schema/{system → driver}/DatasourceCapabilities.json +0 -0
- /package/json-schema/{system → driver}/DriverDefinition.json +0 -0
- /package/json-schema/{system → driver}/DriverType.json +0 -0
- /package/json-schema/{system → hub}/DatabaseLevelIsolationStrategy.json +0 -0
- /package/json-schema/{system → hub}/Feature.json +0 -0
- /package/json-schema/{system → hub}/LevelIsolationStrategySchema.json +0 -0
- /package/json-schema/{system → hub}/MetricType.json +0 -0
- /package/json-schema/{system → hub}/Plan.json +0 -0
- /package/json-schema/{system → hub}/RowLevelIsolationStrategy.json +0 -0
- /package/json-schema/{system → hub}/TenantIsolationConfig.json +0 -0
- /package/json-schema/{system → hub}/TenantIsolationLevel.json +0 -0
- /package/json-schema/{system → hub}/TenantQuota.json +0 -0
- /package/json-schema/{system → hub}/TenantSecurityPolicy.json +0 -0
- /package/json-schema/{system → kernel}/I18nContext.json +0 -0
- /package/json-schema/{system → kernel}/Logger.json +0 -0
- /package/json-schema/{system → kernel}/ObjectQLClient.json +0 -0
- /package/json-schema/{system → kernel}/Plugin.json +0 -0
- /package/json-schema/{system → kernel}/PluginLifecycle.json +0 -0
- /package/json-schema/{system → kernel}/Router.json +0 -0
- /package/json-schema/{system → kernel}/Scheduler.json +0 -0
- /package/json-schema/{system → kernel}/ScopedStorage.json +0 -0
- /package/json-schema/{system → kernel}/SystemAPI.json +0 -0
- /package/json-schema/{data → permission}/FieldPermission.json +0 -0
- /package/json-schema/{system → permission}/Territory.json +0 -0
- /package/json-schema/{system → permission}/TerritoryModel.json +0 -0
- /package/json-schema/{system → permission}/TerritoryType.json +0 -0
|
@@ -9,12 +9,43 @@
|
|
|
9
9
|
"name": {
|
|
10
10
|
"type": "string",
|
|
11
11
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
12
|
-
"description": "Unique rule name"
|
|
12
|
+
"description": "Unique rule name (snake_case)"
|
|
13
|
+
},
|
|
14
|
+
"label": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "Human-readable label for the rule listing"
|
|
17
|
+
},
|
|
18
|
+
"description": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "Administrative notes explaining the business reason"
|
|
13
21
|
},
|
|
14
22
|
"active": {
|
|
15
23
|
"type": "boolean",
|
|
16
24
|
"default": true
|
|
17
25
|
},
|
|
26
|
+
"events": {
|
|
27
|
+
"type": "array",
|
|
28
|
+
"items": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"enum": [
|
|
31
|
+
"insert",
|
|
32
|
+
"update",
|
|
33
|
+
"delete"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"default": [
|
|
37
|
+
"insert",
|
|
38
|
+
"update"
|
|
39
|
+
],
|
|
40
|
+
"description": "Validation contexts"
|
|
41
|
+
},
|
|
42
|
+
"tags": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
48
|
+
},
|
|
18
49
|
"severity": {
|
|
19
50
|
"type": "string",
|
|
20
51
|
"enum": [
|
|
@@ -26,7 +57,7 @@
|
|
|
26
57
|
},
|
|
27
58
|
"message": {
|
|
28
59
|
"type": "string",
|
|
29
|
-
"description": "Error message to display"
|
|
60
|
+
"description": "Error message to display to the user"
|
|
30
61
|
},
|
|
31
62
|
"type": {
|
|
32
63
|
"type": "string",
|
|
@@ -51,12 +82,43 @@
|
|
|
51
82
|
"name": {
|
|
52
83
|
"type": "string",
|
|
53
84
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
54
|
-
"description": "Unique rule name"
|
|
85
|
+
"description": "Unique rule name (snake_case)"
|
|
86
|
+
},
|
|
87
|
+
"label": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "Human-readable label for the rule listing"
|
|
90
|
+
},
|
|
91
|
+
"description": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"description": "Administrative notes explaining the business reason"
|
|
55
94
|
},
|
|
56
95
|
"active": {
|
|
57
96
|
"type": "boolean",
|
|
58
97
|
"default": true
|
|
59
98
|
},
|
|
99
|
+
"events": {
|
|
100
|
+
"type": "array",
|
|
101
|
+
"items": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"enum": [
|
|
104
|
+
"insert",
|
|
105
|
+
"update",
|
|
106
|
+
"delete"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"default": [
|
|
110
|
+
"insert",
|
|
111
|
+
"update"
|
|
112
|
+
],
|
|
113
|
+
"description": "Validation contexts"
|
|
114
|
+
},
|
|
115
|
+
"tags": {
|
|
116
|
+
"type": "array",
|
|
117
|
+
"items": {
|
|
118
|
+
"type": "string"
|
|
119
|
+
},
|
|
120
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
121
|
+
},
|
|
60
122
|
"severity": {
|
|
61
123
|
"type": "string",
|
|
62
124
|
"enum": [
|
|
@@ -68,7 +130,7 @@
|
|
|
68
130
|
},
|
|
69
131
|
"message": {
|
|
70
132
|
"type": "string",
|
|
71
|
-
"description": "Error message to display"
|
|
133
|
+
"description": "Error message to display to the user"
|
|
72
134
|
},
|
|
73
135
|
"type": {
|
|
74
136
|
"type": "string",
|
|
@@ -104,12 +166,43 @@
|
|
|
104
166
|
"name": {
|
|
105
167
|
"type": "string",
|
|
106
168
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
107
|
-
"description": "Unique rule name"
|
|
169
|
+
"description": "Unique rule name (snake_case)"
|
|
170
|
+
},
|
|
171
|
+
"label": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"description": "Human-readable label for the rule listing"
|
|
174
|
+
},
|
|
175
|
+
"description": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "Administrative notes explaining the business reason"
|
|
108
178
|
},
|
|
109
179
|
"active": {
|
|
110
180
|
"type": "boolean",
|
|
111
181
|
"default": true
|
|
112
182
|
},
|
|
183
|
+
"events": {
|
|
184
|
+
"type": "array",
|
|
185
|
+
"items": {
|
|
186
|
+
"type": "string",
|
|
187
|
+
"enum": [
|
|
188
|
+
"insert",
|
|
189
|
+
"update",
|
|
190
|
+
"delete"
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
"default": [
|
|
194
|
+
"insert",
|
|
195
|
+
"update"
|
|
196
|
+
],
|
|
197
|
+
"description": "Validation contexts"
|
|
198
|
+
},
|
|
199
|
+
"tags": {
|
|
200
|
+
"type": "array",
|
|
201
|
+
"items": {
|
|
202
|
+
"type": "string"
|
|
203
|
+
},
|
|
204
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
205
|
+
},
|
|
113
206
|
"severity": {
|
|
114
207
|
"type": "string",
|
|
115
208
|
"enum": [
|
|
@@ -121,7 +214,7 @@
|
|
|
121
214
|
},
|
|
122
215
|
"message": {
|
|
123
216
|
"type": "string",
|
|
124
|
-
"description": "Error message to display"
|
|
217
|
+
"description": "Error message to display to the user"
|
|
125
218
|
},
|
|
126
219
|
"type": {
|
|
127
220
|
"type": "string",
|
|
@@ -157,12 +250,43 @@
|
|
|
157
250
|
"name": {
|
|
158
251
|
"type": "string",
|
|
159
252
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
160
|
-
"description": "Unique rule name"
|
|
253
|
+
"description": "Unique rule name (snake_case)"
|
|
254
|
+
},
|
|
255
|
+
"label": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"description": "Human-readable label for the rule listing"
|
|
258
|
+
},
|
|
259
|
+
"description": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"description": "Administrative notes explaining the business reason"
|
|
161
262
|
},
|
|
162
263
|
"active": {
|
|
163
264
|
"type": "boolean",
|
|
164
265
|
"default": true
|
|
165
266
|
},
|
|
267
|
+
"events": {
|
|
268
|
+
"type": "array",
|
|
269
|
+
"items": {
|
|
270
|
+
"type": "string",
|
|
271
|
+
"enum": [
|
|
272
|
+
"insert",
|
|
273
|
+
"update",
|
|
274
|
+
"delete"
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
"default": [
|
|
278
|
+
"insert",
|
|
279
|
+
"update"
|
|
280
|
+
],
|
|
281
|
+
"description": "Validation contexts"
|
|
282
|
+
},
|
|
283
|
+
"tags": {
|
|
284
|
+
"type": "array",
|
|
285
|
+
"items": {
|
|
286
|
+
"type": "string"
|
|
287
|
+
},
|
|
288
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
289
|
+
},
|
|
166
290
|
"severity": {
|
|
167
291
|
"type": "string",
|
|
168
292
|
"enum": [
|
|
@@ -174,7 +298,7 @@
|
|
|
174
298
|
},
|
|
175
299
|
"message": {
|
|
176
300
|
"type": "string",
|
|
177
|
-
"description": "Error message to display"
|
|
301
|
+
"description": "Error message to display to the user"
|
|
178
302
|
},
|
|
179
303
|
"type": {
|
|
180
304
|
"type": "string",
|
|
@@ -210,12 +334,43 @@
|
|
|
210
334
|
"name": {
|
|
211
335
|
"type": "string",
|
|
212
336
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
213
|
-
"description": "Unique rule name"
|
|
337
|
+
"description": "Unique rule name (snake_case)"
|
|
338
|
+
},
|
|
339
|
+
"label": {
|
|
340
|
+
"type": "string",
|
|
341
|
+
"description": "Human-readable label for the rule listing"
|
|
342
|
+
},
|
|
343
|
+
"description": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"description": "Administrative notes explaining the business reason"
|
|
214
346
|
},
|
|
215
347
|
"active": {
|
|
216
348
|
"type": "boolean",
|
|
217
349
|
"default": true
|
|
218
350
|
},
|
|
351
|
+
"events": {
|
|
352
|
+
"type": "array",
|
|
353
|
+
"items": {
|
|
354
|
+
"type": "string",
|
|
355
|
+
"enum": [
|
|
356
|
+
"insert",
|
|
357
|
+
"update",
|
|
358
|
+
"delete"
|
|
359
|
+
]
|
|
360
|
+
},
|
|
361
|
+
"default": [
|
|
362
|
+
"insert",
|
|
363
|
+
"update"
|
|
364
|
+
],
|
|
365
|
+
"description": "Validation contexts"
|
|
366
|
+
},
|
|
367
|
+
"tags": {
|
|
368
|
+
"type": "array",
|
|
369
|
+
"items": {
|
|
370
|
+
"type": "string"
|
|
371
|
+
},
|
|
372
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
373
|
+
},
|
|
219
374
|
"severity": {
|
|
220
375
|
"type": "string",
|
|
221
376
|
"enum": [
|
|
@@ -227,7 +382,7 @@
|
|
|
227
382
|
},
|
|
228
383
|
"message": {
|
|
229
384
|
"type": "string",
|
|
230
|
-
"description": "Error message to display"
|
|
385
|
+
"description": "Error message to display to the user"
|
|
231
386
|
},
|
|
232
387
|
"type": {
|
|
233
388
|
"type": "string",
|
|
@@ -260,12 +415,43 @@
|
|
|
260
415
|
"name": {
|
|
261
416
|
"type": "string",
|
|
262
417
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
263
|
-
"description": "Unique rule name"
|
|
418
|
+
"description": "Unique rule name (snake_case)"
|
|
419
|
+
},
|
|
420
|
+
"label": {
|
|
421
|
+
"type": "string",
|
|
422
|
+
"description": "Human-readable label for the rule listing"
|
|
423
|
+
},
|
|
424
|
+
"description": {
|
|
425
|
+
"type": "string",
|
|
426
|
+
"description": "Administrative notes explaining the business reason"
|
|
264
427
|
},
|
|
265
428
|
"active": {
|
|
266
429
|
"type": "boolean",
|
|
267
430
|
"default": true
|
|
268
431
|
},
|
|
432
|
+
"events": {
|
|
433
|
+
"type": "array",
|
|
434
|
+
"items": {
|
|
435
|
+
"type": "string",
|
|
436
|
+
"enum": [
|
|
437
|
+
"insert",
|
|
438
|
+
"update",
|
|
439
|
+
"delete"
|
|
440
|
+
]
|
|
441
|
+
},
|
|
442
|
+
"default": [
|
|
443
|
+
"insert",
|
|
444
|
+
"update"
|
|
445
|
+
],
|
|
446
|
+
"description": "Validation contexts"
|
|
447
|
+
},
|
|
448
|
+
"tags": {
|
|
449
|
+
"type": "array",
|
|
450
|
+
"items": {
|
|
451
|
+
"type": "string"
|
|
452
|
+
},
|
|
453
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
454
|
+
},
|
|
269
455
|
"severity": {
|
|
270
456
|
"type": "string",
|
|
271
457
|
"enum": [
|
|
@@ -277,7 +463,86 @@
|
|
|
277
463
|
},
|
|
278
464
|
"message": {
|
|
279
465
|
"type": "string",
|
|
280
|
-
"description": "Error message to display"
|
|
466
|
+
"description": "Error message to display to the user"
|
|
467
|
+
},
|
|
468
|
+
"type": {
|
|
469
|
+
"type": "string",
|
|
470
|
+
"const": "json_schema"
|
|
471
|
+
},
|
|
472
|
+
"field": {
|
|
473
|
+
"type": "string",
|
|
474
|
+
"description": "JSON field to validate"
|
|
475
|
+
},
|
|
476
|
+
"schema": {
|
|
477
|
+
"type": "object",
|
|
478
|
+
"additionalProperties": {},
|
|
479
|
+
"description": "JSON Schema object definition"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"required": [
|
|
483
|
+
"name",
|
|
484
|
+
"message",
|
|
485
|
+
"type",
|
|
486
|
+
"field",
|
|
487
|
+
"schema"
|
|
488
|
+
],
|
|
489
|
+
"additionalProperties": false
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"type": "object",
|
|
493
|
+
"properties": {
|
|
494
|
+
"name": {
|
|
495
|
+
"type": "string",
|
|
496
|
+
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
497
|
+
"description": "Unique rule name (snake_case)"
|
|
498
|
+
},
|
|
499
|
+
"label": {
|
|
500
|
+
"type": "string",
|
|
501
|
+
"description": "Human-readable label for the rule listing"
|
|
502
|
+
},
|
|
503
|
+
"description": {
|
|
504
|
+
"type": "string",
|
|
505
|
+
"description": "Administrative notes explaining the business reason"
|
|
506
|
+
},
|
|
507
|
+
"active": {
|
|
508
|
+
"type": "boolean",
|
|
509
|
+
"default": true
|
|
510
|
+
},
|
|
511
|
+
"events": {
|
|
512
|
+
"type": "array",
|
|
513
|
+
"items": {
|
|
514
|
+
"type": "string",
|
|
515
|
+
"enum": [
|
|
516
|
+
"insert",
|
|
517
|
+
"update",
|
|
518
|
+
"delete"
|
|
519
|
+
]
|
|
520
|
+
},
|
|
521
|
+
"default": [
|
|
522
|
+
"insert",
|
|
523
|
+
"update"
|
|
524
|
+
],
|
|
525
|
+
"description": "Validation contexts"
|
|
526
|
+
},
|
|
527
|
+
"tags": {
|
|
528
|
+
"type": "array",
|
|
529
|
+
"items": {
|
|
530
|
+
"type": "string"
|
|
531
|
+
},
|
|
532
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
533
|
+
},
|
|
534
|
+
"severity": {
|
|
535
|
+
"type": "string",
|
|
536
|
+
"enum": [
|
|
537
|
+
"error",
|
|
538
|
+
"warning",
|
|
539
|
+
"info"
|
|
540
|
+
],
|
|
541
|
+
"default": "error"
|
|
542
|
+
},
|
|
543
|
+
"message": {
|
|
544
|
+
"type": "string",
|
|
545
|
+
"description": "Error message to display to the user"
|
|
281
546
|
},
|
|
282
547
|
"type": {
|
|
283
548
|
"type": "string",
|
|
@@ -291,6 +556,22 @@
|
|
|
291
556
|
"type": "string",
|
|
292
557
|
"description": "External API endpoint for validation"
|
|
293
558
|
},
|
|
559
|
+
"method": {
|
|
560
|
+
"type": "string",
|
|
561
|
+
"enum": [
|
|
562
|
+
"GET",
|
|
563
|
+
"POST"
|
|
564
|
+
],
|
|
565
|
+
"default": "GET",
|
|
566
|
+
"description": "HTTP method for external call"
|
|
567
|
+
},
|
|
568
|
+
"headers": {
|
|
569
|
+
"type": "object",
|
|
570
|
+
"additionalProperties": {
|
|
571
|
+
"type": "string"
|
|
572
|
+
},
|
|
573
|
+
"description": "Custom headers for the request"
|
|
574
|
+
},
|
|
294
575
|
"validatorFunction": {
|
|
295
576
|
"type": "string",
|
|
296
577
|
"description": "Reference to custom validator function"
|
|
@@ -324,12 +605,43 @@
|
|
|
324
605
|
"name": {
|
|
325
606
|
"type": "string",
|
|
326
607
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
327
|
-
"description": "Unique rule name"
|
|
608
|
+
"description": "Unique rule name (snake_case)"
|
|
609
|
+
},
|
|
610
|
+
"label": {
|
|
611
|
+
"type": "string",
|
|
612
|
+
"description": "Human-readable label for the rule listing"
|
|
613
|
+
},
|
|
614
|
+
"description": {
|
|
615
|
+
"type": "string",
|
|
616
|
+
"description": "Administrative notes explaining the business reason"
|
|
328
617
|
},
|
|
329
618
|
"active": {
|
|
330
619
|
"type": "boolean",
|
|
331
620
|
"default": true
|
|
332
621
|
},
|
|
622
|
+
"events": {
|
|
623
|
+
"type": "array",
|
|
624
|
+
"items": {
|
|
625
|
+
"type": "string",
|
|
626
|
+
"enum": [
|
|
627
|
+
"insert",
|
|
628
|
+
"update",
|
|
629
|
+
"delete"
|
|
630
|
+
]
|
|
631
|
+
},
|
|
632
|
+
"default": [
|
|
633
|
+
"insert",
|
|
634
|
+
"update"
|
|
635
|
+
],
|
|
636
|
+
"description": "Validation contexts"
|
|
637
|
+
},
|
|
638
|
+
"tags": {
|
|
639
|
+
"type": "array",
|
|
640
|
+
"items": {
|
|
641
|
+
"type": "string"
|
|
642
|
+
},
|
|
643
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
644
|
+
},
|
|
333
645
|
"severity": {
|
|
334
646
|
"type": "string",
|
|
335
647
|
"enum": [
|
|
@@ -341,31 +653,27 @@
|
|
|
341
653
|
},
|
|
342
654
|
"message": {
|
|
343
655
|
"type": "string",
|
|
344
|
-
"description": "Error message to display"
|
|
656
|
+
"description": "Error message to display to the user"
|
|
345
657
|
},
|
|
346
658
|
"type": {
|
|
347
659
|
"type": "string",
|
|
348
660
|
"const": "custom"
|
|
349
661
|
},
|
|
350
|
-
"
|
|
662
|
+
"handler": {
|
|
351
663
|
"type": "string",
|
|
352
|
-
"description": "
|
|
353
|
-
},
|
|
354
|
-
"validatorFunction": {
|
|
355
|
-
"type": "string",
|
|
356
|
-
"description": "Function name or reference to custom validator"
|
|
664
|
+
"description": "Name of the custom validation function registered in the system"
|
|
357
665
|
},
|
|
358
666
|
"params": {
|
|
359
667
|
"type": "object",
|
|
360
668
|
"additionalProperties": {},
|
|
361
|
-
"description": "
|
|
669
|
+
"description": "Parameters passed to the custom handler"
|
|
362
670
|
}
|
|
363
671
|
},
|
|
364
672
|
"required": [
|
|
365
673
|
"name",
|
|
366
674
|
"message",
|
|
367
675
|
"type",
|
|
368
|
-
"
|
|
676
|
+
"handler"
|
|
369
677
|
],
|
|
370
678
|
"additionalProperties": false
|
|
371
679
|
},
|
|
@@ -375,12 +683,43 @@
|
|
|
375
683
|
"name": {
|
|
376
684
|
"type": "string",
|
|
377
685
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
378
|
-
"description": "Unique rule name"
|
|
686
|
+
"description": "Unique rule name (snake_case)"
|
|
687
|
+
},
|
|
688
|
+
"label": {
|
|
689
|
+
"type": "string",
|
|
690
|
+
"description": "Human-readable label for the rule listing"
|
|
691
|
+
},
|
|
692
|
+
"description": {
|
|
693
|
+
"type": "string",
|
|
694
|
+
"description": "Administrative notes explaining the business reason"
|
|
379
695
|
},
|
|
380
696
|
"active": {
|
|
381
697
|
"type": "boolean",
|
|
382
698
|
"default": true
|
|
383
699
|
},
|
|
700
|
+
"events": {
|
|
701
|
+
"type": "array",
|
|
702
|
+
"items": {
|
|
703
|
+
"type": "string",
|
|
704
|
+
"enum": [
|
|
705
|
+
"insert",
|
|
706
|
+
"update",
|
|
707
|
+
"delete"
|
|
708
|
+
]
|
|
709
|
+
},
|
|
710
|
+
"default": [
|
|
711
|
+
"insert",
|
|
712
|
+
"update"
|
|
713
|
+
],
|
|
714
|
+
"description": "Validation contexts"
|
|
715
|
+
},
|
|
716
|
+
"tags": {
|
|
717
|
+
"type": "array",
|
|
718
|
+
"items": {
|
|
719
|
+
"type": "string"
|
|
720
|
+
},
|
|
721
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
722
|
+
},
|
|
384
723
|
"severity": {
|
|
385
724
|
"type": "string",
|
|
386
725
|
"enum": [
|
|
@@ -392,7 +731,7 @@
|
|
|
392
731
|
},
|
|
393
732
|
"message": {
|
|
394
733
|
"type": "string",
|
|
395
|
-
"description": "Error message to display"
|
|
734
|
+
"description": "Error message to display to the user"
|
|
396
735
|
},
|
|
397
736
|
"type": {
|
|
398
737
|
"type": "string",
|
|
@@ -410,12 +749,43 @@
|
|
|
410
749
|
"name": {
|
|
411
750
|
"type": "string",
|
|
412
751
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
413
|
-
"description": "Unique rule name"
|
|
752
|
+
"description": "Unique rule name (snake_case)"
|
|
753
|
+
},
|
|
754
|
+
"label": {
|
|
755
|
+
"type": "string",
|
|
756
|
+
"description": "Human-readable label for the rule listing"
|
|
757
|
+
},
|
|
758
|
+
"description": {
|
|
759
|
+
"type": "string",
|
|
760
|
+
"description": "Administrative notes explaining the business reason"
|
|
414
761
|
},
|
|
415
762
|
"active": {
|
|
416
763
|
"type": "boolean",
|
|
417
764
|
"default": true
|
|
418
765
|
},
|
|
766
|
+
"events": {
|
|
767
|
+
"type": "array",
|
|
768
|
+
"items": {
|
|
769
|
+
"type": "string",
|
|
770
|
+
"enum": [
|
|
771
|
+
"insert",
|
|
772
|
+
"update",
|
|
773
|
+
"delete"
|
|
774
|
+
]
|
|
775
|
+
},
|
|
776
|
+
"default": [
|
|
777
|
+
"insert",
|
|
778
|
+
"update"
|
|
779
|
+
],
|
|
780
|
+
"description": "Validation contexts"
|
|
781
|
+
},
|
|
782
|
+
"tags": {
|
|
783
|
+
"type": "array",
|
|
784
|
+
"items": {
|
|
785
|
+
"type": "string"
|
|
786
|
+
},
|
|
787
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
788
|
+
},
|
|
419
789
|
"severity": {
|
|
420
790
|
"type": "string",
|
|
421
791
|
"enum": [
|
|
@@ -427,7 +797,7 @@
|
|
|
427
797
|
},
|
|
428
798
|
"message": {
|
|
429
799
|
"type": "string",
|
|
430
|
-
"description": "Error message to display"
|
|
800
|
+
"description": "Error message to display to the user"
|
|
431
801
|
},
|
|
432
802
|
"type": {
|
|
433
803
|
"type": "string",
|
|
@@ -452,12 +822,43 @@
|
|
|
452
822
|
"name": {
|
|
453
823
|
"type": "string",
|
|
454
824
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
455
|
-
"description": "Unique rule name"
|
|
825
|
+
"description": "Unique rule name (snake_case)"
|
|
826
|
+
},
|
|
827
|
+
"label": {
|
|
828
|
+
"type": "string",
|
|
829
|
+
"description": "Human-readable label for the rule listing"
|
|
830
|
+
},
|
|
831
|
+
"description": {
|
|
832
|
+
"type": "string",
|
|
833
|
+
"description": "Administrative notes explaining the business reason"
|
|
456
834
|
},
|
|
457
835
|
"active": {
|
|
458
836
|
"type": "boolean",
|
|
459
837
|
"default": true
|
|
460
838
|
},
|
|
839
|
+
"events": {
|
|
840
|
+
"type": "array",
|
|
841
|
+
"items": {
|
|
842
|
+
"type": "string",
|
|
843
|
+
"enum": [
|
|
844
|
+
"insert",
|
|
845
|
+
"update",
|
|
846
|
+
"delete"
|
|
847
|
+
]
|
|
848
|
+
},
|
|
849
|
+
"default": [
|
|
850
|
+
"insert",
|
|
851
|
+
"update"
|
|
852
|
+
],
|
|
853
|
+
"description": "Validation contexts"
|
|
854
|
+
},
|
|
855
|
+
"tags": {
|
|
856
|
+
"type": "array",
|
|
857
|
+
"items": {
|
|
858
|
+
"type": "string"
|
|
859
|
+
},
|
|
860
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
861
|
+
},
|
|
461
862
|
"severity": {
|
|
462
863
|
"type": "string",
|
|
463
864
|
"enum": [
|
|
@@ -469,7 +870,7 @@
|
|
|
469
870
|
},
|
|
470
871
|
"message": {
|
|
471
872
|
"type": "string",
|
|
472
|
-
"description": "Error message to display"
|
|
873
|
+
"description": "Error message to display to the user"
|
|
473
874
|
},
|
|
474
875
|
"type": {
|
|
475
876
|
"type": "string",
|
|
@@ -505,12 +906,43 @@
|
|
|
505
906
|
"name": {
|
|
506
907
|
"type": "string",
|
|
507
908
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
508
|
-
"description": "Unique rule name"
|
|
909
|
+
"description": "Unique rule name (snake_case)"
|
|
910
|
+
},
|
|
911
|
+
"label": {
|
|
912
|
+
"type": "string",
|
|
913
|
+
"description": "Human-readable label for the rule listing"
|
|
914
|
+
},
|
|
915
|
+
"description": {
|
|
916
|
+
"type": "string",
|
|
917
|
+
"description": "Administrative notes explaining the business reason"
|
|
509
918
|
},
|
|
510
919
|
"active": {
|
|
511
920
|
"type": "boolean",
|
|
512
921
|
"default": true
|
|
513
922
|
},
|
|
923
|
+
"events": {
|
|
924
|
+
"type": "array",
|
|
925
|
+
"items": {
|
|
926
|
+
"type": "string",
|
|
927
|
+
"enum": [
|
|
928
|
+
"insert",
|
|
929
|
+
"update",
|
|
930
|
+
"delete"
|
|
931
|
+
]
|
|
932
|
+
},
|
|
933
|
+
"default": [
|
|
934
|
+
"insert",
|
|
935
|
+
"update"
|
|
936
|
+
],
|
|
937
|
+
"description": "Validation contexts"
|
|
938
|
+
},
|
|
939
|
+
"tags": {
|
|
940
|
+
"type": "array",
|
|
941
|
+
"items": {
|
|
942
|
+
"type": "string"
|
|
943
|
+
},
|
|
944
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
945
|
+
},
|
|
514
946
|
"severity": {
|
|
515
947
|
"type": "string",
|
|
516
948
|
"enum": [
|
|
@@ -522,7 +954,7 @@
|
|
|
522
954
|
},
|
|
523
955
|
"message": {
|
|
524
956
|
"type": "string",
|
|
525
|
-
"description": "Error message to display"
|
|
957
|
+
"description": "Error message to display to the user"
|
|
526
958
|
},
|
|
527
959
|
"type": {
|
|
528
960
|
"type": "string",
|
|
@@ -558,12 +990,43 @@
|
|
|
558
990
|
"name": {
|
|
559
991
|
"type": "string",
|
|
560
992
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
561
|
-
"description": "Unique rule name"
|
|
993
|
+
"description": "Unique rule name (snake_case)"
|
|
994
|
+
},
|
|
995
|
+
"label": {
|
|
996
|
+
"type": "string",
|
|
997
|
+
"description": "Human-readable label for the rule listing"
|
|
998
|
+
},
|
|
999
|
+
"description": {
|
|
1000
|
+
"type": "string",
|
|
1001
|
+
"description": "Administrative notes explaining the business reason"
|
|
562
1002
|
},
|
|
563
1003
|
"active": {
|
|
564
1004
|
"type": "boolean",
|
|
565
1005
|
"default": true
|
|
566
1006
|
},
|
|
1007
|
+
"events": {
|
|
1008
|
+
"type": "array",
|
|
1009
|
+
"items": {
|
|
1010
|
+
"type": "string",
|
|
1011
|
+
"enum": [
|
|
1012
|
+
"insert",
|
|
1013
|
+
"update",
|
|
1014
|
+
"delete"
|
|
1015
|
+
]
|
|
1016
|
+
},
|
|
1017
|
+
"default": [
|
|
1018
|
+
"insert",
|
|
1019
|
+
"update"
|
|
1020
|
+
],
|
|
1021
|
+
"description": "Validation contexts"
|
|
1022
|
+
},
|
|
1023
|
+
"tags": {
|
|
1024
|
+
"type": "array",
|
|
1025
|
+
"items": {
|
|
1026
|
+
"type": "string"
|
|
1027
|
+
},
|
|
1028
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
1029
|
+
},
|
|
567
1030
|
"severity": {
|
|
568
1031
|
"type": "string",
|
|
569
1032
|
"enum": [
|
|
@@ -575,7 +1038,7 @@
|
|
|
575
1038
|
},
|
|
576
1039
|
"message": {
|
|
577
1040
|
"type": "string",
|
|
578
|
-
"description": "Error message to display"
|
|
1041
|
+
"description": "Error message to display to the user"
|
|
579
1042
|
},
|
|
580
1043
|
"type": {
|
|
581
1044
|
"type": "string",
|
|
@@ -611,12 +1074,43 @@
|
|
|
611
1074
|
"name": {
|
|
612
1075
|
"type": "string",
|
|
613
1076
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
614
|
-
"description": "Unique rule name"
|
|
1077
|
+
"description": "Unique rule name (snake_case)"
|
|
1078
|
+
},
|
|
1079
|
+
"label": {
|
|
1080
|
+
"type": "string",
|
|
1081
|
+
"description": "Human-readable label for the rule listing"
|
|
1082
|
+
},
|
|
1083
|
+
"description": {
|
|
1084
|
+
"type": "string",
|
|
1085
|
+
"description": "Administrative notes explaining the business reason"
|
|
615
1086
|
},
|
|
616
1087
|
"active": {
|
|
617
1088
|
"type": "boolean",
|
|
618
1089
|
"default": true
|
|
619
1090
|
},
|
|
1091
|
+
"events": {
|
|
1092
|
+
"type": "array",
|
|
1093
|
+
"items": {
|
|
1094
|
+
"type": "string",
|
|
1095
|
+
"enum": [
|
|
1096
|
+
"insert",
|
|
1097
|
+
"update",
|
|
1098
|
+
"delete"
|
|
1099
|
+
]
|
|
1100
|
+
},
|
|
1101
|
+
"default": [
|
|
1102
|
+
"insert",
|
|
1103
|
+
"update"
|
|
1104
|
+
],
|
|
1105
|
+
"description": "Validation contexts"
|
|
1106
|
+
},
|
|
1107
|
+
"tags": {
|
|
1108
|
+
"type": "array",
|
|
1109
|
+
"items": {
|
|
1110
|
+
"type": "string"
|
|
1111
|
+
},
|
|
1112
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
1113
|
+
},
|
|
620
1114
|
"severity": {
|
|
621
1115
|
"type": "string",
|
|
622
1116
|
"enum": [
|
|
@@ -628,7 +1122,7 @@
|
|
|
628
1122
|
},
|
|
629
1123
|
"message": {
|
|
630
1124
|
"type": "string",
|
|
631
|
-
"description": "Error message to display"
|
|
1125
|
+
"description": "Error message to display to the user"
|
|
632
1126
|
},
|
|
633
1127
|
"type": {
|
|
634
1128
|
"type": "string",
|
|
@@ -661,12 +1155,122 @@
|
|
|
661
1155
|
"name": {
|
|
662
1156
|
"type": "string",
|
|
663
1157
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
664
|
-
"description": "Unique rule name"
|
|
1158
|
+
"description": "Unique rule name (snake_case)"
|
|
1159
|
+
},
|
|
1160
|
+
"label": {
|
|
1161
|
+
"type": "string",
|
|
1162
|
+
"description": "Human-readable label for the rule listing"
|
|
1163
|
+
},
|
|
1164
|
+
"description": {
|
|
1165
|
+
"type": "string",
|
|
1166
|
+
"description": "Administrative notes explaining the business reason"
|
|
665
1167
|
},
|
|
666
1168
|
"active": {
|
|
667
1169
|
"type": "boolean",
|
|
668
1170
|
"default": true
|
|
669
1171
|
},
|
|
1172
|
+
"events": {
|
|
1173
|
+
"type": "array",
|
|
1174
|
+
"items": {
|
|
1175
|
+
"type": "string",
|
|
1176
|
+
"enum": [
|
|
1177
|
+
"insert",
|
|
1178
|
+
"update",
|
|
1179
|
+
"delete"
|
|
1180
|
+
]
|
|
1181
|
+
},
|
|
1182
|
+
"default": [
|
|
1183
|
+
"insert",
|
|
1184
|
+
"update"
|
|
1185
|
+
],
|
|
1186
|
+
"description": "Validation contexts"
|
|
1187
|
+
},
|
|
1188
|
+
"tags": {
|
|
1189
|
+
"type": "array",
|
|
1190
|
+
"items": {
|
|
1191
|
+
"type": "string"
|
|
1192
|
+
},
|
|
1193
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
1194
|
+
},
|
|
1195
|
+
"severity": {
|
|
1196
|
+
"type": "string",
|
|
1197
|
+
"enum": [
|
|
1198
|
+
"error",
|
|
1199
|
+
"warning",
|
|
1200
|
+
"info"
|
|
1201
|
+
],
|
|
1202
|
+
"default": "error"
|
|
1203
|
+
},
|
|
1204
|
+
"message": {
|
|
1205
|
+
"type": "string",
|
|
1206
|
+
"description": "Error message to display to the user"
|
|
1207
|
+
},
|
|
1208
|
+
"type": {
|
|
1209
|
+
"type": "string",
|
|
1210
|
+
"const": "json_schema"
|
|
1211
|
+
},
|
|
1212
|
+
"field": {
|
|
1213
|
+
"type": "string",
|
|
1214
|
+
"description": "JSON field to validate"
|
|
1215
|
+
},
|
|
1216
|
+
"schema": {
|
|
1217
|
+
"type": "object",
|
|
1218
|
+
"additionalProperties": {},
|
|
1219
|
+
"description": "JSON Schema object definition"
|
|
1220
|
+
}
|
|
1221
|
+
},
|
|
1222
|
+
"required": [
|
|
1223
|
+
"name",
|
|
1224
|
+
"message",
|
|
1225
|
+
"type",
|
|
1226
|
+
"field",
|
|
1227
|
+
"schema"
|
|
1228
|
+
],
|
|
1229
|
+
"additionalProperties": false
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
"type": "object",
|
|
1233
|
+
"properties": {
|
|
1234
|
+
"name": {
|
|
1235
|
+
"type": "string",
|
|
1236
|
+
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
1237
|
+
"description": "Unique rule name (snake_case)"
|
|
1238
|
+
},
|
|
1239
|
+
"label": {
|
|
1240
|
+
"type": "string",
|
|
1241
|
+
"description": "Human-readable label for the rule listing"
|
|
1242
|
+
},
|
|
1243
|
+
"description": {
|
|
1244
|
+
"type": "string",
|
|
1245
|
+
"description": "Administrative notes explaining the business reason"
|
|
1246
|
+
},
|
|
1247
|
+
"active": {
|
|
1248
|
+
"type": "boolean",
|
|
1249
|
+
"default": true
|
|
1250
|
+
},
|
|
1251
|
+
"events": {
|
|
1252
|
+
"type": "array",
|
|
1253
|
+
"items": {
|
|
1254
|
+
"type": "string",
|
|
1255
|
+
"enum": [
|
|
1256
|
+
"insert",
|
|
1257
|
+
"update",
|
|
1258
|
+
"delete"
|
|
1259
|
+
]
|
|
1260
|
+
},
|
|
1261
|
+
"default": [
|
|
1262
|
+
"insert",
|
|
1263
|
+
"update"
|
|
1264
|
+
],
|
|
1265
|
+
"description": "Validation contexts"
|
|
1266
|
+
},
|
|
1267
|
+
"tags": {
|
|
1268
|
+
"type": "array",
|
|
1269
|
+
"items": {
|
|
1270
|
+
"type": "string"
|
|
1271
|
+
},
|
|
1272
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
1273
|
+
},
|
|
670
1274
|
"severity": {
|
|
671
1275
|
"type": "string",
|
|
672
1276
|
"enum": [
|
|
@@ -678,7 +1282,7 @@
|
|
|
678
1282
|
},
|
|
679
1283
|
"message": {
|
|
680
1284
|
"type": "string",
|
|
681
|
-
"description": "Error message to display"
|
|
1285
|
+
"description": "Error message to display to the user"
|
|
682
1286
|
},
|
|
683
1287
|
"type": {
|
|
684
1288
|
"type": "string",
|
|
@@ -692,6 +1296,22 @@
|
|
|
692
1296
|
"type": "string",
|
|
693
1297
|
"description": "External API endpoint for validation"
|
|
694
1298
|
},
|
|
1299
|
+
"method": {
|
|
1300
|
+
"type": "string",
|
|
1301
|
+
"enum": [
|
|
1302
|
+
"GET",
|
|
1303
|
+
"POST"
|
|
1304
|
+
],
|
|
1305
|
+
"default": "GET",
|
|
1306
|
+
"description": "HTTP method for external call"
|
|
1307
|
+
},
|
|
1308
|
+
"headers": {
|
|
1309
|
+
"type": "object",
|
|
1310
|
+
"additionalProperties": {
|
|
1311
|
+
"type": "string"
|
|
1312
|
+
},
|
|
1313
|
+
"description": "Custom headers for the request"
|
|
1314
|
+
},
|
|
695
1315
|
"validatorFunction": {
|
|
696
1316
|
"type": "string",
|
|
697
1317
|
"description": "Reference to custom validator function"
|
|
@@ -725,12 +1345,43 @@
|
|
|
725
1345
|
"name": {
|
|
726
1346
|
"type": "string",
|
|
727
1347
|
"pattern": "^[a-z_][a-z0-9_]*$",
|
|
728
|
-
"description": "Unique rule name"
|
|
1348
|
+
"description": "Unique rule name (snake_case)"
|
|
1349
|
+
},
|
|
1350
|
+
"label": {
|
|
1351
|
+
"type": "string",
|
|
1352
|
+
"description": "Human-readable label for the rule listing"
|
|
1353
|
+
},
|
|
1354
|
+
"description": {
|
|
1355
|
+
"type": "string",
|
|
1356
|
+
"description": "Administrative notes explaining the business reason"
|
|
729
1357
|
},
|
|
730
1358
|
"active": {
|
|
731
1359
|
"type": "boolean",
|
|
732
1360
|
"default": true
|
|
733
1361
|
},
|
|
1362
|
+
"events": {
|
|
1363
|
+
"type": "array",
|
|
1364
|
+
"items": {
|
|
1365
|
+
"type": "string",
|
|
1366
|
+
"enum": [
|
|
1367
|
+
"insert",
|
|
1368
|
+
"update",
|
|
1369
|
+
"delete"
|
|
1370
|
+
]
|
|
1371
|
+
},
|
|
1372
|
+
"default": [
|
|
1373
|
+
"insert",
|
|
1374
|
+
"update"
|
|
1375
|
+
],
|
|
1376
|
+
"description": "Validation contexts"
|
|
1377
|
+
},
|
|
1378
|
+
"tags": {
|
|
1379
|
+
"type": "array",
|
|
1380
|
+
"items": {
|
|
1381
|
+
"type": "string"
|
|
1382
|
+
},
|
|
1383
|
+
"description": "Categorization tags (e.g., \"compliance\", \"billing\")"
|
|
1384
|
+
},
|
|
734
1385
|
"severity": {
|
|
735
1386
|
"type": "string",
|
|
736
1387
|
"enum": [
|
|
@@ -742,31 +1393,27 @@
|
|
|
742
1393
|
},
|
|
743
1394
|
"message": {
|
|
744
1395
|
"type": "string",
|
|
745
|
-
"description": "Error message to display"
|
|
1396
|
+
"description": "Error message to display to the user"
|
|
746
1397
|
},
|
|
747
1398
|
"type": {
|
|
748
1399
|
"type": "string",
|
|
749
1400
|
"const": "custom"
|
|
750
1401
|
},
|
|
751
|
-
"
|
|
752
|
-
"type": "string",
|
|
753
|
-
"description": "Field to validate (optional for record-level validation)"
|
|
754
|
-
},
|
|
755
|
-
"validatorFunction": {
|
|
1402
|
+
"handler": {
|
|
756
1403
|
"type": "string",
|
|
757
|
-
"description": "
|
|
1404
|
+
"description": "Name of the custom validation function registered in the system"
|
|
758
1405
|
},
|
|
759
1406
|
"params": {
|
|
760
1407
|
"type": "object",
|
|
761
1408
|
"additionalProperties": {},
|
|
762
|
-
"description": "
|
|
1409
|
+
"description": "Parameters passed to the custom handler"
|
|
763
1410
|
}
|
|
764
1411
|
},
|
|
765
1412
|
"required": [
|
|
766
1413
|
"name",
|
|
767
1414
|
"message",
|
|
768
1415
|
"type",
|
|
769
|
-
"
|
|
1416
|
+
"handler"
|
|
770
1417
|
],
|
|
771
1418
|
"additionalProperties": false
|
|
772
1419
|
},
|