{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-trusted-advisor/json-schema/amazon-trusted-advisor-describe-communications-response-schema.json",
  "title": "DescribeCommunicationsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-trusted-advisor-describecommunications-api-openapi.yml#/components/schemas/DescribeCommunicationsResponse",
  "type": "object",
  "properties": {
    "communications": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Communication"
      },
      "description": "The communications for the case."
    },
    "nextToken": {
      "type": "string",
      "description": "A resumption point for pagination."
    }
  },
  "$defs": {
    "AttachmentDetails": {
      "type": "object",
      "properties": {
        "attachmentId": {
          "type": "string",
          "description": "The ID of the attachment."
        },
        "fileName": {
          "type": "string",
          "description": "The file name of the attachment."
        }
      }
    },
    "Communication": {
      "type": "object",
      "properties": {
        "caseId": {
          "type": "string",
          "description": "The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-exen-2025-c4c1d2bf33c5cf47"
        },
        "body": {
          "type": "string",
          "description": "The text of the communication between the customer and Amazon Web Services Support."
        },
        "submittedBy": {
          "type": "string",
          "description": "The identity of the account that submitted, or responded to, the support case. Customer entries include the IAM role as well as the email address (for example, \"AdminRole (Role) ). Entries from the Amazon Web Services Support team display \"Amazon Web Services,\" and don't show an email address."
        },
        "timeCreated": {
          "type": "string",
          "description": "The time the communication was created."
        },
        "attachments": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AttachmentDetails"
          },
          "description": "Information about all attachments on the case communication. This includes attachments added through AddAttachmentsToSet and attachments uploaded through GetAttachmentUploadLinks. Use this field to enumerate every attachment on the communication. To download an attachment listed in this field, use GetAttachmentDownloadLink. GetAttachmentDownloadLink returns a presigned URL that works for attachments of any size."
        },
        "attachmentSet": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AttachmentDetails"
          },
          "description": "Information about the attachments to the case communication that are 5 MB or smaller. This field doesn't include attachments larger than 5 MB. To enumerate every attachment on the communication, including attachments larger than 5 MB, use the attachments field instead."
        }
      }
    }
  }
}