addedInput schema / properties / coverage
Added value: +{
+ "description": "Runtime coverage name or identifier; use find_transit to inspect availability.",
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+}
addedInput schema / properties / ref / description
Added value: +"Route, dated trip or stop/station reference. Give this or stop."
addedInput schema / properties / stop
Added value: +{
+ "description": "Station name, with coverage. Give this or ref.",
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+}
removedInput schema / required
Removed value: -[
- "ref"
-]
changedOutput schema / properties / reasons / items / enum
Previous value: -[
- "REALTIME_STALE",
- "REALTIME_UNAVAILABLE",
- "SCHEDULE_EXPIRED",
- "SCHEDULE_APPROXIMATE",
- "SCHEDULE_REALTIME_MISMATCH",
- "TRIP_CANCELED",
- "STOP_SKIPPED",
- "VALIDATOR_REJECTED",
- "COVERAGE_UNAVAILABLE",
- "SCOPE_LIMIT_EXCEEDED"
-]New value: +[
+ "REALTIME_STALE",
+ "REALTIME_UNAVAILABLE",
+ "SCHEDULE_EXPIRED",
+ "SCHEDULE_APPROXIMATE",
+ "SCHEDULE_REALTIME_MISMATCH",
+ "TRIP_CANCELED",
+ "STOP_SKIPPED",
+ "VALIDATOR_REJECTED",
+ "COVERAGE_UNAVAILABLE",
+ "SCOPE_LIMIT_EXCEEDED",
+ "ACCESSIBILITY_UNAVAILABLE",
+ "ENDPOINT_NOT_STEP_FREE"
+]
changedOutput schema / properties / sources / items / properties / kind / enum
Previous value: -[
- "gtfs_schedule",
- "trip_updates",
- "vehicle_positions",
- "alerts",
- "native_api"
-]New value: +[
+ "gtfs_schedule",
+ "trip_updates",
+ "vehicle_positions",
+ "alerts",
+ "equipment_outages",
+ "native_api"
+]
removedOutput schema / properties / vehicles / items / properties / coordinates / additionalProperties
Removed value: -false
addedOutput schema / properties / vehicles / items / properties / coordinates / anyOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "latitude": {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ "longitude": {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ }
+ },
+ "required": [
+ "latitude",
+ "longitude"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]
removedOutput schema / properties / vehicles / items / properties / coordinates / properties
Removed value: -{
- "latitude": {
- "maximum": 90,
- "minimum": -90,
- "type": "number"
- },
- "longitude": {
- "maximum": 180,
- "minimum": -180,
- "type": "number"
- }
-}
removedOutput schema / properties / vehicles / items / properties / coordinates / required
Removed value: -[
- "latitude",
- "longitude"
-]
removedOutput schema / properties / vehicles / items / properties / coordinates / type
Removed value: -"object"
addedOutput schema / properties / vehicles / items / properties / coordinatesSource
Added value: +{
+ "anyOf": [
+ {
+ "enum": [
+ "vehicle",
+ "stop"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+}
addedOutput schema / properties / vehicles / items / properties / headsign
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+}
addedOutput schema / properties / vehicles / items / properties / previousStopName
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+}
addedOutput schema / properties / vehicles / items / properties / previousStopRef
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The scheduled stop before stopRef while the train is between stops; null when stopped or off its scheduled pattern."
+}
addedOutput schema / properties / vehicles / items / properties / routeName
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Public route name, e.g. \"A\" or \"Red\"."
+}
addedOutput schema / properties / vehicles / items / properties / stopName
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+}
addedOutput schema / properties / vehicles / items / properties / stopRef
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+}
addedOutput schema / properties / vehicles / items / properties / stopStatus
Added value: +{
+ "anyOf": [
+ {
+ "enum": [
+ "stopped_at",
+ "incoming_at",
+ "in_transit_to"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Relation to stopRef: stopped there, arriving, or travelling towards it."
+}
addedOutput schema / properties / vehicles / items / properties / trainId
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The agency's train identifier: an NYCT train ID such as \"1A 1023 207/FAR\" (line, scheduled origin time, origin/destination) or the label WMATA publishes. find_transit resolves it to this train's trip."
+}
changedOutput schema / properties / vehicles / items / required
Previous value: -[
- "id",
- "tripInstanceRef",
- "routeRef",
- "coordinates",
- "bearing",
- "speedMetersPerSecond",
- "observedAt",
- "ageSeconds"
-]New value: +[
+ "id",
+ "trainId",
+ "tripInstanceRef",
+ "routeRef",
+ "routeName",
+ "headsign",
+ "stopStatus",
+ "stopRef",
+ "stopName",
+ "previousStopRef",
+ "previousStopName",
+ "coordinates",
+ "coordinatesSource",
+ "bearing",
+ "speedMetersPerSecond",
+ "observedAt",
+ "ageSeconds"
+]