{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "title": "Whitelist",
    "description": "Whitelist",
    "type": "object",
    "properties": {
        "ignoreSevertiesAtOrBelow": {
            "type": "string",
            "enum": [
                "negligible",
                "Negligible",
                "low",
                "Low",
                "medium",
                "Medium",
                "high",
                "High"
            ]
        },
        "vulnerabilities": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "cveId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 512
                    },
                    "rationale": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 512
                    }
                },
                "required": [
                    "cveId",
                    "rationale"
                ],
                "additionalProperties": false
            },
            "_uniqueItems": true
        }
    },
    "required": [
        "ignoreSevertiesAtOrBelow"
    ],
    "additionalProperties": false
}