{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-create-message-template-attachment-response-schema.json",
  "title": "CreateMessageTemplateAttachmentResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-attachments-api-openapi.yml#/components/schemas/CreateMessageTemplateAttachmentResponse",
  "type": "object",
  "properties": {
    "attachment": {
      "$ref": "#/$defs/MessageTemplateAttachment"
    }
  },
  "$defs": {
    "MessageTemplateAttachment": {
      "type": "object",
      "properties": {
        "contentDisposition": {
          "type": "string",
          "description": "The presentation information for the attachment file."
        },
        "name": {
          "type": "string",
          "description": "The name of the attachment file being uploaded. The name should include the file extension."
        },
        "uploadedTime": {
          "type": "string",
          "description": "The timestamp when the attachment file was uploaded."
        },
        "url": {
          "type": "string",
          "description": "A pre-signed Amazon S3 URL that can be used to download the attachment file."
        },
        "urlExpiry": {
          "type": "string",
          "description": "The expiration time of the pre-signed Amazon S3 URL."
        },
        "attachmentId": {
          "type": "string",
          "description": "The identifier of the attachment file."
        }
      },
      "required": [
        "contentDisposition",
        "name",
        "uploadedTime",
        "url",
        "urlExpiry",
        "attachmentId"
      ]
    }
  }
}