{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-attachment-download-response-schema.json",
  "title": "AttachmentDownloadResponse",
  "description": "Response containing presigned URL for downloading email attachment",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-credentialing-outreach-resource-api-openapi.yml#/components/schemas/AttachmentDownloadResponse",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Presigned URL for downloading the attachment"
    },
    "expiresIn": {
      "type": "integer",
      "format": "int32",
      "description": "Number of hours until the URL expires"
    },
    "expiresAt": {
      "type": "integer",
      "format": "int64",
      "description": "Unix timestamp when the URL expires"
    },
    "fileName": {
      "type": "string",
      "description": "Original filename of the attachment"
    }
  }
}