Operation Page Breadcrumb

Developer APIs Orders API

Orders API

Create an Order

Creates an order in the J.B. Hunt 360 platform.

Try it

Request

Request URL

Request headers

  • (optional)
    string
    Media type of the body sent to the API.
  • string
    Subscription key which provides access to this API. Found in your Profile.
  • string
    OAuth 2.0 access token obtained from JB Hunt OAuth 2.0 Provider. Supported grant types: Authorization code.

Request body

Describes the characteristics of the order to create.

{
  "primaryReferenceId": "ABC123",
  "stops": [
    {
      "stopReason": "Pickup",
      "location": {
        "id": "L2345",
        "address": {
          "name": "Store 22",
          "streetAddress1": "10045 International Blvd",
          "locality": "West Chester",
          "adminArea1": "OH",
          "postalCode": "45246",
          "countryCode": "USA"
        }
      },
      "appointment": {
        "beginsAt": "2020-02-14T14:00:00+00:00",
        "endsAt": "2020-02-14T15:00:00+00:00",
        "confirmAppointment": true
      },
      "handlingUnitsLoaded": [
        {
          "id": "handlingUnit1",
          "quantity": {
            "value": 26,
            "unitOfMeasure": "Pallets"
          },
          "weight": {
            "value": 40000,
            "unitOfMeasure": "Pounds"
          },
          "commodityDescription": "Paper"
        }
      ]
    },
    {
      "stopReason": "Delivery",
      "location": {
        "id": "L2346",
        "address": {
          "name": "Store 23",
          "streetAddress1": "10046 International Blvd",
          "locality": "West Chester",
          "adminArea1": "OH",
          "postalCode": "45246",
          "countryCode": "USA"
        }
      },
      "appointment": {
        "beginsAt": "2020-02-15T14:00:00+00:00",
        "endsAt": "2020-02-15T15:00:00+00:00",
        "confirmAppointment": true
      },
      "handlingUnitsUnloaded": [
        {
          "id": "handlingUnit1"
        }
      ]
    }
  ],
  "transportationMode": "Truck",
  "equipmentType": "DryVan",
  "contact": {
    "firstName": "James",
    "lastName": "King",
    "preferredContactMethod": "Phone",
    "phoneNumber": {
      "number": "4798203313"
    },
    "emailAddress": "james.king@email.com"
  }
}
{
  "required": [
    "primaryReferenceId",
    "stops",
    "transportationMode",
    "equipmentType",
    "contact"
  ],
  "type": "object",
  "allOf": [
    {
      "type": "object",
      "properties": {
        "primaryReferenceId": {
          "type": "string",
          "description": "The customer's identification number for this order. This can be used to look up the order in the absence of a J.B. Hunt order ID."
        },
        "stops": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "allOf": [
                  {
                    "required": [
                      "stopReason",
                      "location",
                      "appointment"
                    ],
                    "type": "object",
                    "properties": {
                      "stopId": {
                        "type": "string",
                        "description": "The unique J.B. Hunt identifier for the stop."
                      },
                      "stopReason": {
                        "enum": [
                          "Pickup",
                          "Delivery"
                        ],
                        "type": "string",
                        "description": "The reason for the stop, either a pickup or delivery."
                      },
                      "location": {
                        "type": "object",
                        "anyOf": [
                          {
                            "required": [
                              "id"
                            ]
                          },
                          {
                            "required": [
                              "address"
                            ]
                          }
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Customer-defined unique identifier for a stop"
                          },
                          "address": {
                            "required": [
                              "name",
                              "streetAddress1",
                              "adminArea1",
                              "locality",
                              "postalCode",
                              "countryCode"
                            ],
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string",
                                "description": "The name of the business or facility."
                              },
                              "streetAddress1": {
                                "type": "string",
                                "description": "address (i.e. number, street, etc.)."
                              },
                              "streetAddress2": {
                                "type": "string",
                                "description": "PO Box, Apartment Number, etc"
                              },
                              "adminArea1": {
                                "type": "string",
                                "description": "Province, state, or [ISO-3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision."
                              },
                              "adminArea2": {
                                "type": "string",
                                "description": "Subdivision smaller than `adminArea1`. In the United States, this refers to county."
                              },
                              "locality": {
                                "type": "string",
                                "description": "City or town."
                              },
                              "neighborhood": {
                                "type": "string",
                                "description": "neighborhood"
                              },
                              "postalCode": {
                                "type": "string",
                                "description": "zipcode, postcode, or postal code"
                              },
                              "countryCode": {
                                "maxLength": 3,
                                "minLength": 3,
                                "pattern": "^[A-Z]{3}$",
                                "type": "string",
                                "description": "[ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code."
                              }
                            },
                            "description": "The address of a location or facility.",
                            "example": {
                              "name": "Store 22",
                              "streetAddress1": "10045 International Blvd",
                              "locality": "West Chester",
                              "adminArea1": "OH",
                              "postalCode": "45246-4845",
                              "countryCode": "USA"
                            }
                          }
                        },
                        "description": "Physical location for a stop. Customers may refer to locations by their identifier, or by the address."
                      },
                      "appointment": {
                        "title": "Stop Appointment",
                        "required": [
                          "confirmAppointment",
                          "beginsAt",
                          "endsAt"
                        ],
                        "type": "object",
                        "properties": {
                          "confirmAppointment": {
                            "type": "boolean",
                            "description": "Indicates whether a J.B. Hunt representative needs to contact the shipper or receiver to confirm the appointment time."
                          },
                          "appointmentConfirmationId": {
                            "type": "string",
                            "description": "A unique identifier for the appointment reservation."
                          },
                          "beginsAt": {
                            "type": "string",
                            "description": "The earliest datetime which the carrier may arrive at the stop.",
                            "format": "date-time"
                          },
                          "endsAt": {
                            "type": "string",
                            "description": "The latest datetime which the carrier may arrive at the stop.",
                            "format": "date-time"
                          }
                        },
                        "description": "Describes the planned or reserved time for a pickup or delivery."
                      },
                      "comments": {
                        "type": "array",
                        "items": {
                          "required": [
                            "text"
                          ],
                          "type": "object",
                          "properties": {
                            "text": {
                              "type": "string",
                              "description": "Comment"
                            }
                          },
                          "description": "Comments or instructions relating to the order or stop."
                        },
                        "description": "List of comments"
                      },
                      "contact": {
                        "required": [
                          "firstName",
                          "lastName",
                          "preferredContactMethod",
                          "phoneNumber",
                          "emailAddress"
                        ],
                        "type": "object",
                        "properties": {
                          "firstName": {
                            "type": "string",
                            "description": "The first name of the contact"
                          },
                          "lastName": {
                            "type": "string",
                            "description": "The last name of the contact"
                          },
                          "preferredContactMethod": {
                            "enum": [
                              "Phone",
                              "Email",
                              "Text"
                            ],
                            "type": "string",
                            "description": "The method of contact to be used where possible."
                          },
                          "phoneNumber": {
                            "required": [
                              "number"
                            ],
                            "type": "object",
                            "properties": {
                              "number": {
                                "type": "string",
                                "description": "Phone number"
                              },
                              "extension": {
                                "type": "string",
                                "description": "Extension number"
                              },
                              "phoneNumberType": {
                                "enum": [
                                  "Home",
                                  "Mobile",
                                  "Office"
                                ],
                                "type": "string",
                                "description": "The type of phone number provided"
                              },
                              "allowsSms": {
                                "type": "boolean",
                                "description": "Indicates whether notifications about the order should be sent via SMS"
                              }
                            },
                            "description": "Contact details for a phone number"
                          },
                          "emailAddress": {
                            "type": "string",
                            "description": "The email address of the contact"
                          }
                        },
                        "description": "Information about a point of contact"
                      }
                    },
                    "description": "Represents the location of a pickup or delivery"
                  },
                  {
                    "required": [
                      "handlingUnitsLoaded"
                    ],
                    "properties": {
                      "handlingUnitsLoaded": {
                        "type": "array",
                        "items": {
                          "required": [
                            "id",
                            "quantity",
                            "weight",
                            "commodityDescription"
                          ],
                          "allOf": [
                            {
                              "required": [
                                "id"
                              ],
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "The identifier for the handling unit, as defined by the customer. Must be unique to the order."
                                },
                                "quantity": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Pallets",
                                                "Pieces",
                                                "Cases",
                                                "Totes",
                                                "Bins",
                                                "Slips"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit quantity"
                                },
                                "weight": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Pounds",
                                                "Kilograms"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit weight"
                                },
                                "length": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Inches",
                                                "Feet",
                                                "Centimeters",
                                                "Meters"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit length"
                                },
                                "width": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Inches",
                                                "Feet",
                                                "Centimeters",
                                                "Meters"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit width"
                                },
                                "height": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Inches",
                                                "Feet",
                                                "Centimeters",
                                                "Meters"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit height"
                                },
                                "volume": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Cubic Feet"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit volume"
                                },
                                "density": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Pounds Per Cubic Foot"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit density"
                                },
                                "freightClass": {
                                  "title": "Freight Classification",
                                  "required": [
                                    "class"
                                  ],
                                  "type": "object",
                                  "properties": {
                                    "class": {
                                      "enum": [
                                        "FAK",
                                        "50",
                                        "55",
                                        "60",
                                        "65",
                                        "70",
                                        "77.5",
                                        "85",
                                        "92.5",
                                        "100",
                                        "110",
                                        "125",
                                        "150",
                                        "175",
                                        "200",
                                        "250",
                                        "300",
                                        "400",
                                        "500"
                                      ],
                                      "type": "string",
                                      "description": "NMFC Freight Classification"
                                    },
                                    "nmfcNumber": {
                                      "type": "integer",
                                      "description": "5-digit NMFC Number",
                                      "format": "int32"
                                    }
                                  },
                                  "description": "Freight classification code assigned by the National Motor Freight Traffic Association"
                                },
                                "commodityDescription": {
                                  "type": "string",
                                  "description": "Customer's description of the commodity being transported."
                                },
                                "stackable": {
                                  "type": "boolean",
                                  "description": "Indicates whether the handling unit can be stacked."
                                },
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "required": [
                                      "id",
                                      "quantity",
                                      "freightClass"
                                    ],
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "description": "The identifier for the item, as defined by the customer."
                                      },
                                      "description": {
                                        "type": "string",
                                        "description": "Description details for an item"
                                      },
                                      "quantity": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Pallets",
                                                      "Pieces",
                                                      "Cases",
                                                      "Totes",
                                                      "Bins",
                                                      "Slips"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item quantity"
                                      },
                                      "weight": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Pounds",
                                                      "Kilograms"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item weight"
                                      },
                                      "length": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Inches",
                                                      "Feet",
                                                      "Centimeters",
                                                      "Meters"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item length"
                                      },
                                      "width": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Inches",
                                                      "Feet",
                                                      "Centimeters",
                                                      "Meters"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item width"
                                      },
                                      "height": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Inches",
                                                      "Feet",
                                                      "Centimeters",
                                                      "Meters"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item height"
                                      },
                                      "volume": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Cubic Feet"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item volume"
                                      },
                                      "density": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Pounds Per Cubic Foot"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item density"
                                      },
                                      "referenceIds": {
                                        "type": "array",
                                        "items": {
                                          "required": [
                                            "referenceType",
                                            "referenceValue"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "referenceType": {
                                              "enum": [
                                                "BOL",
                                                "CUS REF",
                                                "DELV NOTE",
                                                "MBOL",
                                                "ORD NBR",
                                                "PO NBR",
                                                "PRO NBR",
                                                "SEAL",
                                                "SHIPID"
                                              ],
                                              "type": "string",
                                              "description": "Type of reference identifier provided."
                                            },
                                            "referenceValue": {
                                              "type": "string",
                                              "description": "An identifier that can be used to look up the order, stop, or item."
                                            }
                                          },
                                          "description": "A reference identifier that can be used to look up or reference an order, stop, or item."
                                        },
                                        "description": "List of reference numbers"
                                      },
                                      "freightClass": {
                                        "title": "Freight Classification",
                                        "required": [
                                          "class"
                                        ],
                                        "type": "object",
                                        "properties": {
                                          "class": {
                                            "enum": [
                                              "FAK",
                                              "50",
                                              "55",
                                              "60",
                                              "65",
                                              "70",
                                              "77.5",
                                              "85",
                                              "92.5",
                                              "100",
                                              "110",
                                              "125",
                                              "150",
                                              "175",
                                              "200",
                                              "250",
                                              "300",
                                              "400",
                                              "500"
                                            ],
                                            "type": "string",
                                            "description": "NMFC Freight Classification"
                                          },
                                          "nmfcNumber": {
                                            "type": "integer",
                                            "description": "5-digit NMFC Number",
                                            "format": "int32"
                                          }
                                        },
                                        "description": "Freight classification code assigned by the National Motor Freight Traffic Association"
                                      },
                                      "hazmatCertificationsRequirement": {
                                        "type": "array",
                                        "items": {
                                          "required": [
                                            "name",
                                            "declaration",
                                            "unnaNumber",
                                            "hazardousMaterialClassification"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "name": {
                                              "type": "string",
                                              "description": "Name of the hazardous material or substance",
                                              "example": "Batteries"
                                            },
                                            "declaration": {
                                              "type": "string",
                                              "description": "Declaration of dangerous goods, applicable where required by law",
                                              "example": "Dangerous goods as per attached Shippers Declaration"
                                            },
                                            "unnaNumber": {
                                              "type": "string",
                                              "description": "Four-digit United Nations and North American number for the identification of hazardous goods and substances",
                                              "example": "2794"
                                            },
                                            "hazardousMaterialClassification": {
                                              "type": "number",
                                              "description": "Classification number of the hazardous material, as adopted by the United Nations Globally Harmonized System for Hazard Communications",
                                              "example": 1.1
                                            }
                                          },
                                          "description": "Indicates which hazardous materials certifications will be required to legally haul the load. Additional fees may apply."
                                        },
                                        "description": "List of hazmat certifications"
                                      }
                                    },
                                    "description": "A physical good to be delivered to the customer."
                                  },
                                  "description": "List of items"
                                }
                              },
                              "description": "Handling unit to be picked up or delivered."
                            }
                          ]
                        },
                        "description": "List of handling units being picked up."
                      }
                    }
                  }
                ],
                "description": "Stop in which handling units are loaded at the shipper"
              },
              {
                "allOf": [
                  {
                    "required": [
                      "stopReason",
                      "location",
                      "appointment"
                    ],
                    "type": "object",
                    "properties": {
                      "stopId": {
                        "type": "string",
                        "description": "The unique J.B. Hunt identifier for the stop."
                      },
                      "stopReason": {
                        "enum": [
                          "Pickup",
                          "Delivery"
                        ],
                        "type": "string",
                        "description": "The reason for the stop, either a pickup or delivery."
                      },
                      "location": {
                        "type": "object",
                        "anyOf": [
                          {
                            "required": [
                              "id"
                            ]
                          },
                          {
                            "required": [
                              "address"
                            ]
                          }
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Customer-defined unique identifier for a stop"
                          },
                          "address": {
                            "required": [
                              "name",
                              "streetAddress1",
                              "adminArea1",
                              "locality",
                              "postalCode",
                              "countryCode"
                            ],
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string",
                                "description": "The name of the business or facility."
                              },
                              "streetAddress1": {
                                "type": "string",
                                "description": "address (i.e. number, street, etc.)."
                              },
                              "streetAddress2": {
                                "type": "string",
                                "description": "PO Box, Apartment Number, etc"
                              },
                              "adminArea1": {
                                "type": "string",
                                "description": "Province, state, or [ISO-3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision."
                              },
                              "adminArea2": {
                                "type": "string",
                                "description": "Subdivision smaller than `adminArea1`. In the United States, this refers to county."
                              },
                              "locality": {
                                "type": "string",
                                "description": "City or town."
                              },
                              "neighborhood": {
                                "type": "string",
                                "description": "neighborhood"
                              },
                              "postalCode": {
                                "type": "string",
                                "description": "zipcode, postcode, or postal code"
                              },
                              "countryCode": {
                                "maxLength": 3,
                                "minLength": 3,
                                "pattern": "^[A-Z]{3}$",
                                "type": "string",
                                "description": "[ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code."
                              }
                            },
                            "description": "The address of a location or facility.",
                            "example": {
                              "name": "Store 22",
                              "streetAddress1": "10045 International Blvd",
                              "locality": "West Chester",
                              "adminArea1": "OH",
                              "postalCode": "45246-4845",
                              "countryCode": "USA"
                            }
                          }
                        },
                        "description": "Physical location for a stop. Customers may refer to locations by their identifier, or by the address."
                      },
                      "appointment": {
                        "title": "Stop Appointment",
                        "required": [
                          "confirmAppointment",
                          "beginsAt",
                          "endsAt"
                        ],
                        "type": "object",
                        "properties": {
                          "confirmAppointment": {
                            "type": "boolean",
                            "description": "Indicates whether a J.B. Hunt representative needs to contact the shipper or receiver to confirm the appointment time."
                          },
                          "appointmentConfirmationId": {
                            "type": "string",
                            "description": "A unique identifier for the appointment reservation."
                          },
                          "beginsAt": {
                            "type": "string",
                            "description": "The earliest datetime which the carrier may arrive at the stop.",
                            "format": "date-time"
                          },
                          "endsAt": {
                            "type": "string",
                            "description": "The latest datetime which the carrier may arrive at the stop.",
                            "format": "date-time"
                          }
                        },
                        "description": "Describes the planned or reserved time for a pickup or delivery."
                      },
                      "comments": {
                        "type": "array",
                        "items": {
                          "required": [
                            "text"
                          ],
                          "type": "object",
                          "properties": {
                            "text": {
                              "type": "string",
                              "description": "Comment"
                            }
                          },
                          "description": "Comments or instructions relating to the order or stop."
                        },
                        "description": "List of comments"
                      },
                      "contact": {
                        "required": [
                          "firstName",
                          "lastName",
                          "preferredContactMethod",
                          "phoneNumber",
                          "emailAddress"
                        ],
                        "type": "object",
                        "properties": {
                          "firstName": {
                            "type": "string",
                            "description": "The first name of the contact"
                          },
                          "lastName": {
                            "type": "string",
                            "description": "The last name of the contact"
                          },
                          "preferredContactMethod": {
                            "enum": [
                              "Phone",
                              "Email",
                              "Text"
                            ],
                            "type": "string",
                            "description": "The method of contact to be used where possible."
                          },
                          "phoneNumber": {
                            "required": [
                              "number"
                            ],
                            "type": "object",
                            "properties": {
                              "number": {
                                "type": "string",
                                "description": "Phone number"
                              },
                              "extension": {
                                "type": "string",
                                "description": "Extension number"
                              },
                              "phoneNumberType": {
                                "enum": [
                                  "Home",
                                  "Mobile",
                                  "Office"
                                ],
                                "type": "string",
                                "description": "The type of phone number provided"
                              },
                              "allowsSms": {
                                "type": "boolean",
                                "description": "Indicates whether notifications about the order should be sent via SMS"
                              }
                            },
                            "description": "Contact details for a phone number"
                          },
                          "emailAddress": {
                            "type": "string",
                            "description": "The email address of the contact"
                          }
                        },
                        "description": "Information about a point of contact"
                      }
                    },
                    "description": "Represents the location of a pickup or delivery"
                  },
                  {
                    "properties": {
                      "handlingUnitsUnloaded": {
                        "type": "array",
                        "items": {
                          "allOf": [
                            {
                              "required": [
                                "id"
                              ],
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "The identifier for the handling unit, as defined by the customer. Must be unique to the order."
                                },
                                "quantity": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Pallets",
                                                "Pieces",
                                                "Cases",
                                                "Totes",
                                                "Bins",
                                                "Slips"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit quantity"
                                },
                                "weight": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Pounds",
                                                "Kilograms"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit weight"
                                },
                                "length": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Inches",
                                                "Feet",
                                                "Centimeters",
                                                "Meters"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit length"
                                },
                                "width": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Inches",
                                                "Feet",
                                                "Centimeters",
                                                "Meters"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit width"
                                },
                                "height": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Inches",
                                                "Feet",
                                                "Centimeters",
                                                "Meters"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit height"
                                },
                                "volume": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Cubic Feet"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit volume"
                                },
                                "density": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Pounds Per Cubic Foot"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit density"
                                },
                                "freightClass": {
                                  "title": "Freight Classification",
                                  "required": [
                                    "class"
                                  ],
                                  "type": "object",
                                  "properties": {
                                    "class": {
                                      "enum": [
                                        "FAK",
                                        "50",
                                        "55",
                                        "60",
                                        "65",
                                        "70",
                                        "77.5",
                                        "85",
                                        "92.5",
                                        "100",
                                        "110",
                                        "125",
                                        "150",
                                        "175",
                                        "200",
                                        "250",
                                        "300",
                                        "400",
                                        "500"
                                      ],
                                      "type": "string",
                                      "description": "NMFC Freight Classification"
                                    },
                                    "nmfcNumber": {
                                      "type": "integer",
                                      "description": "5-digit NMFC Number",
                                      "format": "int32"
                                    }
                                  },
                                  "description": "Freight classification code assigned by the National Motor Freight Traffic Association"
                                },
                                "commodityDescription": {
                                  "type": "string",
                                  "description": "Customer's description of the commodity being transported."
                                },
                                "stackable": {
                                  "type": "boolean",
                                  "description": "Indicates whether the handling unit can be stacked."
                                },
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "required": [
                                      "id",
                                      "quantity",
                                      "freightClass"
                                    ],
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "description": "The identifier for the item, as defined by the customer."
                                      },
                                      "description": {
                                        "type": "string",
                                        "description": "Description details for an item"
                                      },
                                      "quantity": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Pallets",
                                                      "Pieces",
                                                      "Cases",
                                                      "Totes",
                                                      "Bins",
                                                      "Slips"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item quantity"
                                      },
                                      "weight": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Pounds",
                                                      "Kilograms"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item weight"
                                      },
                                      "length": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Inches",
                                                      "Feet",
                                                      "Centimeters",
                                                      "Meters"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item length"
                                      },
                                      "width": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Inches",
                                                      "Feet",
                                                      "Centimeters",
                                                      "Meters"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item width"
                                      },
                                      "height": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Inches",
                                                      "Feet",
                                                      "Centimeters",
                                                      "Meters"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item height"
                                      },
                                      "volume": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Cubic Feet"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item volume"
                                      },
                                      "density": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Pounds Per Cubic Foot"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item density"
                                      },
                                      "referenceIds": {
                                        "type": "array",
                                        "items": {
                                          "required": [
                                            "referenceType",
                                            "referenceValue"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "referenceType": {
                                              "enum": [
                                                "BOL",
                                                "CUS REF",
                                                "DELV NOTE",
                                                "MBOL",
                                                "ORD NBR",
                                                "PO NBR",
                                                "PRO NBR",
                                                "SEAL",
                                                "SHIPID"
                                              ],
                                              "type": "string",
                                              "description": "Type of reference identifier provided."
                                            },
                                            "referenceValue": {
                                              "type": "string",
                                              "description": "An identifier that can be used to look up the order, stop, or item."
                                            }
                                          },
                                          "description": "A reference identifier that can be used to look up or reference an order, stop, or item."
                                        },
                                        "description": "List of reference numbers"
                                      },
                                      "freightClass": {
                                        "title": "Freight Classification",
                                        "required": [
                                          "class"
                                        ],
                                        "type": "object",
                                        "properties": {
                                          "class": {
                                            "enum": [
                                              "FAK",
                                              "50",
                                              "55",
                                              "60",
                                              "65",
                                              "70",
                                              "77.5",
                                              "85",
                                              "92.5",
                                              "100",
                                              "110",
                                              "125",
                                              "150",
                                              "175",
                                              "200",
                                              "250",
                                              "300",
                                              "400",
                                              "500"
                                            ],
                                            "type": "string",
                                            "description": "NMFC Freight Classification"
                                          },
                                          "nmfcNumber": {
                                            "type": "integer",
                                            "description": "5-digit NMFC Number",
                                            "format": "int32"
                                          }
                                        },
                                        "description": "Freight classification code assigned by the National Motor Freight Traffic Association"
                                      },
                                      "hazmatCertificationsRequirement": {
                                        "type": "array",
                                        "items": {
                                          "required": [
                                            "name",
                                            "declaration",
                                            "unnaNumber",
                                            "hazardousMaterialClassification"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "name": {
                                              "type": "string",
                                              "description": "Name of the hazardous material or substance",
                                              "example": "Batteries"
                                            },
                                            "declaration": {
                                              "type": "string",
                                              "description": "Declaration of dangerous goods, applicable where required by law",
                                              "example": "Dangerous goods as per attached Shippers Declaration"
                                            },
                                            "unnaNumber": {
                                              "type": "string",
                                              "description": "Four-digit United Nations and North American number for the identification of hazardous goods and substances",
                                              "example": "2794"
                                            },
                                            "hazardousMaterialClassification": {
                                              "type": "number",
                                              "description": "Classification number of the hazardous material, as adopted by the United Nations Globally Harmonized System for Hazard Communications",
                                              "example": 1.1
                                            }
                                          },
                                          "description": "Indicates which hazardous materials certifications will be required to legally haul the load. Additional fees may apply."
                                        },
                                        "description": "List of hazmat certifications"
                                      }
                                    },
                                    "description": "A physical good to be delivered to the customer."
                                  },
                                  "description": "List of items"
                                }
                              },
                              "description": "Handling unit to be picked up or delivered."
                            }
                          ]
                        },
                        "description": "List of handling units being delivered. Only the `id` property is required for handling units being delivered."
                      }
                    }
                  }
                ],
                "description": "Stop in which handling units are unloaded at the receiver"
              }
            ],
            "discriminator": {
              "propertyName": "stopReason",
              "mapping": {
                "Pickup": "#/components/schemas/PickupStop",
                "Delivery": "#/components/schemas/DeliveryStop"
              }
            }
          },
          "description": "Array of stops to be completed. Stops will be completed in order of the sequence in the array, with the first sequence in the array being delivered first."
        },
        "transportationMode": {
          "enum": [
            "Truck",
            "Rail",
            "Ocean",
            "LTL",
            "Parcel",
            "Best"
          ],
          "type": "string",
          "description": "The desired transportation mode. If you choose Best, J.B. Hunt will select the transportation mode based on cost and transit."
        },
        "equipmentType": {
          "enum": [
            "DryVan",
            "FlatBed",
            "Refrigerated",
            "Container",
            "Tanker"
          ],
          "type": "string",
          "description": "The type of trailing equipment desired. If LTL, use DryVan"
        },
        "quoteId": {
          "type": "string",
          "description": "If a quote has previously been obtained, the quote identifier can be specified to apply the agreed-upon rate."
        },
        "options": {
          "title": "Options",
          "type": "object",
          "properties": {
            "trailerNumber": {
              "type": "string",
              "description": "The unique identifier for a tractor trailer."
            },
            "preloadedTrailer": {
              "type": "boolean",
              "description": "Indicates whether the trailer will be loaded prior to arrival, or upon arrival. Assume live load and unload unless preloadedTrailer is true",
              "default": false
            },
            "highValue": {
              "type": "boolean",
              "description": "Indicates whether the value of cargo being hauled exceeds $100,000.00 USD, which requires extra insurance. Additional fees may apply.",
              "default": false
            },
            "extremeLength": {
              "type": "boolean",
              "description": "Indicates whether the length of cargo being hauled exceeds standard trailer size (53'). Additional fees may apply.",
              "default": false
            },
            "oversized": {
              "type": "boolean",
              "description": "Indicates whether the cargo is oversized, requiring additional permits and safety considerations. Additional fees may apply.",
              "default": false
            },
            "residentialDelivery": {
              "type": "boolean",
              "description": "Indicates whether the cargo should be picked up or delivered to a residence. Additional fees may apply.",
              "default": false
            },
            "liftGateRequired": {
              "type": "boolean",
              "description": "Indicates whether liftgate service is required to lift the freight from the ground or lower the freight to the ground. Additional fees may apply.",
              "default": false
            },
            "hazmatCertificationsRequirement": {
              "type": "array",
              "items": {
                "required": [
                  "name",
                  "declaration",
                  "unnaNumber",
                  "hazardousMaterialClassification"
                ],
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "Name of the hazardous material or substance",
                    "example": "Batteries"
                  },
                  "declaration": {
                    "type": "string",
                    "description": "Declaration of dangerous goods, applicable where required by law",
                    "example": "Dangerous goods as per attached Shippers Declaration"
                  },
                  "unnaNumber": {
                    "type": "string",
                    "description": "Four-digit United Nations and North American number for the identification of hazardous goods and substances",
                    "example": "2794"
                  },
                  "hazardousMaterialClassification": {
                    "type": "number",
                    "description": "Classification number of the hazardous material, as adopted by the United Nations Globally Harmonized System for Hazard Communications",
                    "example": 1.1
                  }
                },
                "description": "Indicates which hazardous materials certifications will be required to legally haul the load. Additional fees may apply."
              },
              "description": "List of hazardous materials certifications that will be required to legally haul the load."
            },
            "temperatureControlRequirements": {
              "required": [
                "minimumTemperature",
                "maximumTemperature",
                "rearZonePrecoolTemperature"
              ],
              "type": "object",
              "properties": {
                "minimumTemperature": {
                  "allOf": [
                    {
                      "allOf": [
                        {
                          "required": [
                            "value",
                            "unitOfMeasure"
                          ],
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "number",
                              "description": "A numeric value"
                            },
                            "unitOfMeasure": {
                              "type": "string",
                              "description": "Unit of measurement for the measured value."
                            }
                          },
                          "description": "Measured Value"
                        },
                        {
                          "properties": {
                            "value": {
                              "type": "integer",
                              "format": "int32"
                            }
                          }
                        }
                      ],
                      "description": "Quantitative value for temperature",
                      "example": {
                        "value": 32,
                        "unitOfMeasure": "Fahrenheit"
                      }
                    }
                  ],
                  "description": "The lower limit temperature permissible in the trailer while in transit"
                },
                "maximumTemperature": {
                  "allOf": [
                    {
                      "allOf": [
                        {
                          "required": [
                            "value",
                            "unitOfMeasure"
                          ],
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "number",
                              "description": "A numeric value"
                            },
                            "unitOfMeasure": {
                              "type": "string",
                              "description": "Unit of measurement for the measured value."
                            }
                          },
                          "description": "Measured Value"
                        },
                        {
                          "properties": {
                            "value": {
                              "type": "integer",
                              "format": "int32"
                            }
                          }
                        }
                      ],
                      "description": "Quantitative value for temperature",
                      "example": {
                        "value": 32,
                        "unitOfMeasure": "Fahrenheit"
                      }
                    }
                  ],
                  "description": "The upper limit temperature permissible in the trailer while in transit"
                },
                "rearZonePrecoolTemperature": {
                  "allOf": [
                    {
                      "allOf": [
                        {
                          "required": [
                            "value",
                            "unitOfMeasure"
                          ],
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "number",
                              "description": "A numeric value"
                            },
                            "unitOfMeasure": {
                              "type": "string",
                              "description": "Unit of measurement for the measured value."
                            }
                          },
                          "description": "Measured Value"
                        },
                        {
                          "properties": {
                            "value": {
                              "type": "integer",
                              "format": "int32"
                            }
                          }
                        }
                      ],
                      "description": "Quantitative value for temperature",
                      "example": {
                        "value": 32,
                        "unitOfMeasure": "Fahrenheit"
                      }
                    }
                  ],
                  "description": "The desired temperature setting of the rear zone of the trailer to be precooled prior to trailer loading."
                }
              },
              "description": "The desired temperature range for transport. Additional fees may apply to temperature protected and refridgerated loads."
            }
          },
          "description": "Optional information about the order. If not specified, J.B. Hunt will apply standard shipping options."
        },
        "comments": {
          "type": "array",
          "items": {
            "required": [
              "text"
            ],
            "type": "object",
            "properties": {
              "text": {
                "type": "string",
                "description": "Comment"
              }
            },
            "description": "Comments or instructions relating to the order or stop."
          },
          "description": "List of order comments"
        },
        "referenceIds": {
          "type": "array",
          "items": {
            "required": [
              "referenceType",
              "referenceValue"
            ],
            "type": "object",
            "properties": {
              "referenceType": {
                "enum": [
                  "BOL",
                  "CUS REF",
                  "DELV NOTE",
                  "MBOL",
                  "ORD NBR",
                  "PO NBR",
                  "PRO NBR",
                  "SEAL",
                  "SHIPID"
                ],
                "type": "string",
                "description": "Type of reference identifier provided."
              },
              "referenceValue": {
                "type": "string",
                "description": "An identifier that can be used to look up the order, stop, or item."
              }
            },
            "description": "A reference identifier that can be used to look up or reference an order, stop, or item."
          },
          "description": "List of reference identifiers"
        },
        "contact": {
          "required": [
            "firstName",
            "lastName",
            "preferredContactMethod",
            "phoneNumber",
            "emailAddress"
          ],
          "type": "object",
          "properties": {
            "firstName": {
              "type": "string",
              "description": "The first name of the contact"
            },
            "lastName": {
              "type": "string",
              "description": "The last name of the contact"
            },
            "preferredContactMethod": {
              "enum": [
                "Phone",
                "Email",
                "Text"
              ],
              "type": "string",
              "description": "The method of contact to be used where possible."
            },
            "phoneNumber": {
              "required": [
                "number"
              ],
              "type": "object",
              "properties": {
                "number": {
                  "type": "string",
                  "description": "Phone number"
                },
                "extension": {
                  "type": "string",
                  "description": "Extension number"
                },
                "phoneNumberType": {
                  "enum": [
                    "Home",
                    "Mobile",
                    "Office"
                  ],
                  "type": "string",
                  "description": "The type of phone number provided"
                },
                "allowsSms": {
                  "type": "boolean",
                  "description": "Indicates whether notifications about the order should be sent via SMS"
                }
              },
              "description": "Contact details for a phone number"
            },
            "emailAddress": {
              "type": "string",
              "description": "The email address of the contact"
            }
          },
          "description": "Information about a point of contact"
        }
      },
      "description": "Object containing details of an order."
    }
  ],
  "description": "Object containing the order details requested by user to create order.",
  "example": {
    "primaryReferenceId": "ABC123",
    "stops": [
      {
        "stopReason": "Pickup",
        "location": {
          "id": "L2345",
          "address": {
            "name": "Store 22",
            "streetAddress1": "10045 International Blvd",
            "locality": "West Chester",
            "adminArea1": "OH",
            "postalCode": "45246",
            "countryCode": "USA"
          }
        },
        "appointment": {
          "beginsAt": "2020-02-14T14:00:00Z",
          "endsAt": "2020-02-14T15:00:00Z",
          "confirmAppointment": true
        },
        "handlingUnitsLoaded": [
          {
            "id": "handlingUnit1",
            "quantity": {
              "value": 26,
              "unitOfMeasure": "Pallets"
            },
            "weight": {
              "value": 40000,
              "unitOfMeasure": "Pounds"
            },
            "commodityDescription": "Paper"
          }
        ]
      },
      {
        "stopReason": "Delivery",
        "location": {
          "id": "L2346",
          "address": {
            "name": "Store 23",
            "streetAddress1": "10046 International Blvd",
            "locality": "West Chester",
            "adminArea1": "OH",
            "postalCode": "45246",
            "countryCode": "USA"
          }
        },
        "appointment": {
          "beginsAt": "2020-02-15T14:00:00Z",
          "endsAt": "2020-02-15T15:00:00Z",
          "confirmAppointment": true
        },
        "handlingUnitsUnloaded": [
          {
            "id": "handlingUnit1"
          }
        ]
      }
    ],
    "transportationMode": "Truck",
    "equipmentType": "DryVan",
    "contact": {
      "firstName": "James",
      "lastName": "King",
      "preferredContactMethod": "Phone",
      "phoneNumber": {
        "number": "4798203313"
      },
      "emailAddress": "james.king@email.com"
    }
  }
}

