Interface Station

A station is a larger building or area that can be identified by a name. It is usually represented by a single node on a public transport map. Whereas a stop usually specifies a location, a station often is a broader area that may span across multiple levels or buildings.

interface Station {
    distance?: number;
    entrances?: readonly Location[];
    facilities?: Facilities;
    id?: string;
    isMeta?: boolean;
    lines?: readonly Line[];
    location?: Location;
    name?: string;
    products?: Products;
    regions?: readonly string[];
    reisezentrumOpeningHours?: ReisezentrumOpeningHours;
    station?: Station;
    stops?: readonly (Location | Station | Stop)[];
    transitAuthority?: string;
    type: "station";
}

Properties

distance?: number
entrances?: readonly Location[]
facilities?: Facilities
id?: string
isMeta?: boolean
lines?: readonly Line[]
location?: Location
name?: string
products?: Products
regions?: readonly string[]

region ids

reisezentrumOpeningHours?: ReisezentrumOpeningHours
station?: Station
stops?: readonly (Location | Station | Stop)[]
transitAuthority?: string
type: "station"