Real-Time feed XSD Schema

Hi,

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

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

thanks -

Steve

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: gtfs-realtime-bindings/java at master · MobilityData/gtfs-realtime-bindings · GitHub

Ok thanks.