Interface Journey

A journey is a computed set of directions to get from A to B at a specific time. It would typically be the result of a route planning algorithm.

interface Journey {
    cycle?: Cycle;
    legs: readonly Leg[];
    price?: Price;
    refreshToken?: string;
    remarks?: readonly (Hint | Status | Warning)[];
    scheduledDays?: ScheduledDays;
    tickets?: Ticket[];
    type: "journey";
}

Properties

cycle?: Cycle
legs: readonly Leg[]
price?: Price
refreshToken?: string
remarks?: readonly (Hint | Status | Warning)[]
scheduledDays?: ScheduledDays
tickets?: Ticket[]
type: "journey"