{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-rekognition/json-schema/amazon-rekognition-copy-project-version-request-schema.json",
  "title": "CopyProjectVersionRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-rekognition-operations-api-openapi.yml#/components/schemas/CopyProjectVersionRequest",
  "type": "object",
  "properties": {
    "SourceProjectArn": {
      "type": "string",
      "description": "The ARN of the source project in the trusting AWS account."
    },
    "SourceProjectVersionArn": {
      "type": "string",
      "description": "The ARN of the model version in the source project that you want to copy to a destination project."
    },
    "DestinationProjectArn": {
      "type": "string",
      "description": "The ARN of the project in the trusted AWS account that you want to copy the model version to."
    },
    "VersionName": {
      "type": "string",
      "description": "A name for the version of the model that's copied to the destination project."
    },
    "OutputConfig": {
      "$ref": "#/$defs/OutputConfig"
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "The key-value tags to assign to the model version."
    },
    "KmsKeyId": {
      "type": "string",
      "description": "The identifier for your AWS Key Management Service key (AWS KMS key). You can supply the Amazon Resource Name (ARN) of your KMS key, the ID of your KMS key, an alias for your KMS key, or an alias ARN. The key is used to encrypt training results and manifest files written to the output Amazon S3 bucket (OutputConfig). If you choose to use your own KMS key, you need the following permissions on the KMS key. kms:CreateGrant kms:DescribeKey kms:GenerateDataKey kms:Decrypt If you don't specify a value for KmsKeyId, images copied into the service are encrypted using a key that AWS owns and manages."
    }
  },
  "required": [
    "SourceProjectArn",
    "SourceProjectVersionArn",
    "DestinationProjectArn",
    "VersionName",
    "OutputConfig"
  ],
  "$defs": {
    "OutputConfig": {
      "type": "object",
      "properties": {
        "S3Bucket": {
          "type": "string",
          "description": "The S3 bucket where training output is placed."
        },
        "S3KeyPrefix": {
          "type": "string",
          "description": "The prefix applied to the training output files."
        }
      }
    }
  }
}