FeedHeader Struct Reference

Metadata about a feed, included in feed messages. More...

Public Types

enum  Incrementality { FULL_DATASET = 0, DIFFERENTIAL = 1 }
 Determines whether the current fetch is incremental. More...
 

Public Attributes

required string gtfs_realtime_version = 1
 Version of the feed specification. More...
 
optional Incrementality incrementality = 2 [default = FULL_DATASET]
 
optional uint64 timestamp = 3
 This timestamp identifies the moment when the content of this feed has been created (in server time). More...
 
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

Metadata about a feed, included in feed messages.

Member Enumeration Documentation

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.

Member Data Documentation

required string FeedHeader::gtfs_realtime_version = 1

Version of the feed specification.

The current version is 1.0.

optional uint64 FeedHeader::timestamp = 3

This timestamp identifies the moment when the content of this feed has been created (in server time).

In POSIX time (i.e., number of seconds since January 1st 1970 00:00:00 UTC).

extensions FeedHeader::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