{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-backup/json-schema/microsoft-azure-backup-recovery-point-resource-list-schema.json",
  "title": "RecoveryPointResourceList",
  "description": "List of RecoveryPoint resources",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-backup-recoverypointsrecommendedformove-api-openapi.yml#/components/schemas/RecoveryPointResourceList",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "List of resources.",
      "items": {
        "$ref": "#/$defs/RecoveryPointResource"
      }
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ResourceList"
    }
  ],
  "$defs": {
    "Azure.Core.azureLocation": {
      "type": "string",
      "description": "Represents an Azure geography region where supported resource providers live."
    },
    "RecoveryPoint": {
      "type": "object",
      "description": "Base class for backup copies. Workload-specific backup copies are derived from this class.",
      "properties": {
        "objectType": {
          "type": "string",
          "description": "This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types."
        },
        "threatStatus": {
          "$ref": "#/$defs/ThreatStatus",
          "description": "Threat status of the recovery point"
        },
        "threatInfo": {
          "type": "array",
          "description": "Recovery point threat information.",
          "items": {
            "$ref": "#/$defs/ThreatInfo"
          },
          "x-ms-identifiers": []
        }
      },
      "required": [
        "objectType"
      ]
    },
    "RecoveryPointResource": {
      "type": "object",
      "description": "Base class for backup copies. Workload-specific backup copies are derived from this class.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/RecoveryPoint",
          "description": "RecoveryPointResource 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": "../../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource"
        }
      ]
    },
    "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."
        }
      }
    },
    "ThreatInfo": {
      "type": "object",
      "description": "Recovery Point Threat information",
      "properties": {
        "threatTitle": {
          "type": "string",
          "description": "Threat Subject",
          "readOnly": true
        },
        "threatDescription": {
          "type": "string",
          "description": "Threat Description",
          "readOnly": true
        },
        "lastUpdatedTime": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp when the last (latest)threat information was sent",
          "readOnly": true
        },
        "threatState": {
          "$ref": "#/$defs/ThreatState",
          "description": "Threat Status Types"
        },
        "threatStartTime": {
          "type": "string",
          "format": "date-time",
          "description": "Start timestamp of the threat",
          "readOnly": true
        },
        "threatEndTime": {
          "type": "string",
          "format": "date-time",
          "description": "End timestamp of the threat",
          "readOnly": true
        },
        "threatURI": {
          "type": "string",
          "format": "uri",
          "description": "threat details link",
          "readOnly": true
        },
        "threatSeverity": {
          "$ref": "#/$defs/ThreatSeverity",
          "description": "Threat Severity Types"
        }
      }
    },
    "ThreatSeverity": {
      "type": "string",
      "description": "Threat Severity Types",
      "enum": [
        "Critical",
        "High",
        "Warning",
        "Informational"
      ],
      "x-ms-enum": {
        "name": "ThreatSeverity",
        "modelAsString": true,
        "values": [
          {
            "name": "Critical",
            "value": "Critical",
            "description": "Critical severity level"
          },
          {
            "name": "High",
            "value": "High",
            "description": "High severity level"
          },
          {
            "name": "Warning",
            "value": "Warning",
            "description": "Warning severity level"
          },
          {
            "name": "Informational",
            "value": "Informational",
            "description": "Informational severity level"
          }
        ]
      }
    },
    "ThreatState": {
      "type": "string",
      "description": "Threat Status Types",
      "enum": [
        "Active",
        "InProgress",
        "Ignored",
        "Resolved"
      ],
      "x-ms-enum": {
        "name": "ThreatState",
        "modelAsString": true,
        "values": [
          {
            "name": "Active",
            "value": "Active",
            "description": "Threat is active"
          },
          {
            "name": "InProgress",
            "value": "InProgress",
            "description": "Threat remediation is in progress"
          },
          {
            "name": "Ignored",
            "value": "Ignored",
            "description": "Threat has been ignored"
          },
          {
            "name": "Resolved",
            "value": "Resolved",
            "description": "Threat has been resolved"
          }
        ]
      }
    },
    "ThreatStatus": {
      "type": "string",
      "description": "Threat status of the recovery point",
      "enum": [
        "Unknown",
        "Healthy",
        "UnHealthy",
        "Warning",
        "NotAvailable"
      ],
      "x-ms-enum": {
        "name": "ThreatStatus",
        "modelAsString": true,
        "values": [
          {
            "name": "Unknown",
            "value": "Unknown",
            "description": "Threat status is unknown"
          },
          {
            "name": "Healthy",
            "value": "Healthy",
            "description": "Recovery point is healthy"
          },
          {
            "name": "UnHealthy",
            "value": "UnHealthy",
            "description": "Recovery point is unhealthy"
          },
          {
            "name": "Warning",
            "value": "Warning",
            "description": "Recovery point has warning-level threats"
          },
          {
            "name": "NotAvailable",
            "value": "NotAvailable",
            "description": "Threat status is not available"
          }
        ]
      }
    }
  }
}