Policy API - Rule unit of distance travelled for maintenance use cases #908
Labels
enhancement
New feature or request
Micromobility
Micromobility mode: scooters, docked, bikeshare, dockless
Policy
Specific to the Policy API
Schema
Implications for JSON Schema or OpenAPI
Milestone
Is your feature request related to a problem? Please describe.
As we have seen in some cities, policies will require to have the operators perform maintenance on their devices at a given frequency. The first step was to allow for the differentiation of on-street maintenance (quick check-up and a battery swap) from the workshop maintenance (more complete overhaul). This was done by leveraging the
maintenance
vs.maintenance_pickup
eventsNow, we see cities ask for a maintenance frequency either in time (already possible in MDS as-is) but also a frequency in terms of mileage travelled since last maintenance. And we have no way of expressing this in MDS Policy API today.
Describe the solution you'd like
We could add the possibility to express the rules minimum and maximum values in a new unit which could be km and miles.
Is this a breaking change
No, not breaking (to be confirmed...)
We could simply add the km and miles in the rule units https://github.com/openmobilityfoundation/mobility-data-specification/tree/main/policy#rule-units
Impacted Spec
For which spec is this feature being requested?
policy
Describe alternatives you've considered
...
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: