{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rockwell-automation/json-schema/rockwell-automation-update-truck-dto-schema.json",
  "title": "UpdateTruckDto",
  "description": "The update truck DTO.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rockwell-automation-customer-trucks-api-api-openapi.yml#/components/schemas/UpdateTruckDto",
  "type": "object",
  "properties": {
    "freightTerms": {
      "type": "string",
      "description": "Terms of the freight payment; for example, COD, Collect, or Prepaid."
    },
    "trackingNumber": {
      "type": "string",
      "description": "The tracking number, often provided by a carrier, related to a specific shipment."
    },
    "trailerNumber": {
      "type": "string",
      "description": "The trailer number associated with the physical trailer that a specific shipment was shipped on."
    },
    "note": {
      "type": "string",
      "description": "A note assigned to the truck."
    },
    "truckCalled": {
      "type": "boolean",
      "description": "Indicates if the carrier has been contacted."
    },
    "truckArrivalTimeOfDay": {
      "type": "string",
      "format": "time",
      "description": "The arrival time of the truck (arrival time can be planned or actual, depending on implementation)."
    },
    "bolNumber": {
      "type": "string",
      "description": "The bill of lading number."
    },
    "bolNote": {
      "type": "string",
      "description": "A note on the bill of lading."
    },
    "pool": {
      "type": "boolean",
      "description": "Indicates that the truck is part of a pool shipment. A pool is a central warehouse that redistributes shippers from one truck to another before shipping to customer locations."
    },
    "carrierId": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the carrier associated with the truck. (A carrier is a supplier with a supplier type of &quot;Carrier&quot;.)"
    },
    "trailerCarrierId": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the supplier with a &quot;Carrier&quot; type used as the trailer carrier."
    },
    "brokeredCarrierId": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the supplier with a &quot;Carrier&quot; type used as the brokered carrier."
    },
    "truckCalledDate": {
      "type": "string",
      "description": "The date the carrier was called regarding the shipment or truck. Use format YYYY-MM-DD."
    },
    "truckConfirmation": {
      "type": "string",
      "description": "The confirmation from the carrier regarding the shipment or truck."
    },
    "truckContact": {
      "type": "string",
      "description": "A contact person, typically at the carrier, regarding the shipment or truck."
    },
    "scheduledShipDate": {
      "type": "string",
      "description": "The date on which the truck is scheduled to ship. Use format YYYY-MM-DD."
    },
    "milkRunDescription": {
      "type": "string",
      "description": "The name of a route with multiple stops that happens on a recurring basis."
    },
    "truckType": {
      "type": "string",
      "description": "The truck type."
    },
    "truckStatus": {
      "type": "string",
      "description": "The truck status."
    },
    "transMode": {
      "type": "string",
      "description": "The transportation mode associated with the truck."
    },
    "dropshipSupplierId": {
      "type": "string",
      "format": "uuid",
      "description": "The dropship supplier resource ID associated with the truck."
    },
    "incoTerms": {
      "type": "string",
      "description": "International Commercial (INCO) terms applied to the sales order."
    },
    "customsBrokerSupplierId": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the supplier with a &quot;Customs Broker&quot; type."
    },
    "subBuildingCode": {
      "type": "string",
      "description": "The sub-building code indicating the location in the building where the truck will be loaded."
    },
    "truckRoute": {
      "type": "string",
      "description": "The route for the truck."
    },
    "estimatedArrivalDate": {
      "type": "string",
      "format": "date-time",
      "description": "The estimated arrival date of the truck."
    },
    "truckFreightAmount": {
      "type": "number",
      "format": "double",
      "description": "The amount of the truck freight charge."
    }
  },
  "required": [
    "freightTerms",
    "truckType",
    "truckStatus"
  ]
}