openmobilityfoundation / mobility-data-specification

A data standard to enable right-of-way regulation and two-way communication between mobility companies and local governments.
https://www.openmobilityfoundation.org/about-mds/
Other
676 stars 232 forks source link

Add service_start_time and service_end_time to VEHICLES endpoint #899

Open Mu-yi-Zhou opened 4 months ago

Mu-yi-Zhou commented 4 months ago

Is your feature request related to a problem? Please describe.

The only vehicle info in Trips/Events/Telemetry is DEVICE_ID - we need to join them with Vehicles to get more vehicle info e.g. PROPULSION_TYPE, ACCESSIBILITY_ATTRIBUTES. There is no datetime fields currenty to indicate when a device joins the retires from the fleet, which is critical in the cases of a device gets a new VEHICLE_ID (plate number) and stays in the fleet, or a device gets upgrades to a adaptive device, which will results in two records with same DEVICE_ID.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Joining Trips/Events/Telemetry with Vehicles on DEVICE_ID will not get us the right vehicle attributes.

Describe the solution you'd like

Add service_start_time and servict_end_time to the VEHICLES endpoint.

Is this a breaking change

Impacted Spec

For which spec is this feature being requested?

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

schnuerle commented 3 months ago

Hi @jiffyclub @pierre-bouffort do you have thoughts on this being a concern of yours?

pierre-bouffort commented 3 months ago

Hi @schnuerle ! I think this is a valid point. We managed to hedge this risk by keeping a record of the history of the vehicle on our end, but the standard itself doesn't manage this scenario. So I believe the concern is legitimate.