{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-sql-database/json-schema/microsoft-azure-sql-database-long-term-retention-backup-operation-result-schema.json",
  "title": "LongTermRetentionBackupOperationResult",
  "description": "A LongTermRetentionBackup operation result resource.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-sql-database-longtermretentionbackups-api-openapi.yml#/components/schemas/LongTermRetentionBackupOperationResult",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/LongTermRetentionOperationResultProperties",
      "description": "Resource properties.",
      "x-ms-client-flatten": true
    }
  },
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "$defs": {
    "Azure.Core.uuid": {
      "type": "string",
      "format": "uuid",
      "description": "Universally Unique Identifier"
    },
    "BackupStorageRedundancy": {
      "type": "string",
      "description": "The storage account type used to store backups for this database.",
      "enum": [
        "Geo",
        "Local",
        "Zone",
        "GeoZone"
      ],
      "x-ms-enum": {
        "name": "BackupStorageRedundancy",
        "modelAsString": true,
        "values": [
          {
            "name": "Geo",
            "value": "Geo",
            "description": "Geo"
          },
          {
            "name": "Local",
            "value": "Local",
            "description": "Local"
          },
          {
            "name": "Zone",
            "value": "Zone",
            "description": "Zone"
          },
          {
            "name": "GeoZone",
            "value": "GeoZone",
            "description": "GeoZone"
          }
        ]
      }
    },
    "LongTermRetentionOperationResultProperties": {
      "type": "object",
      "description": "Contains the operation result properties for long term retention backup operation.",
      "properties": {
        "requestId": {
          "$ref": "#/$defs/Azure.Core.uuid",
          "description": "Request Id.",
          "readOnly": true
        },
        "operationType": {
          "type": "string",
          "description": "Operation type.",
          "readOnly": true
        },
        "fromBackupResourceId": {
          "type": "string",
          "description": "Source backup resource id",
          "readOnly": true
        },
        "toBackupResourceId": {
          "type": "string",
          "description": "Target backup resource id",
          "readOnly": true
        },
        "targetBackupStorageRedundancy": {
          "$ref": "#/$defs/BackupStorageRedundancy",
          "description": "The storage redundancy type of the copied backup",
          "readOnly": true
        },
        "status": {
          "type": "string",
          "description": "Operation status",
          "readOnly": true
        },
        "message": {
          "type": "string",
          "description": "Progress message",
          "readOnly": true
        }
      }
    },
    "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",
      "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
    }
  }
}