Skip to content

Commit f786bbc

Browse files
author
Jean Kao
authored
Replace Unknown for Passenger Services
Replaced 'unknown' state with new 'non_contactable' along with associated event types in the transitions.
1 parent bc5416b commit f786bbc

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

modes/passenger-services.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ Valid passenger services vehicle states are
171171
- `reserved`
172172
- `on_trip`
173173
- `stopped`
174-
- `elsewhere`
175-
- `unknown`
174+
- `non_contactable`
175+
- `elsewhere`
176176

177177
See [Vehicle States][vehicle-states] for descriptions.
178178

@@ -219,43 +219,43 @@ This is the list of `vehicle_state` and `event_type` pairings that constitute th
219219
| `available` | `elsewhere` | N/A | `leave_jurisdiction` | The vehicle has left jurisdictional boundaries while available for-hire |
220220
| `available` | `non_operational` | N/A | `service_end` | The vehicle has went out of service (is unavailable for-hire) |
221221
| `available` | `reserved` | `reserved` | `reserve` | The vehicle was reserved by a passenger |
222-
| `available` | `unknown` | N/A | `comms_lost` | The vehicle has went out of comms while available for-use |
222+
| `available` | `non_contactable` | N/A | `comms_lost` | The vehicle has went out of comms while available for-use |
223223
| `elsewhere` | `available` | N/A | `enter_jurisdiction` | The vehicle has entered jurisdictional boundaries while available for-hire |
224224
| `elsewhere` | `non_operational` | N/A | `enter_jurisdiction` | The vehicle has entered jurisdictional boundaries while not operating commercially |
225225
| `elsewhere` | `on_trip` | `on_trip` | `enter_jurisdiction` | The vehicle has entered jurisdictional boundaries while on a trip |
226226
| `elsewhere` | `reserved` | N/A | `enter_jurisdiction` | The vehicle has entered jurisdictional boundaries while reserved by a customer |
227-
| `elsewhere` | `unknown` | N/A | `comms_lost` | The vehicle has went out of comms while outside of jurisdictional boundaries |
227+
| `elsewhere` | `non_contactable` | N/A | `comms_lost` | The vehicle has went out of comms while outside of jurisdictional boundaries |
228228
| `non_operational` | `available` | N/A | `service_start` | The vehicle has went into service (is available for-hire) |
229229
| `non_operational` | `elsewhere` | N/A | `leave_jurisdiction` | The vehicle has left jurisdictional boundaries while not operating commercially |
230230
| `non_operational` | `removed` | N/A | `decommissioned` | The vehicle has been removed from the Provider's fleet |
231231
| `non_operational` | `removed` | N/A | `maintenance_start` | The vehicle has entered the depot for maintenance |
232-
| `non_operational` | `unknown` | N/A | `comms_lost` | The vehicle has went out of comms while not operating commercially |
232+
| `non_operational` | `non_contactable` | N/A | `comms_lost` | The vehicle has went out of comms while not operating commercially |
233233
| `on_trip` | `elsewhere` | N/A | `leave_jurisdiction` | The vehicle has left jurisdictional boundaries while on a trip |
234234
| `on_trip` | `stopped` | `stopped` | `trip_stop` | The vehicle has stopped while on a trip |
235-
| `on_trip` | `unknown` | N/A | `comms_lost` | The vehicle has gone out of comms while on a trip |
235+
| `on_trip` | `unon_contactable` | N/A | `comms_lost` | The vehicle has gone out of comms while on a trip |
236236
| `removed` | `non_operational` | N/A | `maintenance_end` | The vehicle has left the depot |
237237
| `removed` | `non_operational` | N/A | `recommissioned` | The vehicle has been re-added to the Provider's fleet after being previously `decommissioned` |
238-
| `removed` | `unknown` | N/A | `comms_lost` | The vehicle has gone out of comms while removed |
238+
| `removed` | `non_contactable` | N/A | `comms_lost` | The vehicle has gone out of comms while removed |
239239
| `reserved` | `available` | N/A | `driver_cancellation` | The driver has canceled the reservation |
240240
| `reserved` | `available` | N/A | `passenger_cancellation` | The passenger has canceled the reservation |
241241
| `reserved` | `available` | N/A | `provider_cancellation` | The provider has canceled the reservation |
242242
| `reserved` | `elsewhere` | N/A | `leave_jurisdiction` | The vehicle has left the jurisdiction while in a reservation |
243243
| `reserved` | `stopped` | `stopped` | `reserve_stop` | The vehicle has stopped to pick up the passenger |
244-
| `reserved` | `unknown` | N/A | `comms_lost` | The vehicle went out of comms while being reserved by a passenger |
244+
| `reserved` | `non_contactable` | N/A | `comms_lost` | The vehicle went out of comms while being reserved by a passenger |
245245
| `stopped` | `available` | N/A | `driver_cancellation` | The driver has canceled the trip while either waiting for the passenger, or dropping them off |
246246
| `stopped` | `available` | N/A | `passenger_cancellation` | The passenger has canceled the trip while the vehicle is waiting to pick them up, or they are being dropped off |
247247
| `stopped` | `available` | N/A | `provider_cancellation` | The provider has canceled the trip while the vehicle is waiting for a passenger, or dropping them off |
248248
| `stopped` | `available` | N/A | `trip_end` | The trip has been successfully completed |
249249
| `stopped` | `on_trip` | `on_trip` | `trip_resume` | Resume a trip that was previously stopped (e.g. picking up a friend to go to the airport with) |
250250
| `stopped` | `on_trip` | `on_trip` | `trip_start` | Start a trip |
251-
| `stopped` | `unknown` | N/A | `comms_lost` | The vehicle has went out of comms while stopped |
252-
| `unknown` | `available` | N/A | `comms_restored` | The vehicle has come back into comms while available for-hire |
253-
| `unknown` | `elsewhere` | N/A | `comms_restored` | The vehicle has come back into comms while outside of jurisdictional boundaries |
254-
| `unknown` | `non_operational` | N/A | `comms_restored` | The vehicle has come back into comms while not operating commercially |
255-
| `unknown` | `on_trip` | `on_trip` | `comms_restored` | The vehicle has come back into comms while on a trip |
256-
| `unknown` | `removed` | N/A | `comms_restored` | The vehicle has come back into comms while removed |
257-
| `unknown` | `reserved` | `reserved` | `comms_restored` | The vehicle has come back into comms while reserved by a passenger |
258-
| `unknown` | `stopped` | `stopped` | `comms_restored` | The vehicle has come back into comms while stopped |
251+
| `stopped` | `non_contactable` | N/A | `comms_lost` | The vehicle has went out of comms while stopped |
252+
| `non_contactable` | `available` | N/A | `comms_restored` | The vehicle has come back into comms while available for-hire |
253+
| `non_contactable` | `elsewhere` | N/A | `comms_restored` | The vehicle has come back into comms while outside of jurisdictional boundaries |
254+
| `non_contactable` | `non_operational` | N/A | `comms_restored` | The vehicle has come back into comms while not operating commercially |
255+
| `non_contactable` | `on_trip` | `on_trip` | `comms_restored` | The vehicle has come back into comms while on a trip |
256+
| `non_contactable` | `removed` | N/A | `comms_restored` | The vehicle has come back into comms while removed |
257+
| `non_contactable` | `reserved` | `reserved` | `comms_restored` | The vehicle has come back into comms while reserved by a passenger |
258+
| `non_contactable` | `stopped` | `stopped` | `comms_restored` | The vehicle has come back into comms while stopped |
259259

260260
[Top][toc]
261261

0 commit comments

Comments
 (0)