Skip to Content
APIPlaces LocationsInterface: RealtimeSchedule

Interface: RealtimeSchedule

Interface that represents a real-time schedule of a transport service. Contains detailed information about a specific route in real-time.

Properties

delayed

delayed: boolean

Indicates if the service is delayed


distance

distance: number

Distance from the current stop in meters


estimatedTime

estimatedTime: string

Estimated arrival time in text format


finalDestination

finalDestination: string

Final destination of the route


icon?

optional icon: string;

URL of the icon associated with the service (optional)


latitude

latitude: number

Latitude of the vehicle’s current location


longitude

longitude: number

Longitude of the vehicle’s current location


message

message: string

Informative message about the service status


opening_hours?

optional opening_hours: [];

Opening hours of the service (optional)


properties?

optional properties: [];

Additional properties of the service (optional)


remainingTime

remainingTime: string

Remaining time until arrival in text format


route

route: string

Route identifier


routeDirection

routeDirection: string

Route direction (outbound or inbound)


routeName

routeName: string

Name of the transport route


source

source: string

Origin or source of the service


stopId

stopId: string

Stop identifier


stopName

stopName: string

Name of the current stop


stops?

optional stops: MVXPlace[];

List of stops associated with this route (optional)


title

title: MultiLanguage

Service title in multiple languages


vehicleId

vehicleId: string

Unique identifier of the vehicle

Last updated on