package transit_realtime

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message Alert

gtfs-realtime.proto:518

An alert, indicating some sort of incident in the public transit network.

Used in: FeedEntity

enum Alert.Cause

gtfs-realtime.proto:528

Cause of this alert.

Used in: Alert

enum Alert.Effect

gtfs-realtime.proto:545

What is the effect of this problem on the affected entity.

Used in: Alert

enum Alert.SeverityLevel

gtfs-realtime.proto:582

Severity of this alert.

Used in: Alert

message CrowdingDescriptor

gtfs-realtime-crowding.proto:15

crowding information in raw form. This allows for more flexibility then levels and percents. Note that either count or capacity may be missing!!!

message EntitySelector

gtfs-realtime.proto:787

A selector for an entity in a GTFS feed.

Used in: Alert, MercuryAlert, MercuryStationAlternative

message FeedEntity

gtfs-realtime.proto:86

A definition (or update) of an entity in the transit feed.

Used in: FeedMessage

message FeedHeader

gtfs-realtime.proto:55

Metadata about a feed, included in feed messages.

Used in: FeedMessage

enum FeedHeader.Incrementality

gtfs-realtime.proto:65

Determines whether the current fetch is incremental. Currently, DIFFERENTIAL mode is unsupported and behavior is unspecified for feeds that use this mode. There are discussions on the GTFS Realtime mailing list around fully specifying the behavior of DIFFERENTIAL mode and the documentation will be updated when those discussions are finalized.

Used in: FeedHeader

message FeedMessage

gtfs-realtime.proto:38

The contents of a feed message. A feed is a continuous stream of feed messages. Each message in the stream is obtained as a response to an appropriate HTTP GET request. A realtime feed is always defined with relation to an existing GTFS feed. All the entity ids are resolved with respect to the GTFS feed. Note that "required" and "optional" as stated in this file refer to Protocol Buffer cardinality, not semantic cardinality. See reference.md at https://github.com/google/transit/tree/master/gtfs-realtime for field semantic cardinality.

message MercuryAlert

gtfs-realtime-service-status.proto:29

Mercury extensions for the Feed Alert

message MercuryEntitySelector

gtfs-realtime-service-status.proto:66

Mercury extensions for the Feed Entity Selector

enum MercuryEntitySelector.Priority

gtfs-realtime-service-status.proto:70

message MercuryFeedHeader

gtfs-realtime-service-status.proto:13

Mercury extensions for the Feed Header

message MercuryStationAlternative

gtfs-realtime-service-status.proto:23

Used in: MercuryAlert

message MnrStopTimeUpdate

gtfs-realtime-MNR.proto:8

message MtaRailroadCarriageDetails

gtfs-realtime-MTARR.proto:17

enum MtaRailroadCarriageDetails.QuietCarriage

gtfs-realtime-MTARR.proto:26

Whether the carriage has toilet facilities onboard.

Used in: MtaRailroadCarriageDetails

enum MtaRailroadCarriageDetails.ToiletFacilities

gtfs-realtime-MTARR.proto:42

Whether the carriage has toilet facilities onboard.

Used in: MtaRailroadCarriageDetails

message MtaRailroadStopTimeUpdate

gtfs-realtime-MTARR.proto:8

message MtaStopTimeUpdate

gtfs-realtime-LIRR.proto:8

(message has no fields)

message NyctFeedHeader

gtfs-realtime-NYCT.proto:25

NYCT Subway extensions for the feed header

message NyctStopTimeUpdate

gtfs-realtime-NYCT.proto:106

NYCT Subway extensions for the stop time update

message NyctTripDescriptor

gtfs-realtime-NYCT.proto:45

NYCT Subway extensions for the trip descriptor

enum NyctTripDescriptor.Direction

gtfs-realtime-NYCT.proto:85

The direction the train is moving.

Used in: NyctTripDescriptor

message OneBusAwayEntitySelector

gtfs-realtime-OneBusAway.proto:79

message OneBusAwayFeedEntity

gtfs-realtime-OneBusAway.proto:34

message OneBusAwayFeedHeader

gtfs-realtime-OneBusAway.proto:15

message OneBusAwayStopTimeUpdate

gtfs-realtime-OneBusAway.proto:71

message OneBusAwayTripUpdate

gtfs-realtime-OneBusAway.proto:43

message OneBusAwayVehicleDescriptor

gtfs-realtime-OneBusAway.proto:87

message Position

gtfs-realtime.proto:627

A position.

Used in: VehiclePosition

message TimeRange

gtfs-realtime.proto:606

A time interval. The interval is considered active at time 't' if 't' is greater than or equal to the start time and less than the end time.

Used in: Alert, TripReplacementPeriod

message TranslatedString

gtfs-realtime.proto:821

An internationalized message containing per-language versions of a snippet of text or a URL. One of the strings from a message will be picked up. The resolution proceeds as follows: 1. If the UI language matches the language code of a translation, the first matching translation is picked. 2. If a default UI language (e.g., English) matches the language code of a translation, the first matching translation is picked. 3. If some translation has an unspecified language code, that translation is picked.

