{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/assetlab-ca/json-schema/assetlab-ca-asset-document-update-schema.json",
  "title": "AssetDocumentUpdate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assetlab-ca-asset-documents-api-openapi.yml#/components/schemas/AssetDocumentUpdate",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "file_path": {
      "type": "string"
    },
    "asset_id": {
      "type": "string",
      "format": "uuid"
    },
    "category": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "om",
        "commissioning",
        "warranty",
        "installation",
        "specification",
        "other"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "file_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "file_size": {
      "type": [
        "integer",
        "null"
      ]
    },
    "user_id": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}