Add new vehicle_label field to vehicles table - #250
Conversation
|
Documentation available at: |
|
Should samples/template/TIDES/vehicles.csv also be update to add the field. |
|
Data Validation Report
|
Yes, I went ahead and added |
CTRAN-Sutinen
left a comment
There was a problem hiding this comment.
vehicle_label is functionally a unique id, I think we need to have a uniqueness constraint.
Drive-by note: at least for MBTA this is not the case. We have vehicles with the same label, even inside a single mode. |
|
Data Validation Report
|
This has been resolved, as vehicle_label is determined not to be unique. This can move forward as-is. |
|
@paulswartz your MBTA example settled the uniqueness question here; labels stay non-unique, and Spenser withdrew the constraint suggestion at the 8/13 Contributors meeting. If the final shape looks right to you, a comment with a score (Accepted / Accepted with minor changes / Substantially revised) would wrap up your review on this one. |
Summary
Adds an optional
vehicle_labelfield to thevehiclestable to distinguish between internal vehicle IDs and public-facing vehicle numbers displayed on the exterior if vehicles. This new field aligns with GTFS-realtime VehicleDescriptor which has bothidandlabel.Resolves #240
Changes
spec/vehicles.schema.jsonadded new optional fieldvehicle_label:stringUser-visible label for the vehicle, such as the vehicle number displayed on the exterior. This may differ from vehicle_id, which is the internal identifier. Aligns with GTFS-realtime VehicleDescriptor.label.vehicle_idCHANGELOG.mdadded entry under[Unreleased]>### AddedReason for this change
Agencies often have two different identifiers for vehicles:
vehicle_id) used in fleet management, maintenance systems, and internal databasesvehicle_label) displayed on the vehicle exterior for passengers and customer serviceCurrently the TIDES spec only has
vehicle_id, which forces agencies to either lose the public-facing number or use inconsistent workarounds. Addingvehicle_labelprovides a standard place for this common data element (and aligns with GTFS-realtime'sVehicleDescriptor.label).- See related discussion in Issue #240 and Fall 2025 TIDES Issues Working Group notes from December 10.
Review checklist
Per change management policy, the following must be met before feature branch changes can merge to
developbranch:Community review status (updated August 27, 2026)
How community review works: Per the TIDES Change Management Policy, a proposal moves forward once at least three TIDES Contributors outside the originating working group publicly comment with a score: Accepted, Accepted with minor changes, or Substantially revised. A few sentences with your read of the proposal is a complete review.
Originating working group (Fall 2025 Issues Working Group, December 1 and 10, 2025 sessions): Christopher Yamas, Gabriel Sánchez Martínez, Ian Thistle, Jay Gordon, John Levin, Joey Reid, Spenser Sutinen. Their work is reflected in the proposal itself; community review comes from Contributors beyond this group.
Review so far: @lauriemerrell has approved this PR (Accepted), and @paulswartz shared the MBTA ground truth on label uniqueness that settled the design; a scored comment here would add that review to the record.
Thanks to everyone who has weighed in on this proposal; it is moving into final consideration for v2.0. Further comments are always welcome.