{
    "format": "sql",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "Spotify Playlist Ranking Schema",
    "required": [
        "date",
        "country_code",
        "rank",
        "playlist_id"
    ],
    "properties": {
        "date": {
            "$id": "#/properties/date",
            "type": "string",
            "title": "Date",
            "default": "",
            "examples": [
                ""
            ],
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "country_code": {
            "$id": "#/properties/country_code",
            "type": "string",
            "title": "Country Code",
            "default": "",
            "examples": [
                ""
            ],
            "pattern": "^[a-zA-Z]{2}$"
        },
        "rank": {
            "$id": "#/properties/rank",
            "type": "integer",
            "title": "Playlist Rank",
            "default": "",
            "examples": [
                ""
            ],
            "pattern": "^(\\d+)$"
        },
        "playlist_id": {
            "$id": "#/properties/playlist_id",
            "type": "string",
            "title": "Playlist ID",
            "default": "",
            "examples": [
                ""
            ],
            "pattern": "^(.+)$"
        }
    }
}
