-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathVehicleTrackResponseV5.dtd
57 lines (57 loc) · 1.5 KB
/
VehicleTrackResponseV5.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://github.com/route4me/route4me-json-schemas/blob/master/VehicleTrackResponseV5.dtd",
"title": "Vehicle Track Response V5",
"type": "object",
"description": "Response of the vehicle track request. Endpoint: https://wh.route4me.com/modules/api/v5.0/vehicles/{vehicle_id}/track",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"route_id": {
"type": "string",
"title": "Route ID",
"description": "Route ID"
},
"member_id": {
"type": "integer",
"title": "Member ID",
"description": "A unique identification number of the member"
},
"lat": {
"type": "number",
"title": "Latitude",
"description": "Latitude",
"minimum": -90,
"maximum": 90
},
"lng": {
"type": "number",
"title": "Longitude",
"description": "Longitude",
"minimum": -180,
"maximum": 180
},
"altitude": {
"type": "number",
"title": "Altitude",
"descrption": "Altitude relative to sea level of the device being tracked"
},
"speed": {
"type": "number",
"title": "Speed",
"descrption": "The speed with which the vehicle is moving"
},
"timestamp": {
"type": "string",
"format": "date-time",
"title": "Device timestamp",
"descrption": "The timestamp on the local (remote relative to the server) device"
}
}
}
}
}
}