Responses

201 Created

The order was received and will be processed asynchronously.

Response headers

Representations

{
  "orderId": "123456",
  "orderStatus": "Accepted",
  "trackingStatus": "InTransit",
  "loadId": "RX80555",
  "primaryReferenceId": "ABC123",
  "stops": [
    {
      "stopReason": "Pickup",
      "stopId": "532143",
      "location": {
        "id": "L2345",
        "address": {
          "name": "Store 22",
          "streetAddress1": "10045 International Blvd",
          "locality": "West Chester",
          "adminArea1": "OH",
          "postalCode": "45246",
          "countryCode": "USA"
        }
      },
      "appointment": {
        "beginsAt": "2020-02-14T14:00:00+00:00",
        "endsAt": "2020-02-14T15:00:00+00:00",
        "confirmAppointment": true
      },
      "handlingUnitsLoaded": [
        {
          "id": "handlingUnit1",
          "quantity": {
            "value": 26,
            "unitOfMeasure": "Pallets"
          },
          "weight": {
            "value": 40000,
            "unitOfMeasure": "Pounds"
          },
          "commodityDescription": "Paper"
        }
      ]
    },
    {
      "stopReason": "Delivery",
      "stopId": "532144",
      "location": {
        "id": "L2346",
        "address": {
          "name": "Store 23",
          "streetAddress1": "10046 International Blvd",
          "locality": "West Chester",
          "adminArea1": "OH",
          "postalCode": "45246",
          "countryCode": "USA"
        }
      },
      "appointment": {
        "beginsAt": "2020-02-15T14:00:00+00:00",
        "endsAt": "2020-02-15T15:00:00+00:00",
        "confirmAppointment": true
      },
      "handlingUnitsUnloaded": [
        {
          "id": "handlingUnit1"
        }
      ]
    }
  ],
  "transportationMode": "Truck",
  "equipmentType": "DryVan",
  "contact": {
    "firstName": "James",
    "lastName": "King",
    "preferredContactMethod": "Phone",
    "phoneNumber": {
      "number": "4798203313"
    },
    "emailAddress": "james.king@email.com"
  }
}
{
  "type": "object",
  "allOf": [
    {
      "type": "object",
      "properties": {
        "primaryReferenceId": {
          "type": "string",
          "description": "The customer's identification number for this order. This can be used to look up the order in the absence of a J.B. Hunt order ID."
        },
        "stops": {
          "type": "array",
          "items": {
            "anyOf": [
              {
                "allOf": [
                  {
                    "required": [
                      "stopReason",
                      "location",
                      "appointment"
                    ],
                    "type": "object",
                    "properties": {
                      "stopId": {
                        "type": "string",
                        "description": "The unique J.B. Hunt identifier for the stop."
                      },
                      "stopReason": {
                        "enum": [
                          "Pickup",
                          "Delivery"
                        ],
                        "type": "string",
                        "description": "The reason for the stop, either a pickup or delivery."
                      },
                      "location": {
                        "type": "object",
                        "anyOf": [
                          {
                            "required": [
                              "id"
                            ]
                          },
                          {
                            "required": [
                              "address"
                            ]
                          }
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Customer-defined unique identifier for a stop"
                          },
                          "address": {
                            "required": [
                              "name",
                              "streetAddress1",
                              "adminArea1",
                              "locality",
                              "postalCode",
                              "countryCode"
                            ],
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string",
                                "description": "The name of the business or facility."
                              },
                              "streetAddress1": {
                                "type": "string",
                                "description": "address (i.e. number, street, etc.)."
                              },
                              "streetAddress2": {
                                "type": "string",
                                "description": "PO Box, Apartment Number, etc"
                              },
                              "adminArea1": {
                                "type": "string",
                                "description": "Province, state, or [ISO-3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision."
                              },
                              "adminArea2": {
                                "type": "string",
                                "description": "Subdivision smaller than `adminArea1`. In the United States, this refers to county."
                              },
                              "locality": {
                                "type": "string",
                                "description": "City or town."
                              },
                              "neighborhood": {
                                "type": "string",
                                "description": "neighborhood"
                              },
                              "postalCode": {
                                "type": "string",
                                "description": "zipcode, postcode, or postal code"
                              },
                              "countryCode": {
                                "maxLength": 3,
                                "minLength": 3,
                                "pattern": "^[A-Z]{3}$",
                                "type": "string",
                                "description": "[ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code."
                              }
                            },
                            "description": "The address of a location or facility.",
                            "example": {
                              "name": "Store 22",
                              "streetAddress1": "10045 International Blvd",
                              "locality": "West Chester",
                              "adminArea1": "OH",
                              "postalCode": "45246-4845",
                              "countryCode": "USA"
                            }
                          }
                        },
                        "description": "Physical location for a stop. Customers may refer to locations by their identifier, or by the address."
                      },
                      "appointment": {
                        "title": "Stop Appointment",
                        "required": [
                          "confirmAppointment",
                          "beginsAt",
                          "endsAt"
                        ],
                        "type": "object",
                        "properties": {
                          "confirmAppointment": {
                            "type": "boolean",
                            "description": "Indicates whether a J.B. Hunt representative needs to contact the shipper or receiver to confirm the appointment time."
                          },
                          "appointmentConfirmationId": {
                            "type": "string",
                            "description": "A unique identifier for the appointment reservation."
                          },
                          "beginsAt": {
                            "type": "string",
                            "description": "The earliest datetime which the carrier may arrive at the stop.",
                            "format": "date-time"
                          },
                          "endsAt": {
                            "type": "string",
                            "description": "The latest datetime which the carrier may arrive at the stop.",
                            "format": "date-time"
                          }
                        },
                        "description": "Describes the planned or reserved time for a pickup or delivery."
                      },
                      "comments": {
                        "type": "array",
                        "items": {
                          "required": [
                            "text"
                          ],
                          "type": "object",
                          "properties": {
                            "text": {
                              "type": "string",
                              "description": "Comment"
                            }
                          },
                          "description": "Comments or instructions relating to the order or stop."
                        },
                        "description": "List of comments"
                      },
                      "contact": {
                        "required": [
                          "firstName",
                          "lastName",
                          "preferredContactMethod",
                          "phoneNumber",
                          "emailAddress"
                        ],
                        "type": "object",
                        "properties": {
                          "firstName": {
                            "type": "string",
                            "description": "The first name of the contact"
                          },
                          "lastName": {
                            "type": "string",
                            "description": "The last name of the contact"
                          },
                          "preferredContactMethod": {
                            "enum": [
                              "Phone",
                              "Email",
                              "Text"
                            ],
                            "type": "string",
                            "description": "The method of contact to be used where possible."
                          },
                          "phoneNumber": {
                            "required": [
                              "number"
                            ],
                            "type": "object",
                            "properties": {
                              "number": {
                                "type": "string",
                                "description": "Phone number"
                              },
                              "extension": {
                                "type": "string",
                                "description": "Extension number"
                              },
                              "phoneNumberType": {
                                "enum": [
                                  "Home",
                                  "Mobile",
                                  "Office"
                                ],
                                "type": "string",
                                "description": "The type of phone number provided"
                              },
                              "allowsSms": {
                                "type": "boolean",
                                "description": "Indicates whether notifications about the order should be sent via SMS"
                              }
                            },
                            "description": "Contact details for a phone number"
                          },
                          "emailAddress": {
                            "type": "string",
                            "description": "The email address of the contact"
                          }
                        },
                        "description": "Information about a point of contact"
                      }
                    },
                    "description": "Represents the location of a pickup or delivery"
                  },
                  {
                    "required": [
                      "handlingUnitsLoaded"
                    ],
                    "properties": {
                      "handlingUnitsLoaded": {
                        "type": "array",
                        "items": {
                          "required": [
                            "id",
                            "quantity",
                            "weight",
                            "commodityDescription"
                          ],
                          "allOf": [
                            {
                              "required": [
                                "id"
                              ],
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "The identifier for the handling unit, as defined by the customer. Must be unique to the order."
                                },
                                "quantity": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Pallets",
                                                "Pieces",
                                                "Cases",
                                                "Totes",
                                                "Bins",
                                                "Slips"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit quantity"
                                },
                                "weight": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Pounds",
                                                "Kilograms"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit weight"
                                },
                                "length": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Inches",
                                                "Feet",
                                                "Centimeters",
                                                "Meters"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit length"
                                },
                                "width": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Inches",
                                                "Feet",
                                                "Centimeters",
                                                "Meters"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit width"
                                },
                                "height": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Inches",
                                                "Feet",
                                                "Centimeters",
                                                "Meters"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit height"
                                },
                                "volume": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Cubic Feet"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit volume"
                                },
                                "density": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Pounds Per Cubic Foot"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit density"
                                },
                                "freightClass": {
                                  "title": "Freight Classification",
                                  "required": [
                                    "class"
                                  ],
                                  "type": "object",
                                  "properties": {
                                    "class": {
                                      "enum": [
                                        "FAK",
                                        "50",
                                        "55",
                                        "60",
                                        "65",
                                        "70",
                                        "77.5",
                                        "85",
                                        "92.5",
                                        "100",
                                        "110",
                                        "125",
                                        "150",
                                        "175",
                                        "200",
                                        "250",
                                        "300",
                                        "400",
                                        "500"
                                      ],
                                      "type": "string",
                                      "description": "NMFC Freight Classification"
                                    },
                                    "nmfcNumber": {
                                      "type": "integer",
                                      "description": "5-digit NMFC Number",
                                      "format": "int32"
                                    }
                                  },
                                  "description": "Freight classification code assigned by the National Motor Freight Traffic Association"
                                },
                                "commodityDescription": {
                                  "type": "string",
                                  "description": "Customer's description of the commodity being transported."
                                },
                                "stackable": {
                                  "type": "boolean",
                                  "description": "Indicates whether the handling unit can be stacked."
                                },
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "required": [
                                      "id",
                                      "quantity",
                                      "freightClass"
                                    ],
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "description": "The identifier for the item, as defined by the customer."
                                      },
                                      "description": {
                                        "type": "string",
                                        "description": "Description details for an item"
                                      },
                                      "quantity": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Pallets",
                                                      "Pieces",
                                                      "Cases",
                                                      "Totes",
                                                      "Bins",
                                                      "Slips"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item quantity"
                                      },
                                      "weight": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Pounds",
                                                      "Kilograms"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item weight"
                                      },
                                      "length": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Inches",
                                                      "Feet",
                                                      "Centimeters",
                                                      "Meters"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item length"
                                      },
                                      "width": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Inches",
                                                      "Feet",
                                                      "Centimeters",
                                                      "Meters"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item width"
                                      },
                                      "height": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Inches",
                                                      "Feet",
                                                      "Centimeters",
                                                      "Meters"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item height"
                                      },
                                      "volume": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Cubic Feet"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item volume"
                                      },
                                      "density": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Pounds Per Cubic Foot"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item density"
                                      },
                                      "referenceIds": {
                                        "type": "array",
                                        "items": {
                                          "required": [
                                            "referenceType",
                                            "referenceValue"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "referenceType": {
                                              "enum": [
                                                "BOL",
                                                "CUS REF",
                                                "DELV NOTE",
                                                "MBOL",
                                                "ORD NBR",
                                                "PO NBR",
                                                "PRO NBR",
                                                "SEAL",
                                                "SHIPID"
                                              ],
                                              "type": "string",
                                              "description": "Type of reference identifier provided."
                                            },
                                            "referenceValue": {
                                              "type": "string",
                                              "description": "An identifier that can be used to look up the order, stop, or item."
                                            }
                                          },
                                          "description": "A reference identifier that can be used to look up or reference an order, stop, or item."
                                        },
                                        "description": "List of reference numbers"
                                      },
                                      "freightClass": {
                                        "title": "Freight Classification",
                                        "required": [
                                          "class"
                                        ],
                                        "type": "object",
                                        "properties": {
                                          "class": {
                                            "enum": [
                                              "FAK",
                                              "50",
                                              "55",
                                              "60",
                                              "65",
                                              "70",
                                              "77.5",
                                              "85",
                                              "92.5",
                                              "100",
                                              "110",
                                              "125",
                                              "150",
                                              "175",
                                              "200",
                                              "250",
                                              "300",
                                              "400",
                                              "500"
                                            ],
                                            "type": "string",
                                            "description": "NMFC Freight Classification"
                                          },
                                          "nmfcNumber": {
                                            "type": "integer",
                                            "description": "5-digit NMFC Number",
                                            "format": "int32"
                                          }
                                        },
                                        "description": "Freight classification code assigned by the National Motor Freight Traffic Association"
                                      },
                                      "hazmatCertificationsRequirement": {
                                        "type": "array",
                                        "items": {
                                          "required": [
                                            "name",
                                            "declaration",
                                            "unnaNumber",
                                            "hazardousMaterialClassification"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "name": {
                                              "type": "string",
                                              "description": "Name of the hazardous material or substance",
                                              "example": "Batteries"
                                            },
                                            "declaration": {
                                              "type": "string",
                                              "description": "Declaration of dangerous goods, applicable where required by law",
                                              "example": "Dangerous goods as per attached Shippers Declaration"
                                            },
                                            "unnaNumber": {
                                              "type": "string",
                                              "description": "Four-digit United Nations and North American number for the identification of hazardous goods and substances",
                                              "example": "2794"
                                            },
                                            "hazardousMaterialClassification": {
                                              "type": "number",
                                              "description": "Classification number of the hazardous material, as adopted by the United Nations Globally Harmonized System for Hazard Communications",
                                              "example": 1.1
                                            }
                                          },
                                          "description": "Indicates which hazardous materials certifications will be required to legally haul the load. Additional fees may apply."
                                        },
                                        "description": "List of hazmat certifications"
                                      }
                                    },
                                    "description": "A physical good to be delivered to the customer."
                                  },
                                  "description": "List of items"
                                }
                              },
                              "description": "Handling unit to be picked up or delivered."
                            }
                          ]
                        },
                        "description": "List of handling units being picked up."
                      }
                    }
                  }
                ],
                "description": "Stop in which handling units are loaded at the shipper"
              },
              {
                "allOf": [
                  {
                    "required": [
                      "stopReason",
                      "location",
                      "appointment"
                    ],
                    "type": "object",
                    "properties": {
                      "stopId": {
                        "type": "string",
                        "description": "The unique J.B. Hunt identifier for the stop."
                      },
                      "stopReason": {
                        "enum": [
                          "Pickup",
                          "Delivery"
                        ],
                        "type": "string",
                        "description": "The reason for the stop, either a pickup or delivery."
                      },
                      "location": {
                        "type": "object",
                        "anyOf": [
                          {
                            "required": [
                              "id"
                            ]
                          },
                          {
                            "required": [
                              "address"
                            ]
                          }
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "description": "Customer-defined unique identifier for a stop"
                          },
                          "address": {
                            "required": [
                              "name",
                              "streetAddress1",
                              "adminArea1",
                              "locality",
                              "postalCode",
                              "countryCode"
                            ],
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string",
                                "description": "The name of the business or facility."
                              },
                              "streetAddress1": {
                                "type": "string",
                                "description": "address (i.e. number, street, etc.)."
                              },
                              "streetAddress2": {
                                "type": "string",
                                "description": "PO Box, Apartment Number, etc"
                              },
                              "adminArea1": {
                                "type": "string",
                                "description": "Province, state, or [ISO-3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision."
                              },
                              "adminArea2": {
                                "type": "string",
                                "description": "Subdivision smaller than `adminArea1`. In the United States, this refers to county."
                              },
                              "locality": {
                                "type": "string",
                                "description": "City or town."
                              },
                              "neighborhood": {
                                "type": "string",
                                "description": "neighborhood"
                              },
                              "postalCode": {
                                "type": "string",
                                "description": "zipcode, postcode, or postal code"
                              },
                              "countryCode": {
                                "maxLength": 3,
                                "minLength": 3,
                                "pattern": "^[A-Z]{3}$",
                                "type": "string",
                                "description": "[ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code."
                              }
                            },
                            "description": "The address of a location or facility.",
                            "example": {
                              "name": "Store 22",
                              "streetAddress1": "10045 International Blvd",
                              "locality": "West Chester",
                              "adminArea1": "OH",
                              "postalCode": "45246-4845",
                              "countryCode": "USA"
                            }
                          }
                        },
                        "description": "Physical location for a stop. Customers may refer to locations by their identifier, or by the address."
                      },
                      "appointment": {
                        "title": "Stop Appointment",
                        "required": [
                          "confirmAppointment",
                          "beginsAt",
                          "endsAt"
                        ],
                        "type": "object",
                        "properties": {
                          "confirmAppointment": {
                            "type": "boolean",
                            "description": "Indicates whether a J.B. Hunt representative needs to contact the shipper or receiver to confirm the appointment time."
                          },
                          "appointmentConfirmationId": {
                            "type": "string",
                            "description": "A unique identifier for the appointment reservation."
                          },
                          "beginsAt": {
                            "type": "string",
                            "description": "The earliest datetime which the carrier may arrive at the stop.",
                            "format": "date-time"
                          },
                          "endsAt": {
                            "type": "string",
                            "description": "The latest datetime which the carrier may arrive at the stop.",
                            "format": "date-time"
                          }
                        },
                        "description": "Describes the planned or reserved time for a pickup or delivery."
                      },
                      "comments": {
                        "type": "array",
                        "items": {
                          "required": [
                            "text"
                          ],
                          "type": "object",
                          "properties": {
                            "text": {
                              "type": "string",
                              "description": "Comment"
                            }
                          },
                          "description": "Comments or instructions relating to the order or stop."
                        },
                        "description": "List of comments"
                      },
                      "contact": {
                        "required": [
                          "firstName",
                          "lastName",
                          "preferredContactMethod",
                          "phoneNumber",
                          "emailAddress"
                        ],
                        "type": "object",
                        "properties": {
                          "firstName": {
                            "type": "string",
                            "description": "The first name of the contact"
                          },
                          "lastName": {
                            "type": "string",
                            "description": "The last name of the contact"
                          },
                          "preferredContactMethod": {
                            "enum": [
                              "Phone",
                              "Email",
                              "Text"
                            ],
                            "type": "string",
                            "description": "The method of contact to be used where possible."
                          },
                          "phoneNumber": {
                            "required": [
                              "number"
                            ],
                            "type": "object",
                            "properties": {
                              "number": {
                                "type": "string",
                                "description": "Phone number"
                              },
                              "extension": {
                                "type": "string",
                                "description": "Extension number"
                              },
                              "phoneNumberType": {
                                "enum": [
                                  "Home",
                                  "Mobile",
                                  "Office"
                                ],
                                "type": "string",
                                "description": "The type of phone number provided"
                              },
                              "allowsSms": {
                                "type": "boolean",
                                "description": "Indicates whether notifications about the order should be sent via SMS"
                              }
                            },
                            "description": "Contact details for a phone number"
                          },
                          "emailAddress": {
                            "type": "string",
                            "description": "The email address of the contact"
                          }
                        },
                        "description": "Information about a point of contact"
                      }
                    },
                    "description": "Represents the location of a pickup or delivery"
                  },
                  {
                    "properties": {
                      "handlingUnitsUnloaded": {
                        "type": "array",
                        "items": {
                          "allOf": [
                            {
                              "required": [
                                "id"
                              ],
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "description": "The identifier for the handling unit, as defined by the customer. Must be unique to the order."
                                },
                                "quantity": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Pallets",
                                                "Pieces",
                                                "Cases",
                                                "Totes",
                                                "Bins",
                                                "Slips"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit quantity"
                                },
                                "weight": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Pounds",
                                                "Kilograms"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit weight"
                                },
                                "length": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Inches",
                                                "Feet",
                                                "Centimeters",
                                                "Meters"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit length"
                                },
                                "width": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Inches",
                                                "Feet",
                                                "Centimeters",
                                                "Meters"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit width"
                                },
                                "height": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Inches",
                                                "Feet",
                                                "Centimeters",
                                                "Meters"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit height"
                                },
                                "volume": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Cubic Feet"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit volume"
                                },
                                "density": {
                                  "allOf": [
                                    {
                                      "allOf": [
                                        {
                                          "required": [
                                            "value",
                                            "unitOfMeasure"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "number",
                                              "description": "A numeric value"
                                            },
                                            "unitOfMeasure": {
                                              "type": "string",
                                              "description": "Unit of measurement for the measured value."
                                            }
                                          },
                                          "description": "Measured Value"
                                        },
                                        {
                                          "properties": {
                                            "unitOfMeasure": {
                                              "enum": [
                                                "Pounds Per Cubic Foot"
                                              ]
                                            }
                                          }
                                        }
                                      ]
                                    }
                                  ],
                                  "description": "Handling unit density"
                                },
                                "freightClass": {
                                  "title": "Freight Classification",
                                  "required": [
                                    "class"
                                  ],
                                  "type": "object",
                                  "properties": {
                                    "class": {
                                      "enum": [
                                        "FAK",
                                        "50",
                                        "55",
                                        "60",
                                        "65",
                                        "70",
                                        "77.5",
                                        "85",
                                        "92.5",
                                        "100",
                                        "110",
                                        "125",
                                        "150",
                                        "175",
                                        "200",
                                        "250",
                                        "300",
                                        "400",
                                        "500"
                                      ],
                                      "type": "string",
                                      "description": "NMFC Freight Classification"
                                    },
                                    "nmfcNumber": {
                                      "type": "integer",
                                      "description": "5-digit NMFC Number",
                                      "format": "int32"
                                    }
                                  },
                                  "description": "Freight classification code assigned by the National Motor Freight Traffic Association"
                                },
                                "commodityDescription": {
                                  "type": "string",
                                  "description": "Customer's description of the commodity being transported."
                                },
                                "stackable": {
                                  "type": "boolean",
                                  "description": "Indicates whether the handling unit can be stacked."
                                },
                                "items": {
                                  "type": "array",
                                  "items": {
                                    "required": [
                                      "id",
                                      "quantity",
                                      "freightClass"
                                    ],
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "description": "The identifier for the item, as defined by the customer."
                                      },
                                      "description": {
                                        "type": "string",
                                        "description": "Description details for an item"
                                      },
                                      "quantity": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Pallets",
                                                      "Pieces",
                                                      "Cases",
                                                      "Totes",
                                                      "Bins",
                                                      "Slips"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item quantity"
                                      },
                                      "weight": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Pounds",
                                                      "Kilograms"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item weight"
                                      },
                                      "length": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Inches",
                                                      "Feet",
                                                      "Centimeters",
                                                      "Meters"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item length"
                                      },
                                      "width": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Inches",
                                                      "Feet",
                                                      "Centimeters",
                                                      "Meters"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item width"
                                      },
                                      "height": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Inches",
                                                      "Feet",
                                                      "Centimeters",
                                                      "Meters"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item height"
                                      },
                                      "volume": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Cubic Feet"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item volume"
                                      },
                                      "density": {
                                        "allOf": [
                                          {
                                            "allOf": [
                                              {
                                                "required": [
                                                  "value",
                                                  "unitOfMeasure"
                                                ],
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "description": "A numeric value"
                                                  },
                                                  "unitOfMeasure": {
                                                    "type": "string",
                                                    "description": "Unit of measurement for the measured value."
                                                  }
                                                },
                                                "description": "Measured Value"
                                              },
                                              {
                                                "properties": {
                                                  "unitOfMeasure": {
                                                    "enum": [
                                                      "Pounds Per Cubic Foot"
                                                    ]
                                                  }
                                                }
                                              }
                                            ]
                                          }
                                        ],
                                        "description": "Item density"
                                      },
                                      "referenceIds": {
                                        "type": "array",
                                        "items": {
                                          "required": [
                                            "referenceType",
                                            "referenceValue"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "referenceType": {
                                              "enum": [
                                                "BOL",
                                                "CUS REF",
                                                "DELV NOTE",
                                                "MBOL",
                                                "ORD NBR",
                                                "PO NBR",
                                                "PRO NBR",
                                                "SEAL",
                                                "SHIPID"
                                              ],
                                              "type": "string",
                                              "description": "Type of reference identifier provided."
                                            },
                                            "referenceValue": {
                                              "type": "string",
                                              "description": "An identifier that can be used to look up the order, stop, or item."
                                            }
                                          },
                                          "description": "A reference identifier that can be used to look up or reference an order, stop, or item."
                                        },
                                        "description": "List of reference numbers"
                                      },
                                      "freightClass": {
                                        "title": "Freight Classification",
                                        "required": [
                                          "class"
                                        ],
                                        "type": "object",
                                        "properties": {
                                          "class": {
                                            "enum": [
                                              "FAK",
                                              "50",
                                              "55",
                                              "60",
                                              "65",
                                              "70",
                                              "77.5",
                                              "85",
                                              "92.5",
                                              "100",
                                              "110",
                                              "125",
                                              "150",
                                              "175",
                                              "200",
                                              "250",
                                              "300",
                                              "400",
                                              "500"
                                            ],
                                            "type": "string",
                                            "description": "NMFC Freight Classification"
                                          },
                                          "nmfcNumber": {
                                            "type": "integer",
                                            "description": "5-digit NMFC Number",
                                            "format": "int32"
                                          }
                                        },
                                        "description": "Freight classification code assigned by the National Motor Freight Traffic Association"
                                      },
                                      "hazmatCertificationsRequirement": {
                                        "type": "array",
                                        "items": {
                                          "required": [
                                            "name",
                                            "declaration",
                                            "unnaNumber",
                                            "hazardousMaterialClassification"
                                          ],
                                          "type": "object",
                                          "properties": {
                                            "name": {
                                              "type": "string",
                                              "description": "Name of the hazardous material or substance",
                                              "example": "Batteries"
                                            },
                                            "declaration": {
                                              "type": "string",
                                              "description": "Declaration of dangerous goods, applicable where required by law",
                                              "example": "Dangerous goods as per attached Shippers Declaration"
                                            },
                                            "unnaNumber": {
                                              "type": "string",
                                              "description": "Four-digit United Nations and North American number for the identification of hazardous goods and substances",
                                              "example": "2794"
                                            },
                                            "hazardousMaterialClassification": {
                                              "type": "number",
                                              "description": "Classification number of the hazardous material, as adopted by the United Nations Globally Harmonized System for Hazard Communications",
                                              "example": 1.1
                                            }
                                          },
                                          "description": "Indicates which hazardous materials certifications will be required to legally haul the load. Additional fees may apply."
                                        },
                                        "description": "List of hazmat certifications"
                                      }
                                    },
                                    "description": "A physical good to be delivered to the customer."
                                  },
                                  "description": "List of items"
                                }
                              },
                              "description": "Handling unit to be picked up or delivered."
                            }
                          ]
                        },
                        "description": "List of handling units being delivered. Only the `id` property is required for handling units being delivered."
                      }
                    }
                  }
                ],
                "description": "Stop in which handling units are unloaded at the receiver"
              }
            ],
            "discriminator": {
              "propertyName": "stopReason",
              "mapping": {
                "Pickup": "#/components/schemas/PickupStop",
                "Delivery": "#/components/schemas/DeliveryStop"
              }
            }
          },
          "description": "Array of stops to be completed. Stops will be completed in order of the sequence in the array, with the first sequence in the array being delivered first."
        },
        "transportationMode": {
          "enum": [
            "Truck",
            "Rail",
            "Ocean",
            "LTL",
            "Parcel",
            "Best"
          ],
          "type": "string",
          "description": "The desired transportation mode. If you choose Best, J.B. Hunt will select the transportation mode based on cost and transit."
        },
        "equipmentType": {
          "enum": [
            "DryVan",
            "FlatBed",
            "Refrigerated",
            "Container",
            "Tanker"
          ],
          "type": "string",
          "description": "The type of trailing equipment desired. If LTL, use DryVan"
        },
        "quoteId": {
          "type": "string",
          "description": "If a quote has previously been obtained, the quote identifier can be specified to apply the agreed-upon rate."
        },
        "options": {
          "title": "Options",
          "type": "object",
          "properties": {
            "trailerNumber": {
              "type": "string",
              "description": "The unique identifier for a tractor trailer."
            },
            "preloadedTrailer": {
              "type": "boolean",
              "description": "Indicates whether the trailer will be loaded prior to arrival, or upon arrival. Assume live load and unload unless preloadedTrailer is true",
              "default": false
            },
            "highValue": {
              "type": "boolean",
              "description": "Indicates whether the value of cargo being hauled exceeds $100,000.00 USD, which requires extra insurance. Additional fees may apply.",
              "default": false
            },
            "extremeLength": {
              "type": "boolean",
              "description": "Indicates whether the length of cargo being hauled exceeds standard trailer size (53'). Additional fees may apply.",
              "default": false
            },
            "oversized": {
              "type": "boolean",
              "description": "Indicates whether the cargo is oversized, requiring additional permits and safety considerations. Additional fees may apply.",
              "default": false
            },
            "residentialDelivery": {
              "type": "boolean",
              "description": "Indicates whether the cargo should be picked up or delivered to a residence. Additional fees may apply.",
              "default": false
            },
            "liftGateRequired": {
              "type": "boolean",
              "description": "Indicates whether liftgate service is required to lift the freight from the ground or lower the freight to the ground. Additional fees may apply.",
              "default": false
            },
            "hazmatCertificationsRequirement": {
              "type": "array",
              "items": {
                "required": [
                  "name",
                  "declaration",
                  "unnaNumber",
                  "hazardousMaterialClassification"
                ],
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "Name of the hazardous material or substance",
                    "example": "Batteries"
                  },
                  "declaration": {
                    "type": "string",
                    "description": "Declaration of dangerous goods, applicable where required by law",
                    "example": "Dangerous goods as per attached Shippers Declaration"
                  },
                  "unnaNumber": {
                    "type": "string",
                    "description": "Four-digit United Nations and North American number for the identification of hazardous goods and substances",
                    "example": "2794"
                  },
                  "hazardousMaterialClassification": {
                    "type": "number",
                    "description": "Classification number of the hazardous material, as adopted by the United Nations Globally Harmonized System for Hazard Communications",
                    "example": 1.1
                  }
                },
                "description": "Indicates which hazardous materials certifications will be required to legally haul the load. Additional fees may apply."
              },
              "description": "List of hazardous materials certifications that will be required to legally haul the load."
            },
            "temperatureControlRequirements": {
              "required": [
                "minimumTemperature",
                "maximumTemperature",
                "rearZonePrecoolTemperature"
              ],
              "type": "object",
              "properties": {
                "minimumTemperature": {
                  "allOf": [
                    {
                      "allOf": [
                        {
                          "required": [
                            "value",
                            "unitOfMeasure"
                          ],
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "number",
                              "description": "A numeric value"
                            },
                            "unitOfMeasure": {
                              "type": "string",
                              "description": "Unit of measurement for the measured value."
                            }
                          },
                          "description": "Measured Value"
                        },
                        {
                          "properties": {
                            "value": {
                              "type": "integer",
                              "format": "int32"
                            }
                          }
                        }
                      ],
                      "description": "Quantitative value for temperature",
                      "example": {
                        "value": 32,
                        "unitOfMeasure": "Fahrenheit"
                      }
                    }
                  ],
                  "description": "The lower limit temperature permissible in the trailer while in transit"
                },
                "maximumTemperature": {
                  "allOf": [
                    {
                      "allOf": [
                        {
                          "required": [
                            "value",
                            "unitOfMeasure"
                          ],
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "number",
                              "description": "A numeric value"
                            },
                            "unitOfMeasure": {
                              "type": "string",
                              "description": "Unit of measurement for the measured value."
                            }
                          },
                          "description": "Measured Value"
                        },
                        {
                          "properties": {
                            "value": {
                              "type": "integer",
                              "format": "int32"
                            }
                          }
                        }
                      ],
                      "description": "Quantitative value for temperature",
                      "example": {
                        "value": 32,
                        "unitOfMeasure": "Fahrenheit"
                      }
                    }
                  ],
                  "description": "The upper limit temperature permissible in the trailer while in transit"
                },
                "rearZonePrecoolTemperature": {
                  "allOf": [
                    {
                      "allOf": [
                        {
                          "required": [
                            "value",
                            "unitOfMeasure"
                          ],
                          "type": "object",
                          "properties": {
                            "value": {
                              "type": "number",
                              "description": "A numeric value"
                            },
                            "unitOfMeasure": {
                              "type": "string",
                              "description": "Unit of measurement for the measured value."
                            }
                          },
                          "description": "Measured Value"
                        },
                        {
                          "properties": {
                            "value": {
                              "type": "integer",
                              "format": "int32"
                            }
                          }
                        }
                      ],
                      "description": "Quantitative value for temperature",
                      "example": {
                        "value": 32,
                        "unitOfMeasure": "Fahrenheit"
                      }
                    }
                  ],
                  "description": "The desired temperature setting of the rear zone of the trailer to be precooled prior to trailer loading."
                }
              },
              "description": "The desired temperature range for transport. Additional fees may apply to temperature protected and refridgerated loads."
            }
          },
          "description": "Optional information about the order. If not specified, J.B. Hunt will apply standard shipping options."
        },
        "comments": {
          "type": "array",
          "items": {
            "required": [
              "text"
            ],
            "type": "object",
            "properties": {
              "text": {
                "type": "string",
                "description": "Comment"
              }
            },
            "description": "Comments or instructions relating to the order or stop."
          },
          "description": "List of order comments"
        },
        "referenceIds": {
          "type": "array",
          "items": {
            "required": [
              "referenceType",
              "referenceValue"
            ],
            "type": "object",
            "properties": {
              "referenceType": {
                "enum": [
                  "BOL",
                  "CUS REF",
                  "DELV NOTE",
                  "MBOL",
                  "ORD NBR",
                  "PO NBR",
                  "PRO NBR",
                  "SEAL",
                  "SHIPID"
                ],
                "type": "string",
                "description": "Type of reference identifier provided."
              },
              "referenceValue": {
                "type": "string",
                "description": "An identifier that can be used to look up the order, stop, or item."
              }
            },
            "description": "A reference identifier that can be used to look up or reference an order, stop, or item."
          },
          "description": "List of reference identifiers"
        },
        "contact": {
          "required": [
            "firstName",
            "lastName",
            "preferredContactMethod",
            "phoneNumber",
            "emailAddress"
          ],
          "type": "object",
          "properties": {
            "firstName": {
              "type": "string",
              "description": "The first name of the contact"
            },
            "lastName": {
              "type": "string",
              "description": "The last name of the contact"
            },
            "preferredContactMethod": {
              "enum": [
                "Phone",
                "Email",
                "Text"
              ],
              "type": "string",
              "description": "The method of contact to be used where possible."
            },
            "phoneNumber": {
              "required": [
                "number"
              ],
              "type": "object",
              "properties": {
                "number": {
                  "type": "string",
                  "description": "Phone number"
                },
                "extension": {
                  "type": "string",
                  "description": "Extension number"
                },
                "phoneNumberType": {
                  "enum": [
                    "Home",
                    "Mobile",
                    "Office"
                  ],
                  "type": "string",
                  "description": "The type of phone number provided"
                },
                "allowsSms": {
                  "type": "boolean",
                  "description": "Indicates whether notifications about the order should be sent via SMS"
                }
              },
              "description": "Contact details for a phone number"
            },
            "emailAddress": {
              "type": "string",
              "description": "The email address of the contact"
            }
          },
          "description": "Information about a point of contact"
        }
      },
      "description": "Object containing details of an order."
    },
    {
      "properties": {
        "orderId": {
          "type": "string",
          "description": "The unique J.B. Hunt identifier for the order.",
          "example": "123456"
        },
        "orderStatus": {
          "enum": [
            "Accepted",
            "Pending",
            "Incomplete",
            "Cancelled",
            "Completed",
            "Onhold",
            "Qualified",
            "Rejected"
          ],
          "type": "string",
          "description": "The current status of the order.",
          "example": "Accepted"
        },
        "trackingStatus": {
          "enum": [
            "Planned",
            "InTransit",
            "Complete"
          ],
          "type": "string",
          "description": "Shows the overall transit status for the trackable (Planned, InTransit, Complete)",
          "example": "InTransit"
        },
        "loadId": {
          "type": "string",
          "description": "The unique J.B. Hunt identifier for the load.",
          "example": "RX80555"
        }
      }
    }
  ],
  "description": "Represents the state of an order.",
  "example": {
    "orderId": "123456",
    "orderStatus": "Accepted",
    "trackingStatus": "InTransit",
    "loadId": "RX80555",
    "primaryReferenceId": "ABC123",
    "stops": [
      {
        "stopReason": "Pickup",
        "stopId": "532143",
        "location": {
          "id": "L2345",
          "address": {
            "name": "Store 22",
            "streetAddress1": "10045 International Blvd",
            "locality": "West Chester",
            "adminArea1": "OH",
            "postalCode": "45246",
            "countryCode": "USA"
          }
        },
        "appointment": {
          "beginsAt": "2020-02-14T14:00:00Z",
          "endsAt": "2020-02-14T15:00:00Z",
          "confirmAppointment": true
        },
        "handlingUnitsLoaded": [
          {
            "id": "handlingUnit1",
            "quantity": {
              "value": 26,
              "unitOfMeasure": "Pallets"
            },
            "weight": {
              "value": 40000,
              "unitOfMeasure": "Pounds"
            },
            "commodityDescription": "Paper"
          }
        ]
      },
      {
        "stopReason": "Delivery",
        "stopId": "532144",
        "location": {
          "id": "L2346",
          "address": {
            "name": "Store 23",
            "streetAddress1": "10046 International Blvd",
            "locality": "West Chester",
            "adminArea1": "OH",
            "postalCode": "45246",
            "countryCode": "USA"
          }
        },
        "appointment": {
          "beginsAt": "2020-02-15T14:00:00Z",
          "endsAt": "2020-02-15T15:00:00Z",
          "confirmAppointment": true
        },
        "handlingUnitsUnloaded": [
          {
            "id": "handlingUnit1"
          }
        ]
      }
    ],
    "transportationMode": "Truck",
    "equipmentType": "DryVan",
    "contact": {
      "firstName": "James",
      "lastName": "King",
      "preferredContactMethod": "Phone",
      "phoneNumber": {
        "number": "4798203313"
      },
      "emailAddress": "james.king@email.com"
    }
  }
}

400 Bad Request

Invalid request for create order.

Representations

{
  "title": "Bad request",
  "status": 400,
  "detail": "Invalid request.",
  "instance": "urn:uuid:d3ba38b8-54c1-4d20-b9f8-c6b81bb1913b",
  "dateTime": "2019-10-22T19:30:05.1120000+00:00",
  "issues": [
    {
      "description": "The equipment type provided in invalid. Please provide valid equipment type.",
      "field": "equipmentType",
      "location": "body",
      "value": "Dry"
    }
  ]
}
{
  "title": "Problem Details",
  "allOf": [
    {
      "title": "Core Problem Details",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "A [URI reference](https://tools.ietf.org/html/rfc3986#section-4.1) that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using [HTML](https://www.w3.org/TR/2014/REC-html5-20141028)). When this member is not present, its value is assumed to be `\"about:blank\"`.",
          "default": "about:blank"
        },
        "title": {
          "type": "string",
          "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive [content negotiation](https://tools.ietf.org/html/rfc7231#section-3.4))."
        },
        "status": {
          "maximum": 600.0,
          "exclusiveMaximum": true,
          "minimum": 100.0,
          "type": "integer",
          "description": "The [HTTP status code](https://tools.ietf.org/html/rfc7231#section-6) generated by the origin server for this occurrence of the problem."
        },
        "detail": {
          "type": "string",
          "description": "A human-readable explanation specific to this occurrence of the problem."
        },
        "instance": {
          "type": "string",
          "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced."
        }
      },
      "description": "The core problem details object. See [Section 3.1 of RFC 7807](https://tools.ietf.org/html/rfc7807#section-3.1)."
    },
    {
      "title": "Problem Details Extensions",
      "type": "object",
      "properties": {
        "dateTime": {
          "allOf": [
            {
              "title": "Date Time",
              "type": "string",
              "description": "As defined by `date-time` in [Section 5.6 of RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6)",
              "format": "date-time"
            }
          ],
          "description": "The date and time that the problem occurred."
        },
        "issues": {
          "type": "array",
          "items": {
            "title": "Issue",
            "required": [
              "description",
              "field",
              "location"
            ],
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "description": "A human-readable explanation of the specific issue."
              },
              "field": {
                "anyOf": [
                  {
                    "title": "JSON Pointer",
                    "pattern": "^(\\/([^/~]|~[01])*)*$",
                    "type": "string",
                    "description": "A string representing a JSON Pointer as defined by [RFC 6901](https://tools.ietf.org/html/rfc6901)."
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "The name of the field in error. If `location` is `body`, then this MUST be either a [JSON pointer](https://tools.ietf.org/html/rfc6901) or an [XPath expression](https://www.w3.org/TR/1999/REC-xpath-19991116) referring to the field of the body."
              },
              "location": {
                "enum": [
                  "body",
                  "header",
                  "path",
                  "query"
                ],
                "type": "string",
                "description": "The location of the issue.",
                "default": "body"
              },
              "value": {
                "allOf": [
                  {
                    "title": "Any?",
                    "allOf": [
                      {
                        "title": "Any",
                        "oneOf": [
                          {
                            "title": "Any Primitive",
                            "oneOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              }
                            ],
                            "description": "Any non-nullable primitive JSON value"
                          },
                          {
                            "title": "Any Structured Value",
                            "oneOf": [
                              {
                                "type": "array"
                              },
                              {
                                "type": "object"
                              }
                            ],
                            "description": "Any non-nullable structured JSON value"
                          }
                        ],
                        "description": "Any non-nullable JSON value"
                      }
                    ],
                    "description": "Any nullable JSON value",
                    "nullable": true
                  }
                ],
                "description": "The value of the field in error."
              }
            },
            "description": "An object describing the issue of a particular field in an HTTP request message."
          },
          "description": "An array of issues related to specific fields in the HTTP request message."
        }
      },
      "description": "Custom J.B. Hunt extensions to the problems details format"
    }
  ],
  "description": "The [Problem Details for HTTP APIs](https://tools.ietf.org/html/rfc7807) format with extensions."
}

401 Unauthorized

The request has not been applied because it lacks valid authentication credentials for the target resource. See RFC 7235, Section 3.1.

Representations

{
  "type": "about:blank",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "dateTime": {},
  "issues": [
    {
      "description": "string",
      "field": {},
      "location": "body",
      "value": {}
    }
  ]
}
{
  "title": "Problem Details",
  "allOf": [
    {
      "title": "Core Problem Details",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "A [URI reference](https://tools.ietf.org/html/rfc3986#section-4.1) that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using [HTML](https://www.w3.org/TR/2014/REC-html5-20141028)). When this member is not present, its value is assumed to be `\"about:blank\"`.",
          "default": "about:blank"
        },
        "title": {
          "type": "string",
          "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive [content negotiation](https://tools.ietf.org/html/rfc7231#section-3.4))."
        },
        "status": {
          "maximum": 600.0,
          "exclusiveMaximum": true,
          "minimum": 100.0,
          "type": "integer",
          "description": "The [HTTP status code](https://tools.ietf.org/html/rfc7231#section-6) generated by the origin server for this occurrence of the problem."
        },
        "detail": {
          "type": "string",
          "description": "A human-readable explanation specific to this occurrence of the problem."
        },
        "instance": {
          "type": "string",
          "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced."
        }
      },
      "description": "The core problem details object. See [Section 3.1 of RFC 7807](https://tools.ietf.org/html/rfc7807#section-3.1)."
    },
    {
      "title": "Problem Details Extensions",
      "type": "object",
      "properties": {
        "dateTime": {
          "allOf": [
            {
              "title": "Date Time",
              "type": "string",
              "description": "As defined by `date-time` in [Section 5.6 of RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6)",
              "format": "date-time"
            }
          ],
          "description": "The date and time that the problem occurred."
        },
        "issues": {
          "type": "array",
          "items": {
            "title": "Issue",
            "required": [
              "description",
              "field",
              "location"
            ],
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "description": "A human-readable explanation of the specific issue."
              },
              "field": {
                "anyOf": [
                  {
                    "title": "JSON Pointer",
                    "pattern": "^(\\/([^/~]|~[01])*)*$",
                    "type": "string",
                    "description": "A string representing a JSON Pointer as defined by [RFC 6901](https://tools.ietf.org/html/rfc6901)."
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "The name of the field in error. If `location` is `body`, then this MUST be either a [JSON pointer](https://tools.ietf.org/html/rfc6901) or an [XPath expression](https://www.w3.org/TR/1999/REC-xpath-19991116) referring to the field of the body."
              },
              "location": {
                "enum": [
                  "body",
                  "header",
                  "path",
                  "query"
                ],
                "type": "string",
                "description": "The location of the issue.",
                "default": "body"
              },
              "value": {
                "allOf": [
                  {
                    "title": "Any?",
                    "allOf": [
                      {
                        "title": "Any",
                        "oneOf": [
                          {
                            "title": "Any Primitive",
                            "oneOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              }
                            ],
                            "description": "Any non-nullable primitive JSON value"
                          },
                          {
                            "title": "Any Structured Value",
                            "oneOf": [
                              {
                                "type": "array"
                              },
                              {
                                "type": "object"
                              }
                            ],
                            "description": "Any non-nullable structured JSON value"
                          }
                        ],
                        "description": "Any non-nullable JSON value"
                      }
                    ],
                    "description": "Any nullable JSON value",
                    "nullable": true
                  }
                ],
                "description": "The value of the field in error."
              }
            },
            "description": "An object describing the issue of a particular field in an HTTP request message."
          },
          "description": "An array of issues related to specific fields in the HTTP request message."
        }
      },
      "description": "Custom J.B. Hunt extensions to the problems details format"
    }
  ],
  "description": "The [Problem Details for HTTP APIs](https://tools.ietf.org/html/rfc7807) format with extensions."
}

