{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/mongodb/main/json-schema/mongodb-live-migration-response-schema.json",
  "title": "LiveMigrationResponse",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mongodb-cloud-migration-service-api-openapi.yml#/components/schemas/LiveMigrationResponse",
  "properties": {
    "_id": {
      "description": "Unique 24-hexadecimal digit string that identifies the migration job.",
      "pattern": "^([a-f0-9]{24})$",
      "readOnly": true,
      "type": "string"
    },
    "lagTimeSeconds": {
      "description": "Replication lag between the source and destination clusters. Atlas returns this setting only during an active migration, before the cutover phase.",
      "format": "int64",
      "readOnly": true,
      "type": [
        "integer",
        "null"
      ]
    },
    "migrationHosts": {
      "description": "List of hosts running MongoDB Agents. These Agents can transfer your MongoDB data between one source and one destination cluster.",
      "items": {
        "description": "One host running a MongoDB Agent. This Agent can transfer your MongoDB data between one source and one destination cluster.",
        "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}|([0-9a-f]{1,4}:){7}([0-9a-f]{1,4})|(([a-z0-9]+\\.){1,10}[a-z]+)?$",
        "type": "string"
      },
      "readOnly": true,
      "type": "array"
    },
    "readyForCutover": {
      "description": "Flag that indicates the migrated cluster can be cut over to MongoDB Atlas.",
      "readOnly": true,
      "type": "boolean"
    },
    "status": {
      "description": "Progress made in migrating one cluster to MongoDB Atlas.\n\n`NEW`: Someone scheduled a local cluster migration to MongoDB Atlas.\n\n`FAILED`: The cluster migration to MongoDB Atlas failed.\n\n`COMPLETE`: The cluster migration to MongoDB Atlas succeeded.\n\n`EXPIRED`: MongoDB Atlas prepares to begin the cut over of the migrating cluster when source and destination clusters have almost synchronized. If `\"readyForCutover\" : true`, this synchronization starts a timer of 120 hours. You can extend this timer. If the timer expires, MongoDB Atlas returns this status.\n\n`WORKING`: The cluster migration to MongoDB Atlas is performing one of the following tasks:\n\n- Preparing connections to source and destination clusters.\n- Replicating data from source to destination.\n- Verifying MongoDB Atlas connection settings.\n- Stopping replication after the cut over.",
      "enum": [
        "NEW",
        "WORKING",
        "FAILED",
        "COMPLETE",
        "EXPIRED"
      ],
      "readOnly": true,
      "type": "string"
    }
  },
  "type": "object"
}