MileMaker · Schema

BasicRoutePlanRequest

Holds input details about route waypoints, route preferences and vehicle parameters

LogisticsTransportationRoutingMileageTrucking

Properties

Name Type Description
id string
waypoints array A list of waypoints through which the route is calculated. The first and last waypoints define the origin and destination of the route accordingly. These two waypoints are required and should be of a
vehicleType object
routingType object
hazmatType array
vehicleParameters object
avoid array Represents a list of road types to be avoided during route calculation
waypointOptimization object
governorSpeed number Governor speed (mph). When provided and greater than zero, limits the speed of each route segment to this value.
optimisticSearch boolean Optional parameter, attempts to provide the best location matching when enabled
tollProfile object
View JSON Schema on GitHub

JSON Schema

milemaker-com-basic-route-plan-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/milemaker-com/json-schema/milemaker-com-basic-route-plan-request-schema.json",
  "title": "BasicRoutePlanRequest",
  "description": "Holds input details about route waypoints, route preferences and vehicle parameters",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/milemaker-com-openapi.yml#/components/schemas/BasicRoutePlanRequest",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "waypoints": {
      "type": "array",
      "minItems": 2,
      "maxItems": 30,
      "description": "A list of waypoints through which the route is calculated. The first and last waypoints define the origin and destination of the route accordingly. These two waypoints are required and should be of a type 'break'.",
      "items": {
        "$ref": "#/$defs/Waypoint"
      }
    },
    "vehicleType": {
      "$ref": "#/$defs/VehicleType"
    },
    "routingType": {
      "$ref": "#/$defs/RoutingType"
    },
    "hazmatType": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/HazmatType"
      }
    },
    "vehicleParameters": {
      "$ref": "#/$defs/VehicleParameters"
    },
    "avoid": {
      "type": "array",
      "description": "Represents a list of road types to be avoided during route calculation",
      "items": {
        "$ref": "#/$defs/AvoidType"
      }
    },
    "waypointOptimization": {
      "$ref": "#/$defs/WaypointOptimization"
    },
    "governorSpeed": {
      "type": "number",
      "description": "Governor speed (mph). When provided and greater than zero, limits the speed of each route segment to this value.",
      "minimum": 1,
      "maximum": 100
    },
    "optimisticSearch": {
      "type": "boolean",
      "description": "Optional parameter, attempts to provide the best location matching when enabled"
    },
    "tollProfile": {
      "$ref": "#/$defs/TollProfile"
    }
  },
  "required": [
    "waypoints",
    "vehicleType"
  ],
  "$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"
      ]
    },
    "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."
    },
    "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"
    },
    "TollProfile": {
      "type": "object",
      "properties": {
        "transponder": {
          "type": "boolean",
          "default": true
        }
      },
      "description": "Optional parameter, true if vehicle uses transponder"
    },
    "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"
      ]
    },
    "Waypoint": {
      "type": "object",
      "description": "Represents a routes waypoint that is either origin, destination or an intermediate stop.",
      "additionalProperties": false,
      "required": [
        "value"
      ],
      "properties": {
        "value": {
          "type": "string",
          "description": "a string representation of a geo-location in WGS84 coordinates"
        },
        "type": {
          "$ref": "#/$defs/WaypointType"
        },
        "id": {
          "type": "string",
          "nullable": false,
          "minLength": 1,
          "description": "It is the optional identifier to track the original order after waypoint optimization and other manipulations\n"
        }
      }
    },
    "WaypointOptimization": {
      "description": "Specifies whether to reorder the waypoints in the most efficient order possible. Options to `lockFirstWaypoint` and `lockLastWaypont` are interpreted only if `optimize` is true",
      "type": "object",
      "properties": {
        "optimize": {
          "type": "boolean",
          "default": false
        },
        "lockFirstWaypoint": {
          "type": "boolean",
          "default": true
        },
        "lockLastWaypoint": {
          "type": "boolean",
          "default": false
        }
      }
    },
    "WaypointType": {
      "type": "string",
      "default": "break",
      "description": "Type of location, either `break` or `through`. Each type controls two characteristics: whether or not to allow a u-turn at the location and whether or not to generate guidance/legs at the location. A `break` is a location at which we allow u-turns and generate legs and arrival/departure maneuvers. A `through` location is a location at which we neither allow u-turns nor generate legs or arrival/departure maneuvers.\nIf no type is provided, the type is assumed to be a `break`.\n",
      "enum": [
        "break",
        "through"
      ]
    }
  }
}

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-basic-route-plan-request"
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.