403 Forbidden

The server understood the request but refuses to authorize it. See RFC 7231, Section 6.5.3.

Representations

{
  "type": "about:blank",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "dateTime": {},
  "issues": [
    {
      "description": "string",
      "field": {},
      "location": "body",
      "value": {}
    }
  ]
}
{
  "title": "Problem Details",
  "allOf": [
    {
      "title": "Core Problem Details",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "A [URI reference](https://tools.ietf.org/html/rfc3986#section-4.1) that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using [HTML](https://www.w3.org/TR/2014/REC-html5-20141028)). When this member is not present, its value is assumed to be `\"about:blank\"`.",
          "default": "about:blank"
        },
        "title": {
          "type": "string",
          "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive [content negotiation](https://tools.ietf.org/html/rfc7231#section-3.4))."
        },
        "status": {
          "maximum": 600.0,
          "exclusiveMaximum": true,
          "minimum": 100.0,
          "type": "integer",
          "description": "The [HTTP status code](https://tools.ietf.org/html/rfc7231#section-6) generated by the origin server for this occurrence of the problem."
        },
        "detail": {
          "type": "string",
          "description": "A human-readable explanation specific to this occurrence of the problem."
        },
        "instance": {
          "type": "string",
          "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced."
        }
      },
      "description": "The core problem details object. See [Section 3.1 of RFC 7807](https://tools.ietf.org/html/rfc7807#section-3.1)."
    },
    {
      "title": "Problem Details Extensions",
      "type": "object",
      "properties": {
        "dateTime": {
          "allOf": [
            {
              "title": "Date Time",
              "type": "string",
              "description": "As defined by `date-time` in [Section 5.6 of RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6)",
              "format": "date-time"
            }
          ],
          "description": "The date and time that the problem occurred."
        },
        "issues": {
          "type": "array",
          "items": {
            "title": "Issue",
            "required": [
              "description",
              "field",
              "location"
            ],
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "description": "A human-readable explanation of the specific issue."
              },
              "field": {
                "anyOf": [
                  {
                    "title": "JSON Pointer",
                    "pattern": "^(\\/([^/~]|~[01])*)*$",
                    "type": "string",
                    "description": "A string representing a JSON Pointer as defined by [RFC 6901](https://tools.ietf.org/html/rfc6901)."
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "The name of the field in error. If `location` is `body`, then this MUST be either a [JSON pointer](https://tools.ietf.org/html/rfc6901) or an [XPath expression](https://www.w3.org/TR/1999/REC-xpath-19991116) referring to the field of the body."
              },
              "location": {
                "enum": [
                  "body",
                  "header",
                  "path",
                  "query"
                ],
                "type": "string",
                "description": "The location of the issue.",
                "default": "body"
              },
              "value": {
                "allOf": [
                  {
                    "title": "Any?",
                    "allOf": [
                      {
                        "title": "Any",
                        "oneOf": [
                          {
                            "title": "Any Primitive",
                            "oneOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              }
                            ],
                            "description": "Any non-nullable primitive JSON value"
                          },
                          {
                            "title": "Any Structured Value",
                            "oneOf": [
                              {
                                "type": "array"
                              },
                              {
                                "type": "object"
                              }
                            ],
                            "description": "Any non-nullable structured JSON value"
                          }
                        ],
                        "description": "Any non-nullable JSON value"
                      }
                    ],
                    "description": "Any nullable JSON value",
                    "nullable": true
                  }
                ],
                "description": "The value of the field in error."
              }
            },
            "description": "An object describing the issue of a particular field in an HTTP request message."
          },
          "description": "An array of issues related to specific fields in the HTTP request message."
        }
      },
      "description": "Custom J.B. Hunt extensions to the problems details format"
    }
  ],
  "description": "The [Problem Details for HTTP APIs](https://tools.ietf.org/html/rfc7807) format with extensions."
}

