{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rockwell-automation/json-schema/rockwell-automation-truck-dto-schema.json",
  "title": "TruckDto",
  "description": "The truck model exposed for adding records.",
  "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/TruckDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "A unique identifier for the truck. This will be automatically generated if omitted from the request."
    },
    "shipDate": {
      "type": "string",
      "format": "date-time",
      "description": "The ship date assigned to the truck."
    },
    "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."
    },
    "truckArrivalTime": {
      "type": "string",
      "format": "date-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;.)"
    },
    "poolCustomerAddressId": {
      "type": "string",
      "format": "uuid",
      "description": "The customer address ID of the pool location associated with the truck."
    },
    "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",
      "format": "date-time",
      "description": "The date the carrier was called regarding the shipment or truck."
    },
    "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."
    },
    "truckDriverId": {
      "type": "string",
      "format": "uuid",
      "description": "The Plex user ID of the truck driver associated with this Truck (Truck_Drive_Key)."
    },
    "shippedById": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the user who shipped the truck."
    },
    "scheduledShipDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date on which the truck is scheduled to ship."
    },
    "createdById": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the user who created the record."
    },
    "createdDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date on which the record was created."
    },
    "modifiedById": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the user who last modified the record."
    },
    "modifiedDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date on which the record was last modified."
    },
    "milkRun": {
      "type": "string",
      "description": "The name of a route with multiple stops that happens on a recurring basis."
    },
    "type": {
      "type": "string",
      "description": "The truck type."
    },
    "status": {
      "type": "string",
      "description": "The truck status."
    },
    "truckNumber": {
      "type": "string",
      "description": "A Plex-generated unique number representing the truck shipment."
    },
    "transMode": {
      "type": "string",
      "description": "The transportation mode associated with the truck."
    },
    "shipFromId": {
      "type": "string",
      "format": "uuid",
      "description": "The ID of the customer address from which the truck was shipped."
    },
    "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."
    },
    "subBuilding": {
      "type": "string",
      "description": "The sub-building code indicating the location in the building where the truck will be loaded."
    },
    "dropshipSupplierId": {
      "type": "string",
      "format": "uuid",
      "description": "The dropship supplier resource ID associated with the truck."
    },
    "dropshipSupplierCode": {
      "type": "string",
      "description": "The dropship supplier code associated with the truck."
    },
    "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."
    },
    "truckArrivalTimeOfDay": {
      "type": "string",
      "format": "time",
      "description": "The time at which the truck arrived."
    }
  }
}