{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-site-recovery/json-schema/microsoft-azure-site-recovery-protectable-item-collection-schema.json",
  "title": "ProtectableItemCollection",
  "description": "Protectable item collection.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-site-recovery-replicationprotectableitems-api-openapi.yml#/components/schemas/ProtectableItemCollection",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ProtectableItem items on this page",
      "items": {
        "$ref": "#/$defs/ProtectableItem"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ConfigurationSettings": {
      "type": "object",
      "description": "Replication provider specific settings.",
      "properties": {
        "instanceType": {
          "type": "string",
          "description": "Gets the class type. Overridden in derived classes."
        }
      },
      "required": [
        "instanceType"
      ]
    },
    "ProtectableItem": {
      "type": "object",
      "description": "Replication protected item.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ProtectableItemProperties",
          "description": "The custom data."
        },
        "location": {
          "type": "string",
          "description": "Resource Location"
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "ProtectableItemProperties": {
      "type": "object",
      "description": "Replication protected item custom data details.",
      "properties": {
        "friendlyName": {
          "type": "string",
          "description": "The name."
        },
        "protectionStatus": {
          "type": "string",
          "description": "The protection status."
        },
        "replicationProtectedItemId": {
          "type": "string",
          "description": "The ARM resource of protected items."
        },
        "recoveryServicesProviderId": {
          "type": "string",
          "description": "The recovery provider ARM Id."
        },
        "protectionReadinessErrors": {
          "type": "array",
          "description": "The Current protection readiness errors.",
          "items": {
            "type": "string"
          }
        },
        "supportedReplicationProviders": {
          "type": "array",
          "description": "The list of replication providers supported for the protectable item.",
          "items": {
            "type": "string"
          }
        },
        "customDetails": {
          "$ref": "#/$defs/ConfigurationSettings",
          "description": "The Replication provider custom settings."
        }
      }
    },
    "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
    }
  }
}