{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "SCUMMaintenancePreparePayload", "type": "object", "additionalProperties": false, "required": ["scope", "noticeSeconds", "reason"], "properties": { "scope": { "type": "string", "maxLength": 16, "enum": ["server", "database", "companion"] }, "noticeSeconds": { "type": "integer", "minimum": 60, "maximum": 86400 }, "estimatedDurationSeconds": { "type": "integer", "minimum": 60, "maximum": 86400 }, "reason": { "type": "string", "minLength": 1, "maxLength": 200 } } }