{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "array",
    "items": {
        "description": "Options for no-pattern-match rule",
        "type": "object",
        "properties": {
            "patterns": {
                "default": {},
                "description": "An object of patterns to check the text contents of files against",
                "type": "object",
                "additionalProperties": {
                    "anyOf": [
                        {
                            "type": "string",
                            "description": "A stringified regexp pattern"
                        },
                        {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": false,
                            "description": "An instance of RegExp"
                        }
                    ],
                    "description": "A string/RegExp pattern"
                }
            }
        },
        "required": [
            "patterns"
        ],
        "additionalProperties": false
    }
}
