{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-incident-manager/json-schema/amazon-incident-manager-create-contact-channel-request-schema.json",
  "title": "CreateContactChannelRequest",
  "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/CreateContactChannelRequest",
  "type": "object",
  "properties": {
    "ContactId": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the contact you are adding the contact channel to."
    },
    "Name": {
      "type": "string",
      "description": "The name of the contact channel."
    },
    "Type": {
      "type": "string",
      "enum": [
        "SMS",
        "VOICE",
        "EMAIL"
      ],
      "description": "Incident Manager supports three types of contact channels: SMS VOICE EMAIL"
    },
    "DeliveryAddress": {
      "$ref": "#/$defs/ContactChannelAddress"
    },
    "DeferActivation": {
      "type": "boolean",
      "description": "If you want to activate the channel at a later time, you can choose to defer activation. Incident Manager can't engage your contact channel until it has been activated."
    },
    "IdempotencyToken": {
      "type": "string",
      "description": "A token ensuring that the operation is called only once with the specified details."
    }
  },
  "required": [
    "ContactId",
    "Name",
    "Type",
    "DeliveryAddress"
  ],
  "$defs": {
    "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"
        }
      }
    }
  }
}