{
    "$schema" : "http://json-schema.org/draft-04/schema#",
    "title" : "ProbeListItemType",
    "type" : "object",
    "additionalProperties" : false,
    "description" : "TAnalytics-v3 .. Probe List Item for GPS tracking events",
    "properties" : {
        "lat" : {
            "type" : "number",
            "description" : "Raw Latitude"
        },
        "lon" : {
            "type" : "number",
            "description" : "Raw Longitude"
        },
        "altitude" : {
            "type" : "number",
            "description" : "measured in metres"
        },
        "horizontal_accuracy" : {
            "type" : "number",
            "description" : "The radius of uncertainty for the location, measured in meters"
        },
        "vertical_accuracy" : {
            "type" : "number",
            "description" : "The accuracy of the altitude value in meters"
        },
        "timestamp" : {
            "type" : "integer",
            "description" : "The time at which location was determined"
        },
        "speed" : {
            "type" : "number",
            "description" : "The instantaneous speed of the device in meters per second"
        },
        "heading" : {
            "$ref":"/resources/schema/analytics/client/v3/HeadingDirectionType.json",
            "description" : "The direction in which the device is traveling. Can be one of the - N NE E SE S SW NW W"
        },
        "heading_angle" : {
            "type" : "number",
            "description" : "The direction in which the device is traveling with respect to north, degree value (0-360)"
        },
        "map_matched_lat" : {
            "type" : "number",
            "description" : "Map matched Latitude"
        },
        "map_matched_lon" : {
            "type" : "number",
            "description" : "Map matched Longitude"
        },       
        "gps_source": {
            "$ref": "/resources/schema/analytics/client/v3/type/GpsSourceType.json",
            "description": "Source of GPS"
        },
        "dimension": {
            "$ref": "/resources/schema/analytics/client/v3/type/LocationDimensionType.json",
            "description": "Location dimension"
        },
        "number_of_satellites": {
            "type": "integer",
            "description": "The number of satellites used for GPS"
        },
        "accumulated_distance": {
            "type": "number",
            "description": "Accumulated distance since power on in meters"
        }
    },
    "required" : [
        "lat",
        "lon"
    ]
}