{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/precisely-apis/main/json-schema/precisely-apis-travel-boundaries-schema.json",
  "title": "TravelBoundaries",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/precisely-apis-zones-api-openapi.yml#/components/schemas/TravelBoundaries",
  "properties": {
    "travelBoundary": {
      "$ref": "#/$defs/TravelBoundary"
    }
  },
  "type": "object",
  "$defs": {
    "Cost": {
      "properties": {
        "cost": {
          "type": "number"
        },
        "costUnit": {
          "type": "string"
        },
        "geometry": {
          "$ref": "#/$defs/DirectionGeometry"
        }
      },
      "type": "object"
    },
    "DirectionGeometry": {
      "properties": {
        "type": {
          "type": "string"
        },
        "coordinates": {
          "items": {
            "items": {
              "items": {
                "items": {
                  "format": "double",
                  "type": "number"
                },
                "type": "array"
              },
              "type": "array"
            },
            "type": "array"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "TravelBoundary": {
      "properties": {
        "costs": {
          "items": {
            "$ref": "#/$defs/Cost"
          },
          "properties": {
            "empty": {
              "type": "boolean"
            }
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  }
}