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
Copy file name to clipboardExpand all lines: provider/README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -304,7 +304,8 @@ Unless stated otherwise by the municipality, this endpoint must return only thos
304
304
|`publication_time`|[timestamp][ts]| Optional | Date/time that event became available through the status changes endpoint |
305
305
|`event_location`| GeoJSON [Point Feature][point-geo]| Required | See also [Stop-based Geographic Data][stop-based-geo]. |
306
306
|`event_geographies`| UUID[]| Optional |**[Beta feature](/general-information.md#beta-features):***Yes (as of 1.1.0)*. Array of Geography UUIDs consisting of every Geography that contains the location of the status change. See [Geography Driven Events][geography-driven-events]. Required if `event_location` is not present. |
307
-
|`battery_pct`| Float | Required if Applicable | Percent battery charge of device, expressed between 0 and 1 |
307
+
|`battery_percent`| Integer | Required if Applicable | Percent battery charge of vehicle, expressed between 0 and 100 |
308
+
|`fuel_percent`| Integer | Required if Applicable | Percent fuel in vehicle, expressed between 0 and 100 |
308
309
|`trip_id`| UUID | Required if Applicable | Trip UUID (foreign key to /trips endpoint), required if `event_types` contains `trip_start`, `trip_end`, `trip_cancel`, `trip_enter_jurisdiction`, or `trip_leave_jurisdiction`|
309
310
|`associated_ticket`| String | Optional | Identifier for an associated ticket inside an Agency-maintained 311 or CRM system |
310
311
@@ -586,12 +587,15 @@ In addition to the standard [Provider payload wrapper](#response-format), respon
586
587
|`vehicle_type`| Enum | Required | see [vehicle types][vehicle-types] table |
587
588
|`vehicle_attributes`| Array | Optional |**[Mode](/modes#list-of-supported-modes) Specific**. [Vehicle attributes](/modes#vehicle-attributes) given as mode-specific unordered key-value pairs |
|`battery_capacity`| Integer | Required if Available | Capacity of battery expressed as milliamp hours (mAh) |
591
+
|`fuel_capacity`| Integer | Required if Available | Capacity of fuel tank (liquid, solid, gaseous) expressed in liters |
589
592
|`last_event_time`|[timestamp][ts]| Required | Date/time when last state change occurred. See [Event Times][event-times]|
590
593
|`last_vehicle_state`| Enum | Required |[Vehicle state][vehicle-states] of most recent state change. |
591
594
|`last_event_types`| Enum[]| Required |[Vehicle event(s)][vehicle-events] of most recent state change, allowable values determined by `last_vehicle_state`. |
592
595
|`last_event_location`| GeoJSON [Point Feature][point-geo]| Required | Location of vehicle's last event. See also [Stop-based Geographic Data][stop-based-geo]. |
593
596
|`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]. |
594
-
|`battery_pct`| Float | Required if Applicable | Percent battery charge of device, expressed between 0 and 1 |
597
+
|`battery_percent`| Integer | Required if Applicable | Percent battery charge of vehicle, expressed between 0 and 100 |
598
+
|`fuel_percent`| Integer | Required if Applicable | Percent fuel in vehicle, expressed between 0 and 100 |
0 commit comments