{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Attachment",
  "type": "object",
  "description": "Represents a file attachment on Confluence content.",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the attachment."
    },
    "status": {
      "type": "string",
      "description": "The status of the attachment."
    },
    "title": {
      "type": "string",
      "description": "The filename of the attachment."
    },
    "mediaType": {
      "type": "string",
      "description": "The MIME type of the attachment."
    },
    "mediaTypeDescription": {
      "type": "string",
      "description": "Human-readable description of the media type."
    },
    "comment": {
      "type": "string",
      "description": "Comment associated with the attachment upload."
    },
    "fileSize": {
      "type": "integer",
      "description": "File size in bytes."
    },
    "webuiLink": {
      "type": "string",
      "description": "The web UI link for viewing the attachment."
    },
    "downloadLink": {
      "type": "string",
      "description": "The download link for the attachment."
    },
    "pageId": {
      "type": "string",
      "description": "The ID of the page this attachment belongs to."
    },
    "blogPostId": {
      "type": "string",
      "description": "The ID of the blog post this attachment belongs to."
    }
  }
}