{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-ref-trailer-put-request-schema.json",
  "title": "RefTrailerPutRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-truckmate-masterdata-openapi.yml#/components/schemas/RefTrailerPutRequest",
  "type": "object",
  "properties": {
    "trailerId": {
      "type": "string",
      "maxLength": 10
    },
    "make": {
      "type": "string",
      "maxLength": 10
    },
    "model": {
      "type": "string",
      "maxLength": 30
    },
    "year": {
      "type": "integer",
      "minimum": 1926,
      "maximum": 2126
    },
    "trailerClass": {
      "type": "string",
      "maxLength": 10
    },
    "vinNumber": {
      "type": "string",
      "maxLength": 30
    },
    "plate": {
      "type": "string",
      "maxLength": 20
    },
    "serialNumber": {
      "type": "string",
      "maxLength": 30
    },
    "sizeCode": {
      "type": "string",
      "maxLength": 10
    },
    "trailerType": {
      "type": "string",
      "enum": [
        "tank",
        "flatbed",
        "trailer",
        "chassis"
      ]
    },
    "status": {
      "type": "string",
      "maxLength": 10
    },
    "description": {
      "type": "string",
      "maxLength": 131072
    },
    "tireSize": {
      "type": "string",
      "maxLength": 40
    },
    "axles": {
      "type": "integer"
    },
    "doorType": {
      "type": "string",
      "maxLength": 20
    },
    "pintleHook": {
      "type": "string",
      "enum": [
        "False",
        "True"
      ]
    },
    "tailgate": {
      "type": "string",
      "enum": [
        "False",
        "True"
      ]
    },
    "sealRequired": {
      "type": "string",
      "enum": [
        "False",
        "True"
      ]
    },
    "sDimension": {
      "type": "number"
    },
    "sDimensionUnit": {
      "type": "string",
      "maxLength": 3
    },
    "rearOverhangLength": {
      "type": "number"
    },
    "rearOverhangLengthUnit": {
      "type": "string",
      "maxLength": 3
    },
    "turntablePosition": {
      "type": "number"
    },
    "turntablePositionUnit": {
      "type": "string",
      "maxLength": 3
    },
    "axleGroupSpacing": {
      "type": "string",
      "maxLength": 10
    },
    "chassisPool": {
      "type": "string",
      "maxLength": 10
    },
    "matchAdviceResourceType": {
      "type": "string",
      "maxLength": 4
    },
    "operationalGroup": {
      "type": "string",
      "maxLength": 20
    },
    "insuranceExpiry": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "maximumWeight": {
      "type": "number"
    },
    "maximumWeightUnits": {
      "type": "string",
      "maxLength": 3
    },
    "maximumLength": {
      "type": "number"
    },
    "maximumLengthUnits": {
      "type": "string",
      "maxLength": 3
    },
    "maxCube": {
      "type": "number"
    },
    "maxCubeUnits": {
      "type": "string",
      "maxLength": 3
    },
    "tareWeight": {
      "type": "number"
    },
    "tareWeightUnit": {
      "type": "string",
      "maxLength": 3
    },
    "cargoWeight": {
      "type": "number"
    },
    "cargoWeightUnits": {
      "type": "string",
      "maxLength": 3
    },
    "emptyWeight": {
      "type": "number"
    },
    "emptyWeightUnit": {
      "type": "string",
      "maxLength": 3
    },
    "maxPallets": {
      "type": "integer"
    },
    "kingpinTareWeight": {
      "type": "number"
    },
    "kingpinTareWeightUnit": {
      "type": "string",
      "maxLength": 3
    },
    "axleGroupTareWeight": {
      "type": "number"
    },
    "axleGroupTareWeightUnit": {
      "type": "string",
      "maxLength": 3
    },
    "fuelTankCapacity": {
      "type": "integer"
    },
    "fuelTankCapacityUnit": {
      "type": "string",
      "maxLength": 3
    },
    "license1": {
      "type": "string",
      "maxLength": 17
    },
    "license1StateProvince": {
      "type": "string",
      "maxLength": 3
    },
    "license1Country": {
      "type": "string",
      "maxLength": 2
    },
    "license1Expiry": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "license2": {
      "type": "string",
      "maxLength": 17
    },
    "license2StateProvince": {
      "type": "string",
      "maxLength": 3
    },
    "license2Country": {
      "type": "string",
      "maxLength": 2
    },
    "license2Expiry": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "license3": {
      "type": "string",
      "maxLength": 17
    },
    "license3StateProvince": {
      "type": "string",
      "maxLength": 3
    },
    "license3Country": {
      "type": "string",
      "maxLength": 2
    },
    "license3Expiry": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "license4": {
      "type": "string",
      "maxLength": 17
    },
    "license4StateProvince": {
      "type": "string",
      "maxLength": 3
    },
    "license4Country": {
      "type": "string",
      "maxLength": 2
    },
    "license4Expiry": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "unitTypeCode": {
      "type": "string",
      "maxLength": 2
    },
    "aceId": {
      "type": "string",
      "maxLength": 50
    },
    "carbNumber": {
      "type": "string",
      "maxLength": 40
    },
    "permits": {
      "type": "string",
      "maxLength": 131072
    },
    "zone": {
      "type": "string",
      "maxLength": 10
    },
    "currentLocation": {
      "type": "string",
      "maxLength": 40
    },
    "currentTrip": {
      "type": "integer"
    },
    "lastTrip": {
      "type": "integer"
    },
    "nextTrip": {
      "type": "integer"
    },
    "activeInDispatch": {
      "type": "string",
      "enum": [
        "False",
        "True"
      ]
    },
    "finalDestination": {
      "type": "string",
      "maxLength": 10
    },
    "currentLocClient": {
      "type": "string",
      "maxLength": 10
    },
    "currentLocationNote": {
      "type": "string",
      "maxLength": 80
    },
    "terminalZone": {
      "type": "string",
      "maxLength": 10
    },
    "lastLocDate": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "etaZone": {
      "type": "string",
      "maxLength": 10
    },
    "etaDate": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "etaOverridden": {
      "type": "string",
      "enum": [
        "False",
        "True"
      ]
    },
    "ptaOverridden": {
      "type": "string",
      "enum": [
        "False",
        "True"
      ]
    },
    "assignedDriver": {
      "type": "string",
      "maxLength": 10
    },
    "payDriver": {
      "type": "string",
      "maxLength": 10
    },
    "sealNumber": {
      "type": "string",
      "maxLength": 40
    },
    "inOutGateStatus": {
      "type": "string",
      "enum": [
        "inGated",
        "outGated"
      ]
    },
    "lastContainer": {
      "type": "string",
      "maxLength": 10
    },
    "doorId": {
      "type": "integer"
    },
    "trapId": {
      "type": "string",
      "maxLength": 12
    },
    "perMileCharge": {
      "type": "number"
    },
    "perHourCharge": {
      "type": "number"
    },
    "flatCharge": {
      "type": "number"
    },
    "costing": {
      "type": "string",
      "maxLength": 1
    },
    "dailyCosts": {
      "type": "number"
    },
    "mileageCosts": {
      "type": "number"
    },
    "maintenanceCosts": {
      "type": "number"
    },
    "ownershipType": {
      "type": "string",
      "maxLength": 1
    },
    "owner": {
      "type": "string",
      "maxLength": 10
    },
    "ownerClient": {
      "type": "string",
      "maxLength": 10
    },
    "acquisitionDate": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "doNotOwn": {
      "type": "string",
      "enum": [
        "False",
        "True"
      ]
    },
    "purchasePrice": {
      "type": "number"
    },
    "leaseTerm": {
      "type": "integer"
    },
    "residualValue": {
      "type": "number"
    },
    "estimatedSellValue": {
      "type": "number"
    },
    "marketValue": {
      "type": "number"
    },
    "leaseCompany": {
      "type": "string",
      "maxLength": 60
    },
    "leasePayment": {
      "type": "number"
    },
    "netBookValue": {
      "type": "number"
    },
    "costCenter": {
      "type": "string",
      "maxLength": 50
    },
    "fuelCardDivision": {
      "type": "string",
      "maxLength": 3
    },
    "fuelCardAccountId": {
      "type": "string",
      "maxLength": 20
    },
    "currentAge": {
      "type": "integer"
    },
    "specificAge": {
      "type": "integer"
    },
    "lastMaintenance": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "nextMaintenance": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "maintenanceNotes": {
      "type": "string",
      "maxLength": 131072
    },
    "dateInService": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "dateOutService": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "hubometer": {
      "type": "integer"
    },
    "lastHubometerReading": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "warrantyDate": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "warrantyDistance": {
      "type": "number"
    },
    "warrantyDistanceUnit": {
      "type": "string",
      "maxLength": 3
    },
    "warrantyTime": {
      "type": "number"
    },
    "warrantyTimeUnit": {
      "type": "string",
      "maxLength": 3
    },
    "tmtType": {
      "type": "string",
      "maxLength": 12
    },
    "tmtStatus": {
      "type": "string",
      "maxLength": 12
    },
    "tmtActivyCode": {
      "type": "string",
      "maxLength": 12
    },
    "tmtVendor": {
      "type": "string",
      "maxLength": 12
    },
    "tmtDivision": {
      "type": "string",
      "maxLength": 12
    },
    "tmtDepartment": {
      "type": "string",
      "maxLength": 12
    },
    "tmtDomicile": {
      "type": "string",
      "maxLength": 12
    },
    "tmtCostCode": {
      "type": "string",
      "maxLength": 12
    },
    "tmtWarrantyInService": {
      "type": "string",
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
    },
    "tkCustomer": {
      "type": "string",
      "maxLength": 10
    },
    "tkDedicated": {
      "type": "string",
      "enum": [
        "False",
        "True"
      ]
    },
    "tkDedicatedCommodity": {
      "type": "string",
      "maxLength": 10
    },
    "tkCompartments": {
      "type": "integer"
    },
    "tkInsulated": {
      "type": "string",
      "enum": [
        "False",
        "True"
      ]
    },
    "tkTerminal": {
      "type": "string",
      "maxLength": 10
    },
    "tkFleetManager": {
      "type": "string",
      "maxLength": 10
    },
    "tkPump": {
      "type": "string",
      "enum": [
        "False",
        "True"
      ]
    },
    "tkCapacity": {
      "type": "integer"
    },
    "tkCapacityUnit": {
      "type": "string",
      "maxLength": 3
    }
  }
}