gtfs_realtime_viz v0.1.1 GTFSRealtimeViz.Proto View Source

Dialyzer typedefs of all the GTFS Realtime structs in the .proto file.

Link to this section Summary

Link to this section Types

Link to this type alert() View Source
alert() :: %GTFSRealtimeViz.Proto.Alert{active_period: [time_range()], cause: nil | :UNKNOWN_CAUSE | :OTHER_CAUSE | :TECHNICAL_PROBLEM | :STRIKE | :DEMONSTRATION | :ACCIDENT | :HOLIDAY | :WEATHER | :MAINTENANCE | :CONSTRUCTION | :POLICE_ACTIVITY | :MEDICAL_EMERGENCY, description_text: nil | translated_string(), effect: nil | :NO_SERVICE | :REDUCED_SERVICE | :SIGNIFICANT_DELAYS | :DETOUR | :ADDITIONAL_SERVICE | :OTHER_EFFECT | :UNKNOWN_EFFECT | :STOP_MOVED, header_text: nil | translated_string(), informed_entity: [entity_selector()], url: nil | translated_string()}
Link to this type entity_selector() View Source
entity_selector() :: %GTFSRealtimeViz.Proto.EntitySelector{agency_id: nil | String.t(), route_id: nil | String.t(), route_type: nil | integer(), stop_id: nil | String.t(), trip: nil | trip_descriptor()}
Link to this type feed_entity() View Source
feed_entity() :: %GTFSRealtimeViz.Proto.FeedEntity{alert: nil | alert(), id: String.t(), is_deleted: boolean(), trip_update: nil | trip_update(), vehicle: nil | vehicle_position()}
Link to this type feed_header() View Source
feed_header() :: %GTFSRealtimeViz.Proto.FeedHeader{gtfs_realtime_version: String.t(), incrementality: nil | :FULL_DATASET | :DIFFERENTIAL, timestamp: nil | integer()}
Link to this type feed_message() View Source
feed_message() :: %GTFSRealtimeViz.Proto.FeedMessage{entity: [feed_entity()], header: feed_header()}
Link to this type position() View Source
position() :: %GTFSRealtimeViz.Proto.Position{bearing: nil | float(), latitude: float(), longitude: float(), odometer: nil | float(), speed: nil | float()}
Link to this type raw() View Source
raw() :: bitstring()
Link to this type time_range() View Source
time_range() :: %GTFSRealtimeViz.Proto.TimeRange{end: nil | integer(), start: nil | integer()}
Link to this type translated_string() View Source
translated_string() :: %GTFSRealtimeViz.Proto.TranslatedString{translation: [translated_string_translation()]}
Link to this type translated_string_translation() View Source
translated_string_translation() :: %GTFSRealtimeViz.Proto.TranslatedString.Translation{language: nil | String.t(), text: String.t()}
Link to this type trip_descriptor() View Source
trip_descriptor() :: %GTFSRealtimeViz.Proto.TripDescriptor{direction_id: nil | integer(), route_id: nil | String.t(), schedule_relationship: nil | :SCHEDULED | :ADDED | :UNSCHEDULED | :CANCELED, start_date: nil | String.t(), start_time: nil | String.t(), trip_id: nil | String.t()}
Link to this type trip_update() View Source
trip_update() :: %GTFSRealtimeViz.Proto.TripUpdate{delay: nil | integer(), stop_time_update: [trip_update_stop_time_update()], timestamp: nil | integer(), trip: trip_descriptor(), vehicle: nil | vehicle_descriptor()}
Link to this type trip_update_stop_time_event() View Source
trip_update_stop_time_event() :: %GTFSRealtimeViz.Proto.TripUpdate.StopTimeEvent{delay: nil | integer(), time: nil | integer(), uncertainty: nil | integer()}
Link to this type trip_update_stop_time_update() View Source
trip_update_stop_time_update() :: %GTFSRealtimeViz.Proto.TripUpdate.StopTimeUpdate{arrival: nil | trip_update_stop_time_event(), departure: nil | trip_update_stop_time_event(), schedule_relationship: nil | :SCHEDULED | :SKIPPED | :NO_DATA, stop_id: nil | String.t(), stop_sequence: nil | integer()}
Link to this type vehicle_descriptor() View Source
vehicle_descriptor() :: %GTFSRealtimeViz.Proto.VehicleDescriptor{id: nil | String.t(), label: nil | String.t(), license_plate: nil | String.t()}
Link to this type vehicle_position() View Source
vehicle_position() :: %GTFSRealtimeViz.Proto.VehiclePosition{congestion_level: nil | :UNKNOWN_CONGESTION_LEVEL | :RUNNING_SMOOTHLY | :STOP_AND_GO | :CONGESTION | :SEVERE_CONGESTION, current_status: nil | vehicle_position_statuses(), current_stop_sequence: nil | integer(), occupancy_status: nil | :EMPTY | :MANY_SEATS_AVAILABLE | :FEW_SEATS_AVAILABLE | :STANDING_ROOM_ONLY | :CRUSHED_STANDING_ROOM_ONLY | :FULL | :NOT_ACCEPTING_PASSENGERS, position: nil | position(), stop_id: nil | String.t(), timestamp: nil | integer(), trip: nil | trip_descriptor(), vehicle: nil | vehicle_descriptor()}
Link to this type vehicle_position_statuses() View Source
vehicle_position_statuses() ::
  :INCOMING_AT |
  :STOPPED_AT |
  :IN_TRANSIT_TO

Link to this section Functions