Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions transit-extensions.proto
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,22 @@ message TransitModificationExtension {

// Modification to identify that whole modification
optional string modification_id = 3;

// Is that modification splitting the service in two, instead of just having a detour
// If true, a `secondary_shape_id` should be provided in TransitSelectedTripsExtension
optional bool is_splitting_service = 4;
Copy link

@cmonagle cmonagle Dec 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: would no_through_travel through_travel_prohibited work? it feels a bit clearer to me.

}

extend transit_realtime.TripModifications.Modification {
optional TransitModificationExtension transit_modification_extension = 9514;
}

message TransitSelectedTripsExtension {
// Same as shape_id, but should be provided if the shape is different from the original trip
// In that case, shape_id is the first part of the trip, and secondary_shape_id is the second part
optional string secondary_shape_id = 1;
}

extend transit_realtime.TripModifications.SelectedTrips {
optional TransitSelectedTripsExtension transit_selected_trips_extension = 9514;
}