{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-express-route/json-schema/microsoft-azure-express-route-migrate-express-route-circuit-request-schema.json",
  "title": "MigrateExpressRouteCircuitRequest",
  "description": "Request model for express route circuit migration operations.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-express-route-expressroutecrossconnections-api-openapi.yml#/components/schemas/MigrateExpressRouteCircuitRequest",
  "type": "object",
  "properties": {
    "targetPeeringLocation": {
      "type": "string",
      "description": "The target peering location for circuit migration."
    },
    "targetPortMapping": {
      "type": "array",
      "description": "The source-to-target port mappings for circuit migration.",
      "items": {
        "$ref": "#/$defs/PortMapping"
      },
      "x-ms-identifiers": [
        "sourcePortId"
      ]
    },
    "portId": {
      "type": "string",
      "description": "The port identifier used for shutDownBgp, migrate, restoreBgp, and rollback operations."
    }
  },
  "$defs": {
    "PortMapping": {
      "type": "object",
      "description": "A mapping between source and target ports for migration.",
      "properties": {
        "sourcePortId": {
          "type": "string",
          "description": "The source port identifier."
        },
        "targetPortId": {
          "type": "string",
          "description": "The target port identifier."
        }
      },
      "required": [
        "sourcePortId",
        "targetPortId"
      ]
    }
  }
}