You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever a vehicle location coordinate measurement is presented, it must be represented as a GeoJSON [`Feature`][geojson-feature] object with a corresponding `properties` object with the following properties:
83
83
84
+
(?) Reconcile with Telemetry description, below
84
85
85
86
| Field | Type | Required/Optional | Field Description |
@@ -337,11 +338,14 @@ Because of the unreliability of device clocks, the Provider is unlikely to know
337
338
338
339
A standard point of vehicle telemetry. References to latitude and longitude imply coordinates encoded in the [WGS 84 (EPSG:4326)](https://en.wikipedia.org/wiki/World_Geodetic_System) standard GPS or GNSS projection expressed as [Decimal Degrees](https://en.wikipedia.org/wiki/Decimal_degrees).
339
340
341
+
(?) Add `journey_id`?
342
+
340
343
| Field | Type | Required/Optional | Field Description |
|`device_id`| UUID | Required | ID used in [Register](#vehicle---register)|
343
346
|`timestamp`|[timestamp][ts]| Required | Date/time that event occurred. Based on GPS or GNSS clock |
344
347
| `trip_id` | UUID | Required | If telemetry occurred during a trip, the ID of the trip. If not in a trip, `null`.
348
+
|`stop_id`| UUID | Required if Applicable | Stop that the vehicle is currently located at. Only applicable for _docked_ Micromobility. See [Stops][stops]|
345
349
|`gps`| Object | Required | Telemetry position data |
346
350
|`gps.lat`| Double | Required | Latitude of the location |
347
351
|`gps.lng`| Double | Required | Longitude of the location |
@@ -351,8 +355,8 @@ A standard point of vehicle telemetry. References to latitude and longitude impl
351
355
|`gps.accuracy`| Float | Required if Available | Horizontal accuracy, in meters |
352
356
|`gps.hdop`| Float | Required if Available | Horizontal GPS or GNSS accuracy value (see [hdop][hdop]) |
353
357
| `gps.satellites` | Integer | Required if Available | Number of GPS or GNSS satellites
354
-
|`charge`|Float| Required if Applicable | Percent battery charge of vehicle, expressed between 0 and 1|
355
-
|`stop_id`| UUID| Required if Applicable |Stop that the vehicle is currently located at. Only applicable for _docked_ Micromobility. See [Stops][stops]|
358
+
|`battery_percent`|Integer| Required if Applicable | Percent battery charge of vehicle, expressed between 0 and 100|
359
+
|`fuel_percent`| Integer| Required if Applicable |Percent fuel in vehicle, expressed between 0 and 100|
356
360
357
361
[Top][toc]
358
362
@@ -473,9 +477,6 @@ A vehicle record is as follows:
473
477
|`last_event_types`| Enum[]| Required |[Vehicle event(s)][vehicle-events] of most recent state change, allowable values determined by `last_vehicle_state`. |
474
478
|`last_event_location`| GeoJSON [Point Feature][point-geo]| Required | Location of vehicle's last event. See also [Stop-based Geographic Data][stop-based-geo]. |
475
479
|`current_location`| GeoJSON [Point Feature][point-geo]| Required if Applicable | Current location of vehicle if different from last event, and the vehicle is not currently on a trip. See also [Stop-based Geographic Data][stop-based-geo]. |
476
-
|`battery_percent`| Integer | Required if Applicable | Percent battery charge of vehicle, expressed between 0 and 100 |
477
-
|`fuel_percent`| Integer | Required if Applicable | Percent fuel in vehicle, expressed between 0 and 100 |
0 commit comments