{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-backup/json-schema/microsoft-azure-backup-protection-policy-resource-list-schema.json",
  "title": "ProtectionPolicyResourceList",
  "description": "List of ProtectionPolicy resources",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-backup-backup-policies-api-openapi.yml#/components/schemas/ProtectionPolicyResourceList",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "List of resources.",
      "items": {
        "$ref": "#/$defs/ProtectionPolicyResource"
      }
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ResourceList"
    }
  ],
  "$defs": {
    "Azure.Core.azureLocation": {
      "type": "string",
      "description": "Represents an Azure geography region where supported resource providers live."
    },
    "ProtectionPolicy": {
      "type": "object",
      "description": "Base class for backup policy. Workload-specific backup policies are derived from this class.",
      "properties": {
        "protectedItemsCount": {
          "type": "integer",
          "format": "int32",
          "description": "Number of items associated with this policy."
        },
        "backupManagementType": {
          "type": "string",
          "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types."
        },
        "resourceGuardOperationRequests": {
          "type": "array",
          "description": "ResourceGuard Operation Requests",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "backupManagementType"
      ]
    },
    "ProtectionPolicyResource": {
      "type": "object",
      "description": "Base class for backup policy. Workload-specific backup policies are derived from this class.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ProtectionPolicy",
          "description": "ProtectionPolicyResource properties"
        },
        "tags": {
          "type": "object",
          "description": "Resource tags.",
          "additionalProperties": {
            "type": "string"
          }
        },
        "location": {
          "$ref": "#/$defs/Azure.Core.azureLocation",
          "description": "The geo-location where the resource lives",
          "x-ms-mutability": [
            "read",
            "create"
          ]
        },
        "eTag": {
          "type": "string",
          "description": "Optional ETag."
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "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",
          "description": "Fully qualified resource ID for the resource. Ex - /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",
          "type": "object",
          "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.",
          "readOnly": true
        }
      },
      "x-ms-azure-resource": true
    },
    "ResourceList": {
      "type": "object",
      "description": "Base for all lists of resources.",
      "properties": {
        "nextLink": {
          "type": "string",
          "description": "The URI to fetch the next page of resources, with each API call returning up to 200 resources per page. Use ListNext() to fetch the next page if the total number of resources exceeds 200."
        }
      }
    },
    "systemData": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    }
  }
}