{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "This schema represents time-location data (GPS traces). It has a series of GPS points in a list of the form [{point1}, ..., {pointn}]  where each {point} list is {timestamp, latitude, longitude, altitude} for now",
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "timestamp": {
                "description": "The date time this data point was created.",
                "type": "number"
            },
            "longitude": {
                "description": "The longitude where this data point was created.",
                "type": "number",
                "minimum": -180,
                "maximum": 180
            },
            "latitude": {
                "description": "The latitude where this data point was created.",
                "type": "number",
                "minimum": -90,
                "maximum": 90
            },
            "altitude": {
                "description": "The altitude where this data point was created.",
                "type": "number"
            }
        },
        "required": [
            "timestamp",
            "latitude",
            "longitude",
            "altitude"
        ]
    }
}