{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-site-recovery/json-schema/microsoft-azure-site-recovery-switch-protection-input-schema.json",
  "title": "SwitchProtectionInput",
  "description": "Switch protection input.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-site-recovery-replicationprotectioncontainers-api-openapi.yml#/components/schemas/SwitchProtectionInput",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/SwitchProtectionInputProperties",
      "description": "Switch protection properties."
    }
  },
  "$defs": {
    "SwitchProtectionInputProperties": {
      "type": "object",
      "description": "Switch protection input properties.",
      "properties": {
        "replicationProtectedItemName": {
          "type": "string",
          "description": "The unique replication protected item name."
        },
        "providerSpecificDetails": {
          "$ref": "#/$defs/SwitchProtectionProviderSpecificInput",
          "description": "Provider specific switch protection input."
        }
      }
    },
    "SwitchProtectionProviderSpecificInput": {
      "type": "object",
      "description": "Provider specific switch protection input.",
      "properties": {
        "instanceType": {
          "type": "string",
          "description": "Gets the Instance type."
        }
      },
      "required": [
        "instanceType"
      ]
    }
  }
}