{
    "format": "tsv",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "TikTok Trends Daily Schema",
    "required": [
        "isrc"
    ],
    "properties": {
        "date": {
            "$id": "#/properties/date",
            "type": "string",
            "examples": [
                "20190202"
            ],
            "pattern": "^[\\d]{8}$"
        },
        "platform_name": {
            "$id": "#/properties/platform_name",
            "type": "string",
            "examples": [
                "TikTok"
            ],
            "pattern": "^[\\w]*$"
        },
        "platform_song_id": {
            "$id": "#/properties/platform_song_id",
            "type": "string",
            "examples": [
                "6705018176775653378"
            ],
            "pattern": "^[\\d]{19}$"
        },
        "isrc": {
            "$id": "#/properties/isrc",
            "type": "string",
            "examples": [
                "USAT21701720"
            ],
            "pattern": "^[A-Za-z0-9]*$"
        },
        "product_code": {
            "$id": "#/properties/product_code",
            "type": "string",
            "examples": [
                "886445590050"
            ],
            "pattern": "^[\\d]*$"
        },
        "song_title": {
            "$id": "#/properties/song_title",
            "type": "string",
            "examples": [
                "Title"
            ],
            "pattern": "^.*$"
        },
        "artist": {
            "$id": "#/properties/artist",
            "type": "string",
            "examples": [
                "Meghan Trainor"
            ],
            "pattern": "^.*$"
        },
        "album": {
            "$id": "#/properties/album",
            "type": "string",
            "examples": [
                "Title (Expanded Edition)"
            ],
            "pattern": "^.*$"
        },
        "label_name": {
            "$id": "#/properties/label_name",
            "type": "string",
            "examples": [
                "Sony Music Entertainment"
            ],
            "pattern": "^.*$"
        },
        "sublabel": {
            "$id": "#/properties/sublabel",
            "type": "string",
            "examples": [
                "Epic"
            ],
            "pattern": "^.*$"
        },
        "label_provided_genre": {
            "$id": "#/properties/label_provided_genre",
            "type": "string",
            "examples": [
                "Pop"
            ],
            "pattern": "^.*$"
        },
        "platform_classified_genre": {
            "$id": "#/properties/platform_classified_genre",
            "type": "string",
            "examples": [
                "Pop"
            ],
            "pattern": "^.*$"
        },
        "territory": {
            "$id": "#/properties/territory",
            "type": "string",
            "examples": [
                "TW"
            ],
            "pattern": "[A-Z]{2}$"
        },
        "content_type": {
            "$id": "#/properties/content_type",
            "type": "string",
            "examples": [
                "UGC"
            ],
            "pattern": "[A-Z]{3}$"
        },
        "creations": {
            "$id": "#/properties/creations",
            "type": "string",
            "examples": [
                "0"
            ],
            "pattern": "[\\d]+$"
        },
        "video_views": {
            "$id": "#/properties/video_views",
            "type": "string",
            "examples": [
                "0"
            ],
            "pattern": "[\\d]+$"
        },
        "comments": {
            "$id": "#/properties/comments",
            "type": "string",
            "examples": [
                "0"
            ],
            "pattern": "[\\d]+$"
        },
        "likes": {
            "$id": "#/properties/likes",
            "type": "string",
            "examples": [
                "0"
            ],
            "pattern": "[\\d]+$"
        },
        "shares": {
            "$id": "#/properties/shares",
            "type": "string",
            "examples": [
                "0"
            ],
            "pattern": "[\\d]+$"
        },
        "favorites": {
            "$id": "#/properties/favorites",
            "type": "string",
            "examples": [
                "0"
            ],
            "pattern": "[\\d]+$"
        },
        "avg_watchtime": {
            "$id": "#/properties/avg_watchtime",
            "type": "string",
            "examples": [
                "0.1"
            ],
            "pattern": "[\\d.]+$"
        },
        "country_region": {
            "$id": "#/properties/country_region",
            "type": "string",
            "examples": [],
            "pattern": "^.*$"
        },
        "gender": {
            "$id": "#/properties/gender",
            "type": "string",
            "examples": [],
            "pattern": "^.*$"
        },
        "searches": {
            "$id": "#/properties/searches",
            "type": "string",
            "examples": [],
            "pattern": "^.*$"
        },
        "metasong_URI": {
            "$id": "#/properties/metasong_URI",
            "type": "string",
            "examples": [],
            "pattern": "^.*$"
        }
    }
}
