Atlassian · Schema

Attachment

Details about an attachment.

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
author object Details of the user who added the attachment.
content string The content of the attachment.
created string The datetime the attachment was created.
filename string The file name of the attachment.
id string The ID of the attachment.
mimeType string The MIME type of the attachment.
self string The URL of the attachment details response.
size integer The size of the attachment.
thumbnail string The URL of a thumbnail representing the attachment.
View JSON Schema on GitHub

JSON Schema

atlassian-attachment-schema.json Raw ↑
{
  "$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"
}