{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-sagemaker/json-schema/amazon-sagemaker-create-pipeline-request-schema.json",
  "title": "CreatePipelineRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-sagemaker-pipeline-api-openapi.yml#/components/schemas/CreatePipelineRequest",
  "type": "object",
  "properties": {
    "PipelineName": {
      "type": "string",
      "description": "The name of the pipeline."
    },
    "PipelineDisplayName": {
      "type": "string",
      "description": "The display name of the pipeline."
    },
    "PipelineDefinition": {
      "type": "string",
      "description": "The JSON pipeline definition of the pipeline."
    },
    "PipelineDefinitionS3Location": {
      "$ref": "#/$defs/PipelineDefinitionS3Location"
    },
    "PipelineDescription": {
      "type": "string",
      "description": "A description of the pipeline."
    },
    "ClientRequestToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time."
    },
    "RoleArn": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the role used by the pipeline to access and create resources."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "A list of tags to apply to the created pipeline."
    },
    "ParallelismConfiguration": {
      "$ref": "#/$defs/ParallelismConfiguration"
    },
    "PipelineVersionAliases": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The aliases to assign to the first version of the pipeline. You can use an alias instead of a pipeline version ID to start an execution, describe the pipeline, or list its executions. Each alias can contain 1-128 letters, numbers, periods (.), hyphens (-), and underscores (_), and can't consist of numbers only. An alias must be unique within the pipeline, and a version can have up to 10 aliases."
    }
  },
  "required": [
    "PipelineName",
    "ClientRequestToken",
    "RoleArn"
  ],
  "$defs": {
    "ParallelismConfiguration": {
      "type": "object",
      "properties": {
        "MaxParallelExecutionSteps": {
          "type": "integer",
          "description": "The max number of steps that can be executed in parallel."
        }
      },
      "required": [
        "MaxParallelExecutionSteps"
      ]
    },
    "PipelineDefinitionS3Location": {
      "type": "object",
      "properties": {
        "Bucket": {
          "type": "string",
          "description": "Name of the S3 bucket."
        },
        "ObjectKey": {
          "type": "string",
          "description": "The object key (or key name) uniquely identifies the object in an S3 bucket."
        },
        "VersionId": {
          "type": "string",
          "description": "Version Id of the pipeline definition file. If not specified, Amazon SageMaker will retrieve the latest version."
        }
      },
      "required": [
        "Bucket",
        "ObjectKey"
      ]
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The tag key. Tag keys must be unique per resource."
        },
        "Value": {
          "type": "string",
          "description": "The tag value."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}