{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-dms/json-schema/amazon-dms-create-migration-project-message-schema.json",
  "title": "CreateMigrationProjectMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-dms-migration-project-api-openapi.yml#/components/schemas/CreateMigrationProjectMessage",
  "type": "object",
  "properties": {
    "MigrationProjectName": {
      "type": "string",
      "description": "A user-friendly name for the migration project."
    },
    "SourceDataProviderDescriptors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DataProviderDescriptorDefinition"
      },
      "description": "Information about the source data provider, including the name, ARN, and Secrets Manager parameters."
    },
    "TargetDataProviderDescriptors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DataProviderDescriptorDefinition"
      },
      "description": "Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters."
    },
    "InstanceProfileIdentifier": {
      "type": "string",
      "description": "The identifier of the associated instance profile. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens."
    },
    "TransformationRules": {
      "type": "string",
      "description": "A JSON string that specifies the transformation rules for the migration project. Transformation rules let you customize how DMS Schema Conversion converts your source database objects, including renaming, adding prefixes or suffixes, and changing data types. For the transformation rule format and examples, see Transformation rules in DMS Schema Conversion. Homogeneous data migrations do not support transformation rules."
    },
    "Description": {
      "type": "string",
      "description": "A user-friendly description of the migration project."
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "description": "One or more tags to be assigned to the migration project."
    },
    "SchemaConversionApplicationAttributes": {
      "$ref": "#/$defs/SCApplicationAttributes"
    }
  },
  "required": [
    "SourceDataProviderDescriptors",
    "TargetDataProviderDescriptors",
    "InstanceProfileIdentifier"
  ],
  "$defs": {
    "DataProviderDescriptorDefinition": {
      "type": "object",
      "properties": {
        "DataProviderIdentifier": {
          "type": "string",
          "description": "The name or Amazon Resource Name (ARN) of the data provider."
        },
        "SecretsManagerSecretId": {
          "type": "string",
          "description": "The identifier of the Amazon Web Services Secrets Manager Secret used to store access credentials for the data provider."
        },
        "SecretsManagerAccessRoleArn": {
          "type": "string",
          "description": "The ARN of the role used to access Amazon Web Services Secrets Manager."
        }
      },
      "required": [
        "DataProviderIdentifier"
      ]
    },
    "SCApplicationAttributes": {
      "type": "object",
      "properties": {
        "S3BucketPath": {
          "type": "string",
          "description": "The path for the Amazon S3 bucket that the application uses for exporting assessment reports."
        },
        "S3BucketRoleArn": {
          "type": "string",
          "description": "The ARN for the role the application uses to access its Amazon S3 bucket."
        }
      }
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with \"aws:\" or \"dms:\". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\")."
        },
        "Value": {
          "type": "string",
          "description": "A value is the optional value of the tag. The string value can be 1-256 Unicode characters in length and can't be prefixed with \"aws:\" or \"dms:\". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\")."
        },
        "ResourceArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created."
        }
      }
    }
  }
}