{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-order-schema.json",
  "title": "order",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-truckmate-openapi.yml#/components/schemas/order",
  "type": "object",
  "properties": {
    "orderId": {
      "type": "integer",
      "readOnly": true
    },
    "opCode": {
      "type": "string",
      "maxLength": 10
    },
    "billNumber": {
      "type": "string",
      "maxLength": 20,
      "readOnly": true
    },
    "startZone": {
      "type": "string",
      "maxLength": 10
    },
    "startZoneDescription": {
      "type": "string",
      "maxLength": 30,
      "readOnly": true
    },
    "endZone": {
      "type": "string",
      "maxLength": 10
    },
    "endZoneDescription": {
      "type": "string",
      "maxLength": 30,
      "readOnly": true
    },
    "status": {
      "type": "string",
      "maxLength": 10
    },
    "statusDescription": {
      "type": "string",
      "maxLength": 30
    },
    "longStatusDescription": {
      "type": "string",
      "maxLength": 131072
    },
    "currentStatusBehaviour": {
      "type": "string",
      "maxLength": 1
    },
    "currentZone": {
      "type": "string",
      "maxLength": 10,
      "readOnly": true
    },
    "currentZoneDescription": {
      "type": "string",
      "maxLength": 30,
      "readOnly": true
    },
    "actualDelivery": {
      "type": [
        "string",
        "null"
      ],
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "actualPickup": {
      "type": [
        "string",
        "null"
      ],
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "createdBy": {
      "type": "string",
      "maxLength": 128,
      "readOnly": true
    },
    "createdTime": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "extraStops": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "False",
        "True",
        "Child",
        ""
      ]
    },
    "masterOrder": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    },
    "noStops": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    },
    "parentOrder": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    },
    "siteId": {
      "type": "string",
      "maxLength": 10
    },
    "slmDaysSum": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    },
    "billDate": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "billNumberKey": {
      "type": "string",
      "maxLength": 32,
      "readOnly": true
    },
    "billToCode": {
      "type": "string",
      "maxLength": 10
    },
    "billToName": {
      "type": "string",
      "maxLength": 40
    },
    "billTo": {
      "type": "string",
      "enum": [
        "C",
        "O",
        "D",
        "T",
        "I",
        "R",
        ""
      ]
    },
    "cashCollect": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ],
      "readOnly": true
    },
    "pallets": {
      "type": [
        "number",
        "null"
      ]
    },
    "pieces": {
      "type": [
        "integer",
        "null"
      ]
    },
    "length": {
      "type": [
        "number",
        "null"
      ]
    },
    "cube": {
      "type": [
        "number",
        "null"
      ]
    },
    "weight": {
      "type": [
        "number",
        "null"
      ]
    },
    "isDangerousGoods": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "highValue": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ],
      "readOnly": true
    },
    "serviceLevel": {
      "type": "string",
      "maxLength": 10
    },
    "commodity": {
      "type": "string",
      "maxLength": 10
    },
    "pickUpBy": {
      "type": [
        "string",
        "null"
      ],
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "pickUpByEnd": {
      "type": [
        "string",
        "null"
      ],
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "latestPickUpBy": {
      "type": [
        "string",
        "null"
      ],
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "deliverBy": {
      "type": [
        "string",
        "null"
      ],
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "deliverByEnd": {
      "type": [
        "string",
        "null"
      ],
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "deliveryApptReq": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "deliveryApptMade": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "deliveryAppt": {
      "type": [
        "string",
        "null"
      ],
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "deliveryTerminal": {
      "type": "string",
      "maxLength": 10,
      "readOnly": true
    },
    "pickUpApptMade": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "pickUpApptReq": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "pickUpAppt": {
      "type": [
        "string",
        "null"
      ],
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "pickupTerminal": {
      "type": "string",
      "maxLength": 10,
      "readOnly": true
    },
    "pickUpDriver": {
      "type": "string",
      "maxLength": 10
    },
    "tax1": {
      "type": [
        "number",
        "null"
      ],
      "readOnly": true
    },
    "tax2": {
      "type": [
        "number",
        "null"
      ],
      "readOnly": true
    },
    "totalCharges": {
      "type": [
        "number",
        "null"
      ],
      "readOnly": true
    },
    "charges": {
      "type": [
        "number",
        "null"
      ],
      "readOnly": true
    },
    "currencyCode": {
      "type": "string",
      "maxLength": 3
    },
    "declaredValue": {
      "type": [
        "number",
        "null"
      ]
    },
    "terminalZone": {
      "type": "string",
      "maxLength": 10,
      "readOnly": true
    },
    "trailerNumber": {
      "type": "string",
      "maxLength": 80,
      "readOnly": true
    },
    "user1": {
      "type": "string",
      "maxLength": 40
    },
    "user2": {
      "type": "string",
      "maxLength": 40
    },
    "user3": {
      "type": "string",
      "maxLength": 40
    },
    "user4": {
      "type": "string",
      "maxLength": 40
    },
    "user5": {
      "type": "string",
      "maxLength": 40
    },
    "user6": {
      "type": "string",
      "maxLength": 40
    },
    "user7": {
      "type": "string",
      "maxLength": 40
    },
    "user8": {
      "type": "string",
      "maxLength": 40
    },
    "user9": {
      "type": "string",
      "maxLength": 40
    },
    "user10": {
      "type": "string",
      "maxLength": 40
    },
    "pickupDone": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "latitude": {
      "type": [
        "number",
        "null"
      ]
    },
    "longitude": {
      "type": [
        "number",
        "null"
      ]
    },
    "currentTrip": {
      "type": [
        "integer",
        "null"
      ]
    },
    "nextTrip": {
      "type": [
        "integer",
        "null"
      ]
    },
    "startStopStatus": {
      "type": [
        "integer",
        "null"
      ]
    },
    "endStopStatus": {
      "type": [
        "integer",
        "null"
      ]
    },
    "billType": {
      "type": "string",
      "maxLength": 10,
      "readOnly": true
    },
    "billingAuditNumber": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    },
    "updatedTimestamp": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "createdTimestamp": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "webUsername": {
      "type": "string",
      "maxLength": 128,
      "readOnly": true
    },
    "noCharge": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "estimatedDeliveryDate": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "oneOf": [
        {
          "enum": [
            ""
          ]
        },
        {
          "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
        }
      ]
    },
    "isCsa": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "isTarped": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "isFast": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "isExclusive": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "exclusiveOverride": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "codAmount": {
      "type": [
        "number",
        "null"
      ]
    },
    "deliveryDriver1": {
      "type": "string",
      "maxLength": 10
    },
    "deliveryDriver2": {
      "type": "string",
      "maxLength": 10
    },
    "deliveryPowerUnit1": {
      "type": "string",
      "maxLength": 10
    },
    "deliveryPowerUnit2": {
      "type": "string",
      "maxLength": 10
    },
    "deliveryTrailer1": {
      "type": "string",
      "maxLength": 10
    },
    "deliveryTrailer2": {
      "type": "string",
      "maxLength": 10
    },
    "destinationSpotTrailer": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "originSpotTrailer": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "pickupDriver2": {
      "type": "string",
      "maxLength": 10
    },
    "pickupPowerUnit1": {
      "type": "string",
      "maxLength": 10
    },
    "pickupPowerUnit2": {
      "type": "string",
      "maxLength": 10
    },
    "pickupTrailer1": {
      "type": "string",
      "maxLength": 10
    },
    "pickupTrailer2": {
      "type": "string",
      "maxLength": 10
    },
    "isApproved": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "webStatus": {
      "type": "string",
      "maxLength": 10,
      "readOnly": true
    },
    "webUpdate": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "False",
        "Done",
        "WIP",
        ""
      ]
    },
    "webAccept": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ],
      "readOnly": true
    },
    "quoteId": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    },
    "distance": {
      "type": [
        "number",
        "null"
      ],
      "readOnly": true
    },
    "distanceUnits": {
      "type": "string",
      "readOnly": true,
      "maxLength": 3
    },
    "requestedEquipment": {
      "type": "string",
      "readOnly": true,
      "maxLength": 20
    },
    "temperature": {
      "type": [
        "number",
        "null"
      ],
      "readOnly": true
    },
    "volume": {
      "type": [
        "number",
        "null"
      ],
      "readOnly": true
    },
    "piecesUnits": {
      "type": "string",
      "readOnly": true,
      "maxLength": 3
    },
    "weightUnits": {
      "type": "string",
      "readOnly": true,
      "maxLength": 3
    },
    "lengthUnits": {
      "type": "string",
      "readOnly": true,
      "maxLength": 3
    },
    "cubeUnits": {
      "type": "string",
      "readOnly": true,
      "maxLength": 3
    },
    "volumeUnits": {
      "type": "string",
      "readOnly": true,
      "maxLength": 3
    },
    "areaUnits": {
      "type": "string",
      "readOnly": true,
      "maxLength": 3
    },
    "timeUnits": {
      "type": "string",
      "readOnly": true,
      "maxLength": 3
    },
    "palletUnits": {
      "type": "string",
      "readOnly": true,
      "maxLength": 3
    },
    "temperatureUnits": {
      "type": "string",
      "readOnly": true,
      "maxLength": 3
    },
    "area": {
      "type": [
        "number",
        "null"
      ],
      "readOnly": true
    },
    "ratingTerms": {
      "type": "string",
      "readOnly": true,
      "enum": [
        "adhoc",
        "collect",
        "notApplicable",
        "prepaid",
        "thirdParty",
        ""
      ]
    },
    "salesAgent": {
      "type": "string",
      "maxLength": 20
    },
    "carrierAgent": {
      "type": "string",
      "maxLength": 10
    },
    "caller": {
      "$ref": "#/$defs/caller"
    },
    "shipper": {
      "$ref": "#/$defs/shipper"
    },
    "careOf": {
      "$ref": "#/$defs/careOf"
    },
    "otherContact": {
      "$ref": "#/$defs/otherContact"
    },
    "consignee": {
      "$ref": "#/$defs/consignee"
    },
    "pickupAt": {
      "$ref": "#/$defs/pickupAt"
    },
    "xrefCode": {
      "$ref": "#/$defs/xrefCode"
    },
    "intermodal": {
      "$ref": "#/$defs/intermodal"
    },
    "billToCustomer": {
      "$ref": "#/$defs/orderBillToCustomer"
    },
    "quoteStatus": {
      "$ref": "#/$defs/quoteStatus"
    },
    "slmDates": {
      "$ref": "#/$defs/orderSlmDates"
    },
    "aCharges": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/aCharge"
      }
    },
    "details": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/detail"
      }
    },
    "osds": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/osd"
      }
    },
    "shipInstructs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/shipInstruct"
      }
    },
    "traceNumbers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/traceNumber"
      }
    },
    "notes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/note"
      }
    },
    "interliners": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/interliner"
      }
    },
    "statusHistory": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/statusHistory"
      }
    },
    "pods": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/pod"
      }
    },
    "dangerousGoods": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/dangerousGoods"
      }
    },
    "customDefs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CustomDefsActualResponse"
      }
    },
    "checklist": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/orderChecklist"
      }
    },
    "terminalPlans": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/terminalPlan"
      }
    },
    "billing": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/billing"
      }
    },
    "xStops": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/xStop"
      }
    }
  },
  "$defs": {
    "ACachargecurrencyrates": {
      "type": "object",
      "properties": {
        "currency": {
          "type": "string",
          "maxLength": 3
        },
        "quantity": {
          "type": [
            "number",
            "null"
          ]
        },
        "rate": {
          "type": [
            "number",
            "null"
          ]
        },
        "amount": {
          "type": [
            "number",
            "null"
          ]
        },
        "foreignExchangeRate": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    },
    "CustomDefsActualResponse": {
      "type": "object",
      "properties": {
        "customLabel": {
          "type": "string",
          "description": "Label of a custom defined field",
          "maxLength": 20
        },
        "sourceId": {
          "type": "string",
          "description": "References the primary key of the table to which the custom defined field is attached to",
          "maxLength": 100
        },
        "customDefId": {
          "type": "integer",
          "description": "Custom define field ID"
        },
        "customValue": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 255
            },
            {
              "type": "number"
            }
          ]
        }
      }
    },
    "aCharge": {
      "type": "object",
      "properties": {
        "aChargeCode": {
          "type": "string",
          "maxLength": 10
        },
        "aChargeId": {
          "type": "integer"
        },
        "aChargeType": {
          "type": "string",
          "maxLength": 40
        },
        "autoAssigned": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "chargeAmount": {
          "type": [
            "number",
            "null"
          ]
        },
        "orderId": {
          "type": "integer"
        },
        "functionalAmount": {
          "type": [
            "number",
            "null"
          ]
        },
        "isManual": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "notation": {
          "type": "string",
          "maxLength": 40
        },
        "quantity": {
          "type": [
            "number",
            "null"
          ]
        },
        "rate": {
          "type": [
            "number",
            "null"
          ]
        },
        "actualQuantity": {
          "type": [
            "number",
            "null"
          ]
        },
        "threshold": {
          "type": [
            "number",
            "null"
          ]
        },
        "increment": {
          "type": [
            "number",
            "null"
          ]
        },
        "description": {
          "type": "string",
          "maxLength": 40
        },
        "user1": {
          "type": "string",
          "maxLength": 40
        },
        "user2": {
          "type": "string",
          "maxLength": 40
        },
        "user3": {
          "type": "string",
          "maxLength": 40
        },
        "user4": {
          "type": "string",
          "maxLength": 40
        },
        "user5": {
          "type": "string",
          "maxLength": 40
        },
        "user6": {
          "type": "string",
          "maxLength": 40
        },
        "user7": {
          "type": "string",
          "maxLength": 40
        },
        "user8": {
          "type": "string",
          "maxLength": 40
        },
        "user9": {
          "type": "string",
          "maxLength": 40
        },
        "user10": {
          "type": "string",
          "maxLength": 40
        },
        "aChargeCurrencyRates": {
          "$ref": "#/$defs/ACachargecurrencyrates"
        }
      }
    },
    "barcode": {
      "type": "object",
      "properties": {
        "barcode": {
          "type": "string",
          "maxLength": 50,
          "description": "System-generated scannable barcode for the handling unit."
        },
        "altBarcode1": {
          "type": "string",
          "maxLength": 50,
          "description": "An alternate scannable barcode for the handling unit."
        },
        "altBarcode2": {
          "type": "string",
          "maxLength": 50,
          "description": "A second alternate scannable barcode for the handling unit."
        },
        "cube": {
          "type": [
            "number",
            "null"
          ],
          "description": "Cubic dimensional value of the handling unit."
        },
        "cubeUnits": {
          "type": "string",
          "maxLength": 3,
          "description": "Unit of measure for the cube property. Note that unit types are configurable and may vary per TruckMate instance."
        },
        "height": {
          "type": [
            "number",
            "null"
          ],
          "description": "Height of the handling unit."
        },
        "heightUnits": {
          "type": "string",
          "maxLength": 3,
          "description": "Unit of measure for the height property. Note that unit types are configurable and may vary per TruckMate instance."
        },
        "length": {
          "type": [
            "number",
            "null"
          ],
          "description": "Length of the handling unit."
        },
        "lengthUnits": {
          "type": "string",
          "maxLength": 3,
          "description": "Unit of measure for the length property. Note that unit types are configurable and may vary per TruckMate instance."
        },
        "location": {
          "type": "string",
          "maxLength": 12,
          "description": "Identifier for the last known location of the handling unit."
        },
        "locationTerminalId": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Numeric ID for the terminal where the handling unit is currently or was last located."
        },
        "locationTerminalZone": {
          "type": "string",
          "maxLength": 10,
          "description": "Zone code for the terminal where the handling unit is currently or was last located."
        },
        "locationTimestamp": {
          "type": [
            "string",
            "null"
          ],
          "description": "Timestamp for the last known location information.",
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "locationTypeDesc": {
          "type": "string",
          "maxLength": 15,
          "description": "Description of location referred to by the location property."
        },
        "locationType": {
          "type": "string",
          "maxLength": 1,
          "description": "Type of location referred to by the location property."
        },
        "pallets": {
          "type": [
            "number",
            "null"
          ],
          "description": "Pallets that make up the handling unit."
        },
        "palletUnits": {
          "type": "string",
          "maxLength": 3,
          "description": "Unit of measure for the pallets property. Note that unit types are configurable and may vary per TruckMate instance."
        },
        "pieces": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Pieces that make up the handling unit."
        },
        "pieceUnits": {
          "type": "string",
          "maxLength": 3,
          "description": "Unit of measure for the pieces property. Note that unit types are configurable and may vary per TruckMate instance."
        },
        "temperature": {
          "type": [
            "number",
            "null"
          ],
          "description": "Temperature of the handling unit."
        },
        "temperatureUnits": {
          "type": "string",
          "maxLength": 3,
          "description": "Unit of measure for the temperature property. Note that unit types are configurable and may vary per TruckMate instance."
        },
        "status": {
          "type": "string",
          "maxLength": 10,
          "description": "Current location status of this specific handling unit."
        },
        "statusComment": {
          "type": "string",
          "maxLength": 120,
          "description": "Additional human-readable comments clarifying the last known status of the freight."
        },
        "volume": {
          "type": [
            "number",
            "null"
          ],
          "description": "Volume of the handling unit."
        },
        "volumeUnits": {
          "type": "string",
          "maxLength": 3,
          "description": "Unit of measure for the volume property. Note that unit types are configurable and may vary per TruckMate instance."
        },
        "weight": {
          "type": [
            "number",
            "null"
          ],
          "description": "Weight of the handling unit."
        },
        "weightUnits": {
          "type": "string",
          "maxLength": 3,
          "description": "Unit of measure for the weight property. Note that unit types are configurable and may vary per TruckMate instance."
        },
        "width": {
          "type": [
            "number",
            "null"
          ],
          "description": "Width of the handling unit."
        },
        "widthUnits": {
          "type": "string",
          "maxLength": 3,
          "description": "Unit of measure for the width property. Note that unit types are configurable and may vary per TruckMate instance."
        },
        "sequence": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Barcode sequence"
        },
        "barcodeId": {
          "type": "integer",
          "description": "Barcode ID, automatically generated"
        },
        "cubePolicyId": {
          "type": "integer",
          "description": "ID of cube policy if used"
        },
        "cubePolicyValue": {
          "type": [
            "number",
            "null"
          ],
          "description": "Value of cube policy if used"
        },
        "doorNumber": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Terminal door number"
        },
        "handlingNotes": {
          "type": "string",
          "maxLength": 40,
          "description": "Free-form notes that can be entered by pickup/delivery driver"
        },
        "intact": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ],
          "description": "Describes the pieces/pallet state"
        },
        "isVerified": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ],
          "description": "Order is verified"
        },
        "lifts": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Number of sets of stairs at location"
        },
        "orderId": {
          "type": "integer",
          "description": "Detail line ID of order"
        },
        "orderDetailId": {
          "type": "integer",
          "description": "Sequence of order"
        },
        "mobileScanned": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ],
          "description": "Has been scanned by handheld device"
        },
        "palletGroupId": {
          "type": "string",
          "maxLength": 50,
          "description": "Pallet group ID"
        },
        "pieceCubing": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ],
          "description": "Piece cubing"
        },
        "printStatus": {
          "type": "string",
          "maxLength": 10,
          "description": "Printing status"
        },
        "tripNumber": {
          "type": "integer",
          "description": "Trip number"
        },
        "user1": {
          "type": "string",
          "maxLength": 80,
          "description": "Expansion field #1 for any additional user-provided information"
        },
        "user2": {
          "type": "string",
          "maxLength": 80,
          "description": "Expansion field #2 for any additional user-provided information"
        },
        "user3": {
          "type": "string",
          "maxLength": 80,
          "description": "Expansion field #3 for any additional user-provided information"
        },
        "user4": {
          "type": "string",
          "maxLength": 80,
          "description": "Expansion field #4 for any additional user-provided information"
        },
        "user5": {
          "type": "string",
          "maxLength": 80,
          "description": "Expansion field #5 for any additional user-provided information"
        }
      }
    },
    "billing": {
      "type": "object",
      "properties": {
        "basis": {
          "type": "string",
          "maxLength": 10
        },
        "basisDescription": {
          "type": "string",
          "maxLength": 40
        },
        "rateQuantity": {
          "type": [
            "number",
            "null"
          ]
        },
        "rateAmount": {
          "type": [
            "number",
            "null"
          ]
        },
        "currencyCode": {
          "type": "string",
          "maxLength": 3
        }
      }
    },
    "caller": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": "string",
          "maxLength": 10
        },
        "name": {
          "type": "string",
          "maxLength": 40
        },
        "address": {
          "type": "string",
          "maxLength": 81
        },
        "address1": {
          "type": "string",
          "maxLength": 40
        },
        "address2": {
          "type": "string",
          "maxLength": 40
        },
        "city": {
          "type": "string",
          "maxLength": 30
        },
        "province": {
          "type": "string",
          "maxLength": 4
        },
        "postalCode": {
          "type": "string",
          "maxLength": 10
        },
        "contact": {
          "type": "string",
          "maxLength": 40
        },
        "phone": {
          "type": "string",
          "maxLength": 20
        },
        "phoneNumber": {
          "type": "string",
          "maxLength": 27
        },
        "phoneExt": {
          "type": "string",
          "maxLength": 5
        },
        "country": {
          "type": "string",
          "maxLength": 2
        },
        "email": {
          "type": "string",
          "maxLength": 128,
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "format": "email"
            }
          ]
        },
        "fax": {
          "type": "string",
          "maxLength": 20
        },
        "cell": {
          "type": "string",
          "maxLength": 20
        },
        "unit": {
          "type": "string",
          "maxLength": 10
        }
      }
    },
    "careOf": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": "string",
          "maxLength": 10
        },
        "name": {
          "type": "string",
          "maxLength": 40
        },
        "address": {
          "type": "string",
          "maxLength": 81
        },
        "address1": {
          "type": "string",
          "maxLength": 40
        },
        "address2": {
          "type": "string",
          "maxLength": 40
        },
        "city": {
          "type": "string",
          "maxLength": 30
        },
        "province": {
          "type": "string",
          "maxLength": 4
        },
        "postalCode": {
          "type": "string",
          "maxLength": 10
        },
        "zone": {
          "type": "string",
          "maxLength": 10
        },
        "zoneDescription": {
          "type": "string",
          "maxLength": 30
        },
        "contact": {
          "type": "string",
          "maxLength": 40
        },
        "phone": {
          "type": "string",
          "maxLength": 20
        },
        "phoneNumber": {
          "type": "string",
          "maxLength": 27
        },
        "phoneExt": {
          "type": "string",
          "maxLength": 5
        },
        "country": {
          "type": "string",
          "maxLength": 2
        },
        "email": {
          "type": "string",
          "maxLength": 128,
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "format": "email"
            }
          ]
        },
        "fax": {
          "type": "string",
          "maxLength": 20
        },
        "cell": {
          "type": "string",
          "maxLength": 20
        },
        "unit": {
          "type": "string",
          "maxLength": 10
        }
      }
    },
    "consignee": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": "string",
          "maxLength": 10
        },
        "name": {
          "type": "string",
          "maxLength": 40
        },
        "address": {
          "type": "string",
          "maxLength": 81
        },
        "address1": {
          "type": "string",
          "maxLength": 40
        },
        "address2": {
          "type": "string",
          "maxLength": 40
        },
        "city": {
          "type": "string",
          "maxLength": 30
        },
        "province": {
          "type": "string",
          "maxLength": 4
        },
        "postalCode": {
          "type": "string",
          "maxLength": 10
        },
        "zone": {
          "type": "string",
          "maxLength": 10
        },
        "zoneDescription": {
          "type": "string",
          "maxLength": 30
        },
        "contact": {
          "type": "string",
          "maxLength": 40
        },
        "phone": {
          "type": "string",
          "maxLength": 20
        },
        "phoneNumber": {
          "type": "string",
          "maxLength": 27
        },
        "phoneExt": {
          "type": "string",
          "maxLength": 5
        },
        "country": {
          "type": "string",
          "maxLength": 2
        },
        "email": {
          "type": "string",
          "maxLength": 128,
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "format": "email"
            }
          ]
        },
        "fax": {
          "type": "string",
          "maxLength": 20
        },
        "cell": {
          "type": "string",
          "maxLength": 20
        },
        "unit": {
          "type": "string",
          "maxLength": 10
        }
      }
    },
    "dangerousGoods": {
      "type": "object",
      "properties": {
        "orderId": {
          "type": "integer"
        },
        "dgId": {
          "type": "integer"
        },
        "orderDetailId": {
          "type": [
            "integer",
            "null"
          ]
        },
        "unNumber": {
          "type": "string",
          "maxLength": 7
        },
        "shippingName": {
          "type": "string",
          "maxLength": 255
        },
        "class": {
          "type": "string",
          "maxLength": 15
        },
        "subClass": {
          "type": "string",
          "maxLength": 40
        },
        "compatibilityGroup": {
          "type": "string",
          "enum": [
            "A",
            "B",
            "C",
            "D",
            "E",
            "F",
            "G",
            "H",
            "J",
            "K",
            "L",
            "N",
            "S",
            ""
          ]
        },
        "packingGroup": {
          "type": "string",
          "enum": [
            "I",
            "II",
            "III",
            ""
          ]
        },
        "volume": {
          "type": [
            "number",
            "null"
          ]
        },
        "volumeUnits": {
          "type": "string",
          "maxLength": 3
        },
        "mass": {
          "type": [
            "number",
            "null"
          ]
        },
        "massUnits": {
          "type": "string",
          "maxLength": 3
        },
        "explosiveQuantity": {
          "type": [
            "number",
            "null"
          ]
        },
        "explosiveUnits": {
          "type": "string",
          "maxLength": 3
        },
        "containers": {
          "type": [
            "integer",
            "null"
          ]
        },
        "controlTemp": {
          "type": [
            "number",
            "null"
          ]
        },
        "emergencyTemp": {
          "type": [
            "number",
            "null"
          ]
        },
        "marinePollutant": {
          "type": "string",
          "enum": [
            "P",
            "PP",
            ""
          ]
        },
        "requiredQuantity": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "marinePollutantPrintReq": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "limitedQuantity": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "inhalationHazardZone": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "inhalationHazardZoneType": {
          "type": "string",
          "enum": [
            "A",
            "B",
            "C",
            "D",
            "E",
            ""
          ]
        },
        "actualName": {
          "type": "string",
          "maxLength": 255
        },
        "contactName": {
          "type": "string",
          "maxLength": 50
        },
        "contactNumber": {
          "type": "string",
          "maxLength": 20
        },
        "countryCode": {
          "type": "string",
          "maxLength": 3
        },
        "hazchem": {
          "type": "string",
          "maxLength": 10
        }
      }
    },
    "detail": {
      "type": "object",
      "properties": {
        "orderId": {
          "type": "integer",
          "readOnly": true
        },
        "orderDetailId": {
          "type": "integer",
          "readOnly": true
        },
        "commodity": {
          "type": "string",
          "maxLength": 10
        },
        "description": {
          "type": "string",
          "maxLength": 80
        },
        "pallets": {
          "type": [
            "number",
            "null"
          ]
        },
        "palletUnits": {
          "type": "string",
          "maxLength": 3
        },
        "pieces": {
          "type": [
            "integer",
            "null"
          ]
        },
        "piecesUnits": {
          "type": "string",
          "maxLength": 3
        },
        "weight": {
          "type": [
            "number",
            "null"
          ]
        },
        "weightUnits": {
          "type": "string",
          "maxLength": 3
        },
        "cube": {
          "type": [
            "number",
            "null"
          ]
        },
        "cubeUnits": {
          "type": "string",
          "maxLength": 3
        },
        "length": {
          "type": [
            "number",
            "null"
          ]
        },
        "lengthUnits": {
          "type": "string",
          "maxLength": 3
        },
        "height": {
          "type": [
            "number",
            "null"
          ]
        },
        "heightUnits": {
          "type": "string",
          "maxLength": 3
        },
        "width": {
          "type": [
            "number",
            "null"
          ]
        },
        "widthUnits": {
          "type": "string",
          "maxLength": 3
        },
        "items": {
          "type": [
            "integer",
            "null"
          ]
        },
        "unId": {
          "type": [
            "integer",
            "null"
          ]
        },
        "unNumber": {
          "type": "string",
          "maxLength": 7
        },
        "temperatureControlled": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "requestedEquipment": {
          "type": "string",
          "maxLength": 20
        },
        "dangerousGoods": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "area": {
          "type": [
            "number",
            "null"
          ]
        },
        "areaUnits": {
          "type": "string",
          "maxLength": 3
        },
        "cost": {
          "type": [
            "number",
            "null"
          ],
          "readOnly": true
        },
        "dimWeight": {
          "type": [
            "number",
            "null"
          ],
          "readOnly": true
        },
        "dimWeightUnits": {
          "type": "string",
          "maxLength": 3,
          "readOnly": true
        },
        "discount": {
          "type": [
            "number",
            "null"
          ],
          "readOnly": true
        },
        "discountRate": {
          "type": [
            "number",
            "null"
          ],
          "readOnly": true
        },
        "distance": {
          "type": [
            "number",
            "null"
          ]
        },
        "distanceUnits": {
          "type": "string",
          "maxLength": 3
        },
        "field1": {
          "type": "string",
          "maxLength": 40
        },
        "field2": {
          "type": "string",
          "maxLength": 40
        },
        "field3": {
          "type": "string",
          "maxLength": 40
        },
        "field4": {
          "type": "string",
          "maxLength": 40
        },
        "field5": {
          "type": "string",
          "maxLength": 40
        },
        "field6": {
          "type": "string",
          "maxLength": 40
        },
        "field7": {
          "type": "string",
          "maxLength": 40
        },
        "field8": {
          "type": "string",
          "maxLength": 40
        },
        "field9": {
          "type": "string",
          "maxLength": 40
        },
        "field10": {
          "type": "string",
          "maxLength": 40
        },
        "field11": {
          "type": [
            "number",
            "null"
          ]
        },
        "field12": {
          "type": [
            "number",
            "null"
          ]
        },
        "field13": {
          "type": [
            "number",
            "null"
          ]
        },
        "field14": {
          "type": [
            "number",
            "null"
          ]
        },
        "field15": {
          "type": [
            "number",
            "null"
          ]
        },
        "field16": {
          "type": [
            "number",
            "null"
          ]
        },
        "field17": {
          "type": [
            "number",
            "null"
          ]
        },
        "field18": {
          "type": [
            "number",
            "null"
          ]
        },
        "field19": {
          "type": [
            "number",
            "null"
          ]
        },
        "field20": {
          "type": [
            "number",
            "null"
          ]
        },
        "field21": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "field22": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "field23": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "field24": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "field25": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "osdId": {
          "type": "integer"
        },
        "rate": {
          "type": [
            "number",
            "null"
          ]
        },
        "rateFromZone": {
          "type": "string",
          "maxLength": 10,
          "readOnly": true
        },
        "ratePer": {
          "type": [
            "number",
            "null"
          ]
        },
        "rateToZone": {
          "type": "string",
          "maxLength": 10,
          "readOnly": true
        },
        "rateUnits": {
          "type": "string",
          "maxLength": 3
        },
        "subCost": {
          "type": [
            "number",
            "null"
          ],
          "readOnly": true
        },
        "temperature": {
          "type": [
            "number",
            "null"
          ]
        },
        "temperatureUnits": {
          "type": "string",
          "maxLength": 3
        },
        "time": {
          "type": [
            "number",
            "null"
          ]
        },
        "timeUnits": {
          "type": "string",
          "maxLength": 3
        },
        "volume": {
          "type": [
            "number",
            "null"
          ]
        },
        "volumeUnits": {
          "type": "string",
          "maxLength": 3
        },
        "highValue": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "regionalRestrictions": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "manuallyRated": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "userFieldInt1": {
          "type": [
            "integer",
            "null"
          ]
        },
        "userFieldInt2": {
          "type": [
            "integer",
            "null"
          ]
        },
        "userFieldInt3": {
          "type": [
            "integer",
            "null"
          ]
        },
        "userFieldInt4": {
          "type": [
            "integer",
            "null"
          ]
        },
        "userFieldInt5": {
          "type": [
            "integer",
            "null"
          ]
        },
        "userFieldInt6": {
          "type": [
            "integer",
            "null"
          ]
        },
        "estimatedCube": {
          "type": [
            "number",
            "null"
          ]
        },
        "estimatedHeight": {
          "type": [
            "number",
            "null"
          ]
        },
        "estimatedLength": {
          "type": [
            "number",
            "null"
          ]
        },
        "estimatedPallets": {
          "type": [
            "number",
            "null"
          ]
        },
        "estimatedPieces": {
          "type": [
            "integer",
            "null"
          ]
        },
        "estimatedWeight": {
          "type": [
            "number",
            "null"
          ]
        },
        "estimatedWidth": {
          "type": [
            "number",
            "null"
          ]
        },
        "estimatedVolume": {
          "type": [
            "number",
            "null"
          ]
        },
        "itemCube": {
          "type": [
            "number",
            "null"
          ],
          "readOnly": true
        },
        "itemPallets": {
          "type": [
            "number",
            "null"
          ],
          "readOnly": true
        },
        "itemPieces": {
          "type": [
            "number",
            "null"
          ],
          "readOnly": true
        },
        "itemTemperature": {
          "type": [
            "number",
            "null"
          ],
          "readOnly": true
        },
        "itemWeight": {
          "type": [
            "number",
            "null"
          ],
          "readOnly": true
        },
        "itemVolume": {
          "type": [
            "number",
            "null"
          ],
          "readOnly": true
        },
        "cubePolicyValue": {
          "type": [
            "number",
            "null"
          ]
        },
        "estimatedCubePolicyValue": {
          "type": [
            "number",
            "null"
          ]
        },
        "perishable": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "asRate": {
          "type": [
            "number",
            "null"
          ]
        },
        "asBreak": {
          "type": [
            "number",
            "null"
          ]
        },
        "mpSeq": {
          "type": [
            "integer",
            "null"
          ]
        },
        "ratesheetCurrencyRates": {
          "$ref": "#/$defs/ratesheetcurrencyrates"
        },
        "barcodes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/barcode"
          }
        }
      }
    },
    "dropLocation": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 40
        },
        "address1": {
          "type": "string",
          "maxLength": 40
        },
        "address2": {
          "type": "string",
          "maxLength": 40
        },
        "city": {
          "type": "string",
          "maxLength": 30
        },
        "startDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "endDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "province": {
          "type": "string",
          "maxLength": 4
        },
        "postalCode": {
          "type": "string",
          "maxLength": 10
        },
        "zoneDescription": {
          "type": "string",
          "maxLength": 30
        },
        "country": {
          "type": "string",
          "maxLength": 2
        },
        "phone": {
          "type": "string",
          "maxLength": 30
        },
        "phoneExt": {
          "type": "string",
          "maxLength": 5
        },
        "cell": {
          "type": "string",
          "maxLength": 20
        },
        "contact": {
          "type": "string",
          "maxLength": 40
        },
        "email": {
          "type": "string",
          "maxLength": 128,
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "format": "email"
            }
          ]
        }
      }
    },
    "interliner": {
      "type": "object",
      "properties": {
        "orderInterlinerId": {
          "type": "integer"
        },
        "movementType": {
          "type": "string",
          "enum": [
            "advance",
            "beyond",
            "other",
            "linehaul",
            "crossDock",
            ""
          ]
        },
        "interlinerId": {
          "type": "string",
          "maxLength": 10
        },
        "fromZone": {
          "type": "string",
          "maxLength": 10
        },
        "toZone": {
          "type": "string",
          "maxLength": 10
        },
        "probill": {
          "type": "string",
          "maxLength": 20
        },
        "currency": {
          "type": "string",
          "maxLength": 3
        },
        "chargesType": {
          "type": "string",
          "enum": [
            "interCompany",
            "noCharge",
            "payable",
            "receivable",
            ""
          ]
        },
        "totalCharges": {
          "type": [
            "number",
            "null"
          ]
        },
        "subTotal": {
          "type": [
            "number",
            "null"
          ]
        },
        "extraCharges": {
          "type": [
            "number",
            "null"
          ]
        },
        "tax1": {
          "type": [
            "number",
            "null"
          ]
        },
        "tax2": {
          "type": [
            "number",
            "null"
          ]
        },
        "interlinerName": {
          "type": "string"
        },
        "markupBase": {
          "type": [
            "number",
            "null"
          ]
        },
        "markupExtra": {
          "type": [
            "number",
            "null"
          ]
        },
        "adjustedMarkupBase": {
          "type": [
            "number",
            "null"
          ]
        },
        "adjustedMarkupExtra": {
          "type": [
            "number",
            "null"
          ]
        },
        "travelMode": {
          "type": "string",
          "maxLength": 10
        },
        "dropLocation": {
          "$ref": "#/$defs/dropLocation"
        },
        "pickupLocation": {
          "$ref": "#/$defs/pickupLocation"
        },
        "aCharges": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/interlinerACharge"
          }
        }
      }
    },
    "interlinerACharge": {
      "type": "object",
      "properties": {
        "orderInterlinerId": {
          "type": "integer"
        },
        "aChargeId": {
          "type": "integer"
        },
        "aChargeCode": {
          "type": "string",
          "maxLength": 10
        },
        "aChargeType": {
          "type": "string",
          "maxLength": 40
        },
        "notation": {
          "type": "string",
          "maxLength": 40
        },
        "quantity": {
          "type": [
            "number",
            "null"
          ]
        },
        "rate": {
          "type": [
            "number",
            "null"
          ]
        },
        "chargeAmount": {
          "type": [
            "number",
            "null"
          ]
        },
        "functionalAmount": {
          "type": [
            "number",
            "null"
          ]
        },
        "currency": {
          "type": "string",
          "maxLength": 3
        },
        "adjustedAmount": {
          "type": [
            "number",
            "null"
          ]
        },
        "adjustedFunctionalAmount": {
          "type": [
            "number",
            "null"
          ]
        },
        "isManual": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "autoAssigned": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "createdTimestamp": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "updatedTimestamp": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        }
      }
    },
    "intermodal": {
      "type": "object",
      "properties": {
        "containerCode": {
          "type": "string",
          "maxLength": 10
        },
        "containerNumber": {
          "type": "string",
          "maxLength": 15
        },
        "containerSize": {
          "type": "string",
          "maxLength": 10
        },
        "containerType": {
          "type": "string",
          "maxLength": 10
        },
        "containerOwner": {
          "type": "string",
          "maxLength": 10
        },
        "movementType": {
          "type": "string",
          "enum": [
            "Import",
            "Export",
            "Dom IB",
            "Dom OB",
            "Empty Repo",
            "Other",
            "IMC",
            ""
          ]
        },
        "containerIso": {
          "type": "string",
          "maxLength": 10
        },
        "pickup": {
          "type": "string",
          "maxLength": 10
        },
        "delivery": {
          "type": "string",
          "maxLength": 10
        },
        "billToCode": {
          "type": "string",
          "maxLength": 10
        },
        "chassisTermination": {
          "type": "string",
          "maxLength": 10
        },
        "chassisPickup": {
          "type": "string",
          "maxLength": 10
        },
        "emptyDisposition": {
          "type": "string",
          "maxLength": 10
        },
        "emptyOrigin": {
          "type": "string",
          "maxLength": 10
        },
        "cardNumber": {
          "type": "string",
          "maxLength": 40
        },
        "sealNumber": {
          "type": "string",
          "maxLength": 40
        },
        "vessel": {
          "type": "string",
          "maxLength": 40
        },
        "voyage": {
          "type": "string",
          "maxLength": 40
        },
        "bookingNumber": {
          "type": "string",
          "maxLength": 40
        },
        "exportDestination": {
          "type": "string",
          "maxLength": 10
        },
        "emptyNotifyDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "loadedDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "checkDigit": {
          "type": "string",
          "maxLength": 2
        },
        "userDateTime1": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "userDateTime2": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "userDateTime3": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "userDateTime4": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "userDateTime5": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "userString1": {
          "type": "string",
          "maxLength": 40
        },
        "userString2": {
          "type": "string",
          "maxLength": 40
        },
        "userString3": {
          "type": "string",
          "maxLength": 40
        },
        "userString4": {
          "type": "string",
          "maxLength": 40
        },
        "userString5": {
          "type": "string",
          "maxLength": 40
        },
        "userString6": {
          "type": "string",
          "maxLength": 40
        },
        "userString7": {
          "type": "string",
          "maxLength": 40
        },
        "userString8": {
          "type": "string",
          "maxLength": 40
        },
        "userString9": {
          "type": "string",
          "maxLength": 40
        },
        "userString10": {
          "type": "string",
          "maxLength": 40
        },
        "userInt1": {
          "type": [
            "integer",
            "null"
          ]
        },
        "userInt2": {
          "type": [
            "integer",
            "null"
          ]
        },
        "userInt3": {
          "type": [
            "integer",
            "null"
          ]
        },
        "userInt4": {
          "type": [
            "integer",
            "null"
          ]
        },
        "userInt5": {
          "type": [
            "integer",
            "null"
          ]
        },
        "userDouble1": {
          "type": [
            "number",
            "null"
          ]
        },
        "userDouble2": {
          "type": [
            "number",
            "null"
          ]
        },
        "userDouble3": {
          "type": [
            "number",
            "null"
          ]
        },
        "userDouble4": {
          "type": [
            "number",
            "null"
          ]
        },
        "userDouble5": {
          "type": [
            "number",
            "null"
          ]
        },
        "userTrace1": {
          "type": "string",
          "maxLength": 40
        },
        "userTrace2": {
          "type": "string",
          "maxLength": 40
        },
        "vesselAta": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "chassisBillingDeliveryDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "chassisBillingDispatchDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "chassisBillingEndDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "chassisBillingFBPickupDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "chassisBillingStartDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "chassisBillingTripDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "exportVesselCutoff": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "deliveryOrderDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "vesselEta": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "containerlastFreeDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "containerAvailableDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "railEta": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "containerReturnDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "jobNumber": {
          "type": "string",
          "maxLength": 40
        },
        "shipmentNumber": {
          "type": "string",
          "maxLength": 40
        },
        "supplier": {
          "type": "string",
          "maxLength": 10
        },
        "woReference": {
          "type": "string",
          "maxLength": 40
        },
        "bol": {
          "type": "string",
          "maxLength": 40
        },
        "customerOrder": {
          "type": "string",
          "maxLength": 10
        },
        "deramp": {
          "type": "string",
          "maxLength": 40
        },
        "pickupNumber": {
          "type": "string",
          "maxLength": 40
        },
        "portOfExit": {
          "type": "string",
          "maxLength": 10
        },
        "inBond": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "oblHold": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "agricultureHold": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "containerPoolClient": {
          "type": "string",
          "maxLength": 10
        }
      }
    },
    "note": {
      "type": "object",
      "properties": {
        "progTable": {
          "type": "string",
          "maxLength": 20
        },
        "noteType": {
          "type": "string",
          "maxLength": 5,
          "description": "B - Billing, C - Container, D - Driver, O - Other, S - OSD, W - Write-off, 1 - User 1, 2 - User 2, 3 - User 3"
        },
        "idKey": {
          "type": "string",
          "maxLength": 10
        },
        "seq": {
          "type": [
            "integer",
            "null"
          ]
        },
        "theNote": {
          "type": "string",
          "maxLength": 131072
        },
        "modifiedBy": {
          "type": "string",
          "maxLength": 128
        },
        "modifiedTime": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "createdBy": {
          "type": "string",
          "maxLength": 128
        },
        "createdTime": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        }
      }
    },
    "orderBillToCustomer": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": "string",
          "maxLength": 10
        },
        "name": {
          "type": "string",
          "maxLength": 40
        },
        "address": {
          "type": "string",
          "maxLength": 80
        },
        "address1": {
          "type": "string",
          "maxLength": 40
        },
        "address2": {
          "type": "string",
          "maxLength": 40
        },
        "city": {
          "type": "string",
          "maxLength": 30
        },
        "province": {
          "type": "string",
          "maxLength": 4
        },
        "postalCode": {
          "type": "string",
          "maxLength": 10
        },
        "country": {
          "type": "string",
          "maxLength": 2
        },
        "zone": {
          "type": "string",
          "maxLength": 10
        },
        "zoneDescription": {
          "type": "string",
          "maxLength": 30
        },
        "contact": {
          "type": "string",
          "maxLength": 40
        },
        "phone": {
          "type": "string",
          "maxLength": 20
        },
        "phoneExt": {
          "type": "string",
          "maxLength": 5
        },
        "phoneNumber": {
          "type": "string",
          "maxLength": 27
        },
        "cell": {
          "type": "string",
          "maxLength": 20
        },
        "email": {
          "type": "string",
          "maxLength": 128,
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "format": "email"
            }
          ]
        },
        "fax": {
          "type": "string",
          "maxLength": 20
        },
        "unit": {
          "type": "string",
          "maxLength": 10
        }
      }
    },
    "orderChecklist": {
      "type": "object",
      "properties": {
        "orderId": {
          "type": "integer"
        },
        "description": {
          "type": "string",
          "maxLength": 255
        },
        "comment": {
          "type": "string",
          "maxLength": 100
        },
        "id": {
          "type": [
            "integer",
            "null"
          ]
        },
        "isComplete": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "updatedBy": {
          "type": "string",
          "maxLength": 128
        },
        "updatedWhen": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "assignedTo": {
          "type": "string",
          "maxLength": 128
        },
        "assignedDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "isRequired": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "isRequiredAvail": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "addedBy": {
          "type": "string",
          "maxLength": 128
        },
        "addedWhen": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "completedBy": {
          "type": "string",
          "maxLength": 128
        },
        "completedWhen": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        }
      }
    },
    "orderSlmDates": {
      "type": "object",
      "properties": {
        "orderId": {
          "type": "integer"
        },
        "slmMatrixId": {
          "type": [
            "integer",
            "null"
          ]
        },
        "slmServicePickup": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "slmServiceDelivery": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        }
      }
    },
    "osd": {
      "type": "object",
      "properties": {
        "osdId": {
          "type": "integer"
        },
        "orderId": {
          "type": "integer"
        },
        "txType": {
          "type": "string",
          "maxLength": 10
        },
        "reportedDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "reportedBy": {
          "type": "string",
          "maxLength": 40
        },
        "createdBy": {
          "type": "string",
          "maxLength": 128
        },
        "createdWhen": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "description": {
          "type": "string",
          "maxLength": 40
        },
        "osdDept": {
          "type": "string",
          "maxLength": 10
        },
        "osdDriver": {
          "type": "string",
          "maxLength": 10
        },
        "osdDriverExternal": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "osdInterliner": {
          "type": "string",
          "maxLength": 10
        },
        "osdInterlinerExternal": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "currentStatus": {
          "type": "string",
          "maxLength": 10
        },
        "osdTerminal": {
          "type": "string",
          "maxLength": 10
        },
        "osdDetails": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/osdTldtl"
          }
        }
      }
    },
    "osdTldtl": {
      "type": "object",
      "properties": {
        "osdTldtlId": {
          "type": "integer"
        },
        "osdId": {
          "type": "integer"
        },
        "quantity": {
          "type": [
            "number",
            "null"
          ]
        },
        "quantityUnits": {
          "type": "string",
          "maxLength": 3
        },
        "osdType": {
          "type": "string",
          "maxLength": 10
        },
        "orderDetailId": {
          "type": "integer"
        }
      }
    },
    "otherContact": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": "string",
          "maxLength": 10
        },
        "name": {
          "type": "string",
          "maxLength": 40
        },
        "address": {
          "type": "string",
          "maxLength": 81
        },
        "address1": {
          "type": "string",
          "maxLength": 40
        },
        "address2": {
          "type": "string",
          "maxLength": 40
        },
        "city": {
          "type": "string",
          "maxLength": 30
        },
        "province": {
          "type": "string",
          "maxLength": 4
        },
        "postalCode": {
          "type": "string",
          "maxLength": 10
        },
        "contact": {
          "type": "string",
          "maxLength": 40
        },
        "phone": {
          "type": "string",
          "maxLength": 20
        },
        "phoneNumber": {
          "type": "string",
          "maxLength": 27
        },
        "phoneExt": {
          "type": "string",
          "maxLength": 5
        },
        "country": {
          "type": "string",
          "maxLength": 2
        },
        "email": {
          "type": "string",
          "maxLength": 128,
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "format": "email"
            }
          ]
        },
        "fax": {
          "type": "string",
          "maxLength": 20
        },
        "cell": {
          "type": "string",
          "maxLength": 20
        },
        "unit": {
          "type": "string",
          "maxLength": 10
        }
      }
    },
    "pickupAt": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": "string",
          "maxLength": 10
        },
        "name": {
          "type": "string",
          "maxLength": 40
        },
        "address": {
          "type": "string",
          "maxLength": 81
        },
        "address1": {
          "type": "string",
          "maxLength": 40
        },
        "address2": {
          "type": "string",
          "maxLength": 40
        },
        "city": {
          "type": "string",
          "maxLength": 30
        },
        "province": {
          "type": "string",
          "maxLength": 4
        },
        "postalCode": {
          "type": "string",
          "maxLength": 10
        },
        "zone": {
          "type": "string",
          "maxLength": 10
        },
        "zoneDescription": {
          "type": "string",
          "maxLength": 30
        },
        "contact": {
          "type": "string",
          "maxLength": 40
        },
        "phone": {
          "type": "string",
          "maxLength": 20
        },
        "phoneNumber": {
          "type": "string",
          "maxLength": 27
        },
        "phoneExt": {
          "type": "string",
          "maxLength": 5
        },
        "cell": {
          "type": "string",
          "maxLength": 20
        },
        "email": {
          "type": "string",
          "maxLength": 128,
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "format": "email"
            }
          ]
        },
        "fax": {
          "type": "string",
          "maxLength": 20
        },
        "country": {
          "type": "string",
          "maxLength": 2
        },
        "unit": {
          "type": "string",
          "maxLength": 10
        }
      }
    },
    "pickupLocation": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 40
        },
        "address1": {
          "type": "string",
          "maxLength": 40
        },
        "address2": {
          "type": "string",
          "maxLength": 40
        },
        "city": {
          "type": "string",
          "maxLength": 30
        },
        "startDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "endDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "province": {
          "type": "string",
          "maxLength": 4
        },
        "postalCode": {
          "type": "string",
          "maxLength": 10
        },
        "zoneDescription": {
          "type": "string",
          "maxLength": 30
        },
        "country": {
          "type": "string",
          "maxLength": 2
        },
        "phone": {
          "type": "string",
          "maxLength": 30
        },
        "phoneExt": {
          "type": "string",
          "maxLength": 5
        },
        "cell": {
          "type": "string",
          "maxLength": 20
        },
        "contact": {
          "type": "string",
          "maxLength": 40
        },
        "email": {
          "type": "string",
          "maxLength": 128,
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "format": "email"
            }
          ]
        }
      }
    },
    "pod": {
      "type": "object",
      "properties": {
        "podId": {
          "type": "integer"
        },
        "orderId": {
          "type": "integer"
        },
        "txType": {
          "type": "string",
          "enum": [
            "Pick",
            "LineHaul",
            "Drop",
            ""
          ]
        },
        "description": {
          "type": "string",
          "maxLength": 40
        },
        "driverCounted": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "receiverSigned": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "signedClean": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "copyReceived": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "traceNo": {
          "type": "string",
          "maxLength": 40
        },
        "signedBy": {
          "type": "string",
          "maxLength": 40
        },
        "signedOn": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "createdWhen": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "createdBy": {
          "type": "string",
          "maxLength": 128
        },
        "modifiedWhen": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "modifiedBy": {
          "type": "string",
          "maxLength": 128
        },
        "driver": {
          "type": "string",
          "maxLength": 10
        },
        "driverExternal": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "interliner": {
          "type": "string",
          "maxLength": 10
        },
        "interlinerExternal": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "childSplitId": {
          "type": "integer"
        },
        "childBillNumber": {
          "type": "string",
          "maxLength": 20
        },
        "signature": {
          "$ref": "#/$defs/signature"
        }
      }
    },
    "quoteStatus": {
      "type": "object",
      "properties": {
        "quoteId": {
          "type": "integer"
        },
        "effectiveDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "expiryDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "numberOfUses": {
          "type": [
            "integer",
            "null"
          ]
        },
        "timesUsed": {
          "type": [
            "integer",
            "null"
          ]
        },
        "description": {
          "type": "string",
          "maxLength": 131072
        },
        "createOnSunday": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "numberToCreateSunday": {
          "type": [
            "integer",
            "null"
          ]
        },
        "createOnMonday": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "numberToCreateMonday": {
          "type": [
            "integer",
            "null"
          ]
        },
        "createOnTuesday": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "numberToCreateTuesday": {
          "type": [
            "integer",
            "null"
          ]
        },
        "createOnWednesday": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "numberToCreateWednesday": {
          "type": [
            "integer",
            "null"
          ]
        },
        "createOnThursday": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "numberToCreateThursday": {
          "type": [
            "integer",
            "null"
          ]
        },
        "createOnFriday": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "numberToCreateFriday": {
          "type": [
            "integer",
            "null"
          ]
        },
        "createOnSaturday": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "numberToCreateSaturday": {
          "type": [
            "integer",
            "null"
          ]
        },
        "defaultSiteId": {
          "type": "string",
          "maxLength": 10
        },
        "ltlDaily": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "ltlTerminal": {
          "type": [
            "integer",
            "null"
          ]
        },
        "scheduleId": {
          "type": "integer"
        },
        "batchProcess": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "user1": {
          "type": "string",
          "maxLength": 40
        },
        "user2": {
          "type": "string",
          "maxLength": 40
        },
        "poolId": {
          "type": "integer"
        }
      }
    },
    "ratesheetcurrencyrates": {
      "type": "object",
      "properties": {
        "rate": {
          "type": [
            "number",
            "null"
          ]
        },
        "asRate": {
          "type": [
            "number",
            "null"
          ]
        },
        "discountRate": {
          "type": [
            "number",
            "null"
          ]
        },
        "discountAmount": {
          "type": [
            "number",
            "null"
          ]
        },
        "subCost": {
          "type": [
            "number",
            "null"
          ]
        },
        "cost": {
          "type": [
            "number",
            "null"
          ]
        },
        "currency": {
          "type": "string",
          "maxLength": 3
        },
        "foreignExchangeRate": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    },
    "shipInstruct": {
      "type": "object",
      "properties": {
        "instructionId": {
          "type": "integer"
        },
        "instruction": {
          "type": "string",
          "maxLength": 200
        },
        "appliesTo": {
          "type": "string",
          "maxLength": 1
        },
        "description": {
          "type": "string",
          "maxLength": 1000
        },
        "shortDesc": {
          "type": "string",
          "maxLength": 40
        },
        "orderId": {
          "type": "integer"
        },
        "autoAssigned": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "active": {
          "type": "string",
          "enum": [
            "False",
            "True",
            "NoChg",
            ""
          ]
        },
        "clientId": {
          "type": "string",
          "maxLength": 10
        },
        "clientSpecific": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "modifiedBy": {
          "type": "string",
          "maxLength": 128
        },
        "modifiedDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "primId": {
          "type": "integer"
        }
      }
    },
    "shipper": {
      "type": "object",
      "properties": {
        "clientId": {
          "type": "string",
          "maxLength": 10
        },
        "name": {
          "type": "string",
          "maxLength": 40
        },
        "address": {
          "type": "string",
          "maxLength": 81
        },
        "address1": {
          "type": "string",
          "maxLength": 40
        },
        "address2": {
          "type": "string",
          "maxLength": 40
        },
        "city": {
          "type": "string",
          "maxLength": 30
        },
        "province": {
          "type": "string",
          "maxLength": 4
        },
        "postalCode": {
          "type": "string",
          "maxLength": 10
        },
        "zone": {
          "type": "string",
          "maxLength": 10
        },
        "zoneDescription": {
          "type": "string",
          "maxLength": 30
        },
        "contact": {
          "type": "string",
          "maxLength": 40
        },
        "phone": {
          "type": "string",
          "maxLength": 20
        },
        "phoneNumber": {
          "type": "string",
          "maxLength": 27
        },
        "phoneExt": {
          "type": "string",
          "maxLength": 5
        },
        "cell": {
          "type": "string",
          "maxLength": 20
        },
        "country": {
          "type": "string",
          "maxLength": 2
        },
        "email": {
          "type": "string",
          "maxLength": 128,
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "format": "email"
            }
          ]
        },
        "fax": {
          "type": "string",
          "maxLength": 20
        },
        "unit": {
          "type": "string",
          "maxLength": 10
        }
      }
    },
    "signature": {
      "type": "object",
      "properties": {
        "signatureId": {
          "type": "integer"
        },
        "signeeName": {
          "type": "string",
          "maxLength": 128
        },
        "signedTime": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "imageWidth": {
          "type": [
            "integer",
            "null"
          ]
        },
        "imageHeight": {
          "type": [
            "integer",
            "null"
          ]
        },
        "createdTime": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "createdBy": {
          "type": "string",
          "maxLength": 128
        },
        "imageType": {
          "type": "string",
          "maxLength": 3
        },
        "mobileNetworkGuid": {
          "type": "string",
          "maxLength": 38
        },
        "vendorSignatureId": {
          "type": "string",
          "maxLength": 50
        },
        "imageData": {
          "type": "string",
          "maxLength": 131072
        }
      }
    },
    "statusHistory": {
      "type": "object",
      "properties": {
        "orderId": {
          "type": "integer"
        },
        "changed": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "statusCode": {
          "type": "string",
          "maxLength": 10
        },
        "statusDescription": {
          "type": "string",
          "maxLength": 30
        },
        "statComment": {
          "type": "string",
          "maxLength": 80
        },
        "reason": {
          "type": "string",
          "maxLength": 10
        },
        "reasonDescription": {
          "type": "string",
          "maxLength": 20
        },
        "updatedBy": {
          "type": "string",
          "maxLength": 128
        },
        "tripNumber": {
          "type": [
            "integer",
            "null"
          ]
        },
        "legId": {
          "type": [
            "integer",
            "null"
          ]
        },
        "zoneId": {
          "type": "string",
          "maxLength": 10
        },
        "insDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "user1": {
          "type": "string",
          "maxLength": 40
        },
        "user2": {
          "type": "string",
          "maxLength": 40
        },
        "user3": {
          "type": "string",
          "maxLength": 40
        },
        "locDate": {
          "type": [
            "string",
            "null"
          ],
          "deprecated": true,
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "locType": {
          "type": "string",
          "maxLength": 1,
          "deprecated": true
        },
        "location": {
          "type": "string",
          "maxLength": 10,
          "deprecated": true
        },
        "locStatus": {
          "type": "string",
          "maxLength": 10,
          "deprecated": true
        },
        "locTermId": {
          "type": [
            "integer",
            "null"
          ],
          "deprecated": true
        },
        "locDoorNo": {
          "type": [
            "integer",
            "null"
          ],
          "deprecated": true
        },
        "locComment": {
          "type": "string",
          "maxLength": 80,
          "deprecated": true
        }
      }
    },
    "terminalPlan": {
      "type": "object",
      "properties": {
        "terminalPlanId": {
          "type": "integer"
        },
        "orderId": {
          "type": "integer"
        },
        "loadPlanId": {
          "type": [
            "integer",
            "null"
          ]
        },
        "loadPlanOption": {
          "type": [
            "integer",
            "null"
          ]
        },
        "sequence": {
          "type": [
            "integer",
            "null"
          ]
        },
        "tripNumber": {
          "type": "integer"
        },
        "tripStatus": {
          "type": "string",
          "maxLength": 10
        },
        "routeId": {
          "type": "string",
          "maxLength": 10
        },
        "terminalZone": {
          "type": "string",
          "maxLength": 10
        },
        "nextZone": {
          "type": "string",
          "maxLength": 10
        },
        "type": {
          "type": "string",
          "maxLength": 3
        },
        "typeDescription": {
          "type": "string",
          "maxLength": 40
        },
        "clientId": {
          "type": "string",
          "maxLength": 10
        },
        "departureDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "arrivalDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "terminalMode": {
          "type": "string",
          "maxLength": 10
        },
        "travelMode": {
          "type": "string",
          "maxLength": 10
        },
        "availableDate": {
          "type": [
            "string",
            "null"
          ],
          "oneOf": [
            {
              "enum": [
                ""
              ]
            },
            {
              "pattern": "^\\d{4}-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12]\\d)((T| )([01]\\d|2[0-3]):([0-5]\\d):([0-5]\\d))?$"
            }
          ]
        },
        "outboundDoor": {
          "type": "string",
          "maxLength": 10
        },
        "inboundDoor": {
          "type": "string",
          "maxLength": 10
        },
        "manualTransfer": {
          "type": "string",
          "enum": [
            "False",
            "True",
            ""
          ]
        },
        "serviceType": {
          "type": "string",
          "maxLength": 10
        },
        "serviceClass": {
          "type": "string",
          "maxLength": 10
        },
        "intermediateJunction": {
          "type": "string",
          "maxLength": 10
        }
      }
    },
    "traceNumber": {
      "type": "object",
      "properties": {
        "orderId": {
          "type": "integer"
        },
        "traceId": {
          "type": "integer"
        },
        "traceType": {
          "type": "string",
          "maxLength": 1
        },
        "traceNumber": {
          "type": "string",
          "maxLength": 40
        },
        "description": {
          "type": "string",
          "maxLength": 40
        },
        "refQualifier": {
          "type": "string",
          "maxLength": 3
        },
        "user1": {
          "type": "string",
          "maxLength": 40
        },
        "user2": {
          "type": "string",
          "maxLength": 40
        },
        "user3": {
          "type": "string",
          "maxLength": 40
        },
        "user4": {
          "type": "string",
          "maxLength": 40
        },
        "user5": {
          "type": "string",
          "maxLength": 40
        },
        "user6": {
          "type": "string",
          "maxLength": 40
        },
        "user7": {
          "type": "string",
          "maxLength": 40
        },
        "user8": {
          "type": "string",
          "maxLength": 40
        },
        "user9": {
          "type": "string",
          "maxLength": 40
        },
        "user10": {
          "type": "string",
          "maxLength": 40
        }
      }
    },
    "xStop": {
      "type": "object",
      "properties": {
        "xStopId": {
          "type": "integer"
        },
        "parentOrderId": {
          "type": "integer"
        },
        "orderId": {
          "type": "integer"
        },
        "stopNumber": {
          "type": [
            "integer",
            "null"
          ]
        },
        "stopType": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "delivery",
            "empty",
            "pickup",
            ""
          ]
        },
        "stopClientId": {
          "type": "string",
          "maxLength": 10
        },
        "stopClientName": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 40
        },
        "address1": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 40
        },
        "address2": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 40
        },
        "city": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 30
        },
        "province": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 4
        },
        "postalCode": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 10
        },
        "country": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 2
        },
        "stopZone": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 10
        }
      }
    },
    "xrefCode": {
      "type": "object",
      "properties": {
        "shipperQualifier": {
          "type": "string",
          "maxLength": 2
        },
        "shipperId": {
          "type": "string",
          "maxLength": 30
        },
        "consigneeQualifier": {
          "type": "string",
          "maxLength": 2
        },
        "consigneeId": {
          "type": "string",
          "maxLength": 30
        },
        "pickupAtQualifier": {
          "type": "string",
          "maxLength": 2
        },
        "pickupAtId": {
          "type": "string",
          "maxLength": 30
        },
        "careOfQualifier": {
          "type": "string",
          "maxLength": 2
        },
        "careOfId": {
          "type": "string",
          "maxLength": 30
        },
        "otherContactQualifier": {
          "type": "string",
          "maxLength": 2
        },
        "otherContactId": {
          "type": "string",
          "maxLength": 30
        },
        "serviceLevel": {
          "type": "string",
          "maxLength": 100
        },
        "shipInstructs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/xrefShipInstruct"
          }
        }
      }
    },
    "xrefShipInstruct": {
      "type": "object",
      "properties": {
        "instruction": {
          "type": "string",
          "maxLength": 100
        }
      }
    }
  }
}