{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Attachment",
  "title": "Attachment",
  "additionalProperties": true,
  "description": "Details about an attachment.",
  "properties": {
    "author": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserDetails"
        }
      ],
      "description": "Details of the user who added the attachment.",
      "readOnly": true
    },
    "content": {
      "description": "The content of the attachment.",
      "readOnly": true,
      "type": "string"
    },
    "created": {
      "description": "The datetime the attachment was created.",
      "format": "date-time",
      "readOnly": true,
      "type": "string"
    },
    "filename": {
      "description": "The file name of the attachment.",
      "readOnly": true,
      "type": "string"
    },
    "id": {
      "description": "The ID of the attachment.",
      "readOnly": true,
      "type": "string"
    },
    "mimeType": {
      "description": "The MIME type of the attachment.",
      "readOnly": true,
      "type": "string"
    },
    "self": {
      "description": "The URL of the attachment details response.",
      "readOnly": true,
      "type": "string"
    },
    "size": {
      "description": "The size of the attachment.",
      "format": "int64",
      "readOnly": true,
      "type": "integer"
    },
    "thumbnail": {
      "description": "The URL of a thumbnail representing the attachment.",
      "readOnly": true,
      "type": "string"
    }
  },
  "type": "object"
}