500 Internal Server Error

The server encountered an unexpected condition that prevented it from fulfilling the request. See RFC 7231, Section 6.6.1.

Representations

{
  "type": "about:blank",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "dateTime": {},
  "issues": [
    {
      "description": "string",
      "field": {},
      "location": "body",
      "value": {}
    }
  ]
}
{
  "title": "Problem Details",
  "allOf": [
    {
      "title": "Core Problem Details",
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "A [URI reference](https://tools.ietf.org/html/rfc3986#section-4.1) that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using [HTML](https://www.w3.org/TR/2014/REC-html5-20141028)). When this member is not present, its value is assumed to be `\"about:blank\"`.",
          "default": "about:blank"
        },
        "title": {
          "type": "string",
          "description": "A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive [content negotiation](https://tools.ietf.org/html/rfc7231#section-3.4))."
        },
        "status": {
          "maximum": 600.0,
          "exclusiveMaximum": true,
          "minimum": 100.0,
          "type": "integer",
          "description": "The [HTTP status code](https://tools.ietf.org/html/rfc7231#section-6) generated by the origin server for this occurrence of the problem."
        },
        "detail": {
          "type": "string",
          "description": "A human-readable explanation specific to this occurrence of the problem."
        },
        "instance": {
          "type": "string",
          "description": "A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced."
        }
      },
      "description": "The core problem details object. See [Section 3.1 of RFC 7807](https://tools.ietf.org/html/rfc7807#section-3.1)."
    },
    {
      "title": "Problem Details Extensions",
      "type": "object",
      "properties": {
        "dateTime": {
          "allOf": [
            {
              "title": "Date Time",
              "type": "string",
              "description": "As defined by `date-time` in [Section 5.6 of RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6)",
              "format": "date-time"
            }
          ],
          "description": "The date and time that the problem occurred."
        },
        "issues": {
          "type": "array",
          "items": {
            "title": "Issue",
            "required": [
              "description",
              "field",
              "location"
            ],
            "type": "object",
            "properties": {
              "description": {
                "type": "string",
                "description": "A human-readable explanation of the specific issue."
              },
              "field": {
                "anyOf": [
                  {
                    "title": "JSON Pointer",
                    "pattern": "^(\\/([^/~]|~[01])*)*$",
                    "type": "string",
                    "description": "A string representing a JSON Pointer as defined by [RFC 6901](https://tools.ietf.org/html/rfc6901)."
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "The name of the field in error. If `location` is `body`, then this MUST be either a [JSON pointer](https://tools.ietf.org/html/rfc6901) or an [XPath expression](https://www.w3.org/TR/1999/REC-xpath-19991116) referring to the field of the body."
              },
              "location": {
                "enum": [
                  "body",
                  "header",
                  "path",
                  "query"
                ],
                "type": "string",
                "description": "The location of the issue.",
                "default": "body"
              },
              "value": {
                "allOf": [
                  {
                    "title": "Any?",
                    "allOf": [
                      {
                        "title": "Any",
                        "oneOf": [
                          {
                            "title": "Any Primitive",
                            "oneOf": [
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "string"
                              }
                            ],
                            "description": "Any non-nullable primitive JSON value"
                          },
                          {
                            "title": "Any Structured Value",
                            "oneOf": [
                              {
                                "type": "array"
                              },
                              {
                                "type": "object"
                              }
                            ],
                            "description": "Any non-nullable structured JSON value"
                          }
                        ],
                        "description": "Any non-nullable JSON value"
                      }
                    ],
                    "description": "Any nullable JSON value",
                    "nullable": true
                  }
                ],
                "description": "The value of the field in error."
              }
            },
            "description": "An object describing the issue of a particular field in an HTTP request message."
          },
          "description": "An array of issues related to specific fields in the HTTP request message."
        }
      },
      "description": "Custom J.B. Hunt extensions to the problems details format"
    }
  ],
  "description": "The [Problem Details for HTTP APIs](https://tools.ietf.org/html/rfc7807) format with extensions."
}

