{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "regex": {
                "type": "boolean",
                "default": "false"
            },
            "code": {
                "type": "string"
            },
            "old": {
                "type": "string"
            },
            "new": {
                "type": "string"
            },
            "classify": {
                "type": "object",
                "properties": {
                    "SOURCE": {
                        "$ref": "#/definitions/classification"
                    },
                    "BINARY": {
                        "$ref": "#/definitions/classification"
                    },
                    "SEMANTIC": {
                        "$ref": "#/definitions/classification"
                    },
                    "OTHER": {
                        "$ref": "#/definitions/classification"
                    }
                },
                "minProperties": 1
            }
        },
        "additionalProperties": {
            "type": "string"
        },
        "required": [
            "code"
        ]
    },
    "minItems": 1,
    "definitions": {
        "classification": {
            "type": "string",
            "enum": [
                "EQUIVALENT",
                "NON_BREAKING",
                "POTENTIALLY_BREAKING",
                "BREAKING"
            ]
        }
    }
}