{
  "$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-schema.json",
  "title": "RecoveryPointResource",
  "description": "Base class for backup copies. Workload-specific backup copies are derived from this class.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-backup-recovery-points-api-openapi.yml#/components/schemas/RecoveryPointResource",
  "type": "object",
  "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": "#/$defs/ProxyResource"
    }
  ],
  "$defs": {
    "Azure.Core.azureLocation": {
      "type": "string",
      "description": "Represents an Azure geography region where supported resource providers live."
    },
    "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"
        }
      ]
    },
    "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"
      ]
    },
    "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
    },
    "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"
          }
        ]
      }
    },
    "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
    }
  }
}