{
    "$schema": "http://json-schema.org/schema",
    "title": "Validate Catch Error Pattern Executor",
    "description": "Validates that catch blocks follow the standardized pattern: catch (err: unknown) { const error = toError(err); }",
    "type": "object",
    "properties": {
        "mode": {
            "type": "string",
            "enum": ["OFF", "MODIFIED_CODE", "MODIFIED_FILES"],
            "description": "OFF: skip validation. MODIFIED_CODE: only catch blocks on changed lines in diff. MODIFIED_FILES: all catch blocks in modified files.",
            "default": "OFF"
        },
        "disableAllowed": {
            "type": "boolean",
            "description": "Whether disable comments work. When false, no escape hatch.",
            "default": true
        },
        "ignoreModifiedUntilEpoch": {
            "type": "number",
            "description": "Epoch seconds. Until this time, skip validation entirely. When expired, normal mode resumes. Omit when not needed."
        }
    },
    "required": []
}
