{
    "additionalProperties": true,
    "properties": {
        "body": {
            "additionalProperties": true,
            "properties": {
                "action": {
                    "type": "string"
                },
                "proximity": {
                    "additionalProperties": true,
                    "properties": {
                        "id": {
                            "pattern": "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$",
                            "type": "string"
                        },
                        "lat": {
                            "type": "string"
                        },
                        "lon": {
                            "type": "string"
                        },
                        "major": {
                            "maximum": 2147483647,
                            "minimum": -2147483648,
                            "type": "integer"
                        },
                        "minor": {
                            "maximum": 2147483647,
                            "minimum": -2147483648,
                            "type": "integer"
                        },
                        "rssi": {
                            "maximum": 2147483647,
                            "minimum": -2147483648,
                            "type": "integer"
                        }
                    },
                    "type": "object"
                },
                "region_id": {
                    "pattern": "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$",
                    "type": "string"
                },
                "session_id": {
                    "_format": "uuid",
                    "type": "string"
                },
                "source": {
                    "pattern": "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$",
                    "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": {
            "type": "string"
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "REGION",
        "vendor": "com.urbanairship.connect",
        "version": "1-0-0"
    },
    "type": "object"
}