{
    "format": "tsv",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "Apple Music Summary Streams Report Schema",
    "required": [
    ],
    "properties": {
        "Datestamp": {
            "$id": "#/properties/Datestamp",
            "type": "string",
            "examples": [
                "2019-06-20"
            ],
            "format": "date-time",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "Ingest Datestamp": {
            "$id": "#/properties/Ingest Datestamp",
            "type": "string",
            "examples": [
                "2019-06-20"
            ],
            "format": "date-time",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "Apple Identifier": {
            "$id": "#/properties/Apple Identifier",
            "type": "string",
            "examples": [
                "677622861"
            ],
            "pattern": "^(\\d+)$"
        },
        "Storefront Name": {
            "$id": "#/properties/Storefront Name",
            "type": "string",
            "examples": [
                "JP"
            ],
            "pattern": "^[A-Z]{2}$"
        },
        "Time Bucket": {
            "$id": "#/properties/Time Bucket",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "examples": [
                "6"
            ]
        },
        "Subscription Type": {
            "$id": "#/properties/Subscription Type",
            "type": "string",
            "examples": [
                "Individual Monthly"
            ],
            "pattern": "^(.*)$"
        },
        "Subscription Mode": {
            "$id": "#/properties/Subscription Mode",
            "type": "string",
            "examples": [
                "PAID",
                "Discounted Promo 1"
            ],
            "pattern": "^(.*)$"
        },
        "Channel Partner": {
            "$id": "#/properties/Channel Partner",
            "type": "string",
            "examples": [
                "EE"
            ],
            "pattern": "^(.*)$"
        },
        "Device Type": {
            "$id": "#/properties/Device Type",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "examples": [
                "1"
            ]
        },
        "Source of Stream": {
            "$id": "#/properties/Source of Stream",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "examples": [
                "2"
            ]
        },
        "Container Sub-Type": {
            "$id": "#/properties/Container Sub-Type",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "examples": [
                "20"
            ]
        },
        "Container ID": {
            "$id": "#/properties/Membership Type",
            "type": "string",
            "examples": [
                ""
            ],
            "pattern": "^(.*)$"
        },
        "Container Name": {
            "$id": "#/properties/Container Name",
            "type": "string",
            "examples": [
                ""
            ],
            "pattern": "^(.*)$"
        },
        "End Reason Type": {
            "$id": "#/properties/End Reason Type",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "examples": [
                "1"
            ]
        },
        "Offline": {
            "$id": "#/properties/Offline",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "examples": [
                "1",
                "0"
            ]
        },
        "Streams": {
            "$id": "#/properties/Streams",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "examples": [
                "12312"
            ]
        }
    }
}
