{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/cockroach-labs/main/json-schema/cockroach-labs-maintenance-window-schema.json", "title": "MaintenanceWindow", "description": "Defines the time window during which CockroachDB Cloud may perform automatic maintenance and version upgrade operations on a cluster.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/cockroach-labs-maintenance-windows-api-openapi.yml#/components/schemas/MaintenanceWindow", "type": "object", "properties": { "day_of_week": { "type": "integer", "description": "Day of the week for maintenance. 0=Sunday, 6=Saturday.", "minimum": 0, "maximum": 6 }, "start_hour": { "type": "integer", "description": "Hour of day (UTC) when the maintenance window begins.", "minimum": 0, "maximum": 23 } } }