changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "connections": {
+ "description": "List of available connections",
+ "items": {
+ "properties": {
+ "arrival": {
+ "description": "Arrival stop details",
+ "properties": {
+ "arrival": {
+ "description": "Arrival time at this stop",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "delay": {
+ "description": "Delay in minutes",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "departure": {
+ "description": "Departure time from this stop",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "platform": {
+ "description": "Platform number",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "station": {
+ "properties": {
+ "coordinate": {
+ "properties": {
+ "x": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "y": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Station identifier",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Station name",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "departure": {
+ "description": "Departure stop details",
+ "properties": {
+ "arrival": {
+ "description": "Arrival time at this stop",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "delay": {
+ "description": "Delay in minutes",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "departure": {
+ "description": "Departure time from this stop",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "platform": {
+ "description": "Platform number",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "station": {
+ "properties": {
+ "coordinate": {
+ "properties": {
+ "x": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "y": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Station identifier",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Station name",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "duration": {
+ "description": "Total journey duration",
+ "type": "string"
+ },
+ "sections": {
+ "description": "Journey sections (vehicle legs or walks)",
+ "items": {
+ "properties": {
+ "arrival": {
+ "description": "Section arrival stop",
+ "properties": {
+ "arrival": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "delay": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "departure": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "platform": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "station": {
+ "properties": {
+ "coordinate": {
+ "properties": {
+ "x": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "y": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "departure": {
+ "description": "Section departure stop",
+ "properties": {
+ "arrival": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "delay": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "departure": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "platform": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "station": {
+ "properties": {
+ "coordinate": {
+ "properties": {
+ "x": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "y": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "journey": {
+ "description": "Public transport vehicle details",
+ "properties": {
+ "category": {
+ "description": "Transport category (e.g., train, bus)",
+ "type": "string"
+ },
+ "name": {
+ "description": "Journey name",
+ "type": "string"
+ },
+ "number": {
+ "description": "Vehicle number",
+ "type": "string"
+ },
+ "operator": {
+ "description": "Transport operator name",
+ "type": "string"
+ },
+ "to": {
+ "description": "Vehicle destination",
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "walk": {
+ "description": "Walking segment details",
+ "properties": {
+ "duration": {
+ "description": "Walking duration in seconds",
+ "type": "number"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "transfers": {
+ "description": "Number of transfers required",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "count": {
+ "description": "Number of connections returned",
+ "type": "number"
+ },
+ "from": {
+ "description": "Departure station",
+ "properties": {
+ "coordinate": {
+ "description": "Geographic coordinates",
+ "properties": {
+ "x": {
+ "description": "X coordinate (longitude)",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "y": {
+ "description": "Y coordinate (latitude)",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Station identifier",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Station name",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "to": {
+ "description": "Arrival station",
+ "properties": {
+ "coordinate": {
+ "description": "Geographic coordinates",
+ "properties": {
+ "x": {
+ "description": "X coordinate (longitude)",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "y": {
+ "description": "Y coordinate (latitude)",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Station identifier",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Station name",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "from",
+ "to",
+ "count",
+ "connections"
+ ],
+ "type": "object"
+}