{
    "$schema": "http://json-schema.org/schema",
    "title": "Validate New Methods Executor",
    "description": "Validates that newly added methods don't exceed a maximum line count. Only runs in affected mode (when NX_BASE is set).",
    "type": "object",
    "properties": {
        "limit": {
            "type": "number",
            "description": "Maximum lines allowed for new methods",
            "default": 80
        },
        "mode": {
            "type": "string",
            "enum": ["OFF", "NEW_METHODS", "NEW_AND_MODIFIED_METHODS", "MODIFIED_FILES"],
            "description": "OFF: skip validation. NEW_METHODS: only new methods in diff. NEW_AND_MODIFIED_METHODS: new methods + methods with changes. MODIFIED_FILES: all methods in modified files.",
            "default": "NEW_AND_MODIFIED_METHODS"
        },
        "disableAllowed": {
            "type": "boolean",
            "description": "Whether disable comments work. When false, no escape hatch.",
            "default": true
        }
    },
    "required": []
}
