{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-describe-attached-files-configuration-response-schema.json",
  "title": "DescribeAttachedFilesConfigurationResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-attached-files-configurations-api-openapi.yml#/components/schemas/DescribeAttachedFilesConfigurationResponse",
  "type": "object",
  "properties": {
    "AttachedFilesConfiguration": {
      "$ref": "#/$defs/AttachedFilesConfiguration"
    }
  },
  "required": [
    "AttachedFilesConfiguration"
  ],
  "$defs": {
    "AllowedExtension": {
      "type": "object",
      "properties": {
        "Extension": {
          "type": "string",
          "description": "The file extension. The extension must be between 1 and 10 characters and can contain only alphanumeric characters, hyphens, and underscores."
        }
      },
      "required": [
        "Extension"
      ]
    },
    "AttachedFilesConfiguration": {
      "type": "object",
      "properties": {
        "InstanceId": {
          "type": "string",
          "description": "The identifier of the Connect Customer instance."
        },
        "AttachmentScope": {
          "type": "string",
          "enum": [
            "EMAIL",
            "CHAT",
            "CASE",
            "TASK"
          ],
          "description": "The scope of the attachment. Valid values are EMAIL, CHAT, CASE, and TASK."
        },
        "MaximumSizeLimitInBytes": {
          "type": "integer",
          "description": "The maximum size limit for attached files in bytes."
        },
        "ExtensionConfiguration": {
          "$ref": "#/$defs/ExtensionConfiguration"
        },
        "LastModifiedTime": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the configuration was last modified."
        }
      },
      "required": [
        "InstanceId",
        "AttachmentScope"
      ]
    },
    "ExtensionConfiguration": {
      "type": "object",
      "properties": {
        "AllowedExtensions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AllowedExtension"
          },
          "description": "The list of allowed file extensions."
        }
      },
      "required": [
        "AllowedExtensions"
      ]
    }
  }
}