{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-service-catalog/json-schema/amazon-service-catalog-create-provisioned-product-plan-input-schema.json",
  "title": "CreateProvisionedProductPlanInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-service-catalog-provisioned-product-plan-api-openapi.yml#/components/schemas/CreateProvisionedProductPlanInput",
  "type": "object",
  "properties": {
    "AcceptLanguage": {
      "type": "string",
      "description": "The language code. jp - Japanese zh - Chinese"
    },
    "PlanName": {
      "type": "string",
      "description": "The name of the plan."
    },
    "PlanType": {
      "type": "string",
      "enum": [
        "CLOUDFORMATION"
      ],
      "description": "The plan type."
    },
    "NotificationArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events."
    },
    "PathId": {
      "type": "string",
      "description": "The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path. To list the paths for a product, use ListLaunchPaths."
    },
    "ProductId": {
      "type": "string",
      "description": "The product identifier."
    },
    "ProvisionedProductName": {
      "type": "string",
      "description": "A user-friendly name for the provisioned product. This value must be unique for the Amazon Web Services account and cannot be updated after the product is provisioned."
    },
    "ProvisioningArtifactId": {
      "type": "string",
      "description": "The identifier of the provisioning artifact."
    },
    "ProvisioningParameters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UpdateProvisioningParameter"
      },
      "description": "Parameters specified by the administrator that are required for provisioning the 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."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "One or more tags. If the plan is for an existing provisioned product, the product must have a RESOURCE_UPDATE constraint with TagUpdatesOnProvisionedProduct set to ALLOWED to allow tag updates."
    }
  },
  "required": [
    "PlanName",
    "PlanType",
    "ProductId",
    "ProvisionedProductName",
    "ProvisioningArtifactId",
    "IdempotencyToken"
  ],
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag key."
        },
        "Value": {
          "type": "string",
          "description": "The value for this key."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    },
    "UpdateProvisioningParameter": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The parameter key."
        },
        "Value": {
          "type": "string",
          "description": "The parameter value."
        },
        "UsePreviousValue": {
          "type": "boolean",
          "description": "If set to true, Value is ignored and the previous parameter value is kept."
        }
      }
    }
  }
}