{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-translate/json-schema/amazon-translate-create-parallel-data-request-schema.json",
  "title": "CreateParallelDataRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-translate-parallel-data-api-openapi.yml#/components/schemas/CreateParallelDataRequest",
  "type": "object",
  "properties": {
    "Name": {
      "type": "string",
      "description": "A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region."
    },
    "Description": {
      "type": "string",
      "description": "A custom description for the parallel data resource in Amazon Translate."
    },
    "ParallelDataConfig": {
      "$ref": "#/$defs/ParallelDataConfig"
    },
    "EncryptionKey": {
      "$ref": "#/$defs/EncryptionKey"
    },
    "ClientToken": {
      "type": "string",
      "description": "A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources."
    }
  },
  "required": [
    "Name",
    "ParallelDataConfig",
    "ClientToken"
  ],
  "$defs": {
    "EncryptionKey": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "KMS"
          ],
          "description": "The type of encryption key used by Amazon Translate to encrypt this object."
        },
        "Id": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the encryption key being used to encrypt this object."
        }
      },
      "required": [
        "Type",
        "Id"
      ]
    },
    "ParallelDataConfig": {
      "type": "object",
      "properties": {
        "S3Uri": {
          "type": "string",
          "description": "The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling."
        },
        "Format": {
          "type": "string",
          "enum": [
            "TSV",
            "CSV",
            "TMX"
          ],
          "description": "The format of the parallel data input file."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The initial part of a key-value pair that forms a tag associated with a given resource."
        },
        "Value": {
          "type": "string",
          "description": "The second part of a key-value pair that forms a tag associated with a given resource."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}