changedOutput schema / properties / nearby / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "airports": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": [
- "string",
- "null"
- ]
- },
- "context": {
- "type": [
- "string",
- "null"
- ]
- },
- "distance_km": {
- "type": "number"
- },
- "kind": {
- "type": "string"
- },
- "lat": {
- "type": "number"
- },
- "lng": {
- "type": "number"
- },
- "name": {
- "type": "string"
- },
- "source": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "name",
- "code",
- "context",
- "lat",
- "lng",
- "source",
- "distance_km"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "bus_stations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": [
- "string",
- "null"
- ]
- },
- "context": {
- "type": [
- "string",
- "null"
- ]
- },
- "distance_km": {
- "type": "number"
- },
- "kind": {
- "type": "string"
- },
- "lat": {
- "type": "number"
- },
- "lng": {
- "type": "number"
- },
- "name": {
- "type": "string"
- },
- "source": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "name",
- "code",
- "context",
- "lat",
- "lng",
- "source",
- "distance_km"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "stations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": [
- "string",
- "null"
- ]
- },
- "context": {
- "type": [
- "string",
- "null"
- ]
- },
- "distance_km": {
- "type": "number"
- },
- "kind": {
- "type": "string"
- },
- "lat": {
- "type": "number"
- },
- "lng": {
- "type": "number"
- },
- "name": {
- "type": "string"
- },
- "source": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "name",
- "code",
- "context",
- "lat",
- "lng",
- "source",
- "distance_km"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "stations",
- "airports",
- "bus_stations"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "airports": {
+ "description": "Up to 2 nearest airports with IATA codes within 60 km.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "description": "Railway station code or airport IATA code (null when the place has none).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "context": {
+ "description": "Extra detail, e.g. the airport's city, the bus operator, a halt marker or the geocoder's locality.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "distance_km": {
+ "description": "Straight-line distance from the given lat/lng, km.",
+ "type": "number"
+ },
+ "kind": {
+ "description": "Kind of place: station, airport, bus_station, landmark, locality or point (raw coordinates).",
+ "type": "string"
+ },
+ "lat": {
+ "description": "Latitude.",
+ "type": "number"
+ },
+ "lng": {
+ "description": "Longitude.",
+ "type": "number"
+ },
+ "name": {
+ "description": "Place name.",
+ "type": "string"
+ },
+ "source": {
+ "description": "Dataset or geocoder the place came from, e.g. openstreetmap, ourairports, or input for given coordinates.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "name",
+ "code",
+ "context",
+ "lat",
+ "lng",
+ "source",
+ "distance_km"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "bus_stations": {
+ "description": "Up to 2 nearest bus stations within 5 km.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "description": "Railway station code or airport IATA code (null when the place has none).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "context": {
+ "description": "Extra detail, e.g. the airport's city, the bus operator, a halt marker or the geocoder's locality.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "distance_km": {
+ "description": "Straight-line distance from the given lat/lng, km.",
+ "type": "number"
+ },
+ "kind": {
+ "description": "Kind of place: station, airport, bus_station, landmark, locality or point (raw coordinates).",
+ "type": "string"
+ },
+ "lat": {
+ "description": "Latitude.",
+ "type": "number"
+ },
+ "lng": {
+ "description": "Longitude.",
+ "type": "number"
+ },
+ "name": {
+ "description": "Place name.",
+ "type": "string"
+ },
+ "source": {
+ "description": "Dataset or geocoder the place came from, e.g. openstreetmap, ourairports, or input for given coordinates.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "name",
+ "code",
+ "context",
+ "lat",
+ "lng",
+ "source",
+ "distance_km"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "stations": {
+ "description": "Up to 3 nearest railway stations within 10 km.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "description": "Railway station code or airport IATA code (null when the place has none).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "context": {
+ "description": "Extra detail, e.g. the airport's city, the bus operator, a halt marker or the geocoder's locality.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "distance_km": {
+ "description": "Straight-line distance from the given lat/lng, km.",
+ "type": "number"
+ },
+ "kind": {
+ "description": "Kind of place: station, airport, bus_station, landmark, locality or point (raw coordinates).",
+ "type": "string"
+ },
+ "lat": {
+ "description": "Latitude.",
+ "type": "number"
+ },
+ "lng": {
+ "description": "Longitude.",
+ "type": "number"
+ },
+ "name": {
+ "description": "Place name.",
+ "type": "string"
+ },
+ "source": {
+ "description": "Dataset or geocoder the place came from, e.g. openstreetmap, ourairports, or input for given coordinates.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "name",
+ "code",
+ "context",
+ "lat",
+ "lng",
+ "source",
+ "distance_km"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "stations",
+ "airports",
+ "bus_stations"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]