{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/assetlab-ca/json-schema/assetlab-ca-attachment-update-schema.json",
  "title": "AttachmentUpdate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assetlab-ca-attachments-api-openapi.yml#/components/schemas/AttachmentUpdate",
  "type": "object",
  "properties": {
    "file_url": {
      "type": "string"
    },
    "file_name": {
      "type": "string"
    },
    "file_size": {
      "type": [
        "integer",
        "null"
      ]
    },
    "file_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "uploaded_by": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "work_order_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "work_request_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "pm_schedule_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "pm_template_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    }
  }
}