{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-power-unit-schema.json",
  "title": "powerUnit",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-truckmate-masterdata-openapi.yml#/components/schemas/powerUnit",
  "type": "object",
  "properties": {
    "powerUnitId": {
      "type": "string",
      "maxLength": 10
    },
    "make": {
      "type": "string",
      "maxLength": 20
    },
    "model": {
      "type": "string",
      "maxLength": 30
    },
    "year": {
      "type": [
        "integer",
        "null"
      ]
    },
    "class": {
      "type": "string",
      "maxLength": 10
    },
    "vinNumber": {
      "type": "string",
      "maxLength": 30
    },
    "serialNumber": {
      "type": "string",
      "maxLength": 30
    },
    "plateNumber": {
      "type": "string",
      "maxLength": 20
    },
    "straightTruck": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "unitType": {
      "type": "string",
      "maxLength": 2
    },
    "tireSize": {
      "type": "string",
      "maxLength": 40
    },
    "transmission": {
      "type": "string",
      "maxLength": 10
    },
    "engine": {
      "type": "string",
      "maxLength": 10
    },
    "axles": {
      "type": [
        "integer",
        "null"
      ]
    },
    "axleGroupSpacing": {
      "type": [
        "number",
        "null"
      ]
    },
    "axleGroupSpacingUnit": {
      "type": "string",
      "maxLength": 3
    },
    "wheelbaseLength": {
      "type": [
        "number",
        "null"
      ]
    },
    "wheelbaseLengthUnit": {
      "type": "string",
      "maxLength": 3
    },
    "turntablePosition": {
      "type": [
        "number",
        "null"
      ]
    },
    "turntablePositionUnit": {
      "type": "string",
      "maxLength": 3
    },
    "frontOverhangLength": {
      "type": [
        "number",
        "null"
      ]
    },
    "frontOverhangLengthUnit": {
      "type": "string",
      "maxLength": 3
    },
    "tailgate": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "sealRequired": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "doorType": {
      "type": "string",
      "maxLength": 20
    },
    "operationalGroup": {
      "type": "string",
      "maxLength": 20
    },
    "description": {
      "type": "string"
    },
    "createdBy": {
      "type": "string",
      "maxLength": 128
    },
    "createdDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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
    },
    "modifiedDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "assignedDriver": {
      "type": "string",
      "maxLength": 10
    },
    "defaultDriver1": {
      "type": "string",
      "maxLength": 10
    },
    "defaultDriver2": {
      "type": "string",
      "maxLength": 10
    },
    "lastDriver1": {
      "type": "string",
      "maxLength": 10
    },
    "lastDriver2": {
      "type": "string",
      "maxLength": 10
    },
    "defaultTrailer1": {
      "type": "string",
      "maxLength": 10
    },
    "defaultTrailer2": {
      "type": "string",
      "maxLength": 10
    },
    "lastTrailer1": {
      "type": "string",
      "maxLength": 10
    },
    "lastTrailer2": {
      "type": "string",
      "maxLength": 10
    },
    "lastTrailer3": {
      "type": "string",
      "maxLength": 10
    },
    "lastEquipment1": {
      "type": "string",
      "maxLength": 10
    },
    "lastEquipment2": {
      "type": "string",
      "maxLength": 10
    },
    "loadedWeight": {
      "type": [
        "integer",
        "null"
      ]
    },
    "maxWeight": {
      "type": [
        "integer",
        "null"
      ]
    },
    "maxWeightUnit": {
      "type": "string",
      "maxLength": 10
    },
    "emptyWeight": {
      "type": [
        "number",
        "null"
      ]
    },
    "emptyWeightUnit": {
      "type": "string",
      "maxLength": 10
    },
    "cargoWeight": {
      "type": [
        "number",
        "null"
      ]
    },
    "cargoWeightUnit": {
      "type": "string",
      "maxLength": 3
    },
    "steerTareWeight": {
      "type": [
        "number",
        "null"
      ]
    },
    "steerTareWeightUnit": {
      "type": "string",
      "maxLength": 3
    },
    "driveTareWeight": {
      "type": [
        "number",
        "null"
      ]
    },
    "driveTareWeightUnit": {
      "type": "string",
      "maxLength": 3
    },
    "maxPallets": {
      "type": [
        "integer",
        "null"
      ]
    },
    "tankCapacity": {
      "type": [
        "integer",
        "null"
      ]
    },
    "tankCapacityUnit": {
      "type": "string",
      "maxLength": 3
    },
    "maxCube": {
      "type": [
        "number",
        "null"
      ]
    },
    "maxCubeUnit": {
      "type": "string",
      "maxLength": 3
    },
    "maxLength": {
      "type": [
        "number",
        "null"
      ]
    },
    "maxLengthUnit": {
      "type": "string",
      "maxLength": 3
    },
    "currentZone": {
      "type": "string",
      "maxLength": 10
    },
    "currentZoneDescription": {
      "type": "string",
      "maxLength": 30
    },
    "currentLocation": {
      "type": "string",
      "maxLength": 40
    },
    "currentStatus": {
      "type": "string",
      "maxLength": 10
    },
    "currentTrip": {
      "type": [
        "integer",
        "null"
      ]
    },
    "lastTrip": {
      "type": [
        "integer",
        "null"
      ]
    },
    "nextTrip": {
      "type": [
        "integer",
        "null"
      ]
    },
    "isActiveInDisp": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "finalDestination": {
      "type": "string",
      "maxLength": 10
    },
    "finalDestinationDescription": {
      "type": "string",
      "maxLength": 30
    },
    "currentLocationClient": {
      "type": "string",
      "maxLength": 10
    },
    "currentLocationNote": {
      "type": "string",
      "maxLength": 80
    },
    "terminalZone": {
      "type": "string",
      "maxLength": 10
    },
    "lastLocationDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "etaZone": {
      "type": "string",
      "maxLength": 10
    },
    "etaZoneDescription": {
      "type": "string",
      "maxLength": 30
    },
    "etaDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "etaOverridden": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "ptaOverridden": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "payDriver": {
      "type": "string",
      "maxLength": 10
    },
    "sealNumber": {
      "type": "string",
      "maxLength": 40
    },
    "inOutGateStatus": {
      "type": "string",
      "enum": [
        "ingated",
        "outgated",
        ""
      ]
    },
    "doorId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "trapId": {
      "type": "string",
      "maxLength": 12
    },
    "perMileCharge": {
      "type": [
        "number",
        "null"
      ]
    },
    "perHourCharge": {
      "type": [
        "number",
        "null"
      ]
    },
    "flatCharge": {
      "type": [
        "number",
        "null"
      ]
    },
    "charge": {
      "type": "string",
      "enum": [
        "lesser",
        "greater",
        "both",
        ""
      ]
    },
    "dailyCosts": {
      "type": [
        "number",
        "null"
      ]
    },
    "perMileCosts": {
      "type": [
        "number",
        "null"
      ]
    },
    "dailyMaintenance": {
      "type": [
        "number",
        "null"
      ]
    },
    "ownershipType": {
      "type": "string",
      "enum": [
        "company",
        "ownerOperator",
        "rental",
        "interliner",
        "carrier",
        "lease",
        ""
      ]
    },
    "owner": {
      "type": "string",
      "maxLength": 10
    },
    "acquisitionDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "purchasePrice": {
      "type": [
        "number",
        "null"
      ]
    },
    "specificAge": {
      "type": [
        "integer",
        "null"
      ]
    },
    "currentAge": {
      "type": [
        "integer",
        "null"
      ]
    },
    "leaseTerm": {
      "type": [
        "integer",
        "null"
      ]
    },
    "residualValue": {
      "type": [
        "number",
        "null"
      ]
    },
    "estimatedSellValue": {
      "type": [
        "number",
        "null"
      ]
    },
    "marketValue": {
      "type": [
        "number",
        "null"
      ]
    },
    "leaseCompany": {
      "type": "string",
      "maxLength": 60
    },
    "leasePayment": {
      "type": [
        "number",
        "null"
      ]
    },
    "netBookValue": {
      "type": [
        "number",
        "null"
      ]
    },
    "costCenter": {
      "type": "string",
      "maxLength": 50
    },
    "fleetId": {
      "type": "string",
      "maxLength": 10
    },
    "fleetManager": {
      "type": "string",
      "maxLength": 128
    },
    "averageFuelCost": {
      "type": [
        "number",
        "null"
      ]
    },
    "fuelCostUnits": {
      "type": "string",
      "maxLength": 3
    },
    "unitFuelPrice1": {
      "type": [
        "number",
        "null"
      ]
    },
    "unitFuelPrice2": {
      "type": [
        "number",
        "null"
      ]
    },
    "reeferFuelPrice": {
      "type": [
        "number",
        "null"
      ]
    },
    "fuelCardDivision": {
      "type": "string",
      "maxLength": 3
    },
    "fuelCardAccountId": {
      "type": "string",
      "maxLength": 20
    },
    "fuelType": {
      "type": "string",
      "enum": [
        "diesel",
        "gasoline",
        "gasohol",
        "naturalGas",
        "propane",
        "electric",
        ""
      ]
    },
    "fuelTank1Level": {
      "type": [
        "number",
        "null"
      ]
    },
    "fuelTank1Units": {
      "type": "string",
      "maxLength": 3
    },
    "fuelTank2Level": {
      "type": [
        "number",
        "null"
      ]
    },
    "fuelTank2Units": {
      "type": "string",
      "maxLength": 3
    },
    "mpgBobtail": {
      "type": [
        "number",
        "null"
      ]
    },
    "mpgEmpty": {
      "type": [
        "number",
        "null"
      ]
    },
    "mpgLoaded": {
      "type": [
        "number",
        "null"
      ]
    },
    "mpgOptimize": {
      "type": [
        "number",
        "null"
      ]
    },
    "fuelTaxClient": {
      "type": "string",
      "maxLength": 10
    },
    "fuelTaxDivision": {
      "type": "string",
      "maxLength": 10
    },
    "fuelTaxTerminal": {
      "type": "string",
      "maxLength": 10
    },
    "licenseNumber": {
      "type": "string",
      "maxLength": 17
    },
    "licenseProvinceState": {
      "type": "string",
      "maxLength": 3
    },
    "licenseCountry": {
      "type": "string",
      "maxLength": 2
    },
    "expirationDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "dotNumber": {
      "type": "string",
      "maxLength": 8
    },
    "aceId": {
      "type": "string",
      "maxLength": 50
    },
    "aceIdQualifier": {
      "type": "string",
      "maxLength": 3
    },
    "transponder": {
      "type": "string",
      "maxLength": 50
    },
    "carbNumber": {
      "type": "string",
      "maxLength": 40
    },
    "lcvCertified": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "insuranceExpiry": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "lastMaintenance": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "nextMaintenance": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "maintenanceNotes": {
      "type": "string"
    },
    "dateInService": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "dateOutService": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "odometer": {
      "type": [
        "integer",
        "null"
      ]
    },
    "odometerReading": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "odometerUnit": {
      "type": "string",
      "maxLength": 3
    },
    "odometerResetDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "warrantyDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "warrantyDistance": {
      "type": [
        "number",
        "null"
      ]
    },
    "warrantyDistanceUnit": {
      "type": "string",
      "maxLength": 3
    },
    "warrantyTime": {
      "type": [
        "number",
        "null"
      ]
    },
    "warrantyTimeUnit": {
      "type": "string",
      "maxLength": 3
    },
    "rmShopCode": {
      "type": "string",
      "maxLength": 10
    },
    "rmCustomerCode": {
      "type": "string",
      "maxLength": 10
    },
    "rmAccountGroup": {
      "type": "string",
      "maxLength": 10
    },
    "tmtType": {
      "type": "string",
      "maxLength": 12
    },
    "tmtStatus": {
      "type": "string",
      "maxLength": 12
    },
    "tmtActiveCode": {
      "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",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "transactionId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "tripNumber": {
      "type": [
        "integer",
        "null"
      ]
    },
    "loadId": {
      "type": "string",
      "maxLength": 25
    },
    "billNumber": {
      "type": "string",
      "maxLength": 20
    },
    "tourNumber": {
      "type": [
        "integer",
        "null"
      ]
    },
    "ptaZip": {
      "type": "string",
      "maxLength": 10
    },
    "ptaTime": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "ptaState": {
      "type": "string",
      "maxLength": 2
    },
    "updated": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "driverHomeZone": {
      "type": "string",
      "maxLength": 10
    },
    "homeCode": {
      "type": "string",
      "maxLength": 15
    },
    "tripNumberText": {
      "type": "string",
      "maxLength": 50
    },
    "matchStatus": {
      "type": "string",
      "maxLength": 10
    },
    "drivingHoursLeft": {
      "type": [
        "number",
        "null"
      ]
    },
    "dutyHoursLeft": {
      "type": [
        "number",
        "null"
      ]
    },
    "weeklyDutyHoursLeft": {
      "type": [
        "number",
        "null"
      ]
    },
    "hoursOfServiceSource": {
      "type": "string",
      "maxLength": 20
    },
    "driverId": {
      "type": "string",
      "maxLength": 10
    },
    "lastSatelliteZone": {
      "type": "string",
      "maxLength": 10
    },
    "lastSatelliteDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "DateTime: yyyy-MM-ddThh:mm:ss",
      "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))?$"
        }
      ]
    },
    "lastSatelliteLocation": {
      "type": "string",
      "maxLength": 80
    },
    "positionLatitude": {
      "type": "string",
      "maxLength": 10
    },
    "positionLongitude": {
      "type": "string",
      "maxLength": 10
    },
    "ignition": {
      "type": "string",
      "maxLength": 10
    },
    "qhosDepotId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "addedToQhos": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "lastPollNetworkLocation": {
      "type": "string",
      "maxLength": 80
    },
    "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
    }
  }
}