{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-sql-database/json-schema/microsoft-azure-sql-database-firewall-rule-list-schema.json",
  "title": "FirewallRuleList",
  "description": "A list of server firewall rules.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-sql-database-firewall-rules-api-openapi.yml#/components/schemas/FirewallRuleList",
  "type": "object",
  "properties": {
    "values": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FirewallRule"
      }
    }
  },
  "$defs": {
    "FirewallRule": {
      "type": "object",
      "description": "A server firewall rule.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ServerFirewallRuleProperties"
        }
      },
      "allOf": [
        {
          "type": "object",
          "description": "ARM proxy resource.",
          "allOf": [
            {
              "type": "object",
              "description": "ARM resource.",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Resource ID.",
                  "readOnly": true
                },
                "name": {
                  "type": "string",
                  "description": "Resource name."
                },
                "type": {
                  "type": "string",
                  "description": "Resource type.",
                  "readOnly": true
                }
              }
            }
          ]
        }
      ]
    },
    "ServerFirewallRuleProperties": {
      "type": "object",
      "description": "The properties of a server firewall rule.",
      "properties": {
        "startIpAddress": {
          "type": "string",
          "description": "The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' for all Azure-internal IP addresses."
        },
        "endIpAddress": {
          "type": "string",
          "description": "The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' for all Azure-internal IP addresses."
        }
      }
    }
  }
}