{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transcribe/json-schema/amazon-transcribe-create-medical-vocabulary-request-schema.json",
  "title": "CreateMedicalVocabularyRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transcribe-medical-vocabulary-api-openapi.yml#/components/schemas/CreateMedicalVocabularyRequest",
  "type": "object",
  "properties": {
    "VocabularyName": {
      "type": "string",
      "description": "A unique name, chosen by you, for your new custom medical vocabulary. 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 custom medical vocabulary with the same name as an existing custom medical vocabulary, you get a ConflictException error."
    },
    "LanguageCode": {
      "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": "The language code that represents the language of the entries in your custom vocabulary. US English (en-US) is the only language supported with Amazon Transcribe Medical."
    },
    "VocabularyFileUri": {
      "type": "string",
      "description": "The Amazon S3 location (URI) of the text file that contains your custom medical vocabulary. The URI must be in the same Amazon Web Services Region as the resource you're calling. Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt"
    },
    "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 custom medical vocabulary at the time you create this new custom vocabulary. To learn more about using tags with Amazon Transcribe, refer to Tagging resources."
    }
  },
  "required": [
    "VocabularyName",
    "LanguageCode",
    "VocabularyFileUri"
  ],
  "$defs": {
    "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"
      ]
    }
  }
}