{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transcribe/json-schema/amazon-transcribe-create-language-model-response-schema.json",
  "title": "CreateLanguageModelResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transcribe-language-model-api-openapi.yml#/components/schemas/CreateLanguageModelResponse",
  "type": "object",
  "properties": {
    "LanguageCode": {
      "type": "string",
      "enum": [
        "en-US",
        "hi-IN",
        "es-US",
        "en-GB",
        "en-AU",
        "de-DE",
        "ja-JP"
      ],
      "description": "The language code you selected for your custom language model."
    },
    "BaseModelName": {
      "type": "string",
      "enum": [
        "NarrowBand",
        "WideBand"
      ],
      "description": "The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model."
    },
    "ModelName": {
      "type": "string",
      "description": "The name of your custom language model."
    },
    "InputDataConfig": {
      "$ref": "#/$defs/InputDataConfig"
    },
    "ModelStatus": {
      "type": "string",
      "enum": [
        "IN_PROGRESS",
        "FAILED",
        "COMPLETED"
      ],
      "description": "The status of your custom language model. When the status displays as COMPLETED, your model is ready to use."
    }
  },
  "$defs": {
    "InputDataConfig": {
      "type": "object",
      "properties": {
        "S3Uri": {
          "type": "string",
          "description": "The Amazon S3 location (URI) of the text files you want to use to train your custom language model. Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-model-training-data/"
        },
        "TuningDataS3Uri": {
          "type": "string",
          "description": "The Amazon S3 location (URI) of the text files you want to use to tune your custom language model. Here's an example URI path: s3://DOC-EXAMPLE-BUCKET/my-model-tuning-data/"
        },
        "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."
        }
      },
      "required": [
        "S3Uri",
        "DataAccessRoleArn"
      ]
    }
  }
}