Code samples

@ECHO OFF

curl -v -X POST "https://api.jbhunt.com/orders-api/orders"
-H "Content-Type: application/json"
-H "Api-Key: {subscription key}"
-H "Authorization: {access token}"

--data-ascii "{body}" 
using System;
using System.Net.Http.Headers;
using System.Text;
using System.Net.Http;
using System.Web;

namespace CSHttpClientSample
{
    static class Program
    {
        static void Main()
        {
            MakeRequest();
            Console.WriteLine("Hit ENTER to exit...");
            Console.ReadLine();
        }
        
        static async void MakeRequest()
        {
            var client = new HttpClient();
            var queryString = HttpUtility.ParseQueryString(string.Empty);

            // Request headers
            client.DefaultRequestHeaders.Add("Api-Key", "{subscription key}");
            client.DefaultRequestHeaders.Add("Authorization", "{access token}");

            var uri = "https://api.jbhunt.com/orders-api/orders?" + queryString;

            HttpResponseMessage response;

            // Request body
            byte[] byteData = Encoding.UTF8.GetBytes("{body}");

            using (var content = new ByteArrayContent(byteData))
            {
               content.Headers.ContentType = new MediaTypeHeaderValue("< your content type, i.e. application/json >");
               response = await client.PostAsync(uri, content);
            }

        }
    }
}	
// // This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
import java.net.URI;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;

