{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-dms/json-schema/amazon-dms-export-metadata-model-assessment-message-schema.json",
  "title": "ExportMetadataModelAssessmentMessage",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-dms-metadata-model-assessment-api-openapi.yml#/components/schemas/ExportMetadataModelAssessmentMessage",
  "type": "object",
  "properties": {
    "MigrationProjectIdentifier": {
      "type": "string",
      "description": "The migration project name or Amazon Resource Name (ARN)."
    },
    "SelectionRules": {
      "type": "string",
      "description": "A JSON string that identifies the metadata models to export a conversion assessment report for. For the selection rule format and examples, see Selection rules in DMS Schema Conversion. Usage: Accepts only source selection rules, where server-name in the object locator matches the source data provider. Supports only explicit rule actions."
    },
    "FileName": {
      "type": "string",
      "description": "The name of the assessment file to create in your Amazon S3 bucket."
    },
    "AssessmentReportTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "pdf",
          "csv"
        ]
      },
      "description": "The file format of the assessment file."
    }
  },
  "required": [
    "MigrationProjectIdentifier",
    "SelectionRules"
  ]
}