{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transcribe/json-schema/amazon-transcribe-start-call-analytics-job-request-schema.json",
  "title": "StartCallAnalyticsJobRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transcribe-call-analytics-job-api-openapi.yml#/components/schemas/StartCallAnalyticsJobRequest",
  "type": "object",
  "properties": {
    "CallAnalyticsJobName": {
      "type": "string",
      "description": "A unique name, chosen by you, for your Call Analytics job. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new job with the same name as an existing job, you get a ConflictException error."
    },
    "Media": {
      "$ref": "#/$defs/Media"
    },
    "OutputLocation": {
      "type": "string",
      "description": "The Amazon S3 location where you want your Call Analytics transcription output stored. You can use any of the following formats to specify the output location: s3://DOC-EXAMPLE-BUCKET s3://DOC-EXAMPLE-BUCKET/my-output-folder/ s3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job.json Unless you specify a file name (option 3), the name of your output file has a default value that matches the name you specified for your transcription job using the CallAnalyticsJobName parameter. You can specify a KMS key to encrypt your output using the OutputEncryptionKMSKeyId parameter. If you do not "
    },
    "OutputEncryptionKMSKeyId": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of a KMS key that you want to use to encrypt your Call Analytics output. KMS key ARNs have the format arn:partition:kms:region:account:key/key-id. For example: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab. For more information, see KMS key ARNs. If you do not specify an encryption key, your output is encrypted with the default Amazon S3 key (SSE-S3). Note that the role making the request and the role specified in the DataAccessRoleArn request parameter (if present) must have permission to use the specified KMS key."
    },
    "DataAccessRoleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files. If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails. IAM role ARNs have the format arn:partition:iam::account:role/role-name-with-path. For example: arn:aws:iam::111122223333:role/Admin. For more information, see IAM ARNs."
    },
    "Settings": {
      "$ref": "#/$defs/CallAnalyticsJobSettings"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "Adds one or more custom tags, each in the form of a key:value pair, to a new call analytics job at the time you start this new job. To learn more about using tags with Amazon Transcribe, refer to Tagging resources."
    },
    "ChannelDefinitions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ChannelDefinition"
      },
      "description": "Makes it possible to specify which speaker is on which channel. For example, if your agent is the first participant to speak, you would set ChannelId to 0 (to indicate the first channel) and ParticipantRole to AGENT (to indicate that it's the agent speaking)."
    }
  },
  "required": [
    "CallAnalyticsJobName",
    "Media"
  ],
  "$defs": {
    "CallAnalyticsJobSettings": {
      "type": "object",
      "properties": {
        "VocabularyName": {
          "type": "string",
          "description": "The name of the custom vocabulary you want to include in your Call Analytics transcription request. Custom vocabulary names are case sensitive."
        },
        "VocabularyFilterName": {
          "type": "string",
          "description": "The name of the custom vocabulary filter you want to include in your Call Analytics transcription request. Custom vocabulary filter names are case sensitive. Note that if you include VocabularyFilterName in your request, you must also include VocabularyFilterMethod."
        },
        "VocabularyFilterMethod": {
          "type": "string",
          "enum": [
            "remove",
            "mask",
            "tag"
          ],
          "description": "Specify how you want your custom vocabulary filter applied to your transcript. To replace words with ***, choose mask. To delete words, choose remove. To flag words without changing them, choose tag."
        },
        "LanguageModelName": {
          "type": "string",
          "description": "The name of the custom language model you want to use when processing your Call Analytics job. Note that custom language model names are case sensitive. The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages do not match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch."
        },
        "ContentRedaction": {
          "$ref": "#/$defs/ContentRedaction"
        },
        "LanguageOptions": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "af-ZA",
              "ar-AE",
              "ar-SA",
              "am-ET",
              "cy-GB",
              "da-DK",
              "de-CH",
              "de-DE",
              "en-AB",
              "en-AU",
              "en-GB",
              "en-IE",
              "en-IN",
              "en-US",
              "en-WL",
              "es-ES",
              "es-MX",
              "es-US",
              "fa-AF",
              "fa-IR",
              "fr-CA",
              "fr-FR",
              "ga-IE",
              "gd-GB",
              "he-IL",
              "hi-IN",
              "ht-HT",
              "id-ID",
              "it-IT",
              "ja-JP",
              "jv-ID",
              "km-KH",
              "ko-KR",
              "my-MM",
              "ms-MY",
              "nl-NL",
              "pt-BR",
              "pt-PT",
              "ru-RU",
              "ta-IN",
              "te-IN",
              "tr-TR",
              "zh-CN",
              "zh-TW",
              "th-TH",
              "en-ZA",
              "en-NZ",
              "vi-VN",
              "sv-SE",
              "ab-GE",
              "ast-ES",
              "az-AZ",
              "ba-RU",
              "be-BY",
              "bg-BG",
              "bn-IN",
              "bs-BA",
              "ca-ES",
              "ckb-IQ",
              "ckb-IR",
              "cs-CZ",
              "cy-WL",
              "el-GR",
              "et-EE",
              "et-ET",
              "eu-ES",
              "fi-FI",
              "gl-ES",
              "gu-IN",
              "ha-NG",
              "hr-HR",
              "hu-HU",
              "hy-AM",
              "is-IS",
              "ka-GE",
              "kab-DZ",
              "kk-KZ",
              "kn-IN",
              "ky-KG",
              "lg-IN",
              "lt-LT",
              "lv-LV",
              "mhr-RU",
              "mi-NZ",
              "mk-MK",
              "ml-IN",
              "mn-MN",
              "mr-IN",
              "mt-MT",
              "no-NO",
              "ne-NP",
              "or-IN",
              "pa-IN",
              "pl-PL",
              "ps-AF",
              "ro-RO",
              "rw-RW",
              "si-LK",
              "sk-SK",
              "sl-SI",
              "so-SO",
              "sq-AL",
              "sr-RS",
              "su-ID",
              "sw-BI",
              "sw-KE",
              "sw-RW",
              "sw-TZ",
              "sw-UG",
              "tl-PH",
              "tt-RU",
              "ug-CN",
              "uk-UA",
              "uz-UZ",
              "wo-SN",
              "zh-HK",
              "zu-ZA"
            ]
          },
          "description": "You can specify two or more language codes that represent the languages you think may be present in your media. Including more than five is not recommended. If you're unsure what languages are present, do not include this parameter. Including language options can improve the accuracy of language identification. For a list of languages supported with Call Analytics, refer to the Supported languages table. To transcribe speech in Modern Standard Arabic (ar-SA) in Amazon Web Services GovCloud (US) (US-West, us-gov-west-1), Amazon Web Services GovCloud (US) (US-East, us-gov-east-1), Canada (Calgar"
        },
        "LanguageIdSettings": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/LanguageIdSettings"
          },
          "description": "If using automatic language identification in your request and you want to apply a custom language model, a custom vocabulary, or a custom vocabulary filter, include LanguageIdSettings with the relevant sub-parameters (VocabularyName, LanguageModelName, and VocabularyFilterName). LanguageIdSettings supports two to five language codes. Each language code you include can have an associated custom language model, custom vocabulary, and custom vocabulary filter. The language codes that you specify must match the languages of the associated custom language models, custom vocabularies, and custom vo"
        },
        "Summarization": {
          "$ref": "#/$defs/Summarization"
        }
      }
    },
    "ChannelDefinition": {
      "type": "object",
      "properties": {
        "ChannelId": {
          "type": "integer",
          "description": "Specify the audio channel you want to define."
        },
        "ParticipantRole": {
          "type": "string",
          "enum": [
            "AGENT",
            "CUSTOMER"
          ],
          "description": "Specify the speaker you want to define. Omitting this parameter is equivalent to specifying both participants."
        }
      }
    },
    "ContentRedaction": {
      "type": "object",
      "properties": {
        "RedactionType": {
          "type": "string",
          "enum": [
            "PII"
          ],
          "description": "Specify the category of information you want to redact; PII (personally identifiable information) is the only valid value. You can use PiiEntityTypes to choose which types of PII you want to redact. If you do not include PiiEntityTypes in your request, all PII is redacted."
        },
        "RedactionOutput": {
          "type": "string",
          "enum": [
            "redacted",
            "redacted_and_unredacted"
          ],
          "description": "Specify if you want only a redacted transcript, or if you want a redacted and an unredacted transcript. When you choose redacted Amazon Transcribe creates only a redacted transcript. When you choose redacted_and_unredacted Amazon Transcribe creates a redacted and an unredacted transcript (as two separate files)."
        },
        "PiiEntityTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "BANK_ACCOUNT_NUMBER",
              "BANK_ROUTING",
              "CREDIT_DEBIT_NUMBER",
              "CREDIT_DEBIT_CVV",
              "CREDIT_DEBIT_EXPIRY",
              "PIN",
              "EMAIL",
              "ADDRESS",
              "NAME",
              "PHONE",
              "SSN",
              "DATE_TIME",
              "PASSPORT_NUMBER",
              "DRIVER_ID",
              "URL",
              "AGE",
              "USERNAME",
              "PASSWORD",
              "AWS_ACCESS_KEY",
              "AWS_SECRET_KEY",
              "IP_ADDRESS",
              "MAC_ADDRESS",
              "LICENSE_PLATE",
              "VEHICLE_IDENTIFICATION_NUMBER",
              "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
              "CA_HEALTH_NUMBER",
              "CA_SOCIAL_INSURANCE_NUMBER",
              "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
              "SWIFT_CODE",
              "ALL"
            ]
          },
          "description": "Specify which types of personally identifiable information (PII) you want to redact in your transcript. You can include as many types as you'd like, or you can select ALL. If you do not include PiiEntityTypes in your request, all PII is redacted."
        }
      },
      "required": [
        "RedactionType",
        "RedactionOutput"
      ]
    },
    "LanguageIdSettings": {
      "type": "object",
      "properties": {
        "VocabularyName": {
          "type": "string",
          "description": "The name of the custom vocabulary you want to use when processing your transcription job. Custom vocabulary names are case sensitive. The language of the specified custom vocabulary must match the language code that you specify in your transcription request. If the languages do not match, the custom vocabulary isn't applied. There are no errors or warnings associated with a language mismatch."
        },
        "VocabularyFilterName": {
          "type": "string",
          "description": "The name of the custom vocabulary filter you want to use when processing your transcription job. Custom vocabulary filter names are case sensitive. The language of the specified custom vocabulary filter must match the language code that you specify in your transcription request. If the languages do not match, the custom vocabulary filter isn't applied. There are no errors or warnings associated with a language mismatch. Note that if you include VocabularyFilterName in your request, you must also include VocabularyFilterMethod."
        },
        "LanguageModelName": {
          "type": "string",
          "description": "The name of the custom language model you want to use when processing your transcription job. Note that custom language model names are case sensitive. The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages do not match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch."
        }
      }
    },
    "Media": {
      "type": "object",
      "properties": {
        "MediaFileUri": {
          "type": "string",
          "description": "The Amazon S3 location of the media file you want to transcribe. For example: s3://DOC-EXAMPLE-BUCKET/my-media-file.flac s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac Note that the Amazon S3 bucket that contains your input media must be located in the same Amazon Web Services Region where you're making your transcription request."
        },
        "RedactedMediaFileUri": {
          "type": "string",
          "description": "The Amazon S3 location of the media file you want to redact. For example: s3://DOC-EXAMPLE-BUCKET/my-media-file.flac s3://DOC-EXAMPLE-BUCKET/media-files/my-media-file.flac Note that the Amazon S3 bucket that contains your input media must be located in the same Amazon Web Services Region where you're making your transcription request. RedactedMediaFileUri produces a redacted audio file in addition to a redacted transcript. It is only supported for Call Analytics (StartCallAnalyticsJob) transcription requests."
        }
      }
    },
    "Summarization": {
      "type": "object",
      "properties": {
        "GenerateAbstractiveSummary": {
          "type": "boolean",
          "description": "Enables Generative call summarization in your Call Analytics request Generative call summarization provides a summary of the transcript including important components discussed in the conversation. For more information, see Enabling generative call summarization."
        }
      },
      "required": [
        "GenerateAbstractiveSummary"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The first part of a key:value pair that forms a tag associated with a given resource. For example, in the tag Department:Sales, the key is 'Department'."
        },
        "Value": {
          "type": "string",
          "description": "The second part of a key:value pair that forms a tag associated with a given resource. For example, in the tag Department:Sales, the value is 'Sales'. Note that you can set the value of a tag to an empty string, but you can't set the value of a tag to null. Omitting the tag value is the same as using an empty string."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}