public class JavaSample 
{
    public static void main(String[] args) 
    {
        HttpClient httpclient = HttpClients.createDefault();

        try
        {
            URIBuilder builder = new URIBuilder("https://api.jbhunt.com/orders-api/orders");


            URI uri = builder.build();
            HttpPost request = new HttpPost(uri);
            request.setHeader("Content-Type", "application/json");
            request.setHeader("Api-Key", "{subscription key}");
            request.setHeader("Authorization", "{access token}");


            // Request body
            StringEntity reqEntity = new StringEntity("{body}");
            request.setEntity(reqEntity);

            HttpResponse response = httpclient.execute(request);
            HttpEntity entity = response.getEntity();

            if (entity != null) 
            {
                System.out.println(EntityUtils.toString(entity));
            }
        }
        catch (Exception e)
        {
            System.out.println(e.getMessage());
        }
    }
}

<!DOCTYPE html>
<html>
<head>
    <title>JSSample</title>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
</head>
<body>

<script type="text/javascript">
    $(function() {
        var params = {
            // Request parameters
        };
      
        $.ajax({
            url: "https://api.jbhunt.com/orders-api/orders?" + $.param(params),
            beforeSend: function(xhrObj){
                // Request headers
                xhrObj.setRequestHeader("Content-Type","application/json");
                xhrObj.setRequestHeader("Api-Key","{subscription key}");
                xhrObj.setRequestHeader("Authorization","{access token}");
            },
            type: "POST",
            // Request body
            data: "{body}",
        })
        .done(function(data) {
            alert("success");
        })
        .fail(function() {
            alert("error");
        });
    });
</script>
</body>
</html>
#import <Foundation/Foundation.h>

int main(int argc, const char * argv[])
{
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    
    NSString* path = @"https://api.jbhunt.com/orders-api/orders";
    NSArray* array = @[
                         // Request parameters
                         @"entities=true",
                      ];
    
    NSString* string = [array componentsJoinedByString:@"&"];
    path = [path stringByAppendingFormat:@"?%@", string];

    NSLog(@"%@", path);

    NSMutableURLRequest* _request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:path]];
    [_request setHTTPMethod:@"POST"];
    // Request headers
    [_request setValue:@"application/json" forHTTPHeaderField:@"Content-Type"];
    [_request setValue:@"{subscription key}" forHTTPHeaderField:@"Api-Key"];
    [_request setValue:@"{access token}" forHTTPHeaderField:@"Authorization"];
    // Request body
    [_request setHTTPBody:[@"{body}" dataUsingEncoding:NSUTF8StringEncoding]];
    
    NSURLResponse *response = nil;
    NSError *error = nil;
    NSData* _connectionData = [NSURLConnection sendSynchronousRequest:_request returningResponse:&response error:&error];

    if (nil != error)
    {
        NSLog(@"Error: %@", error);
    }
    else
    {
        NSError* error = nil;
        NSMutableDictionary* json = nil;
        NSString* dataString = [[NSString alloc] initWithData:_connectionData encoding:NSUTF8StringEncoding];
        NSLog(@"%@", dataString);
        
        if (nil != _connectionData)
        {
            json = [NSJSONSerialization JSONObjectWithData:_connectionData options:NSJSONReadingMutableContainers error:&error];
        }
        
        if (error || !json)
        {
            NSLog(@"Could not parse loaded json with error:%@", error);
        }
        
        NSLog(@"%@", json);
        _connectionData = nil;
    }
    
    [pool drain];

    return 0;
}
<?php
// This sample uses the Apache HTTP client from HTTP Components (http://hc.apache.org/httpcomponents-client-ga/)
require_once 'HTTP/Request2.php';

$request = new Http_Request2('https://api.jbhunt.com/orders-api/orders');
$url = $request->getUrl();

$headers = array(
    // Request headers
    'Content-Type' => 'application/json',
    'Api-Key' => '{subscription key}',
    'Authorization' => '{access token}',
);

$request->setHeader($headers);

$parameters = array(
    // Request parameters
);

$url->setQueryVariables($parameters);

$request->setMethod(HTTP_Request2::METHOD_POST);

// Request body
$request->setBody("{body}");

try
{
    $response = $request->send();
    echo $response->getBody();
}
catch (HttpException $ex)
{
    echo $ex;
}

?>
########### Python 2.7 #############
import httplib, urllib, base64

headers = {
    # Request headers
    'Content-Type': 'application/json',
    'Api-Key': '{subscription key}',
    'Authorization': '{access token}',
}

params = urllib.urlencode({
})

try:
    conn = httplib.HTTPSConnection('api.jbhunt.com')
    conn.request("POST", "/orders-api/orders?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################

########### Python 3.2 #############
import http.client, urllib.request, urllib.parse, urllib.error, base64

headers = {
    # Request headers
    'Content-Type': 'application/json',
    'Api-Key': '{subscription key}',
    'Authorization': '{access token}',
}

params = urllib.parse.urlencode({
})

try:
    conn = http.client.HTTPSConnection('api.jbhunt.com')
    conn.request("POST", "/orders-api/orders?%s" % params, "{body}", headers)
    response = conn.getresponse()
    data = response.read()
    print(data)
    conn.close()
except Exception as e:
    print("[Errno {0}] {1}".format(e.errno, e.strerror))

####################################
require 'net/http'

uri = URI('https://api.jbhunt.com/orders-api/orders')


request = Net::HTTP::Post.new(uri.request_uri)
# Request headers
request['Content-Type'] = 'application/json'
# Request headers
request['Api-Key'] = '{subscription key}'
# Request headers
request['Authorization'] = '{access token}'
# Request body
request.body = "{body}"

response = Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https') do |http|
    http.request(request)
end

puts response.body