{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-service-catalog/json-schema/amazon-service-catalog-create-provisioning-artifact-input-schema.json",
  "title": "CreateProvisioningArtifactInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-service-catalog-provisioning-artifact-api-openapi.yml#/components/schemas/CreateProvisioningArtifactInput",
  "type": "object",
  "properties": {
    "AcceptLanguage": {
      "type": "string",
      "description": "The language code. jp - Japanese zh - Chinese"
    },
    "ProductId": {
      "type": "string",
      "description": "The product identifier."
    },
    "Parameters": {
      "$ref": "#/$defs/ProvisioningArtifactProperties"
    },
    "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": [
    "ProductId",
    "Parameters",
    "IdempotencyToken"
  ],
  "$defs": {
    "ProvisioningArtifactProperties": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the provisioning artifact (for example, v1 v2beta). No spaces are allowed."
        },
        "Description": {
          "type": "string",
          "description": "The description of the provisioning artifact, including how it differs from the previous provisioning artifact."
        },
        "Info": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          },
          "description": "Specify the template source with one of the following options, but not both. Keys accepted: [ LoadTemplateFromURL, ImportFromPhysicalId ] The URL of the CloudFormation template in Amazon S3 or GitHub in JSON format. Specify the URL in JSON format as follows: \"LoadTemplateFromURL\": \"https://s3.amazonaws.com/cf-templates-ozkq9d3hgiq2-us-east-1/...\" ImportFromPhysicalId: The physical id of the resource that contains the template. Currently only supports CloudFormation stack arn. Specify the physical id in JSON format as follows: ImportFromPhysicalId: “arn:aws:cloudformation:[us-east-1]:[accountId"
        },
        "Type": {
          "type": "string",
          "enum": [
            "CLOUD_FORMATION_TEMPLATE",
            "MARKETPLACE_AMI",
            "MARKETPLACE_CAR",
            "TERRAFORM_OPEN_SOURCE",
            "TERRAFORM_CLOUD",
            "EXTERNAL"
          ],
          "description": "The type of provisioning artifact. CLOUD_FORMATION_TEMPLATE - CloudFormation template TERRAFORM_OPEN_SOURCE - Terraform Open Source configuration file TERRAFORM_CLOUD - Terraform Cloud configuration file EXTERNAL - External configuration file"
        },
        "DisableTemplateValidation": {
          "type": "boolean",
          "description": "If set to true, Service Catalog stops validating the specified provisioning artifact even if it is invalid. Service Catalog does not support template validation for the TERRAFORM_OS product type."
        }
      }
    }
  }
}