Real-Time feed XSD Schema


Is there an XSD that defined the format of the real-time data feed data model ?

Wondering if anyone has any sample Java code to convert a proto message (eg Vehicle) to JSON ?

thanks -


Hey Steve,

The real-time data is in GTFS-R format, which is encoded in a protocol buffer format. Since it’s not XML, there isn’t any XSD for it.

You can check out some pre-transpiled bindings for it here:

Ok thanks.

© Transport for NSW