@objectstack/spec 2.0.5 → 2.0.7
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/dist/ai/index.d.mts +1 -1
- package/dist/ai/index.d.ts +1 -1
- package/dist/ai/index.js +230 -3
- package/dist/ai/index.js.map +1 -1
- package/dist/ai/index.mjs +218 -3
- package/dist/ai/index.mjs.map +1 -1
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.js +3409 -2841
- package/dist/api/index.js.map +1 -1
- package/dist/api/index.mjs +3386 -2841
- package/dist/api/index.mjs.map +1 -1
- package/dist/automation/index.d.mts +1 -1
- package/dist/automation/index.d.ts +1 -1
- package/dist/contracts/index.d.mts +2 -2
- package/dist/contracts/index.d.ts +2 -2
- package/dist/contracts/index.js.map +1 -1
- package/dist/data/index.d.mts +2 -2
- package/dist/data/index.d.ts +2 -2
- package/dist/data/index.js +58 -1
- package/dist/data/index.js.map +1 -1
- package/dist/data/index.mjs +58 -1
- package/dist/data/index.mjs.map +1 -1
- package/dist/{driver.zod-E3C6n0W-.d.ts → driver.zod-B3Q0oLlF.d.ts} +1 -1
- package/dist/{driver.zod-DnOPgUGi.d.mts → driver.zod-Bf2z72WQ.d.mts} +1 -1
- package/dist/{index-DyawwLFZ.d.ts → index-B3C8s_DZ.d.ts} +307 -29
- package/dist/{index-DTCkpGMm.d.mts → index-BliYpI46.d.mts} +879 -52
- package/dist/{index-BbtSaxHm.d.ts → index-BpE_xfkc.d.ts} +3289 -229
- package/dist/{index-E1mP_eoE.d.mts → index-C3cFLYII.d.mts} +307 -29
- package/dist/{index-BpP0MwlW.d.ts → index-CXtgLAue.d.ts} +879 -52
- package/dist/{index-D-tf4nDV.d.mts → index-CYbdd-mL.d.mts} +27 -1
- package/dist/index-CeUUI-ym.d.mts +2102 -0
- package/dist/{index-BPhGHW32.d.ts → index-CfvdYFyf.d.ts} +27 -1
- package/dist/{index-CDN6TRx9.d.mts → index-ClHj1Tbo.d.mts} +71 -2
- package/dist/{index-CDN6TRx9.d.ts → index-ClHj1Tbo.d.ts} +71 -2
- package/dist/index-CmY8tgpL.d.ts +2102 -0
- package/dist/{index-DRCh2NTZ.d.mts → index-CqDMk0T6.d.mts} +3289 -229
- package/dist/{index-d9wYlv-g.d.ts → index-DNKiU_-x.d.mts} +684 -18
- package/dist/{index-d9wYlv-g.d.mts → index-DNKiU_-x.d.ts} +684 -18
- package/dist/{index-CisfSmuF.d.ts → index-Dm4UfDKG.d.ts} +451 -19
- package/dist/index-KhvhiesR.d.mts +6902 -0
- package/dist/{index-BV0xBoer.d.mts → index-Onf8hbkX.d.mts} +451 -19
- package/dist/index-OqCqQSaH.d.ts +6902 -0
- package/dist/index.d.mts +2519 -222
- package/dist/index.d.ts +2519 -222
- package/dist/index.js +9957 -8069
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9957 -8069
- package/dist/index.mjs.map +1 -1
- package/dist/integration/index.d.mts +1 -1
- package/dist/integration/index.d.ts +1 -1
- package/dist/integration/index.js +67 -0
- package/dist/integration/index.js.map +1 -1
- package/dist/integration/index.mjs +61 -0
- package/dist/integration/index.mjs.map +1 -1
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/index.d.ts +2 -2
- package/dist/kernel/index.js +1698 -1474
- package/dist/kernel/index.js.map +1 -1
- package/dist/kernel/index.mjs +1690 -1474
- package/dist/kernel/index.mjs.map +1 -1
- package/dist/{package-registry.zod-CbS9FKeH.d.mts → package-registry.zod-BJQSiICj.d.mts} +78 -43
- package/dist/{package-registry.zod-CbS9FKeH.d.ts → package-registry.zod-BJQSiICj.d.ts} +78 -43
- package/dist/security/index.d.mts +1 -1
- package/dist/security/index.d.ts +1 -1
- package/dist/security/index.js +47 -1
- package/dist/security/index.js.map +1 -1
- package/dist/security/index.mjs +45 -1
- package/dist/security/index.mjs.map +1 -1
- package/dist/system/index.d.mts +1 -1
- package/dist/system/index.d.ts +1 -1
- package/dist/system/index.js +2189 -1821
- package/dist/system/index.js.map +1 -1
- package/dist/system/index.mjs +2168 -1821
- package/dist/system/index.mjs.map +1 -1
- package/dist/ui/index.d.mts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +1414 -767
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +1354 -767
- package/dist/ui/index.mjs.map +1 -1
- package/json-schema/ai/Agent.json +203 -0
- package/json-schema/ai/AgentCommunicationProtocol.json +9 -0
- package/json-schema/ai/AgentGroupMember.json +45 -0
- package/json-schema/ai/AgentGroupRole.json +10 -0
- package/json-schema/ai/DevOpsAgent.json +203 -0
- package/json-schema/ai/MCPClientConfig.json +168 -0
- package/json-schema/ai/MCPRootEntry.json +23 -0
- package/json-schema/ai/MCPRootsConfig.json +49 -0
- package/json-schema/ai/MCPSamplingConfig.json +46 -0
- package/json-schema/ai/MCPServerConfig.json +120 -0
- package/json-schema/ai/MCPStreamingConfig.json +38 -0
- package/json-schema/ai/MCPToolApproval.json +39 -0
- package/json-schema/ai/MultiAgentGroup.json +137 -0
- package/json-schema/ai/StructuredOutputConfig.json +75 -0
- package/json-schema/ai/StructuredOutputFormat.json +12 -0
- package/json-schema/ai/TransformPipelineStep.json +11 -0
- package/json-schema/api/AppDefinitionResponse.json +285 -7
- package/json-schema/api/BasePresence.json +40 -0
- package/json-schema/api/BatchLoadingStrategy.json +40 -0
- package/json-schema/api/Callback.json +39 -0
- package/json-schema/api/DataLoaderConfig.json +55 -0
- package/json-schema/api/DisablePackageResponse.json +26 -0
- package/json-schema/api/Discovery.json +4 -62
- package/json-schema/api/EnablePackageResponse.json +26 -0
- package/json-schema/api/FederationEntity.json +110 -0
- package/json-schema/api/FederationEntityKey.json +20 -0
- package/json-schema/api/FederationExternalField.json +18 -0
- package/json-schema/api/FederationGateway.json +327 -0
- package/json-schema/api/FederationProvides.json +19 -0
- package/json-schema/api/FederationRequires.json +19 -0
- package/json-schema/api/GetDiscoveryResponse.json +1 -60
- package/json-schema/api/GetPackageResponse.json +26 -0
- package/json-schema/api/GraphQLConfig.json +327 -0
- package/json-schema/api/GraphQLQueryAdapter.json +84 -0
- package/json-schema/api/InstallPackageRequest.json +26 -0
- package/json-schema/api/InstallPackageResponse.json +26 -0
- package/json-schema/api/ListPackagesResponse.json +26 -0
- package/json-schema/api/ODataQueryAdapter.json +66 -0
- package/json-schema/api/OpenApi31Extensions.json +139 -0
- package/json-schema/api/OperatorMapping.json +26 -0
- package/json-schema/api/PresenceStatus.json +10 -0
- package/json-schema/api/QueryAdapterConfig.json +272 -0
- package/json-schema/api/QueryAdapterTarget.json +9 -0
- package/json-schema/api/QueryOptimizationConfig.json +126 -0
- package/json-schema/api/RealtimeRecordAction.json +9 -0
- package/json-schema/api/RestQueryAdapter.json +86 -0
- package/json-schema/api/RestServerConfig.json +139 -0
- package/json-schema/api/SubgraphConfig.json +183 -0
- package/json-schema/api/WebhookConfig.json +129 -0
- package/json-schema/api/WebhookEvent.json +64 -0
- package/json-schema/data/ExternalLookup.json +128 -0
- package/json-schema/identity/SCIMBulkOperation.json +41 -0
- package/json-schema/identity/SCIMBulkRequest.json +73 -0
- package/json-schema/identity/SCIMBulkResponse.json +61 -0
- package/json-schema/identity/SCIMBulkResponseOperation.json +36 -0
- package/json-schema/integration/CircuitBreakerConfig.json +49 -0
- package/json-schema/integration/Connector.json +223 -0
- package/json-schema/integration/ConnectorHealth.json +113 -0
- package/json-schema/integration/DatabaseConnector.json +223 -0
- package/json-schema/integration/ErrorCategory.json +15 -0
- package/json-schema/integration/ErrorMappingConfig.json +112 -0
- package/json-schema/integration/ErrorMappingRule.json +66 -0
- package/json-schema/integration/FileStorageConnector.json +223 -0
- package/json-schema/integration/GitHubConnector.json +223 -0
- package/json-schema/integration/HealthCheckConfig.json +58 -0
- package/json-schema/integration/MessageQueueConnector.json +223 -0
- package/json-schema/integration/SaasConnector.json +223 -0
- package/json-schema/integration/VercelConnector.json +223 -0
- package/json-schema/kernel/CLICommandContribution.json +23 -0
- package/json-schema/kernel/CLIExtensionExport.json +22 -0
- package/json-schema/kernel/DevFixtureConfig.json +35 -0
- package/json-schema/kernel/DevPluginConfig.json +170 -0
- package/json-schema/kernel/DevPluginPreset.json +10 -0
- package/json-schema/kernel/DevServiceOverride.json +41 -0
- package/json-schema/kernel/DevToolsConfig.json +45 -0
- package/json-schema/kernel/DisablePackageResponse.json +26 -0
- package/json-schema/kernel/EnablePackageResponse.json +26 -0
- package/json-schema/kernel/GetPackageResponse.json +26 -0
- package/json-schema/kernel/InstallPackageRequest.json +26 -0
- package/json-schema/kernel/InstallPackageResponse.json +26 -0
- package/json-schema/kernel/InstalledPackage.json +26 -0
- package/json-schema/kernel/ListPackagesResponse.json +26 -0
- package/json-schema/kernel/Manifest.json +26 -0
- package/json-schema/kernel/MetadataFallbackStrategy.json +9 -0
- package/json-schema/kernel/MetadataLoaderContract.json +7 -0
- package/json-schema/kernel/MetadataManagerConfig.json +21 -0
- package/json-schema/security/RLSAuditConfig.json +62 -0
- package/json-schema/security/RLSAuditEvent.json +66 -0
- package/json-schema/security/RLSConfig.json +62 -0
- package/json-schema/system/AuthConfig.json +83 -0
- package/json-schema/system/BackupConfig.json +148 -0
- package/json-schema/system/BackupRetention.json +27 -0
- package/json-schema/system/BackupStrategy.json +10 -0
- package/json-schema/system/CacheAvalanchePrevention.json +77 -0
- package/json-schema/system/CacheConsistency.json +11 -0
- package/json-schema/system/CacheWarmup.json +44 -0
- package/json-schema/system/ComplianceAuditRequirement.json +43 -0
- package/json-schema/system/ComplianceEncryptionRequirement.json +58 -0
- package/json-schema/system/DataClassificationPolicy.json +46 -0
- package/json-schema/system/DisasterRecoveryPlan.json +414 -0
- package/json-schema/system/DistributedCacheConfig.json +269 -0
- package/json-schema/system/FailoverConfig.json +102 -0
- package/json-schema/system/FailoverMode.json +11 -0
- package/json-schema/system/MaskingVisibilityRule.json +56 -0
- package/json-schema/system/MetadataFallbackStrategy.json +9 -0
- package/json-schema/system/MetadataLoaderContract.json +9 -1
- package/json-schema/system/MetadataManagerConfig.json +52 -11
- package/json-schema/system/MetadataRecord.json +32 -1
- package/json-schema/system/MetadataSource.json +10 -0
- package/json-schema/system/MutualTLSConfig.json +83 -0
- package/json-schema/system/RPO.json +27 -0
- package/json-schema/system/RTO.json +27 -0
- package/json-schema/system/SecurityContextConfig.json +288 -0
- package/json-schema/system/SecurityEventCorrelation.json +40 -0
- package/json-schema/ui/Action.json +200 -5
- package/json-schema/ui/ActionParam.json +62 -2
- package/json-schema/ui/AnimationTrigger.json +14 -0
- package/json-schema/ui/App.json +285 -7
- package/json-schema/ui/AriaProps.json +49 -0
- package/json-schema/ui/BreakpointColumnMap.json +38 -0
- package/json-schema/ui/BreakpointName.json +12 -0
- package/json-schema/ui/BreakpointOrderMap.json +26 -0
- package/json-schema/ui/ChartAnnotation.json +31 -1
- package/json-schema/ui/ChartAxis.json +30 -1
- package/json-schema/ui/ChartConfig.json +259 -7
- package/json-schema/ui/ChartSeries.json +30 -1
- package/json-schema/ui/ColumnSummary.json +18 -0
- package/json-schema/ui/ComponentAnimation.json +246 -0
- package/json-schema/ui/ConflictResolution.json +11 -0
- package/json-schema/ui/Dashboard.json +627 -11
- package/json-schema/ui/DashboardNavItem.json +30 -1
- package/json-schema/ui/DashboardWidget.json +433 -8
- package/json-schema/ui/DateFormat.json +36 -0
- package/json-schema/ui/DensityMode.json +9 -0
- package/json-schema/ui/DndConfig.json +306 -0
- package/json-schema/ui/DragConstraint.json +44 -0
- package/json-schema/ui/DragHandle.json +10 -0
- package/json-schema/ui/DragItem.json +160 -0
- package/json-schema/ui/DropEffect.json +11 -0
- package/json-schema/ui/DropZone.json +114 -0
- package/json-schema/ui/EasingFunction.json +13 -0
- package/json-schema/ui/EvictionPolicy.json +10 -0
- package/json-schema/ui/FocusManagement.json +69 -0
- package/json-schema/ui/FocusTrapConfig.json +32 -0
- package/json-schema/ui/FormField.json +90 -3
- package/json-schema/ui/GalleryConfig.json +46 -0
- package/json-schema/ui/GestureConfig.json +128 -0
- package/json-schema/ui/GestureType.json +14 -0
- package/json-schema/ui/GroupNavItem.json +30 -1
- package/json-schema/ui/GroupingConfig.json +45 -0
- package/json-schema/ui/GroupingField.json +30 -0
- package/json-schema/ui/I18nLabel.json +34 -0
- package/json-schema/ui/I18nObject.json +26 -0
- package/json-schema/ui/KeyboardNavigationConfig.json +194 -0
- package/json-schema/ui/KeyboardShortcut.json +66 -0
- package/json-schema/ui/ListColumn.json +55 -1
- package/json-schema/ui/ListView.json +435 -4
- package/json-schema/ui/LocaleConfig.json +108 -0
- package/json-schema/ui/LongPressGestureConfig.json +20 -0
- package/json-schema/ui/MotionConfig.json +405 -0
- package/json-schema/ui/NavigationItem.json +150 -5
- package/json-schema/ui/Notification.json +232 -0
- package/json-schema/ui/NotificationAction.json +60 -0
- package/json-schema/ui/NotificationConfig.json +52 -0
- package/json-schema/ui/NotificationPosition.json +13 -0
- package/json-schema/ui/NotificationSeverity.json +11 -0
- package/json-schema/ui/NotificationType.json +12 -0
- package/json-schema/ui/NumberFormat.json +42 -0
- package/json-schema/ui/ObjectNavItem.json +30 -1
- package/json-schema/ui/OfflineCacheConfig.json +40 -0
- package/json-schema/ui/OfflineConfig.json +157 -0
- package/json-schema/ui/OfflineStrategy.json +12 -0
- package/json-schema/ui/Page.json +285 -3
- package/json-schema/ui/PageCardProps.json +79 -1
- package/json-schema/ui/PageComponent.json +175 -1
- package/json-schema/ui/PageHeaderProps.json +108 -2
- package/json-schema/ui/PageNavItem.json +30 -1
- package/json-schema/ui/PageRegion.json +175 -1
- package/json-schema/ui/PageTabsProps.json +79 -1
- package/json-schema/ui/PageTransition.json +53 -0
- package/json-schema/ui/PerformanceConfig.json +57 -0
- package/json-schema/ui/PersistStorage.json +10 -0
- package/json-schema/ui/PinchGestureConfig.json +16 -0
- package/json-schema/ui/PluralRule.json +40 -0
- package/json-schema/ui/Report.json +490 -8
- package/json-schema/ui/ReportChart.json +199 -5
- package/json-schema/ui/ReportColumn.json +126 -1
- package/json-schema/ui/ResponsiveConfig.json +97 -0
- package/json-schema/ui/RowColorConfig.json +25 -0
- package/json-schema/ui/RowHeight.json +12 -0
- package/json-schema/ui/SwipeDirection.json +10 -0
- package/json-schema/ui/SwipeGestureConfig.json +32 -0
- package/json-schema/ui/SyncConfig.json +47 -0
- package/json-schema/ui/Theme.json +137 -0
- package/json-schema/ui/TimelineConfig.json +46 -0
- package/json-schema/ui/TouchInteraction.json +232 -0
- package/json-schema/ui/TouchTargetConfig.json +49 -0
- package/json-schema/ui/TransitionConfig.json +47 -0
- package/json-schema/ui/TransitionPreset.json +16 -0
- package/json-schema/ui/UrlNavItem.json +30 -1
- package/json-schema/ui/ViewSharing.json +24 -0
- package/json-schema/ui/WcagContrastLevel.json +8 -0
- package/json-schema/ui/WidgetEvent.json +60 -2
- package/json-schema/ui/WidgetManifest.json +284 -6
- package/json-schema/ui/WidgetProperty.json +60 -2
- package/package.json +1 -1
- package/dist/index-C6p-2KXV.d.ts +0 -767
- package/dist/index-CVnGe2b8.d.mts +0 -767
- package/dist/index-CZjkpp75.d.mts +0 -3867
- package/dist/index-CgkjUheS.d.ts +0 -3867
- package/dist/{index-B08s7rEU.d.mts → index-DmhxH5jy.d.mts} +8 -8
- package/dist/{index-DqnBqATx.d.ts → index-y5JJvyML.d.ts} +8 -8
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"classification": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"enum": [
|
|
8
|
+
"pii",
|
|
9
|
+
"phi",
|
|
10
|
+
"pci",
|
|
11
|
+
"financial",
|
|
12
|
+
"confidential",
|
|
13
|
+
"internal",
|
|
14
|
+
"public"
|
|
15
|
+
],
|
|
16
|
+
"description": "Data classification level"
|
|
17
|
+
},
|
|
18
|
+
"requireEncryption": {
|
|
19
|
+
"default": false,
|
|
20
|
+
"description": "Encryption required for this classification",
|
|
21
|
+
"type": "boolean"
|
|
22
|
+
},
|
|
23
|
+
"requireMasking": {
|
|
24
|
+
"default": false,
|
|
25
|
+
"description": "Masking required for this classification",
|
|
26
|
+
"type": "boolean"
|
|
27
|
+
},
|
|
28
|
+
"requireAudit": {
|
|
29
|
+
"default": false,
|
|
30
|
+
"description": "Audit trail required for access to this classification",
|
|
31
|
+
"type": "boolean"
|
|
32
|
+
},
|
|
33
|
+
"retentionDays": {
|
|
34
|
+
"description": "Data retention limit in days (for compliance)",
|
|
35
|
+
"type": "number"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": [
|
|
39
|
+
"classification",
|
|
40
|
+
"requireEncryption",
|
|
41
|
+
"requireMasking",
|
|
42
|
+
"requireAudit"
|
|
43
|
+
],
|
|
44
|
+
"additionalProperties": false,
|
|
45
|
+
"description": "Security policy for a specific data classification level"
|
|
46
|
+
}
|
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"enabled": {
|
|
6
|
+
"default": false,
|
|
7
|
+
"description": "Enable disaster recovery plan",
|
|
8
|
+
"type": "boolean"
|
|
9
|
+
},
|
|
10
|
+
"rpo": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"value": {
|
|
14
|
+
"type": "number",
|
|
15
|
+
"minimum": 0,
|
|
16
|
+
"description": "RPO value"
|
|
17
|
+
},
|
|
18
|
+
"unit": {
|
|
19
|
+
"default": "minutes",
|
|
20
|
+
"description": "RPO time unit",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"enum": [
|
|
23
|
+
"seconds",
|
|
24
|
+
"minutes",
|
|
25
|
+
"hours"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"required": [
|
|
30
|
+
"value",
|
|
31
|
+
"unit"
|
|
32
|
+
],
|
|
33
|
+
"additionalProperties": false,
|
|
34
|
+
"description": "Recovery Point Objective"
|
|
35
|
+
},
|
|
36
|
+
"rto": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"value": {
|
|
40
|
+
"type": "number",
|
|
41
|
+
"minimum": 0,
|
|
42
|
+
"description": "RTO value"
|
|
43
|
+
},
|
|
44
|
+
"unit": {
|
|
45
|
+
"default": "minutes",
|
|
46
|
+
"description": "RTO time unit",
|
|
47
|
+
"type": "string",
|
|
48
|
+
"enum": [
|
|
49
|
+
"seconds",
|
|
50
|
+
"minutes",
|
|
51
|
+
"hours"
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": [
|
|
56
|
+
"value",
|
|
57
|
+
"unit"
|
|
58
|
+
],
|
|
59
|
+
"additionalProperties": false,
|
|
60
|
+
"description": "Recovery Time Objective"
|
|
61
|
+
},
|
|
62
|
+
"backup": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"properties": {
|
|
65
|
+
"strategy": {
|
|
66
|
+
"default": "incremental",
|
|
67
|
+
"description": "Backup strategy",
|
|
68
|
+
"type": "string",
|
|
69
|
+
"enum": [
|
|
70
|
+
"full",
|
|
71
|
+
"incremental",
|
|
72
|
+
"differential"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"schedule": {
|
|
76
|
+
"description": "Cron expression for backup schedule (e.g., \"0 2 * * *\")",
|
|
77
|
+
"type": "string"
|
|
78
|
+
},
|
|
79
|
+
"retention": {
|
|
80
|
+
"type": "object",
|
|
81
|
+
"properties": {
|
|
82
|
+
"days": {
|
|
83
|
+
"type": "number",
|
|
84
|
+
"minimum": 1,
|
|
85
|
+
"description": "Retention period in days"
|
|
86
|
+
},
|
|
87
|
+
"minCopies": {
|
|
88
|
+
"default": 3,
|
|
89
|
+
"description": "Minimum backup copies to retain",
|
|
90
|
+
"type": "number",
|
|
91
|
+
"minimum": 1
|
|
92
|
+
},
|
|
93
|
+
"maxCopies": {
|
|
94
|
+
"description": "Maximum backup copies to store",
|
|
95
|
+
"type": "number"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": [
|
|
99
|
+
"days",
|
|
100
|
+
"minCopies"
|
|
101
|
+
],
|
|
102
|
+
"additionalProperties": false,
|
|
103
|
+
"description": "Backup retention policy"
|
|
104
|
+
},
|
|
105
|
+
"destination": {
|
|
106
|
+
"type": "object",
|
|
107
|
+
"properties": {
|
|
108
|
+
"type": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"enum": [
|
|
111
|
+
"s3",
|
|
112
|
+
"gcs",
|
|
113
|
+
"azure_blob",
|
|
114
|
+
"local"
|
|
115
|
+
],
|
|
116
|
+
"description": "Storage backend type"
|
|
117
|
+
},
|
|
118
|
+
"bucket": {
|
|
119
|
+
"description": "Cloud storage bucket/container name",
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
122
|
+
"path": {
|
|
123
|
+
"description": "Storage path prefix",
|
|
124
|
+
"type": "string"
|
|
125
|
+
},
|
|
126
|
+
"region": {
|
|
127
|
+
"description": "Cloud storage region",
|
|
128
|
+
"type": "string"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"required": [
|
|
132
|
+
"type"
|
|
133
|
+
],
|
|
134
|
+
"additionalProperties": false,
|
|
135
|
+
"description": "Backup storage destination"
|
|
136
|
+
},
|
|
137
|
+
"encryption": {
|
|
138
|
+
"description": "Backup encryption settings",
|
|
139
|
+
"type": "object",
|
|
140
|
+
"properties": {
|
|
141
|
+
"enabled": {
|
|
142
|
+
"default": true,
|
|
143
|
+
"description": "Enable backup encryption",
|
|
144
|
+
"type": "boolean"
|
|
145
|
+
},
|
|
146
|
+
"algorithm": {
|
|
147
|
+
"default": "AES-256-GCM",
|
|
148
|
+
"description": "Encryption algorithm",
|
|
149
|
+
"type": "string",
|
|
150
|
+
"enum": [
|
|
151
|
+
"AES-256-GCM",
|
|
152
|
+
"AES-256-CBC",
|
|
153
|
+
"ChaCha20-Poly1305"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
"keyId": {
|
|
157
|
+
"description": "KMS key ID for encryption",
|
|
158
|
+
"type": "string"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"required": [
|
|
162
|
+
"enabled",
|
|
163
|
+
"algorithm"
|
|
164
|
+
],
|
|
165
|
+
"additionalProperties": false
|
|
166
|
+
},
|
|
167
|
+
"compression": {
|
|
168
|
+
"description": "Backup compression settings",
|
|
169
|
+
"type": "object",
|
|
170
|
+
"properties": {
|
|
171
|
+
"enabled": {
|
|
172
|
+
"default": true,
|
|
173
|
+
"description": "Enable backup compression",
|
|
174
|
+
"type": "boolean"
|
|
175
|
+
},
|
|
176
|
+
"algorithm": {
|
|
177
|
+
"default": "zstd",
|
|
178
|
+
"description": "Compression algorithm",
|
|
179
|
+
"type": "string",
|
|
180
|
+
"enum": [
|
|
181
|
+
"gzip",
|
|
182
|
+
"zstd",
|
|
183
|
+
"lz4",
|
|
184
|
+
"snappy"
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"required": [
|
|
189
|
+
"enabled",
|
|
190
|
+
"algorithm"
|
|
191
|
+
],
|
|
192
|
+
"additionalProperties": false
|
|
193
|
+
},
|
|
194
|
+
"verifyAfterBackup": {
|
|
195
|
+
"default": true,
|
|
196
|
+
"description": "Verify backup integrity after creation",
|
|
197
|
+
"type": "boolean"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"required": [
|
|
201
|
+
"strategy",
|
|
202
|
+
"retention",
|
|
203
|
+
"destination",
|
|
204
|
+
"verifyAfterBackup"
|
|
205
|
+
],
|
|
206
|
+
"additionalProperties": false,
|
|
207
|
+
"description": "Backup configuration"
|
|
208
|
+
},
|
|
209
|
+
"failover": {
|
|
210
|
+
"description": "Multi-region failover configuration",
|
|
211
|
+
"type": "object",
|
|
212
|
+
"properties": {
|
|
213
|
+
"mode": {
|
|
214
|
+
"default": "active_passive",
|
|
215
|
+
"description": "Failover mode",
|
|
216
|
+
"type": "string",
|
|
217
|
+
"enum": [
|
|
218
|
+
"active_passive",
|
|
219
|
+
"active_active",
|
|
220
|
+
"pilot_light",
|
|
221
|
+
"warm_standby"
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
"autoFailover": {
|
|
225
|
+
"default": true,
|
|
226
|
+
"description": "Enable automatic failover",
|
|
227
|
+
"type": "boolean"
|
|
228
|
+
},
|
|
229
|
+
"healthCheckInterval": {
|
|
230
|
+
"default": 30,
|
|
231
|
+
"description": "Health check interval in seconds",
|
|
232
|
+
"type": "number"
|
|
233
|
+
},
|
|
234
|
+
"failureThreshold": {
|
|
235
|
+
"default": 3,
|
|
236
|
+
"description": "Consecutive failures before failover",
|
|
237
|
+
"type": "number"
|
|
238
|
+
},
|
|
239
|
+
"regions": {
|
|
240
|
+
"minItems": 2,
|
|
241
|
+
"type": "array",
|
|
242
|
+
"items": {
|
|
243
|
+
"type": "object",
|
|
244
|
+
"properties": {
|
|
245
|
+
"name": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"description": "Region identifier (e.g., \"us-east-1\", \"eu-west-1\")"
|
|
248
|
+
},
|
|
249
|
+
"role": {
|
|
250
|
+
"type": "string",
|
|
251
|
+
"enum": [
|
|
252
|
+
"primary",
|
|
253
|
+
"secondary",
|
|
254
|
+
"witness"
|
|
255
|
+
],
|
|
256
|
+
"description": "Region role"
|
|
257
|
+
},
|
|
258
|
+
"endpoint": {
|
|
259
|
+
"description": "Region endpoint URL",
|
|
260
|
+
"type": "string"
|
|
261
|
+
},
|
|
262
|
+
"priority": {
|
|
263
|
+
"description": "Failover priority (lower = higher priority)",
|
|
264
|
+
"type": "number"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"required": [
|
|
268
|
+
"name",
|
|
269
|
+
"role"
|
|
270
|
+
],
|
|
271
|
+
"additionalProperties": false
|
|
272
|
+
},
|
|
273
|
+
"description": "Multi-region configuration (minimum 2 regions)"
|
|
274
|
+
},
|
|
275
|
+
"dns": {
|
|
276
|
+
"description": "DNS failover settings",
|
|
277
|
+
"type": "object",
|
|
278
|
+
"properties": {
|
|
279
|
+
"ttl": {
|
|
280
|
+
"default": 60,
|
|
281
|
+
"description": "DNS TTL in seconds for failover",
|
|
282
|
+
"type": "number"
|
|
283
|
+
},
|
|
284
|
+
"provider": {
|
|
285
|
+
"description": "DNS provider for automatic failover",
|
|
286
|
+
"type": "string",
|
|
287
|
+
"enum": [
|
|
288
|
+
"route53",
|
|
289
|
+
"cloudflare",
|
|
290
|
+
"azure_dns",
|
|
291
|
+
"custom"
|
|
292
|
+
]
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"required": [
|
|
296
|
+
"ttl"
|
|
297
|
+
],
|
|
298
|
+
"additionalProperties": false
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"required": [
|
|
302
|
+
"mode",
|
|
303
|
+
"autoFailover",
|
|
304
|
+
"healthCheckInterval",
|
|
305
|
+
"failureThreshold",
|
|
306
|
+
"regions"
|
|
307
|
+
],
|
|
308
|
+
"additionalProperties": false
|
|
309
|
+
},
|
|
310
|
+
"replication": {
|
|
311
|
+
"description": "Data replication settings",
|
|
312
|
+
"type": "object",
|
|
313
|
+
"properties": {
|
|
314
|
+
"mode": {
|
|
315
|
+
"default": "asynchronous",
|
|
316
|
+
"description": "Data replication mode",
|
|
317
|
+
"type": "string",
|
|
318
|
+
"enum": [
|
|
319
|
+
"synchronous",
|
|
320
|
+
"asynchronous",
|
|
321
|
+
"semi_synchronous"
|
|
322
|
+
]
|
|
323
|
+
},
|
|
324
|
+
"maxLagSeconds": {
|
|
325
|
+
"description": "Maximum acceptable replication lag in seconds",
|
|
326
|
+
"type": "number"
|
|
327
|
+
},
|
|
328
|
+
"includeObjects": {
|
|
329
|
+
"description": "Objects to replicate (empty = all)",
|
|
330
|
+
"type": "array",
|
|
331
|
+
"items": {
|
|
332
|
+
"type": "string"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"excludeObjects": {
|
|
336
|
+
"description": "Objects to exclude from replication",
|
|
337
|
+
"type": "array",
|
|
338
|
+
"items": {
|
|
339
|
+
"type": "string"
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"required": [
|
|
344
|
+
"mode"
|
|
345
|
+
],
|
|
346
|
+
"additionalProperties": false
|
|
347
|
+
},
|
|
348
|
+
"testing": {
|
|
349
|
+
"description": "Automated disaster recovery testing",
|
|
350
|
+
"type": "object",
|
|
351
|
+
"properties": {
|
|
352
|
+
"enabled": {
|
|
353
|
+
"default": false,
|
|
354
|
+
"description": "Enable automated DR testing",
|
|
355
|
+
"type": "boolean"
|
|
356
|
+
},
|
|
357
|
+
"schedule": {
|
|
358
|
+
"description": "Cron expression for DR test schedule",
|
|
359
|
+
"type": "string"
|
|
360
|
+
},
|
|
361
|
+
"notificationChannel": {
|
|
362
|
+
"description": "Notification channel for DR test results",
|
|
363
|
+
"type": "string"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
"required": [
|
|
367
|
+
"enabled"
|
|
368
|
+
],
|
|
369
|
+
"additionalProperties": false
|
|
370
|
+
},
|
|
371
|
+
"runbookUrl": {
|
|
372
|
+
"description": "URL to disaster recovery runbook/playbook",
|
|
373
|
+
"type": "string"
|
|
374
|
+
},
|
|
375
|
+
"contacts": {
|
|
376
|
+
"description": "Emergency contact list for DR incidents",
|
|
377
|
+
"type": "array",
|
|
378
|
+
"items": {
|
|
379
|
+
"type": "object",
|
|
380
|
+
"properties": {
|
|
381
|
+
"name": {
|
|
382
|
+
"type": "string",
|
|
383
|
+
"description": "Contact name"
|
|
384
|
+
},
|
|
385
|
+
"role": {
|
|
386
|
+
"type": "string",
|
|
387
|
+
"description": "Contact role (e.g., \"DBA\", \"SRE Lead\")"
|
|
388
|
+
},
|
|
389
|
+
"email": {
|
|
390
|
+
"description": "Contact email",
|
|
391
|
+
"type": "string"
|
|
392
|
+
},
|
|
393
|
+
"phone": {
|
|
394
|
+
"description": "Contact phone",
|
|
395
|
+
"type": "string"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
"required": [
|
|
399
|
+
"name",
|
|
400
|
+
"role"
|
|
401
|
+
],
|
|
402
|
+
"additionalProperties": false
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
"required": [
|
|
407
|
+
"enabled",
|
|
408
|
+
"rpo",
|
|
409
|
+
"rto",
|
|
410
|
+
"backup"
|
|
411
|
+
],
|
|
412
|
+
"additionalProperties": false,
|
|
413
|
+
"description": "Complete disaster recovery plan configuration"
|
|
414
|
+
}
|