FeedMessage Struct Reference

The contents of a feed message. More...

Public Attributes

required FeedHeader header = 1
 Metadata about this feed and feed message.
 
repeated FeedEntity entity = 2
 Contents of the feed.
 
extensions to
 The extensions namespace allows 3rd-party developers to extend the GTFS-realtime specification in order to add and evaluate new features and modifications to the spec. More...
 

Detailed Description

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.

A feed depends on some external configuration:

  • The corresponding GTFS feed.
  • Feed application (updates, positions or alerts). A feed should contain only items of one specified application; all the other entities will be ignored.
  • Polling frequency

Member Data Documentation

extensions FeedMessage::to

The extensions namespace allows 3rd-party developers to extend the GTFS-realtime specification in order to add and evaluate new features and modifications to the spec.


The documentation for this struct was generated from the following file:
  • gtfs-realtime.proto