You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gtfs-realtime/proto/gtfs-realtime.proto
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -108,8 +108,6 @@ message FeedEntity {
108
108
optionalTripUpdatetrip_update=3;
109
109
optionalVehiclePositionvehicle=4;
110
110
optionalAlertalert=5;
111
-
112
-
// NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
113
111
optionalShapeshape=6;
114
112
optionalStopstop=7;
115
113
optionalTripModificationstrip_modifications=8;
@@ -1144,7 +1142,6 @@ message Stop {
1144
1142
extensions 9000 to 9999;
1145
1143
}
1146
1144
1147
-
// NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
1148
1145
messageTripModifications {
1149
1146
// A `Modification` message replaces a span of n stop times from each affected trip starting at `start_stop_selector`.
1150
1147
messageModification {
@@ -1167,6 +1164,7 @@ message TripModifications {
1167
1164
repeatedReplacementStopreplacement_stops=4;
1168
1165
1169
1166
// An `id` value from the `FeedEntity` message that contains the `Alert` describing this Modification for user-facing communication.
1167
+
// NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
1170
1168
optionalstringservice_alert_id=5;
1171
1169
1172
1170
// This timestamp identifies the moment when the modification has last been changed.
@@ -1222,7 +1220,6 @@ message TripModifications {
1222
1220
extensions 9000 to 9999;
1223
1221
}
1224
1222
1225
-
// NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
1226
1223
// Select a stop by stop sequence or by stop_id. At least one of the two values must be provided.
1227
1224
messageStopSelector {
1228
1225
// Must be the same as in stop_times.txt in the corresponding GTFS feed.
@@ -1239,7 +1236,6 @@ message StopSelector {
1239
1236
extensions 9000 to 9999;
1240
1237
}
1241
1238
1242
-
// NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
1243
1239
messageReplacementStop {
1244
1240
// The difference in seconds between the arrival time at this stop and the arrival time at the reference stop. The reference stop is the stop prior to start_stop_selector. If the modification begins at the first stop of the trip, then the first stop of the trip is the reference stop.
1245
1241
// This value MUST be monotonically increasing and may only be a negative number if the first stop of the original trip is the reference stop.
Copy file name to clipboardExpand all lines: gtfs-realtime/spec/en/reference.md
+5-14Lines changed: 5 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,9 +135,9 @@ A definition (or update) of an entity in the transit feed. If the entity is not
135
135
|**trip_update**|[TripUpdate](#message-tripupdate)| Conditionally required | One | Data about the realtime departure delays of a trip. At least one of the fields trip_update, vehicle, alert, or shape must be provided - all these fields cannot be empty. |
136
136
|**vehicle**|[VehiclePosition](#message-vehicleposition)| Conditionally required | One | Data about the realtime position of a vehicle. At least one of the fields trip_update, vehicle, alert, or shape must be provided - all these fields cannot be empty. |
137
137
|**alert**|[Alert](#message-alert)| Conditionally required | One | Data about the realtime alert. At least one of the fields trip_update, vehicle, alert, or shape must be provided - all these fields cannot be empty. |
138
-
|**shape**|[Shape](#message-shape)| Conditionally required | One | Data about the realtime added shapes, such as for a detour. At least one of the fields trip_update, vehicle, alert, or shape must be provided - all these fields cannot be empty. <br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future. |
139
-
|**stop**|[Stop](#message-stop)| Conditionally required | One | A new stop added to the feed dynamically. <br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future. |
140
-
|**trip_modifications**|[TripModifications)(#message-tripmodifications) | Conditionally required | One | List of trips affected by a particular modifications, such as a detour. <br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future.|
138
+
|**shape**|[Shape](#message-shape)| Conditionally required | One | Data about the realtime added shapes, such as for a detour. At least one of the fields trip_update, vehicle, alert, or shape must be provided - all these fields cannot be empty. |
139
+
|**stop**|[Stop](#message-stop)| Conditionally required | One | A new stop added to the feed dynamically. |
140
+
|**trip_modifications**|[TripModifications](#message-tripmodifications)| Conditionally required | One | List of trips affected by a particular modifications, such as a detour. |
141
141
142
142
143
143
## _message_ TripUpdate
@@ -655,8 +655,6 @@ Represents a new Stop added to the feed dynamically. All fields are as described
655
655
## _message_ TripModifications
656
656
657
657
A `TripModifications` message identifies a list of similar trips which are all affected by particular modifications, such as a detour.
658
-
659
-
<br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future.
660
658
661
659
[More about Trip Modifications...](trip-modifications.md)
662
660
@@ -673,8 +671,6 @@ A `TripModifications` message identifies a list of similar trips which are all a
673
671
674
672
A `Modification` message describes changes to each affected trip starting at `start_stop_selector`.
675
673
676
-
<br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future.
677
-
678
674

679
675
_An example showing the effect of a modification on a particular trip. This modification may also be applied to several other trips._
680
676
@@ -690,15 +686,14 @@ _Propagated detour delays affect all stops following the end of a modification.
690
686
|**end_stop_selector**|[StopSelector](#message-stopselector)| Conditionally required | One | The stop selector of the last stop of the original trip that is to be affected by this modification. The selection is inclusive, so if only one stop_time is replaced by that modification, `start_stop_selector` and `end_stop_selector` must be equivalent. If no stop_time is replaced, `end_stop_selector` must not be provided. It's otherwise required. |
691
687
|**propagated_modification_delay**|[int32](https://protobuf.dev/programming-guides/proto2/#scalar)| Optional | One | The number of seconds of delay to add to all departure and arrival times subsequent to the last stop inserted by a modification. If a modification affects only the shape (i.e. neither `end_stop_selector` nor `replacement_stops` are provided), then the delay propagation begins at the subsequent stop after `start_stop_selector`. Can be a positive or negative number. If multiple modifications apply to the same trip, the delays accumulate as the trip advances. <br/><br/>If the value is not supplied, consumers MAY interpolate or infer the `propagated_modification_delay` based on other data. |
692
688
|**replacement_stops**|[ReplacementStop](#message-replacementstop)| Optional | Many | A list of replacement stops, replacing those of the original trip. The length of the new stop times may be less, the same, or greater than the number of replaced stop times. |
693
-
|**service_alert_id**|[string](https://protobuf.dev/programming-guides/proto2/#scalar)| Optional | One | An `id` value from the `FeedEntity` message that contains the `Alert` describing this Modification for user-facing communication. |
689
+
| **service_alert_id** | [string](https://protobuf.dev/programming-guides/proto2/#scalar) | Optional | One | An `id` value from the `FeedEntity` message that contains the `Alert` describing this Modification for user-facing communication.<br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future.
690
+
|
694
691
|**last_modified_time**|[uint64](https://protobuf.dev/programming-guides/proto2/#scalar)| Optional | One | This timestamp identifies the moment when the modification has last been changed. In POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC). |
695
692
696
693
## _message_ StopSelector
697
694
698
695
Selector for a stop. Either by `stop_id` or `stop_sequence`. At least one of the two values must be provided.
699
696
700
-
<br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future.
Copy file name to clipboardExpand all lines: gtfs-realtime/spec/en/trip-modifications.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,6 @@
2
2
3
3
A `TripModifications` message identifies a list of similar `trip_ids` from the (CSV) GTFS which are all affected by particular modifications, such as a detour.
4
4
5
-
<br><br>**Caution:** this entity is still **experimental**, and subject to change. It may be formally adopted in the future.
6
-
7
5
## SLO: Service-level objective
8
6
9
7
The frequency of data updates is expected to be approximately hourly (~24 times/day). Ingestion time may depend on the total number of affected trips. Consumers are expected to ingest a single TripModification within 5 minutes, and a feed with hundreds of detours within 20 minutes.
0 commit comments