addedInput schema / additionalProperties
Added value: +false
changedInput schema / properties / dest_lat / description
Previous value: -"Destination latitude"New value: +"End latitude, decimal degrees."
addedInput schema / properties / dest_lat / maximum
Added value: +90
addedInput schema / properties / dest_lat / minimum
Added value: +-90
changedInput schema / properties / dest_lon / description
Previous value: -"Destination longitude"New value: +"End longitude, decimal degrees."
addedInput schema / properties / dest_lon / maximum
Added value: +180
addedInput schema / properties / dest_lon / minimum
Added value: +-180
addedInput schema / properties / destination
Added value: +{
+ "description": "End as a place name (\"Valencia\") or \"lat,lon\" text. Or give dest_lat and dest_lon.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+}
addedInput schema / properties / include_geometry
Added value: +{
+ "default": false,
+ "description": "Include each route's GeoJSON LineString ([lon, lat] points). Default false.",
+ "type": "boolean"
+}
addedInput schema / properties / origin
Added value: +{
+ "description": "Start as a place name (\"Madrid\") or \"lat,lon\" text (\"40.4168,-3.7038\"). Or give origin_lat and origin_lon.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+}
changedInput schema / properties / origin_lat / description
Previous value: -"Origin latitude"New value: +"Start latitude, decimal degrees."
addedInput schema / properties / origin_lat / maximum
Added value: +90
addedInput schema / properties / origin_lat / minimum
Added value: +-90
changedInput schema / properties / origin_lon / description
Previous value: -"Origin longitude"New value: +"Start longitude, decimal degrees."
addedInput schema / properties / origin_lon / maximum
Added value: +180
addedInput schema / properties / origin_lon / minimum
Added value: +-180
changedInput schema / properties / waypoints / description
Previous value: -"Optional JSON array of waypoints as [[lon,lat],...]"New value: +"Optional stops in order, as [lon, lat] pairs (longitude first), at most 5. Example: [[-1.13, 40.34]]."
addedInput schema / properties / waypoints / items
Added value: +{
+ "items": {
+ "type": "number"
+ },
+ "maxItems": 2,
+ "minItems": 2,
+ "type": "array"
+}
addedInput schema / properties / waypoints / maxItems
Added value: +5
changedInput schema / properties / waypoints / type
Previous value: -"string"New value: +"array"
changedInput schema / required
Previous value: -[
- "origin_lon",
- "origin_lat",
- "dest_lon",
- "dest_lat"
-]New value: +[]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "destination": {
+ "additionalProperties": false,
+ "properties": {
+ "city": {
+ "type": "string"
+ },
+ "country": {
+ "type": "string"
+ },
+ "lat": {
+ "type": "number"
+ },
+ "lon": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "lat",
+ "lon"
+ ],
+ "type": "object"
+ },
+ "origin": {
+ "additionalProperties": false,
+ "properties": {
+ "city": {
+ "type": "string"
+ },
+ "country": {
+ "type": "string"
+ },
+ "lat": {
+ "type": "number"
+ },
+ "lon": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "lat",
+ "lon"
+ ],
+ "type": "object"
+ },
+ "routes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "bbox": {
+ "items": {
+ "type": "number"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "distance_km": {
+ "type": "number"
+ },
+ "duration_min": {
+ "type": "number"
+ },
+ "geometry": {
+ "additionalProperties": false,
+ "properties": {
+ "coordinates": {
+ "items": {
+ "items": {
+ "type": "number"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "type": {
+ "enum": [
+ "LineString"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "coordinates"
+ ],
+ "type": "object"
+ },
+ "points": {
+ "description": "Number of points in the route line",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "distance_km",
+ "duration_min",
+ "points"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "origin",
+ "destination",
+ "routes"
+ ],
+ "type": "object"
+}