{
    "additionalProperties": true,
    "properties": {
        "body": {
            "additionalProperties": true,
            "properties": {
                "foreground": {
                    "type": "boolean"
                },
                "latitude": {
                    "type": "string"
                },
                "longitude": {
                    "type": "string"
                },
                "session_id": {
                    "_format": "uuid",
                    "type": "string"
                }
            },
            "type": "object"
        },
        "device": {
            "additionalProperties": true,
            "properties": {
                "amazon_channel": {
                    "_format": "uuid",
                    "type": "string"
                },
                "android_channel": {
                    "_format": "uuid",
                    "type": "string"
                },
                "ios_channel": {
                    "_format": "uuid",
                    "type": "string"
                },
                "named_user_id": {
                    "_format": "uuid",
                    "type": "string"
                }
            },
            "type": "object"
        },
        "id": {
            "_format": "uuid",
            "type": "string"
        },
        "occurred": {
            "_format": "date-time",
            "type": "string"
        },
        "offset": {
            "type": "string"
        },
        "processed": {
            "_format": "date-time",
            "type": "string"
        },
        "type": {
            "pattern": "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$",
            "type": "string"
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "LOCATION",
        "vendor": "com.urbanairship.connect",
        "version": "1-0-0"
    },
    "type": "object"
}