MileMaker · Schema

MatrixResponse

LogisticsTransportationRoutingMileageTrucking

Properties

Name Type Description
id string
routeConfiguration object
origin array
destination array
createdAt string
status object
routesTotal integer Total number of origin/destination route combinations submitted
routesSuccess integer Number of combinations computed successfully
routesFailed integer Number of combinations that failed processing
fileUrl string
View JSON Schema on GitHub

JSON Schema

milemaker-com-matrix-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/milemaker-com/json-schema/milemaker-com-matrix-response-schema.json",
  "title": "MatrixResponse",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/milemaker-com-openapi.yml#/components/schemas/MatrixResponse",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "routeConfiguration",
    "origin",
    "destination",
    "createdAt",
    "status",
    "routesTotal",
    "routesSuccess",
    "routesFailed"
  ],
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "nullable": false
    },
    "routeConfiguration": {
      "$ref": "#/$defs/RouteConfiguration"
    },
    "origin": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Coordinates"
      }
    },
    "destination": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Coordinates"
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "status": {
      "$ref": "#/$defs/MatrixStatus"
    },
    "routesTotal": {
      "description": "Total number of origin/destination route combinations submitted",
      "type": "integer"
    },
    "routesSuccess": {
      "description": "Number of combinations computed successfully",
      "type": "integer"
    },
    "routesFailed": {
      "description": "Number of combinations that failed processing",
      "type": "integer"
    },
    "fileUrl": {
      "type": "string"
    }
  },
  "$defs": {
    "AvoidType": {
      "description": "Represents a list of road types to be avoided during route calculation.\n\n`roadClosures` avoids roads reported as closed. Guide20 only. Accepted for `practical` and\n`shortest`, not for `fastest`, which always routes around closures using traffic. Not\nlisted means closed roads are not avoided.\n",
      "type": "string",
      "enum": [
        "tolls",
        "highways",
        "dirtRoads",
        "ferries",
        "tunnels",
        "uTurns",
        "borderCrossings",
        "roadClosures"
      ]
    },
    "Coordinates": {
      "type": "object",
      "description": "Latitude and Longitude are the units that represent the coordinates at geographic coordinate system",
      "additionalProperties": false,
      "required": [
        "lat",
        "lng"
      ],
      "properties": {
        "lat": {
          "type": "number",
          "format": "double",
          "minimum": -90,
          "maximum": 90,
          "description": "Latitude"
        },
        "lng": {
          "type": "number",
          "format": "double",
          "minimum": -180,
          "maximum": 180,
          "description": "Longitude"
        }
      }
    },
    "HazmatType": {
      "type": "string",
      "enum": [
        "explosive",
        "gas",
        "flammable",
        "combustible",
        "organic",
        "poison",
        "radioactive",
        "corrosives",
        "poisonousInhalation",
        "other"
      ],
      "description": "specifies type of hazardeous load being transported. This informs routing engine about road restrictions and preferred road network to transport this load."
    },
    "MatrixStatus": {
      "description": "Represents current status of the matrix",
      "type": "string",
      "enum": [
        "in_progress",
        "preparing_results",
        "completed",
        "failed",
        "pending_delete"
      ]
    },
    "RouteConfiguration": {
      "type": "object",
      "description": "Holds a configuration for all batch routes",
      "additionalProperties": false,
      "properties": {
        "routingType": {
          "$ref": "#/$defs/RoutingType"
        },
        "vehicleType": {
          "$ref": "#/$defs/VehicleType"
        },
        "vehicleParameters": {
          "$ref": "#/$defs/VehicleParameters"
        },
        "hazmatType": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/HazmatType"
          }
        },
        "avoid": {
          "type": "array",
          "description": "Represents a list of road types to be avoided during route calculation",
          "items": {
            "$ref": "#/$defs/AvoidType"
          }
        }
      }
    },
    "RoutingType": {
      "description": "Specifies which optimization is applied during route calculation. The following are intended use cases for each route type.\n\n|  **Route Type**  |  **Description** |\n| ------------     | ---------------- |\n|  `Shortest`      | used for mileage rating, minimizes distance |\n|  `Practical`     | used for mileage rating, minimizes travel duration, uses posted speed limits  |\n|  `Fastest`       | used for trip planning, accepts additional avoid options, trip departure/arrival time, and uses traffic flow to calculate time  |\n",
      "type": "string",
      "enum": [
        "fastest",
        "shortest",
        "practical"
      ],
      "default": "fastest"
    },
    "VehicleLengthType": {
      "type": "string",
      "description": "Vehicle length",
      "enum": [
        "straight",
        "48",
        "53",
        "double",
        "triple"
      ]
    },
    "VehicleParameters": {
      "type": "object",
      "description": "Represents vehicle physical parameters. Default values are                  \n|  Property  |  Value |\n| ---------  | ------ |\n|  length    |   '53' |\n|  width     |   102  |\n|  height    |   162  |\n|  weight    |  80000 |\n|  axleCount |    5   |\n",
      "properties": {
        "length": {
          "$ref": "#/$defs/VehicleLengthType"
        },
        "width": {
          "type": "integer",
          "description": "Vehicle width (inches)",
          "minimum": 60,
          "maximum": 102
        },
        "height": {
          "type": "integer",
          "description": "Vehicle height (inches)",
          "minimum": 60,
          "maximum": 240
        },
        "weight": {
          "type": "integer",
          "description": "Vehicle weight (pounds)",
          "minimum": 1500,
          "maximum": 120000
        },
        "axleCount": {
          "type": "integer",
          "description": "Defines total number of axles in the vehicle",
          "minimum": 2,
          "maximum": 10
        }
      }
    },
    "VehicleType": {
      "description": "Represents a type of transport that will travel the route. Vehicle type affects restrictions and preferred road network.",
      "type": "string",
      "enum": [
        "car",
        "truck"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/milemaker-com-matrix-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.