{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-service-catalog/json-schema/amazon-service-catalog-copy-product-input-schema.json",
  "title": "CopyProductInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-service-catalog-operations-api-openapi.yml#/components/schemas/CopyProductInput",
  "type": "object",
  "properties": {
    "AcceptLanguage": {
      "type": "string",
      "description": "The language code. jp - Japanese zh - Chinese"
    },
    "SourceProductArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the source product."
    },
    "TargetProductId": {
      "type": "string",
      "description": "The identifier of the target product. By default, a new product is created."
    },
    "TargetProductName": {
      "type": "string",
      "description": "A name for the target product. The default is the name of the source product."
    },
    "SourceProvisioningArtifactIdentifiers": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {
          "type": "string"
        }
      },
      "description": "The identifiers of the provisioning artifacts (also known as versions) of the product to copy. By default, all provisioning artifacts are copied."
    },
    "CopyOptions": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "CopyTags"
        ]
      },
      "description": "The copy options. If the value is CopyTags, the tags from the source product are copied to the target product."
    },
    "IdempotencyToken": {
      "type": "string",
      "description": "A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request."
    }
  },
  "required": [
    "SourceProductArn",
    "IdempotencyToken"
  ]
}