GTFS is ingested by online mapping applications as a .zip file that contains a series of text files.
The full data specification is available here. Below is a quick guide to how the various elements of GTFS data tie together.
How to read the above diagram
- Each box is a separate file in GTFS;
- Each entry in the list is a field in that file (a header);
- Arrows indicate which ids are shared between files
- (opt.) indicates an optional field
GTFS examples shows how the specification expresses various transit service features.