Skip to content

Conversation

@Mu-yi-Zhou
Copy link

Explain pull request

In response to Issue #899, adding a required field service_start and required if available field service_end to Vehicle endpoint of Provider API.

  • No, not breaking

Impacted Spec

  • provider

Add service_start and service_end to Vehicle endpoint of Provider API

Signed-off-by: Muyi Zhou <[email protected]>
@Mu-yi-Zhou Mu-yi-Zhou requested a review from a team as a code owner April 8, 2025 22:30
@CLAassistant
Copy link

CLAassistant commented Apr 8, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ schnuerle
❌ Mu-yi-Zhou
You have signed the CLA already but the status is still pending? Let us recheck it.

@schnuerle schnuerle linked an issue Apr 8, 2025 that may be closed by this pull request
@schnuerle schnuerle added this to the 2.1.0 milestone Apr 8, 2025
@schnuerle schnuerle added the Provider Specific to the Provider API label Apr 8, 2025
@schnuerle schnuerle changed the title Add service_start and service_end to Vehicle endpoint of Provider API Add service_start and service_end to Vehicle endpoint of Provider and Agency APIs Apr 9, 2025
@schnuerle schnuerle changed the title Add service_start and service_end to Vehicle endpoint of Provider and Agency APIs Add service_start and service_end to Vehicle object in Provider and Agency APIs Apr 9, 2025
@schnuerle
Copy link
Member

schnuerle commented Apr 9, 2025

What about calling these fields lifecycle_start and lifecycle_end to more accurately describe their use, as described here?

@schnuerle
Copy link
Member

schnuerle commented Apr 28, 2025

At the public working group meeting, we discussed this at length. Here are some of the key takeaways. See notes for full details and recording.

Key Points

  • MDS Vehicles is a real time status of vehicles, not a history
  • Vehicle property change: when part of a vehicle is changed: accessibility, batter, tires, IoT device, license plate, color, etc (custom for each Mode). Useful for knowing use and rides with certain equipment. This is really what SFMTA wants to see (going to rename Issue/PR). Is this history a new data structure in MDS? Or a new event type in Events with descriptive text?
    • Vehicle lifecycle: when a vehicle was added to service, then finally retired. Useful for carbon footprint discussions, lifetime operations, green goals, etc. MDS Events already has decommissioned state for when its removed from service.
    • Vehicle maintenance: When vehicles have maintenance done on or off street - already covered in MDS with vehicle states in Events. Last inspection date is in Vehicles now. Some public agencies get this in monthly reports, but MDS should be able to handle this instead.
  • Need to hear more from operators, vendors, data aggregators. Comment on GitHub now with challenges or issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Provider Specific to the Provider API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Need a way to track vehicle property/attribute changes over time

3 participants