Used in: Alert, MercuryAlert, MercuryStationAlternative

message TranslatedString.Translation

gtfs-realtime.proto:822

Used in: TranslatedString

message TripDescriptor

gtfs-realtime.proto:664

A descriptor that identifies an instance of a GTFS trip, or all instances of a trip along a route. - To specify a single trip instance, the trip_id (and if necessary, start_time) is set. If route_id is also set, then it should be same as one that the given trip corresponds to. - To specify all the trips along a given route, only the route_id should be set. Note that if the trip_id is not known, then stop sequence ids in TripUpdate are not sufficient, and stop_ids must be provided as well. In addition, absolute arrival/departure times must be provided.

Used in: EntitySelector, TripUpdate, VehiclePosition

enum TripDescriptor.ScheduleRelationship

gtfs-realtime.proto:711

The relation between this trip and the static schedule. If a trip is done in accordance with temporary schedule, not reflected in GTFS, then it shouldn't be marked as SCHEDULED, but likely as ADDED.

Used in: TripDescriptor

message TripReplacementPeriod

gtfs-realtime-NYCT.proto:16

Used in: NyctFeedHeader

message TripUpdate

gtfs-realtime.proto:146

Realtime update of the progress of a vehicle along a trip. Depending on the value of ScheduleRelationship, a TripUpdate can specify: - A trip that proceeds along the schedule. - A trip that proceeds along a route but has no fixed schedule. - A trip that have been added or removed with regard to schedule. The updates can be for future, predicted arrival/departure events, or for past events that already occurred. Normally, updates should get more precise and more certain (see uncertainty below) as the events gets closer to current time. Even if that is not possible, the information for past events should be precise and certain. In particular, if an update points to time in the past but its update's uncertainty is not 0, the client should conclude that the update is a (wrong) prediction and that the trip has not completed yet. Note that the update can describe a trip that is already completed. To this end, it is enough to provide an update for the last stop of the trip. If the time of that is in the past, the client will conclude from that that the whole trip is in the past (it is possible, although inconsequential, to also provide updates for preceding stops). This option is most relevant for a trip that has completed ahead of schedule, but according to the schedule, the trip is still proceeding at the current time. Removing the updates for this trip could make the client assume that the trip is still proceeding. Note that the feed provider is allowed, but not required, to purge past updates - this is one case where this would be practically useful.

Used in: FeedEntity

message TripUpdate.StopTimeEvent

gtfs-realtime.proto:171

Timing information for a single predicted event (either arrival or departure). Timing consists of delay and/or estimated time, and uncertainty. - delay should be used when the prediction is given relative to some existing schedule in GTFS. - time should be given whether there is a predicted schedule or not. If both time and delay are specified, time will take precedence (although normally, time, if given for a scheduled trip, should be equal to scheduled time in GTFS + delay). Uncertainty applies equally to both time and delay. The uncertainty roughly specifies the expected error in true delay (but note, we don't yet define its precise statistical meaning). It's possible for the uncertainty to be 0, for example for trains that are driven under computer timing control.

Used in: StopTimeUpdate

message TripUpdate.StopTimeUpdate

gtfs-realtime.proto:200

Realtime update for arrival and/or departure events for a given stop on a trip. Updates can be supplied for both past and future events. The producer is allowed, although not required, to drop past events.

The update is linked to a specific stop either through stop_sequence or stop_id, so one of the fields below must necessarily be set. See the documentation in TripDescriptor for more information.

Used in: TripUpdate

enum TripUpdate.StopTimeUpdate.ScheduleRelationship

gtfs-realtime.proto:214

The relation between this StopTime and the static schedule.

Used in: StopTimeUpdate

message TripUpdate.TripProperties

gtfs-realtime.proto:301

Defines updated properties of the trip NOTE: This message is still experimental, and subject to change. It may be formally adopted in the future.

Used in: TripUpdate

message VehicleDescriptor

gtfs-realtime.proto:764

Identification information for the vehicle performing the trip.

Used in: TripUpdate, VehiclePosition

message VehiclePosition

gtfs-realtime.proto:347

Realtime positioning information for a given vehicle.

Used in: FeedEntity

message VehiclePosition.CarriageDetails

gtfs-realtime.proto:455

Carriage specific details, used for vehicles composed of several carriages This message/field is still experimental, and subject to change. It may be formally adopted in the future.

Used in: VehiclePosition

enum VehiclePosition.CongestionLevel

gtfs-realtime.proto:388

Congestion level that is affecting this vehicle.

Used in: VehiclePosition

enum VehiclePosition.OccupancyStatus

gtfs-realtime.proto:399

The degree of passenger occupancy of the vehicle or carriage. This field is still experimental, and subject to change. It may be formally adopted in the future.

Used in: VehiclePosition, CarriageDetails

enum VehiclePosition.VehicleStopStatus

gtfs-realtime.proto:368

Used in: VehiclePosition