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: booleanIndicates if the service is delayed
distance
distance: numberDistance from the current stop in meters
estimatedTime
estimatedTime: stringEstimated arrival time in text format
finalDestination
finalDestination: stringFinal destination of the route
icon?
optional icon: string;URL of the icon associated with the service (optional)
latitude
latitude: numberLatitude of the vehicle’s current location
longitude
longitude: numberLongitude of the vehicle’s current location
message
message: stringInformative 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: stringRemaining time until arrival in text format
route
route: stringRoute identifier
routeDirection
routeDirection: stringRoute direction (outbound or inbound)
routeName
routeName: stringName of the transport route
source
source: stringOrigin or source of the service
stopId
stopId: stringStop identifier
stopName
stopName: stringName of the current stop
stops?
optional stops: MVXPlace[];List of stops associated with this route (optional)
title
title: MultiLanguageService title in multiple languages
vehicleId
vehicleId: stringUnique identifier of the vehicle