{
    "format": "tsv",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "Apple Music Event Schema",
    "required": [
    ],
    "properties": {
        "DateStamp": {
            "$id": "#/properties/DateStamp",
            "type": "string",
            "title": "The Datestamp Schema",
            "default": "",
            "examples": [
                "2019-06-20"
            ],
            "format": "date-time",
            "pattern": "^\\d{4}\\-\\d{2}\\-\\d{2}$"
        },
        "Ingest Datestamp": {
            "$id": "#/properties/Ingest Datestamp",
            "type": "string",
            "title": "Ingest Datestamp",
            "default": "",
            "examples": [
                "2019-06-20"
            ],
            "format": "date-time",
            "pattern": "^\\d{4}\\-\\d{2}\\-\\d{2}$"
        },
        "Ingest Timestamp": {
            "$id": "#/properties/Ingest Timestamp",
            "type": "string",
            "title": "The Ingest timestamp Schema",
            "default": "",
            "examples": [
                "1558887056"
            ],
            "pattern": "^(\\d+)$"
        },
        "Apple Identifier": {
            "$id": "#/properties/Apple Identifier",
            "type": "string",
            "title": "The Apple identifier Schema",
            "default": "",
            "examples": [
                "677622861"
            ],
            "pattern": "^(\\d+)$"
        },
        "Action Type": {
            "$id": "#/properties/Action Type",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "title": "The Action type Schema",
            "default": "",
            "examples": [
                "1"
            ]
        },
        "End Reason Type": {
            "$id": "#/properties/End Reason Type",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "title": "The End reason type Schema",
            "default": "",
            "examples": [
                "1"
            ]
        },
        "Membership Type": {
            "$id": "#/properties/Membership Type",
            "type": "string",
            "title": "The Membership type Schema",
            "default": "",
            "examples": [
                "Individual Monthly"
            ],
            "pattern": "^(.*)$"
        },
        "Membership Mode": {
            "$id": "#/properties/Membership Mode",
            "type": "string",
            "title": "The Membership mode Schema",
            "default": "",
            "examples": [
                "Extended Trial (6 Month)"
            ],
            "pattern": "^(.*)$"
        },
        "Membership Partner": {
            "$id": "#/properties/Membership Partner",
            "type": "string",
            "title": "The Membership partner Schema",
            "default": "",
            "examples": [
                "some partner"
            ],
            "pattern": "^(.*)$"
        },
        "Offline": {
            "$id": "#/properties/Offline",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "title": "The Offline Schema",
            "default": "",
            "examples": [
                "1",
                "0"
            ]
        },
        "Storefront Name": {
            "$id": "#/properties/Storefront Name",
            "type": "string",
            "title": "The Storefront name Schema",
            "default": "",
            "examples": [
                "JP"
            ],
            "pattern": "^[A-Z]{2}$"
        },
        "Anonymized Person ID": {
            "$id": "#/properties/Anonymized Person ID",
            "type": "string",
            "title": "The Anonymized person id Schema",
            "default": "",
            "examples": [
                "93e673da2c10cf0faf5e5bea4c7844cf8c6c40f382e7cb8951f221081024321f"
            ],
            "pattern": "^(.*)$"
        },
        "Postal Code": {
            "$id": "#/properties/Postal Code",
            "type": "string",
            "title": "The Postal code Schema",
            "default": "",
            "examples": [
                "33015",
                "R8N 1L4"
            ],
            "pattern": "^(.*)$"
        },
        "Device Type": {
            "$id": "#/properties/Device Type",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "title": "The Device type Schema",
            "default": "",
            "examples": [
                "1"
            ]
        },
        "Operating System": {
            "$id": "#/properties/Operating System",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "title": "The Operating system Schema",
            "default": "",
            "examples": [
                "2"
            ]
        },
        "Source of Stream": {
            "$id": "#/properties/Source of Stream",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "title": "The Source of stream Schema",
            "default": "",
            "examples": [
                "1",
                "0"
            ]
        },
        "Container Type": {
            "$id": "#/properties/Container Type",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "title": "The Container type Schema",
            "default": "",
            "examples": [
                "2"
            ]
        },
        "Container Sub-Type": {
            "$id": "#/properties/Container Sub-Type",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "title": "The Container sub-type Schema",
            "default": ""
        },
        "Container ID": {
            "$id": "#/properties/Container ID",
            "type": "string",
            "title": "The Container id Schema",
            "default": "",
            "pattern": "^(.*)$"
        },
        "Container Name": {
            "$id": "#/properties/Container Name",
            "type": "string",
            "title": "The Container name Schema",
            "default": "",
            "pattern": "^(.*)$"
        },
        "Stream Timestamp": {
            "$id": "#/properties/Stream Timestamp",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "title": "The Stream timestamp Schema",
            "default": "",
            "examples": [
                "1558872426"
            ]
        },
        "Stream Start Position": {
            "$id": "#/properties/Stream Start Position",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "title": "The Stream start position Schema",
            "default": "",
            "examples": [
                "18273"
            ]
        },
        "Stream Duration": {
            "$id": "#/properties/Stream Duration",
            "type": "string",
            "pattern": "^([\\d]+)$",
            "title": "The Stream duration Schema",
            "default": "",
            "examples": [
                "259"
            ]
        }
    }
}
