Skip to content

Commit bc5416b

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

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

modes/car-share.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ Valid car share vehicle states are
167167
- `reserved`
168168
- `on_trip`
169169
- `stopped`
170+
- `non_contactable`
170171
- `elsewhere`
171-
- `unknown`
172172

173173
See [Vehicle States][vehicle-states] for descriptions.
174174

@@ -219,29 +219,29 @@ 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` | `non_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 |
@@ -254,14 +254,14 @@ This is the list of `vehicle_state` and `event_type` pairings that constitute th
254254
| `stopped` | `stopped` | `stopped` | `fueling_end` | End fueling the device with physical fuel |
255255
| `stopped` | `stopped` | `stopped` | `remote_start` | Remotely start the engine while vehicle is stopped, usually to charge battery or warm up |
256256
| `stopped` | `stopped` | `stopped` | `remote_end` | Remotely stop the engine while vehicle is already stopped |
257-
| `stopped` | `unknown` | N/A | `comms_lost` | The vehicle has went out of comms while stopped |
258-
| `unknown` | `available` | N/A | `comms_restored` | The vehicle has come back into comms while available for-hire |
259-
| `unknown` | `elsewhere` | N/A | `comms_restored` | The vehicle has come back into comms while outside of jurisdictional boundaries |
260-
| `unknown` | `non_operational` | N/A | `comms_restored` | The vehicle has come back into comms while not operating commercially |
261-
| `unknown` | `on_trip` | `on_trip` | `comms_restored` | The vehicle has come back into comms while on a trip |
262-
| `unknown` | `removed` | N/A | `comms_restored` | The vehicle has come back into comms while removed |
263-
| `unknown` | `reserved` | `reserved` | `comms_restored` | The vehicle has come back into comms while reserved by a passenger |
264-
| `unknown` | `stopped` | `stopped` | `comms_restored` | The vehicle has come back into comms while stopped |
257+
| `stopped` | `non_contactable` | N/A | `comms_lost` | The vehicle has went out of comms while stopped |
258+
| `non_contactable` | `available` | N/A | `comms_restored` | The vehicle has come back into comms while available for-hire |
259+
| `non_contactable` | `elsewhere` | N/A | `comms_restored` | The vehicle has come back into comms while outside of jurisdictional boundaries |
260+
| `non_contactable` | `non_operational` | N/A | `comms_restored` | The vehicle has come back into comms while not operating commercially |
261+
| `non_contactable` | `on_trip` | `on_trip` | `comms_restored` | The vehicle has come back into comms while on a trip |
262+
| `non_contactable` | `removed` | N/A | `comms_restored` | The vehicle has come back into comms while removed |
263+
| `non_contactable` | `reserved` | `reserved` | `comms_restored` | The vehicle has come back into comms while reserved by a passenger |
264+
| `non_contactable` | `stopped` | `stopped` | `comms_restored` | The vehicle has come back into comms while stopped |
265265

266266
[Top][toc]
267267

0 commit comments

Comments
 (0)