{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-container-schema.json",
  "title": "container",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-truckmate-masterdata-openapi.yml#/components/schemas/container",
  "type": "object",
  "properties": {
    "containerId": {
      "type": "string",
      "maxLength": 10
    },
    "containerNumber": {
      "type": "string",
      "maxLength": 15
    },
    "containerDigit": {
      "type": "string",
      "maxLength": 2
    },
    "isoNumber": {
      "type": "string",
      "maxLength": 10
    },
    "sizeCode": {
      "type": "string",
      "maxLength": 10
    },
    "type": {
      "type": "string",
      "maxLength": 10
    },
    "year": {
      "type": [
        "integer",
        "null"
      ]
    },
    "location": {
      "type": "string",
      "maxLength": 40
    },
    "currentZone": {
      "type": "string",
      "maxLength": 10
    },
    "currentZoneDescription": {
      "type": "string",
      "maxLength": 30
    },
    "currentLocationClient": {
      "type": "string",
      "maxLength": 10
    },
    "currentLocationNote": {
      "type": "string",
      "maxLength": 80
    },
    "status": {
      "type": "string",
      "maxLength": 10
    },
    "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))?$"
        }
      ]
    },
    "currentTrip": {
      "type": [
        "integer",
        "null"
      ]
    },
    "trapId": {
      "type": "string",
      "maxLength": 12
    },
    "class": {
      "type": "string",
      "maxLength": 10
    },
    "lastTrip": {
      "type": [
        "integer",
        "null"
      ]
    },
    "nextTrip": {
      "type": [
        "integer",
        "null"
      ]
    },
    "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))?$"
        }
      ]
    },
    "maximumLength": {
      "type": [
        "number",
        "null"
      ]
    },
    "lengthUnit": {
      "type": "string",
      "maxLength": 3
    },
    "maximumCube": {
      "type": [
        "number",
        "null"
      ]
    },
    "maximumCubeUnit": {
      "type": "string",
      "maxLength": 3
    },
    "maximumWeight": {
      "type": [
        "number",
        "null"
      ]
    },
    "maximumWeightUnit": {
      "type": "string",
      "maxLength": 3
    },
    "maximumPallets": {
      "type": [
        "integer",
        "null"
      ]
    },
    "isActiveInDispatch": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "doorId": {
      "type": "integer"
    },
    "serialNumber": {
      "type": "string",
      "maxLength": 30
    },
    "cargoWeight": {
      "type": [
        "number",
        "null"
      ]
    },
    "cargoWeightUnit": {
      "type": "string",
      "maxLength": 3
    },
    "emptyWeight": {
      "type": [
        "number",
        "null"
      ]
    },
    "emptyWeightUnit": {
      "type": "string",
      "maxLength": 3
    },
    "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))?$"
        }
      ]
    },
    "isLoaded": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "sealNumber": {
      "type": "string",
      "maxLength": 40
    },
    "sealRequired": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "lastChassisId": {
      "type": "string",
      "maxLength": 10
    },
    "pairedChassisId": {
      "type": "string",
      "maxLength": 10
    },
    "interchangeDate": {
      "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))?$"
        }
      ]
    },
    "deliveryByDate": {
      "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))?$"
        }
      ]
    },
    "completeDate": {
      "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))?$"
        }
      ]
    },
    "inOutGateStatus": {
      "type": "string",
      "maxLength": 10
    },
    "model": {
      "type": "string",
      "maxLength": 30
    },
    "matchAdviceResourceType": {
      "type": "string",
      "maxLength": 4
    },
    "tmtResourceType": {
      "type": "string",
      "maxLength": 12
    },
    "tmtActivityCode": {
      "type": "string",
      "maxLength": 12
    },
    "tmtDomicile": {
      "type": "string",
      "maxLength": 12
    },
    "ownershipType": {
      "type": "string",
      "maxLength": 1
    },
    "clientOwner": {
      "type": "string",
      "maxLength": 10
    },
    "poolOwner": {
      "type": "string",
      "maxLength": 10
    },
    "lastSatZone": {
      "type": "string",
      "maxLength": 10
    },
    "lastSatDate": {
      "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))?$"
        }
      ]
    },
    "latitude": {
      "type": "string",
      "maxLength": 10
    },
    "longitude": {
      "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))?$"
        }
      ]
    },
    "aceId": {
      "type": "string",
      "maxLength": 10
    },
    "aceUnitType": {
      "type": "string",
      "maxLength": 2
    },
    "exportAgingDate": {
      "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))?$"
        }
      ]
    },
    "exportCompleteDate": {
      "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))?$"
        }
      ]
    },
    "exportReturnDate": {
      "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))?$"
        }
      ]
    },
    "importTracking": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "exportTracking": {
      "type": "string",
      "enum": [
        "False",
        "True",
        ""
      ]
    },
    "originZone": {
      "type": "string",
      "maxLength": 10
    },
    "movementType": {
      "type": "string",
      "maxLength": 10
    },
    "destinationZone": {
      "type": "string",
      "maxLength": 10
    },
    "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
    },
    "userDate1": {
      "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))?$"
        }
      ]
    },
    "userDate2": {
      "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))?$"
        }
      ]
    },
    "userDate3": {
      "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))?$"
        }
      ]
    },
    "userDate4": {
      "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))?$"
        }
      ]
    }
  }
}