Update existing maintenance window saved object schema to new schema format with only alerting scope schema as static schema. const rawMaintenanceWindowSchema = schema.object({ createdAt: ...