{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/loadsmart/json-schema/loadsmart-update-asset-visit-dto-schema.json",
  "title": "UpdateAssetVisitDto",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/loadsmart-asset-visit-api-openapi.yml#/components/schemas/UpdateAssetVisitDto",
  "type": "object",
  "properties": {
    "tags": {
      "type": "object"
    },
    "appointmentId": {
      "type": "string",
      "format": "uuid"
    },
    "companyId": {
      "type": "object",
      "format": "uuid"
    },
    "licensePlate": {
      "type": "string"
    },
    "dotNumber": {
      "type": "string"
    },
    "companyHint": {
      "type": "string",
      "maxLength": 128,
      "description": "Free-text carrier name when no companyId is selected"
    },
    "visitType": {
      "$ref": "#/$defs/AssetVisitType"
    }
  },
  "$defs": {
    "AssetVisitType": {
      "type": "string",
      "description": "The type of the asset visit",
      "enum": [
        "LiveUnload",
        "LiveLoad",
        "Live",
        "Drop",
        "PickUp",
        "DropHook",
        "Unknown"
      ]
    }
  }
}