changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "routes": {
+ "description": "Array of possible routes",
+ "items": {
+ "properties": {
+ "bounds": {
+ "description": "Route bounding box",
+ "type": "object"
+ },
+ "copyrights": {
+ "description": "Attribution/copyright notice",
+ "type": "string"
+ },
+ "legs": {
+ "description": "Route segments between waypoints",
+ "items": {
+ "properties": {
+ "distance": {
+ "properties": {
+ "text": {
+ "description": "Human-readable distance",
+ "type": "string"
+ },
+ "value": {
+ "description": "Distance in meters",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "duration": {
+ "properties": {
+ "text": {
+ "description": "Human-readable duration",
+ "type": "string"
+ },
+ "value": {
+ "description": "Duration in seconds",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "end_location": {
+ "properties": {
+ "lat": {
+ "description": "Latitude",
+ "type": "number"
+ },
+ "lng": {
+ "description": "Longitude",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "start_location": {
+ "properties": {
+ "lat": {
+ "description": "Latitude",
+ "type": "number"
+ },
+ "lng": {
+ "description": "Longitude",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "steps": {
+ "description": "Turn-by-turn directions",
+ "items": {
+ "properties": {
+ "distance": {
+ "properties": {
+ "text": {
+ "description": "Human-readable distance",
+ "type": "string"
+ },
+ "value": {
+ "description": "Distance in meters",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "duration": {
+ "properties": {
+ "text": {
+ "description": "Human-readable duration",
+ "type": "string"
+ },
+ "value": {
+ "description": "Duration in seconds",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "end_location": {
+ "properties": {
+ "lat": {
+ "description": "Latitude",
+ "type": "number"
+ },
+ "lng": {
+ "description": "Longitude",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "html_instructions": {
+ "description": "Turn-by-turn instruction text",
+ "type": "string"
+ },
+ "start_location": {
+ "properties": {
+ "lat": {
+ "description": "Latitude",
+ "type": "number"
+ },
+ "lng": {
+ "description": "Longitude",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "summary": {
+ "description": "Route summary",
+ "type": "string"
+ },
+ "warnings": {
+ "description": "Route warnings if any",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "description": "Status of the directions request",
+ "enum": [
+ "OK",
+ "NOT_FOUND",
+ "ZERO_RESULTS",
+ "MAX_WAYPOINTS_EXCEEDED",
+ "MAX_ROUTE_LENGTH_EXCEEDED",
+ "INVALID_REQUEST",
+ "OVER_QUERY_LIMIT",
+ "REQUEST_DENIED",
+ "UNKNOWN_ERROR"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+}