{
    "format": "ndjson",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "title": "Appreciation Engine Activity Feed",
    "required": ["ID", "RecordDate"],
    "type": "object",
    "properties": {
        "ID": {
            "$id": "#/properties/ID",
            "type": "string",
            "default": "",
            "examples": ["13652105"],
            "pattern": "^(.*)$"
        },
        "Marker": {
            "$id": "#/properties/Marker",
            "type": "string",
            "default": "",
            "examples": ["6jLzD3MKPmRp58AWTTQnBw"],
            "pattern": "^(.*)$"
        },
        "BrandID": {
            "$id": "#/properties/BrandID",
            "type": "string",
            "default": "",
            "examples": ["3447670"],
            "pattern": "\\d*$"
        },
        "BrandName": {
            "$id": "#/properties/BrandName",
            "type": "string",
            "default": "",
            "examples": ["Century Media Europe Newsletter"],
            "pattern": ".*$"
        },
        "Link": {
            "$id": "#/properties/Link",
            "type": ["null", "string"],
            "default": "",
            "examples": ["https://open.spotify.com/track/6jLzD3MKPmRp58AWTTQnBw"],
            "pattern": ".*$"
        },
        "Media": {
            "$id": "#/properties/Media",
            "type": ["null", "string"],
            "default": "",
            "examples": ["https://open.spotify.com/track/6jLzD3MKPmRp58AWTTQnBw"],
            "pattern": ".*$"
        },
        "Category": {
            "$id": "#/properties/Media",
            "type": "null",
            "default": "",
            "examples": [""],
            "pattern": ".*$"
        },
        "Content": {
            "$id": "#/properties/Content",
            "type": ["null", "string", "object"],
            "default": "",
            "examples": ["Added a track by Kodak Black to..."],
            "pattern": ".*$",
            "properties": {
                "TrackName": {
                    "$id": "#/properties/Content/properties/TrackName",
                    "type": "string",
                    "default": "",
                    "examples": ["Ballin' (with Roddy Ricch)"],
                    "pattern": ".*"
                },
                "TrackArtist": {
                    "$id": "#/properties/Content/properties/TrackArtist",
                    "type": "string",
                    "default": "",
                    "examples": ["Mustard"],
                    "pattern": ".*"
                },
                "SpotifyID": {
                    "$id": "#/properties/Content/properties/SpotifyID",
                    "type": "string",
                    "default": "",
                    "examples": ["3QzAOrNlsabgbMwlZt7TAY"],
                    "pattern": ".*"
                },
                "ISRC": {
                    "$id": "#/properties/Content/properties/ISRC",
                    "type": "string",
                    "default": "",
                    "examples": ["USUM71911808"],
                    "pattern": ".*"
                }
            }
        },
        "CompleteDate": {
            "$id": "#/properties/CompleteDate",
            "type": ["string"],
            "default": "",
            "examples": ["2020-10-03 12:36:17"],
            "pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
        },
        "Name": {
            "$id": "#/properties/Name",
            "type": "string",
            "default": "",
            "examples": ["Added a track by Kodak Black to library on Spotify"],
            "pattern": ".*"
        },
        "ShortName": {
            "$id": "#/properties/ShortName",
            "type": ["null", "string"],
            "default": "",
            "examples": ["added_to_library"],
            "pattern": ".*"
        },
        "GeoData": {
            "$id": "#/properties/Service",
            "type": "null",
            "default": "",
            "examples": [""],
            "pattern": "^(.*)$"
        },
        "MemberName": {
            "$id": "#/properties/MemberName",
            "type": ["null", "string"],
            "default": "",
            "examples": ["Georgie Genero"],
            "pattern": ".*"
        },
        "Score": {
            "$id": "#/properties/Score",
            "type": "string",
            "default": "",
            "examples": ["0"],
            "pattern": "\\d*"
        },
        "ActivityID": {
            "$id": "#/properties/ActivityID",
            "type": ["null", "string"],
            "default": "",
            "examples": ["5555"],
            "pattern": ".*$"
        },
        "ActivityType": {
            "$id": "#/properties/ActivityType",
            "type": ["null", "string"],
            "default": "",
            "examples": ["Listened"],
            "pattern": ".*$"
        },
        "ServiceType": {
            "$id": "#/properties/ServiceType",
            "type": ["null", "string"],
            "default": "",
            "examples": ["spotify"],
            "pattern": ".*$"
        },
        "MemberID": {
            "$id": "#/properties/MemberID",
            "type": ["null", "string"],
            "default": "",
            "examples": ["5555"],
            "pattern": ".*$"
        },
        "ServiceUserName": {
            "$id": "#/properties/ServiceUserName",
            "type": ["null", "string"],
            "default": "",
            "examples": ["Georgie Genero"],
            "pattern": ".*"
        },
        "RemoteUserURL": {
            "$id": "#/properties/RemoteUserURL",
            "type": ["null", "string"],
            "default": "",
            "examples": ["https://open.spotify.com/user/ggeorggie"],
            "pattern": ".*"
        },
        "ServiceUserID": {
            "$id": "#/properties/ServiceUserID",
            "type": ["null", "string"],
            "default": "",
            "examples": ["ggeorggie"],
            "pattern": ".*"
        },
        "MemberEmail": {
            "$id": "#/properties/MemberEmail",
            "type": ["null", "string"],
            "default": "",
            "examples": ["georgiegenero@gmail.com"],
            "pattern": ".*"
        },
        "Username": {
            "$id": "#/properties/Username",
            "type": "string",
            "default": "",
            "examples": ["georgiegenero"],
            "pattern": ".*"
        },
        "MemberAvatarURL": {
            "$id": "#/properties/MemberAvatarURL",
            "type": "string",
            "default": "",
            "examples": ["https://static-sme.theappreciationengine.com/Member_Controller/getAvatar/5380183/3442235"],
            "pattern": ".*"
        },
        "RecordDate": {
            "$id": "#/properties/RecordDate",
            "type": ["string"],
            "default": "",
            "examples": ["2020-10-03 12:36:17"],
            "pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
        }
    }
}
