{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/comp-ai/json-schema/comp-ai-attachment-response-dto-schema.json",
  "title": "AttachmentResponseDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/comp-ai-attachments-api-openapi.yml#/components/schemas/AttachmentResponseDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the attachment"
    },
    "name": {
      "type": "string",
      "description": "Original filename"
    },
    "type": {
      "type": "string",
      "description": "File type/MIME type"
    },
    "size": {
      "type": "number",
      "description": "File size in bytes"
    },
    "downloadUrl": {
      "type": "string",
      "description": "Signed URL for downloading the file (temporary)"
    },
    "createdAt": {
      "format": "date-time",
      "type": "string",
      "description": "Upload timestamp"
    }
  },
  "required": [
    "id",
    "name",
    "type",
    "size",
    "downloadUrl",
    "createdAt"
  ]
}