{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-data-lake/json-schema/microsoft-azure-data-lake-create-or-update-firewall-rule-parameters-schema.json",
  "title": "CreateOrUpdateFirewallRuleParameters",
  "description": "The parameters used to create a new firewall rule.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-data-lake-firewall-rules-api-openapi.yml#/components/schemas/CreateOrUpdateFirewallRuleParameters",
  "required": [
    "properties"
  ],
  "properties": {
    "properties": {
      "x-ms-client-flatten": true,
      "$ref": "#/$defs/CreateOrUpdateFirewallRuleProperties",
      "description": "The firewall rule properties to use when creating a new firewall rule."
    }
  },
  "$defs": {
    "CreateOrUpdateFirewallRuleProperties": {
      "required": [
        "startIpAddress",
        "endIpAddress"
      ],
      "properties": {
        "startIpAddress": {
          "type": "string",
          "description": "The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol."
        },
        "endIpAddress": {
          "type": "string",
          "description": "The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol."
        }
      },
      "description": "The firewall rule properties to use when creating a new firewall rule."
    }
  }
}