{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-sql-database/json-schema/microsoft-azure-sql-database-backup-short-term-retention-policy-list-result-schema.json",
  "title": "BackupShortTermRetentionPolicyListResult",
  "description": "The response of a BackupShortTermRetentionPolicy list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-sql-database-backupshorttermretentionpolicies-api-openapi.yml#/components/schemas/BackupShortTermRetentionPolicyListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The BackupShortTermRetentionPolicy items on this page",
      "items": {
        "$ref": "#/$defs/BackupShortTermRetentionPolicy"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "BackupShortTermRetentionPolicy": {
      "type": "object",
      "description": "A short term retention policy.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/BackupShortTermRetentionPolicyProperties",
          "description": "Resource properties.",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "BackupShortTermRetentionPolicyProperties": {
      "type": "object",
      "description": "Properties of a short term retention policy",
      "properties": {
        "retentionDays": {
          "type": "integer",
          "format": "int32",
          "description": "The backup retention period in days. This is how many days Point-in-Time Restore will be supported."
        },
        "diffBackupIntervalInHours": {
          "$ref": "#/$defs/DiffBackupIntervalInHours",
          "description": "The differential backup interval in hours. This is how many interval hours between each differential backup will be supported. This is only applicable to live databases but not dropped databases."
        }
      }
    },
    "DiffBackupIntervalInHours": {
      "type": "number",
      "description": "The differential backup interval in hours. This is how many interval hours between each differential backup will be supported. This is only applicable to live databases but not dropped databases.",
      "enum": [
        12,
        24
      ],
      "x-ms-enum": {
        "name": "DiffBackupIntervalInHours",
        "modelAsString": true,
        "values": [
          {
            "name": "12",
            "value": 12,
            "description": "12"
          },
          {
            "name": "24",
            "value": 24,
            "description": "24"
          }
        ]
      }
    },
    "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"
        }
      ]
    }
  }
}