Skip to content

Commit 48214e3

Browse files
committed
low_battery -> battery_low
service_end -> battery_low
1 parent e376aa4 commit 48214e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

general-information.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ In a multi-jurisdiction environment, the status of a vehicle is per-jurisdiction
129129

130130
This is the list of `vehicle_state` and `event_type` pairings that constitute the valid transitions of the vehicle state machine.
131131

132-
The state-transition table below describes how the `vehicle_state` changes in response to each `event_type`. Most events will have a single `event_type`. However, if a single event has more than one ordered `event_type` entry, the intermediate `vehicle_state` value(s) are discarded. For example, if an event contains [`trip_end`, `service_end`] then the vehicle transitions from `on_trip` through `available` to `non_operational` per the state machine, but the vehicle is never "in" the `available` state.
132+
The state-transition table below describes how the `vehicle_state` changes in response to each `event_type`. Most events will have a single `event_type`. However, if a single event has more than one ordered `event_type` entry, the intermediate `vehicle_state` value(s) are discarded. For example, if an event contains [`trip_end`, `battery_low`] then the vehicle transitions from `on_trip` through `available` to `non_operational` per the state machine, but the vehicle is never "in" the `available` state.
133133

134134
Note that to handle out-of-order events, the validity of the prior-state shall not be enforced at the time of ingest via Provider or Agency. Events received out-of-order may result in transient incorrect vehicle states.
135135

@@ -149,7 +149,7 @@ Note that to handle out-of-order events, the validity of the prior-state shall n
149149
| `available`, `reserved` | `on_trip` | `trip_start` | A customer initiated a trip with this vehicle |
150150
| `elsewhere` | `on_trip` | `trip_enter_jurisdiction` | A vehicle on a trip entered the jurisdiction |
151151
| `on_trip` | `elsewhere` | `trip_leave_jurisdiction` | A vehicle on a trip left the jurisdiction |
152-
| `available` | `non_operational` | `low_battery` | The vehicle's battery is below some rentability threshold |
152+
| `available` | `non_operational` | `battery_low` | The vehicle's battery is below some rentability threshold |
153153
| `available` | `non_operational` | `maintenance` | The vehicle requires some non-charge-related maintenance |
154154
| `available` | `non_operational` | `off_hours` | The vehicle has exited operating hours (per the regulator or per the Provider) |
155155
| `available` | `non_operational` | `system_suspend` | The vehicle is not available because of e.g. weather or temporary regulations |

0 commit comments

Comments
 (0)