addedOutput schema / properties
Added value: +{
+ "destinations": {
+ "items": {
+ "properties": {
+ "location": {
+ "description": "[lon, lat] snapped to the road network",
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "snapped_distance": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "distances": {
+ "description": "Meters; only when metrics includes \"distance\"",
+ "items": {
+ "items": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ "durations": {
+ "description": "Seconds, sources × destinations",
+ "items": {
+ "items": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": "array"
+ },
+ "type": "array"
+ },
+ "metadata": {
+ "properties": {
+ "attribution": {
+ "type": "string"
+ },
+ "engine": {
+ "properties": {
+ "build_date": {
+ "type": "string"
+ },
+ "graph_date": {
+ "type": "string"
+ },
+ "osm_date": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "query": {
+ "description": "Echo of the request",
+ "type": "object"
+ },
+ "service": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "sources": {
+ "items": {
+ "properties": {
+ "location": {
+ "description": "[lon, lat] snapped to the road network",
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "snapped_distance": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+}