{"swagger":"2.0","info":{"version":"v1","title":"Transport for London Unified API"},"host":"api.tfl.gov.uk","schemes":["https"],"paths":{"/AccidentStats/{year}":{"get":{"tags":["AccidentStats"],"summary":"Gets all accident details for accidents occuring in the specified year","operationId":"AccidentStats_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"year","in":"path","description":"The year for which to filter the accidents on.","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.AccidentStats.AccidentDetail"}}}},"deprecated":false}},"/AirQuality":{"get":{"tags":["AirQuality"],"summary":"Gets air quality data feed","operationId":"AirQuality_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/System.Object"}}},"deprecated":false}},"/BikePoint":{"get":{"tags":["BikePoint"],"summary":"Gets all bike point locations. The Place object has an addtionalProperties array which contains the nbBikes, nbDocks and nbSpaces\r\n            numbers which give the status of the BikePoint. A mismatch in these numbers i.e. nbDocks - (nbBikes + nbSpaces) != 0 indicates broken docks.","operationId":"BikePoint_GetAll","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Place"}}}},"deprecated":false}},"/BikePoint/{id}":{"get":{"tags":["BikePoint"],"summary":"Gets the bike point with the given id.","operationId":"BikePoint_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"A bike point id (a list of ids can be obtained from the above BikePoint call)","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Place"}}},"deprecated":false}},"/BikePoint/Search":{"get":{"tags":["BikePoint"],"summary":"Search for bike stations by their name, a bike point's name often contains information about the name of the street\r\n            or nearby landmarks, for example. Note that the search result does not contain the PlaceProperties i.e. the status\r\n            or occupancy of the BikePoint, to get that information you should retrieve the BikePoint by its id on /BikePoint/id.","operationId":"BikePoint_Search","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"query","in":"query","description":"The search term e.g. \"St. James\"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Place"}}}},"deprecated":false}},"/Cabwise/search":{"get":{"tags":["Cabwise"],"summary":"Gets taxis and minicabs contact information","operationId":"Cabwise_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"lat","in":"query","description":"Latitude","required":true,"type":"number","format":"double"},{"name":"lon","in":"query","description":"Longitude","required":true,"type":"number","format":"double"},{"name":"optype","in":"query","description":"Operator Type e.g Minicab, Executive, Limousine","required":false,"type":"string"},{"name":"wc","in":"query","description":"Wheelchair accessible","required":false,"type":"string"},{"name":"radius","in":"query","description":"The radius of the bounding circle in metres","required":false,"type":"number","format":"double"},{"name":"name","in":"query","description":"Trading name of operating company","required":false,"type":"string"},{"name":"maxResults","in":"query","description":"An optional parameter to limit the number of results return. Default and maximum is 20.","required":false,"type":"integer","format":"int32"},{"name":"legacyFormat","in":"query","description":"Legacy Format","required":false,"type":"boolean"},{"name":"forceXml","in":"query","description":"Force Xml","required":false,"type":"boolean"},{"name":"twentyFourSevenOnly","in":"query","description":"Twenty Four Seven Only","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/System.Object"}}},"deprecated":false}},"/Journey/Meta/Modes":{"get":{"tags":["Journey"],"summary":"Gets a list of all of the available journey planner modes","operationId":"Journey_Meta","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Mode"}}}},"deprecated":false}},"/Journey/JourneyResults/{from}/to/{to}":{"get":{"tags":["Journey"],"summary":"Perform a Journey Planner search from the parameters specified in simple types","operationId":"Journey_JourneyResults","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"from","in":"path","description":"Origin of the journey. Can be WGS84 coordinates expressed as \"lat,long\", a UK postcode, a Naptan (StopPoint) id, an ICS StopId, or a free-text string (will cause disambiguation unless it exactly matches a point of interest name).","required":true,"type":"string"},{"name":"to","in":"path","description":"Destination of the journey. Can be WGS84 coordinates expressed as \"lat,long\", a UK postcode, a Naptan (StopPoint) id, an ICS StopId, or a free-text string (will cause disambiguation unless it exactly matches a point of interest name).","required":true,"type":"string"},{"name":"via","in":"query","description":"Travel through point on the journey. Can be WGS84 coordinates expressed as \"lat,long\", a UK postcode, a Naptan (StopPoint) id, an ICS StopId, or a free-text string (will cause disambiguation unless it exactly matches a point of interest name).","required":false,"type":"string"},{"name":"nationalSearch","in":"query","description":"Does the journey cover stops outside London? eg. \"nationalSearch=true\"","required":false,"type":"boolean"},{"name":"date","in":"query","description":"The date must be in yyyyMMdd format","required":false,"type":"string"},{"name":"time","in":"query","description":"The time must be in HHmm format","required":false,"type":"string"},{"name":"timeIs","in":"query","description":"Does the time given relate to arrival or leaving time? Possible options: \"departing\" | \"arriving\"","required":false,"type":"string","enum":["Arriving","Departing"]},{"name":"journeyPreference","in":"query","description":"The journey preference eg possible options: \"leastinterchange\" | \"leasttime\" | \"leastwalking\"","required":false,"type":"string","enum":["LeastInterchange","LeastTime","LeastWalking"]},{"name":"mode","in":"query","description":"The mode must be a comma separated list of modes. eg possible options: \"public-bus,overground,train,tube,coach,dlr,cablecar,tram,river,walking,cycle\"","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"accessibilityPreference","in":"query","description":"The accessibility preference must be a comma separated list eg. \"noSolidStairs,noEscalators,noElevators,stepFreeToVehicle,stepFreeToPlatform\"","required":false,"type":"array","items":{"type":"string","enum":["NoRequirements","NoSolidStairs","NoEscalators","NoElevators","StepFreeToVehicle","StepFreeToPlatform"]},"collectionFormat":"multi"},{"name":"fromName","in":"query","description":"An optional name to associate with the origin of the journey in the results.","required":false,"type":"string"},{"name":"toName","in":"query","description":"An optional name to associate with the destination of the journey in the results.","required":false,"type":"string"},{"name":"viaName","in":"query","description":"An optional name to associate with the via point of the journey in the results.","required":false,"type":"string"},{"name":"maxTransferMinutes","in":"query","description":"The max walking time in minutes for transfer eg. \"120\"","required":false,"type":"string"},{"name":"maxWalkingMinutes","in":"query","description":"The max walking time in minutes for journeys eg. \"120\"","required":false,"type":"string"},{"name":"walkingSpeed","in":"query","description":"The walking speed. eg possible options: \"slow\" | \"average\" | \"fast\".","required":false,"type":"string","enum":["Slow","Average","Fast"]},{"name":"cyclePreference","in":"query","description":"The cycle preference. eg possible options: \"allTheWay\" | \"leaveAtStation\" | \"takeOnTransport\" | \"cycleHire\"","required":false,"type":"string","enum":["None","LeaveAtStation","TakeOnTransport","AllTheWay","CycleHire"]},{"name":"adjustment","in":"query","description":"Time adjustment command. eg possible options: \"TripFirst\" | \"TripLast\"","required":false,"type":"string"},{"name":"bikeProficiency","in":"query","description":"A comma separated list of cycling proficiency levels. eg possible options: \"easy,moderate,fast\"","required":false,"type":"array","items":{"type":"string","enum":["Easy","Moderate","Fast"]},"collectionFormat":"multi"},{"name":"alternativeCycle","in":"query","description":"Option to determine whether to return alternative cycling journey","required":false,"type":"boolean"},{"name":"alternativeWalking","in":"query","description":"Option to determine whether to return alternative walking journey","required":false,"type":"boolean"},{"name":"applyHtmlMarkup","in":"query","description":"Flag to determine whether certain text (e.g. walking instructions) should be output with HTML tags or not.","required":false,"type":"boolean"},{"name":"useMultiModalCall","in":"query","description":"A boolean to indicate whether or not to return 3 public transport journeys, a bus journey, a cycle hire journey, a personal cycle journey and a walking journey","required":false,"type":"boolean"},{"name":"walkingOptimization","in":"query","description":"A boolean to indicate whether to optimize journeys using walking","required":false,"type":"boolean"},{"name":"taxiOnlyTrip","in":"query","description":"A boolean to indicate whether to return one or more taxi journeys. Note, setting this to true will override \"useMultiModalCall\".","required":false,"type":"boolean"},{"name":"routeBetweenEntrances","in":"query","description":"A boolean to indicate whether public transport routes should include directions between platforms and station entrances.","required":false,"type":"boolean"},{"name":"useRealTimeLiveArrivals","in":"query","description":"A boolean to indicate if we want to receive real time live arrivals data where available.","required":false,"type":"boolean"},{"name":"calcOneDirection","in":"query","description":"A boolean to make Journey Planner calculate journeys in one temporal direction only. In other words, only calculate journeys after the 'depart' time, or before the 'arrive' time. By default, the Journey Planner engine (EFA) calculates journeys in both temporal directions.","required":false,"type":"boolean"},{"name":"includeAlternativeRoutes","in":"query","description":"A boolean to make Journey Planner return alternative routes. Alternative routes are calculated by removing one or more lines included in the fastest route and re-calculating. By default, these journeys will not be returned.","required":false,"type":"boolean"},{"name":"overrideMultiModalScenario","in":"query","description":"An optional integer to indicate what multi modal scenario we want to use.","required":false,"type":"integer","format":"int32"},{"name":"combineTransferLegs","in":"query","description":"A boolean to indicate whether walking leg to station entrance and walking leg from station entrance to platform should be combined. Defaults to true","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.ItineraryResult"}}},"deprecated":false}},"/Line/Meta/Modes":{"get":{"tags":["Line"],"summary":"Gets a list of valid modes","operationId":"Line_MetaModes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Mode"}}}},"deprecated":false}},"/Line/Meta/Severity":{"get":{"tags":["Line"],"summary":"Gets a list of valid severity codes","operationId":"Line_MetaSeverity","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StatusSeverity"}}}},"deprecated":false}},"/Line/Meta/DisruptionCategories":{"get":{"tags":["Line"],"summary":"Gets a list of valid disruption categories","operationId":"Line_MetaDisruptionCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"string"}}}},"deprecated":false}},"/Line/Meta/ServiceTypes":{"get":{"tags":["Line"],"summary":"Gets a list of valid ServiceTypes to filter on","operationId":"Line_MetaServiceTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"string"}}}},"deprecated":false}},"/Line/{ids}":{"get":{"tags":["Line"],"summary":"Gets lines that match the specified line ids.","operationId":"Line_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ids","in":"path","description":"A comma-separated list of line ids e.g. victoria,circle,N133. Max. approx. 20 ids.","required":true,"type":"array","items":{"type":"string"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Line"}}}},"deprecated":false}},"/Line/Mode/{modes}":{"get":{"tags":["Line"],"summary":"Gets lines that serve the given modes.","operationId":"Line_GetByMode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"modes","in":"path","description":"A comma-separated list of modes e.g. tube,dlr","required":true,"type":"array","items":{"type":"string"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Line"}}}},"deprecated":false}},"/Line/Route":{"get":{"tags":["Line"],"summary":"Get all valid routes for all lines, including the name and id of the originating and terminating stops for each route.","operationId":"Line_Route","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"serviceTypes","in":"query","description":"A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified","required":false,"type":"array","items":{"type":"string","enum":["Regular","Night"]},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Line"}}}},"deprecated":false}},"/Line/{ids}/Route":{"get":{"tags":["Line"],"summary":"Get all valid routes for given line ids, including the name and id of the originating and terminating stops for each route.","operationId":"Line_LineRoutesByIds","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ids","in":"path","description":"A comma-separated list of line ids e.g. victoria,circle,N133. Max. approx. 20 ids.","required":true,"type":"array","items":{"type":"string"}},{"name":"serviceTypes","in":"query","description":"A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified","required":false,"type":"array","items":{"type":"string","enum":["Regular","Night"]},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Line"}}}},"deprecated":false}},"/Line/Mode/{modes}/Route":{"get":{"tags":["Line"],"summary":"Gets all lines and their valid routes for given modes, including the name and id of the originating and terminating stops for each route","operationId":"Line_RouteByMode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"modes","in":"path","description":"A comma-separated list of modes e.g. tube,dlr","required":true,"type":"array","items":{"type":"string"}},{"name":"serviceTypes","in":"query","description":"A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified","required":false,"type":"array","items":{"type":"string","enum":["Regular","Night"]},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Line"}}}},"deprecated":false}},"/Line/{id}/Route/Sequence/{direction}":{"get":{"tags":["Line"],"summary":"Gets all valid routes for given line id, including the sequence of stops on each route.","operationId":"Line_RouteSequence","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"A single line id e.g. victoria","required":true,"type":"string"},{"name":"direction","in":"path","description":"The direction of travel. Can be inbound or outbound.","required":true,"type":"string","enum":["inbound","outbound","all"]},{"name":"serviceTypes","in":"query","description":"A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified","required":false,"type":"array","items":{"type":"string","enum":["Regular","Night"]},"collectionFormat":"multi"},{"name":"excludeCrowding","in":"query","description":"That excludes crowding from line disruptions. Can be true or false.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RouteSequence"}}},"deprecated":false}},"/Line/{ids}/Status/{StartDate}/to/{EndDate}":{"get":{"tags":["Line"],"summary":"Gets the line status for given line ids during the provided dates e.g Minor Delays","operationId":"Line_Status","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ids","in":"path","description":"A comma-separated list of line ids e.g. victoria,circle,N133. Max. approx. 20 ids.","required":true,"type":"array","items":{"type":"string"}},{"name":"detail","in":"query","description":"Include details of the disruptions that are causing the line status including the affected stops and routes","required":false,"type":"boolean"},{"name":"startDate","in":"query","required":true,"type":"string"},{"name":"endDate","in":"query","required":true,"type":"string"},{"name":"dateRange.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"dateRange.endDate","in":"query","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Line"}}}},"deprecated":false}},"/Line/{ids}/Status":{"get":{"tags":["Line"],"summary":"Gets the line status of for given line ids e.g Minor Delays","operationId":"Line_StatusByIds","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ids","in":"path","description":"A comma-separated list of line ids e.g. victoria,circle,N133. Max. approx. 20 ids.","required":true,"type":"array","items":{"type":"string"}},{"name":"detail","in":"query","description":"Include details of the disruptions that are causing the line status including the affected stops and routes","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Line"}}}},"deprecated":false}},"/Line/Search/{query}":{"get":{"tags":["Line"],"summary":"Search for lines or routes matching the query string","operationId":"Line_Search","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"query","in":"path","description":"Search term e.g victoria","required":true,"type":"string"},{"name":"modes","in":"query","description":"Optionally filter by the specified modes","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"serviceTypes","in":"query","description":"A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified","required":false,"type":"array","items":{"type":"string","enum":["Regular","Night"]},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RouteSearchResponse"}}},"deprecated":false}},"/Line/Status/{severity}":{"get":{"tags":["Line"],"summary":"Gets the line status for all lines with a given severity\r\n            A list of valid severity codes can be obtained from a call to Line/Meta/Severity","operationId":"Line_StatusBySeverity","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"severity","in":"path","description":"The level of severity (eg: a number from 0 to 14)","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Line"}}}},"deprecated":false}},"/Line/Mode/{modes}/Status":{"get":{"tags":["Line"],"summary":"Gets the line status of for all lines for the given modes","operationId":"Line_StatusByMode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"modes","in":"path","description":"A comma-separated list of modes to filter by. e.g. tube,dlr","required":true,"type":"array","items":{"type":"string"}},{"name":"detail","in":"query","description":"Include details of the disruptions that are causing the line status including the affected stops and routes","required":false,"type":"boolean"},{"name":"severityLevel","in":"query","description":"If specified, ensures that only those line status(es) are returned within the lines that have disruptions with the matching severity level.","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Line"}}}},"deprecated":false}},"/Line/{id}/StopPoints":{"get":{"tags":["Line"],"summary":"Gets a list of the stations that serve the given line id","operationId":"Line_StopPoints","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"A single line id e.g. victoria","required":true,"type":"string"},{"name":"tflOperatedNationalRailStationsOnly","in":"query","description":"If the national-rail line is requested, this flag will filter the national rail stations so that only those operated by TfL are returned","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPoint"}}}},"deprecated":false}},"/Line/{id}/Timetable/{fromStopPointId}":{"get":{"tags":["Line"],"summary":"Gets the timetable for a specified station on the give line","operationId":"Line_Timetable","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromStopPointId","in":"path","description":"The originating station's stop point id (station naptan code e.g. 940GZZLUASL, you can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name)","required":true,"type":"string"},{"name":"id","in":"path","description":"A single line id e.g. victoria","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.TimetableResponse"}}},"deprecated":false}},"/Line/{id}/Timetable/{fromStopPointId}/to/{toStopPointId}":{"get":{"tags":["Line"],"summary":"Gets the timetable for a specified station on the give line with specified destination","operationId":"Line_TimetableTo","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"fromStopPointId","in":"path","description":"The originating station's stop point id (station naptan code e.g. 940GZZLUASL, you can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name)","required":true,"type":"string"},{"name":"id","in":"path","description":"A single line id e.g. victoria","required":true,"type":"string"},{"name":"toStopPointId","in":"path","description":"The destination stations's Naptan code","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.TimetableResponse"}}},"deprecated":false}},"/Line/{ids}/Disruption":{"get":{"tags":["Line"],"summary":"Get disruptions for the given line ids","operationId":"Line_Disruption","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ids","in":"path","description":"A comma-separated list of line ids e.g. victoria,circle,N133. Max. approx. 20 ids.","required":true,"type":"array","items":{"type":"string"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Disruption"}}}},"deprecated":false}},"/Line/Mode/{modes}/Disruption":{"get":{"tags":["Line"],"summary":"Get disruptions for all lines of the given modes.","operationId":"Line_DisruptionByMode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"modes","in":"path","description":"A comma-separated list of modes e.g. tube,dlr","required":true,"type":"array","items":{"type":"string"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Disruption"}}}},"deprecated":false}},"/Line/{ids}/Arrivals/{stopPointId}":{"get":{"tags":["Line"],"summary":"Get the list of arrival predictions for given line ids based at the given stop","operationId":"Line_Arrivals","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ids","in":"path","description":"A comma-separated list of line ids e.g. victoria,circle,N133. Max. approx. 20 ids.","required":true,"type":"array","items":{"type":"string"}},{"name":"stopPointId","in":"path","description":"Optional. Id of stop to get arrival predictions for (station naptan code e.g. 940GZZLUASL, you can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name)","required":true,"type":"string"},{"name":"direction","in":"query","description":"Optional. The direction of travel. Can be inbound or outbound or all. If left blank, and destinationStopId is set, will default to all","required":false,"type":"string","enum":["inbound","outbound","all"]},{"name":"destinationStationId","in":"query","description":"Optional. Id of destination stop","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Prediction"}}}},"deprecated":false}},"/Mode/ActiveServiceTypes":{"get":{"tags":["Mode"],"summary":"Returns the service type active for a mode.\r\n            Currently only supports tube","operationId":"Mode_GetActiveServiceTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.ActiveServiceType"}}}},"deprecated":false}},"/Mode/{mode}/Arrivals":{"get":{"tags":["Mode"],"summary":"Gets the next arrival predictions for all stops of a given mode","operationId":"Mode_Arrivals","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"mode","in":"path","description":"A mode name e.g. tube, dlr","required":true,"type":"string"},{"name":"count","in":"query","description":"A number of arrivals to return for each stop, -1 to return all available.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Prediction"}}}},"deprecated":false}},"/Occupancy/CarPark/{id}":{"get":{"tags":["Occupancy"],"summary":"Gets the occupancy for a car park with a given id","operationId":"Occupancy_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.CarParkOccupancy"}}},"deprecated":false}},"/Occupancy/CarPark":{"get":{"tags":["Occupancy"],"summary":"Gets the occupancy for all car parks that have occupancy data","operationId":"Occupancy_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.CarParkOccupancy"}}}},"deprecated":false}},"/Occupancy/ChargeConnector/{ids}":{"get":{"tags":["Occupancy"],"summary":"Gets the occupancy for a charge connectors with a given id (sourceSystemPlaceId)","operationId":"Occupancy_GetChargeConnectorStatus","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ids","in":"path","required":true,"type":"array","items":{"type":"string"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.ChargeConnectorOccupancy"}}}},"deprecated":false}},"/Occupancy/ChargeConnector":{"get":{"tags":["Occupancy"],"summary":"Gets the occupancy for all charge connectors","operationId":"Occupancy_GetAllChargeConnectorStatus","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.ChargeConnectorOccupancy"}}}},"deprecated":false}},"/Occupancy/BikePoints/{ids}":{"get":{"tags":["Occupancy"],"summary":"Get the occupancy for bike points.","operationId":"Occupancy_GetBikePointsOccupancies","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ids","in":"path","description":"","required":true,"type":"array","items":{"type":"string"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.BikePointOccupancy"}}}},"deprecated":false}},"/Place/Meta/Categories":{"get":{"tags":["Place"],"summary":"Gets a list of all of the available place property categories and keys.","operationId":"Place_MetaCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.PlaceCategory"}}}},"deprecated":false}},"/Place/Meta/PlaceTypes":{"get":{"tags":["Place"],"summary":"Gets a list of the available types of Place.","operationId":"Place_MetaPlaceTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.PlaceCategory"}}}},"deprecated":false}},"/Place/Address/Streets/{Postcode}":{"get":{"tags":["Place"],"summary":"Gets the set of streets associated with a post code.","operationId":"Place_GetStreetsByPostCode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"postcode","in":"query","required":true,"type":"string"},{"name":"postcodeInput.postcode","in":"query","required":false,"type":"string","pattern":"^(([gG][iI][rR] {0,}0[aA]{2})|((([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y]?[0-9][0-9]?)|(([a-pr-uwyzA-PR-UWYZ][0-9][a-hjkstuwA-HJKSTUW])|([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y][0-9][abehmnprv-yABEHMNPRV-Y]))) {0,}[0-9][abd-hjlnp-uw-zABD-HJLNP-UW-Z]{2}))$"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/System.Object"}}},"deprecated":false}},"/Place/Type/{types}":{"get":{"tags":["Place"],"summary":"Gets all places of a given type","operationId":"Place_GetByType","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"types","in":"path","description":"A comma-separated list of the types to return. Max. approx 12 types.\r\n            A valid list of place types can be obtained from the /Place/Meta/placeTypes endpoint.","required":true,"type":"array","items":{"type":"string"}},{"name":"activeOnly","in":"query","description":"An optional parameter to limit the results to active records only (Currently only the 'VariableMessageSign' place type is supported)","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Place"}}}},"deprecated":false}},"/Place/{id}":{"get":{"tags":["Place"],"summary":"Gets the place with the given id.","operationId":"Place_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The id of the place, you can use the /Place/Types/{types} endpoint to get a list of places for a given type including their ids","required":true,"type":"string"},{"name":"includeChildren","in":"query","description":"Defaults to false. If true child places e.g. individual charging stations at a charge point while be included, otherwise just the URLs of any child places will be returned","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Place"}}}},"deprecated":false}},"/Place":{"get":{"tags":["Place"],"summary":"Gets the places that lie within a geographic region. The geographic region of interest can either be specified\r\n            by using a lat/lon geo-point and a radius in metres to return places within the locus defined by the lat/lon of\r\n            its centre or alternatively, by the use of a bounding box defined by the lat/lon of its north-west and south-east corners.\r\n            Optionally filters on type and can strip properties for a smaller payload.","operationId":"Place_GetByGeo","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"radius","in":"query","description":"The radius of the bounding circle in metres when only lat/lon are specified.","required":false,"type":"number","format":"double"},{"name":"categories","in":"query","description":"An optional list of comma separated property categories to return in the Place's property bag. If null or empty, all categories of property are returned. Pass the keyword \"none\" to return no properties (a valid list of categories can be obtained from the /Place/Meta/categories endpoint)","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"includeChildren","in":"query","description":"Defaults to false. If true child places e.g. individual charging stations at a charge point while be included, otherwise just the URLs of any child places will be returned","required":false,"type":"boolean"},{"name":"type","in":"query","description":"Place types to filter on, or null to return all types","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"activeOnly","in":"query","description":"An optional parameter to limit the results to active records only (Currently only the 'VariableMessageSign' place type is supported)","required":false,"type":"boolean"},{"name":"numberOfPlacesToReturn","in":"query","description":"If specified, limits the number of returned places equal to the given value","required":false,"type":"integer","format":"int32"},{"name":"placeGeo.swLat","in":"query","required":false,"type":"number","format":"double"},{"name":"placeGeo.swLon","in":"query","required":false,"type":"number","format":"double"},{"name":"placeGeo.neLat","in":"query","required":false,"type":"number","format":"double"},{"name":"placeGeo.neLon","in":"query","required":false,"type":"number","format":"double"},{"name":"placeGeo.lat","in":"query","required":false,"type":"number","format":"double"},{"name":"placeGeo.lon","in":"query","required":false,"type":"number","format":"double"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPoint"}}}},"deprecated":false}},"/Place/{type}/At/{Lat}/{Lon}":{"get":{"tags":["Place"],"summary":"Gets any places of the given type whose geography intersects the given latitude and longitude. In practice this means the Place\r\n            must be polygonal e.g. a BoroughBoundary.","operationId":"Place_GetAt","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"type","in":"path","description":"The place type (a valid list of place types can be obtained from the /Place/Meta/placeTypes endpoint)","required":true,"type":"array","items":{"type":"string"}},{"name":"lat","in":"query","required":true,"type":"string"},{"name":"lon","in":"query","required":true,"type":"string"},{"name":"location.lat","in":"query","required":true,"type":"number","format":"double"},{"name":"location.lon","in":"query","required":true,"type":"number","format":"double"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/System.Object"}}},"deprecated":false}},"/Place/{type}/overlay/{z}/{Lat}/{Lon}/{width}/{height}":{"get":{"tags":["Place"],"summary":"Gets the place overlay for a given set of co-ordinates and a given width/height.","operationId":"Place_GetOverlay","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"z","in":"path","description":"The zoom level","required":true,"type":"integer","format":"int32"},{"name":"type","in":"path","description":"The place type (a valid list of place types can be obtained from the /Place/Meta/placeTypes endpoint)","required":true,"type":"array","items":{"type":"string"}},{"name":"width","in":"path","description":"The width of the requested overlay.","required":true,"type":"integer","format":"int32"},{"name":"height","in":"path","description":"The height of the requested overlay.","required":true,"type":"integer","format":"int32"},{"name":"lat","in":"query","required":true,"type":"string"},{"name":"lon","in":"query","required":true,"type":"string"},{"name":"location.lat","in":"query","required":true,"type":"number","format":"double"},{"name":"location.lon","in":"query","required":true,"type":"number","format":"double"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/System.Object"}}},"deprecated":false}},"/Place/Search":{"get":{"tags":["Place"],"summary":"Gets all places that matches the given query","operationId":"Place_Search","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"name","in":"query","description":"The name of the place, you can use the /Place/Types/{types} endpoint to get a list of places for a given type including their names.","required":true,"type":"string"},{"name":"types","in":"query","description":"A comma-separated list of the types to return. Max. approx 12 types.","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Place"}}}},"deprecated":false}},"/Road":{"get":{"tags":["Road"],"summary":"Gets all roads managed by TfL","operationId":"Road_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RoadCorridor"}}}},"deprecated":false}},"/Road/{ids}":{"get":{"tags":["Road"],"summary":"Gets the road with the specified id (e.g. A1)","operationId":"Road_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ids","in":"path","description":"Comma-separated list of road identifiers e.g. \"A406, A2\" (a full list of supported road identifiers can be found at the /Road/ endpoint)","required":true,"type":"array","items":{"type":"string"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RoadCorridor"}}}},"deprecated":false}},"/Road/{ids}/Status":{"get":{"tags":["Road"],"summary":"Gets the specified roads with the status aggregated over the date range specified, or now until the end of today if no dates are passed.","operationId":"Road_Status","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ids","in":"path","description":"Comma-separated list of road identifiers e.g. \"A406, A2\" or use \"all\" to ignore id filter (a full list of supported road identifiers can be found at the /Road/ endpoint)","required":true,"type":"array","items":{"type":"string"}},{"name":"dateRangeNullable.startDate","in":"query","required":false,"type":"string","format":"date-time"},{"name":"dateRangeNullable.endDate","in":"query","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RoadCorridor"}}}},"deprecated":false}},"/Road/{ids}/Disruption":{"get":{"tags":["Road"],"summary":"Get active disruptions, filtered by road ids","operationId":"Road_Disruption","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","application/geo+json"],"parameters":[{"name":"ids","in":"path","description":"Comma-separated list of road identifiers e.g. \"A406, A2\" use all for all to ignore id filter (a full list of supported road identifiers can be found at the /Road/ endpoint)","required":true,"type":"array","items":{"type":"string"}},{"name":"stripContent","in":"query","description":"Optional, defaults to false. When true, removes every property/node except for id, point, severity, severityDescription, startDate, endDate, corridor details, location, comments and streets","required":false,"type":"boolean"},{"name":"severities","in":"query","description":"an optional list of Severity names to filter on (a valid list of severities can be obtained from the /Road/Meta/severities endpoint)","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"categories","in":"query","description":"an optional list of category names to filter on (a valid list of categories can be obtained from the /Road/Meta/categories endpoint)","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"closures","in":"query","description":"Optional, defaults to true. When true, always includes disruptions that have road closures, regardless of the severity filter. When false, the severity filter works as normal.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RoadDisruption"}}}},"deprecated":false}},"/Road/all/Street/Disruption":{"get":{"tags":["Road"],"summary":"Gets a list of disrupted streets. If no date filters are provided, current disruptions are returned.","operationId":"Road_DisruptedStreets","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"startDate","in":"query","description":"Optional, the start time to filter on.","required":true,"type":"string","format":"date-time"},{"name":"endDate","in":"query","description":"Optional, The end time to filter on.","required":true,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/System.Object"}}},"deprecated":false}},"/Road/all/Disruption/{disruptionIds}":{"get":{"tags":["Road"],"summary":"Gets a list of active disruptions filtered by disruption Ids.","operationId":"Road_DisruptionById","consumes":[],"produces":["application/json","text/json","application/xml","text/xml","application/geo+json"],"parameters":[{"name":"disruptionIds","in":"path","description":"Comma-separated list of disruption identifiers to filter by.","required":true,"type":"array","items":{"type":"string"}},{"name":"stripContent","in":"query","description":"Optional, defaults to false. When true, removes every property/node except for id, point, severity, severityDescription, startDate, endDate, corridor details, location and comments.","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RoadDisruption"}}},"deprecated":false}},"/Road/Meta/Categories":{"get":{"tags":["Road"],"summary":"Gets a list of valid RoadDisruption categories","operationId":"Road_MetaCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"string"}}}},"deprecated":false}},"/Road/Meta/Severities":{"get":{"tags":["Road"],"summary":"Gets a list of valid RoadDisruption severity codes","operationId":"Road_MetaSeverities","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StatusSeverity"}}}},"deprecated":false}},"/Search":{"get":{"tags":["Search"],"summary":"Search the site for occurrences of the query string. The maximum number of results returned is equal to the maximum page size\r\n            of 100. To return subsequent pages, use the paginated overload.","operationId":"Search_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"query","in":"query","description":"The search query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.SearchResponse"}}},"deprecated":false}},"/Search/BusSchedules":{"get":{"tags":["Search"],"summary":"Searches the bus schedules folder on S3 for a given bus number.","operationId":"Search_BusSchedules","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"query","in":"query","description":"The search query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.SearchResponse"}}},"deprecated":false}},"/Search/Meta/SearchProviders":{"get":{"tags":["Search"],"summary":"Gets the available searchProvider names.","operationId":"Search_MetaSearchProviders","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"string"}}}},"deprecated":false}},"/Search/Meta/Categories":{"get":{"tags":["Search"],"summary":"Gets the available search categories.","operationId":"Search_MetaCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"string"}}}},"deprecated":false}},"/Search/Meta/Sorts":{"get":{"tags":["Search"],"summary":"Gets the available sorting options.","operationId":"Search_MetaSorts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"string"}}}},"deprecated":false}},"/StopPoint/Meta/Categories":{"get":{"tags":["StopPoint"],"summary":"Gets the list of available StopPoint additional information categories","operationId":"StopPoint_MetaCategories","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPointCategory"}}}},"deprecated":false}},"/StopPoint/Meta/StopTypes":{"get":{"tags":["StopPoint"],"summary":"Gets the list of available StopPoint types","operationId":"StopPoint_MetaStopTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"string"}}}},"deprecated":false}},"/StopPoint/Meta/Modes":{"get":{"tags":["StopPoint"],"summary":"Gets the list of available StopPoint modes","operationId":"StopPoint_MetaModes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Mode"}}}},"deprecated":false}},"/StopPoint/{ids}":{"get":{"tags":["StopPoint"],"summary":"Gets a list of StopPoints corresponding to the given list of stop ids.","operationId":"StopPoint_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ids","in":"path","description":"A comma-separated list of stop point ids (station naptan code e.g. 940GZZLUASL). Max. approx. 20 ids.\r\n            You can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name.","required":true,"type":"array","items":{"type":"string"}},{"name":"includeCrowdingData","in":"query","description":"Include the crowding data (static). To Filter further use: /StopPoint/{ids}/Crowding/{line}","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPoint"}}}},"deprecated":false}},"/StopPoint/{id}/placeTypes":{"get":{"tags":["StopPoint"],"summary":"Get a list of places corresponding to a given id and place types.","operationId":"StopPoint_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"A naptan id for a stop point (station naptan code e.g. 940GZZLUASL).","required":true,"type":"string"},{"name":"placeTypes","in":"query","description":"A comcomma-separated value representing the place types.","required":true,"type":"array","items":{"type":"string"},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Place"}}}},"deprecated":false}},"/StopPoint/{id}/Crowding/{line}":{"get":{"tags":["StopPoint"],"summary":"Gets all the Crowding data (static) for the StopPointId, plus crowding data for a given line and optionally a particular direction.","operationId":"StopPoint_Crowding","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The Naptan id of the stop","required":true,"type":"string"},{"name":"line","in":"path","description":"A particular line e.g. victoria, circle, northern etc.","required":true,"type":"string"},{"name":"direction","in":"query","description":"The direction of travel. Can be inbound or outbound.","required":true,"type":"string","enum":["inbound","outbound","all"]}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPoint"}}}},"deprecated":false}},"/StopPoint/Type/{types}":{"get":{"tags":["StopPoint"],"summary":"Gets all stop points of a given type","operationId":"StopPoint_GetByType","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"types","in":"path","description":"A comma-separated list of the types to return. Max. approx. 12 types. \r\n            A list of valid stop types can be obtained from the StopPoint/meta/stoptypes endpoint.","required":true,"type":"array","items":{"type":"string"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPoint"}}}},"deprecated":false}},"/StopPoint/Type/{types}/page/{page}":{"get":{"tags":["StopPoint"],"summary":"Gets all the stop points of given type(s) with a page number","operationId":"StopPoint_GetByTypeWithPagination","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"types","in":"path","description":"","required":true,"type":"array","items":{"type":"string"}},{"name":"page","in":"path","description":"","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPoint"}}}},"deprecated":false}},"/StopPoint/ServiceTypes":{"get":{"tags":["StopPoint"],"summary":"Gets the service types for a given stoppoint","operationId":"StopPoint_GetServiceTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"query","description":"The Naptan id of the stop","required":true,"type":"string"},{"name":"lineIds","in":"query","description":"The lines which contain the given Naptan id (all lines relevant to the given stoppoint if empty)","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"modes","in":"query","description":"The modes which the lines are relevant to (all if empty)","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.LineServiceType"}}}},"deprecated":false}},"/StopPoint/{id}/Arrivals":{"get":{"tags":["StopPoint"],"summary":"Gets the list of arrival predictions for the given stop point id","operationId":"StopPoint_Arrivals","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"A StopPoint id (station naptan code e.g. 940GZZLUASL, you can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name)","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Prediction"}}}},"deprecated":false}},"/StopPoint/{id}/ArrivalDepartures":{"get":{"tags":["StopPoint"],"summary":"Gets the list of arrival and departure predictions for the given stop point id (overground, Elizabeth line and thameslink only)","operationId":"StopPoint_ArrivalDepartures","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"A StopPoint id (station naptan code e.g. 940GZZLUASL, you can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name)","required":true,"type":"string"},{"name":"lineIds","in":"query","description":"A comma-separated list of line ids e.g. elizabeth, london-overground, thameslink","required":true,"type":"array","items":{"type":"string"},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.ArrivalDeparture"}}}},"deprecated":false}},"/StopPoint/{id}/CanReachOnLine/{lineId}":{"get":{"tags":["StopPoint"],"summary":"Gets Stopoints that are reachable from a station/line combination.","operationId":"StopPoint_ReachableFrom","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"The id (station naptan code e.g. 940GZZLUASL, you can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name) of the stop point to filter by","required":true,"type":"string"},{"name":"lineId","in":"path","description":"Line id of the line to filter by (e.g. victoria)","required":true,"type":"string"},{"name":"serviceTypes","in":"query","description":"A comma-separated list of service types to filter on. If not specified. Supported values: Regular, Night. Defaulted to 'Regular' if not specified","required":false,"type":"array","items":{"type":"string","enum":["Regular","Night"]},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPoint"}}}},"deprecated":false}},"/StopPoint/{id}/Route":{"get":{"tags":["StopPoint"],"summary":"Returns the route sections for all the lines that service the given stop point ids","operationId":"StopPoint_Route","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"A stop point id (station naptan codes e.g. 940GZZLUASL, you can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name)","required":true,"type":"string"},{"name":"serviceTypes","in":"query","description":"A comma-separated list of service types to filter on. If not specified. Supported values: Regular, Night. Defaulted to 'Regular' if not specified","required":false,"type":"array","items":{"type":"string","enum":["Regular","Night"]},"collectionFormat":"multi"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPointRouteSection"}}}},"deprecated":false}},"/StopPoint/Mode/{modes}/Disruption":{"get":{"tags":["StopPoint"],"summary":"Gets a distinct list of disrupted stop points for the given modes","operationId":"StopPoint_DisruptionByMode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"modes","in":"path","description":"A comma-seperated list of modes e.g. tube,dlr","required":true,"type":"array","items":{"type":"string"}},{"name":"includeRouteBlockedStops","in":"query","description":"","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.DisruptedPoint"}}}},"deprecated":false}},"/StopPoint/{ids}/Disruption":{"get":{"tags":["StopPoint"],"summary":"Gets all disruptions for the specified StopPointId, plus disruptions for any child Naptan records it may have.","operationId":"StopPoint_Disruption","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ids","in":"path","description":"A comma-seperated list of stop point ids. Max. approx. 20 ids.\r\n            You can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name.","required":true,"type":"array","items":{"type":"string"}},{"name":"getFamily","in":"query","description":"Specify true to return disruptions for entire family, or false to return disruptions for just this stop point. Defaults to false.","required":false,"type":"boolean"},{"name":"includeRouteBlockedStops","in":"query","description":"","required":false,"type":"boolean"},{"name":"flattenResponse","in":"query","description":"Specify true to associate all disruptions with parent stop point. (Only applicable when getFamily is true).","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.DisruptedPoint"}}}},"deprecated":false}},"/StopPoint/{id}/DirectionTo/{toStopPointId}":{"get":{"tags":["StopPoint"],"summary":"Returns the canonical direction, \"inbound\" or \"outbound\", for a given pair of stop point Ids in the direction from -&gt; to.","operationId":"StopPoint_Direction","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"Originating stop id (station naptan code e.g. 940GZZLUASL, you can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name)","required":true,"type":"string"},{"name":"toStopPointId","in":"path","description":"Destination stop id (station naptan code e.g. 940GZZLUASL, you can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name)","required":true,"type":"string"},{"name":"lineId","in":"query","description":"Optional line id filter e.g. victoria","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"string"}}},"deprecated":false}},"/StopPoint":{"get":{"tags":["StopPoint"],"summary":"Gets a list of StopPoints within {radius} by the specified criteria","operationId":"StopPoint_GetByGeoPoint","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stopTypes","in":"query","description":"a list of stopTypes that should be returned (a list of valid stop types can be obtained from the StopPoint/meta/stoptypes endpoint)","required":true,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"radius","in":"query","description":"the radius of the bounding circle in metres (default : 200)","required":false,"type":"integer","format":"int32"},{"name":"useStopPointHierarchy","in":"query","description":"Re-arrange the output into a parent/child hierarchy","required":false,"type":"boolean"},{"name":"modes","in":"query","description":"the list of modes to search (comma separated mode names e.g. tube,dlr)","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"categories","in":"query","description":"an optional list of comma separated property categories to return in the StopPoint's property bag. If null or empty, all categories of property are returned. Pass the keyword \"none\" to return no properties (a valid list of categories can be obtained from the /StopPoint/Meta/categories endpoint)","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"returnLines","in":"query","description":"true to return the lines that each stop point serves as a nested resource","required":false,"type":"boolean"},{"name":"location.lat","in":"query","required":true,"type":"number","format":"double"},{"name":"location.lon","in":"query","required":true,"type":"number","format":"double"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPointsResponse"}}},"deprecated":false}},"/StopPoint/Mode/{modes}":{"get":{"tags":["StopPoint"],"summary":"Gets a list of StopPoints filtered by the modes available at that StopPoint.","operationId":"StopPoint_GetByMode","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"modes","in":"path","description":"A comma-seperated list of modes e.g. tube,dlr","required":true,"type":"array","items":{"type":"string"}},{"name":"page","in":"query","description":"The data set page to return. Page 1 equates to the first 1000 stop points, page 2 equates to 1001-2000 etc. Must be entered for bus mode as data set is too large.","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPointsResponse"}}},"deprecated":false}},"/StopPoint/Search/{query}":{"get":{"tags":["StopPoint"],"summary":"Search StopPoints by their common name, or their 5-digit Countdown Bus Stop Code.","operationId":"StopPoint_Search","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"query","in":"path","description":"The query string, case-insensitive. Leading and trailing wildcards are applied automatically.","required":true,"type":"string"},{"name":"modes","in":"query","description":"An optional, parameter separated list of the modes to filter by","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"faresOnly","in":"query","description":"True to only return stations in that have Fares data available for single fares to another station.","required":false,"type":"boolean"},{"name":"maxResults","in":"query","description":"An optional result limit, defaulting to and with a maximum of 50. Since children of the stop point heirarchy are returned for matches,\r\n            it is possible that the flattened result set will contain more than 50 items.","required":false,"type":"integer","format":"int32"},{"name":"lines","in":"query","description":"An optional, parameter separated list of the lines to filter by","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"includeHubs","in":"query","description":"If true, returns results including HUBs.","required":false,"type":"boolean"},{"name":"tflOperatedNationalRailStationsOnly","in":"query","description":"If the national-rail mode is included, this flag will filter the national rail stations so that only those operated by TfL are returned","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.SearchResponse"}}},"deprecated":false}},"/StopPoint/Search":{"get":{"tags":["StopPoint"],"summary":"Search StopPoints by their common name, or their 5-digit Countdown Bus Stop Code.","operationId":"StopPoint_Search","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"query","in":"query","description":"The query string, case-insensitive. Leading and trailing wildcards are applied automatically.","required":true,"type":"string"},{"name":"modes","in":"query","description":"An optional, parameter separated list of the modes to filter by","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"faresOnly","in":"query","description":"True to only return stations in that have Fares data available for single fares to another station.","required":false,"type":"boolean"},{"name":"maxResults","in":"query","description":"An optional result limit, defaulting to and with a maximum of 50. Since children of the stop point heirarchy are returned for matches,\r\n            it is possible that the flattened result set will contain more than 50 items.","required":false,"type":"integer","format":"int32"},{"name":"lines","in":"query","description":"An optional, parameter separated list of the lines to filter by","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"includeHubs","in":"query","description":"If true, returns results including HUBs.","required":false,"type":"boolean"},{"name":"tflOperatedNationalRailStationsOnly","in":"query","description":"If the national-rail mode is included, this flag will filter the national rail stations so that only those operated by TfL are returned","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.SearchResponse"}}},"deprecated":false}},"/StopPoint/Sms/{id}":{"get":{"tags":["StopPoint"],"summary":"Gets a StopPoint for a given sms code.","operationId":"StopPoint_GetBySms","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"id","in":"path","description":"A 5-digit Countdown Bus Stop Code e.g. 73241, 50435, 56334.","required":true,"type":"string"},{"name":"output","in":"query","description":"If set to \"web\", a 302 redirect to relevant website bus stop page is returned. Valid values are : web. All other values are ignored.","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/System.Object"}}},"deprecated":false}},"/StopPoint/{stopPointId}/TaxiRanks":{"get":{"tags":["StopPoint"],"summary":"Gets a list of taxi ranks corresponding to the given stop point id.","operationId":"StopPoint_GetTaxiRanksByIds","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stopPointId","in":"path","description":"stopPointId is required to get the taxi ranks.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Place"}}}},"deprecated":false}},"/StopPoint/{stopPointId}/CarParks":{"get":{"tags":["StopPoint"],"summary":"Get car parks corresponding to the given stop point id.","operationId":"StopPoint_GetCarParksById","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"stopPointId","in":"path","description":"stopPointId is required to get the car parks.","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Place"}}}},"deprecated":false}},"/TravelTimes/overlay/{z}/mapcenter/{mapCenterLat}/{mapCenterLon}/pinlocation/{pinLat}/{pinLon}/dimensions/{width}/{height}":{"get":{"tags":["TravelTime"],"summary":"Gets the TravelTime overlay.","operationId":"TravelTime_GetOverlay","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"z","in":"path","description":"The zoom level.","required":true,"type":"integer","format":"int32"},{"name":"pinLat","in":"path","description":"The latitude of the pin.","required":true,"type":"number","format":"double"},{"name":"pinLon","in":"path","description":"The longitude of the pin.","required":true,"type":"number","format":"double"},{"name":"mapCenterLat","in":"path","description":"The map center latitude.","required":true,"type":"number","format":"double"},{"name":"mapCenterLon","in":"path","description":"The map center longitude.","required":true,"type":"number","format":"double"},{"name":"scenarioTitle","in":"query","description":"The title of the scenario.","required":true,"type":"string"},{"name":"timeOfDayId","in":"query","description":"The id for the time of day (AM/INTER/PM)","required":true,"type":"string"},{"name":"modeId","in":"query","description":"The id of the mode.","required":true,"type":"string"},{"name":"width","in":"path","description":"The width of the requested overlay.","required":true,"type":"integer","format":"int32"},{"name":"height","in":"path","description":"The height of the requested overlay.","required":true,"type":"integer","format":"int32"},{"name":"direction","in":"query","description":"The direction of travel.","required":true,"type":"string","enum":["Average","From","To"]},{"name":"travelTimeInterval","in":"query","description":"The total minutes between the travel time bands","required":true,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/System.Object"}}},"deprecated":false}},"/TravelTimes/compareOverlay/{z}/mapcenter/{mapCenterLat}/{mapCenterLon}/pinlocation/{pinLat}/{pinLon}/dimensions/{width}/{height}":{"get":{"tags":["TravelTime"],"summary":"Gets the TravelTime overlay.","operationId":"TravelTime_GetCompareOverlay","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"z","in":"path","description":"The zoom level.","required":true,"type":"integer","format":"int32"},{"name":"pinLat","in":"path","description":"The latitude of the pin.","required":true,"type":"number","format":"double"},{"name":"pinLon","in":"path","description":"The longitude of the pin.","required":true,"type":"number","format":"double"},{"name":"mapCenterLat","in":"path","description":"The map center latitude.","required":true,"type":"number","format":"double"},{"name":"mapCenterLon","in":"path","description":"The map center longitude.","required":true,"type":"number","format":"double"},{"name":"scenarioTitle","in":"query","description":"The title of the scenario.","required":true,"type":"string"},{"name":"timeOfDayId","in":"query","description":"The id for the time of day (AM/INTER/PM)","required":true,"type":"string"},{"name":"modeId","in":"query","description":"The id of the mode.","required":true,"type":"string"},{"name":"width","in":"path","description":"The width of the requested overlay.","required":true,"type":"integer","format":"int32"},{"name":"height","in":"path","description":"The height of the requested overlay.","required":true,"type":"integer","format":"int32"},{"name":"direction","in":"query","description":"The direction of travel.","required":true,"type":"string","enum":["Average","From","To"]},{"name":"travelTimeInterval","in":"query","description":"The total minutes between the travel time bands","required":true,"type":"integer","format":"int32"},{"name":"compareType","in":"query","required":true,"type":"string"},{"name":"compareValue","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/System.Object"}}},"deprecated":false}},"/Vehicle/{ids}/Arrivals":{"get":{"tags":["Vehicle"],"summary":"Gets the predictions for a given list of vehicle Id's.","operationId":"Vehicle_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"ids","in":"path","description":"A comma-separated list of vehicle ids e.g. LX58CFV,LX11AZB,LX58CFE. Max approx. 25 ids.","required":true,"type":"array","items":{"type":"string"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Prediction"}}}},"deprecated":false}}},"definitions":{"Tfl.Api.Presentation.Entities.AccidentStats.AccidentDetail":{"type":"object","properties":{"id":{"format":"int32","type":"integer"},"lat":{"format":"double","type":"number"},"lon":{"format":"double","type":"number"},"location":{"type":"string"},"date":{"format":"date-time","type":"string"},"severity":{"type":"string"},"borough":{"type":"string"},"casualties":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.AccidentStats.Casualty"}},"vehicles":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.AccidentStats.Vehicle"}}}},"Tfl.Api.Presentation.Entities.AccidentStats.Casualty":{"type":"object","properties":{"age":{"format":"int32","type":"integer"},"class":{"type":"string"},"severity":{"type":"string"},"mode":{"type":"string"},"ageBand":{"type":"string"}}},"Tfl.Api.Presentation.Entities.AccidentStats.Vehicle":{"type":"object","properties":{"type":{"type":"string"}}},"Tfl.Api.Presentation.Entities.AccidentStats.AccidentStatsOrderedSummary":{"type":"object","properties":{"year":{"format":"int32","type":"integer"},"borough":{"type":"string"},"accidents":{"format":"int32","type":"integer"}}},"System.Object":{"type":"object","properties":{}},"Tfl.Api.Presentation.Entities.Place":{"type":"object","properties":{"id":{"description":"A unique identifier.","type":"string"},"url":{"description":"The unique location of this resource.","type":"string"},"commonName":{"description":"A human readable name.","type":"string"},"distance":{"format":"double","description":"The distance of the place from its search point, if this is the result\r\n            of a geographical search, otherwise zero.","type":"number"},"placeType":{"description":"The type of Place. See /Place/Meta/placeTypes for possible values.","type":"string"},"additionalProperties":{"description":"A bag of additional key/value pairs with extra information about this place.","type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.AdditionalProperties"}},"children":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Place"}},"childrenUrls":{"type":"array","items":{"type":"string"}},"lat":{"format":"double","description":"WGS84 latitude of the location.","type":"number"},"lon":{"format":"double","description":"WGS84 longitude of the location.","type":"number"}}},"Tfl.Api.Presentation.Entities.AdditionalProperties":{"type":"object","properties":{"category":{"type":"string"},"key":{"type":"string"},"sourceSystemKey":{"type":"string"},"value":{"type":"string"},"modified":{"format":"date-time","type":"string"}}},"Tfl.Api.Presentation.Entities.CycleSuperhighway":{"description":"","type":"object","properties":{"id":{"description":"The Id","type":"string"},"label":{"description":"The long label to show on maps when zoomed in","type":"string"},"labelShort":{"description":"The short label to show on maps","type":"string"},"geography":{"$ref":"#/definitions/System.Data.Spatial.DbGeography","description":"A LineString or MultiLineString that forms the route of the highway"},"segmented":{"description":"True if the route is split into segments","type":"boolean"},"modified":{"format":"date-time","description":"When the data was last updated","type":"string"},"status":{"description":"Cycle route status i.e Proposed, Existing etc","enum":["Unknown","All","Open","In Progress","Planned","Planned - Subject to feasibility and consultation.","Not Open"],"type":"string"},"routeType":{"description":"Type of cycle route e.g CycleSuperhighways, Quietways, MiniHollands etc","enum":["Unknown","All","Cycle Superhighways","Quietways","Cycleways","Mini-Hollands","Central London Grid","Streetspace Route"],"type":"string"}}},"System.Data.Spatial.DbGeography":{"type":"object","properties":{"geography":{"$ref":"#/definitions/System.Data.Spatial.DbGeographyWellKnownValue"}}},"System.Data.Spatial.DbGeographyWellKnownValue":{"type":"object","properties":{"coordinateSystemId":{"format":"int32","type":"integer"},"wellKnownText":{"type":"string"},"wellKnownBinary":{"format":"byte","type":"string"}}},"Tfl.Api.Presentation.Entities.Fares.Fare":{"type":"object","properties":{"id":{"format":"int32","type":"integer"},"passengerType":{"type":"string"},"validFrom":{"format":"date-time","type":"string"},"validUntil":{"format":"date-time","type":"string"},"ticketTime":{"type":"string"},"ticketType":{"type":"string"},"cost":{"type":"string"},"cap":{"format":"double","type":"number"},"description":{"type":"string"},"zone":{"type":"string"},"mode":{"type":"string"}}},"Tfl.Api.Presentation.Entities.Fares.FaresSection":{"type":"object","properties":{"header":{"type":"string"},"index":{"format":"int32","type":"integer"},"journey":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Fares.Journey"},"rows":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Fares.FareDetails"}},"messages":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Message"}}}},"Tfl.Api.Presentation.Entities.Fares.Journey":{"type":"object","properties":{"fromStation":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Fares.FareStation"},"toStation":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Fares.FareStation"}}},"Tfl.Api.Presentation.Entities.Fares.FareDetails":{"type":"object","properties":{"boundsId":{"format":"int32","type":"integer"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"mode":{"type":"string"},"passengerType":{"type":"string"},"contactlessPAYGOnlyFare":{"type":"boolean"},"from":{"type":"string"},"to":{"type":"string"},"fromStation":{"type":"string"},"toStation":{"type":"string"},"via":{"type":"string"},"routeCode":{"type":"string"},"displayName":{"type":"string"},"displayOrder":{"format":"int32","type":"integer"},"routeDescription":{"type":"string"},"validatorInformation":{"type":"string"},"operator":{"type":"string"},"specialFare":{"type":"boolean"},"throughFare":{"type":"boolean"},"isTour":{"type":"boolean"},"ticketsAvailable":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Fares.Ticket"}},"messages":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Message"}}}},"Tfl.Api.Presentation.Entities.Message":{"type":"object","properties":{"bulletOrder":{"format":"int32","type":"integer"},"header":{"type":"boolean"},"messageText":{"type":"string"},"linkText":{"type":"string"},"url":{"type":"string"}}},"Tfl.Api.Presentation.Entities.Fares.FareStation":{"type":"object","properties":{"atcoCode":{"type":"string"},"commonName":{"type":"string"},"fareCategory":{"enum":["Cash","Oyster","Contactless","ContactlessOnly","All"],"type":"string"}}},"Tfl.Api.Presentation.Entities.Fares.Ticket":{"type":"object","properties":{"passengerType":{"type":"string"},"ticketType":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Fares.TicketType"},"ticketTime":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Fares.TicketTime"},"cost":{"type":"string"},"description":{"type":"string"},"mode":{"type":"string"},"displayOrder":{"format":"int32","type":"integer"},"messages":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Message"}}}},"Tfl.Api.Presentation.Entities.Fares.TicketType":{"type":"object","properties":{"type":{"type":"string"},"description":{"type":"string"}}},"Tfl.Api.Presentation.Entities.Fares.TicketTime":{"type":"object","properties":{"type":{"type":"string"},"description":{"type":"string"}}},"Tfl.Api.Presentation.Entities.Fares.FareBounds":{"type":"object","properties":{"id":{"format":"int32","type":"integer"},"from":{"type":"string"},"to":{"type":"string"},"via":{"type":"string"},"routeCode":{"type":"string"},"description":{"type":"string"},"displayName":{"type":"string"},"operator":{"type":"string"},"displayOrder":{"format":"int32","type":"integer"},"isPopularFare":{"type":"boolean"},"isPopularTravelCard":{"type":"boolean"},"isTour":{"type":"boolean"},"messages":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Message"}}}},"Tfl.Api.Presentation.Entities.Fares.FaresPeriod":{"type":"object","properties":{"id":{"format":"int32","type":"integer"},"startDate":{"format":"date-time","type":"string"},"viewableDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"isFuture":{"type":"boolean"}}},"Tfl.Api.Presentation.Entities.Fares.FaresMode":{"type":"object","properties":{"id":{"format":"int32","type":"integer"},"name":{"type":"string"},"description":{"type":"string"}}},"Tfl.Api.Presentation.Entities.Fares.PassengerType":{"type":"object","properties":{"type":{"type":"string"},"description":{"type":"string"},"displayName":{"type":"string"},"displayOrder":{"format":"int32","type":"integer"}}},"Tfl.Api.Presentation.Entities.Coordinate":{"type":"object","properties":{"longitude":{"format":"double","type":"number"},"latitude":{"format":"double","type":"number"},"easting":{"format":"double","type":"number"},"northing":{"format":"double","type":"number"},"xCoord":{"format":"int32","type":"integer"},"yCoord":{"format":"int32","type":"integer"}}},"Tfl.Api.Presentation.Entities.GeoCodeSearchMatch":{"type":"object","properties":{"types":{"description":"The type of the place e.g. \"street_address\"","type":"array","items":{"type":"string"}},"address":{"description":"A string describing the formatted address of the place. Adds additional context to the place's Name.","type":"string"},"id":{"type":"string"},"url":{"type":"string"},"name":{"type":"string"},"lat":{"format":"double","type":"number"},"lon":{"format":"double","type":"number"}}},"Tfl.Api.Presentation.Entities.Mode":{"type":"object","properties":{"isTflService":{"type":"boolean"},"isFarePaying":{"type":"boolean"},"isScheduledService":{"type":"boolean"},"modeName":{"type":"string"},"motType":{"type":"string"},"network":{"type":"string"}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.ItineraryResult":{"description":"A DTO representing a list of possible journeys.","type":"object","properties":{"journeys":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.Journey"}},"lines":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Line"}},"cycleHireDockingStationData":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.JourneyPlannerCycleHireDockingStationData"},"stopMessages":{"type":"array","items":{"type":"string"}},"recommendedMaxAgeMinutes":{"format":"int32","type":"integer"},"searchCriteria":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.SearchCriteria"},"journeyVector":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.JourneyVector"}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.Journey":{"description":"Object that represents an end to end journey (see schematic).","type":"object","properties":{"startDateTime":{"format":"date-time","type":"string"},"duration":{"format":"int32","type":"integer"},"arrivalDateTime":{"format":"date-time","type":"string"},"description":{"type":"string"},"alternativeRoute":{"type":"boolean"},"legs":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.Leg"}},"fare":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.JourneyFare"}}},"Tfl.Api.Presentation.Entities.Line":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"modeName":{"type":"string"},"disruptions":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Disruption"}},"created":{"format":"date-time","type":"string"},"modified":{"format":"date-time","type":"string"},"lineStatuses":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.LineStatus"}},"routeSections":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.MatchedRoute"}},"serviceTypes":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.LineServiceTypeInfo"}},"crowding":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Crowding"}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.JourneyPlannerCycleHireDockingStationData":{"type":"object","properties":{"originNumberOfBikes":{"format":"int32","type":"integer"},"destinationNumberOfBikes":{"format":"int32","type":"integer"},"originNumberOfEmptySlots":{"format":"int32","type":"integer"},"destinationNumberOfEmptySlots":{"format":"int32","type":"integer"},"originId":{"type":"string"},"destinationId":{"type":"string"}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.SearchCriteria":{"type":"object","properties":{"dateTime":{"format":"date-time","type":"string"},"dateTimeType":{"enum":["Arriving","Departing"],"type":"string"},"timeAdjustments":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.TimeAdjustments"}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.JourneyVector":{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"via":{"type":"string"},"uri":{"type":"string"}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.Leg":{"type":"object","properties":{"duration":{"format":"int32","type":"integer"},"speed":{"type":"string"},"instruction":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Instruction","description":"Describes the action the user need to take for this section, E.g. \"walk to the\r\n            district line\""},"obstacles":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.Obstacle"}},"departureTime":{"format":"date-time","type":"string"},"arrivalTime":{"format":"date-time","type":"string"},"departurePoint":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Point"},"arrivalPoint":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Point"},"path":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.Path"},"routeOptions":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.RouteOption"}},"mode":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Identifier"},"disruptions":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Disruption"}},"plannedWorks":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.PlannedWork"}},"distance":{"format":"double","type":"number"},"isDisrupted":{"type":"boolean","readOnly":true},"hasFixedLocations":{"type":"boolean","readOnly":true},"scheduledDepartureTime":{"format":"date-time","type":"string"},"scheduledArrivalTime":{"format":"date-time","type":"string"},"interChangeDuration":{"type":"string"},"interChangePosition":{"type":"string"}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.JourneyFare":{"type":"object","properties":{"totalCost":{"format":"int32","type":"integer"},"fares":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.Fare"}},"caveats":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.FareCaveat"}}}},"Tfl.Api.Presentation.Entities.Disruption":{"description":"Represents a disruption to a route within the transport network.","type":"object","properties":{"category":{"description":"Gets or sets the category of this dispruption.","enum":["Undefined","RealTime","PlannedWork","Information","Event","Crowding","StatusAlert"],"type":"string"},"type":{"description":"Gets or sets the disruption type of this dispruption.","type":"string"},"categoryDescription":{"description":"Gets or sets the description of the category.","type":"string"},"description":{"description":"Gets or sets the description of this disruption.","type":"string"},"summary":{"description":"Gets or sets the summary of this disruption.","type":"string"},"additionalInfo":{"description":"Gets or sets the additionaInfo of this disruption.","type":"string"},"created":{"format":"date-time","description":"Gets or sets the date/time when this disruption was created.","type":"string"},"lastUpdate":{"format":"date-time","description":"Gets or sets the date/time when this disruption was last updated.","type":"string"},"affectedRoutes":{"description":"Gets or sets the routes affected by this disruption","type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.DisruptedRoute"}},"affectedStops":{"description":"Gets or sets the stops affected by this disruption","type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPoint"}},"closureText":{"description":"Text describing the closure type","type":"string"}}},"Tfl.Api.Presentation.Entities.LineStatus":{"type":"object","properties":{"id":{"format":"int32","type":"integer"},"lineId":{"type":"string"},"statusSeverity":{"format":"int32","type":"integer"},"statusSeverityDescription":{"type":"string"},"reason":{"type":"string"},"created":{"format":"date-time","type":"string"},"modified":{"format":"date-time","type":"string"},"validityPeriods":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.ValidityPeriod"}},"disruption":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Disruption"}}},"Tfl.Api.Presentation.Entities.MatchedRoute":{"description":"Description of a Route used in Route search results.","type":"object","properties":{"routeCode":{"description":"The route code","type":"string"},"name":{"description":"Name such as \"72\"","type":"string"},"direction":{"description":"Inbound or Outbound","type":"string"},"originationName":{"description":"The name of the Origin StopPoint","type":"string"},"destinationName":{"description":"The name of the Destination StopPoint","type":"string"},"originator":{"description":"The Id (NaPTAN code) of the Origin StopPoint","type":"string"},"destination":{"description":"The Id (NaPTAN code) or the Destination StopPoint","type":"string"},"serviceType":{"description":"Regular or Night","type":"string"},"validTo":{"format":"date-time","description":"The DateTime that the Service containing this Route is valid until.","type":"string"},"validFrom":{"format":"date-time","description":"The DateTime that the Service containing this Route is valid from.","type":"string"}}},"Tfl.Api.Presentation.Entities.LineServiceTypeInfo":{"type":"object","properties":{"name":{"type":"string"},"uri":{"type":"string"}}},"Tfl.Api.Presentation.Entities.Crowding":{"type":"object","properties":{"passengerFlows":{"description":"Busiest times at a station (static information)","type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.PassengerFlow"}},"trainLoadings":{"description":"Train Loading on a scale 1-6, 1 being \"Very quiet\" and 6 being \"Exceptionally busy\" (static information)","type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.TrainLoading"}}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.TimeAdjustments":{"type":"object","properties":{"earliest":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.TimeAdjustment"},"earlier":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.TimeAdjustment"},"later":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.TimeAdjustment"},"latest":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.TimeAdjustment"}}},"Tfl.Api.Presentation.Entities.Instruction":{"type":"object","properties":{"summary":{"type":"string"},"detailed":{"type":"string"},"steps":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.InstructionStep"}}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.Obstacle":{"type":"object","properties":{"type":{"type":"string"},"incline":{"type":"string"},"stopId":{"format":"int32","type":"integer"},"position":{"type":"string"}}},"Tfl.Api.Presentation.Entities.Point":{"description":"Represents a point located at a latitude and longitude using the WGS84 co-ordinate system.","type":"object","properties":{"lat":{"format":"double","description":"WGS84 latitude of the location.","type":"number"},"lon":{"format":"double","description":"WGS84 longitude of the location.","type":"number"}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.Path":{"type":"object","properties":{"lineString":{"type":"string"},"stopPoints":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Identifier"}},"elevation":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Common.JourneyPlanner.JpElevation"}}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.RouteOption":{"type":"object","properties":{"id":{"description":"The Id of the route","type":"string"},"name":{"description":"Name such as \"72\"","type":"string"},"directions":{"type":"array","items":{"type":"string"}},"lineIdentifier":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Identifier","description":"The line identifier (e.g. District Line), from where you can obtain line status information e.g. the rainbow board status \"good service\"."},"direction":{"description":"The direction of the route, i.e. outbound or inbound.","type":"string"}}},"Tfl.Api.Presentation.Entities.Identifier":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"uri":{"type":"string"},"fullName":{"type":"string"},"type":{"type":"string"},"crowding":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Crowding"},"routeType":{"enum":["Unknown","All","Cycle Superhighways","Quietways","Cycleways","Mini-Hollands","Central London Grid","Streetspace Route"],"type":"string"},"status":{"enum":["Unknown","All","Open","In Progress","Planned","Planned - Subject to feasibility and consultation.","Not Open"],"type":"string"},"motType":{"type":"string"},"network":{"type":"string"}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.PlannedWork":{"type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"createdDateTime":{"format":"date-time","type":"string"},"lastUpdateDateTime":{"format":"date-time","type":"string"}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.Fare":{"type":"object","properties":{"lowZone":{"format":"int32","type":"integer"},"highZone":{"format":"int32","type":"integer"},"cost":{"format":"int32","type":"integer"},"chargeProfileName":{"type":"string"},"isHopperFare":{"type":"boolean"},"chargeLevel":{"type":"string"},"peak":{"format":"int32","type":"integer"},"offPeak":{"format":"int32","type":"integer"},"taps":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.FareTap"}}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.FareCaveat":{"type":"object","properties":{"text":{"type":"string"},"type":{"type":"string"}}},"Tfl.Api.Presentation.Entities.DisruptedRoute":{"description":"keep old RouteSection name so as not to break contract","type":"object","properties":{"id":{"description":"The Id of the route","type":"string"},"lineId":{"description":"The Id of the Line","type":"string"},"routeCode":{"description":"The route code","type":"string"},"name":{"description":"Name such as \"72\"","type":"string"},"lineString":{"description":"The co-ordinates of the route's path as a geoJSON lineString","type":"string"},"direction":{"description":"Inbound or Outbound","type":"string"},"originationName":{"description":"The name of the Origin StopPoint","type":"string"},"destinationName":{"description":"The name of the Destination StopPoint","type":"string"},"via":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RouteSectionNaptanEntrySequence","description":"(where applicable) via Charing Cross / Bank / King's Cross / Embankment / Newbury Park / Woodford"},"isEntireRouteSection":{"description":"Whether this represents the entire route section","type":"boolean"},"validTo":{"format":"date-time","description":"The DateTime that the Service containing this Route is valid until.","type":"string"},"validFrom":{"format":"date-time","description":"The DateTime that the Service containing this Route is valid from.","type":"string"},"routeSectionNaptanEntrySequence":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RouteSectionNaptanEntrySequence"}}}},"Tfl.Api.Presentation.Entities.StopPoint":{"type":"object","properties":{"naptanId":{"type":"string"},"platformName":{"type":"string"},"indicator":{"description":"The indicator of the stop point e.g. \"Stop K\"","type":"string"},"stopLetter":{"description":"The stop letter, if it could be cleansed from the Indicator e.g. \"K\"","type":"string"},"modes":{"type":"array","items":{"type":"string"}},"icsCode":{"type":"string"},"smsCode":{"type":"string"},"stopType":{"type":"string"},"stationNaptan":{"type":"string"},"accessibilitySummary":{"type":"string"},"hubNaptanCode":{"type":"string"},"lines":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Identifier"}},"lineGroup":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.LineGroup"}},"lineModeGroups":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.LineModeGroup"}},"fullName":{"type":"string"},"naptanMode":{"type":"string"},"status":{"type":"boolean"},"individualStopId":{"type":"string"},"id":{"description":"A unique identifier.","type":"string"},"url":{"description":"The unique location of this resource.","type":"string"},"commonName":{"description":"A human readable name.","type":"string"},"distance":{"format":"double","description":"The distance of the place from its search point, if this is the result\r\n            of a geographical search, otherwise zero.","type":"number"},"placeType":{"description":"The type of Place. See /Place/Meta/placeTypes for possible values.","type":"string"},"additionalProperties":{"description":"A bag of additional key/value pairs with extra information about this place.","type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.AdditionalProperties"}},"children":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Place"}},"childrenUrls":{"type":"array","items":{"type":"string"}},"lat":{"format":"double","description":"WGS84 latitude of the location.","type":"number"},"lon":{"format":"double","description":"WGS84 longitude of the location.","type":"number"}}},"Tfl.Api.Presentation.Entities.ValidityPeriod":{"description":"Represents a period for which a planned works is valid.","type":"object","properties":{"fromDate":{"format":"date-time","description":"Gets or sets the start date.","type":"string"},"toDate":{"format":"date-time","description":"Gets or sets the end date.","type":"string"},"isNow":{"description":"If true is a realtime status rather than planned or info","type":"boolean"}}},"Tfl.Api.Presentation.Entities.PassengerFlow":{"type":"object","properties":{"timeSlice":{"description":"Time in 24hr format with 15 minute intervals e.g. 0500-0515, 0515-0530 etc.","type":"string"},"value":{"format":"int32","description":"Count of passenger flow towards a platform","type":"integer"}}},"Tfl.Api.Presentation.Entities.TrainLoading":{"type":"object","properties":{"line":{"description":"The Line Name e.g. \"Victoria\"","type":"string"},"lineDirection":{"description":"Direction of the Line e.g. NB, SB, WB etc.","type":"string"},"platformDirection":{"description":"Direction displayed on the platform e.g. NB, SB, WB etc.","type":"string"},"direction":{"description":"Direction in regards to Journey Planner i.e. inbound or outbound","type":"string"},"naptanTo":{"description":"Naptan of the adjacent station","type":"string"},"timeSlice":{"description":"Time in 24hr format with 15 minute intervals e.g. 0500-0515, 0515-0530 etc.","type":"string"},"value":{"format":"int32","description":"Scale between 1-6, \r\n             1 = Very quiet, 2 = Quiet, 3 = Fairly busy, 4 = Busy, 5 = Very busy, 6 = Exceptionally busy","type":"integer"}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.TimeAdjustment":{"type":"object","properties":{"date":{"type":"string"},"time":{"type":"string"},"timeIs":{"type":"string"},"uri":{"type":"string"}}},"Tfl.Api.Presentation.Entities.InstructionStep":{"type":"object","properties":{"description":{"type":"string"},"turnDirection":{"type":"string"},"streetName":{"type":"string"},"distance":{"format":"int32","type":"integer"},"cumulativeDistance":{"format":"int32","type":"integer"},"skyDirection":{"format":"int32","type":"integer"},"skyDirectionDescription":{"enum":["North","NorthEast","East","SouthEast","South","SouthWest","West","NorthWest"],"type":"string"},"cumulativeTravelTime":{"format":"int32","type":"integer"},"latitude":{"format":"double","type":"number"},"longitude":{"format":"double","type":"number"},"pathAttribute":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.PathAttribute"},"descriptionHeading":{"type":"string"},"trackType":{"enum":["Cycleways","CycleSuperHighway","CanalTowpath","QuietRoad","ProvisionForCyclists","BusyRoads","None","PushBike","Quietway","ShuttleBus","Ferry","CableCar"],"type":"string"},"travelTime":{"format":"int32","type":"integer"},"atcoCode":{"type":"string"}}},"Tfl.Api.Common.JourneyPlanner.JpElevation":{"type":"object","properties":{"distance":{"format":"int32","type":"integer"},"startLat":{"format":"double","type":"number"},"startLon":{"format":"double","type":"number"},"endLat":{"format":"double","type":"number"},"endLon":{"format":"double","type":"number"},"startElevation":{"format":"int32","type":"integer"},"heightFromPreviousPoint":{"format":"int32","type":"integer"},"gradient":{"format":"double","type":"number"}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.FareTap":{"type":"object","properties":{"atcoCode":{"type":"string"},"tapDetails":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.JourneyPlanner.FareTapDetails"}}},"Tfl.Api.Presentation.Entities.RouteSectionNaptanEntrySequence":{"type":"object","properties":{"ordinal":{"format":"int32","type":"integer"},"stopPoint":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPoint"}}},"Tfl.Api.Presentation.Entities.LineGroup":{"type":"object","properties":{"naptanIdReference":{"type":"string"},"stationAtcoCode":{"type":"string"},"lineIdentifier":{"type":"array","items":{"type":"string"}}}},"Tfl.Api.Presentation.Entities.LineModeGroup":{"type":"object","properties":{"modeName":{"type":"string"},"lineIdentifier":{"type":"array","items":{"type":"string"}}}},"Tfl.Api.Presentation.Entities.PathAttribute":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}}},"Tfl.Api.Presentation.Entities.JourneyPlanner.FareTapDetails":{"type":"object","properties":{"modeType":{"type":"string"},"validationType":{"type":"string"},"hostDeviceType":{"type":"string"},"busRouteId":{"type":"string"},"nationalLocationCode":{"format":"int32","type":"integer"},"tapTimestamp":{"format":"date-time","type":"string"}}},"Tfl.Api.Presentation.Entities.StatusSeverity":{"type":"object","properties":{"modeName":{"type":"string"},"severityLevel":{"format":"int32","type":"integer"},"description":{"type":"string"}}},"Tfl.Api.Presentation.Entities.RouteSequence":{"type":"object","properties":{"lineId":{"type":"string"},"lineName":{"type":"string"},"direction":{"type":"string"},"isOutboundOnly":{"type":"boolean"},"mode":{"type":"string"},"lineStrings":{"type":"array","items":{"type":"string"}},"stations":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.MatchedStop"}},"stopPointSequences":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPointSequence"}},"orderedLineRoutes":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.OrderedRoute"}}}},"Tfl.Api.Presentation.Entities.MatchedStop":{"type":"object","properties":{"routeId":{"format":"int32","type":"integer"},"parentId":{"type":"string"},"stationId":{"type":"string"},"icsId":{"type":"string"},"topMostParentId":{"type":"string"},"direction":{"type":"string"},"towards":{"type":"string"},"modes":{"type":"array","items":{"type":"string"}},"stopType":{"type":"string"},"stopLetter":{"type":"string"},"zone":{"type":"string"},"accessibilitySummary":{"type":"string"},"hasDisruption":{"type":"boolean"},"lines":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Identifier"}},"status":{"type":"boolean"},"id":{"type":"string"},"url":{"type":"string"},"name":{"type":"string"},"lat":{"format":"double","type":"number"},"lon":{"format":"double","type":"number"}}},"Tfl.Api.Presentation.Entities.StopPointSequence":{"type":"object","properties":{"lineId":{"type":"string"},"lineName":{"type":"string"},"direction":{"type":"string"},"branchId":{"format":"int32","description":"The id of this branch.","type":"integer"},"nextBranchIds":{"description":"The ids of the next branch(es) in the sequence. Note that the next and previous branch id can be\r\n            identical in the case of a looped route e.g. the Circle line.","type":"array","items":{"format":"int32","type":"integer"}},"prevBranchIds":{"description":"The ids of the previous branch(es) in the sequence. Note that the next and previous branch id can be\r\n            identical in the case of a looped route e.g. the Circle line.","type":"array","items":{"format":"int32","type":"integer"}},"stopPoint":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.MatchedStop"}},"serviceType":{"enum":["Regular","Night"],"type":"string"}}},"Tfl.Api.Presentation.Entities.OrderedRoute":{"type":"object","properties":{"name":{"type":"string"},"naptanIds":{"type":"array","items":{"type":"string"}},"serviceType":{"type":"string"}}},"Tfl.Api.Common.DateRange":{"type":"object","properties":{"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"}}},"Tfl.Api.Presentation.Entities.RouteSearchResponse":{"type":"object","properties":{"input":{"type":"string"},"searchMatches":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RouteSearchMatch"}}}},"Tfl.Api.Presentation.Entities.RouteSearchMatch":{"type":"object","properties":{"lineId":{"type":"string"},"mode":{"type":"string"},"lineName":{"type":"string"},"lineRouteSection":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.LineRouteSection"}},"matchedRouteSections":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.MatchedRouteSections"}},"matchedStops":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.MatchedStop"}},"id":{"type":"string"},"url":{"type":"string"},"name":{"type":"string"},"lat":{"format":"double","type":"number"},"lon":{"format":"double","type":"number"}}},"Tfl.Api.Presentation.Entities.LineRouteSection":{"type":"object","properties":{"routeId":{"format":"int32","type":"integer"},"direction":{"type":"string"},"destination":{"type":"string"},"fromStation":{"type":"string"},"toStation":{"type":"string"},"serviceType":{"type":"string"},"vehicleDestinationText":{"type":"string"}}},"Tfl.Api.Presentation.Entities.MatchedRouteSections":{"type":"object","properties":{"id":{"format":"int32","type":"integer"}}},"Tfl.Api.Presentation.Entities.TimetableResponse":{"type":"object","properties":{"lineId":{"type":"string"},"lineName":{"type":"string"},"direction":{"type":"string"},"pdfUrl":{"type":"string"},"stations":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.MatchedStop"}},"stops":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.MatchedStop"}},"timetable":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Timetable"},"disambiguation":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Timetables.Disambiguation"},"statusErrorMessage":{"type":"string"}}},"Tfl.Api.Presentation.Entities.Timetable":{"type":"object","properties":{"departureStopId":{"type":"string"},"routes":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.TimetableRoute"}}}},"Tfl.Api.Presentation.Entities.Timetables.Disambiguation":{"type":"object","properties":{"disambiguationOptions":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Timetables.DisambiguationOption"}}}},"Tfl.Api.Presentation.Entities.TimetableRoute":{"type":"object","properties":{"stationIntervals":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StationInterval"}},"schedules":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Schedule"}}}},"Tfl.Api.Presentation.Entities.Timetables.DisambiguationOption":{"type":"object","properties":{"description":{"type":"string"},"uri":{"type":"string"}}},"Tfl.Api.Presentation.Entities.StationInterval":{"type":"object","properties":{"id":{"type":"string"},"intervals":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Interval"}}}},"Tfl.Api.Presentation.Entities.Schedule":{"type":"object","properties":{"name":{"type":"string"},"knownJourneys":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.KnownJourney"}},"firstJourney":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.KnownJourney"},"lastJourney":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.KnownJourney"},"periods":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Period"}}}},"Tfl.Api.Presentation.Entities.Interval":{"type":"object","properties":{"stopId":{"type":"string"},"timeToArrival":{"format":"double","type":"number"}}},"Tfl.Api.Presentation.Entities.KnownJourney":{"type":"object","properties":{"hour":{"type":"string"},"minute":{"type":"string"},"intervalId":{"format":"int32","type":"integer"}}},"Tfl.Api.Presentation.Entities.Period":{"type":"object","properties":{"type":{"enum":["Normal","FrequencyHours","FrequencyMinutes","Unknown"],"type":"string"},"fromTime":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.TwentyFourHourClockTime"},"toTime":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.TwentyFourHourClockTime"},"frequency":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.ServiceFrequency"}}},"Tfl.Api.Presentation.Entities.TwentyFourHourClockTime":{"type":"object","properties":{"hour":{"type":"string"},"minute":{"type":"string"}}},"Tfl.Api.Presentation.Entities.ServiceFrequency":{"type":"object","properties":{"lowestFrequency":{"format":"double","type":"number"},"highestFrequency":{"format":"double","type":"number"}}},"Tfl.Api.Presentation.Entities.Prediction":{"description":"DTO to capture the prediction details","type":"object","properties":{"id":{"description":"The identitier for the prediction","type":"string"},"operationType":{"format":"int32","description":"The type of the operation (1: is new or has been updated, 2: should be deleted from any client cache)","type":"integer"},"vehicleId":{"description":"The actual vehicle in transit (for train modes, the leading car of the rolling set)","type":"string"},"naptanId":{"description":"Identifier for the prediction","type":"string"},"stationName":{"description":"Station name","type":"string"},"lineId":{"description":"Unique identifier for the Line","type":"string"},"lineName":{"description":"Line Name","type":"string"},"platformName":{"description":"Platform name (for bus, this is the stop letter)","type":"string"},"direction":{"description":"Direction (unified to inbound/outbound)","type":"string"},"bearing":{"description":"Bearing (between 0 to 359)","type":"string"},"tripId":{"description":"TripId is used to assemble the primary key","type":"string"},"baseVersion":{"description":"Data base version","type":"string"},"destinationNaptanId":{"description":"Naptan Identifier for the prediction's destination","type":"string"},"destinationName":{"description":"Name of the destination","type":"string"},"timestamp":{"format":"date-time","description":"Timestamp for when the prediction was inserted/modified (source column drives what objects are broadcast on each iteration)","type":"string"},"timeToStation":{"format":"int32","description":"Prediction of the Time to station in seconds","type":"integer"},"currentLocation":{"description":"The current location of the vehicle.","type":"string"},"towards":{"description":"Routing information or other descriptive text about the path of the vehicle towards the destination","type":"string"},"expectedArrival":{"format":"date-time","description":"The expected arrival time of the vehicle at the stop/station","type":"string"},"timeToLive":{"format":"date-time","description":"The expiry time for the prediction","type":"string"},"modeName":{"description":"The mode name of the station/line the prediction relates to","type":"string"},"timing":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.PredictionTiming","description":"Keep the original timestamp from MongoDb fo debugging purposes"}}},"Tfl.Api.Presentation.Entities.PredictionTiming":{"type":"object","properties":{"countdownServerAdjustment":{"type":"string"},"source":{"format":"date-time","type":"string"},"insert":{"format":"date-time","type":"string"},"read":{"format":"date-time","type":"string"},"sent":{"format":"date-time","type":"string"},"received":{"format":"date-time","type":"string"}}},"Tfl.Api.Presentation.Entities.ActiveServiceType":{"type":"object","properties":{"mode":{"type":"string"},"serviceType":{"type":"string"}}},"Tfl.Api.Presentation.Entities.NetworkStatus":{"description":"Represent travel network status","type":"object","properties":{"operator":{"type":"string"},"status":{"type":"string"},"message":{"type":"string"},"statusLevel":{"format":"int32","type":"integer"}}},"Tfl.Api.Presentation.Entities.CarParkOccupancy":{"type":"object","properties":{"id":{"type":"string"},"bays":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Bay"}},"name":{"type":"string"},"carParkDetailsUrl":{"type":"string"}}},"Tfl.Api.Presentation.Entities.Bay":{"type":"object","properties":{"bayType":{"type":"string"},"bayCount":{"format":"int32","type":"integer"},"free":{"format":"int32","type":"integer"},"occupied":{"format":"int32","type":"integer"}}},"Tfl.Api.Presentation.Entities.ChargeConnectorOccupancy":{"description":"","type":"object","properties":{"id":{"format":"int32","description":"","type":"integer"},"sourceSystemPlaceId":{"description":"","type":"string"},"status":{"description":"","type":"string"}}},"Tfl.Api.Presentation.Entities.BikePointOccupancy":{"description":"Bike point occupancy","type":"object","properties":{"id":{"description":"Id of the bike point such as BikePoints_1","type":"string"},"name":{"description":"Name / Common name of the bike point","type":"string"},"bikesCount":{"format":"int32","description":"Total bike counts","type":"integer"},"emptyDocks":{"format":"int32","description":"Empty docks","type":"integer"},"totalDocks":{"format":"int32","description":"Total docks available","type":"integer"},"standardBikesCount":{"format":"int32","description":"Total standard bikes count","type":"integer"},"eBikesCount":{"format":"int32","description":"Total ebikes count","type":"integer"}}},"Tfl.Api.Presentation.Entities.PlaceCategory":{"type":"object","properties":{"category":{"type":"string"},"availableKeys":{"type":"array","items":{"type":"string"}}}},"Tfl.Api.Presentation.Entities.SearchResponse":{"type":"object","properties":{"query":{"type":"string"},"from":{"format":"int32","type":"integer"},"page":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"},"provider":{"type":"string"},"total":{"format":"int32","type":"integer"},"matches":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.SearchMatch"}},"maxScore":{"format":"double","type":"number"}}},"Tfl.Api.Presentation.Entities.SearchMatch":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"name":{"type":"string"},"lat":{"format":"double","type":"number"},"lon":{"format":"double","type":"number"}}},"Tfl.Api.Common.PostcodeInput":{"type":"object","properties":{"postcode":{"pattern":"^(([gG][iI][rR] {0,}0[aA]{2})|((([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y]?[0-9][0-9]?)|(([a-pr-uwyzA-PR-UWYZ][0-9][a-hjkstuwA-HJKSTUW])|([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y][0-9][abehmnprv-yABEHMNPRV-Y]))) {0,}[0-9][abd-hjlnp-uw-zABD-HJLNP-UW-Z]{2}))$","type":"string"}}},"Tfl.Api.Presentation.Entities.PlacePolygon":{"type":"object","properties":{"geoPoints":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Common.GeoPoint"}},"commonName":{"type":"string"}}},"Tfl.Api.Common.GeoPoint":{"required":["lat","lon"],"type":"object","properties":{"lat":{"format":"double","type":"number"},"lon":{"format":"double","type":"number"}}},"Tfl.Api.Common.PlaceGeo":{"type":"object","properties":{"swLat":{"format":"double","type":"number"},"swLon":{"format":"double","type":"number"},"neLat":{"format":"double","type":"number"},"neLon":{"format":"double","type":"number"},"lat":{"format":"double","type":"number"},"lon":{"format":"double","type":"number"}}},"Tfl.Api.Presentation.Entities.RoadCorridor":{"type":"object","properties":{"id":{"description":"The Id of the Corridor e.g. \"A406\"","type":"string"},"displayName":{"description":"The display name of the Corridor e.g. \"North Circular (A406)\". This\r\n            may be identical to the Id.","type":"string"},"group":{"description":"The group name of the Corridor e.g. \"Central London\". Most corridors are not grouped, in which case this field can be null.","type":"string"},"statusSeverity":{"description":"Standard multi-mode status severity code","type":"string"},"statusSeverityDescription":{"description":"Description of the status severity as applied to RoadCorridors","type":"string"},"bounds":{"description":"The Bounds of the Corridor, given by the south-east followed by the north-west co-ordinate\r\n            pair in geoJSON format e.g. \"[[-1.241531,51.242151],[1.641223,53.765721]]\"","type":"string"},"envelope":{"description":"The Envelope of the Corridor, given by the corner co-ordinates of a rectangular (four-point) polygon\r\n            in geoJSON format e.g. \"[[-1.241531,51.242151],[-1.241531,53.765721],[1.641223,53.765721],[1.641223,51.242151]]\"","type":"string"},"statusAggregationStartDate":{"format":"date-time","description":"The start of the period over which status has been aggregated, or null if this is the current corridor status.","type":"string"},"statusAggregationEndDate":{"format":"date-time","description":"The end of the period over which status has been aggregated, or null if this is the current corridor status.","type":"string"},"url":{"description":"URL to retrieve this Corridor.","type":"string"}}},"Tfl.Api.Common.DateRangeNullable":{"type":"object","properties":{"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"}}},"Tfl.Api.Presentation.Entities.RoadDisruption":{"type":"object","properties":{"id":{"description":"Unique identifier for the road disruption","type":"string"},"url":{"description":"URL to retrieve this road disruption","type":"string"},"point":{"description":"Latitude and longitude (WGS84) of the centroid of the disruption, stored in a geoJSON-formatted string.","type":"string"},"severity":{"description":"A description of the severity of the disruption.","type":"string"},"ordinal":{"format":"int32","description":"An ordinal of the disruption based on severity, level of interest and corridor.","type":"integer"},"category":{"description":"Describes the nature of disruption e.g. Traffic Incidents, Works","type":"string"},"subCategory":{"description":"Describes the sub-category of disruption e.g. Collapsed Manhole, Abnormal Load","type":"string"},"comments":{"description":"Full text of comments describing the disruption, including details of any road closures and diversions, where appropriate.","type":"string"},"currentUpdate":{"description":"Text of the most recent update from the LSTCC on the state of the\r\n             disruption, including the current traffic impact and any advice to\r\n             road users.","type":"string"},"currentUpdateDateTime":{"format":"date-time","description":"The time when the last CurrentUpdate description was recorded, \r\n            or null if no CurrentUpdate has been applied.","type":"string"},"corridorIds":{"description":"The Ids of affected corridors, if any.","type":"array","items":{"type":"string"}},"startDateTime":{"format":"date-time","description":"The date and time which the disruption started. For a planned disruption (i.e. planned road works) this date will be in the future.\r\n            For unplanned disruptions, this will default to the date on which the disruption was first recorded, but may be adjusted by the operator.","type":"string"},"endDateTime":{"format":"date-time","description":"The date and time on which the disruption ended. For planned disruptions, this date will have a valid value. For unplanned \r\n            disruptions in progress, this field will be omitted.","type":"string"},"lastModifiedTime":{"format":"date-time","description":"The date and time on which the disruption was last modified in the system. This information can reliably be used by a developer to quickly\r\n            compare two instances of the same disruption to determine if it has been changed.","type":"string"},"levelOfInterest":{"description":"This describes the level of potential impact on traffic operations of the disruption. \r\n            High = e.g. a one-off disruption on a major or high profile route which will require a high level of operational attention \r\n            Medium = This is the default value \r\n            Low = e.g. a frequently occurring disruption which is well known","type":"string"},"location":{"description":"Main road name / number (borough) or preset area name where the disruption is located. This might be useful for a map popup where space is limited.","type":"string"},"status":{"description":"This describes the status of the disruption.  \r\n            Active = currently in progress \r\n            Active Long Term = currently in progress and long term\r\n            Scheduled = scheduled to start within the next 180 days\r\n            Recurring Works = planned maintenance works that follow a regular routine or pattern and whose next occurrence is to start within the next 180 days.\r\n            Recently Cleared = recently cleared in the last 24 hours\r\n            Note that the status of Scheduled or Recurring Works disruptions will change to Active when they start, and will change status again when they end.","type":"string"},"geography":{"$ref":"#/definitions/System.Data.Spatial.DbGeography","description":"Geography version of Point for output as GeoJSON.\r\n            Can not use Geometry in a consistent way as non-TIMS disruptions do not have a polygon"},"geometry":{"$ref":"#/definitions/System.Data.Spatial.DbGeography","description":"GeoJSON formatted latitude/longitude (WGS84) pairs forming an enclosed polyline or polygon. The polygon will only be included where affected streets information\r\n            is not available for the disruption, would be inappropriate (e.g. a very large number of streets), or is centred on an area without streets (e.g. a football stadium)."},"streets":{"description":"A collection of zero or more streets affected by the disruption.","type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Street"}},"isProvisional":{"description":"True if the disruption is planned on a future date that is open to change","type":"boolean"},"hasClosures":{"description":"True if any of the affected Streets have a \"Full Closure\" status, false otherwise. A RoadDisruption that has HasClosures is considered a \r\n            Severe or Serious disruption for severity filtering purposes.","type":"boolean"},"linkText":{"description":"The text of any associated link","type":"string"},"linkUrl":{"description":"The url of any associated link","type":"string"},"roadProject":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RoadProject","description":"Any associated road project"},"publishStartDate":{"format":"date-time","description":"TDM Additional properties","type":"string"},"publishEndDate":{"format":"date-time","type":"string"},"timeFrame":{"type":"string"},"roadDisruptionLines":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RoadDisruptionLine"}},"roadDisruptionImpactAreas":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RoadDisruptionImpactArea"}},"recurringSchedules":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.RoadDisruptionSchedule"}}}},"Tfl.Api.Presentation.Entities.Street":{"type":"object","properties":{"name":{"description":"Street name","type":"string"},"closure":{"description":"Type of road closure. Some example values:\r\n            Open = road is open, not blocked, not closed, not restricted. It maybe that the disruption has been moved out of the carriageway.\r\n            Partial Closure = road is partially blocked, closed or restricted. \r\n            Full Closure = road is fully blocked or closed.","type":"string"},"directions":{"description":"The direction of the disruption on the street. Some example values:\r\n            All Directions\r\n            All Approaches\r\n            Clockwise\r\n            Anti-Clockwise\r\n            Northbound\r\n            Eastbound\r\n            Southbound\r\n            Westbound\r\n            Both Directions","type":"string"},"segments":{"description":"Geographic description of the sections of this street that are affected.","type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StreetSegment"}},"sourceSystemId":{"format":"int64","description":"The ID from the source system of the disruption that this street belongs to.","type":"integer"},"sourceSystemKey":{"description":"The key of the source system of the disruption that this street belongs to.","type":"string"}}},"Tfl.Api.Presentation.Entities.RoadProject":{"type":"object","properties":{"projectId":{"type":"string"},"schemeName":{"type":"string"},"projectName":{"type":"string"},"projectDescription":{"type":"string"},"projectPageUrl":{"type":"string"},"consultationPageUrl":{"type":"string"},"consultationStartDate":{"format":"date-time","type":"string"},"consultationEndDate":{"format":"date-time","type":"string"},"constructionStartDate":{"format":"date-time","type":"string"},"constructionEndDate":{"format":"date-time","type":"string"},"boroughsBenefited":{"type":"array","items":{"type":"string"}},"cycleSuperhighwayId":{"type":"string"},"phase":{"enum":["Unscoped","Concept","ConsultationEnded","Consultation","Construction","Complete"],"type":"string"},"contactName":{"type":"string"},"contactEmail":{"type":"string"},"externalPageUrl":{"type":"string"},"projectSummaryPageUrl":{"type":"string"}}},"Tfl.Api.Presentation.Entities.RoadDisruptionLine":{"type":"object","properties":{"id":{"format":"int32","type":"integer"},"roadDisruptionId":{"type":"string"},"isDiversion":{"type":"boolean"},"multiLineString":{"$ref":"#/definitions/System.Data.Spatial.DbGeography"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"startTime":{"type":"string"},"endTime":{"type":"string"}}},"Tfl.Api.Presentation.Entities.RoadDisruptionImpactArea":{"type":"object","properties":{"id":{"format":"int32","type":"integer"},"roadDisruptionId":{"type":"string"},"polygon":{"$ref":"#/definitions/System.Data.Spatial.DbGeography"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"startTime":{"type":"string"},"endTime":{"type":"string"}}},"Tfl.Api.Presentation.Entities.RoadDisruptionSchedule":{"type":"object","properties":{"startTime":{"format":"date-time","type":"string"},"endTime":{"format":"date-time","type":"string"}}},"Tfl.Api.Presentation.Entities.StreetSegment":{"type":"object","properties":{"toid":{"description":"A 16 digit unique integer identifying a OS ITN (Ordnance Survey Integrated Transport Network) road link.","type":"string"},"lineString":{"description":"geoJSON formatted LineString containing two latitude/longitude (WGS84) pairs that identify the start and end points of the street segment.","type":"string"},"sourceSystemId":{"format":"int64","description":"The ID from the source system of the disruption that this street belongs to.","type":"integer"},"sourceSystemKey":{"description":"The key of the source system of the disruption that this street belongs to.","type":"string"}}},"Tfl.Api.Presentation.Entities.Redirect":{"type":"object","properties":{"shortUrl":{"type":"string"},"longUrl":{"type":"string"},"active":{"type":"boolean"}}},"Tfl.Api.Presentation.Entities.StopPointCategory":{"type":"object","properties":{"category":{"type":"string"},"availableKeys":{"type":"array","items":{"type":"string"}}}},"Tfl.Api.Presentation.Entities.LineServiceType":{"type":"object","properties":{"lineName":{"type":"string"},"lineSpecificServiceTypes":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.LineSpecificServiceType"}}}},"Tfl.Api.Presentation.Entities.LineSpecificServiceType":{"type":"object","properties":{"serviceType":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.LineServiceTypeInfo"},"stopServesServiceType":{"type":"boolean"}}},"Tfl.Api.Presentation.Entities.ArrivalDeparture":{"description":"DTO to capture the prediction details","type":"object","properties":{"platformName":{"description":"Platform name (for bus, this is the stop letter)","type":"string"},"destinationNaptanId":{"description":"Naptan Identifier for the prediction's destination","type":"string"},"destinationName":{"description":"Name of the destination","type":"string"},"naptanId":{"description":"Identifier for the prediction","type":"string"},"stationName":{"description":"Station name","type":"string"},"estimatedTimeOfArrival":{"format":"date-time","description":"Estimated time of arrival","type":"string"},"scheduledTimeOfArrival":{"format":"date-time","description":"Estimated time of arrival","type":"string"},"estimatedTimeOfDeparture":{"format":"date-time","description":"Estimated time of arrival","type":"string"},"scheduledTimeOfDeparture":{"format":"date-time","description":"Estimated time of arrival","type":"string"},"minutesAndSecondsToArrival":{"description":"Estimated time of arrival","type":"string"},"minutesAndSecondsToDeparture":{"description":"Estimated time of arrival","type":"string"},"cause":{"description":"Reason for cancellation or delay","type":"string"},"departureStatus":{"description":"Status of departure","enum":["OnTime","Delayed","Cancelled","NotStoppingAtStation"],"type":"string"},"timing":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.PredictionTiming","description":"Keep the original timestamp from MongoDb fo debugging purposes"}}},"Tfl.Api.Presentation.Entities.ArrivalDepartureWithLine":{"description":"DTO to capture the prediction details","type":"object","properties":{"lineId":{"description":"Train operating company LineId","type":"string"},"lineName":{"description":"Train operating company LineName","type":"string"},"vehicleId":{"description":"Train operating company VehicleId","type":"string"},"platformName":{"description":"Platform name (for bus, this is the stop letter)","type":"string"},"destinationNaptanId":{"description":"Naptan Identifier for the prediction's destination","type":"string"},"destinationName":{"description":"Name of the destination","type":"string"},"naptanId":{"description":"Identifier for the prediction","type":"string"},"stationName":{"description":"Station name","type":"string"},"estimatedTimeOfArrival":{"format":"date-time","description":"Estimated time of arrival","type":"string"},"scheduledTimeOfArrival":{"format":"date-time","description":"Estimated time of arrival","type":"string"},"estimatedTimeOfDeparture":{"format":"date-time","description":"Estimated time of arrival","type":"string"},"scheduledTimeOfDeparture":{"format":"date-time","description":"Estimated time of arrival","type":"string"},"minutesAndSecondsToArrival":{"description":"Estimated time of arrival","type":"string"},"minutesAndSecondsToDeparture":{"description":"Estimated time of arrival","type":"string"},"cause":{"description":"Reason for cancellation or delay","type":"string"},"departureStatus":{"description":"Status of departure","enum":["OnTime","Delayed","Cancelled","NotStoppingAtStation"],"type":"string"},"timing":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.PredictionTiming","description":"Keep the original timestamp from MongoDb fo debugging purposes"}}},"Tfl.Api.Presentation.Entities.StopPointRouteSection":{"type":"object","properties":{"naptanId":{"type":"string"},"lineId":{"type":"string"},"mode":{"type":"string"},"validFrom":{"format":"date-time","type":"string"},"validTo":{"format":"date-time","type":"string"},"direction":{"type":"string"},"routeSectionName":{"type":"string"},"lineString":{"type":"string"},"isActive":{"type":"boolean"},"serviceType":{"type":"string"},"vehicleDestinationText":{"type":"string"},"destinationName":{"type":"string"}}},"Tfl.Api.Presentation.Entities.DisruptedPoint":{"type":"object","properties":{"atcoCode":{"type":"string"},"fromDate":{"format":"date-time","type":"string"},"toDate":{"format":"date-time","type":"string"},"description":{"type":"string"},"commonName":{"type":"string"},"type":{"type":"string"},"mode":{"type":"string"},"stationAtcoCode":{"type":"string"},"appearance":{"type":"string"},"additionalInformation":{"type":"string"},"closureText":{"type":"string"},"concernedLines":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.ConcernedLine"}}}},"Tfl.Api.Presentation.Entities.ConcernedLine":{"description":"Represents a line concerned by a disruption with its direction","type":"object","properties":{"id":{"description":"The ID of the concerned line (e.g., \"piccadilly\", \"district\")","type":"string"},"direction":{"description":"The direction of travel affected (e.g., \"Inbound\", \"Outbound\")","type":"string"}}},"Tfl.Api.Presentation.Entities.StopPointsResponse":{"description":"A paged response containing StopPoints","type":"object","properties":{"centrePoint":{"description":"The centre latitude/longitude of this list of StopPoints","type":"array","items":{"format":"double","type":"number"}},"stopPoints":{"description":"Collection of stop points","type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.StopPoint"}},"pageSize":{"format":"int32","description":"The maximum size of the page in this response i.e. the maximum number of StopPoints","type":"integer"},"total":{"format":"int32","description":"The total number of StopPoints available across all pages","type":"integer"},"page":{"format":"int32","description":"The index of this page","type":"integer"}}},"Tfl.Api.Presentation.Entities.Fares.RecommendationResponse":{"type":"object","properties":{"recommendations":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Fares.Recommendation"}}}},"Tfl.Api.Presentation.Entities.Fares.Recommendation":{"type":"object","properties":{"id":{"format":"int32","type":"integer"},"rule":{"format":"int32","type":"integer"},"rank":{"format":"int32","type":"integer"},"fareType":{"type":"string"},"product":{"type":"string"},"ticketType":{"type":"string"},"ticketTime":{"type":"string"},"productType":{"type":"string"},"discountCard":{"type":"string"},"zones":{"type":"string"},"cost":{"type":"string"},"priceDescription":{"type":"string"},"priceComparison":{"type":"string"},"recommendedTopUp":{"type":"string"},"notes":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Message"}},"keyFeatures":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Message"}},"gettingYourTicket":{"type":"array","items":{"$ref":"#/definitions/Tfl.Api.Presentation.Entities.Message"}},"singleFare":{"format":"double","type":"number"}}},"Tfl.Api.Common.ApiVersionInfo":{"type":"object","properties":{"label":{"type":"string"},"timestamp":{"format":"date-time","type":"string"},"version":{"type":"string"},"assemblies":{"type":"array","items":{"type":"string"}}}}},"securityDefinitions":{"apiKey":{"type":"apiKey","description":"API Key Authentication","name":"app_key","in":"query"},"appId":{"type":"apiKey","description":"Application ID","name":"app_id","in":"query"}}}