{ "components": { "parameters": { "adm0IsoParam": { "description": "Search by country 2 letter ISO 3166 code", "in": "query", "name": "adm0_iso", "schema": { "type": "string" } }, "adm0NameParam": { "description": "Search by country name", "in": "query", "name": "adm0_name", "schema": { "type": "string" } }, "adm1IsoParam": { "description": "Search by state/province/division ISO 3166-2 code", "in": "query", "name": "adm1_iso", "schema": { "type": "string" } }, "adm1NameParam": { "description": "Search by state/province/division name", "in": "query", "name": "adm1_name", "schema": { "type": "string" } }, "afterParam": { "description": "Pagination cursor value. This should be treated as an opaque value created by the server and returned as the link to the next result page, which may be empty. For historical reasons, this is based on the integer record ID values, but that should not be assumed to be the case in the future.", "in": "query", "name": "after", "schema": { "format": "int32", "type": "integer" } }, "bboxParam": { "description": "Geographic search using a bounding box, with coordinates in (min_lon, min_lat, max_lon, max_lat) order as a comma separated string", "in": "query", "name": "bbox", "schema": { "type": "string" } }, "cityNameParam": { "description": "Search by city name", "in": "query", "name": "city_name", "schema": { "type": "string" } }, "feedParam": { "description": "Search for records in this feed", "in": "query", "name": "feed_onestop_id", "schema": { "type": "string" } }, "formatParam": { "description": "Response format", "in": "query", "name": "format", "schema": { "enum": [ "json", "geojson", "geojsonl", "png" ], "type": "string" } }, "idParam": { "description": "Search for a specific internal ID", "in": "query", "name": "id", "schema": { "format": "int32", "type": "integer" } }, "includeAlertsParam": { "description": "Include alerts from GTFS Realtime feeds", "in": "query", "name": "include_alerts", "schema": { "enum": [ "true", "false" ], "type": "string" } }, "includeGeometryParam": { "description": "Include geometry in response", "in": "query", "name": "include_geometry", "schema": { "enum": [ "true", "false" ], "type": "string" } }, "includeRoutesParam": { "description": "Include routes that serve this stop (requires tl_user_pro role)", "in": "query", "name": "include_routes", "schema": { "enum": [ "true", "false" ], "type": "string" }, "x-example-requests": [ { "description": "include_routes=true", "url": "include_routes=true" } ], "x-required-role": "tl_user_pro" }, "includeStopsParam": { "description": "Include stops in response", "in": "query", "name": "include_stops", "schema": { "enum": [ "true", "false" ], "type": "string" } }, "latParam": { "description": "Latitude", "in": "query", "name": "lat", "schema": { "type": "number" } }, "licenseCommercialUseAllowedParam": { "description": "Filter entities by feed license 'commercial_use_allowed' value. Please see Source Feed concept for details on license values. 'exclude_no' is equivalent to 'yes' and 'unknown'.", "in": "query", "name": "license_commercial_use_allowed", "schema": { "enum": [ "yes", "no", "unknown", "exclude_no" ], "type": "string" } }, "licenseCreateDerivedProductParam": { "description": "Filter entities by feed license 'create_derived_product' value. Please see Source Feed concept for details on license values. 'exclude_no' is equivalent to 'yes' and 'unknown'.", "in": "query", "name": "license_create_derived_product", "schema": { "enum": [ "yes", "no", "unknown", "exclude_no" ], "type": "string" } }, "licenseRedistributionAllowedParam": { "description": "Filter entities by feed license 'redistribution_allowed' value. Please see Source Feed concept for details on license values. 'exclude_no' is equivalent to 'yes' and 'unknown'.", "in": "query", "name": "license_redistribution_allowed", "schema": { "enum": [ "yes", "no", "unknown", "exclude_no" ], "type": "string" } }, "licenseShareAlikeOptionalParam": { "description": "Filter entities by feed license 'share_alike_optional' value. Please see Source Feed concept for details on license values. 'exclude_no' is equivalent to 'yes' and 'unknown'.", "in": "query", "name": "license_share_alike_optional", "schema": { "enum": [ "yes", "no", "unknown", "exclude_no" ], "type": "string" } }, "licenseUseWithoutAttributionParam": { "description": "Filter entities by feed license 'use_without_attribution' value. Please see Source Feed concept for details on license values. 'exclude_no' is equivalent to 'yes' and 'unknown'.", "in": "query", "name": "license_use_without_attribution", "schema": { "enum": [ "yes", "no", "unknown", "exclude_no" ], "type": "string" } }, "limitParam": { "description": "Maximum number of records to return", "in": "query", "name": "limit", "schema": { "format": "int32", "type": "integer" } }, "lonParam": { "description": "Longitude", "in": "query", "name": "lon", "schema": { "type": "number" } }, "onestopParam": { "description": "Search for a specific Onestop ID", "in": "query", "name": "onestop_id", "schema": { "type": "string" } }, "radiusParam": { "description": "Search radius (meters); requires lat and lon", "in": "query", "name": "radius", "schema": { "type": "number" } }, "relativeDateParam": { "description": "Search for departures on a relative date label, e.g. TODAY, TUESDAY, NEXT_WEDNESDAY", "in": "query", "name": "relative_date", "schema": { "enum": [ "TODAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY", "NEXT_MONDAY", "NEXT_TUESDAY", "NEXT_WEDNESDAY", "NEXT_THURSDAY", "NEXT_FRIDAY", "NEXT_SATURDAY", "NEXT_SUNDAY" ], "type": "string" } }, "searchParam": { "description": "Full text search", "in": "query", "name": "search", "schema": { "type": "string" } }, "sha1Param": { "description": "Search for records in this feed version", "in": "query", "name": "feed_version_sha1", "schema": { "type": "string" } } } }, "info": { "contact": { "email": "info@interline.io" }, "description": "Transitland REST API - Access transit data including feeds, agencies, routes, stops, operators, and real-time departures", "title": "Transitland REST API", "version": "2.0.0" }, "openapi": "3.0.0", "paths": { "/agencies": { "get": { "parameters": [ { "description": "Agency lookup key; can be an integer ID, a '\u003cfeed onestop_id\u003e:\u003cgtfs agency_id\u003e' key, or a Onestop ID", "in": "query", "name": "agency_key", "schema": { "type": "string" } }, { "description": "Search for records with this GTFS agency_id (string)", "in": "query", "name": "agency_id", "schema": { "type": "string" }, "x-example-requests": [ { "description": "agency_id=BART", "url": "agency_id=BART" } ] }, { "description": "Search for records with this GTFS agency_name", "in": "query", "name": "agency_name", "schema": { "type": "string" }, "x-example-requests": [ { "description": "agency_name=Caltrain", "url": "agency_name=Caltrain" } ] }, { "$ref": "#/components/parameters/idParam" }, { "$ref": "#/components/parameters/includeAlertsParam" }, { "$ref": "#/components/parameters/includeRoutesParam" }, { "$ref": "#/components/parameters/afterParam" }, { "$ref": "#/components/parameters/limitParam", "x-example-requests": [ { "description": "limit=1", "url": "limit=1" } ] }, { "$ref": "#/components/parameters/formatParam", "x-example-requests": [ { "description": "format=geojson", "url": "format=geojson" } ] }, { "$ref": "#/components/parameters/searchParam", "x-example-requests": [ { "description": "search=bart", "url": "search=bart" } ] }, { "$ref": "#/components/parameters/onestopParam", "x-example-requests": [ { "description": "onestop_id=o-9q9-caltrain", "url": "onestop_id=o-9q9-caltrain" } ] }, { "$ref": "#/components/parameters/sha1Param", "x-example-requests": [ { "description": "feed_version_sha1=1c4721d4...", "url": "feed_version_sha1=1c4721d4e0c9fae1e81f7c79660696e4280ed05b" } ] }, { "$ref": "#/components/parameters/feedParam", "x-example-requests": [ { "description": "feed_onestop_id=f-sf~bay~area~rg", "url": "feed_onestop_id=f-sf~bay~area~rg" } ] }, { "$ref": "#/components/parameters/radiusParam", "x-description": "Search for agencies geographically, based on stops at this location; radius is in meters, requires lon and lat", "x-example-requests": [ { "description": "lon=-122.3\u0026lat=37.8\u0026radius=1000", "url": "lon=-122.3\u0026lat=37.8\u0026radius=1000" } ] }, { "$ref": "#/components/parameters/lonParam" }, { "$ref": "#/components/parameters/latParam" }, { "$ref": "#/components/parameters/bboxParam", "x-example-requests": [ { "description": "bbox=-122.269,37.807,-122.267,37.808", "url": "bbox=-122.269,37.807,-122.267,37.808" } ] }, { "$ref": "#/components/parameters/adm0NameParam", "x-example-requests": [ { "description": "adm0_name=Mexico", "url": "adm0_name=Mexico" } ] }, { "$ref": "#/components/parameters/adm0IsoParam", "x-example-requests": [ { "description": "adm0_iso=US", "url": "adm0_iso=US" } ] }, { "$ref": "#/components/parameters/adm1NameParam", "x-example-requests": [ { "description": "adm1_name=California", "url": "adm1_name=California" } ] }, { "$ref": "#/components/parameters/adm1IsoParam", "x-example-requests": [ { "description": "adm1_iso=US-CA", "url": "adm1_iso=US-CA" } ] }, { "$ref": "#/components/parameters/cityNameParam", "x-example-requests": [ { "description": "city_name=Oakland", "url": "city_name=Oakland" } ] }, { "$ref": "#/components/parameters/licenseCommercialUseAllowedParam" }, { "$ref": "#/components/parameters/licenseShareAlikeOptionalParam" }, { "$ref": "#/components/parameters/licenseCreateDerivedProductParam" }, { "$ref": "#/components/parameters/licenseRedistributionAllowedParam" }, { "$ref": "#/components/parameters/licenseUseWithoutAttributionParam" } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "agencies": { "description": "Currently imported agencies. If no feed version is specified, defaults to active feed versions.", "items": { "properties": { "agency_email": { "description": "GTFS agency.agency_email", "format": "email", "nullable": true, "title": "agency_email", "type": "string", "x-order": 20 }, "agency_fare_url": { "description": "GTFS agency.agency_fare_url", "nullable": true, "title": "agency_fare_url", "type": "string", "x-order": 18 }, "agency_id": { "description": "GTFS agency.agency_id", "title": "agency_id", "type": "string", "x-order": 6 }, "agency_lang": { "description": "GTFS agency.agency_lang", "nullable": true, "title": "agency_lang", "type": "string", "x-order": 14 }, "agency_name": { "description": "GTFS agency.agency_name", "title": "agency_name", "type": "string", "x-order": 4 }, "agency_phone": { "description": "GTFS agency.agency_phone", "nullable": true, "title": "agency_phone", "type": "string", "x-order": 16 }, "agency_timezone": { "description": "GTFS agency.agency_timezone", "title": "agency_timezone", "type": "string", "x-order": 12 }, "agency_url": { "description": "GTFS agency.agency_url", "title": "agency_url", "type": "string", "x-order": 10 }, "alerts": { "description": "GTFS-RT alerts for this agency", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 85 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 83 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 86 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 86 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 46 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 65 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 67 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 68 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 68 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 48 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 59 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 61 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 62 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 62 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 50 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 77 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 79 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 80 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 80 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 71 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 73 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 74 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 74 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 53 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 55 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 56 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 56 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 87 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 87 }, "feed_version": { "description": "Source feed version for this entity", "properties": { "feed": { "description": "Feed associated with this feed version", "properties": { "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 105 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 107 } }, "title": "feed", "type": "object", "x-graphql-type": "Feed", "x-order": 108 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 102 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 98 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 100 } }, "title": "feed_version", "type": "object", "x-graphql-type": "FeedVersion", "x-order": 109 }, "geometry": { "description": "Geometry for this agency, generated as the convex hull of all stops", "nullable": true, "title": "geometry", "x-order": 22 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "onestop_id": { "description": "OnestopID for this agency (or its associated operator)", "title": "onestop_id", "type": "string", "x-order": 8 }, "operator": { "description": "Operator associated with this agency", "nullable": true, "properties": { "feeds": { "description": "Feeds associated with this operator", "items": { "properties": { "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 34 }, "name": { "description": "A common name for this feed. Optional. Alternatively use `associated_operators[].name`", "nullable": true, "title": "name", "type": "string", "x-order": 38 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 36 }, "spec": { "description": "Type of feed", "enum": [ "GTFS", "GTFS_RT", "GBFS", "MDS" ], "nullable": true, "title": "spec", "type": "object", "x-graphql-type": "FeedSpecTypes", "x-order": 40 } }, "type": "object", "x-graphql-type": "Feed", "x-order": 41 }, "nullable": true, "title": "feeds", "type": "array", "x-graphql-type": "Feed", "x-order": 41 }, "name": { "description": "Operator name", "nullable": true, "title": "name", "type": "string", "x-order": 27 }, "onestop_id": { "description": "OnestopID for this operator", "nullable": true, "title": "onestop_id", "type": "string", "x-order": 25 }, "short_name": { "description": "Operator short name, if available", "nullable": true, "title": "short_name", "type": "string", "x-order": 29 }, "tags": { "description": "Source DMFR tag data", "nullable": true, "title": "tags", "type": "object", "x-order": 31 } }, "title": "operator", "type": "object", "x-graphql-type": "Operator", "x-order": 42 }, "places": { "description": "Places associated with this agency through a matching process", "items": { "properties": { "adm0_name": { "description": "Best-matched country name", "nullable": true, "title": "adm0_name", "type": "string", "x-order": 92 }, "adm1_name": { "description": "Best-matched state or province name", "nullable": true, "title": "adm1_name", "type": "string", "x-order": 94 }, "city_name": { "description": "Best-matched city name", "nullable": true, "title": "city_name", "type": "string", "x-order": 90 } }, "type": "object", "x-graphql-type": "AgencyPlace", "x-order": 95 }, "nullable": true, "title": "places", "type": "array", "x-graphql-type": "AgencyPlace", "x-order": 95 }, "routes": { "description": "Routes associated with this agency", "items": { "properties": { "alerts": { "description": "GTFS-RT alerts for this route", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 161 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 159 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 162 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 162 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 122 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 141 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 143 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 144 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 144 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 124 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 135 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 137 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 138 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 138 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 126 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 153 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 155 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 156 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 156 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 147 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 149 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 150 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 150 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 129 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 131 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 132 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 132 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 163 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 163 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 112 }, "route_id": { "description": "GTFS routes.route_id", "title": "route_id", "type": "string", "x-order": 114 }, "route_long_name": { "description": "GTFS routes.route_long_name", "nullable": true, "title": "route_long_name", "type": "string", "x-order": 118 }, "route_short_name": { "description": "GTFS routes.route_short_name", "nullable": true, "title": "route_short_name", "type": "string", "x-order": 116 } }, "type": "object", "x-graphql-type": "Route", "x-order": 164 }, "title": "routes", "type": "array", "x-graphql-type": "Route", "x-order": 164 } }, "type": "object", "x-graphql-type": "Agency", "x-order": 165 }, "title": "agencies", "type": "array", "x-graphql-type": "Agency", "x-order": 165 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Search for agencies", "x-alternates": [ { "method": "GET", "path": "/agencies.{format}", "summary": "Request agencies in specified format" }, { "method": "GET", "path": "/agencies/{agency_key}", "summary": "Request an agency" }, { "method": "GET", "path": "/agencies/{agency_key}.format", "summary": "Request an agency in a specified format" } ] } }, "/agencies/{agency_key}": { "get": { "parameters": [ { "description": "Agency lookup key; can be an integer ID, a '\u003cfeed onestop_id\u003e:\u003cgtfs agency_id\u003e' key, or a Onestop ID", "in": "path", "name": "agency_key", "required": true, "schema": { "type": "string" } }, { "$ref": "#/components/parameters/includeAlertsParam" }, { "$ref": "#/components/parameters/includeRoutesParam" }, { "$ref": "#/components/parameters/limitParam", "x-example-requests": [ { "description": "limit=1", "url": "limit=1" } ] }, { "$ref": "#/components/parameters/formatParam", "x-example-requests": [ { "description": "format=geojson", "url": "format=geojson" } ] } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "agencies": { "description": "Currently imported agencies. If no feed version is specified, defaults to active feed versions.", "items": { "properties": { "agency_email": { "description": "GTFS agency.agency_email", "format": "email", "nullable": true, "title": "agency_email", "type": "string", "x-order": 20 }, "agency_fare_url": { "description": "GTFS agency.agency_fare_url", "nullable": true, "title": "agency_fare_url", "type": "string", "x-order": 18 }, "agency_id": { "description": "GTFS agency.agency_id", "title": "agency_id", "type": "string", "x-order": 6 }, "agency_lang": { "description": "GTFS agency.agency_lang", "nullable": true, "title": "agency_lang", "type": "string", "x-order": 14 }, "agency_name": { "description": "GTFS agency.agency_name", "title": "agency_name", "type": "string", "x-order": 4 }, "agency_phone": { "description": "GTFS agency.agency_phone", "nullable": true, "title": "agency_phone", "type": "string", "x-order": 16 }, "agency_timezone": { "description": "GTFS agency.agency_timezone", "title": "agency_timezone", "type": "string", "x-order": 12 }, "agency_url": { "description": "GTFS agency.agency_url", "title": "agency_url", "type": "string", "x-order": 10 }, "alerts": { "description": "GTFS-RT alerts for this agency", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 85 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 83 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 86 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 86 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 46 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 65 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 67 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 68 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 68 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 48 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 59 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 61 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 62 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 62 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 50 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 77 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 79 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 80 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 80 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 71 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 73 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 74 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 74 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 53 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 55 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 56 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 56 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 87 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 87 }, "feed_version": { "description": "Source feed version for this entity", "properties": { "feed": { "description": "Feed associated with this feed version", "properties": { "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 105 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 107 } }, "title": "feed", "type": "object", "x-graphql-type": "Feed", "x-order": 108 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 102 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 98 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 100 } }, "title": "feed_version", "type": "object", "x-graphql-type": "FeedVersion", "x-order": 109 }, "geometry": { "description": "Geometry for this agency, generated as the convex hull of all stops", "nullable": true, "title": "geometry", "x-order": 22 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "onestop_id": { "description": "OnestopID for this agency (or its associated operator)", "title": "onestop_id", "type": "string", "x-order": 8 }, "operator": { "description": "Operator associated with this agency", "nullable": true, "properties": { "feeds": { "description": "Feeds associated with this operator", "items": { "properties": { "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 34 }, "name": { "description": "A common name for this feed. Optional. Alternatively use `associated_operators[].name`", "nullable": true, "title": "name", "type": "string", "x-order": 38 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 36 }, "spec": { "description": "Type of feed", "enum": [ "GTFS", "GTFS_RT", "GBFS", "MDS" ], "nullable": true, "title": "spec", "type": "object", "x-graphql-type": "FeedSpecTypes", "x-order": 40 } }, "type": "object", "x-graphql-type": "Feed", "x-order": 41 }, "nullable": true, "title": "feeds", "type": "array", "x-graphql-type": "Feed", "x-order": 41 }, "name": { "description": "Operator name", "nullable": true, "title": "name", "type": "string", "x-order": 27 }, "onestop_id": { "description": "OnestopID for this operator", "nullable": true, "title": "onestop_id", "type": "string", "x-order": 25 }, "short_name": { "description": "Operator short name, if available", "nullable": true, "title": "short_name", "type": "string", "x-order": 29 }, "tags": { "description": "Source DMFR tag data", "nullable": true, "title": "tags", "type": "object", "x-order": 31 } }, "title": "operator", "type": "object", "x-graphql-type": "Operator", "x-order": 42 }, "places": { "description": "Places associated with this agency through a matching process", "items": { "properties": { "adm0_name": { "description": "Best-matched country name", "nullable": true, "title": "adm0_name", "type": "string", "x-order": 92 }, "adm1_name": { "description": "Best-matched state or province name", "nullable": true, "title": "adm1_name", "type": "string", "x-order": 94 }, "city_name": { "description": "Best-matched city name", "nullable": true, "title": "city_name", "type": "string", "x-order": 90 } }, "type": "object", "x-graphql-type": "AgencyPlace", "x-order": 95 }, "nullable": true, "title": "places", "type": "array", "x-graphql-type": "AgencyPlace", "x-order": 95 }, "routes": { "description": "Routes associated with this agency", "items": { "properties": { "alerts": { "description": "GTFS-RT alerts for this route", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 161 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 159 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 162 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 162 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 122 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 141 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 143 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 144 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 144 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 124 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 135 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 137 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 138 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 138 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 126 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 153 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 155 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 156 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 156 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 147 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 149 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 150 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 150 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 129 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 131 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 132 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 132 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 163 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 163 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 112 }, "route_id": { "description": "GTFS routes.route_id", "title": "route_id", "type": "string", "x-order": 114 }, "route_long_name": { "description": "GTFS routes.route_long_name", "nullable": true, "title": "route_long_name", "type": "string", "x-order": 118 }, "route_short_name": { "description": "GTFS routes.route_short_name", "nullable": true, "title": "route_short_name", "type": "string", "x-order": 116 } }, "type": "object", "x-graphql-type": "Route", "x-order": 164 }, "title": "routes", "type": "array", "x-graphql-type": "Route", "x-order": 164 } }, "type": "object", "x-graphql-type": "Agency", "x-order": 165 }, "title": "agencies", "type": "array", "x-graphql-type": "Agency", "x-order": 165 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Agencies" } }, "/feed_versions": { "get": { "parameters": [ { "description": "Feed version lookup key; can be an integer ID or a SHA1 value", "in": "query", "name": "feed_version_key", "schema": { "type": "string" } }, { "description": "Feed lookup key; can be an integer ID or Onestop ID", "in": "query", "name": "feed_key", "schema": { "type": "string" } }, { "description": "Feed version SHA1", "in": "query", "name": "sha1", "schema": { "type": "string" }, "x-example-requests": [ { "description": "sha1=e535eb2b3...", "url": "sha1=dd7aca4a8e4c90908fd3603c097fabee75fea907" } ] }, { "description": "Feed OnestopID", "in": "query", "name": "feed_onestop_id", "schema": { "type": "string" }, "x-example-requests": [ { "description": "feed_onestop_id=f-sf~bay~area~rg", "url": "feed_onestop_id=f-sf~bay~area~rg" } ] }, { "description": "Filter for feed versions fetched earlier than given date time in UTC", "in": "query", "name": "fetched_before", "schema": { "format": "datetime", "type": "string" }, "x-example-requests": [ { "description": "fetched_before=2023-01-01T00:00:00Z", "url": "fetched_before=2023-01-01T00:00:00Z" } ] }, { "description": "Filter for feed versions fetched since given date time in UTC", "in": "query", "name": "fetched_after", "schema": { "format": "datetime", "type": "string" }, "x-example-requests": [ { "description": "fetched_after=2023-01-01T00:00:00Z", "url": "fetched_after=2023-01-01T00:00:00Z" } ] }, { "$ref": "#/components/parameters/idParam" }, { "$ref": "#/components/parameters/afterParam" }, { "$ref": "#/components/parameters/limitParam", "x-example-requests": [ { "description": "limit=1", "url": "limit=1" } ] }, { "$ref": "#/components/parameters/formatParam", "x-example-requests": [ { "description": "format=geojson", "url": "format=geojson" } ] }, { "$ref": "#/components/parameters/radiusParam", "x-description": "Search for feed versions geographically; radius is in meters, requires lon and lat", "x-example-requests": [ { "description": "lon=-122.3\u0026lat=37.8\u0026radius=1000", "url": "lon=-122.3\u0026lat=37.8\u0026radius=1000" } ] }, { "$ref": "#/components/parameters/lonParam" }, { "$ref": "#/components/parameters/latParam" }, { "$ref": "#/components/parameters/bboxParam", "x-example-requests": [ { "description": "bbox=-122.269,37.807,-122.267,37.808", "url": "bbox=-122.269,37.807,-122.267,37.808" } ] } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "feed_versions": { "description": "Feed versions", "items": { "properties": { "earliest_calendar_date": { "description": "The earliest date with scheduled service", "example": "2020-01-01", "format": "date", "title": "earliest_calendar_date", "type": "string", "x-order": 10 }, "feed": { "description": "Feed associated with this feed version", "properties": { "name": { "description": "A common name for this feed. Optional. Alternatively use `associated_operators[].name`", "nullable": true, "title": "name", "type": "string", "x-order": 19 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 17 }, "spec": { "description": "Type of feed", "enum": [ "GTFS", "GTFS_RT", "GBFS", "MDS" ], "nullable": true, "title": "spec", "type": "object", "x-graphql-type": "FeedSpecTypes", "x-order": 21 } }, "title": "feed", "type": "object", "x-graphql-type": "Feed", "x-order": 22 }, "feed_infos": { "description": "Feed infos associated with this feed version, if imported", "items": { "properties": { "default_lang": { "description": "GTFS feed_info.default_lang", "nullable": true, "title": "default_lang", "type": "string", "x-order": 59 }, "feed_contact_email": { "description": "GTFS feed_info.feed_contact_email", "format": "email", "nullable": true, "title": "feed_contact_email", "type": "string", "x-order": 61 }, "feed_contact_url": { "description": "GTFS feed_info.feed_contact_url", "nullable": true, "title": "feed_contact_url", "type": "string", "x-order": 63 }, "feed_end_date": { "description": "GTFS feed_info.feed_end_date", "example": "2019-11-15", "format": "date", "nullable": true, "title": "feed_end_date", "type": "string", "x-order": 65 }, "feed_lang": { "description": "GTFS feed_info.feed_lang", "title": "feed_lang", "type": "string", "x-order": 67 }, "feed_publisher_name": { "description": "GTFS feed_info.feed_publisher_name", "title": "feed_publisher_name", "type": "string", "x-order": 69 }, "feed_publisher_url": { "description": "GTFS feed_info.feed_publisher_url", "title": "feed_publisher_url", "type": "string", "x-order": 73 }, "feed_start_date": { "description": "GTFS feed_info.feed_start_date", "example": "2019-11-15", "format": "date", "nullable": true, "title": "feed_start_date", "type": "string", "x-order": 71 } }, "type": "object", "x-graphql-type": "FeedInfo", "x-order": 74 }, "title": "feed_infos", "type": "array", "x-graphql-type": "FeedInfo", "x-order": 74 }, "feed_version_gtfs_import": { "description": "Current database import status of this feed version", "nullable": true, "properties": { "exception_log": { "description": "Exception log if any errors occurred during import", "title": "exception_log", "type": "string", "x-order": 81 }, "in_progress": { "description": "Is the import currently in-progress", "title": "in_progress", "type": "boolean", "x-order": 77 }, "interpolated_stop_time_count": { "description": "Number of stop times with arrival/departure times set by interpolation during import process", "nullable": true, "title": "interpolated_stop_time_count", "type": "integer", "x-order": 91 }, "skip_entity_error_count": { "description": "Counts of entities skipped due to errors", "nullable": true, "title": "skip_entity_error_count", "x-order": 85 }, "skip_entity_filter_count": { "description": "Counts of entities skipped due to import filters", "nullable": true, "title": "skip_entity_filter_count", "x-order": 87 }, "skip_entity_marked_count": { "description": "Counts of entities skipped due to marker filters", "nullable": true, "title": "skip_entity_marked_count", "x-order": 89 }, "success": { "description": "Did the import complete successfully", "title": "success", "type": "boolean", "x-order": 79 }, "warning_count": { "description": "Counts of warnings by file name", "nullable": true, "title": "warning_count", "x-order": 83 } }, "title": "feed_version_gtfs_import", "type": "object", "x-graphql-type": "FeedVersionGtfsImport", "x-order": 92 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 6 }, "files": { "description": "Metadata for each text file present in the main directory of the zip archive", "items": { "properties": { "csv_like": { "description": "Is the file CSV-like?", "title": "csv_like", "type": "boolean", "x-order": 33 }, "header": { "description": "Normalized header row of the file, if CSV-like", "title": "header", "type": "string", "x-order": 31 }, "name": { "description": "Name of the file", "title": "name", "type": "string", "x-order": 25 }, "rows": { "description": "Number of rows in the file", "title": "rows", "type": "integer", "x-order": 27 }, "sha1": { "description": "SHA1 hash of the file", "title": "sha1", "type": "string", "x-order": 29 }, "size": { "description": "File size, in bytes", "title": "size", "type": "integer", "x-order": 35 } }, "type": "object", "x-graphql-type": "FeedVersionFileInfo", "x-order": 36 }, "title": "files", "type": "array", "x-graphql-type": "FeedVersionFileInfo", "x-order": 36 }, "geometry": { "description": "Convex hull around all active stops in the feed version", "nullable": true, "title": "geometry", "x-order": 14 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "latest_calendar_date": { "description": "The latest date with scheduled service", "example": "2020-12-31", "format": "date", "title": "latest_calendar_date", "type": "string", "x-order": 12 }, "service_levels": { "description": "Service levels (in seconds per day) for this feed version", "items": { "properties": { "end_date": { "description": "End date of this week", "example": "2019-11-15", "format": "date", "title": "end_date", "type": "string", "x-order": 41 }, "friday": { "description": "Number of seconds of service scheduled on the Friday of this week", "title": "friday", "type": "integer", "x-order": 51 }, "monday": { "description": "Number of seconds of service scheduled on the Monday of this week", "title": "monday", "type": "integer", "x-order": 43 }, "saturday": { "description": "Number of seconds of service scheduled on the Saturday of this week", "title": "saturday", "type": "integer", "x-order": 53 }, "start_date": { "description": "Start date of this week", "example": "2019-11-15", "format": "date", "title": "start_date", "type": "string", "x-order": 39 }, "sunday": { "description": "Number of seconds of service scheduled on the Sunday of this week", "title": "sunday", "type": "integer", "x-order": 55 }, "thursday": { "description": "Number of seconds of service scheduled on the Thursday of this week", "title": "thursday", "type": "integer", "x-order": 49 }, "tuesday": { "description": "Number of seconds of service scheduled on the Tuesday of this week", "title": "tuesday", "type": "integer", "x-order": 45 }, "wednesday": { "description": "Number of seconds of service scheduled on the Wednesday of this week", "title": "wednesday", "type": "integer", "x-order": 47 } }, "type": "object", "x-graphql-type": "FeedVersionServiceLevel", "x-order": 56 }, "title": "service_levels", "type": "array", "x-graphql-type": "FeedVersionServiceLevel", "x-order": 56 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 4 }, "url": { "description": "URL used to fetch the file", "title": "url", "type": "string", "x-order": 8 } }, "type": "object", "x-graphql-type": "FeedVersion", "x-order": 93 }, "title": "feed_versions", "type": "array", "x-graphql-type": "FeedVersion", "x-order": 93 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Search for feed versions", "x-alternates": [ { "method": "GET", "path": "/feed_versions.{format}", "summary": "Request feed versions in specified format" }, { "method": "GET", "path": "/feed_versions/{feed_version_key}", "summary": "Request a feed version by ID or SHA1" }, { "method": "GET", "path": "/feed_versions/{feed_version_key}.format", "summary": "Request a feed version by ID or SHA1 in specifed format" }, { "method": "GET", "path": "/feeds/{feed_key}/feed_versions", "summary": "Request feed versions by feed ID or Onestop ID" } ] } }, "/feed_versions/{feed_version_key}": { "get": { "parameters": [ { "description": "Feed version lookup key; can be an integer ID or a SHA1 value", "in": "path", "name": "feed_version_key", "required": true, "schema": { "type": "string" }, "x-example-requests": [ { "description": "dd7aca4a8e4c90908fd3603c097fabee75fea907", "url": "dd7aca4a8e4c90908fd3603c097fabee75fea907" } ] }, { "$ref": "#/components/parameters/limitParam", "x-example-requests": [ { "description": "limit=1", "url": "limit=1" } ] }, { "$ref": "#/components/parameters/formatParam", "x-example-requests": [ { "description": "format=geojson", "url": "format=geojson" } ] } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "feed_versions": { "description": "Feed versions", "items": { "properties": { "earliest_calendar_date": { "description": "The earliest date with scheduled service", "example": "2020-01-01", "format": "date", "title": "earliest_calendar_date", "type": "string", "x-order": 10 }, "feed": { "description": "Feed associated with this feed version", "properties": { "name": { "description": "A common name for this feed. Optional. Alternatively use `associated_operators[].name`", "nullable": true, "title": "name", "type": "string", "x-order": 19 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 17 }, "spec": { "description": "Type of feed", "enum": [ "GTFS", "GTFS_RT", "GBFS", "MDS" ], "nullable": true, "title": "spec", "type": "object", "x-graphql-type": "FeedSpecTypes", "x-order": 21 } }, "title": "feed", "type": "object", "x-graphql-type": "Feed", "x-order": 22 }, "feed_infos": { "description": "Feed infos associated with this feed version, if imported", "items": { "properties": { "default_lang": { "description": "GTFS feed_info.default_lang", "nullable": true, "title": "default_lang", "type": "string", "x-order": 59 }, "feed_contact_email": { "description": "GTFS feed_info.feed_contact_email", "format": "email", "nullable": true, "title": "feed_contact_email", "type": "string", "x-order": 61 }, "feed_contact_url": { "description": "GTFS feed_info.feed_contact_url", "nullable": true, "title": "feed_contact_url", "type": "string", "x-order": 63 }, "feed_end_date": { "description": "GTFS feed_info.feed_end_date", "example": "2019-11-15", "format": "date", "nullable": true, "title": "feed_end_date", "type": "string", "x-order": 65 }, "feed_lang": { "description": "GTFS feed_info.feed_lang", "title": "feed_lang", "type": "string", "x-order": 67 }, "feed_publisher_name": { "description": "GTFS feed_info.feed_publisher_name", "title": "feed_publisher_name", "type": "string", "x-order": 69 }, "feed_publisher_url": { "description": "GTFS feed_info.feed_publisher_url", "title": "feed_publisher_url", "type": "string", "x-order": 73 }, "feed_start_date": { "description": "GTFS feed_info.feed_start_date", "example": "2019-11-15", "format": "date", "nullable": true, "title": "feed_start_date", "type": "string", "x-order": 71 } }, "type": "object", "x-graphql-type": "FeedInfo", "x-order": 74 }, "title": "feed_infos", "type": "array", "x-graphql-type": "FeedInfo", "x-order": 74 }, "feed_version_gtfs_import": { "description": "Current database import status of this feed version", "nullable": true, "properties": { "exception_log": { "description": "Exception log if any errors occurred during import", "title": "exception_log", "type": "string", "x-order": 81 }, "in_progress": { "description": "Is the import currently in-progress", "title": "in_progress", "type": "boolean", "x-order": 77 }, "interpolated_stop_time_count": { "description": "Number of stop times with arrival/departure times set by interpolation during import process", "nullable": true, "title": "interpolated_stop_time_count", "type": "integer", "x-order": 91 }, "skip_entity_error_count": { "description": "Counts of entities skipped due to errors", "nullable": true, "title": "skip_entity_error_count", "x-order": 85 }, "skip_entity_filter_count": { "description": "Counts of entities skipped due to import filters", "nullable": true, "title": "skip_entity_filter_count", "x-order": 87 }, "skip_entity_marked_count": { "description": "Counts of entities skipped due to marker filters", "nullable": true, "title": "skip_entity_marked_count", "x-order": 89 }, "success": { "description": "Did the import complete successfully", "title": "success", "type": "boolean", "x-order": 79 }, "warning_count": { "description": "Counts of warnings by file name", "nullable": true, "title": "warning_count", "x-order": 83 } }, "title": "feed_version_gtfs_import", "type": "object", "x-graphql-type": "FeedVersionGtfsImport", "x-order": 92 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 6 }, "files": { "description": "Metadata for each text file present in the main directory of the zip archive", "items": { "properties": { "csv_like": { "description": "Is the file CSV-like?", "title": "csv_like", "type": "boolean", "x-order": 33 }, "header": { "description": "Normalized header row of the file, if CSV-like", "title": "header", "type": "string", "x-order": 31 }, "name": { "description": "Name of the file", "title": "name", "type": "string", "x-order": 25 }, "rows": { "description": "Number of rows in the file", "title": "rows", "type": "integer", "x-order": 27 }, "sha1": { "description": "SHA1 hash of the file", "title": "sha1", "type": "string", "x-order": 29 }, "size": { "description": "File size, in bytes", "title": "size", "type": "integer", "x-order": 35 } }, "type": "object", "x-graphql-type": "FeedVersionFileInfo", "x-order": 36 }, "title": "files", "type": "array", "x-graphql-type": "FeedVersionFileInfo", "x-order": 36 }, "geometry": { "description": "Convex hull around all active stops in the feed version", "nullable": true, "title": "geometry", "x-order": 14 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "latest_calendar_date": { "description": "The latest date with scheduled service", "example": "2020-12-31", "format": "date", "title": "latest_calendar_date", "type": "string", "x-order": 12 }, "service_levels": { "description": "Service levels (in seconds per day) for this feed version", "items": { "properties": { "end_date": { "description": "End date of this week", "example": "2019-11-15", "format": "date", "title": "end_date", "type": "string", "x-order": 41 }, "friday": { "description": "Number of seconds of service scheduled on the Friday of this week", "title": "friday", "type": "integer", "x-order": 51 }, "monday": { "description": "Number of seconds of service scheduled on the Monday of this week", "title": "monday", "type": "integer", "x-order": 43 }, "saturday": { "description": "Number of seconds of service scheduled on the Saturday of this week", "title": "saturday", "type": "integer", "x-order": 53 }, "start_date": { "description": "Start date of this week", "example": "2019-11-15", "format": "date", "title": "start_date", "type": "string", "x-order": 39 }, "sunday": { "description": "Number of seconds of service scheduled on the Sunday of this week", "title": "sunday", "type": "integer", "x-order": 55 }, "thursday": { "description": "Number of seconds of service scheduled on the Thursday of this week", "title": "thursday", "type": "integer", "x-order": 49 }, "tuesday": { "description": "Number of seconds of service scheduled on the Tuesday of this week", "title": "tuesday", "type": "integer", "x-order": 45 }, "wednesday": { "description": "Number of seconds of service scheduled on the Wednesday of this week", "title": "wednesday", "type": "integer", "x-order": 47 } }, "type": "object", "x-graphql-type": "FeedVersionServiceLevel", "x-order": 56 }, "title": "service_levels", "type": "array", "x-graphql-type": "FeedVersionServiceLevel", "x-order": 56 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 4 }, "url": { "description": "URL used to fetch the file", "title": "url", "type": "string", "x-order": 8 } }, "type": "object", "x-graphql-type": "FeedVersion", "x-order": 93 }, "title": "feed_versions", "type": "array", "x-graphql-type": "FeedVersion", "x-order": 93 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Feed Versions" } }, "/feed_versions/{feed_version_key}/download": { "get": { "description": "Download this feed version GTFS zip for this feed, if redistribution is allowed by the source feed's license. Available only using Transitland professional or enterprise plan API keys.", "parameters": [ { "description": "Feed version lookup key; can be an integer ID or a SHA1 value", "in": "path", "name": "feed_version_key", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Download feed version", "x-required-role": "tl_download_fv_historic" } }, "/feeds": { "get": { "parameters": [ { "description": "Feed lookup key; can be a Onestop ID or an internal database integer ID ", "in": "query", "name": "feed_key", "schema": { "type": "string" } }, { "description": "Type of data contained in this feed", "in": "query", "name": "spec", "schema": { "enum": [ "gtfs", "gtfs-rt", "gbfs", "mds" ], "type": "string" }, "x-example-requests": [ { "description": "spec=gtfs", "url": "spec=gtfs" } ] }, { "description": "Search for feeds with or without a fetch error", "in": "query", "name": "fetch_error", "schema": { "enum": [ "true", "false" ], "type": "string" }, "x-example-requests": [ { "description": "fetch_error=true", "url": "fetch_error=true" } ] }, { "description": "Search for feeds with a tag. Combine with tag_value also query for the value of the tag.", "in": "query", "name": "tag_key", "schema": { "type": "string" }, "x-example-requests": [ { "description": "tag_key=gtfs_data_exchange", "url": "tag_key=gtfs_data_exchange" } ] }, { "description": "Search for feeds tagged with a given value. Must be combined with tag_key.", "in": "query", "name": "tag_value", "schema": { "type": "string" }, "x-example-requests": [ { "description": "tag_key=unstable_url\u0026tag_value=true", "url": "tag_key=unstable_url\u0026tag_value=true" } ] }, { "$ref": "#/components/parameters/idParam" }, { "$ref": "#/components/parameters/afterParam" }, { "$ref": "#/components/parameters/limitParam", "x-example-requests": [ { "description": "limit=1", "url": "limit=1" } ] }, { "$ref": "#/components/parameters/formatParam", "x-example-requests": [ { "description": "format=geojson", "url": "format=geojson" } ] }, { "$ref": "#/components/parameters/searchParam", "x-example-requests": [ { "description": "search=caltrain", "url": "search=caltrain" } ] }, { "$ref": "#/components/parameters/onestopParam", "x-example-requests": [ { "description": "onestop_id=f-sf~bay~area~rg", "url": "onestop_id=f-sf~bay~area~rg" } ] }, { "$ref": "#/components/parameters/lonParam" }, { "$ref": "#/components/parameters/latParam" }, { "$ref": "#/components/parameters/radiusParam", "x-description": "Search for feeds geographically; radius is in meters, requires lon and lat", "x-example-requests": [ { "description": "lon=-122.3?lat=37.8\u0026radius=1000", "url": "lon=-122.3?lat=37.8\u0026radius=1000" } ] }, { "$ref": "#/components/parameters/bboxParam", "x-example-requests": [ { "description": "bbox=-122.269,37.807,-122.267,37.808", "url": "bbox=-122.269,37.807,-122.267,37.808" } ] }, { "$ref": "#/components/parameters/licenseCommercialUseAllowedParam" }, { "$ref": "#/components/parameters/licenseShareAlikeOptionalParam" }, { "$ref": "#/components/parameters/licenseCreateDerivedProductParam" }, { "$ref": "#/components/parameters/licenseRedistributionAllowedParam" }, { "$ref": "#/components/parameters/licenseUseWithoutAttributionParam" } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "feeds": { "description": "Feeds", "items": { "properties": { "authorization": { "description": "Authorization metadata for fetching data from this feed", "nullable": true, "properties": { "info_url": { "description": "Website to visit to sign up for an account", "title": "info_url", "type": "string", "x-order": 55 }, "param_name": { "description": "When `type=query_param`, this specifies the name of the query parameter. When `type=header`, this specifies the name of the header", "title": "param_name", "type": "string", "x-order": 53 }, "type": { "description": "Method for inserting authorization secret into request", "title": "type", "type": "string", "x-order": 51 } }, "title": "authorization", "type": "object", "x-graphql-type": "FeedAuthorization", "x-order": 56 }, "feed_state": { "description": "Current feed state", "nullable": true, "properties": { "feed_version": { "description": "The active feed version for this feed", "nullable": true, "properties": { "feed_version_gtfs_import": { "description": "Current database import status of this feed version", "nullable": true, "properties": { "exception_log": { "description": "Exception log if any errors occurred during import", "title": "exception_log", "type": "string", "x-order": 77 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 71 }, "in_progress": { "description": "Is the import currently in-progress", "title": "in_progress", "type": "boolean", "x-order": 73 }, "success": { "description": "Did the import complete successfully", "title": "success", "type": "boolean", "x-order": 75 } }, "title": "feed_version_gtfs_import", "type": "object", "x-graphql-type": "FeedVersionGtfsImport", "x-order": 78 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 66 }, "geometry": { "description": "Convex hull around all active stops in the feed version", "nullable": true, "title": "geometry", "x-order": 68 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 60 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 62 }, "url": { "description": "URL used to fetch the file", "title": "url", "type": "string", "x-order": 64 } }, "title": "feed_version", "type": "object", "x-graphql-type": "FeedVersion", "x-order": 79 } }, "title": "feed_state", "type": "object", "x-graphql-type": "FeedState", "x-order": 80 }, "feed_versions": { "description": "Versions of this feed that have been fetched, archived, and imported", "items": { "properties": { "earliest_calendar_date": { "description": "The earliest date with scheduled service", "example": "2020-01-01", "format": "date", "title": "earliest_calendar_date", "type": "string", "x-order": 91 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 87 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 83 }, "latest_calendar_date": { "description": "The latest date with scheduled service", "example": "2020-12-31", "format": "date", "title": "latest_calendar_date", "type": "string", "x-order": 93 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 85 }, "url": { "description": "URL used to fetch the file", "title": "url", "type": "string", "x-order": 89 } }, "type": "object", "x-graphql-type": "FeedVersion", "x-order": 94 }, "title": "feed_versions", "type": "array", "x-graphql-type": "FeedVersion", "x-order": 94 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "languages": { "description": "Language(s) included in this feed", "items": { "type": "object", "x-graphql-type": "String", "x-order": 10 }, "nullable": true, "title": "languages", "type": "array", "x-graphql-type": "String", "x-order": 10 }, "license": { "description": "Feed license metadata", "nullable": true, "properties": { "attribution_instructions": { "description": "Feed consumers must follow these instructions for how to provide attribution", "title": "attribution_instructions", "type": "string", "x-order": 47 }, "attribution_text": { "description": "Feed consumers must include this particular text when using this feed", "title": "attribution_text", "type": "string", "x-order": 45 }, "commercial_use_allowed": { "description": "Are feed consumers allowed to use the feed for commercial purposes?", "title": "commercial_use_allowed", "type": "string", "x-order": 41 }, "create_derived_product": { "description": "Are feed consumers allowed to create and share derived products from the feed?", "title": "create_derived_product", "type": "string", "x-order": 37 }, "redistribution_allowed": { "description": "Are feed consumers allowed to redistribute the feed in its entirety?", "title": "redistribution_allowed", "type": "string", "x-order": 39 }, "share_alike_optional": { "description": "Are feed consumers allowed to keep their modifications of this feed private?", "title": "share_alike_optional", "type": "string", "x-order": 43 }, "spdx_identifier": { "description": "SPDX identifier for a common license. See https://spdx.org/licenses/", "title": "spdx_identifier", "type": "string", "x-order": 31 }, "url": { "description": "URL for a custom license", "title": "url", "type": "string", "x-order": 33 }, "use_without_attribution": { "description": "Are feed consumers allowed to use the feed contents without including attribution text in their app or map?", "title": "use_without_attribution", "type": "string", "x-order": 35 } }, "title": "license", "type": "object", "x-graphql-type": "FeedLicense", "x-order": 48 }, "name": { "description": "A common name for this feed. Optional. Alternatively use `associated_operators[].name`", "nullable": true, "title": "name", "type": "string", "x-order": 6 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 8 }, "spec": { "description": "Type of feed", "enum": [ "GTFS", "GTFS_RT", "GBFS", "MDS" ], "nullable": true, "title": "spec", "type": "object", "x-graphql-type": "FeedSpecTypes", "x-order": 4 }, "urls": { "description": "URLs associated with this feed", "nullable": true, "properties": { "gbfs_auto_discovery": { "description": "URL for GBFS feed `gbfs.json` auto-discovery file", "title": "gbfs_auto_discovery", "type": "string", "x-order": 25 }, "mds_provider": { "description": "URL for MDS feed provider endpoint", "title": "mds_provider", "type": "string", "x-order": 27 }, "realtime_alerts": { "description": "URL for GTFS-RT Alert messages", "title": "realtime_alerts", "type": "string", "x-order": 23 }, "realtime_trip_updates": { "description": "URL for GTFS-RT TripUpdate messages", "title": "realtime_trip_updates", "type": "string", "x-order": 21 }, "realtime_vehicle_positions": { "description": "URL for GTFS-RT VehiclePosition messages", "title": "realtime_vehicle_positions", "type": "string", "x-order": 19 }, "static_current": { "description": "URL for the static feed that represents today's service", "title": "static_current", "type": "string", "x-order": 13 }, "static_historic": { "description": "URLs for static feeds that represent past service that is no longer in effect", "items": { "type": "object", "x-graphql-type": "String", "x-order": 15 }, "title": "static_historic", "type": "array", "x-graphql-type": "String", "x-order": 15 }, "static_planned": { "description": "URLs for static feeds that represent service planned for upcoming dates. Typically used to represent calendar/service changes that will take effect few weeks or months in the future", "items": { "type": "object", "x-graphql-type": "String", "x-order": 17 }, "title": "static_planned", "type": "array", "x-graphql-type": "String", "x-order": 17 } }, "title": "urls", "type": "object", "x-graphql-type": "FeedUrls", "x-order": 28 } }, "type": "object", "x-graphql-type": "Feed", "x-order": 95 }, "title": "feeds", "type": "array", "x-graphql-type": "Feed", "x-order": 95 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Search for feeds", "x-alternates": [ { "method": "GET", "path": "/feeds.{format}", "summary": "Request feeds in specified format" }, { "method": "GET", "path": "/feeds/{feed_key}", "summary": "Request a feed by ID or Onestop ID" }, { "method": "GET", "path": "/feeds/{feed_key}.format", "summary": "Request a feed by ID or Onestop ID in specifed format" } ] } }, "/feeds/{feed_key}": { "get": { "parameters": [ { "description": "Feed lookup key; can be a Onestop ID or an internal database integer ID ", "in": "path", "name": "feed_key", "required": true, "schema": { "type": "string" }, "x-example-requests": [ { "description": "f-sf~bay~area~rg", "url": "f-sf~bay~area~rg" } ] }, { "$ref": "#/components/parameters/limitParam", "x-example-requests": [ { "description": "limit=1", "url": "limit=1" } ] }, { "$ref": "#/components/parameters/formatParam", "x-example-requests": [ { "description": "format=geojson", "url": "format=geojson" } ] } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "feeds": { "description": "Feeds", "items": { "properties": { "authorization": { "description": "Authorization metadata for fetching data from this feed", "nullable": true, "properties": { "info_url": { "description": "Website to visit to sign up for an account", "title": "info_url", "type": "string", "x-order": 55 }, "param_name": { "description": "When `type=query_param`, this specifies the name of the query parameter. When `type=header`, this specifies the name of the header", "title": "param_name", "type": "string", "x-order": 53 }, "type": { "description": "Method for inserting authorization secret into request", "title": "type", "type": "string", "x-order": 51 } }, "title": "authorization", "type": "object", "x-graphql-type": "FeedAuthorization", "x-order": 56 }, "feed_state": { "description": "Current feed state", "nullable": true, "properties": { "feed_version": { "description": "The active feed version for this feed", "nullable": true, "properties": { "feed_version_gtfs_import": { "description": "Current database import status of this feed version", "nullable": true, "properties": { "exception_log": { "description": "Exception log if any errors occurred during import", "title": "exception_log", "type": "string", "x-order": 77 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 71 }, "in_progress": { "description": "Is the import currently in-progress", "title": "in_progress", "type": "boolean", "x-order": 73 }, "success": { "description": "Did the import complete successfully", "title": "success", "type": "boolean", "x-order": 75 } }, "title": "feed_version_gtfs_import", "type": "object", "x-graphql-type": "FeedVersionGtfsImport", "x-order": 78 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 66 }, "geometry": { "description": "Convex hull around all active stops in the feed version", "nullable": true, "title": "geometry", "x-order": 68 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 60 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 62 }, "url": { "description": "URL used to fetch the file", "title": "url", "type": "string", "x-order": 64 } }, "title": "feed_version", "type": "object", "x-graphql-type": "FeedVersion", "x-order": 79 } }, "title": "feed_state", "type": "object", "x-graphql-type": "FeedState", "x-order": 80 }, "feed_versions": { "description": "Versions of this feed that have been fetched, archived, and imported", "items": { "properties": { "earliest_calendar_date": { "description": "The earliest date with scheduled service", "example": "2020-01-01", "format": "date", "title": "earliest_calendar_date", "type": "string", "x-order": 91 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 87 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 83 }, "latest_calendar_date": { "description": "The latest date with scheduled service", "example": "2020-12-31", "format": "date", "title": "latest_calendar_date", "type": "string", "x-order": 93 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 85 }, "url": { "description": "URL used to fetch the file", "title": "url", "type": "string", "x-order": 89 } }, "type": "object", "x-graphql-type": "FeedVersion", "x-order": 94 }, "title": "feed_versions", "type": "array", "x-graphql-type": "FeedVersion", "x-order": 94 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "languages": { "description": "Language(s) included in this feed", "items": { "type": "object", "x-graphql-type": "String", "x-order": 10 }, "nullable": true, "title": "languages", "type": "array", "x-graphql-type": "String", "x-order": 10 }, "license": { "description": "Feed license metadata", "nullable": true, "properties": { "attribution_instructions": { "description": "Feed consumers must follow these instructions for how to provide attribution", "title": "attribution_instructions", "type": "string", "x-order": 47 }, "attribution_text": { "description": "Feed consumers must include this particular text when using this feed", "title": "attribution_text", "type": "string", "x-order": 45 }, "commercial_use_allowed": { "description": "Are feed consumers allowed to use the feed for commercial purposes?", "title": "commercial_use_allowed", "type": "string", "x-order": 41 }, "create_derived_product": { "description": "Are feed consumers allowed to create and share derived products from the feed?", "title": "create_derived_product", "type": "string", "x-order": 37 }, "redistribution_allowed": { "description": "Are feed consumers allowed to redistribute the feed in its entirety?", "title": "redistribution_allowed", "type": "string", "x-order": 39 }, "share_alike_optional": { "description": "Are feed consumers allowed to keep their modifications of this feed private?", "title": "share_alike_optional", "type": "string", "x-order": 43 }, "spdx_identifier": { "description": "SPDX identifier for a common license. See https://spdx.org/licenses/", "title": "spdx_identifier", "type": "string", "x-order": 31 }, "url": { "description": "URL for a custom license", "title": "url", "type": "string", "x-order": 33 }, "use_without_attribution": { "description": "Are feed consumers allowed to use the feed contents without including attribution text in their app or map?", "title": "use_without_attribution", "type": "string", "x-order": 35 } }, "title": "license", "type": "object", "x-graphql-type": "FeedLicense", "x-order": 48 }, "name": { "description": "A common name for this feed. Optional. Alternatively use `associated_operators[].name`", "nullable": true, "title": "name", "type": "string", "x-order": 6 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 8 }, "spec": { "description": "Type of feed", "enum": [ "GTFS", "GTFS_RT", "GBFS", "MDS" ], "nullable": true, "title": "spec", "type": "object", "x-graphql-type": "FeedSpecTypes", "x-order": 4 }, "urls": { "description": "URLs associated with this feed", "nullable": true, "properties": { "gbfs_auto_discovery": { "description": "URL for GBFS feed `gbfs.json` auto-discovery file", "title": "gbfs_auto_discovery", "type": "string", "x-order": 25 }, "mds_provider": { "description": "URL for MDS feed provider endpoint", "title": "mds_provider", "type": "string", "x-order": 27 }, "realtime_alerts": { "description": "URL for GTFS-RT Alert messages", "title": "realtime_alerts", "type": "string", "x-order": 23 }, "realtime_trip_updates": { "description": "URL for GTFS-RT TripUpdate messages", "title": "realtime_trip_updates", "type": "string", "x-order": 21 }, "realtime_vehicle_positions": { "description": "URL for GTFS-RT VehiclePosition messages", "title": "realtime_vehicle_positions", "type": "string", "x-order": 19 }, "static_current": { "description": "URL for the static feed that represents today's service", "title": "static_current", "type": "string", "x-order": 13 }, "static_historic": { "description": "URLs for static feeds that represent past service that is no longer in effect", "items": { "type": "object", "x-graphql-type": "String", "x-order": 15 }, "title": "static_historic", "type": "array", "x-graphql-type": "String", "x-order": 15 }, "static_planned": { "description": "URLs for static feeds that represent service planned for upcoming dates. Typically used to represent calendar/service changes that will take effect few weeks or months in the future", "items": { "type": "object", "x-graphql-type": "String", "x-order": 17 }, "title": "static_planned", "type": "array", "x-graphql-type": "String", "x-order": 17 } }, "title": "urls", "type": "object", "x-graphql-type": "FeedUrls", "x-order": 28 } }, "type": "object", "x-graphql-type": "Feed", "x-order": 95 }, "title": "feeds", "type": "array", "x-graphql-type": "Feed", "x-order": 95 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Feeds" } }, "/feeds/{feed_key}/download_latest_feed_version": { "get": { "description": "Download the latest feed version GTFS zip for this feed, if redistribution is allowed by the source feed's license", "parameters": [ { "description": "Feed lookup key; can be an integer ID or Onestop ID value", "in": "path", "name": "feed_key", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Download latest feed version", "x-required-role": "tl_download_fv_current" } }, "/feeds/{feed_key}/download_latest_rt/{rt_type}.{format}": { "get": { "description": "Download the latest snapshot of the specified GTFS Realtime feed, if redistribution is allowed by the source feed's license. Returns 404 if feed or message not found, 401 if redistribution not allowed.", "parameters": [ { "description": "Feed lookup key; can be an integer ID or Onestop ID value", "in": "path", "name": "feed_key", "required": true, "schema": { "type": "string" } }, { "description": "GTFS Realtime message types to download", "in": "path", "name": "rt_type", "required": true, "schema": { "enum": [ "alerts", "trip_updates", "vehicle_positions" ], "type": "string" } }, { "description": "Output format (JSON, Protocol Buffers, or GeoJSON for vehicle positions)", "in": "path", "name": "format", "required": true, "schema": { "enum": [ "json", "pb", "geojson", "geojsonl" ], "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "type": "object" } }, "application/octet-stream": { "schema": { "format": "binary", "type": "string" } } }, "description": "Success" }, "401": { "description": "Not authorized - feed redistribution not allowed" }, "404": { "description": "Not found - feed or real-time message not found" } }, "summary": "Download latest GTFS Realtime feed data" } }, "/onestop_id/{onestop_id}": { "get": { "parameters": [ { "description": "Onestop ID lookup key", "in": "path", "name": "onestop_id", "required": true, "schema": { "type": "string" } } ], "responses": { "302": { "description": "Redirect to entity by Onestop ID" }, "404": { "description": "Onestop ID not found or invalid format" } }, "summary": "Onestop ID Entity Redirect" } }, "/operators": { "get": { "parameters": [ { "description": "Search for operators with a tag. Combine with tag_value also query for the value of the tag.", "in": "query", "name": "tag_key", "schema": { "type": "string" }, "x-example-requests": [ { "description": "tag_key=us_ntd_id", "url": "tag_key=us_ntd_id" } ] }, { "description": "Search for feeds tagged with a given value. Must be combined with tag_key.", "in": "query", "name": "tag_value", "schema": { "type": "string" }, "x-example-requests": [ { "description": "tag_key=us_ntd_id\u0026tag_value=40029", "url": "tag_key=us_ntd_id\u0026tag_value=40029" } ] }, { "$ref": "#/components/parameters/onestopParam", "x-example-requests": [ { "description": "onestop_id=o-9q9-caltrain", "url": "onestop_id=o-9q9-caltrain" } ] }, { "$ref": "#/components/parameters/feedParam", "x-example-requests": [ { "description": "feed_onestop_id=f-sf~bay~area~rg", "url": "feed_onestop_id=f-sf~bay~area~rg" } ] }, { "$ref": "#/components/parameters/searchParam", "x-example-requests": [ { "description": "search=bart", "url": "search=bart" } ] }, { "$ref": "#/components/parameters/includeAlertsParam" }, { "$ref": "#/components/parameters/idParam" }, { "$ref": "#/components/parameters/afterParam" }, { "$ref": "#/components/parameters/limitParam" }, { "$ref": "#/components/parameters/adm0NameParam", "x-example-requests": [ { "description": "adm0_name=Mexico", "url": "adm0_name=Mexico" } ] }, { "$ref": "#/components/parameters/adm0IsoParam", "x-example-requests": [ { "description": "adm0_iso=US", "url": "adm0_iso=US" } ] }, { "$ref": "#/components/parameters/adm1NameParam", "x-example-requests": [ { "description": "adm1_name=California", "url": "adm1_name=California" } ] }, { "$ref": "#/components/parameters/adm1IsoParam", "x-example-requests": [ { "description": "adm1_iso=US-CA", "url": "adm1_iso=US-CA" } ] }, { "$ref": "#/components/parameters/cityNameParam", "x-example-requests": [ { "description": "city_name=Oakland", "url": "city_name=Oakland" } ] }, { "$ref": "#/components/parameters/radiusParam", "x-description": "Search for operators geographically, based on stops at this location; radius is in meters, requires lon and lat", "x-example-requests": [ { "description": "lon=-122.3\u0026lat=37.8\u0026radius=1000", "url": "lon=-122.3\u0026lat=37.8\u0026radius=1000" } ] }, { "$ref": "#/components/parameters/lonParam" }, { "$ref": "#/components/parameters/latParam" }, { "$ref": "#/components/parameters/bboxParam", "x-example-requests": [ { "description": "bbox=-122.269,37.807,-122.267,37.808", "url": "bbox=-122.269,37.807,-122.267,37.808" } ] }, { "$ref": "#/components/parameters/licenseCommercialUseAllowedParam" }, { "$ref": "#/components/parameters/licenseShareAlikeOptionalParam" }, { "$ref": "#/components/parameters/licenseCreateDerivedProductParam" }, { "$ref": "#/components/parameters/licenseRedistributionAllowedParam" }, { "$ref": "#/components/parameters/licenseUseWithoutAttributionParam" } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "operators": { "description": "Operators", "items": { "properties": { "agencies": { "description": "Currently imported and active agencies associated with this operator", "items": { "properties": { "agency_id": { "description": "GTFS agency.agency_id", "title": "agency_id", "type": "string", "x-order": 27 }, "agency_name": { "description": "GTFS agency.agency_name", "title": "agency_name", "type": "string", "x-order": 29 }, "alerts": { "description": "GTFS-RT alerts for this agency", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 74 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 72 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 75 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 75 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 35 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 54 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 56 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 57 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 57 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 37 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 48 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 50 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 51 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 51 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 39 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 66 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 68 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 69 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 69 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 60 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 62 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 63 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 63 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 42 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 44 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 45 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 45 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 76 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 76 }, "geometry": { "description": "Geometry for this agency, generated as the convex hull of all stops", "nullable": true, "title": "geometry", "x-order": 31 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 25 }, "places": { "description": "Places associated with this agency through a matching process", "items": { "properties": { "adm0_name": { "description": "Best-matched country name", "nullable": true, "title": "adm0_name", "type": "string", "x-order": 81 }, "adm1_name": { "description": "Best-matched state or province name", "nullable": true, "title": "adm1_name", "type": "string", "x-order": 83 }, "city_name": { "description": "Best-matched city name", "nullable": true, "title": "city_name", "type": "string", "x-order": 79 } }, "type": "object", "x-graphql-type": "AgencyPlace", "x-order": 84 }, "nullable": true, "title": "places", "type": "array", "x-graphql-type": "AgencyPlace", "x-order": 84 } }, "type": "object", "x-graphql-type": "Agency", "x-order": 85 }, "nullable": true, "title": "agencies", "type": "array", "x-graphql-type": "Agency", "x-order": 85 }, "feeds": { "description": "Feeds associated with this operator", "items": { "properties": { "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 15 }, "name": { "description": "A common name for this feed. Optional. Alternatively use `associated_operators[].name`", "nullable": true, "title": "name", "type": "string", "x-order": 19 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 17 }, "spec": { "description": "Type of feed", "enum": [ "GTFS", "GTFS_RT", "GBFS", "MDS" ], "nullable": true, "title": "spec", "type": "object", "x-graphql-type": "FeedSpecTypes", "x-order": 21 } }, "type": "object", "x-graphql-type": "Feed", "x-order": 22 }, "nullable": true, "title": "feeds", "type": "array", "x-graphql-type": "Feed", "x-order": 22 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "name": { "description": "Operator name", "nullable": true, "title": "name", "type": "string", "x-order": 6 }, "onestop_id": { "description": "OnestopID for this operator", "nullable": true, "title": "onestop_id", "type": "string", "x-order": 4 }, "short_name": { "description": "Operator short name, if available", "nullable": true, "title": "short_name", "type": "string", "x-order": 8 }, "tags": { "description": "Source DMFR tag data", "nullable": true, "title": "tags", "type": "object", "x-order": 12 }, "website": { "description": "Operator website, if available", "nullable": true, "title": "website", "type": "string", "x-order": 10 } }, "type": "object", "x-graphql-type": "Operator", "x-order": 86 }, "title": "operators", "type": "array", "x-graphql-type": "Operator", "x-order": 86 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Search for operators", "x-alternates": [ { "method": "GET", "path": "/operators.{format}", "summary": "Request operators in specified format" }, { "method": "GET", "path": "/operators/{onestop_id}", "summary": "Request an operator by Onestop ID" }, { "method": "GET", "path": "/operators/{onestop_id}.format", "summary": "Request an operator by Onestop ID in specified format" } ] } }, "/operators/{operator_key}": { "get": { "parameters": [ { "description": "Operator lookup key; can be a Onestop ID or an internal database integer ID ", "in": "path", "name": "operator_key", "required": true, "schema": { "type": "string" }, "x-example-requests": [ { "description": "o-9q9-caltrain", "url": "o-9q9-caltrain" } ] }, { "$ref": "#/components/parameters/includeAlertsParam" }, { "$ref": "#/components/parameters/limitParam", "x-example-requests": [ { "description": "limit=1", "url": "limit=1" } ] }, { "$ref": "#/components/parameters/formatParam", "x-example-requests": [ { "description": "format=geojson", "url": "format=geojson" } ] } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "operators": { "description": "Operators", "items": { "properties": { "agencies": { "description": "Currently imported and active agencies associated with this operator", "items": { "properties": { "agency_id": { "description": "GTFS agency.agency_id", "title": "agency_id", "type": "string", "x-order": 27 }, "agency_name": { "description": "GTFS agency.agency_name", "title": "agency_name", "type": "string", "x-order": 29 }, "alerts": { "description": "GTFS-RT alerts for this agency", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 74 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 72 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 75 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 75 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 35 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 54 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 56 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 57 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 57 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 37 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 48 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 50 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 51 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 51 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 39 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 66 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 68 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 69 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 69 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 60 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 62 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 63 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 63 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 42 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 44 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 45 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 45 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 76 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 76 }, "geometry": { "description": "Geometry for this agency, generated as the convex hull of all stops", "nullable": true, "title": "geometry", "x-order": 31 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 25 }, "places": { "description": "Places associated with this agency through a matching process", "items": { "properties": { "adm0_name": { "description": "Best-matched country name", "nullable": true, "title": "adm0_name", "type": "string", "x-order": 81 }, "adm1_name": { "description": "Best-matched state or province name", "nullable": true, "title": "adm1_name", "type": "string", "x-order": 83 }, "city_name": { "description": "Best-matched city name", "nullable": true, "title": "city_name", "type": "string", "x-order": 79 } }, "type": "object", "x-graphql-type": "AgencyPlace", "x-order": 84 }, "nullable": true, "title": "places", "type": "array", "x-graphql-type": "AgencyPlace", "x-order": 84 } }, "type": "object", "x-graphql-type": "Agency", "x-order": 85 }, "nullable": true, "title": "agencies", "type": "array", "x-graphql-type": "Agency", "x-order": 85 }, "feeds": { "description": "Feeds associated with this operator", "items": { "properties": { "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 15 }, "name": { "description": "A common name for this feed. Optional. Alternatively use `associated_operators[].name`", "nullable": true, "title": "name", "type": "string", "x-order": 19 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 17 }, "spec": { "description": "Type of feed", "enum": [ "GTFS", "GTFS_RT", "GBFS", "MDS" ], "nullable": true, "title": "spec", "type": "object", "x-graphql-type": "FeedSpecTypes", "x-order": 21 } }, "type": "object", "x-graphql-type": "Feed", "x-order": 22 }, "nullable": true, "title": "feeds", "type": "array", "x-graphql-type": "Feed", "x-order": 22 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "name": { "description": "Operator name", "nullable": true, "title": "name", "type": "string", "x-order": 6 }, "onestop_id": { "description": "OnestopID for this operator", "nullable": true, "title": "onestop_id", "type": "string", "x-order": 4 }, "short_name": { "description": "Operator short name, if available", "nullable": true, "title": "short_name", "type": "string", "x-order": 8 }, "tags": { "description": "Source DMFR tag data", "nullable": true, "title": "tags", "type": "object", "x-order": 12 }, "website": { "description": "Operator website, if available", "nullable": true, "title": "website", "type": "string", "x-order": 10 } }, "type": "object", "x-graphql-type": "Operator", "x-order": 86 }, "title": "operators", "type": "array", "x-graphql-type": "Operator", "x-order": 86 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Operators" } }, "/routes": { "get": { "parameters": [ { "description": "Route lookup key; can be an integer ID, a '\u003cfeed onestop_id\u003e:\u003cgtfs route_id\u003e' key, or a Onestop ID", "in": "query", "name": "route_key", "schema": { "type": "string" } }, { "description": "Agency lookup key; can be an integer ID, a '\u003cfeed onestop_id\u003e:\u003cgtfs agency_id\u003e' key, or a Onestop ID", "in": "query", "name": "agency_key", "schema": { "type": "string" } }, { "description": "Search for records with this GTFS route_id", "in": "query", "name": "route_id", "schema": { "type": "string" }, "x-example-requests": [ { "description": "route_id=Bu-130", "url": "feed_onestop_id=f-sf~bay~area~rg\u0026route_id=AC:10" } ] }, { "description": "Search for routes with this GTFS route (vehicle) type", "in": "query", "name": "route_type", "schema": { "type": "integer" }, "x-example-requests": [ { "description": "route_type=1", "url": "route_type=1" } ] }, { "description": "Search for routes with these GTFS route (vehicle) types. Accepts comma separated values.", "in": "query", "name": "route_types", "schema": { "type": "string" }, "x-example-requests": [ { "description": "route_types=1,2", "url": "route_types=1,2" } ] }, { "description": "Search for records by operator OnestopID", "in": "query", "name": "operator_onestop_id", "schema": { "type": "string" }, "x-example-requests": [ { "description": "operator_onestop_id=...", "url": "operator_onestop_id=o-9q9-caltrain" } ] }, { "$ref": "#/components/parameters/includeAlertsParam" }, { "description": "Include route geometry", "in": "query", "name": "include_geometry", "schema": { "enum": [ "true", "false" ], "type": "string" }, "x-example-requests": [ { "description": "include_geometry=true", "url": "include_geometry=true" } ] }, { "description": "Include route stops", "in": "query", "name": "include_stops", "schema": { "enum": [ "true", "false" ], "type": "string" }, "x-example-requests": [ { "description": "include_stops=true", "url": "include_stops=true" } ] }, { "$ref": "#/components/parameters/idParam" }, { "$ref": "#/components/parameters/afterParam" }, { "$ref": "#/components/parameters/limitParam", "x-example-requests": [ { "description": "limit=1", "url": "limit=1" } ] }, { "$ref": "#/components/parameters/formatParam", "x-example-requests": [ { "description": "format=png", "url": "?format=png\u0026feed_onestop_id=f-dr5r7-nycdotsiferry" } ] }, { "$ref": "#/components/parameters/searchParam", "x-example-requests": [ { "description": "search=daly+city", "url": "?search=daly+city" } ] }, { "$ref": "#/components/parameters/onestopParam", "x-example-requests": [ { "description": "onestop_id=r-9q9j-l1", "url": "onestop_id=r-9q9j-l1" } ] }, { "$ref": "#/components/parameters/sha1Param", "x-example-requests": [ { "description": "feed_version_sha1=041ffeec...", "url": "feed_version_sha1=041ffeec98316e560bc2b91960f7150ad329bd5f" } ] }, { "$ref": "#/components/parameters/feedParam", "x-example-requests": [ { "description": "feed_onestop_id=f-sf~bay~area~rg", "url": "feed_onestop_id=f-sf~bay~area~rg" } ] }, { "$ref": "#/components/parameters/radiusParam", "x-description": "Search for routes geographically, based on stops at this location; radius is in meters, requires lon and lat", "x-example-requests": [ { "description": "lon=-122\u0026lat=37\u0026radius=1000", "url": "lon=-122.3\u0026lat=37.8\u0026radius=1000" } ] }, { "$ref": "#/components/parameters/latParam" }, { "$ref": "#/components/parameters/lonParam" }, { "$ref": "#/components/parameters/bboxParam", "x-example-requests": [ { "description": "bbox=-122.269,37.807,-122.267,37.808", "url": "bbox=-122.269,37.807,-122.267,37.808" } ] }, { "$ref": "#/components/parameters/licenseCommercialUseAllowedParam" }, { "$ref": "#/components/parameters/licenseShareAlikeOptionalParam" }, { "$ref": "#/components/parameters/licenseCreateDerivedProductParam" }, { "$ref": "#/components/parameters/licenseRedistributionAllowedParam" }, { "$ref": "#/components/parameters/licenseUseWithoutAttributionParam" } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "routes": { "description": "Currently imported routes. If no feed version is specified, defaults to active feed versions.", "items": { "properties": { "agency": { "description": "Agency associated with this route", "properties": { "agency_id": { "description": "GTFS agency.agency_id", "title": "agency_id", "type": "string", "x-order": 78 }, "agency_name": { "description": "GTFS agency.agency_name", "title": "agency_name", "type": "string", "x-order": 80 }, "alerts": { "description": "GTFS-RT alerts for this agency", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 125 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 123 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 126 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 126 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 86 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 105 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 107 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 108 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 108 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 88 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 99 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 101 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 102 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 102 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 90 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 117 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 119 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 120 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 120 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 111 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 113 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 114 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 114 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 93 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 95 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 96 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 96 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 127 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 127 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 76 }, "onestop_id": { "description": "OnestopID for this agency (or its associated operator)", "title": "onestop_id", "type": "string", "x-order": 82 } }, "title": "agency", "type": "object", "x-graphql-type": "Agency", "x-order": 128 }, "alerts": { "description": "GTFS-RT alerts for this route", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 71 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 69 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 72 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 72 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 32 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 51 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 53 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 54 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 54 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 34 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 45 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 47 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 48 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 48 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 36 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 63 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 65 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 66 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 66 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 57 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 59 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 60 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 60 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 39 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 41 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 42 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 42 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 73 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 73 }, "continuous_drop_off": { "description": "GTFS routes.continuous_drop_off", "nullable": true, "title": "continuous_drop_off", "type": "integer", "x-order": 24 }, "continuous_pickup": { "description": "GTFS routes.continuous_pickup", "nullable": true, "title": "continuous_pickup", "type": "integer", "x-order": 22 }, "feed_version": { "description": "Source feed version for this entity", "properties": { "feed": { "description": "Feed associated with this feed version", "properties": { "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 138 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 140 } }, "title": "feed", "type": "object", "x-graphql-type": "Feed", "x-order": 141 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 135 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 131 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 133 } }, "title": "feed_version", "type": "object", "x-graphql-type": "FeedVersion", "x-order": 142 }, "geometry": { "description": "Representative geometry for this route", "nullable": true, "title": "geometry", "x-order": 28 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "onestop_id": { "description": "OnestopID for this route", "nullable": true, "title": "onestop_id", "type": "string", "x-order": 26 }, "route_color": { "description": "GTFS routes.route_color", "nullable": true, "title": "route_color", "type": "string", "x-order": 4 }, "route_desc": { "description": "GTFS routes.route_desc", "nullable": true, "title": "route_desc", "type": "string", "x-order": 6 }, "route_id": { "description": "GTFS routes.route_id", "title": "route_id", "type": "string", "x-order": 8 }, "route_long_name": { "description": "GTFS routes.route_long_name", "nullable": true, "title": "route_long_name", "type": "string", "x-order": 10 }, "route_short_name": { "description": "GTFS routes.route_short_name", "nullable": true, "title": "route_short_name", "type": "string", "x-order": 12 }, "route_sort_order": { "description": "GTFS routes.route_sort_order", "nullable": true, "title": "route_sort_order", "type": "integer", "x-order": 14 }, "route_stops": { "description": "Stops associated with this route", "items": { "properties": { "stop": { "description": "Associated stop", "properties": { "alerts": { "description": "GTFS-RT Alerts for this stop", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 195 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 193 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 196 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 196 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 156 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 175 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 177 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 178 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 178 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 158 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 169 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 171 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 172 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 172 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 160 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 187 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 189 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 190 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 190 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 181 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 183 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 184 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 184 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 163 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 165 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 166 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 166 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 197 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 197 }, "geometry": { "description": "Stop geometry", "title": "geometry", "x-order": 152 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 146 }, "stop_id": { "description": "GTFS stops.stop_id", "example": "400029", "title": "stop_id", "type": "string", "x-order": 148 }, "stop_name": { "description": "GTFS stops.stop_name", "example": "MADISON AV/E 68 ST", "nullable": true, "title": "stop_name", "type": "string", "x-order": 150 } }, "title": "stop", "type": "object", "x-graphql-type": "Stop", "x-order": 198 } }, "type": "object", "x-graphql-type": "RouteStop", "x-order": 199 }, "title": "route_stops", "type": "array", "x-graphql-type": "RouteStop", "x-order": 199 }, "route_text_color": { "description": "GTFS routes.route_text_color", "nullable": true, "title": "route_text_color", "type": "string", "x-order": 16 }, "route_type": { "description": "GTFS routes.route_type", "title": "route_type", "type": "integer", "x-order": 18 }, "route_url": { "description": "GTFS routes.route_url", "nullable": true, "title": "route_url", "type": "string", "x-order": 20 } }, "type": "object", "x-graphql-type": "Route", "x-order": 200 }, "title": "routes", "type": "array", "x-graphql-type": "Route", "x-order": 200 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Search for routes", "x-alternates": [ { "method": "GET", "path": "/routes.{format}", "summary": "Request routes in specified format" }, { "method": "GET", "path": "/routes/{route_key}", "summary": "Request a route by ID or Onestop ID" }, { "method": "GET", "path": "/routes/{route_key}.format", "summary": "Request a route by ID or Onestop ID in specified format" } ] } }, "/routes/{route_key}": { "get": { "parameters": [ { "description": "Route lookup key; can be an integer ID, a '\u003cfeed onestop_id\u003e:\u003cgtfs route_id\u003e' key, or a Onestop ID", "in": "path", "name": "route_key", "required": true, "schema": { "type": "string" } }, { "$ref": "#/components/parameters/limitParam" }, { "$ref": "#/components/parameters/formatParam" }, { "$ref": "#/components/parameters/includeAlertsParam" } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "routes": { "description": "Currently imported routes. If no feed version is specified, defaults to active feed versions.", "items": { "properties": { "agency": { "description": "Agency associated with this route", "properties": { "agency_id": { "description": "GTFS agency.agency_id", "title": "agency_id", "type": "string", "x-order": 78 }, "agency_name": { "description": "GTFS agency.agency_name", "title": "agency_name", "type": "string", "x-order": 80 }, "alerts": { "description": "GTFS-RT alerts for this agency", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 125 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 123 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 126 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 126 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 86 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 105 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 107 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 108 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 108 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 88 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 99 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 101 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 102 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 102 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 90 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 117 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 119 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 120 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 120 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 111 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 113 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 114 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 114 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 93 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 95 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 96 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 96 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 127 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 127 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 76 }, "onestop_id": { "description": "OnestopID for this agency (or its associated operator)", "title": "onestop_id", "type": "string", "x-order": 82 } }, "title": "agency", "type": "object", "x-graphql-type": "Agency", "x-order": 128 }, "alerts": { "description": "GTFS-RT alerts for this route", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 71 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 69 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 72 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 72 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 32 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 51 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 53 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 54 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 54 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 34 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 45 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 47 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 48 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 48 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 36 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 63 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 65 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 66 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 66 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 57 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 59 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 60 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 60 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 39 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 41 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 42 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 42 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 73 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 73 }, "continuous_drop_off": { "description": "GTFS routes.continuous_drop_off", "nullable": true, "title": "continuous_drop_off", "type": "integer", "x-order": 24 }, "continuous_pickup": { "description": "GTFS routes.continuous_pickup", "nullable": true, "title": "continuous_pickup", "type": "integer", "x-order": 22 }, "feed_version": { "description": "Source feed version for this entity", "properties": { "feed": { "description": "Feed associated with this feed version", "properties": { "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 138 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 140 } }, "title": "feed", "type": "object", "x-graphql-type": "Feed", "x-order": 141 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 135 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 131 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 133 } }, "title": "feed_version", "type": "object", "x-graphql-type": "FeedVersion", "x-order": 142 }, "geometry": { "description": "Representative geometry for this route", "nullable": true, "title": "geometry", "x-order": 28 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "onestop_id": { "description": "OnestopID for this route", "nullable": true, "title": "onestop_id", "type": "string", "x-order": 26 }, "route_color": { "description": "GTFS routes.route_color", "nullable": true, "title": "route_color", "type": "string", "x-order": 4 }, "route_desc": { "description": "GTFS routes.route_desc", "nullable": true, "title": "route_desc", "type": "string", "x-order": 6 }, "route_id": { "description": "GTFS routes.route_id", "title": "route_id", "type": "string", "x-order": 8 }, "route_long_name": { "description": "GTFS routes.route_long_name", "nullable": true, "title": "route_long_name", "type": "string", "x-order": 10 }, "route_short_name": { "description": "GTFS routes.route_short_name", "nullable": true, "title": "route_short_name", "type": "string", "x-order": 12 }, "route_sort_order": { "description": "GTFS routes.route_sort_order", "nullable": true, "title": "route_sort_order", "type": "integer", "x-order": 14 }, "route_stops": { "description": "Stops associated with this route", "items": { "properties": { "stop": { "description": "Associated stop", "properties": { "alerts": { "description": "GTFS-RT Alerts for this stop", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 195 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 193 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 196 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 196 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 156 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 175 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 177 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 178 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 178 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 158 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 169 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 171 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 172 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 172 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 160 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 187 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 189 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 190 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 190 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 181 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 183 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 184 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 184 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 163 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 165 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 166 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 166 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 197 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 197 }, "geometry": { "description": "Stop geometry", "title": "geometry", "x-order": 152 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 146 }, "stop_id": { "description": "GTFS stops.stop_id", "example": "400029", "title": "stop_id", "type": "string", "x-order": 148 }, "stop_name": { "description": "GTFS stops.stop_name", "example": "MADISON AV/E 68 ST", "nullable": true, "title": "stop_name", "type": "string", "x-order": 150 } }, "title": "stop", "type": "object", "x-graphql-type": "Stop", "x-order": 198 } }, "type": "object", "x-graphql-type": "RouteStop", "x-order": 199 }, "title": "route_stops", "type": "array", "x-graphql-type": "RouteStop", "x-order": 199 }, "route_text_color": { "description": "GTFS routes.route_text_color", "nullable": true, "title": "route_text_color", "type": "string", "x-order": 16 }, "route_type": { "description": "GTFS routes.route_type", "title": "route_type", "type": "integer", "x-order": 18 }, "route_url": { "description": "GTFS routes.route_url", "nullable": true, "title": "route_url", "type": "string", "x-order": 20 } }, "type": "object", "x-graphql-type": "Route", "x-order": 200 }, "title": "routes", "type": "array", "x-graphql-type": "Route", "x-order": 200 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Search for routes" } }, "/routes/{route_key}/trips": { "get": { "parameters": [ { "description": "Route lookup key; can be an integer ID, a '\u003cfeed onestop_id\u003e:\u003cgtfs route_id\u003e' key, or a Onestop ID", "in": "path", "name": "route_key", "required": true, "schema": { "type": "string" } }, { "description": "Search for trips active on this date", "in": "query", "name": "service_date", "schema": { "format": "date", "type": "string" }, "x-example-requests": [ { "description": "service_date=...", "url": "route_onestop_id=r-9q9j-l1\u0026service_date=2021-07-14" } ] }, { "description": "Search for records with this GTFS trip_id", "in": "query", "name": "trip_id", "schema": { "type": "string" }, "x-example-requests": [ { "description": "trip_id=305", "url": "route_onestop_id=r-9q9j-l1\u0026trip_id=305" } ] }, { "description": "Include shape geometry", "in": "query", "name": "include_geometry", "schema": { "enum": [ "true", "false" ], "type": "string" }, "x-example-requests": [ { "description": "include_geometry=true", "url": "route_onestop_id=r-9q9j-l1\u0026include_geometry=true" } ] }, { "description": "Use a fall-back service date if the requested service_date is outside the active service period of the feed version. The fall-back date is selected as the matching day-of-week in the week which provides the best level of scheduled service in the feed version. This value defaults to true.", "in": "query", "name": "use_service_window", "schema": { "enum": [ "true", "false" ], "type": "string" }, "x-example-requests": [ { "description": "use_service_window=false", "url": "route_onestop_id=r-9q9j-l1\u0026use_service_window=false" } ] }, { "$ref": "#/components/parameters/relativeDateParam", "x-example-requests": [ { "description": "relative_date=NEXT_MONDAY", "url": "route_onestop_id=r-9q9j-l1\u0026relative_date=NEXT_MONDAY" } ] }, { "$ref": "#/components/parameters/includeAlertsParam" }, { "$ref": "#/components/parameters/idParam" }, { "$ref": "#/components/parameters/afterParam" }, { "$ref": "#/components/parameters/limitParam", "x-example-requests": [ { "description": "limit=1", "url": "route_onestop_id=r-9q9j-l1\u0026limit=10\u0026limit=1" } ] }, { "$ref": "#/components/parameters/formatParam", "x-example-requests": [ { "description": "format=geojson", "url": "route_onestop_id=r-9q9j-l1\u0026limit=10\u0026format=geojson" } ] }, { "$ref": "#/components/parameters/sha1Param", "x-example-requests": [ { "description": "feed_version_sha1=041ffeec...", "url": "route_onestop_id=r-9q9j-l1\u0026feed_version_sha1=041ffeec98316e560bc2b91960f7150ad329bd5f" } ] }, { "$ref": "#/components/parameters/feedParam", "x-example-requests": [ { "description": "feed_onestop_id=f-sf~bay~area~rg", "url": "route_onestop_id=r-9q9j-l1\u0026feed_onestop_id=f-sf~bay~area~rg" } ] }, { "$ref": "#/components/parameters/latParam" }, { "$ref": "#/components/parameters/lonParam" }, { "$ref": "#/components/parameters/licenseCommercialUseAllowedParam" }, { "$ref": "#/components/parameters/licenseShareAlikeOptionalParam" }, { "$ref": "#/components/parameters/licenseCreateDerivedProductParam" }, { "$ref": "#/components/parameters/licenseRedistributionAllowedParam" }, { "$ref": "#/components/parameters/licenseUseWithoutAttributionParam" } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "trips": { "description": "Currently imported trips. If no feed version is specified, defaults to active feed versions.", "items": { "properties": { "alerts": { "description": "GTFS-RT alerts for this trip", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 119 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 117 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 120 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 120 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 80 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 99 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 101 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 102 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 102 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 82 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 93 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 95 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 96 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 96 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 84 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 111 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 113 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 114 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 114 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 105 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 107 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 108 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 108 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 87 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 89 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 90 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 90 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 121 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 121 }, "bikes_allowed": { "description": "GTFS trips.bikes_allowed", "nullable": true, "title": "bikes_allowed", "type": "integer", "x-order": 16 }, "block_id": { "description": "GTFS trips.block_id", "nullable": true, "title": "block_id", "type": "string", "x-order": 12 }, "calendar": { "description": "Calendar for this trip", "properties": { "added_dates": { "description": "Added dates, derived from GTFS calendar_dates", "items": { "type": "object", "x-graphql-type": "Date", "x-order": 63 }, "title": "added_dates", "type": "array", "x-graphql-type": "Date", "x-order": 63 }, "end_date": { "description": "GTFS calendar.end_date", "example": "2019-11-15", "format": "date", "title": "end_date", "type": "string", "x-order": 47 }, "friday": { "description": "GTFS calendar.friday", "title": "friday", "type": "integer", "x-order": 57 }, "monday": { "description": "GTFS calendar.monday", "title": "monday", "type": "integer", "x-order": 49 }, "removed_dates": { "description": "Removed dates, derived from GTFS calendar_dates", "items": { "type": "object", "x-graphql-type": "Date", "x-order": 65 }, "title": "removed_dates", "type": "array", "x-graphql-type": "Date", "x-order": 65 }, "saturday": { "description": "GTFS calendar.saturday", "title": "saturday", "type": "integer", "x-order": 59 }, "service_id": { "description": "GTFS calendar.service_id", "title": "service_id", "type": "string", "x-order": 43 }, "start_date": { "description": "GTFS calendar.start_date", "example": "2019-11-15", "format": "date", "title": "start_date", "type": "string", "x-order": 45 }, "sunday": { "description": "GTFS calendar.sunday", "title": "sunday", "type": "integer", "x-order": 61 }, "thursday": { "description": "GTFS calendar.thursday", "title": "thursday", "type": "integer", "x-order": 55 }, "tuesday": { "description": "GTFS calendar.tuesday", "title": "tuesday", "type": "integer", "x-order": 51 }, "wednesday": { "description": "GTFS calendar.wednesday", "title": "wednesday", "type": "integer", "x-order": 53 } }, "title": "calendar", "type": "object", "x-graphql-type": "Calendar", "x-order": 66 }, "direction_id": { "description": "GTFS trips.direction_id", "nullable": true, "title": "direction_id", "type": "integer", "x-order": 10 }, "feed_version": { "description": "Feed version for this entity", "properties": { "feed": { "description": "Feed associated with this feed version", "properties": { "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 28 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 30 } }, "title": "feed", "type": "object", "x-graphql-type": "Feed", "x-order": 31 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 25 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 23 } }, "title": "feed_version", "type": "object", "x-graphql-type": "FeedVersion", "x-order": 32 }, "frequencies": { "description": "Frequencies for this trip", "items": { "properties": { "end_time": { "description": "GTFS frequencies.end_time", "example": "15:21:04", "format": "hms", "title": "end_time", "type": "string", "x-order": 71 }, "exact_times": { "description": "GTFS frequencies.exact_times", "nullable": true, "title": "exact_times", "type": "integer", "x-order": 75 }, "headway_secs": { "description": "GTFS frequencies.headway_secs", "title": "headway_secs", "type": "integer", "x-order": 73 }, "start_time": { "description": "GTFS frequencies.start_time", "example": "15:21:04", "format": "hms", "title": "start_time", "type": "string", "x-order": 69 } }, "type": "object", "x-graphql-type": "Frequency", "x-order": 76 }, "title": "frequencies", "type": "array", "x-graphql-type": "Frequency", "x-order": 76 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "route": { "description": "Route for this trip", "properties": { "agency": { "description": "Agency associated with this route", "properties": { "agency_id": { "description": "GTFS agency.agency_id", "title": "agency_id", "type": "string", "x-order": 182 }, "agency_name": { "description": "GTFS agency.agency_name", "title": "agency_name", "type": "string", "x-order": 184 }, "alerts": { "description": "GTFS-RT alerts for this agency", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 229 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 227 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 230 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 230 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 190 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 209 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 211 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 212 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 212 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 192 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 203 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 205 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 206 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 206 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 194 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 221 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 223 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 224 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 224 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 215 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 217 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 218 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 218 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 197 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 199 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 200 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 200 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 231 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 231 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 180 }, "onestop_id": { "description": "OnestopID for this agency (or its associated operator)", "title": "onestop_id", "type": "string", "x-order": 186 } }, "title": "agency", "type": "object", "x-graphql-type": "Agency", "x-order": 232 }, "alerts": { "description": "GTFS-RT alerts for this route", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 175 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 173 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 176 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 176 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 136 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 155 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 157 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 158 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 158 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 138 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 149 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 151 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 152 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 152 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 140 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 167 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 169 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 170 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 170 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 161 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 163 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 164 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 164 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 143 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 145 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 146 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 146 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 177 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 177 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 124 }, "onestop_id": { "description": "OnestopID for this route", "nullable": true, "title": "onestop_id", "type": "string", "x-order": 126 }, "route_id": { "description": "GTFS routes.route_id", "title": "route_id", "type": "string", "x-order": 128 }, "route_long_name": { "description": "GTFS routes.route_long_name", "nullable": true, "title": "route_long_name", "type": "string", "x-order": 132 }, "route_short_name": { "description": "GTFS routes.route_short_name", "nullable": true, "title": "route_short_name", "type": "string", "x-order": 130 } }, "title": "route", "type": "object", "x-graphql-type": "Route", "x-order": 233 }, "schedule_relationship": { "description": "A status flag for real-time information about this trip.\n\n If no real-time information is available, the value will be STATIC and the estimated arrival/departure times will be empty. A trip with real-time information available will be SCHEDULED; a canceled trip will be CANCELED, and an added trip that is not present in the static GTFS will be ADDED.", "enum": [ "SCHEDULED", "ADDED", "UNSCHEDULED", "CANCELED", "STATIC", "SKIPPED", "NO_DATA", "REPLACEMENT", "DUPLICATED", "DELETED" ], "nullable": true, "title": "schedule_relationship", "type": "object", "x-graphql-type": "ScheduleRelationship", "x-order": 18 }, "shape": { "description": "Shape for this trip", "nullable": true, "properties": { "generated": { "description": "Was this geometry automatically generated from stop locations?", "title": "generated", "type": "boolean", "x-order": 39 }, "geometry": { "description": "Geometry for this shape", "title": "geometry", "x-order": 37 }, "shape_id": { "description": "GTFS shapes.shape_id", "title": "shape_id", "type": "string", "x-order": 35 } }, "title": "shape", "type": "object", "x-graphql-type": "Shape", "x-order": 40 }, "stop_pattern_id": { "description": "Calculated stop pattern ID; an integer scoped to the feed version", "title": "stop_pattern_id", "type": "integer", "x-order": 20 }, "stop_times": { "description": "Stop times for this trip", "items": { "properties": { "arrival_time": { "description": "GTFS stop_times.arrival_time", "example": "15:21:04", "format": "hms", "nullable": true, "title": "arrival_time", "type": "string", "x-order": 236 }, "departure_time": { "description": "GTFS stop_times.departure_time", "example": "15:21:04", "format": "hms", "nullable": true, "title": "departure_time", "type": "string", "x-order": 238 }, "drop_off_type": { "description": "GTFS stop_times.drop_off_type", "nullable": true, "title": "drop_off_type", "type": "integer", "x-order": 246 }, "interpolated": { "description": "Set if this arrival/departure time was interpolated during import", "nullable": true, "title": "interpolated", "type": "integer", "x-order": 250 }, "pickup_type": { "description": "GTFS stop_times.pickup_type", "nullable": true, "title": "pickup_type", "type": "integer", "x-order": 244 }, "stop": { "description": "Stop associated with this stop time", "properties": { "alerts": { "description": "GTFS-RT Alerts for this stop", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 302 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 300 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 303 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 303 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 263 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 282 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 284 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 285 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 285 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 265 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 276 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 278 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 279 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 279 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 267 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 294 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 296 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 297 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 297 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 288 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 290 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 291 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 291 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 270 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 272 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 273 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 273 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 304 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 304 }, "geometry": { "description": "Stop geometry", "title": "geometry", "x-order": 259 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 253 }, "stop_id": { "description": "GTFS stops.stop_id", "example": "400029", "title": "stop_id", "type": "string", "x-order": 255 }, "stop_name": { "description": "GTFS stops.stop_name", "example": "MADISON AV/E 68 ST", "nullable": true, "title": "stop_name", "type": "string", "x-order": 257 } }, "title": "stop", "type": "object", "x-graphql-type": "Stop", "x-order": 305 }, "stop_headsign": { "description": "GTFS stop_times.stop_headsign", "nullable": true, "title": "stop_headsign", "type": "string", "x-order": 242 }, "stop_sequence": { "description": "GTFS stop_times.stop_sequence", "title": "stop_sequence", "type": "integer", "x-order": 240 }, "timepoint": { "description": "GTFS stop_times.timepoint", "nullable": true, "title": "timepoint", "type": "integer", "x-order": 248 } }, "type": "object", "x-graphql-type": "StopTime", "x-order": 306 }, "title": "stop_times", "type": "array", "x-graphql-type": "StopTime", "x-order": 306 }, "trip_headsign": { "description": "GTFS trips.trip_headsign", "nullable": true, "title": "trip_headsign", "type": "string", "x-order": 6 }, "trip_id": { "description": "GTFS trips.trip_id", "title": "trip_id", "type": "string", "x-order": 4 }, "trip_short_name": { "description": "GTFS trips.trip_short_name", "nullable": true, "title": "trip_short_name", "type": "string", "x-order": 8 }, "wheelchair_accessible": { "description": "GTFS trips.wheelchair_accessible", "nullable": true, "title": "wheelchair_accessible", "type": "integer", "x-order": 14 } }, "type": "object", "x-graphql-type": "Trip", "x-order": 307 }, "title": "trips", "type": "array", "x-graphql-type": "Trip", "x-order": 307 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Search for trips", "x-alternates": [ { "method": "GET", "path": "/routes/{route_key}/trips.{format}", "summary": "Request trips in specified format" }, { "method": "GET", "path": "/routes/{route_key}/trips/{id}", "summary": "Request a trip by ID" }, { "method": "GET", "path": "/routes/{route_key}/trips/{id}.format", "summary": "Request a trip by ID in specified format" } ] } }, "/routes/{route_key}/trips/{id}": { "get": { "parameters": [ { "description": "Route lookup key; can be an integer ID, a '\u003cfeed onestop_id\u003e:\u003cgtfs route_id\u003e' key, or a Onestop ID", "in": "path", "name": "route_key", "required": true, "schema": { "type": "string" } }, { "description": "Trip ID", "in": "path", "name": "id", "required": true, "schema": { "type": "integer" } }, { "description": "Include shape geometry", "in": "query", "name": "include_geometry", "schema": { "enum": [ "true", "false" ], "type": "string" }, "x-example-requests": [ { "description": "include_geometry=true", "url": "route_onestop_id=r-9q9j-l1\u0026include_geometry=true" } ] }, { "$ref": "#/components/parameters/includeAlertsParam" }, { "$ref": "#/components/parameters/limitParam", "x-example-requests": [ { "description": "limit=1", "url": "route_onestop_id=r-9q9j-l1\u0026limit=1" } ] }, { "$ref": "#/components/parameters/formatParam", "x-example-requests": [ { "description": "format=geojson", "url": "route_onestop_id=r-9q9j-l1\u0026format=geojson" } ] } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "trips": { "description": "Currently imported trips. If no feed version is specified, defaults to active feed versions.", "items": { "properties": { "alerts": { "description": "GTFS-RT alerts for this trip", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 119 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 117 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 120 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 120 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 80 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 99 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 101 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 102 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 102 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 82 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 93 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 95 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 96 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 96 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 84 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 111 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 113 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 114 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 114 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 105 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 107 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 108 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 108 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 87 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 89 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 90 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 90 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 121 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 121 }, "bikes_allowed": { "description": "GTFS trips.bikes_allowed", "nullable": true, "title": "bikes_allowed", "type": "integer", "x-order": 16 }, "block_id": { "description": "GTFS trips.block_id", "nullable": true, "title": "block_id", "type": "string", "x-order": 12 }, "calendar": { "description": "Calendar for this trip", "properties": { "added_dates": { "description": "Added dates, derived from GTFS calendar_dates", "items": { "type": "object", "x-graphql-type": "Date", "x-order": 63 }, "title": "added_dates", "type": "array", "x-graphql-type": "Date", "x-order": 63 }, "end_date": { "description": "GTFS calendar.end_date", "example": "2019-11-15", "format": "date", "title": "end_date", "type": "string", "x-order": 47 }, "friday": { "description": "GTFS calendar.friday", "title": "friday", "type": "integer", "x-order": 57 }, "monday": { "description": "GTFS calendar.monday", "title": "monday", "type": "integer", "x-order": 49 }, "removed_dates": { "description": "Removed dates, derived from GTFS calendar_dates", "items": { "type": "object", "x-graphql-type": "Date", "x-order": 65 }, "title": "removed_dates", "type": "array", "x-graphql-type": "Date", "x-order": 65 }, "saturday": { "description": "GTFS calendar.saturday", "title": "saturday", "type": "integer", "x-order": 59 }, "service_id": { "description": "GTFS calendar.service_id", "title": "service_id", "type": "string", "x-order": 43 }, "start_date": { "description": "GTFS calendar.start_date", "example": "2019-11-15", "format": "date", "title": "start_date", "type": "string", "x-order": 45 }, "sunday": { "description": "GTFS calendar.sunday", "title": "sunday", "type": "integer", "x-order": 61 }, "thursday": { "description": "GTFS calendar.thursday", "title": "thursday", "type": "integer", "x-order": 55 }, "tuesday": { "description": "GTFS calendar.tuesday", "title": "tuesday", "type": "integer", "x-order": 51 }, "wednesday": { "description": "GTFS calendar.wednesday", "title": "wednesday", "type": "integer", "x-order": 53 } }, "title": "calendar", "type": "object", "x-graphql-type": "Calendar", "x-order": 66 }, "direction_id": { "description": "GTFS trips.direction_id", "nullable": true, "title": "direction_id", "type": "integer", "x-order": 10 }, "feed_version": { "description": "Feed version for this entity", "properties": { "feed": { "description": "Feed associated with this feed version", "properties": { "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 28 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 30 } }, "title": "feed", "type": "object", "x-graphql-type": "Feed", "x-order": 31 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 25 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 23 } }, "title": "feed_version", "type": "object", "x-graphql-type": "FeedVersion", "x-order": 32 }, "frequencies": { "description": "Frequencies for this trip", "items": { "properties": { "end_time": { "description": "GTFS frequencies.end_time", "example": "15:21:04", "format": "hms", "title": "end_time", "type": "string", "x-order": 71 }, "exact_times": { "description": "GTFS frequencies.exact_times", "nullable": true, "title": "exact_times", "type": "integer", "x-order": 75 }, "headway_secs": { "description": "GTFS frequencies.headway_secs", "title": "headway_secs", "type": "integer", "x-order": 73 }, "start_time": { "description": "GTFS frequencies.start_time", "example": "15:21:04", "format": "hms", "title": "start_time", "type": "string", "x-order": 69 } }, "type": "object", "x-graphql-type": "Frequency", "x-order": 76 }, "title": "frequencies", "type": "array", "x-graphql-type": "Frequency", "x-order": 76 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "route": { "description": "Route for this trip", "properties": { "agency": { "description": "Agency associated with this route", "properties": { "agency_id": { "description": "GTFS agency.agency_id", "title": "agency_id", "type": "string", "x-order": 182 }, "agency_name": { "description": "GTFS agency.agency_name", "title": "agency_name", "type": "string", "x-order": 184 }, "alerts": { "description": "GTFS-RT alerts for this agency", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 229 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 227 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 230 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 230 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 190 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 209 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 211 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 212 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 212 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 192 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 203 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 205 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 206 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 206 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 194 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 221 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 223 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 224 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 224 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 215 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 217 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 218 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 218 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 197 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 199 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 200 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 200 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 231 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 231 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 180 }, "onestop_id": { "description": "OnestopID for this agency (or its associated operator)", "title": "onestop_id", "type": "string", "x-order": 186 } }, "title": "agency", "type": "object", "x-graphql-type": "Agency", "x-order": 232 }, "alerts": { "description": "GTFS-RT alerts for this route", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 175 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 173 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 176 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 176 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 136 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 155 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 157 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 158 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 158 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 138 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 149 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 151 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 152 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 152 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 140 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 167 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 169 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 170 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 170 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 161 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 163 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 164 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 164 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 143 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 145 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 146 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 146 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 177 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 177 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 124 }, "onestop_id": { "description": "OnestopID for this route", "nullable": true, "title": "onestop_id", "type": "string", "x-order": 126 }, "route_id": { "description": "GTFS routes.route_id", "title": "route_id", "type": "string", "x-order": 128 }, "route_long_name": { "description": "GTFS routes.route_long_name", "nullable": true, "title": "route_long_name", "type": "string", "x-order": 132 }, "route_short_name": { "description": "GTFS routes.route_short_name", "nullable": true, "title": "route_short_name", "type": "string", "x-order": 130 } }, "title": "route", "type": "object", "x-graphql-type": "Route", "x-order": 233 }, "schedule_relationship": { "description": "A status flag for real-time information about this trip.\n\n If no real-time information is available, the value will be STATIC and the estimated arrival/departure times will be empty. A trip with real-time information available will be SCHEDULED; a canceled trip will be CANCELED, and an added trip that is not present in the static GTFS will be ADDED.", "enum": [ "SCHEDULED", "ADDED", "UNSCHEDULED", "CANCELED", "STATIC", "SKIPPED", "NO_DATA", "REPLACEMENT", "DUPLICATED", "DELETED" ], "nullable": true, "title": "schedule_relationship", "type": "object", "x-graphql-type": "ScheduleRelationship", "x-order": 18 }, "shape": { "description": "Shape for this trip", "nullable": true, "properties": { "generated": { "description": "Was this geometry automatically generated from stop locations?", "title": "generated", "type": "boolean", "x-order": 39 }, "geometry": { "description": "Geometry for this shape", "title": "geometry", "x-order": 37 }, "shape_id": { "description": "GTFS shapes.shape_id", "title": "shape_id", "type": "string", "x-order": 35 } }, "title": "shape", "type": "object", "x-graphql-type": "Shape", "x-order": 40 }, "stop_pattern_id": { "description": "Calculated stop pattern ID; an integer scoped to the feed version", "title": "stop_pattern_id", "type": "integer", "x-order": 20 }, "stop_times": { "description": "Stop times for this trip", "items": { "properties": { "arrival_time": { "description": "GTFS stop_times.arrival_time", "example": "15:21:04", "format": "hms", "nullable": true, "title": "arrival_time", "type": "string", "x-order": 236 }, "departure_time": { "description": "GTFS stop_times.departure_time", "example": "15:21:04", "format": "hms", "nullable": true, "title": "departure_time", "type": "string", "x-order": 238 }, "drop_off_type": { "description": "GTFS stop_times.drop_off_type", "nullable": true, "title": "drop_off_type", "type": "integer", "x-order": 246 }, "interpolated": { "description": "Set if this arrival/departure time was interpolated during import", "nullable": true, "title": "interpolated", "type": "integer", "x-order": 250 }, "pickup_type": { "description": "GTFS stop_times.pickup_type", "nullable": true, "title": "pickup_type", "type": "integer", "x-order": 244 }, "stop": { "description": "Stop associated with this stop time", "properties": { "alerts": { "description": "GTFS-RT Alerts for this stop", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 302 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 300 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 303 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 303 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 263 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 282 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 284 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 285 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 285 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 265 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 276 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 278 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 279 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 279 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 267 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 294 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 296 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 297 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 297 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 288 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 290 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 291 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 291 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 270 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 272 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 273 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 273 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 304 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 304 }, "geometry": { "description": "Stop geometry", "title": "geometry", "x-order": 259 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 253 }, "stop_id": { "description": "GTFS stops.stop_id", "example": "400029", "title": "stop_id", "type": "string", "x-order": 255 }, "stop_name": { "description": "GTFS stops.stop_name", "example": "MADISON AV/E 68 ST", "nullable": true, "title": "stop_name", "type": "string", "x-order": 257 } }, "title": "stop", "type": "object", "x-graphql-type": "Stop", "x-order": 305 }, "stop_headsign": { "description": "GTFS stop_times.stop_headsign", "nullable": true, "title": "stop_headsign", "type": "string", "x-order": 242 }, "stop_sequence": { "description": "GTFS stop_times.stop_sequence", "title": "stop_sequence", "type": "integer", "x-order": 240 }, "timepoint": { "description": "GTFS stop_times.timepoint", "nullable": true, "title": "timepoint", "type": "integer", "x-order": 248 } }, "type": "object", "x-graphql-type": "StopTime", "x-order": 306 }, "title": "stop_times", "type": "array", "x-graphql-type": "StopTime", "x-order": 306 }, "trip_headsign": { "description": "GTFS trips.trip_headsign", "nullable": true, "title": "trip_headsign", "type": "string", "x-order": 6 }, "trip_id": { "description": "GTFS trips.trip_id", "title": "trip_id", "type": "string", "x-order": 4 }, "trip_short_name": { "description": "GTFS trips.trip_short_name", "nullable": true, "title": "trip_short_name", "type": "string", "x-order": 8 }, "wheelchair_accessible": { "description": "GTFS trips.wheelchair_accessible", "nullable": true, "title": "wheelchair_accessible", "type": "integer", "x-order": 14 } }, "type": "object", "x-graphql-type": "Trip", "x-order": 307 }, "title": "trips", "type": "array", "x-graphql-type": "Trip", "x-order": 307 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Search for trips" } }, "/stops": { "get": { "parameters": [ { "description": "Stop lookup key; can be an integer ID, a '\u003cfeed onestop_id\u003e:\u003cgtfs stop_id\u003e' key, or a Onestop ID", "in": "query", "name": "stop_key", "schema": { "type": "string" } }, { "description": "Search for records with this GTFS stop_id", "in": "query", "name": "stop_id", "schema": { "type": "string" }, "x-example-requests": [ { "description": "stop_id=EMBR", "url": "feed_onestop_id=f-c20-trimet\u0026stop_id=1108" } ] }, { "description": "Search stops visited by a route or agency OnestopID. Accepts comma separated values.", "in": "query", "name": "served_by_onestop_ids", "schema": { "type": "string" }, "x-example-requests": [ { "description": "served_by_onestop_ids=o-9q9-bart,o-9q9-caltrain", "url": "served_by_onestop_ids=o-9q9-bart,o-9q9-caltrain" } ] }, { "description": "Search for stops served by a particular route (vehicle) type.", "in": "query", "name": "served_by_route_type", "schema": { "type": "integer" }, "x-example-requests": [ { "description": "served_by_route_type=1", "url": "served_by_route_type=1" } ] }, { "description": "Search for stops served by particular route (vehicle) types. Accepts comma separated values.", "in": "query", "name": "served_by_route_types", "schema": { "type": "string" }, "x-example-requests": [ { "description": "served_by_route_types=1,2", "url": "served_by_route_types=1,2" } ] }, { "$ref": "#/components/parameters/includeAlertsParam" }, { "$ref": "#/components/parameters/includeRoutesParam" }, { "$ref": "#/components/parameters/idParam" }, { "$ref": "#/components/parameters/afterParam" }, { "$ref": "#/components/parameters/limitParam", "x-example-requests": [ { "description": "limit=1", "url": "limit=1" } ] }, { "$ref": "#/components/parameters/formatParam", "x-example-requests": [ { "description": "format=geojson", "url": "format=geojson" } ] }, { "$ref": "#/components/parameters/searchParam", "x-example-requests": [ { "description": "search=embarcadero", "url": "search=embarcadero" } ] }, { "$ref": "#/components/parameters/onestopParam", "x-example-requests": [ { "description": "onestop_id=...", "url": "onestop_id=s-9q8yyzcny3-embarcadero" } ] }, { "$ref": "#/components/parameters/sha1Param", "x-example-requests": [ { "description": "feed_version_sha1=1c4721d4...", "url": "feed_version_sha1=1c4721d4e0c9fae1e81f7c79660696e4280ed05b" } ] }, { "$ref": "#/components/parameters/feedParam", "x-example-requests": [ { "description": "feed_onestop_id=f-c20-trimet", "url": "feed_onestop_id=f-c20-trimet" } ] }, { "$ref": "#/components/parameters/radiusParam", "x-description": "Search for stops geographically; radius is in meters, requires lon and lat", "x-example-requests": [ { "description": "lon=-122.3\u0026lat=37.8\u0026radius=1000", "url": "lon=-122.3\u0026lat=37.8\u0026radius=1000" } ] }, { "$ref": "#/components/parameters/lonParam" }, { "$ref": "#/components/parameters/latParam" }, { "$ref": "#/components/parameters/bboxParam", "x-example-requests": [ { "description": "bbox=-122.269,37.807,-122.267,37.808", "url": "bbox=-122.269,37.807,-122.267,37.808" } ] }, { "$ref": "#/components/parameters/licenseCommercialUseAllowedParam" }, { "$ref": "#/components/parameters/licenseShareAlikeOptionalParam" }, { "$ref": "#/components/parameters/licenseCreateDerivedProductParam" }, { "$ref": "#/components/parameters/licenseRedistributionAllowedParam" }, { "$ref": "#/components/parameters/licenseUseWithoutAttributionParam" } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "stops": { "description": "Currently imported stops. If no feed version is specified, defaults to active feed versions.", "items": { "properties": { "alerts": { "description": "GTFS-RT Alerts for this stop", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 158 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 156 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 159 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 159 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 119 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 138 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 140 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 141 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 141 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 121 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 132 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 134 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 135 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 135 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 123 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 150 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 152 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 153 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 153 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 144 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 146 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 147 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 147 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 126 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 128 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 129 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 129 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 160 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 160 }, "feed_version": { "description": "Feed version", "properties": { "feed": { "description": "Feed associated with this feed version", "properties": { "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 48 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 50 } }, "title": "feed", "type": "object", "x-graphql-type": "Feed", "x-order": 51 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 45 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 41 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 43 } }, "title": "feed_version", "type": "object", "x-graphql-type": "FeedVersion", "x-order": 52 }, "geometry": { "description": "Stop geometry", "title": "geometry", "x-order": 28 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "level": { "description": "Stop level", "nullable": true, "properties": { "level_id": { "description": "GTFS levels.level_id", "title": "level_id", "type": "string", "x-order": 55 }, "level_index": { "description": "GTFS levels.level_index", "title": "level_index", "type": "number", "x-order": 59 }, "level_name": { "description": "GTFS levels.level_name", "nullable": true, "title": "level_name", "type": "string", "x-order": 57 } }, "title": "level", "type": "object", "x-graphql-type": "Level", "x-order": 60 }, "location_type": { "description": "GTFS stops.location_type; this is optional in GTFS spec", "enum": [ "0", "1", "2", "3", "4" ], "title": "location_type", "type": "integer", "x-order": 24 }, "onestop_id": { "description": "OnestopID for this stop, if available", "example": "s-dr5ruvgnyk-madisonav~e69st", "title": "onestop_id", "type": "string", "x-order": 26 }, "parent": { "description": "Stop parent station", "nullable": true, "properties": { "alerts": { "description": "GTFS-RT Alerts for this stop", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 112 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 110 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 113 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 113 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 73 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 92 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 94 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 95 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 95 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 75 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 86 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 88 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 89 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 89 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 77 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 104 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 106 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 107 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 107 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 98 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 100 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 101 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 101 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 80 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 82 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 83 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 83 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 114 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 114 }, "geometry": { "description": "Stop geometry", "title": "geometry", "x-order": 69 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 63 }, "stop_id": { "description": "GTFS stops.stop_id", "example": "400029", "title": "stop_id", "type": "string", "x-order": 65 }, "stop_name": { "description": "GTFS stops.stop_name", "example": "MADISON AV/E 68 ST", "nullable": true, "title": "stop_name", "type": "string", "x-order": 67 } }, "title": "parent", "type": "object", "x-graphql-type": "Stop", "x-order": 115 }, "place": { "description": "State/Province associated with this stop", "nullable": true, "properties": { "adm0_iso": { "description": "Best-mached country ISO code", "nullable": true, "title": "adm0_iso", "type": "string", "x-order": 35 }, "adm0_name": { "description": "Best-matched country name", "nullable": true, "title": "adm0_name", "type": "string", "x-order": 31 }, "adm1_iso": { "description": "Best-matched state or province ISO code", "nullable": true, "title": "adm1_iso", "type": "string", "x-order": 37 }, "adm1_name": { "description": "Best-matched state or province name", "nullable": true, "title": "adm1_name", "type": "string", "x-order": 33 } }, "title": "place", "type": "object", "x-graphql-type": "StopPlace", "x-order": 38 }, "platform_code": { "description": "GTFS stops.platform_code", "nullable": true, "title": "platform_code", "type": "string", "x-order": 18 }, "stop_code": { "description": "GTFS stops.stop_code", "nullable": true, "title": "stop_code", "type": "string", "x-order": 14 }, "stop_desc": { "description": "GTFS stops.stop_desc", "example": "NW Corner of Broadway and 14th", "nullable": true, "title": "stop_desc", "type": "string", "x-order": 12 }, "stop_id": { "description": "GTFS stops.stop_id", "example": "400029", "title": "stop_id", "type": "string", "x-order": 4 }, "stop_name": { "description": "GTFS stops.stop_name", "example": "MADISON AV/E 68 ST", "nullable": true, "title": "stop_name", "type": "string", "x-order": 6 }, "stop_timezone": { "description": "GTFS stops.stop_timezone; if overriding agency/route timezone", "example": "America/Los_Angeles", "nullable": true, "title": "stop_timezone", "type": "string", "x-order": 10 }, "stop_url": { "description": "GTFS stops.stop_url", "nullable": true, "title": "stop_url", "type": "string", "x-order": 8 }, "tts_stop_name": { "description": "GTFS stops.tts_stop_name", "nullable": true, "title": "tts_stop_name", "type": "string", "x-order": 20 }, "wheelchair_boarding": { "description": "GTFS stops.wheelchair_boarding", "enum": [ "0", "1", "2" ], "nullable": true, "title": "wheelchair_boarding", "type": "integer", "x-order": 22 }, "zone_id": { "description": "GTFS stops.zone_id", "nullable": true, "title": "zone_id", "type": "string", "x-order": 16 } }, "type": "object", "x-graphql-type": "Stop", "x-order": 162 }, "title": "stops", "type": "array", "x-graphql-type": "Stop", "x-order": 162 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Search for stops", "x-alternates": [ { "method": "GET", "path": "/stops.{format}", "summary": "Request stops in specified format" }, { "method": "GET", "path": "/stops/{route_key}", "summary": "Request a stop by ID or Onestop ID" }, { "method": "GET", "path": "/stops/{route_key}.format", "summary": "Request a stop by ID or Onestop ID in specified format" } ] } }, "/stops/{stop_key}": { "get": { "parameters": [ { "description": "Stop lookup key; can be an integer ID, a '\u003cfeed onestop_id\u003e:\u003cgtfs stop_id\u003e' key, or a Onestop ID", "in": "path", "name": "stop_key", "required": true, "schema": { "type": "string" } }, { "$ref": "#/components/parameters/includeAlertsParam" }, { "$ref": "#/components/parameters/includeRoutesParam" }, { "$ref": "#/components/parameters/limitParam" }, { "$ref": "#/components/parameters/formatParam" } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "stops": { "description": "Currently imported stops. If no feed version is specified, defaults to active feed versions.", "items": { "properties": { "alerts": { "description": "GTFS-RT Alerts for this stop", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 158 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 156 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 159 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 159 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 119 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 138 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 140 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 141 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 141 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 121 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 132 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 134 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 135 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 135 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 123 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 150 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 152 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 153 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 153 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 144 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 146 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 147 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 147 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 126 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 128 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 129 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 129 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 160 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 160 }, "feed_version": { "description": "Feed version", "properties": { "feed": { "description": "Feed associated with this feed version", "properties": { "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 48 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 50 } }, "title": "feed", "type": "object", "x-graphql-type": "Feed", "x-order": 51 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 45 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 41 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 43 } }, "title": "feed_version", "type": "object", "x-graphql-type": "FeedVersion", "x-order": 52 }, "geometry": { "description": "Stop geometry", "title": "geometry", "x-order": 28 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 2 }, "level": { "description": "Stop level", "nullable": true, "properties": { "level_id": { "description": "GTFS levels.level_id", "title": "level_id", "type": "string", "x-order": 55 }, "level_index": { "description": "GTFS levels.level_index", "title": "level_index", "type": "number", "x-order": 59 }, "level_name": { "description": "GTFS levels.level_name", "nullable": true, "title": "level_name", "type": "string", "x-order": 57 } }, "title": "level", "type": "object", "x-graphql-type": "Level", "x-order": 60 }, "location_type": { "description": "GTFS stops.location_type; this is optional in GTFS spec", "enum": [ "0", "1", "2", "3", "4" ], "title": "location_type", "type": "integer", "x-order": 24 }, "onestop_id": { "description": "OnestopID for this stop, if available", "example": "s-dr5ruvgnyk-madisonav~e69st", "title": "onestop_id", "type": "string", "x-order": 26 }, "parent": { "description": "Stop parent station", "nullable": true, "properties": { "alerts": { "description": "GTFS-RT Alerts for this stop", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 112 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 110 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 113 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 113 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 73 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 92 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 94 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 95 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 95 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 75 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 86 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 88 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 89 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 89 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 77 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 104 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 106 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 107 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 107 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 98 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 100 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 101 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 101 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 80 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 82 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 83 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 83 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 114 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 114 }, "geometry": { "description": "Stop geometry", "title": "geometry", "x-order": 69 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 63 }, "stop_id": { "description": "GTFS stops.stop_id", "example": "400029", "title": "stop_id", "type": "string", "x-order": 65 }, "stop_name": { "description": "GTFS stops.stop_name", "example": "MADISON AV/E 68 ST", "nullable": true, "title": "stop_name", "type": "string", "x-order": 67 } }, "title": "parent", "type": "object", "x-graphql-type": "Stop", "x-order": 115 }, "place": { "description": "State/Province associated with this stop", "nullable": true, "properties": { "adm0_iso": { "description": "Best-mached country ISO code", "nullable": true, "title": "adm0_iso", "type": "string", "x-order": 35 }, "adm0_name": { "description": "Best-matched country name", "nullable": true, "title": "adm0_name", "type": "string", "x-order": 31 }, "adm1_iso": { "description": "Best-matched state or province ISO code", "nullable": true, "title": "adm1_iso", "type": "string", "x-order": 37 }, "adm1_name": { "description": "Best-matched state or province name", "nullable": true, "title": "adm1_name", "type": "string", "x-order": 33 } }, "title": "place", "type": "object", "x-graphql-type": "StopPlace", "x-order": 38 }, "platform_code": { "description": "GTFS stops.platform_code", "nullable": true, "title": "platform_code", "type": "string", "x-order": 18 }, "stop_code": { "description": "GTFS stops.stop_code", "nullable": true, "title": "stop_code", "type": "string", "x-order": 14 }, "stop_desc": { "description": "GTFS stops.stop_desc", "example": "NW Corner of Broadway and 14th", "nullable": true, "title": "stop_desc", "type": "string", "x-order": 12 }, "stop_id": { "description": "GTFS stops.stop_id", "example": "400029", "title": "stop_id", "type": "string", "x-order": 4 }, "stop_name": { "description": "GTFS stops.stop_name", "example": "MADISON AV/E 68 ST", "nullable": true, "title": "stop_name", "type": "string", "x-order": 6 }, "stop_timezone": { "description": "GTFS stops.stop_timezone; if overriding agency/route timezone", "example": "America/Los_Angeles", "nullable": true, "title": "stop_timezone", "type": "string", "x-order": 10 }, "stop_url": { "description": "GTFS stops.stop_url", "nullable": true, "title": "stop_url", "type": "string", "x-order": 8 }, "tts_stop_name": { "description": "GTFS stops.tts_stop_name", "nullable": true, "title": "tts_stop_name", "type": "string", "x-order": 20 }, "wheelchair_boarding": { "description": "GTFS stops.wheelchair_boarding", "enum": [ "0", "1", "2" ], "nullable": true, "title": "wheelchair_boarding", "type": "integer", "x-order": 22 }, "zone_id": { "description": "GTFS stops.zone_id", "nullable": true, "title": "zone_id", "type": "string", "x-order": 16 } }, "type": "object", "x-graphql-type": "Stop", "x-order": 162 }, "title": "stops", "type": "array", "x-graphql-type": "Stop", "x-order": 162 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Search for stops" } }, "/stops/{stop_key}/departures": { "get": { "parameters": [ { "description": "Stop lookup key; can be an integer ID, a '\u003cfeed onestop_id\u003e:\u003cgtfs stop_id'\u003e key, a Onestop ID", "in": "path", "name": "stop_key", "required": true, "schema": { "type": "string" }, "x-example-requests": [ { "description": "f-sf~bay~area~rg:LAKE", "url": "/stops/f-sf~bay~area~rg:LAKE/departures" } ] }, { "$ref": "#/components/parameters/limitParam", "x-example-requests": [ { "description": "limit=1", "url": "/stops/f-sf~bay~area~rg:LAKE/departures?limit=1" } ] }, { "description": "Search for departures on a specified GTFS service calendar date, in YYYY-MM-DD format", "in": "query", "name": "service_date", "schema": { "format": "date", "type": "string" }, "x-example-requests": [ { "description": "service_date=2022-09-28", "url": "/stops/f-sf~bay~area~rg:LAKE/departures?service_date=2022-09-28" } ] }, { "description": "Search for departures on a specified calendar date, in YYYY-MM-DD format", "in": "query", "name": "date", "schema": { "format": "date", "type": "string" }, "x-example-requests": [ { "description": "date=2022-09-28", "url": "/stops/f-sf~bay~area~rg:LAKE/departures?date=2022-09-28" } ] }, { "description": "Search for departures leaving within the next specified number of seconds in local time", "in": "query", "name": "next", "schema": { "type": "integer" }, "x-example-requests": [ { "description": "next=600", "url": "/stops/f-sf~bay~area~rg:LAKE/departures?next=600" } ] }, { "description": "Search for departures leaving after a specified local time, in HH:MM:SS format", "in": "query", "name": "start_time", "schema": { "type": "string" }, "x-example-requests": [ { "description": "start_time=10:00:00", "url": "/stops/f-sf~bay~area~rg:LAKE/departures?start_time=10:00:00\u0026service_date=2022-09-28" } ] }, { "description": "Search for departures leaving before a specified local time, in HH:MM:SS format", "in": "query", "name": "end_time", "schema": { "type": "string" }, "x-example-requests": [ { "description": "end_time=11:00:00", "url": "/stops/f-sf~bay~area~rg:LAKE/departures?end_time=11:00:00\u0026service_date=2022-09-28" } ] }, { "description": "Include route geometry", "in": "query", "name": "include_geometry", "schema": { "enum": [ "true", "false" ], "type": "string" }, "x-example-requests": [ { "description": "include_geometry=true", "url": "/stops/f-sf~bay~area~rg:LAKE/departures?include_geometry=true" } ] }, { "description": "Use a fall-back service date if the requested service_date is outside the active service period of the feed version. The fall-back date is selected as the matching day-of-week in the week which provides the best level of scheduled service in the feed version. This value defaults to true.", "in": "query", "name": "use_service_window", "schema": { "enum": [ "true", "false" ], "type": "string" }, "x-example-requests": [ { "description": "use_service_window=false", "url": "/stops/f-sf~bay~area~rg:LAKE/departures?use_service_window=false" } ] }, { "$ref": "#/components/parameters/idParam" }, { "$ref": "#/components/parameters/relativeDateParam", "x-example-requests": [ { "description": "relative_date=NEXT_MONDAY", "url": "/stops/f-sf~bay~area~rg:LAKE/departures?relative_date=NEXT_MONDAY" } ] }, { "$ref": "#/components/parameters/includeAlertsParam" }, { "$ref": "#/components/parameters/afterParam" } ], "responses": { "200": { "content": { "application/json": { "schema": { "properties": { "stops": { "description": "Currently imported stops. If no feed version is specified, defaults to active feed versions.", "items": { "properties": { "alerts": { "description": "GTFS-RT Alerts for this stop", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 1193 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 1191 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 1194 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 1194 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 1154 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1173 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1175 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1176 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1176 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 1156 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1167 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1169 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1170 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1170 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 1158 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1185 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1187 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1188 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1188 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1179 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1181 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1182 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1182 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1161 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1163 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1164 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1164 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 1195 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 1195 }, "children": { "description": "Stop children", "items": { "properties": { "alerts": { "description": "GTFS-RT Alerts for this stop", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 702 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 700 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 703 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 703 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 663 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 682 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 684 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 685 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 685 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 665 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 676 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 678 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 679 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 679 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 667 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 694 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 696 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 697 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 697 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 688 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 690 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 691 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 691 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 670 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 672 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 673 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 673 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 704 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 704 }, "departures": { "description": "Departures from this stop for a given date and time", "items": { "properties": { "arrival": { "description": "Detailed arrival information, including GTFS-RT updates and estimates", "properties": { "delay": { "description": "Estimated schedule delay, in seconds. This value is set when there is a directly matching GTFS-RT StopTimeUpdate for this stop and passed through as-is. See GTFS Realtime documentation. See https://gtfs.org/realtime/reference/#message-stoptimeevent", "nullable": true, "title": "delay", "type": "integer", "x-order": 415 }, "estimated": { "description": "Estimated time in local time HH:MM:SS", "example": "15:21:04", "format": "hms", "nullable": true, "title": "estimated", "type": "string", "x-order": 407 }, "estimated_delay": { "description": "Estimated schedule delay, in seconds, based on either a timestamp or overall trip delay.\n\nThis value can be set directly from a matching GTFS-RT StopTimeUpdate timestamp or delay value or set via an estimated overall trip delay. The value is capped at +/- 86,400 seconds (24 hours). Values larger than that are are likely erroneous and will be set to null.", "nullable": true, "title": "estimated_delay", "type": "integer", "x-order": 413 }, "estimated_local": { "description": "Estimated time in the local time zone", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "estimated_local", "type": "string", "x-order": 411 }, "estimated_utc": { "description": "Estimated time in UTC", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "estimated_utc", "type": "string", "x-order": 409 }, "scheduled": { "description": "Scheduled time local time HH:MM:SS", "example": "15:21:04", "format": "hms", "nullable": true, "title": "scheduled", "type": "string", "x-order": 401 }, "scheduled_local": { "description": "Sceduled time in the local time zone", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "scheduled_local", "type": "string", "x-order": 405 }, "scheduled_utc": { "description": "Scheduled time in UTC", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "scheduled_utc", "type": "string", "x-order": 403 }, "uncertainty": { "description": "Estimation uncertainty. This value is set when there is a directly matching GTFS-RT StopTimeUpdate for this stop and passed through as-is. See https://gtfs.org/realtime/reference/#message-stoptimeevent", "nullable": true, "title": "uncertainty", "type": "integer", "x-order": 417 } }, "title": "arrival", "type": "object", "x-graphql-type": "StopTimeEvent", "x-order": 418 }, "arrival_time": { "description": "GTFS stop_times.arrival_time", "example": "15:21:04", "format": "hms", "nullable": true, "title": "arrival_time", "type": "string", "x-order": 388 }, "continuous_drop_off": { "description": "GTFS stop_times.continuous_drop_off", "nullable": true, "title": "continuous_drop_off", "type": "integer", "x-order": 382 }, "continuous_pickup": { "description": "GTFS stop_times.continuous_pickup", "nullable": true, "title": "continuous_pickup", "type": "integer", "x-order": 380 }, "date": { "description": "If part of an arrival/departure query, the calendar date for this scheduled stop time", "example": "2019-11-15", "format": "date", "nullable": true, "title": "date", "type": "string", "x-order": 398 }, "departure": { "description": "Detailed departure information, including GTFS-RT updates and estimates", "properties": { "delay": { "description": "Estimated schedule delay, in seconds. This value is set when there is a directly matching GTFS-RT StopTimeUpdate for this stop and passed through as-is. See GTFS Realtime documentation. See https://gtfs.org/realtime/reference/#message-stoptimeevent", "nullable": true, "title": "delay", "type": "integer", "x-order": 435 }, "estimated": { "description": "Estimated time in local time HH:MM:SS", "example": "15:21:04", "format": "hms", "nullable": true, "title": "estimated", "type": "string", "x-order": 427 }, "estimated_delay": { "description": "Estimated schedule delay, in seconds, based on either a timestamp or overall trip delay.\n\nThis value can be set directly from a matching GTFS-RT StopTimeUpdate timestamp or delay value or set via an estimated overall trip delay. The value is capped at +/- 86,400 seconds (24 hours). Values larger than that are are likely erroneous and will be set to null.", "nullable": true, "title": "estimated_delay", "type": "integer", "x-order": 433 }, "estimated_local": { "description": "Estimated time in the local time zone", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "estimated_local", "type": "string", "x-order": 431 }, "estimated_utc": { "description": "Estimated time in UTC", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "estimated_utc", "type": "string", "x-order": 429 }, "scheduled": { "description": "Scheduled time local time HH:MM:SS", "example": "15:21:04", "format": "hms", "nullable": true, "title": "scheduled", "type": "string", "x-order": 421 }, "scheduled_local": { "description": "Sceduled time in the local time zone", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "scheduled_local", "type": "string", "x-order": 425 }, "scheduled_utc": { "description": "Scheduled time in UTC", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "scheduled_utc", "type": "string", "x-order": 423 }, "uncertainty": { "description": "Estimation uncertainty. This value is set when there is a directly matching GTFS-RT StopTimeUpdate for this stop and passed through as-is. See https://gtfs.org/realtime/reference/#message-stoptimeevent", "nullable": true, "title": "uncertainty", "type": "integer", "x-order": 437 } }, "title": "departure", "type": "object", "x-graphql-type": "StopTimeEvent", "x-order": 438 }, "departure_time": { "description": "GTFS stop_times.departure_time", "example": "15:21:04", "format": "hms", "nullable": true, "title": "departure_time", "type": "string", "x-order": 390 }, "drop_off_type": { "description": "GTFS stop_times.drop_off_type", "nullable": true, "title": "drop_off_type", "type": "integer", "x-order": 378 }, "interpolated": { "description": "Set if this arrival/departure time was interpolated during import", "nullable": true, "title": "interpolated", "type": "integer", "x-order": 384 }, "pickup_type": { "description": "GTFS stop_times.pickup_type", "nullable": true, "title": "pickup_type", "type": "integer", "x-order": 376 }, "schedule_relationship": { "description": "A status flag for real-time information about this trip.\n\n If no real-time information is available, the value will be STATIC and the estimated arrival/departure times will be empty. A trip with real-time information available will be SCHEDULED; a canceled trip will be CANCELED, and an added trip that is not present in the static GTFS will be ADDED.", "enum": [ "SCHEDULED", "ADDED", "UNSCHEDULED", "CANCELED", "STATIC", "SKIPPED", "NO_DATA", "REPLACEMENT", "DUPLICATED", "DELETED" ], "nullable": true, "title": "schedule_relationship", "type": "object", "x-graphql-type": "ScheduleRelationship", "x-order": 394 }, "service_date": { "description": "If part of an arrival/departure query, the GTFS service date for this scheduled stop time", "example": "2019-11-15", "format": "date", "nullable": true, "title": "service_date", "type": "string", "x-order": 396 }, "shape_dist_traveled": { "description": "GTFS stop_times.shape_dist_traveled", "nullable": true, "title": "shape_dist_traveled", "type": "number", "x-order": 392 }, "stop_headsign": { "description": "GTFS stop_times.stop_headsign", "nullable": true, "title": "stop_headsign", "type": "string", "x-order": 372 }, "stop_sequence": { "description": "GTFS stop_times.stop_sequence", "title": "stop_sequence", "type": "integer", "x-order": 370 }, "timepoint": { "description": "GTFS stop_times.timepoint", "nullable": true, "title": "timepoint", "type": "integer", "x-order": 374 }, "trip": { "description": "Trip associated with this stop time", "properties": { "alerts": { "description": "GTFS-RT alerts for this trip", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 655 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 653 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 656 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 656 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 616 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 635 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 637 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 638 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 638 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 618 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 629 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 631 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 632 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 632 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 620 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 647 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 649 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 650 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 650 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 641 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 643 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 644 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 644 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 623 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 625 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 626 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 626 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 657 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 657 }, "bikes_allowed": { "description": "GTFS trips.bikes_allowed", "nullable": true, "title": "bikes_allowed", "type": "integer", "x-order": 456 }, "block_id": { "description": "GTFS trips.block_id", "nullable": true, "title": "block_id", "type": "string", "x-order": 452 }, "direction_id": { "description": "GTFS trips.direction_id", "nullable": true, "title": "direction_id", "type": "integer", "x-order": 450 }, "frequencies": { "description": "Frequencies for this trip", "items": { "properties": { "end_time": { "description": "GTFS frequencies.end_time", "example": "15:21:04", "format": "hms", "title": "end_time", "type": "string", "x-order": 607 }, "exact_times": { "description": "GTFS frequencies.exact_times", "nullable": true, "title": "exact_times", "type": "integer", "x-order": 611 }, "headway_secs": { "description": "GTFS frequencies.headway_secs", "title": "headway_secs", "type": "integer", "x-order": 609 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 603 }, "start_time": { "description": "GTFS frequencies.start_time", "example": "15:21:04", "format": "hms", "title": "start_time", "type": "string", "x-order": 605 } }, "type": "object", "x-graphql-type": "Frequency", "x-order": 612 }, "title": "frequencies", "type": "array", "x-graphql-type": "Frequency", "x-order": 612 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 442 }, "route": { "description": "Route for this trip", "properties": { "agency": { "description": "Agency associated with this route", "properties": { "agency_id": { "description": "GTFS agency.agency_id", "title": "agency_id", "type": "string", "x-order": 541 }, "agency_name": { "description": "GTFS agency.agency_name", "title": "agency_name", "type": "string", "x-order": 543 }, "alerts": { "description": "GTFS-RT alerts for this agency", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 586 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 584 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 587 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 587 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 547 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 566 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 568 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 569 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 569 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 549 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 560 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 562 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 563 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 563 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 551 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 578 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 580 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 581 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 581 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 572 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 574 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 575 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 575 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 554 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 556 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 557 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 557 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 588 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 588 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 537 }, "onestop_id": { "description": "OnestopID for this agency (or its associated operator)", "title": "onestop_id", "type": "string", "x-order": 539 } }, "title": "agency", "type": "object", "x-graphql-type": "Agency", "x-order": 589 }, "alerts": { "description": "GTFS-RT alerts for this route", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 531 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 529 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 532 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 532 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 492 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 511 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 513 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 514 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 514 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 494 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 505 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 507 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 508 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 508 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 496 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 523 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 525 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 526 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 526 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 517 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 519 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 520 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 520 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 499 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 501 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 502 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 502 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 533 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 533 }, "continuous_drop_off": { "description": "GTFS routes.continuous_drop_off", "nullable": true, "title": "continuous_drop_off", "type": "integer", "x-order": 486 }, "continuous_pickup": { "description": "GTFS routes.continuous_pickup", "nullable": true, "title": "continuous_pickup", "type": "integer", "x-order": 488 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 466 }, "onestop_id": { "description": "OnestopID for this route", "nullable": true, "title": "onestop_id", "type": "string", "x-order": 468 }, "route_color": { "description": "GTFS routes.route_color", "nullable": true, "title": "route_color", "type": "string", "x-order": 476 }, "route_desc": { "description": "GTFS routes.route_desc", "nullable": true, "title": "route_desc", "type": "string", "x-order": 478 }, "route_id": { "description": "GTFS routes.route_id", "title": "route_id", "type": "string", "x-order": 470 }, "route_long_name": { "description": "GTFS routes.route_long_name", "nullable": true, "title": "route_long_name", "type": "string", "x-order": 474 }, "route_short_name": { "description": "GTFS routes.route_short_name", "nullable": true, "title": "route_short_name", "type": "string", "x-order": 472 }, "route_text_color": { "description": "GTFS routes.route_text_color", "nullable": true, "title": "route_text_color", "type": "string", "x-order": 480 }, "route_type": { "description": "GTFS routes.route_type", "title": "route_type", "type": "integer", "x-order": 482 }, "route_url": { "description": "GTFS routes.route_url", "nullable": true, "title": "route_url", "type": "string", "x-order": 484 } }, "title": "route", "type": "object", "x-graphql-type": "Route", "x-order": 590 }, "schedule_relationship": { "description": "A status flag for real-time information about this trip.\n\n If no real-time information is available, the value will be STATIC and the estimated arrival/departure times will be empty. A trip with real-time information available will be SCHEDULED; a canceled trip will be CANCELED, and an added trip that is not present in the static GTFS will be ADDED.", "enum": [ "SCHEDULED", "ADDED", "UNSCHEDULED", "CANCELED", "STATIC", "SKIPPED", "NO_DATA", "REPLACEMENT", "DUPLICATED", "DELETED" ], "nullable": true, "title": "schedule_relationship", "type": "object", "x-graphql-type": "ScheduleRelationship", "x-order": 460 }, "shape": { "description": "Shape for this trip", "nullable": true, "properties": { "generated": { "description": "Was this geometry automatically generated from stop locations?", "title": "generated", "type": "boolean", "x-order": 599 }, "geometry": { "description": "Geometry for this shape", "title": "geometry", "x-order": 597 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 593 }, "shape_id": { "description": "GTFS shapes.shape_id", "title": "shape_id", "type": "string", "x-order": 595 } }, "title": "shape", "type": "object", "x-graphql-type": "Shape", "x-order": 600 }, "stop_pattern_id": { "description": "Calculated stop pattern ID; an integer scoped to the feed version", "title": "stop_pattern_id", "type": "integer", "x-order": 458 }, "timestamp": { "description": "GTFS-RT TripUpdate timestamp", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "timestamp", "type": "string", "x-order": 462 }, "trip_headsign": { "description": "GTFS trips.trip_headsign", "nullable": true, "title": "trip_headsign", "type": "string", "x-order": 446 }, "trip_id": { "description": "GTFS trips.trip_id", "title": "trip_id", "type": "string", "x-order": 444 }, "trip_short_name": { "description": "GTFS trips.trip_short_name", "nullable": true, "title": "trip_short_name", "type": "string", "x-order": 448 }, "wheelchair_accessible": { "description": "GTFS trips.wheelchair_accessible", "nullable": true, "title": "wheelchair_accessible", "type": "integer", "x-order": 454 } }, "title": "trip", "type": "object", "x-graphql-type": "Trip", "x-order": 658 } }, "type": "object", "x-graphql-type": "StopTime", "x-order": 659 }, "title": "departures", "type": "array", "x-graphql-type": "StopTime", "x-order": 659 }, "geometry": { "description": "Stop geometry", "title": "geometry", "x-order": 356 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 340 }, "location_type": { "description": "GTFS stops.location_type; this is optional in GTFS spec", "enum": [ "0", "1", "2", "3", "4" ], "title": "location_type", "type": "integer", "x-order": 358 }, "onestop_id": { "description": "OnestopID for this stop, if available", "example": "s-dr5ruvgnyk-madisonav~e69st", "title": "onestop_id", "type": "string", "x-order": 342 }, "platform_code": { "description": "GTFS stops.platform_code", "nullable": true, "title": "platform_code", "type": "string", "x-order": 360 }, "stop_code": { "description": "GTFS stops.stop_code", "nullable": true, "title": "stop_code", "type": "string", "x-order": 344 }, "stop_desc": { "description": "GTFS stops.stop_desc", "example": "NW Corner of Broadway and 14th", "nullable": true, "title": "stop_desc", "type": "string", "x-order": 346 }, "stop_id": { "description": "GTFS stops.stop_id", "example": "400029", "title": "stop_id", "type": "string", "x-order": 348 }, "stop_name": { "description": "GTFS stops.stop_name", "example": "MADISON AV/E 68 ST", "nullable": true, "title": "stop_name", "type": "string", "x-order": 350 }, "stop_timezone": { "description": "GTFS stops.stop_timezone; if overriding agency/route timezone", "example": "America/Los_Angeles", "nullable": true, "title": "stop_timezone", "type": "string", "x-order": 352 }, "stop_url": { "description": "GTFS stops.stop_url", "nullable": true, "title": "stop_url", "type": "string", "x-order": 354 }, "tts_stop_name": { "description": "GTFS stops.tts_stop_name", "nullable": true, "title": "tts_stop_name", "type": "string", "x-order": 362 }, "wheelchair_boarding": { "description": "GTFS stops.wheelchair_boarding", "enum": [ "0", "1", "2" ], "nullable": true, "title": "wheelchair_boarding", "type": "integer", "x-order": 364 }, "zone_id": { "description": "GTFS stops.zone_id", "nullable": true, "title": "zone_id", "type": "string", "x-order": 366 } }, "type": "object", "x-graphql-type": "Stop", "x-order": 705 }, "nullable": true, "title": "children", "type": "array", "x-graphql-type": "Stop", "x-order": 705 }, "departures": { "description": "Departures from this stop for a given date and time", "items": { "properties": { "arrival": { "description": "Detailed arrival information, including GTFS-RT updates and estimates", "properties": { "delay": { "description": "Estimated schedule delay, in seconds. This value is set when there is a directly matching GTFS-RT StopTimeUpdate for this stop and passed through as-is. See GTFS Realtime documentation. See https://gtfs.org/realtime/reference/#message-stoptimeevent", "nullable": true, "title": "delay", "type": "integer", "x-order": 92 }, "estimated": { "description": "Estimated time in local time HH:MM:SS", "example": "15:21:04", "format": "hms", "nullable": true, "title": "estimated", "type": "string", "x-order": 84 }, "estimated_delay": { "description": "Estimated schedule delay, in seconds, based on either a timestamp or overall trip delay.\n\nThis value can be set directly from a matching GTFS-RT StopTimeUpdate timestamp or delay value or set via an estimated overall trip delay. The value is capped at +/- 86,400 seconds (24 hours). Values larger than that are are likely erroneous and will be set to null.", "nullable": true, "title": "estimated_delay", "type": "integer", "x-order": 90 }, "estimated_local": { "description": "Estimated time in the local time zone", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "estimated_local", "type": "string", "x-order": 88 }, "estimated_utc": { "description": "Estimated time in UTC", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "estimated_utc", "type": "string", "x-order": 86 }, "scheduled": { "description": "Scheduled time local time HH:MM:SS", "example": "15:21:04", "format": "hms", "nullable": true, "title": "scheduled", "type": "string", "x-order": 78 }, "scheduled_local": { "description": "Sceduled time in the local time zone", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "scheduled_local", "type": "string", "x-order": 82 }, "scheduled_utc": { "description": "Scheduled time in UTC", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "scheduled_utc", "type": "string", "x-order": 80 }, "uncertainty": { "description": "Estimation uncertainty. This value is set when there is a directly matching GTFS-RT StopTimeUpdate for this stop and passed through as-is. See https://gtfs.org/realtime/reference/#message-stoptimeevent", "nullable": true, "title": "uncertainty", "type": "integer", "x-order": 94 } }, "title": "arrival", "type": "object", "x-graphql-type": "StopTimeEvent", "x-order": 95 }, "arrival_time": { "description": "GTFS stop_times.arrival_time", "example": "15:21:04", "format": "hms", "nullable": true, "title": "arrival_time", "type": "string", "x-order": 65 }, "continuous_drop_off": { "description": "GTFS stop_times.continuous_drop_off", "nullable": true, "title": "continuous_drop_off", "type": "integer", "x-order": 59 }, "continuous_pickup": { "description": "GTFS stop_times.continuous_pickup", "nullable": true, "title": "continuous_pickup", "type": "integer", "x-order": 57 }, "date": { "description": "If part of an arrival/departure query, the calendar date for this scheduled stop time", "example": "2019-11-15", "format": "date", "nullable": true, "title": "date", "type": "string", "x-order": 75 }, "departure": { "description": "Detailed departure information, including GTFS-RT updates and estimates", "properties": { "delay": { "description": "Estimated schedule delay, in seconds. This value is set when there is a directly matching GTFS-RT StopTimeUpdate for this stop and passed through as-is. See GTFS Realtime documentation. See https://gtfs.org/realtime/reference/#message-stoptimeevent", "nullable": true, "title": "delay", "type": "integer", "x-order": 112 }, "estimated": { "description": "Estimated time in local time HH:MM:SS", "example": "15:21:04", "format": "hms", "nullable": true, "title": "estimated", "type": "string", "x-order": 104 }, "estimated_delay": { "description": "Estimated schedule delay, in seconds, based on either a timestamp or overall trip delay.\n\nThis value can be set directly from a matching GTFS-RT StopTimeUpdate timestamp or delay value or set via an estimated overall trip delay. The value is capped at +/- 86,400 seconds (24 hours). Values larger than that are are likely erroneous and will be set to null.", "nullable": true, "title": "estimated_delay", "type": "integer", "x-order": 110 }, "estimated_local": { "description": "Estimated time in the local time zone", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "estimated_local", "type": "string", "x-order": 108 }, "estimated_utc": { "description": "Estimated time in UTC", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "estimated_utc", "type": "string", "x-order": 106 }, "scheduled": { "description": "Scheduled time local time HH:MM:SS", "example": "15:21:04", "format": "hms", "nullable": true, "title": "scheduled", "type": "string", "x-order": 98 }, "scheduled_local": { "description": "Sceduled time in the local time zone", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "scheduled_local", "type": "string", "x-order": 102 }, "scheduled_utc": { "description": "Scheduled time in UTC", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "scheduled_utc", "type": "string", "x-order": 100 }, "uncertainty": { "description": "Estimation uncertainty. This value is set when there is a directly matching GTFS-RT StopTimeUpdate for this stop and passed through as-is. See https://gtfs.org/realtime/reference/#message-stoptimeevent", "nullable": true, "title": "uncertainty", "type": "integer", "x-order": 114 } }, "title": "departure", "type": "object", "x-graphql-type": "StopTimeEvent", "x-order": 115 }, "departure_time": { "description": "GTFS stop_times.departure_time", "example": "15:21:04", "format": "hms", "nullable": true, "title": "departure_time", "type": "string", "x-order": 67 }, "drop_off_type": { "description": "GTFS stop_times.drop_off_type", "nullable": true, "title": "drop_off_type", "type": "integer", "x-order": 55 }, "interpolated": { "description": "Set if this arrival/departure time was interpolated during import", "nullable": true, "title": "interpolated", "type": "integer", "x-order": 61 }, "pickup_type": { "description": "GTFS stop_times.pickup_type", "nullable": true, "title": "pickup_type", "type": "integer", "x-order": 53 }, "schedule_relationship": { "description": "A status flag for real-time information about this trip.\n\n If no real-time information is available, the value will be STATIC and the estimated arrival/departure times will be empty. A trip with real-time information available will be SCHEDULED; a canceled trip will be CANCELED, and an added trip that is not present in the static GTFS will be ADDED.", "enum": [ "SCHEDULED", "ADDED", "UNSCHEDULED", "CANCELED", "STATIC", "SKIPPED", "NO_DATA", "REPLACEMENT", "DUPLICATED", "DELETED" ], "nullable": true, "title": "schedule_relationship", "type": "object", "x-graphql-type": "ScheduleRelationship", "x-order": 71 }, "service_date": { "description": "If part of an arrival/departure query, the GTFS service date for this scheduled stop time", "example": "2019-11-15", "format": "date", "nullable": true, "title": "service_date", "type": "string", "x-order": 73 }, "shape_dist_traveled": { "description": "GTFS stop_times.shape_dist_traveled", "nullable": true, "title": "shape_dist_traveled", "type": "number", "x-order": 69 }, "stop_headsign": { "description": "GTFS stop_times.stop_headsign", "nullable": true, "title": "stop_headsign", "type": "string", "x-order": 49 }, "stop_sequence": { "description": "GTFS stop_times.stop_sequence", "title": "stop_sequence", "type": "integer", "x-order": 47 }, "timepoint": { "description": "GTFS stop_times.timepoint", "nullable": true, "title": "timepoint", "type": "integer", "x-order": 51 }, "trip": { "description": "Trip associated with this stop time", "properties": { "alerts": { "description": "GTFS-RT alerts for this trip", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 332 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 330 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 333 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 333 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 293 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 312 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 314 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 315 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 315 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 295 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 306 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 308 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 309 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 309 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 297 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 324 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 326 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 327 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 327 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 318 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 320 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 321 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 321 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 300 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 302 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 303 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 303 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 334 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 334 }, "bikes_allowed": { "description": "GTFS trips.bikes_allowed", "nullable": true, "title": "bikes_allowed", "type": "integer", "x-order": 133 }, "block_id": { "description": "GTFS trips.block_id", "nullable": true, "title": "block_id", "type": "string", "x-order": 129 }, "direction_id": { "description": "GTFS trips.direction_id", "nullable": true, "title": "direction_id", "type": "integer", "x-order": 127 }, "frequencies": { "description": "Frequencies for this trip", "items": { "properties": { "end_time": { "description": "GTFS frequencies.end_time", "example": "15:21:04", "format": "hms", "title": "end_time", "type": "string", "x-order": 284 }, "exact_times": { "description": "GTFS frequencies.exact_times", "nullable": true, "title": "exact_times", "type": "integer", "x-order": 288 }, "headway_secs": { "description": "GTFS frequencies.headway_secs", "title": "headway_secs", "type": "integer", "x-order": 286 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 280 }, "start_time": { "description": "GTFS frequencies.start_time", "example": "15:21:04", "format": "hms", "title": "start_time", "type": "string", "x-order": 282 } }, "type": "object", "x-graphql-type": "Frequency", "x-order": 289 }, "title": "frequencies", "type": "array", "x-graphql-type": "Frequency", "x-order": 289 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 119 }, "route": { "description": "Route for this trip", "properties": { "agency": { "description": "Agency associated with this route", "properties": { "agency_id": { "description": "GTFS agency.agency_id", "title": "agency_id", "type": "string", "x-order": 218 }, "agency_name": { "description": "GTFS agency.agency_name", "title": "agency_name", "type": "string", "x-order": 220 }, "alerts": { "description": "GTFS-RT alerts for this agency", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 263 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 261 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 264 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 264 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 224 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 243 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 245 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 246 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 246 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 226 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 237 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 239 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 240 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 240 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 228 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 255 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 257 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 258 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 258 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 249 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 251 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 252 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 252 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 231 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 233 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 234 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 234 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 265 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 265 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 214 }, "onestop_id": { "description": "OnestopID for this agency (or its associated operator)", "title": "onestop_id", "type": "string", "x-order": 216 } }, "title": "agency", "type": "object", "x-graphql-type": "Agency", "x-order": 266 }, "alerts": { "description": "GTFS-RT alerts for this route", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 208 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 206 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 209 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 209 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 169 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 188 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 190 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 191 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 191 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 171 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 182 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 184 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 185 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 185 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 173 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 200 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 202 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 203 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 203 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 194 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 196 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 197 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 197 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 176 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 178 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 179 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 179 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 210 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 210 }, "continuous_drop_off": { "description": "GTFS routes.continuous_drop_off", "nullable": true, "title": "continuous_drop_off", "type": "integer", "x-order": 163 }, "continuous_pickup": { "description": "GTFS routes.continuous_pickup", "nullable": true, "title": "continuous_pickup", "type": "integer", "x-order": 165 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 143 }, "onestop_id": { "description": "OnestopID for this route", "nullable": true, "title": "onestop_id", "type": "string", "x-order": 145 }, "route_color": { "description": "GTFS routes.route_color", "nullable": true, "title": "route_color", "type": "string", "x-order": 153 }, "route_desc": { "description": "GTFS routes.route_desc", "nullable": true, "title": "route_desc", "type": "string", "x-order": 155 }, "route_id": { "description": "GTFS routes.route_id", "title": "route_id", "type": "string", "x-order": 147 }, "route_long_name": { "description": "GTFS routes.route_long_name", "nullable": true, "title": "route_long_name", "type": "string", "x-order": 151 }, "route_short_name": { "description": "GTFS routes.route_short_name", "nullable": true, "title": "route_short_name", "type": "string", "x-order": 149 }, "route_text_color": { "description": "GTFS routes.route_text_color", "nullable": true, "title": "route_text_color", "type": "string", "x-order": 157 }, "route_type": { "description": "GTFS routes.route_type", "title": "route_type", "type": "integer", "x-order": 159 }, "route_url": { "description": "GTFS routes.route_url", "nullable": true, "title": "route_url", "type": "string", "x-order": 161 } }, "title": "route", "type": "object", "x-graphql-type": "Route", "x-order": 267 }, "schedule_relationship": { "description": "A status flag for real-time information about this trip.\n\n If no real-time information is available, the value will be STATIC and the estimated arrival/departure times will be empty. A trip with real-time information available will be SCHEDULED; a canceled trip will be CANCELED, and an added trip that is not present in the static GTFS will be ADDED.", "enum": [ "SCHEDULED", "ADDED", "UNSCHEDULED", "CANCELED", "STATIC", "SKIPPED", "NO_DATA", "REPLACEMENT", "DUPLICATED", "DELETED" ], "nullable": true, "title": "schedule_relationship", "type": "object", "x-graphql-type": "ScheduleRelationship", "x-order": 137 }, "shape": { "description": "Shape for this trip", "nullable": true, "properties": { "generated": { "description": "Was this geometry automatically generated from stop locations?", "title": "generated", "type": "boolean", "x-order": 276 }, "geometry": { "description": "Geometry for this shape", "title": "geometry", "x-order": 274 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 270 }, "shape_id": { "description": "GTFS shapes.shape_id", "title": "shape_id", "type": "string", "x-order": 272 } }, "title": "shape", "type": "object", "x-graphql-type": "Shape", "x-order": 277 }, "stop_pattern_id": { "description": "Calculated stop pattern ID; an integer scoped to the feed version", "title": "stop_pattern_id", "type": "integer", "x-order": 135 }, "timestamp": { "description": "GTFS-RT TripUpdate timestamp", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "timestamp", "type": "string", "x-order": 139 }, "trip_headsign": { "description": "GTFS trips.trip_headsign", "nullable": true, "title": "trip_headsign", "type": "string", "x-order": 123 }, "trip_id": { "description": "GTFS trips.trip_id", "title": "trip_id", "type": "string", "x-order": 121 }, "trip_short_name": { "description": "GTFS trips.trip_short_name", "nullable": true, "title": "trip_short_name", "type": "string", "x-order": 125 }, "wheelchair_accessible": { "description": "GTFS trips.wheelchair_accessible", "nullable": true, "title": "wheelchair_accessible", "type": "integer", "x-order": 131 } }, "title": "trip", "type": "object", "x-graphql-type": "Trip", "x-order": 335 } }, "type": "object", "x-graphql-type": "StopTime", "x-order": 336 }, "title": "departures", "type": "array", "x-graphql-type": "StopTime", "x-order": 336 }, "feed_version": { "description": "Feed version", "properties": { "feed": { "description": "Feed associated with this feed version", "properties": { "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 39 }, "onestop_id": { "description": "OnestopID for this feed", "title": "onestop_id", "type": "string", "x-order": 41 } }, "title": "feed", "type": "object", "x-graphql-type": "Feed", "x-order": 42 }, "fetched_at": { "description": "Time when the file was fetched from the url", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "title": "fetched_at", "type": "string", "x-order": 36 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 32 }, "sha1": { "description": "SHA1 hash of the zip file", "example": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a", "title": "sha1", "type": "string", "x-order": 34 } }, "title": "feed_version", "type": "object", "x-graphql-type": "FeedVersion", "x-order": 43 }, "geometry": { "description": "Stop geometry", "title": "geometry", "x-order": 19 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 3 }, "location_type": { "description": "GTFS stops.location_type; this is optional in GTFS spec", "enum": [ "0", "1", "2", "3", "4" ], "title": "location_type", "type": "integer", "x-order": 21 }, "onestop_id": { "description": "OnestopID for this stop, if available", "example": "s-dr5ruvgnyk-madisonav~e69st", "title": "onestop_id", "type": "string", "x-order": 5 }, "parent": { "description": "Stop parent station", "nullable": true, "properties": { "alerts": { "description": "GTFS-RT Alerts for this stop", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 1147 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 1145 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 1148 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 1148 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 1108 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1127 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1129 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1130 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1130 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 1110 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1121 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1123 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1124 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1124 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 1112 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1139 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1141 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1142 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1142 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1133 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1135 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1136 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1136 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1115 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1117 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1118 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1118 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 1149 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 1149 }, "children": { "description": "Stop children", "items": { "properties": { "alerts": { "description": "GTFS-RT Alerts for this stop", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 1101 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 1099 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 1102 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 1102 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 1062 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1081 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1083 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1084 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1084 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 1064 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1075 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1077 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1078 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1078 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 1066 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1093 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1095 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1096 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1096 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1087 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1089 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1090 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1090 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1069 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1071 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1072 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1072 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 1103 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 1103 }, "departures": { "description": "Departures from this stop for a given date and time", "items": { "properties": { "arrival": { "description": "Detailed arrival information, including GTFS-RT updates and estimates", "properties": { "delay": { "description": "Estimated schedule delay, in seconds. This value is set when there is a directly matching GTFS-RT StopTimeUpdate for this stop and passed through as-is. See GTFS Realtime documentation. See https://gtfs.org/realtime/reference/#message-stoptimeevent", "nullable": true, "title": "delay", "type": "integer", "x-order": 814 }, "estimated": { "description": "Estimated time in local time HH:MM:SS", "example": "15:21:04", "format": "hms", "nullable": true, "title": "estimated", "type": "string", "x-order": 806 }, "estimated_delay": { "description": "Estimated schedule delay, in seconds, based on either a timestamp or overall trip delay.\n\nThis value can be set directly from a matching GTFS-RT StopTimeUpdate timestamp or delay value or set via an estimated overall trip delay. The value is capped at +/- 86,400 seconds (24 hours). Values larger than that are are likely erroneous and will be set to null.", "nullable": true, "title": "estimated_delay", "type": "integer", "x-order": 812 }, "estimated_local": { "description": "Estimated time in the local time zone", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "estimated_local", "type": "string", "x-order": 810 }, "estimated_utc": { "description": "Estimated time in UTC", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "estimated_utc", "type": "string", "x-order": 808 }, "scheduled": { "description": "Scheduled time local time HH:MM:SS", "example": "15:21:04", "format": "hms", "nullable": true, "title": "scheduled", "type": "string", "x-order": 800 }, "scheduled_local": { "description": "Sceduled time in the local time zone", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "scheduled_local", "type": "string", "x-order": 804 }, "scheduled_utc": { "description": "Scheduled time in UTC", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "scheduled_utc", "type": "string", "x-order": 802 }, "uncertainty": { "description": "Estimation uncertainty. This value is set when there is a directly matching GTFS-RT StopTimeUpdate for this stop and passed through as-is. See https://gtfs.org/realtime/reference/#message-stoptimeevent", "nullable": true, "title": "uncertainty", "type": "integer", "x-order": 816 } }, "title": "arrival", "type": "object", "x-graphql-type": "StopTimeEvent", "x-order": 817 }, "arrival_time": { "description": "GTFS stop_times.arrival_time", "example": "15:21:04", "format": "hms", "nullable": true, "title": "arrival_time", "type": "string", "x-order": 787 }, "continuous_drop_off": { "description": "GTFS stop_times.continuous_drop_off", "nullable": true, "title": "continuous_drop_off", "type": "integer", "x-order": 781 }, "continuous_pickup": { "description": "GTFS stop_times.continuous_pickup", "nullable": true, "title": "continuous_pickup", "type": "integer", "x-order": 779 }, "date": { "description": "If part of an arrival/departure query, the calendar date for this scheduled stop time", "example": "2019-11-15", "format": "date", "nullable": true, "title": "date", "type": "string", "x-order": 797 }, "departure": { "description": "Detailed departure information, including GTFS-RT updates and estimates", "properties": { "delay": { "description": "Estimated schedule delay, in seconds. This value is set when there is a directly matching GTFS-RT StopTimeUpdate for this stop and passed through as-is. See GTFS Realtime documentation. See https://gtfs.org/realtime/reference/#message-stoptimeevent", "nullable": true, "title": "delay", "type": "integer", "x-order": 834 }, "estimated": { "description": "Estimated time in local time HH:MM:SS", "example": "15:21:04", "format": "hms", "nullable": true, "title": "estimated", "type": "string", "x-order": 826 }, "estimated_delay": { "description": "Estimated schedule delay, in seconds, based on either a timestamp or overall trip delay.\n\nThis value can be set directly from a matching GTFS-RT StopTimeUpdate timestamp or delay value or set via an estimated overall trip delay. The value is capped at +/- 86,400 seconds (24 hours). Values larger than that are are likely erroneous and will be set to null.", "nullable": true, "title": "estimated_delay", "type": "integer", "x-order": 832 }, "estimated_local": { "description": "Estimated time in the local time zone", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "estimated_local", "type": "string", "x-order": 830 }, "estimated_utc": { "description": "Estimated time in UTC", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "estimated_utc", "type": "string", "x-order": 828 }, "scheduled": { "description": "Scheduled time local time HH:MM:SS", "example": "15:21:04", "format": "hms", "nullable": true, "title": "scheduled", "type": "string", "x-order": 820 }, "scheduled_local": { "description": "Sceduled time in the local time zone", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "scheduled_local", "type": "string", "x-order": 824 }, "scheduled_utc": { "description": "Scheduled time in UTC", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "scheduled_utc", "type": "string", "x-order": 822 }, "uncertainty": { "description": "Estimation uncertainty. This value is set when there is a directly matching GTFS-RT StopTimeUpdate for this stop and passed through as-is. See https://gtfs.org/realtime/reference/#message-stoptimeevent", "nullable": true, "title": "uncertainty", "type": "integer", "x-order": 836 } }, "title": "departure", "type": "object", "x-graphql-type": "StopTimeEvent", "x-order": 837 }, "departure_time": { "description": "GTFS stop_times.departure_time", "example": "15:21:04", "format": "hms", "nullable": true, "title": "departure_time", "type": "string", "x-order": 789 }, "drop_off_type": { "description": "GTFS stop_times.drop_off_type", "nullable": true, "title": "drop_off_type", "type": "integer", "x-order": 777 }, "interpolated": { "description": "Set if this arrival/departure time was interpolated during import", "nullable": true, "title": "interpolated", "type": "integer", "x-order": 783 }, "pickup_type": { "description": "GTFS stop_times.pickup_type", "nullable": true, "title": "pickup_type", "type": "integer", "x-order": 775 }, "schedule_relationship": { "description": "A status flag for real-time information about this trip.\n\n If no real-time information is available, the value will be STATIC and the estimated arrival/departure times will be empty. A trip with real-time information available will be SCHEDULED; a canceled trip will be CANCELED, and an added trip that is not present in the static GTFS will be ADDED.", "enum": [ "SCHEDULED", "ADDED", "UNSCHEDULED", "CANCELED", "STATIC", "SKIPPED", "NO_DATA", "REPLACEMENT", "DUPLICATED", "DELETED" ], "nullable": true, "title": "schedule_relationship", "type": "object", "x-graphql-type": "ScheduleRelationship", "x-order": 793 }, "service_date": { "description": "If part of an arrival/departure query, the GTFS service date for this scheduled stop time", "example": "2019-11-15", "format": "date", "nullable": true, "title": "service_date", "type": "string", "x-order": 795 }, "shape_dist_traveled": { "description": "GTFS stop_times.shape_dist_traveled", "nullable": true, "title": "shape_dist_traveled", "type": "number", "x-order": 791 }, "stop_headsign": { "description": "GTFS stop_times.stop_headsign", "nullable": true, "title": "stop_headsign", "type": "string", "x-order": 771 }, "stop_sequence": { "description": "GTFS stop_times.stop_sequence", "title": "stop_sequence", "type": "integer", "x-order": 769 }, "timepoint": { "description": "GTFS stop_times.timepoint", "nullable": true, "title": "timepoint", "type": "integer", "x-order": 773 }, "trip": { "description": "Trip associated with this stop time", "properties": { "alerts": { "description": "GTFS-RT alerts for this trip", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 1054 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 1052 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 1055 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 1055 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 1015 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1034 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1036 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1037 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1037 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 1017 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1028 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1030 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1031 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1031 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 1019 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1046 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1048 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1049 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1049 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1040 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1042 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1043 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1043 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 1022 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 1024 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 1025 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 1025 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 1056 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 1056 }, "bikes_allowed": { "description": "GTFS trips.bikes_allowed", "nullable": true, "title": "bikes_allowed", "type": "integer", "x-order": 855 }, "block_id": { "description": "GTFS trips.block_id", "nullable": true, "title": "block_id", "type": "string", "x-order": 851 }, "direction_id": { "description": "GTFS trips.direction_id", "nullable": true, "title": "direction_id", "type": "integer", "x-order": 849 }, "frequencies": { "description": "Frequencies for this trip", "items": { "properties": { "end_time": { "description": "GTFS frequencies.end_time", "example": "15:21:04", "format": "hms", "title": "end_time", "type": "string", "x-order": 1006 }, "exact_times": { "description": "GTFS frequencies.exact_times", "nullable": true, "title": "exact_times", "type": "integer", "x-order": 1010 }, "headway_secs": { "description": "GTFS frequencies.headway_secs", "title": "headway_secs", "type": "integer", "x-order": 1008 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 1002 }, "start_time": { "description": "GTFS frequencies.start_time", "example": "15:21:04", "format": "hms", "title": "start_time", "type": "string", "x-order": 1004 } }, "type": "object", "x-graphql-type": "Frequency", "x-order": 1011 }, "title": "frequencies", "type": "array", "x-graphql-type": "Frequency", "x-order": 1011 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 841 }, "route": { "description": "Route for this trip", "properties": { "agency": { "description": "Agency associated with this route", "properties": { "agency_id": { "description": "GTFS agency.agency_id", "title": "agency_id", "type": "string", "x-order": 940 }, "agency_name": { "description": "GTFS agency.agency_name", "title": "agency_name", "type": "string", "x-order": 942 }, "alerts": { "description": "GTFS-RT alerts for this agency", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 985 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 983 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 986 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 986 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 946 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 965 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 967 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 968 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 968 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 948 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 959 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 961 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 962 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 962 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 950 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 977 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 979 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 980 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 980 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 971 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 973 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 974 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 974 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 953 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 955 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 956 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 956 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 987 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 987 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 936 }, "onestop_id": { "description": "OnestopID for this agency (or its associated operator)", "title": "onestop_id", "type": "string", "x-order": 938 } }, "title": "agency", "type": "object", "x-graphql-type": "Agency", "x-order": 988 }, "alerts": { "description": "GTFS-RT alerts for this route", "items": { "properties": { "active_period": { "description": "GTFS-RT Alert active alert period. See https://gtfs.org/realtime/reference/#message-timerange", "items": { "properties": { "end": { "description": "GTFS-RT TimeRange end time, in Unix epoch seconds", "nullable": true, "title": "end", "type": "integer", "x-order": 930 }, "start": { "description": "GTFS-RT TimeRange start time, in Unix epoch seconds", "nullable": true, "title": "start", "type": "integer", "x-order": 928 } }, "type": "object", "x-graphql-type": "RTTimeRange", "x-order": 931 }, "nullable": true, "title": "active_period", "type": "array", "x-graphql-type": "RTTimeRange", "x-order": 931 }, "cause": { "description": "GTFS-RT Alert [cause](https://gtfs.org/realtime/reference/#enum-cause)", "externalDocs": { "description": "cause", "url": "https://gtfs.org/realtime/reference/#enum-cause" }, "nullable": true, "title": "cause", "type": "string", "x-order": 891 }, "description_text": { "description": "GTFS-RT Alert description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 910 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 912 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 913 }, "title": "description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 913 }, "effect": { "description": "GTFS-RT Alert [effect](https://gtfs.org/realtime/reference/#enum-effect)", "externalDocs": { "description": "effect", "url": "https://gtfs.org/realtime/reference/#enum-effect" }, "nullable": true, "title": "effect", "type": "string", "x-order": 893 }, "header_text": { "description": "GTFS-RT Alert header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 904 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 906 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 907 }, "title": "header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 907 }, "severity_level": { "description": "GTFS-RT Alert severity level", "nullable": true, "title": "severity_level", "type": "string", "x-order": 895 }, "tts_description_text": { "description": "GTFS-RT Alert TTS description text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 922 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 924 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 925 }, "nullable": true, "title": "tts_description_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 925 }, "tts_header_text": { "description": "GTFS-RT Alert TTS header text", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 916 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 918 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 919 }, "nullable": true, "title": "tts_header_text", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 919 }, "url": { "description": "GTFS-RT Alert uRL for more information", "items": { "properties": { "language": { "description": "GTFS-RT TranslatedString language for this translation", "nullable": true, "title": "language", "type": "string", "x-order": 898 }, "text": { "description": "GTFS-RT TranslatedString translated text", "title": "text", "type": "string", "x-order": 900 } }, "type": "object", "x-graphql-type": "RTTranslation", "x-order": 901 }, "nullable": true, "title": "url", "type": "array", "x-graphql-type": "RTTranslation", "x-order": 901 } }, "type": "object", "x-graphql-type": "Alert", "x-order": 932 }, "nullable": true, "title": "alerts", "type": "array", "x-graphql-type": "Alert", "x-order": 932 }, "continuous_drop_off": { "description": "GTFS routes.continuous_drop_off", "nullable": true, "title": "continuous_drop_off", "type": "integer", "x-order": 885 }, "continuous_pickup": { "description": "GTFS routes.continuous_pickup", "nullable": true, "title": "continuous_pickup", "type": "integer", "x-order": 887 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 865 }, "onestop_id": { "description": "OnestopID for this route", "nullable": true, "title": "onestop_id", "type": "string", "x-order": 867 }, "route_color": { "description": "GTFS routes.route_color", "nullable": true, "title": "route_color", "type": "string", "x-order": 875 }, "route_desc": { "description": "GTFS routes.route_desc", "nullable": true, "title": "route_desc", "type": "string", "x-order": 877 }, "route_id": { "description": "GTFS routes.route_id", "title": "route_id", "type": "string", "x-order": 869 }, "route_long_name": { "description": "GTFS routes.route_long_name", "nullable": true, "title": "route_long_name", "type": "string", "x-order": 873 }, "route_short_name": { "description": "GTFS routes.route_short_name", "nullable": true, "title": "route_short_name", "type": "string", "x-order": 871 }, "route_text_color": { "description": "GTFS routes.route_text_color", "nullable": true, "title": "route_text_color", "type": "string", "x-order": 879 }, "route_type": { "description": "GTFS routes.route_type", "title": "route_type", "type": "integer", "x-order": 881 }, "route_url": { "description": "GTFS routes.route_url", "nullable": true, "title": "route_url", "type": "string", "x-order": 883 } }, "title": "route", "type": "object", "x-graphql-type": "Route", "x-order": 989 }, "schedule_relationship": { "description": "A status flag for real-time information about this trip.\n\n If no real-time information is available, the value will be STATIC and the estimated arrival/departure times will be empty. A trip with real-time information available will be SCHEDULED; a canceled trip will be CANCELED, and an added trip that is not present in the static GTFS will be ADDED.", "enum": [ "SCHEDULED", "ADDED", "UNSCHEDULED", "CANCELED", "STATIC", "SKIPPED", "NO_DATA", "REPLACEMENT", "DUPLICATED", "DELETED" ], "nullable": true, "title": "schedule_relationship", "type": "object", "x-graphql-type": "ScheduleRelationship", "x-order": 859 }, "shape": { "description": "Shape for this trip", "nullable": true, "properties": { "generated": { "description": "Was this geometry automatically generated from stop locations?", "title": "generated", "type": "boolean", "x-order": 998 }, "geometry": { "description": "Geometry for this shape", "title": "geometry", "x-order": 996 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 992 }, "shape_id": { "description": "GTFS shapes.shape_id", "title": "shape_id", "type": "string", "x-order": 994 } }, "title": "shape", "type": "object", "x-graphql-type": "Shape", "x-order": 999 }, "stop_pattern_id": { "description": "Calculated stop pattern ID; an integer scoped to the feed version", "title": "stop_pattern_id", "type": "integer", "x-order": 857 }, "timestamp": { "description": "GTFS-RT TripUpdate timestamp", "example": "2019-11-15T00:45:55.409906", "format": "datetime", "nullable": true, "title": "timestamp", "type": "string", "x-order": 861 }, "trip_headsign": { "description": "GTFS trips.trip_headsign", "nullable": true, "title": "trip_headsign", "type": "string", "x-order": 845 }, "trip_id": { "description": "GTFS trips.trip_id", "title": "trip_id", "type": "string", "x-order": 843 }, "trip_short_name": { "description": "GTFS trips.trip_short_name", "nullable": true, "title": "trip_short_name", "type": "string", "x-order": 847 }, "wheelchair_accessible": { "description": "GTFS trips.wheelchair_accessible", "nullable": true, "title": "wheelchair_accessible", "type": "integer", "x-order": 853 } }, "title": "trip", "type": "object", "x-graphql-type": "Trip", "x-order": 1057 } }, "type": "object", "x-graphql-type": "StopTime", "x-order": 1058 }, "title": "departures", "type": "array", "x-graphql-type": "StopTime", "x-order": 1058 }, "geometry": { "description": "Stop geometry", "title": "geometry", "x-order": 755 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 739 }, "location_type": { "description": "GTFS stops.location_type; this is optional in GTFS spec", "enum": [ "0", "1", "2", "3", "4" ], "title": "location_type", "type": "integer", "x-order": 757 }, "onestop_id": { "description": "OnestopID for this stop, if available", "example": "s-dr5ruvgnyk-madisonav~e69st", "title": "onestop_id", "type": "string", "x-order": 741 }, "platform_code": { "description": "GTFS stops.platform_code", "nullable": true, "title": "platform_code", "type": "string", "x-order": 759 }, "stop_code": { "description": "GTFS stops.stop_code", "nullable": true, "title": "stop_code", "type": "string", "x-order": 743 }, "stop_desc": { "description": "GTFS stops.stop_desc", "example": "NW Corner of Broadway and 14th", "nullable": true, "title": "stop_desc", "type": "string", "x-order": 745 }, "stop_id": { "description": "GTFS stops.stop_id", "example": "400029", "title": "stop_id", "type": "string", "x-order": 747 }, "stop_name": { "description": "GTFS stops.stop_name", "example": "MADISON AV/E 68 ST", "nullable": true, "title": "stop_name", "type": "string", "x-order": 749 }, "stop_timezone": { "description": "GTFS stops.stop_timezone; if overriding agency/route timezone", "example": "America/Los_Angeles", "nullable": true, "title": "stop_timezone", "type": "string", "x-order": 751 }, "stop_url": { "description": "GTFS stops.stop_url", "nullable": true, "title": "stop_url", "type": "string", "x-order": 753 }, "tts_stop_name": { "description": "GTFS stops.tts_stop_name", "nullable": true, "title": "tts_stop_name", "type": "string", "x-order": 761 }, "wheelchair_boarding": { "description": "GTFS stops.wheelchair_boarding", "enum": [ "0", "1", "2" ], "nullable": true, "title": "wheelchair_boarding", "type": "integer", "x-order": 763 }, "zone_id": { "description": "GTFS stops.zone_id", "nullable": true, "title": "zone_id", "type": "string", "x-order": 765 } }, "type": "object", "x-graphql-type": "Stop", "x-order": 1104 }, "nullable": true, "title": "children", "type": "array", "x-graphql-type": "Stop", "x-order": 1104 }, "geometry": { "description": "Stop geometry", "title": "geometry", "x-order": 725 }, "id": { "description": "Internal integer ID", "title": "id", "type": "integer", "x-order": 709 }, "location_type": { "description": "GTFS stops.location_type; this is optional in GTFS spec", "enum": [ "0", "1", "2", "3", "4" ], "title": "location_type", "type": "integer", "x-order": 727 }, "onestop_id": { "description": "OnestopID for this stop, if available", "example": "s-dr5ruvgnyk-madisonav~e69st", "title": "onestop_id", "type": "string", "x-order": 711 }, "platform_code": { "description": "GTFS stops.platform_code", "nullable": true, "title": "platform_code", "type": "string", "x-order": 729 }, "stop_code": { "description": "GTFS stops.stop_code", "nullable": true, "title": "stop_code", "type": "string", "x-order": 713 }, "stop_desc": { "description": "GTFS stops.stop_desc", "example": "NW Corner of Broadway and 14th", "nullable": true, "title": "stop_desc", "type": "string", "x-order": 715 }, "stop_id": { "description": "GTFS stops.stop_id", "example": "400029", "title": "stop_id", "type": "string", "x-order": 717 }, "stop_name": { "description": "GTFS stops.stop_name", "example": "MADISON AV/E 68 ST", "nullable": true, "title": "stop_name", "type": "string", "x-order": 719 }, "stop_timezone": { "description": "GTFS stops.stop_timezone; if overriding agency/route timezone", "example": "America/Los_Angeles", "nullable": true, "title": "stop_timezone", "type": "string", "x-order": 721 }, "stop_url": { "description": "GTFS stops.stop_url", "nullable": true, "title": "stop_url", "type": "string", "x-order": 723 }, "tts_stop_name": { "description": "GTFS stops.tts_stop_name", "nullable": true, "title": "tts_stop_name", "type": "string", "x-order": 731 }, "wheelchair_boarding": { "description": "GTFS stops.wheelchair_boarding", "enum": [ "0", "1", "2" ], "nullable": true, "title": "wheelchair_boarding", "type": "integer", "x-order": 733 }, "zone_id": { "description": "GTFS stops.zone_id", "nullable": true, "title": "zone_id", "type": "string", "x-order": 735 } }, "title": "parent", "type": "object", "x-graphql-type": "Stop", "x-order": 1150 }, "platform_code": { "description": "GTFS stops.platform_code", "nullable": true, "title": "platform_code", "type": "string", "x-order": 23 }, "stop_code": { "description": "GTFS stops.stop_code", "nullable": true, "title": "stop_code", "type": "string", "x-order": 7 }, "stop_desc": { "description": "GTFS stops.stop_desc", "example": "NW Corner of Broadway and 14th", "nullable": true, "title": "stop_desc", "type": "string", "x-order": 9 }, "stop_id": { "description": "GTFS stops.stop_id", "example": "400029", "title": "stop_id", "type": "string", "x-order": 11 }, "stop_name": { "description": "GTFS stops.stop_name", "example": "MADISON AV/E 68 ST", "nullable": true, "title": "stop_name", "type": "string", "x-order": 13 }, "stop_timezone": { "description": "GTFS stops.stop_timezone; if overriding agency/route timezone", "example": "America/Los_Angeles", "nullable": true, "title": "stop_timezone", "type": "string", "x-order": 15 }, "stop_url": { "description": "GTFS stops.stop_url", "nullable": true, "title": "stop_url", "type": "string", "x-order": 17 }, "tts_stop_name": { "description": "GTFS stops.tts_stop_name", "nullable": true, "title": "tts_stop_name", "type": "string", "x-order": 25 }, "wheelchair_boarding": { "description": "GTFS stops.wheelchair_boarding", "enum": [ "0", "1", "2" ], "nullable": true, "title": "wheelchair_boarding", "type": "integer", "x-order": 27 }, "zone_id": { "description": "GTFS stops.zone_id", "nullable": true, "title": "zone_id", "type": "string", "x-order": 29 } }, "type": "object", "x-graphql-type": "Stop", "x-order": 1196 }, "title": "stops", "type": "array", "x-graphql-type": "Stop", "x-order": 1196 } }, "title": "data" } } }, "description": "ok" }, "400": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Bad request - invalid parameters" }, "500": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Internal server error" }, "default": { "content": { "application/json": { "schema": { "type": "object" } } }, "description": "Unexpected error" } }, "summary": "Departures from a given stop based on static and real-time data", "x-alternates": [] } } }, "servers": [ { "description": "Transitland REST API", "url": "/rest" } ] }