#AutoTranslate
GTFS-RT is actually provided as a protobuffer. A JSON version can be called via ?format=JSON. This is not recommended – except for test cases.
The next program update on our site will change the serialization. Unfortunately, this causes the responses in JSON to look slightly different.
The following changes will be made:
- All items start with a lowercase letter (Header -> header)
- Constants are in capital letters (“Added” -> “ADDED”)
- ‘Incrementality’ is now ‘FULL_DATASET’
- IsDeleted missing in the new format
- Within trip, the order of routeID is different
- The stopID is located elsewhere within StopTimeUpdate
Graphic representation of the changes:
We suggest switching to protobuffer instead of switching to the new JSON format.
Example answer:
Links:
