{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-synapse-analytics/json-schema/microsoft-azure-synapse-analytics-geo-backup-policy-schema.json",
  "title": "GeoBackupPolicy",
  "description": "A database geo backup policy.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-synapse-analytics-sqlpools-geobackuppolicies-api-openapi.yml#/components/schemas/GeoBackupPolicy",
  "type": "object",
  "properties": {
    "properties": {
      "$ref": "#/$defs/GeoBackupPolicyProperties",
      "description": "The properties of the geo backup policy.",
      "x-ms-client-flatten": true
    },
    "kind": {
      "readOnly": true,
      "type": "string",
      "description": "Kind of geo backup policy.  This is metadata used for the Azure portal experience."
    },
    "location": {
      "type": "string",
      "readOnly": true,
      "description": "Backup policy location."
    }
  },
  "required": [
    "properties"
  ],
  "allOf": [
    {
      "$ref": "#/$defs/ProxyResource"
    }
  ],
  "$defs": {
    "GeoBackupPolicyProperties": {
      "type": "object",
      "properties": {
        "state": {
          "type": "string",
          "description": "The state of the geo backup policy.",
          "enum": [
            "Disabled",
            "Enabled"
          ],
          "x-ms-enum": {
            "modelAsString": false,
            "name": "GeoBackupPolicyState"
          }
        },
        "storageType": {
          "type": "string",
          "description": "The storage type of the geo backup policy.",
          "readOnly": true
        }
      },
      "required": [
        "state"
      ],
      "description": "The properties of the geo backup policy."
    },
    "ProxyResource": {
      "title": "Proxy Resource",
      "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location",
      "type": "object",
      "allOf": [
        {
          "$ref": "#/$defs/Resource"
        }
      ]
    }
  }
}