{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-networking-services/json-schema/azure-networking-services-firewall-policy-rule-collection-group-list-result-schema.json",
  "title": "FirewallPolicyRuleCollectionGroupListResult",
  "description": "The response of a FirewallPolicyRuleCollectionGroup list operation.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-networking-services-firewallpolicyrulecollectiongroups-api-openapi.yml#/components/schemas/FirewallPolicyRuleCollectionGroupListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The FirewallPolicyRuleCollectionGroup items on this page",
      "items": {
        "$ref": "#/$defs/FirewallPolicyRuleCollectionGroup"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "FirewallPolicyRuleCollection": {
      "type": "object",
      "description": "Properties of the rule collection.",
      "properties": {
        "ruleCollectionType": {
          "$ref": "#/$defs/FirewallPolicyRuleCollectionType",
          "description": "The type of the rule collection."
        },
        "name": {
          "type": "string",
          "description": "The name of the rule collection."
        },
        "priority": {
          "type": "integer",
          "format": "int32",
          "description": "Priority of the Firewall Policy Rule Collection resource.",
          "minimum": 100,
          "maximum": 65000
        }
      },
      "required": [
        "ruleCollectionType"
      ]
    },
    "FirewallPolicyRuleCollectionGroup": {
      "type": "object",
      "description": "Rule Collection Group resource.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/FirewallPolicyRuleCollectionGroupProperties",
          "description": "The properties of the firewall policy rule collection group.",
          "x-ms-client-flatten": true
        },
        "etag": {
          "type": "string",
          "description": "A unique read-only string that changes whenever the resource is updated.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/SubResourceModel"
        }
      ]
    },
    "FirewallPolicyRuleCollectionGroupProperties": {
      "type": "object",
      "description": "Properties of the rule collection group.",
      "properties": {
        "size": {
          "type": "string",
          "description": "A read-only string that represents the size of the FirewallPolicyRuleCollectionGroupProperties in MB. (ex 1.2MB)",
          "readOnly": true
        },
        "priority": {
          "type": "integer",
          "format": "int32",
          "description": "Priority of the Firewall Policy Rule Collection Group resource.",
          "minimum": 100,
          "maximum": 65000
        },
        "ruleCollections": {
          "type": "array",
          "description": "Group of Firewall Policy rule collections.",
          "items": {
            "$ref": "#/$defs/FirewallPolicyRuleCollection"
          },
          "x-ms-identifiers": []
        },
        "provisioningState": {
          "$ref": "#/$defs/ProvisioningState",
          "description": "The provisioning state of the firewall policy rule collection group resource.",
          "readOnly": true
        }
      }
    },
    "FirewallPolicyRuleCollectionType": {
      "type": "string",
      "description": "The type of the rule collection.",
      "enum": [
        "FirewallPolicyNatRuleCollection",
        "FirewallPolicyFilterRuleCollection"
      ],
      "x-ms-enum": {
        "name": "FirewallPolicyRuleCollectionType",
        "modelAsString": true,
        "values": [
          {
            "name": "FirewallPolicyNatRuleCollection",
            "value": "FirewallPolicyNatRuleCollection",
            "description": "FirewallPolicyNatRuleCollection"
          },
          {
            "name": "FirewallPolicyFilterRuleCollection",
            "value": "FirewallPolicyFilterRuleCollection",
            "description": "FirewallPolicyFilterRuleCollection"
          }
        ]
      }
    },
    "ProvisioningState": {
      "type": "string",
      "description": "Provisioning states of a resource.",
      "enum": [
        "Failed",
        "Succeeded",
        "Canceled",
        "Creating",
        "Updating",
        "Deleting"
      ],
      "x-ms-enum": {
        "name": "ProvisioningState",
        "modelAsString": true,
        "values": [
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Failed"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Succeeded"
          },
          {
            "name": "Canceled",
            "value": "Canceled",
            "description": "Canceled"
          },
          {
            "name": "Creating",
            "value": "Creating",
            "description": "Creating"
          },
          {
            "name": "Updating",
            "value": "Updating",
            "description": "Updating"
          },
          {
            "name": "Deleting",
            "value": "Deleting",
            "description": "Deleting"
          }
        ]
      }
    },
    "SubResource": {
      "type": "object",
      "description": "Reference to another subresource.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Resource ID."
        }
      }
    },
    "SubResourceModel": {
      "type": "object",
      "description": "Reference to another subresource.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the resource."
        },
        "type": {
          "type": "string",
          "description": "Resource type.",
          "readOnly": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/SubResource"
        }
      ],
      "x-ms-azure-resource": true
    }
  }
}