-
Notifications
You must be signed in to change notification settings - Fork 30
Interface Design
Simon Jacobs edited this page Apr 26, 2017
·
56 revisions
The public portion of the interface design is broken up into two parts:
- Inbound interfaces
- Outbound interfaces
- Schedule Data; General Transit Feed Specification (GTFS) is used to specify static schedule data in a consistent manner. GTFS was created by google and is available here
- Run, Trip, and DSC information; Should the GTFS not contain the complete schedule data, other input sources can be merged into the GTFS during the bundle building process
- Crew Assignment Data; mapping operator to run
- Depot Data; mapping bus to depot
- Destination Sign Code Data; mapping headsign to code and route number
- Pullouts Data; Linking buses to runs, blocks, and operators
- Service Alert Data; Service Interface for Real-time Data (SIRI) is currently used to describe service alerts (interruptions to service both scheduled and instantaneous)
- TCIP Bus Message; Transit Communication Interface Profiles (TCIP), used to describe the real-time bus messages input into the system and placed on the real-time queue. The real-time Enterprise Queue is implemented as a ZeroMQ socket publishing on port 5564 as shown on the Queue Data Flow Diagram
- Inference Data; a JSON serialization of the Java objects describing the inference engine results, as placed on the inference queue. The inference Enterprise Queue is implemented as a ZeroMQ socket publishing on port 5567 as shown on the Queue Data Flow Diagram
- Predictions Queue; a GTFS-rt feed of TripUpdates containing time predictions generated after a vehicle has reported its position.
- App Services
- Operational API (RESTful service returns JSON)
- TDM services: [TDM]
- Crew Assignment API (RESTful service returns JSON)
- DSC API (RESTful service returns JSON)
- Depot API (RESTful service returns JSON)
- Pullouts API (RESTful service returns JSON)
- QR coding API (RESTful service returns image/zipped folder of images)
- Configuration API (RESTful service returns JSON)
- Logging API (RESTful service returns JSON)
- API Key API (RESTful service returns JSON)
- Bundle API (RESTful service returns JSON)
- Bundle-DSC-to-Route API (RESTful service returns JSON)
- Inference Engine Run Service API's
- Trips-For-Run API (RESTful service returns JSON)
- Runs-For-Stop API (RESTful service returns JSON)
- Historical API (RESTful service returns JSON)