{
    "format": "tsv",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "Spotify partneremails Schema",
    "header": [
        "email",
        "gender",
        "country",
        "postal_code"
    ],
    "required": [
        "email",
        "gender",
        "country",
        "postal_code"
    ],
    "properties": {
        "email": {
            "$id": "#/properties/email",
            "type": "string",
            "title": "email",
            "default": "",
            "examples": [
                "The email address of the user"
            ],
            "pattern": "^(.+)@(.+).(.+)$"
        },
        "gender": {
            "$id": "#/properties/gender",
            "type": "string",
            "title": "The gender of the user",
            "default": "",
            "examples": [
                "male",
                "female"
            ],
            "pattern": "^(.*)$"
        },
        "country": {
        "$id": "#/properties/country",
            "type": "string",
            "title": "The country of the user. Given as an ISO country code.",
            "examples": [
                "FR"
            ],
            "pattern": "^[A-Z]{2}$"
        },
        "postal_code": {
            "$id": "#/properties/postal_code",
            "type": "string",
            "title": "The user's self reported postal code based on their account registration location",
            "default": "",
            "examples": [
                "123"
            ],
            "pattern": "^(.*)$"
        }
    }
}
