{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transcribe/json-schema/amazon-transcribe-start-stream-transcription-response-schema.json",
  "title": "StartStreamTranscriptionResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transcribe-operations-api-openapi.yml#/components/schemas/StartStreamTranscriptionResponse",
  "type": "object",
  "properties": {
    "RequestId": {
      "type": "string",
      "description": "Provides the identifier for your streaming request."
    },
    "LanguageCode": {
      "type": "string",
      "enum": [
        "en-US",
        "en-GB",
        "es-US",
        "fr-CA",
        "fr-FR",
        "en-AU",
        "it-IT",
        "de-DE",
        "pt-BR",
        "ja-JP",
        "ko-KR",
        "zh-CN",
        "th-TH",
        "es-ES",
        "ar-SA",
        "pt-PT",
        "ca-ES",
        "ar-AE",
        "hi-IN",
        "zh-HK",
        "nl-NL",
        "no-NO",
        "sv-SE",
        "pl-PL",
        "fi-FI",
        "zh-TW",
        "en-IN",
        "en-IE",
        "en-NZ",
        "en-AB",
        "en-ZA",
        "en-WL",
        "de-CH",
        "af-ZA",
        "eu-ES",
        "hr-HR",
        "cs-CZ",
        "da-DK",
        "fa-IR",
        "gl-ES",
        "el-GR",
        "he-IL",
        "id-ID",
        "lv-LV",
        "ms-MY",
        "ro-RO",
        "ru-RU",
        "sr-RS",
        "sk-SK",
        "so-SO",
        "tl-PH",
        "uk-UA",
        "vi-VN",
        "zu-ZA",
        "am-ET",
        "be-BY",
        "bg-BG",
        "bn-IN",
        "bs-BA",
        "ckb-IQ",
        "ckb-IR",
        "cy-WL",
        "es-MX",
        "et-ET",
        "fa-AF",
        "gu-IN",
        "ht-HT",
        "hu-HU",
        "hy-AM",
        "is-IS",
        "jv-ID",
        "ka-GE",
        "kab-DZ",
        "kk-KZ",
        "km-KH",
        "kn-IN",
        "lg-IN",
        "lt-LT",
        "mk-MK",
        "ml-IN",
        "mr-IN",
        "my-MM",
        "ne-NP",
        "or-IN",
        "pa-IN",
        "ps-AF",
        "si-LK",
        "sl-SI",
        "sq-AL",
        "su-ID",
        "sw-BI",
        "sw-KE",
        "sw-RW",
        "sw-TZ",
        "sw-UG",
        "ta-IN",
        "te-IN",
        "tr-TR",
        "uz-UZ"
      ],
      "description": "Provides the language code that you specified in your request."
    },
    "MediaSampleRateHertz": {
      "type": "integer",
      "description": "Provides the sample rate that you specified in your request."
    },
    "MediaEncoding": {
      "type": "string",
      "enum": [
        "pcm",
        "ogg-opus",
        "flac",
        "g711-alaw",
        "g711-ulaw",
        "g729"
      ],
      "description": "Provides the media encoding you specified in your request."
    },
    "VocabularyName": {
      "type": "string",
      "description": "Provides the name of the custom vocabulary that you specified in your request."
    },
    "SessionId": {
      "type": "string",
      "description": "Provides the identifier for your transcription session."
    },
    "TranscriptResultStream": {
      "$ref": "#/$defs/TranscriptResultStream"
    },
    "VocabularyFilterName": {
      "type": "string",
      "description": "Provides the name of the custom vocabulary filter that you specified in your request."
    },
    "VocabularyFilterMethod": {
      "type": "string",
      "enum": [
        "remove",
        "mask",
        "tag"
      ],
      "description": "Provides the vocabulary filtering method used in your transcription."
    },
    "ShowSpeakerLabel": {
      "type": "boolean",
      "description": "Shows whether speaker partitioning was enabled for your transcription."
    },
    "EnableChannelIdentification": {
      "type": "boolean",
      "description": "Shows whether channel identification was enabled for your transcription."
    },
    "NumberOfChannels": {
      "type": "integer",
      "description": "Provides the number of channels that you specified in your request."
    },
    "EnablePartialResultsStabilization": {
      "type": "boolean",
      "description": "Shows whether partial results stabilization was enabled for your transcription."
    },
    "PartialResultsStability": {
      "type": "string",
      "enum": [
        "high",
        "medium",
        "low"
      ],
      "description": "Provides the stabilization level used for your transcription."
    },
    "ContentIdentificationType": {
      "type": "string",
      "enum": [
        "PII"
      ],
      "description": "Shows whether content identification was enabled for your transcription."
    },
    "ContentRedactionType": {
      "type": "string",
      "enum": [
        "PII"
      ],
      "description": "Shows whether content redaction was enabled for your transcription."
    },
    "PiiEntityTypes": {
      "type": "string",
      "description": "Lists the PII entity types you specified in your request."
    },
    "LanguageModelName": {
      "type": "string",
      "description": "Provides the name of the custom language model that you specified in your request."
    },
    "IdentifyLanguage": {
      "type": "boolean",
      "description": "Shows whether automatic language identification was enabled for your transcription."
    },
    "LanguageOptions": {
      "type": "string",
      "description": "Provides the language codes that you specified in your request."
    },
    "PreferredLanguage": {
      "type": "string",
      "enum": [
        "en-US",
        "en-GB",
        "es-US",
        "fr-CA",
        "fr-FR",
        "en-AU",
        "it-IT",
        "de-DE",
        "pt-BR",
        "ja-JP",
        "ko-KR",
        "zh-CN",
        "th-TH",
        "es-ES",
        "ar-SA",
        "pt-PT",
        "ca-ES",
        "ar-AE",
        "hi-IN",
        "zh-HK",
        "nl-NL",
        "no-NO",
        "sv-SE",
        "pl-PL",
        "fi-FI",
        "zh-TW",
        "en-IN",
        "en-IE",
        "en-NZ",
        "en-AB",
        "en-ZA",
        "en-WL",
        "de-CH",
        "af-ZA",
        "eu-ES",
        "hr-HR",
        "cs-CZ",
        "da-DK",
        "fa-IR",
        "gl-ES",
        "el-GR",
        "he-IL",
        "id-ID",
        "lv-LV",
        "ms-MY",
        "ro-RO",
        "ru-RU",
        "sr-RS",
        "sk-SK",
        "so-SO",
        "tl-PH",
        "uk-UA",
        "vi-VN",
        "zu-ZA",
        "am-ET",
        "be-BY",
        "bg-BG",
        "bn-IN",
        "bs-BA",
        "ckb-IQ",
        "ckb-IR",
        "cy-WL",
        "es-MX",
        "et-ET",
        "fa-AF",
        "gu-IN",
        "ht-HT",
        "hu-HU",
        "hy-AM",
        "is-IS",
        "jv-ID",
        "ka-GE",
        "kab-DZ",
        "kk-KZ",
        "km-KH",
        "kn-IN",
        "lg-IN",
        "lt-LT",
        "mk-MK",
        "ml-IN",
        "mr-IN",
        "my-MM",
        "ne-NP",
        "or-IN",
        "pa-IN",
        "ps-AF",
        "si-LK",
        "sl-SI",
        "sq-AL",
        "su-ID",
        "sw-BI",
        "sw-KE",
        "sw-RW",
        "sw-TZ",
        "sw-UG",
        "ta-IN",
        "te-IN",
        "tr-TR",
        "uz-UZ"
      ],
      "description": "Provides the preferred language that you specified in your request."
    },
    "IdentifyMultipleLanguages": {
      "type": "boolean",
      "description": "Shows whether automatic multi-language identification was enabled for your transcription."
    },
    "VocabularyNames": {
      "type": "string",
      "description": "Provides the names of the custom vocabularies that you specified in your request."
    },
    "VocabularyFilterNames": {
      "type": "string",
      "description": "Provides the names of the custom vocabulary filters that you specified in your request."
    },
    "SessionResumeWindow": {
      "type": "integer",
      "description": "Provides the session resume window, in minutes, that you specified in your request."
    },
    "TranscriptFormat": {
      "type": "string",
      "enum": [
        "spoken",
        "written"
      ],
      "description": "Provides the transcript format that you specified in your request."
    }
  },
  "$defs": {
    "Alternative": {
      "type": "object",
      "properties": {
        "Transcript": {
          "type": "string",
          "description": "Contains transcribed text."
        },
        "Items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Item"
          },
          "description": "Contains words, phrases, or punctuation marks in your transcription output."
        },
        "Entities": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Entity"
          },
          "description": "Contains entities identified as personally identifiable information (PII) in your transcription output."
        }
      }
    },
    "BadRequestException": {
      "type": "object",
      "properties": {
        "Message": {
          "type": "string"
        }
      }
    },
    "ConflictException": {
      "type": "object",
      "properties": {
        "Message": {
          "type": "string"
        }
      }
    },
    "Entity": {
      "type": "object",
      "properties": {
        "StartTime": {
          "type": "number",
          "description": "The start time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)"
        },
        "EndTime": {
          "type": "number",
          "description": "The end time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)"
        },
        "Category": {
          "type": "string",
          "description": "The category of information identified. The only category is PII."
        },
        "Type": {
          "type": "string",
          "description": "The type of PII identified. For example, NAME or CREDIT_DEBIT_NUMBER."
        },
        "Content": {
          "type": "string",
          "description": "The word or words identified as PII."
        },
        "Confidence": {
          "type": "number",
          "description": "The confidence score associated with the identified PII entity in your audio. Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified entity correctly matches the entity spoken in your media."
        }
      }
    },
    "InternalFailureException": {
      "type": "object",
      "properties": {
        "Message": {
          "type": "string"
        }
      }
    },
    "Item": {
      "type": "object",
      "properties": {
        "StartTime": {
          "type": "number",
          "description": "The start time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)"
        },
        "EndTime": {
          "type": "number",
          "description": "The end time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)"
        },
        "Type": {
          "type": "string",
          "enum": [
            "pronunciation",
            "punctuation"
          ],
          "description": "The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION."
        },
        "Content": {
          "type": "string",
          "description": "The word or punctuation that was transcribed."
        },
        "VocabularyFilterMatch": {
          "type": "boolean",
          "description": "Indicates whether the specified item matches a word in the vocabulary filter included in your request. If true, there is a vocabulary filter match."
        },
        "Speaker": {
          "type": "string",
          "description": "If speaker partitioning is enabled, Speaker labels the speaker of the specified item."
        },
        "Confidence": {
          "type": "number",
          "description": "The confidence score associated with a word or phrase in your transcript. Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media."
        },
        "Stable": {
          "type": "boolean",
          "description": "If partial result stabilization is enabled, Stable indicates whether the specified item is stable (true) or if it may change when the segment is complete (false)."
        }
      }
    },
    "LanguageWithScore": {
      "type": "object",
      "properties": {
        "LanguageCode": {
          "type": "string",
          "enum": [
            "en-US",
            "en-GB",
            "es-US",
            "fr-CA",
            "fr-FR",
            "en-AU",
            "it-IT",
            "de-DE",
            "pt-BR",
            "ja-JP",
            "ko-KR",
            "zh-CN",
            "th-TH",
            "es-ES",
            "ar-SA",
            "pt-PT",
            "ca-ES",
            "ar-AE",
            "hi-IN",
            "zh-HK",
            "nl-NL",
            "no-NO",
            "sv-SE",
            "pl-PL",
            "fi-FI",
            "zh-TW",
            "en-IN",
            "en-IE",
            "en-NZ",
            "en-AB",
            "en-ZA",
            "en-WL",
            "de-CH",
            "af-ZA",
            "eu-ES",
            "hr-HR",
            "cs-CZ",
            "da-DK",
            "fa-IR",
            "gl-ES",
            "el-GR",
            "he-IL",
            "id-ID",
            "lv-LV",
            "ms-MY",
            "ro-RO",
            "ru-RU",
            "sr-RS",
            "sk-SK",
            "so-SO",
            "tl-PH",
            "uk-UA",
            "vi-VN",
            "zu-ZA",
            "am-ET",
            "be-BY",
            "bg-BG",
            "bn-IN",
            "bs-BA",
            "ckb-IQ",
            "ckb-IR",
            "cy-WL",
            "es-MX",
            "et-ET",
            "fa-AF",
            "gu-IN",
            "ht-HT",
            "hu-HU",
            "hy-AM",
            "is-IS",
            "jv-ID",
            "ka-GE",
            "kab-DZ",
            "kk-KZ",
            "km-KH",
            "kn-IN",
            "lg-IN",
            "lt-LT",
            "mk-MK",
            "ml-IN",
            "mr-IN",
            "my-MM",
            "ne-NP",
            "or-IN",
            "pa-IN",
            "ps-AF",
            "si-LK",
            "sl-SI",
            "sq-AL",
            "su-ID",
            "sw-BI",
            "sw-KE",
            "sw-RW",
            "sw-TZ",
            "sw-UG",
            "ta-IN",
            "te-IN",
            "tr-TR",
            "uz-UZ"
          ],
          "description": "The language code of the identified language."
        },
        "Score": {
          "type": "number",
          "description": "The confidence score associated with the identified language code. Confidence scores are values between zero and one; larger values indicate a higher confidence in the identified language."
        }
      }
    },
    "LimitExceededException": {
      "type": "object",
      "properties": {
        "Message": {
          "type": "string"
        }
      }
    },
    "Result": {
      "type": "object",
      "properties": {
        "ResultId": {
          "type": "string",
          "description": "Provides a unique identifier for the Result."
        },
        "StartTime": {
          "type": "number",
          "description": "The start time of the Result in seconds, with millisecond precision (e.g., 1.056)."
        },
        "EndTime": {
          "type": "number",
          "description": "The end time of the Result in seconds, with millisecond precision (e.g., 1.056)."
        },
        "IsPartial": {
          "type": "boolean",
          "description": "Indicates if the segment is complete. If IsPartial is true, the segment is not complete. If IsPartial is false, the segment is complete."
        },
        "Alternatives": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Alternative"
          },
          "description": "A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of Items, Entities, or Transcript."
        },
        "ChannelId": {
          "type": "string",
          "description": "Indicates which audio channel is associated with the Result."
        },
        "LanguageCode": {
          "type": "string",
          "enum": [
            "en-US",
            "en-GB",
            "es-US",
            "fr-CA",
            "fr-FR",
            "en-AU",
            "it-IT",
            "de-DE",
            "pt-BR",
            "ja-JP",
            "ko-KR",
            "zh-CN",
            "th-TH",
            "es-ES",
            "ar-SA",
            "pt-PT",
            "ca-ES",
            "ar-AE",
            "hi-IN",
            "zh-HK",
            "nl-NL",
            "no-NO",
            "sv-SE",
            "pl-PL",
            "fi-FI",
            "zh-TW",
            "en-IN",
            "en-IE",
            "en-NZ",
            "en-AB",
            "en-ZA",
            "en-WL",
            "de-CH",
            "af-ZA",
            "eu-ES",
            "hr-HR",
            "cs-CZ",
            "da-DK",
            "fa-IR",
            "gl-ES",
            "el-GR",
            "he-IL",
            "id-ID",
            "lv-LV",
            "ms-MY",
            "ro-RO",
            "ru-RU",
            "sr-RS",
            "sk-SK",
            "so-SO",
            "tl-PH",
            "uk-UA",
            "vi-VN",
            "zu-ZA",
            "am-ET",
            "be-BY",
            "bg-BG",
            "bn-IN",
            "bs-BA",
            "ckb-IQ",
            "ckb-IR",
            "cy-WL",
            "es-MX",
            "et-ET",
            "fa-AF",
            "gu-IN",
            "ht-HT",
            "hu-HU",
            "hy-AM",
            "is-IS",
            "jv-ID",
            "ka-GE",
            "kab-DZ",
            "kk-KZ",
            "km-KH",
            "kn-IN",
            "lg-IN",
            "lt-LT",
            "mk-MK",
            "ml-IN",
            "mr-IN",
            "my-MM",
            "ne-NP",
            "or-IN",
            "pa-IN",
            "ps-AF",
            "si-LK",
            "sl-SI",
            "sq-AL",
            "su-ID",
            "sw-BI",
            "sw-KE",
            "sw-RW",
            "sw-TZ",
            "sw-UG",
            "ta-IN",
            "te-IN",
            "tr-TR",
            "uz-UZ"
          ],
          "description": "The language code that represents the language spoken in your audio stream."
        },
        "LanguageIdentification": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/LanguageWithScore"
          },
          "description": "The language code of the dominant language identified in your stream. If you enabled channel identification and each channel of your audio contains a different language, you may have more than one result."
        }
      }
    },
    "ServiceUnavailableException": {
      "type": "object",
      "properties": {
        "Message": {
          "type": "string"
        }
      }
    },
    "TranscribestreamingTranscript": {
      "type": "object",
      "properties": {
        "Results": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Result"
          },
          "description": "Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data."
        }
      }
    },
    "TranscriptEvent": {
      "type": "object",
      "properties": {
        "Transcript": {
          "$ref": "#/$defs/TranscribestreamingTranscript"
        }
      }
    },
    "TranscriptResultStream": {
      "type": "object",
      "properties": {
        "TranscriptEvent": {
          "$ref": "#/$defs/TranscriptEvent"
        },
        "BadRequestException": {
          "$ref": "#/$defs/BadRequestException"
        },
        "LimitExceededException": {
          "$ref": "#/$defs/LimitExceededException"
        },
        "InternalFailureException": {
          "$ref": "#/$defs/InternalFailureException"
        },
        "ConflictException": {
          "$ref": "#/$defs/ConflictException"
        },
        "ServiceUnavailableException": {
          "$ref": "#/$defs/ServiceUnavailableException"
        }
      },
      "description": "Exactly one member is set."
    }
  }
}