{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-integration-services/json-schema/microsoft-azure-integration-services-arm-disaster-recovery-list-result-schema.json",
  "title": "ArmDisasterRecoveryListResult",
  "description": "The response of a ArmDisasterRecovery list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-integration-services-armdisasterrecoveries-api-openapi.yml#/components/schemas/ArmDisasterRecoveryListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ArmDisasterRecovery items on this page",
      "items": {
        "$ref": "#/$defs/ArmDisasterRecovery"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ArmDisasterRecovery": {
      "type": "object",
      "description": "Single item in List or Get Alias(Disaster Recovery configuration) operation",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ArmDisasterRecoveryProperties",
          "description": "Properties required to the Create Or Update Alias(Disaster Recovery configurations)",
          "x-ms-client-flatten": true
        },
        "location": {
          "type": "string",
          "description": "The geo-location where the resource lives",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "ArmDisasterRecoveryProperties": {
      "type": "object",
      "description": "Properties required to the Create Or Update Alias(Disaster Recovery configurations)",
      "properties": {
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningStateDR",
          "description": "Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed'",
          "readOnly": true
        },
        "pendingReplicationOperationsCount": {
          "type": "integer",
          "format": "int64",
          "description": "Number of entities pending to be replicated.",
          "readOnly": true
        },
        "partnerNamespace": {
          "type": "string",
          "description": "ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing"
        },
        "alternateName": {
          "type": "string",
          "description": "Primary/Secondary eventhub namespace name, which is part of GEO DR pairing"
        },
        "role": {
          "$ref": "#/$defs/RoleDisasterRecovery",
          "description": "role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'",
          "readOnly": true
        }
      }
    },
    "ProvisioningStateDR": {
      "type": "string",
      "description": "Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed'",
      "enum": [
        "Accepted",
        "Succeeded",
        "Failed"
      ],
      "x-ms-enum": {
        "name": "ProvisioningStateDR",
        "modelAsString": false
      }
    },
    "ProxyResource": {
      "type": "object",
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "title": "Resource",
      "description": "Common fields that are returned in the response for all Azure Resource Manager resources",
      "properties": {
        "id": {
          "type": "string",
          "format": "arm-id",
          "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "The name of the resource",
          "readOnly": true
        },
        "type": {
          "type": "string",
          "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"",
          "readOnly": true
        },
        "systemData": {
          "$ref": "#/$defs/systemData",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    },
    "RoleDisasterRecovery": {
      "type": "string",
      "description": "role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'",
      "enum": [
        "Primary",
        "PrimaryNotReplicating",
        "Secondary"
      ],
      "x-ms-enum": {
        "name": "RoleDisasterRecovery",
        "modelAsString": false
      }
    }
  }
}