{
    "format": "csv",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "Linkfire Applemusic raw data Schema",
    "required": [],
    "properties": {
        "ActivityId": {
            "$id": "#/properties/activity",
            "type": "string",
            "examples": [
                "ALL_ITEMS",
                "Story_dec2020_Fools"
            ],
            "pattern": "^[\\w_0-9]*$"
        },
        "BoardId": {
            "$id": "#/properties/BoardId",
            "type": "string",
            "examples": [
                "8FDF3380-4C47-11E6-9FD0-066C3E7A8751"
            ],
            "pattern": "[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}$"
        },
        "ChannelId": {
            "$id": "#/properties/ChannelId",
            "type": "string",
            "examples": [
                "ALL_ITEMS",
                "230D8DF5-F616-43D1-9ABD-2233AA1444EA"
            ],
            "pattern": "^(.*)$"
        },
        "ChannelName": {
            "$id": "#/properties/ChannelName",
            "type": "string",
            "examples": [
                "Instagram Campaign"
            ],
            "pattern": "^.*$"
        },
        "ChannelType": {
            "$id": "#/properties/ChannelType",
            "type": "string",
            "examples": [
                "Paid"
            ],
            "pattern": "^.*$"
        },
        "City": {
            "$id": "#/properties/City",
            "type": "string",
            "examples": [
                "ALL_ITEMS",
                "Sydney"
            ],
            "pattern": "^.+$"
        },
        "Country": {
            "$id": "#/properties/Country",
            "type": "string",
            "examples": [
                "ALL_ITEMS",
                "FR"
            ],
            "pattern": "^.+$"
        },
        "CountryCity": {
            "$id": "#/properties/Country",
            "type": "string",
            "examples": [
                "ALL_ITEMS:ALL_ITEMS",
                "FR:ALL_ITEMS",
                "FR:Aubervilliers"
            ],
            "pattern": "^.+$"
        },
        "Date": {
            "$id": "#/properties/Date",
            "type": "string",
            "examples": [
                "2020-12-18T00:00:00"
            ],
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$"
        },
        "FlagIntended": {
            "$id": "#/properties/FlagIntended",
            "type": "string",
            "examples": [
                "ALL_ITEMS",
                "Intended"
            ],
            "pattern": "^.+$"
        },
        "LFEntries": {
            "$id": "#/properties/LFEntries",
            "type": "string",
            "examples": [
                "345"
            ],
            "pattern": "^\\d*$"
        },
        "LinkId": {
            "$id": "#/properties/LinkId",
            "type": "string",
            "examples": [
                "9572C27F-C249-4164-B343-CFCDCF607889"
            ],
            "pattern": "^[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}$"
        },
        "Plays": {
            "$id": "#/properties/Plays",
            "type": "string",
            "examples": [
                "23"
            ],
            "pattern": "^\\d*$"
        },
        "ProductId": {
            "$id": "#/properties/ProductId",
            "type": "string",
            "examples": [
                "ALL_ITEMS",
                "1418718815",
                "not_available"
            ],
            "pattern": "^.*$"
        },
        "ProductArtist": {
            "$id": "#/properties/ProductArtist",
            "type": "string",
            "examples": [
                "__not_available__",
                "__not_intended__",
                "Mariah Carey"
            ],
            "pattern": "^.*$"
        },
        "ProductName": {
            "$id": "#/properties/ProductName",
            "type": "string",
            "examples": [
                "__not_available__",
                "__not_intended__",
                "All I Want for Christmas Is You"
            ],
            "pattern": "^.*$"
        },
        "ProductType": {
            "$id": "#/properties/ProductType",
            "type": "string",
            "examples": [
                "__not_available__",
                "__not_intended__",
                "track"
            ],
            "pattern": "^(.*)$"
        },
        "BoardName": {
            "$id": "#/properties/BoardName",
            "type": "string",
            "examples": [
                "ministry-of-sound-curation",
                "columbia-records-us"
            ],
            "pattern": "^(.*)$"
        },
        "LinkUrl": {
            "$id": "#/properties/LinkUrl",
            "type": "string",
            "examples": [
                "essentialworship.lnk.to/EHeyP",
                "T9ine.lnk.to/FromNunToSomething"
            ],
            "pattern": "^.+$"
        },
        "LinkIsrc": {
            "$id": "#/properties/LinkIsrc",
            "type": "string",
            "examples": [
                "['USSM19400325']"
            ],
            "pattern": "(\\['[A-Za-z0-9]*'\\])?"
        },
        "LinkScanningSource": {
            "$id": "#/properties/LinkScanningSource",
            "type": "string",
            "examples": [
                "https://open.spotify.com/playlist/20BPPt8TYRA4GrNVKOQH5Y"
            ],
            "pattern": "^(.*)$"
        },
        "LinkScanningType": {
            "$id": "#/properties/LinkScanningType",
            "type": "string",
            "examples": [
                "9"
            ],
            "pattern": "^([\\d]*)$"
        },
        "OrganisationId": {
            "$id": "#/properties/OrganisationId",
            "type": "string",
            "examples": [
                "6EF8BE16-4C47-11E6-9FD0-066C3E7A8751"
            ],
            "pattern": "^[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}$"
        },
        "GroupedBy": {
            "$id": "#/properties/GroupedBy",
            "type": "string",
            "examples": [
                "ChannelId,FlagIntended,LinkId"
            ],
            "pattern": "^([\\w,]*)$"
        },
        "GroupingLabel": {
            "$id": "#/properties/GroupingLabel",
            "type": "string",
            "examples": [
                "by_Link_total"
            ],
            "pattern": "^(.*)$"
        }
    }
}
