Skip to content

Commit 224a0ed

Browse files
committed
add 'unspecified' events to some states
clean up duplicate table entries
1 parent 6842c44 commit 224a0ed

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

general-information.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,18 +289,15 @@ Vehicles can enter the `unknown` state to and from any other state with the foll
289289
| `available` | `non_operational` | `maintenance` | The vehicle requires some non-charge-related maintenance |
290290
| `available` | `non_operational` | `off_hours` | The vehicle has exited operating hours (per the regulator or per the Provider) |
291291
| `available` | `non_operational` | `system_suspend` | The vehicle is not available because of e.g. weather or temporary regulations |
292-
| `available` | `non_operational` | `unspecified` | The vehicle became unavailable, but he Provider cannot definitively (yet) specify the reason. |
292+
| `available`, `unknown` | `non_operational` | `unspecified` | The vehicle became unavailable, but the Provider cannot definitively (yet) specify the reason. |
293293
| `unknown` | `non_operational` | `comms_restored` | The vehicle transmitted status information after a period of being out of communication |
294-
| `unknown` | `non_operational` | `unspecified` | The vehicle became unavailable, but he Provider cannot definitively (yet) specify the reason. |
295294
| `available`, `non_operational`, `elsewhere` | `removed` | `rebalance_pick_up` | The provider picked up the vehicle for rebalancing purposes |
296295
| `available`, `non_operational`, `elsewhere` | `removed` | `maintenance_pick_up` | The provider picked up the vehicle to service it |
297296
| `available`, `non_operational`, `elsewhere`, `unknown` | `removed` | `agency_pick_up` | An agency picked up the vehicle for some reason, e.g. illegal placement |
298297
| `available`, `non_operational`, `elsewhere` | `removed` | `compliance_pick_up` | The provider picked up the vehicle because it was placed in a non-compliant location |
299298
| `available`, `non_operational`, `elsewhere`, `unknown` | `removed` | `decommissioned` | The provider has removed the vehicle from its fleet |
300299
| `unknown`, `non_operational`, `available`, `elsewhere` | `removed` | `unspecified` | The vehicle was removed, but the provider cannot definitively (yet) specify the reason |
301300
| `unknown` | `removed` | `comms_restored` | The vehicle transmitted status information after a period of being in an unknown state |
302-
| `unknown` | `removed` | `unspecified` | The provider cannot definitively state why a vehicle was removed |
303-
| `non_operational` | `removed` | `unspecified` | The provider cannot definitively state why a non-opertional vehicle was removed |
304301
| `available`, `elsewhere`, `non_operational`, `on_trip`, `removed`, `reserved` | `unknown` | `missing` | The vehicle is not at its last reported GPS location, or that location is wildly in error |
305302
| `available`, `elsewhere`, `non_operational`, `on_trip`, `removed`, `reserved` | `unknown` | `comms_lost` | The vehicle is unable to transmit its GPS location or other status information |
306303
| `available`, `elsewhere`, `non_operational`, `on_trip`, `removed`, `reserved` | `unknown` | `unspecified` | The provider cannot definitively (yet) specify the reason for the unknown state |

schema/templates/common.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,8 @@
517517
"contains": {
518518
"enum": [
519519
"comms_restored",
520-
"trip_leave_jurisdiction"
520+
"trip_leave_jurisdiction",
521+
"unspecified"
521522
]
522523
}
523524
}
@@ -552,7 +553,8 @@
552553
"enum": [
553554
"comms_restored",
554555
"trip_enter_jurisdiction",
555-
"trip_start"
556+
"trip_start",
557+
"unspecified"
556558
]
557559
}
558560
}
@@ -586,7 +588,8 @@
586588
"contains": {
587589
"enum": [
588590
"comms_restored",
589-
"reservation_start"
591+
"reservation_start",
592+
"unspecified"
590593
]
591594
}
592595
}

0 commit comments

Comments
 (0)