{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure-storage-accounts/refs/heads/main/json-schema/azure-storage-accounts-restore-policy-properties-schema.json",
  "title": "RestorePolicyProperties",
  "description": "The blob service properties for blob restore policy",
  "properties": {
    "days": {
      "description": "how long this blob can be restored. It should be great than zero and less than DeleteRetentionPolicy.days.",
      "maximum": 365,
      "minimum": 1,
      "type": "integer"
    },
    "enabled": {
      "description": "Blob restore is enabled if set to true.",
      "type": "boolean"
    }
  },
  "type": "object",
  "required": [
    "enabled"
  ]
}