@@ -305,6 +305,10 @@ message TripUpdate {
305305 optional int32 delay = 5 ;
306306 optional TripProperties trip_properties = 6 ;
307307 optional VehicleProperties vehicle_properties = 7 ;
308+ // Defines which trip_ids (defined via GTFS-NewTrips) are replacing this trip.
309+ // This is for information only and doesn’t cancel the original trip. If this
310+ // field is populated, schedule_relationship for this trip must be CANCELED.
311+ repeated string replaced_by_trip_id = 8 ;
308312
309313 // The extensions namespace allows 3rd-party developers to extend the
310314 // GTFS Realtime Specification in order to add and evaluate new features and
@@ -736,7 +740,7 @@ message TranslatedString {
736740message TripProperties {
737741 // Identifies a trip.
738742 optional string trip_id = 1 ;
739- // Dates on which the trip will be run in YYYYMMDD format.
743+ // Service date on which the trip will be run in YYYYMMDD format.
740744 optional string start_date = 2 ;
741745 // Departure start time of the trip when it’s duplicated.
742746 optional string start_time = 3 ;
@@ -831,12 +835,10 @@ message Trip {
831835 optional WheelchairAccessibleStatus wheelchair_accessible = 8 [default = UNKNOWN_WHEELCHAIR_ACCESSIBILITY ];
832836 // Indicates whether bikes are allowed or not.
833837 optional BikesAllowedStatus bikes_allowed = 9 [default = UNKNOWN_BIKES_ALLOWANCE ];
834- // Defines which trips are being replaced by this trip.
835- repeated string replaces_trip_id = 10 ;
836838 // The arrival and departure times for this trip. Entities must be ordered by stop_sequence.
837- repeated StopTime stop_time = 11 ;
838- // Date on which the trip will be run. Must be provided in YYYYMMDD format.
839- required string start_date = 12 ;
839+ repeated StopTime stop_time = 10 ;
840+ // Service date(s) on which the trip will be run. Must be provided in YYYYMMDD format.
841+ repeated string start_date = 11 ;
840842
841843 // Options for wheelchair_accessible:
842844 // 0 - No accessibility information for the trip.
0 commit comments