{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-site-recovery/json-schema/microsoft-azure-site-recovery-failover-process-server-request-schema.json",
  "title": "FailoverProcessServerRequest",
  "description": "Request to failover a process server.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-site-recovery-replicationfabrics-api-openapi.yml#/components/schemas/FailoverProcessServerRequest",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/FailoverProcessServerRequestProperties",
      "description": "The properties of the PS Failover request."
    }
  },
  "$defs": {
    "FailoverProcessServerRequestProperties": {
      "type": "object",
      "description": "The properties of the Failover Process Server request.",
      "properties": {
        "containerName": {
          "type": "string",
          "description": "The container identifier."
        },
        "sourceProcessServerId": {
          "type": "string",
          "description": "The source process server."
        },
        "targetProcessServerId": {
          "type": "string",
          "description": "The new process server."
        },
        "vmsToMigrate": {
          "type": "array",
          "description": "The VMS to migrate.",
          "items": {
            "type": "string"
          }
        },
        "updateType": {
          "type": "string",
          "description": "A value for failover type. It can be systemlevel/serverlevel."
        }
      }
    }
  }
}