{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-incident-manager/json-schema/amazon-incident-manager-list-contact-channels-result-schema.json",
  "title": "ListContactChannelsResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-incident-manager-contact-channel-api-openapi.yml#/components/schemas/ListContactChannelsResult",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "The pagination token to continue to the next page of results."
    },
    "ContactChannels": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ContactChannel"
      },
      "description": "A list of contact channels related to the specified contact."
    }
  },
  "required": [
    "ContactChannels"
  ],
  "$defs": {
    "ContactChannel": {
      "type": "object",
      "properties": {
        "ContactChannelArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the contact channel."
        },
        "ContactArn": {
          "type": "string",
          "description": "The ARN of the contact that contains the contact channel."
        },
        "Name": {
          "type": "string",
          "description": "The name of the contact channel."
        },
        "Type": {
          "type": "string",
          "enum": [
            "SMS",
            "VOICE",
            "EMAIL"
          ],
          "description": "The type of the contact channel. Incident Manager supports three contact methods: SMS VOICE EMAIL"
        },
        "DeliveryAddress": {
          "$ref": "#/$defs/ContactChannelAddress"
        },
        "ActivationStatus": {
          "type": "string",
          "enum": [
            "ACTIVATED",
            "NOT_ACTIVATED"
          ],
          "description": "A Boolean value describing if the contact channel has been activated or not. If the contact channel isn't activated, Incident Manager can't engage the contact through it."
        }
      },
      "required": [
        "ContactChannelArn",
        "ContactArn",
        "Name",
        "DeliveryAddress",
        "ActivationStatus"
      ]
    },
    "ContactChannelAddress": {
      "type": "object",
      "properties": {
        "SimpleAddress": {
          "type": "string",
          "description": "The format is dependent on the type of the contact channel. The following are the expected formats: SMS - '+' followed by the country code and phone number VOICE - '+' followed by the country code and phone number EMAIL - any standard email format"
        }
      }
    }
  }
}