{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/loadsmart/json-schema/loadsmart-update-asset-container-dto-schema.json",
  "title": "UpdateAssetContainerDto",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/loadsmart-asset-container-api-openapi.yml#/components/schemas/UpdateAssetContainerDto",
  "type": "object",
  "properties": {
    "tags": {
      "type": "object"
    },
    "assetVisitId": {
      "type": "string",
      "format": "uuid"
    },
    "code": {
      "type": "string"
    },
    "notes": {
      "type": "string"
    },
    "type": {
      "$ref": "#/$defs/AssetContainerType"
    },
    "dropAppointmentId": {
      "type": "string",
      "format": "uuid"
    },
    "pickupAppointmentId": {
      "type": "string",
      "format": "uuid"
    },
    "state": {
      "$ref": "#/$defs/AssetContainerState"
    },
    "companyId": {
      "type": "string",
      "format": "uuid"
    }
  },
  "$defs": {
    "AssetContainerState": {
      "type": "string",
      "description": "The state of the asset container",
      "enum": [
        "Full",
        "Empty",
        "Partially Loaded"
      ]
    },
    "AssetContainerType": {
      "type": "string",
      "description": "The type of the asset container",
      "enum": [
        "Trailer",
        "Container",
        "Oversized",
        "Chassis",
        "Reefer",
        "Other"
      ]
    }
  }
}