Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GTFS Feed Version to the GTFS real time FeedHeader #434

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions gtfs-realtime/proto/gtfs-realtime.proto
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,18 @@ message FeedHeader {
// January 1st 1970 00:00:00 UTC).
optional uint64 timestamp = 3;

// String that matches the feed_info.feed_version from the GTFS feed that the real
// time data is based on. Consumers can use this to identify which GTFS feed is
// currently active or when a new one is available to download.
optional string feed_version = 4;

// String containing an URL linking to the GTFS file. It should be the feed that is
// currently active. If a link to the upcoming GTFS file is the only one available
// it can be still provided.
// The URL should be a fully qualified URL that includes http:// or https://, and any
// special characters in the URL must be correctly escaped.
optional string GTFS_url = 5;
doconnoronca marked this conversation as resolved.
Show resolved Hide resolved

// 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.
Expand Down