action tfl_line_route_sequence { label: "Gets all valid routes for given line id, including the sequence of stops on each route." provider: tfl method: GET path: "/Line/{id}/Route/Sequence/{direction}" encoding: json input: { type: "object" properties: { direction: { type: "string" enum: ["inbound", "outbound", "all"] } excludeCrowding: { type: "boolean" } id: { type: "string" } serviceTypes: { type: "array" items: { type: "string" enum: ["Regular", "Night"] } } } required: ["direction", "id"] additionalProperties: false } output: { type: "object" properties: { direction: { type: "string" } isOutboundOnly: { type: "boolean" } lineId: { type: "string" } lineName: { type: "string" } lineStrings: { type: "array" items: { type: "string" } } mode: { type: "string" } orderedLineRoutes: { type: "array" items: { type: "object" properties: { name: { type: "string" } naptanIds: { type: "array" items: { type: "string" } } serviceType: { type: "string" } } } } stations: { type: "array" items: { type: "object" properties: { accessibilitySummary: { type: "string" } direction: { type: "string" } hasDisruption: { type: "boolean" } icsId: { type: "string" } id: { type: "string" } lat: { type: "number" format: "double" } lines: { type: "array" items: { type: "object" properties: { crowding: { type: "object" properties: { passengerFlows: { type: "array" description: "Busiest times at a station (static information)" items: { type: "object" properties: { timeSlice: { type: "object" additionalProperties: true } value: { type: "object" additionalProperties: true } } } } trainLoadings: { type: "array" description: "Train Loading on a scale 1-6, 1 being \"Very quiet\" and 6 being \"Exceptionally busy\" (static information)" items: { type: "object" properties: { direction: { type: "object" additionalProperties: true } line: { type: "object" additionalProperties: true } lineDirection: { type: "object" additionalProperties: true } naptanTo: { type: "object" additionalProperties: true } platformDirection: { type: "object" additionalProperties: true } timeSlice: { type: "object" additionalProperties: true } value: { type: "object" additionalProperties: true } } } } } } fullName: { type: "string" } id: { type: "string" } motType: { type: "string" } name: { type: "string" } network: { type: "string" } routeType: { type: "string" enum: ["Unknown", "All", "Cycle Superhighways", "Quietways", "Cycleways", "Mini-Hollands", "Central London Grid", "Streetspace Route"] } status: { type: "string" enum: ["Unknown", "All", "Open", "In Progress", "Planned", "Planned - Subject to feasibility and consultation.", "Not Open"] } type: { type: "string" } uri: { type: "string" } } } } lon: { type: "number" format: "double" } modes: { type: "array" items: { type: "string" } } name: { type: "string" } parentId: { type: "string" } routeId: { type: "integer" format: "int32" } stationId: { type: "string" } status: { type: "boolean" } stopLetter: { type: "string" } stopType: { type: "string" } topMostParentId: { type: "string" } towards: { type: "string" } url: { type: "string" } zone: { type: "string" } } } } stopPointSequences: { type: "array" items: { type: "object" properties: { branchId: { type: "integer" format: "int32" description: "The id of this branch." } direction: { type: "string" } lineId: { type: "string" } lineName: { type: "string" } nextBranchIds: { type: "array" description: "The ids of the next branch(es) in the sequence. Note that the next and previous branch id can be \n identical in the case of a looped route e.g. the Circle line." items: { type: "integer" format: "int32" } } prevBranchIds: { type: "array" description: "The ids of the previous branch(es) in the sequence. Note that the next and previous branch id can be \n identical in the case of a looped route e.g. the Circle line." items: { type: "integer" format: "int32" } } serviceType: { type: "string" enum: ["Regular", "Night"] } stopPoint: { type: "array" items: { type: "object" additionalProperties: true } } } } } } } }