GpsStopModel
GPS event data.
Breaking Changes
No breaking changes.
Examples
- Template
Fill this template out with real values.
{
"bearing": "Float",
"created_on": "String",
"device_name": "String, optional",
"driver_id": "String",
"id": "Integer",
"latitude": "Float",
"longitude": "Float",
"truck_id": "Integer",
"velocity": "Float"
}
Fields
bearing
Float, Required
Direction of travel at time of measurement.
- Less than 360.
- Greater than or equal to 0.
created_on
String, Required
Timestamp of creation (must be in past).
- Date occurring in the past in an ISO 8601 compatible format.
device_name
String, Optional
Name (free text).
- At least 1 and no more than 64 characters.
driver_id
String, Required
Driver identifier.
id
Integer, Required
Resource identifier.
latitude
Float, Required
Latitude.
- Less than or equal to 90.
- Greater than or equal to -90.
longitude
Float, Required
longitude.
- Less than or equal to 180.
- Greater than or equal to -180.
truck_id
Integer, Required
Truck identifier.
velocity
Float, Required
Rate of travel at time of measurement.
- Greater than or equal to 0.