{
    "additionalProperties": false,
    "description": "Schema for a web page context",
    "properties": {
        "basisForProcessing": {
            "description": "GDPR basis for data collection & processing",
            "enum": [
                "consent",
                "contract",
                "legal_obligation",
                "vital_interests",
                "public_task",
                "legitimate_interests"
            ],
            "type": "string"
        },
        "documentDescription": {
            "description": "Description of document detailing basis for processing",
            "maxLength": 4096,
            "type": [
                "string",
                "null"
            ]
        },
        "documentId": {
            "description": "ID for document detailing basis for processing",
            "maxLength": 255,
            "type": [
                "string",
                "null"
            ]
        },
        "documentVersion": {
            "description": "Version of document detailing basis for processing",
            "maxLength": 16,
            "type": [
                "string",
                "null"
            ]
        }
    },
    "required": [
        "basisForProcessing"
    ],
    "self": {
        "format": "jsonschema",
        "name": "gdpr",
        "vendor": "com.snowplowanalytics.snowplow",
        "version": "1-0-0"
    },
    "type": "object"
}