@transreport/pauk-ujp-api
    Preparing search index...

    Interface Journey

    interface Journey {
        changes?: number | null;
        considerations?: Consideration[] | null;
        destination_station: PlanningStation;
        duration_seconds?: number;
        id: string;
        legs: Leg[];
        origin_station: PlanningStation;
        realtime_arrival?: string | null;
        realtime_classification?: string | null;
        realtime_departure?: string | null;
        scheduled_arrival: string;
        scheduled_departure: string;
    }
    Index
    changes?: number | null

    Changes between vehicles (train, bus, Underground, ...); walking and transfers do not count. Null when it cannot be determined.

    0

    considerations?: Consideration[] | null

    Accessibility considerations at the origin, interchange and destination stations, in travel order. Null when unrequested; [] when none. Missing station information counts as a possible consideration.

    destination_station: PlanningStation
    duration_seconds?: number

    Scheduled duration in seconds.

    0

    id: string

    Temporary ID unique within this search; not a persisted journey ID.

    legs: Leg[]

    Segments in travel order, including non-rail modes.

    1

    origin_station: PlanningStation
    realtime_arrival?: string | null

    Predicted arrival when available.

    realtime_classification?: string | null

    National Rail realtime status; allow new values.

    realtime_departure?: string | null

    Predicted departure when available.

    scheduled_arrival: string

    Scheduled end of the whole journey.

    scheduled_departure: string

    Scheduled start of the whole journey.