{
    "additionalProperties": false,
    "description": "Schema for client geolocation contexts",
    "properties": {
        "altitude": {
            "type": [
                "number",
                "null"
            ]
        },
        "altitudeAccuracy": {
            "type": [
                "number",
                "null"
            ]
        },
        "bearing": {
            "type": [
                "number",
                "null"
            ]
        },
        "latitude": {
            "maximum": 90,
            "minimum": -90,
            "type": "number"
        },
        "latitudeLongitudeAccuracy": {
            "type": [
                "number",
                "null"
            ]
        },
        "longitude": {
            "maximum": 180,
            "minimum": -180,
            "type": "number"
        },
        "speed": {
            "type": [
                "number",
                "null"
            ]
        },
        "timestamp": {
            "type": [
                "integer",
                "null"
            ]
        }
    },
    "required": [
        "latitude",
        "longitude"
    ],
    "self": {
        "format": "jsonschema",
        "name": "geolocation_context",
        "vendor": "com.snowplowanalytics.snowplow",
        "version": "1-1-0"
    },
    "type": "object"
}