action tfl_line_disruption_by_mode { label: "Get disruptions for all lines of the given modes." provider: tfl method: GET path: "/Line/Mode/{modes}/Disruption" encoding: json input: { type: "object" properties: { modes: { type: "array" items: { type: "string" } } } required: ["modes"] additionalProperties: false } output: { type: "array" items: { type: "object" description: "Represents a disruption to a route within the transport network." properties: { additionalInfo: { type: "string" description: "Gets or sets the additionaInfo of this disruption." } affectedRoutes: { type: "array" description: "Gets or sets the routes affected by this disruption" items: { type: "object" description: "keep old RouteSection name so as not to break contract" properties: { destinationName: { type: "string" description: "The name of the Destination StopPoint" } direction: { type: "string" description: "Inbound or Outbound" } id: { type: "string" description: "The Id of the route" } isEntireRouteSection: { type: "boolean" description: "Whether this represents the entire route section" } lineId: { type: "string" description: "The Id of the Line" } lineString: { type: "string" description: "The co-ordinates of the route's path as a geoJSON lineString" } name: { type: "string" description: "Name such as \"72\"" } originationName: { type: "string" description: "The name of the Origin StopPoint" } routeCode: { type: "string" description: "The route code" } routeSectionNaptanEntrySequence: { type: "array" items: { type: "object" properties: { ordinal: { type: "integer" format: "int32" } stopPoint: { type: "object" properties: { accessibilitySummary: { type: "string" } additionalProperties: { type: "array" description: "A bag of additional key/value pairs with extra information about this place." items: { type: "object" additionalProperties: true } } children: { type: "array" items: { type: "object" additionalProperties: true } } childrenUrls: { type: "array" items: { type: "object" additionalProperties: true } } commonName: { type: "string" description: "A human readable name." } distance: { type: "number" format: "double" description: "The distance of the place from its search point, if this is the result \n of a geographical search, otherwise zero." } fullName: { type: "string" } hubNaptanCode: { type: "string" } icsCode: { type: "string" } id: { type: "string" description: "A unique identifier." } indicator: { type: "string" description: "The indicator of the stop point e.g. \"Stop K\"" } individualStopId: { type: "string" } lat: { type: "number" format: "double" description: "WGS84 latitude of the location." } lineGroup: { type: "array" items: { type: "object" additionalProperties: true } } lineModeGroups: { type: "array" items: { type: "object" additionalProperties: true } } lines: { type: "array" items: { type: "object" additionalProperties: true } } lon: { type: "number" format: "double" description: "WGS84 longitude of the location." } modes: { type: "array" items: { type: "object" additionalProperties: true } } naptanId: { type: "string" } naptanMode: { type: "string" } placeType: { type: "string" description: "The type of Place. See /Place/Meta/placeTypes for possible values." } platformName: { type: "string" } smsCode: { type: "string" } stationNaptan: { type: "string" } status: { type: "boolean" } stopLetter: { type: "string" description: "The stop letter, if it could be cleansed from the Indicator e.g. \"K\"" } stopType: { type: "string" } url: { type: "string" description: "The unique location of this resource." } } } } } } validFrom: { type: "string" format: "date-time" description: "The DateTime that the Service containing this Route is valid from." } validTo: { type: "string" format: "date-time" description: "The DateTime that the Service containing this Route is valid until." } via: { type: "object" additionalProperties: true } } } } affectedStops: { type: "array" description: "Gets or sets the stops affected by this disruption" items: { type: "object" additionalProperties: true } } category: { type: "string" description: "Gets or sets the category of this dispruption." enum: ["Undefined", "RealTime", "PlannedWork", "Information", "Event", "Crowding", "StatusAlert"] } categoryDescription: { type: "string" description: "Gets or sets the description of the category." } closureText: { type: "string" description: "Text describing the closure type" } created: { type: "string" format: "date-time" description: "Gets or sets the date/time when this disruption was created." } description: { type: "string" description: "Gets or sets the description of this disruption." } lastUpdate: { type: "string" format: "date-time" description: "Gets or sets the date/time when this disruption was last updated." } summary: { type: "string" description: "Gets or sets the summary of this disruption." } type: { type: "string" description: "Gets or sets the disruption type of this dispruption." } } } } }