stl_rt_decode
Decode a stored GTFS-Realtime snapshot into normalized JSON, preserving unknown fields under '_unknown' to avoid silent data loss.
Instructions
Decode a stored GTFS-Realtime snapshot into normalized JSON.
Fields present in the bytes but absent from the schema map are preserved under '_unknown' rather than dropped, because silently discarding fields is how you ship a decoder that is wrong in ways nobody notices.
Args: entity: 'trip_updates', 'vehicle_positions', or 'alerts'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| entity | No | trip_updates | |
| snapshot | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |