changedOutput schema / properties / itineraries / items / properties / legs / items / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "agencyRef": {
- "type": "string"
- },
- "alightSequence": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "arrivalTime": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "boardSequence": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "continuation": {
- "type": "boolean"
- },
- "departureTime": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "directionId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "from": {
- "type": "string"
- },
- "headsign": {
- "type": "string"
- },
- "instanceStartSeconds": {
- "type": "number"
- },
- "intermediateStopCount": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "kind": {
- "const": "transit",
- "type": "string"
- },
- "mode": {
- "type": "string"
- },
- "realtimeTimestampSeconds": {
- "type": "number"
- },
- "routeRef": {
- "type": "string"
- },
- "scheduleVersion": {
- "type": "string"
- },
- "scheduledArrivalTime": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "scheduledDepartureTime": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "serviceDate": {
- "type": "string"
- },
- "sources": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "ageSeconds": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "feedId": {
- "type": "string"
- },
- "ingestedAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "kind": {
- "enum": [
- "gtfs_schedule",
- "trip_updates",
- "vehicle_positions",
- "alerts",
- "native_api"
- ],
- "type": "string"
- },
- "producerTimestamp": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "scheduleVersion": {
- "type": "string"
- }
- },
- "required": [
- "feedId",
- "kind",
- "producerTimestamp",
- "ingestedAt",
- "ageSeconds",
- "scheduleVersion"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "realtime",
- "scheduled_only"
- ],
- "type": "string"
- },
- "to": {
- "type": "string"
- },
- "transferRequired": {
- "type": "boolean"
- },
- "tripInstanceRef": {
- "type": "string"
- },
- "tripRef": {
- "type": "string"
- },
- "validatorOutcome": {
- "const": "valid",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "from",
- "to",
- "tripRef",
- "tripInstanceRef",
- "serviceDate",
- "instanceStartSeconds",
- "routeRef",
- "directionId",
- "headsign",
- "boardSequence",
- "alightSequence",
- "scheduleVersion",
- "scheduledDepartureTime",
- "scheduledArrivalTime",
- "departureTime",
- "arrivalTime",
- "status",
- "continuation",
- "mode",
- "agencyRef",
- "intermediateStopCount",
- "transferRequired",
- "sources",
- "validatorOutcome"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "arrivalTime": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "departureTime": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "distanceMetres": {
- "type": "number"
- },
- "estimated": {
- "type": "boolean"
- },
- "from": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "additionalProperties": false,
- "properties": {
- "latitude": {
- "maximum": 90,
- "minimum": -90,
- "type": "number"
- },
- "longitude": {
- "maximum": 180,
- "minimum": -180,
- "type": "number"
- }
- },
- "required": [
- "latitude",
- "longitude"
- ],
- "type": "object"
- }
- ]
- },
- "kind": {
- "const": "walk",
- "type": "string"
- },
- "pathwayId": {
- "type": "string"
- },
- "to": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "additionalProperties": false,
- "properties": {
- "latitude": {
- "maximum": 90,
- "minimum": -90,
- "type": "number"
- },
- "longitude": {
- "maximum": 180,
- "minimum": -180,
- "type": "number"
- }
- },
- "required": [
- "latitude",
- "longitude"
- ],
- "type": "object"
- }
- ]
- },
- "validatorOutcome": {
- "const": "valid",
- "type": "string"
- },
- "verification": {
- "enum": [
- "pathway",
- "unverified"
- ],
- "type": "string"
- }
- },
- "required": [
- "kind",
- "from",
- "to",
- "departureTime",
- "arrivalTime",
- "distanceMetres",
- "verification",
- "estimated",
- "validatorOutcome"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "agencyRef": {
+ "type": "string"
+ },
+ "alightSequence": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "arrivalTime": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "boardSequence": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "continuation": {
+ "type": "boolean"
+ },
+ "departureTime": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "directionId": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "from": {
+ "type": "string"
+ },
+ "headsign": {
+ "type": "string"
+ },
+ "instanceStartSeconds": {
+ "type": "number"
+ },
+ "intermediateStopCount": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "kind": {
+ "const": "transit",
+ "type": "string"
+ },
+ "mode": {
+ "type": "string"
+ },
+ "realtimeTimestampSeconds": {
+ "type": "number"
+ },
+ "routeRef": {
+ "type": "string"
+ },
+ "scheduleVersion": {
+ "type": "string"
+ },
+ "scheduledArrivalTime": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "scheduledDepartureTime": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "serviceDate": {
+ "type": "string"
+ },
+ "sources": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "ageSeconds": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "feedId": {
+ "type": "string"
+ },
+ "ingestedAt": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "gtfs_schedule",
+ "trip_updates",
+ "vehicle_positions",
+ "alerts",
+ "equipment_outages",
+ "native_api"
+ ],
+ "type": "string"
+ },
+ "producerTimestamp": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "scheduleVersion": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "feedId",
+ "kind",
+ "producerTimestamp",
+ "ingestedAt",
+ "ageSeconds",
+ "scheduleVersion"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "enum": [
+ "realtime",
+ "scheduled_only"
+ ],
+ "type": "string"
+ },
+ "to": {
+ "type": "string"
+ },
+ "transferRequired": {
+ "type": "boolean"
+ },
+ "tripInstanceRef": {
+ "type": "string"
+ },
+ "tripRef": {
+ "type": "string"
+ },
+ "validatorOutcome": {
+ "const": "valid",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "from",
+ "to",
+ "tripRef",
+ "tripInstanceRef",
+ "serviceDate",
+ "instanceStartSeconds",
+ "routeRef",
+ "directionId",
+ "headsign",
+ "boardSequence",
+ "alightSequence",
+ "scheduleVersion",
+ "scheduledDepartureTime",
+ "scheduledArrivalTime",
+ "departureTime",
+ "arrivalTime",
+ "status",
+ "continuation",
+ "mode",
+ "agencyRef",
+ "intermediateStopCount",
+ "transferRequired",
+ "sources",
+ "validatorOutcome"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "arrivalTime": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "departureTime": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "distanceMetres": {
+ "type": "number"
+ },
+ "estimated": {
+ "type": "boolean"
+ },
+ "from": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "latitude": {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ "longitude": {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ }
+ },
+ "required": [
+ "latitude",
+ "longitude"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "kind": {
+ "const": "walk",
+ "type": "string"
+ },
+ "pathwayId": {
+ "type": "string"
+ },
+ "to": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "latitude": {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ "longitude": {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ }
+ },
+ "required": [
+ "latitude",
+ "longitude"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "validatorOutcome": {
+ "const": "valid",
+ "type": "string"
+ },
+ "verification": {
+ "enum": [
+ "pathway",
+ "unverified"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "from",
+ "to",
+ "departureTime",
+ "arrivalTime",
+ "distanceMetres",
+ "verification",
+ "estimated",
+ "validatorOutcome"
+ ],
+ "type": "object"
+ }
+]