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
|`vehicle_attributes`| Conditionally Required | Array of [vehicle attributes](/modes/#vehicle-attributes)| Vehicle attributes appropriate for the current [mode][modes]|
101
+
|`battery_capacity`| Integer | Required if Available | Capacity of battery expressed as milliamp hours (mAh) |
102
+
|`fuel_capacity`| Integer | Required if Available | Capacity of fuel tank (liquid, solid, gaseous) expressed in liters |
101
103
102
104
201 Success Response:
103
105
@@ -214,6 +216,32 @@ Body Params:
214
216
215
217
[Top][toc]
216
218
219
+
<<<<<<< HEAD
220
+
=======
221
+
## Telemetry Data
222
+
223
+
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).
224
+
225
+
| Field | Type | Required/Optional | Field Description |
|`device_id`| UUID | Required | ID used in [Register](#vehicle---register)|
228
+
|`timestamp`|[timestamp][ts]| Required | Date/time that event occurred. Based on GPS or GNSS clock |
229
+
|`gps`| Object | Required | Telemetry position data |
230
+
|`gps.lat`| Double | Required | Latitude of the location |
231
+
|`gps.lng`| Double | Required | Longitude of the location |
232
+
|`gps.altitude`| Double | Required if Available | Altitude above mean sea level in meters |
233
+
|`gps.heading`| Double | Required if Available | Degrees - clockwise starting at 0 degrees at true North |
234
+
|`gps.speed`| Float | Required if Available | Estimated speed in meters / sec as reported by the GPS chipset |
235
+
|`gps.accuracy`| Float | Required if Available | Horizontal accuracy, in meters |
236
+
|`gps.hdop`| Float | Required if Available | Horizontal GPS or GNSS accuracy value (see [hdop][hdop]) |
237
+
| `gps.satellites` | Integer | Required if Available | Number of GPS or GNSS satellites
238
+
|`battery_percent`| Integer | Required if Applicable | Percent battery charge of vehicle, expressed between 0 and 100 |
239
+
|`fuel_percent`| Integer | Required if Applicable | Percent fuel in vehicle, expressed between 0 and 100 |
240
+
|`stop_id`| UUID | Required if Applicable | Stop that the vehicle is currently located at. Only applicable for _docked_ Micromobility. See [Stops][stops]|
241
+
242
+
[Top][toc]
243
+
244
+
>>>>>>> dev
217
245
## Stops
218
246
219
247
The `/stops` endpoint allows an agency to register city-managed Stops, or a provider to register self-managed Stops.
|`battery_capacity`| Integer | Required if Available | Capacity of battery expressed as milliamp hours (mAh) |
448
+
|`fuel_capacity`| Integer | Required if Available | Capacity of fuel tank (liquid, solid, gaseous) expressed in liters |
449
+
|`last_event_time`|[timestamp][ts]| Required | Date/time when last state change occurred. See [Event Times][event-times]|
450
+
|`last_state`| Enum | Required |[Vehicle state][vehicle-states] of most recent state change. |
451
+
|`last_event_types`| Enum[]| Required |[Vehicle event(s)][vehicle-events] of most recent state change, allowable values determined by `last_vehicle_state`. |
452
+
|`last_event_location`| GeoJSON [Point Feature][point-geo]| Required | Location of vehicle's last event. See also [Stop-based Geographic Data][stop-based-geo]. |
453
+
|`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]. |
454
+
|`battery_percent`| Integer | Required if Applicable | Percent battery charge of vehicle, expressed between 0 and 100 |
455
+
|`fuel_percent`| Integer | Required if Applicable | Percent fuel in vehicle, expressed between 0 and 100 |
Copy file name to clipboardExpand all lines: geography/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ Type of geography. These specific types are recommendations based on ones common
128
128
|`municipal_boundary`| Edge of a city |
129
129
|`policy_zone`| Zone where [Policy](/policy) rules could be in effect, like operating area, distribution/equity zones, no/slow ride zone, no parking, etc |
130
130
|`county_boundary`| Edge of a county |
131
-
|`stop`| See [Stops](/general-information.ms#stops)|
131
+
|`stop`| See [Stops](/general-information.md#stops)|
132
132
|`council_district`| City council district |
133
133
|`political_district`| Politically defined voting area |
Copy file name to clipboardExpand all lines: modes/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,10 +58,14 @@ The `trip_type` field allows the purpose of each trip segment to be described. S
58
58
59
59
The `trip_attributes` array allows additional mode-specific information about the nature of a trip to be described. It can return a list of JSON-formatted key/value pairs which correspond to the allowed attributes and values for the operative mode. See each [mode definition](#list-of-supported-modes) for details.
60
60
61
+
_See more available trip attributes for any mode in the [trips endpoint](/provider#trips)._
62
+
61
63
### Vehicle Attributes
62
64
63
65
The `vehicle_attributes` array returns a list of JSON-formatted key/value pairs which correspond to the allowed attributes and values for the operative mode. For each mode, the allowed attributes and corresponding values are defined in the [mode definition](#list-of-supported-modes).
64
66
67
+
_See more available vehicle attributes for any mode in the [vehicles endpoint](/provider#vehicles)._
68
+
65
69
### Accessibility Options
66
70
67
71
The `accessibility_options` array returns a list of JSON-formatted key/value pairs which correspond to the allowed accessibility attributes and values for the operative mode. For each mode, the allowed attributes and corresponding values are defined in the [mode definition](#list-of-supported-modes).
0 commit comments