{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/hmcts/main/json-schema/hmcts-update-rule-request-schema.json", "title": "UpdateRuleRequest", "description": "At least one field must be provided. Only supplied fields are updated; omitted fields are left unchanged.\n", "x-generated": "2026-10-09", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/hmcts-results-validation-service-openapi.yml#/components/schemas/UpdateRuleRequest", "type": "object", "properties": { "enabled": { "type": "boolean", "description": "Whether the rule should be active" }, "severity": { "type": "string", "enum": [ "ERROR", "WARNING" ], "description": "Severity ceiling for the rule. Caps the rule's condition severities downward (e.g. an ERROR condition is reduced to WARNING) but never promotes them above their configured severity. Setting WARNING stops the rule from blocking shares; setting ERROR leaves each condition at its configured severity.\n" } } }