{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-dms/json-schema/amazon-dms-cancel-metadata-model-conversion-response-schema.json",
  "title": "CancelMetadataModelConversionResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-dms-metadata-model-conversion-api-openapi.yml#/components/schemas/CancelMetadataModelConversionResponse",
  "type": "object",
  "properties": {
    "Request": {
      "$ref": "#/$defs/SchemaConversionRequest"
    }
  },
  "$defs": {
    "DefaultErrorDetails": {
      "type": "object",
      "properties": {
        "Message": {
          "type": "string",
          "description": "The error message."
        }
      }
    },
    "ErrorDetails": {
      "type": "object",
      "properties": {
        "defaultErrorDetails": {
          "$ref": "#/$defs/DefaultErrorDetails"
        }
      },
      "description": "Exactly one member is set."
    },
    "ExportSqlDetails": {
      "type": "object",
      "properties": {
        "S3ObjectKey": {
          "type": "string",
          "description": "The Amazon S3 URI of the object that contains the ZIP archive with exported DDL scripts."
        },
        "ObjectURL": {
          "type": "string",
          "description": "The URL of the Amazon S3 object that contains the ZIP archive with exported DDL scripts."
        }
      }
    },
    "ProcessedObject": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the database object."
        },
        "Type": {
          "type": "string",
          "description": "The type of the database object. For example, a table, view, procedure, and so on."
        },
        "EndpointType": {
          "type": "string",
          "description": "The type of the data provider. This parameter can store one of the following values: \"SOURCE\" or \"TARGET\"."
        }
      }
    },
    "Progress": {
      "type": "object",
      "properties": {
        "ProgressPercent": {
          "type": "number",
          "description": "The percent complete for the current step of the schema conversion operation."
        },
        "TotalObjects": {
          "type": "integer",
          "description": "The number of objects in this schema conversion operation."
        },
        "ProgressStep": {
          "type": "string",
          "description": "The step of the schema conversion operation. This parameter can store one of the following values: IN_PROGRESS – The operation is running. LOADING_METADATA – Loads metadata from the source database. COUNTING_OBJECTS – Determines the number of objects involved in the operation. ANALYZING – Analyzes the source database objects. CONVERTING – Converts the source database objects to a format compatible with the target database. APPLYING – Applies the converted code to the target database. FINISHED – The operation completed successfully."
        },
        "ProcessedObject": {
          "$ref": "#/$defs/ProcessedObject"
        }
      }
    },
    "SchemaConversionRequest": {
      "type": "object",
      "properties": {
        "Status": {
          "type": "string",
          "description": "The schema conversion operation status. Possible values: RECEIVED – The operation is received but not yet queued for processing. IN_PROGRESS – The operation is queued or actively running. SUCCESS – The operation completed successfully. FAILED – The operation did not complete. CANCELING – The operation is being canceled. The operation might still succeed or fail before cancellation takes effect. CANCELED – The operation was canceled before completion."
        },
        "RequestIdentifier": {
          "type": "string",
          "description": "The identifier for the schema conversion action."
        },
        "MigrationProjectArn": {
          "type": "string",
          "description": "The migration project ARN."
        },
        "Error": {
          "$ref": "#/$defs/ErrorDetails"
        },
        "ExportSqlDetails": {
          "$ref": "#/$defs/ExportSqlDetails"
        },
        "Progress": {
          "$ref": "#/$defs/Progress"
        }
      }
    }
  }
}