{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-site-recovery/json-schema/microsoft-azure-site-recovery-cluster-recovery-point-schema.json",
  "title": "ClusterRecoveryPoint",
  "description": "Recovery point.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-site-recovery-clusterrecoverypoint-api-openapi.yml#/components/schemas/ClusterRecoveryPoint",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "arm-id",
      "description": "The recovery point Id.",
      "x-ms-arm-id-details": {
        "allowedResources": [
          {
            "type": "Microsoft.RecoveryServices/vaults/replicationFabrics/replicationProtectionContainers/replicationProtectionClusters/recoveryPoints"
          }
        ]
      }
    },
    "name": {
      "type": "string",
      "description": "The recovery point name."
    },
    "type": {
      "type": "string",
      "description": "The resource type."
    },
    "properties": {
      "$ref": "#/$defs/ClusterRecoveryPointProperties",
      "description": "The recovery point properties."
    }
  },
  "$defs": {
    "ClusterProviderSpecificRecoveryPointDetails": {
      "type": "object",
      "description": "Replication provider specific cluster recovery point details.",
      "properties": {
        "instanceType": {
          "type": "string",
          "description": "Gets the provider type.",
          "readOnly": true
        }
      },
      "required": [
        "instanceType"
      ]
    },
    "ClusterRecoveryPointProperties": {
      "type": "object",
      "description": "Cluster recovery point properties.",
      "properties": {
        "recoveryPointTime": {
          "type": "string",
          "format": "date-time",
          "description": "The recovery point time."
        },
        "recoveryPointType": {
          "$ref": "#/$defs/ClusterRecoveryPointType",
          "description": "The recovery point type."
        },
        "providerSpecificDetails": {
          "$ref": "#/$defs/ClusterProviderSpecificRecoveryPointDetails",
          "description": "The provider specific details for the recovery point."
        }
      }
    },
    "ClusterRecoveryPointType": {
      "type": "string",
      "description": "The recovery point type.",
      "enum": [
        "NotSpecified",
        "ApplicationConsistent",
        "CrashConsistent"
      ],
      "x-ms-enum": {
        "name": "ClusterRecoveryPointType",
        "modelAsString": true,
        "values": [
          {
            "name": "NotSpecified",
            "value": "NotSpecified",
            "description": "NotSpecified"
          },
          {
            "name": "ApplicationConsistent",
            "value": "ApplicationConsistent",
            "description": "ApplicationConsistent"
          },
          {
            "name": "CrashConsistent",
            "value": "CrashConsistent",
            "description": "CrashConsistent"
          }
        ]
      }
    }
  }
}