{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/precisely-apis/main/json-schema/precisely-apis-travel-cost-matrix-response-schema.json",
  "title": "TravelCostMatrixResponse",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/precisely-apis-routing-api-openapi.yml#/components/schemas/TravelCostMatrixResponse",
  "properties": {
    "matrix": {
      "items": {
        "$ref": "#/$defs/Matrix"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "Matrix": {
      "properties": {
        "distance": {
          "type": "number"
        },
        "distanceUnit": {
          "type": "string"
        },
        "endPoint": {
          "$ref": "#/$defs/StartEndPoint"
        },
        "startPoint": {
          "$ref": "#/$defs/StartEndPoint"
        },
        "time": {
          "type": "number"
        },
        "timeUnit": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "StartEndPoint": {
      "properties": {
        "type": {
          "type": "string"
        },
        "coordinates": {
          "items": {
            "type": "number"
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  }
}