Comments (3)
Now that I think about it, a follow-up clarification is for the event that identifies the actual pickup of the device that has a low battery.
It seems like unavailable:low_battery
just says that the device can't be reserved by a user, but it doesn't say that the device has been collected by a charger.
I think this all comes down to how MDS defines "maintenance" - does charging include maintenance, or is maintenance strictly for replacing/repairing parts etc.?
Assuming "maintenance" is exclusive of charging, one path forward is to extend event_type
and event_type_reason
as follows:
| `event_type` | Description | `event_type_reason` | Description |
| ---------- | ---------------------- | ------- | ------------------ |
| `available` | A device becomes available for customer use | `service_start` | Device introduced into service at the beginning of the day (if program does not operate 24/7) |
| | | `user_drop_off` | User ends reservation |
| | | `rebalance_drop_off` | Device moved for rebalancing |
| | | `maintenance_drop_off` | Device introduced into service after being removed for maintenance |
+| | | `charger_drop_off` | Device introduced into service after being removed for recharging |
| `removed` | A device is removed from the street and unavailable for customer use | `service_end` | Device removed from street because service has ended for the day (if program does not operate 24/7) |
| | | `rebalance_pick_up` | Device removed from street and will be placed at another location to rebalance service |
-| | | `maintenance_pick_up` | Device removed from street so it can be worked on |
+| | | `maintenance_pick_up` | Device removed from street so it can be repaired or replaced |
+| | | `charger_pick_up` | Device removed from street so it can be recharged |
If "maintenance" is inclusive of charging, then it seems like available:maintenance_drop_off
and unavailable:maintenance_pick_up
cover it.
from mobility-data-specification.
I believe that the main motive for these events and their reasons is to distinguish between events that take a device on and off the network by a user action vs an operations or provider action.
Some providers may not track or have a reason to track events at the granularity that the spec is suggesting, separate events for maintenance, rebalancing, and charging. If the spec could be flexible to allow for this granularity but not require it, that would be great.
I suggest that we have sort of hierarchy to the event_type_reason
. Generic events such as provider_[pickup, drop_off]
& user_[pickup, drop_off]
that cover the two base cases and then potentially more specific events that providers can leverage if they have the data.
from mobility-data-specification.
5/23 call seems to indicate that cities / providers have what they need to track the prow, so we can finally close this issue!
from mobility-data-specification.
Related Issues (20)
- MDS 2.0 - accessibility_options for vehicles should be optional not required HOT 12
- Improve REST API docs HOT 2
- Agency POST response codes HOT 9
- Agency PUT Stops payload HOT 7
- Agency error and bulk responses HOT 11
- /vehicles in MDS 2.0 HOT 6
- MDS 2.0 - telemetry fields trip_ids/journey_id should correspond to the event HOT 2
- MDS 2.0 - trip/fare attributes inconsistencies HOT 7
- MDS Provider Id Registration HOT 1
- Getting vehicle event status in MDS 2.0 HOT 3
- Fix Reports - Register error table HOT 1
- MDS 2.0 - Stops should have same response structure as vehicles or vice versa HOT 4
- MDS 2.0 - round-trip car sharing and reservation/reserved HOT 4
- Correction of description vehicle events (car sharing) HOT 3
- Car_type as an vehicle attribute HOT 1
- Minor additions to vehicle attributes // Car sharing HOT 3
- Flag geographies that should be returned in the Reports endpoint HOT 2
- Reports endpoint - START_DATE clarification HOT 4
- guidance on how to use telemetry data for compliance HOT 2
- What vehicles are included in the MDS 2.0 /vehicles endpoint? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobility-data-specification.