{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-cdn/json-schema/microsoft-azure-cdn-managed-rule-set-definition-list-schema.json",
  "title": "ManagedRuleSetDefinitionList",
  "description": "List of managed rule set definitions available for use in a policy.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-cdn-subscriptions-api-openapi.yml#/components/schemas/ManagedRuleSetDefinitionList",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The ManagedRuleSetDefinition items on this page",
      "items": {
        "$ref": "#/$defs/ManagedRuleSetDefinition"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "ManagedRuleDefinition": {
      "type": "object",
      "description": "Describes a managed rule definition.",
      "properties": {
        "ruleId": {
          "type": "string",
          "description": "Identifier for the managed rule.",
          "readOnly": true
        },
        "description": {
          "type": "string",
          "description": "Describes the functionality of the managed rule.",
          "readOnly": true
        }
      }
    },
    "ManagedRuleGroupDefinition": {
      "type": "object",
      "description": "Describes a managed rule group.",
      "properties": {
        "ruleGroupName": {
          "type": "string",
          "description": "Name of the managed rule group.",
          "readOnly": true
        },
        "description": {
          "type": "string",
          "description": "Description of the managed rule group.",
          "readOnly": true
        },
        "rules": {
          "type": "array",
          "description": "List of rules within the managed rule group.",
          "items": {
            "$ref": "#/$defs/ManagedRuleDefinition"
          },
          "readOnly": true,
          "x-ms-identifiers": [
            "ruleId"
          ]
        }
      }
    },
    "ManagedRuleSetDefinition": {
      "type": "object",
      "description": "Describes a managed rule set definition.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ManagedRuleSetDefinitionProperties",
          "description": "Describes managed rule set definition properties.",
          "x-ms-client-flatten": true
        },
        "sku": {
          "$ref": "#/$defs/Sku",
          "description": "The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy."
        }
      },
      "allOf": [
        {
          "$ref": "../../../../../../common-types/resource-management/v6/types.json#/definitions/Resource"
        }
      ]
    },
    "ManagedRuleSetDefinitionProperties": {
      "type": "object",
      "description": "Properties for a managed rule set definition.",
      "properties": {
        "provisioningState": {
          "type": "string",
          "description": "Provisioning state of the managed rule set.",
          "readOnly": true
        },
        "ruleSetType": {
          "type": "string",
          "description": "Type of the managed rule set.",
          "readOnly": true
        },
        "ruleSetVersion": {
          "type": "string",
          "description": "Version of the managed rule set type.",
          "readOnly": true
        },
        "ruleGroups": {
          "type": "array",
          "description": "Rule groups of the managed rule set.",
          "items": {
            "$ref": "#/$defs/ManagedRuleGroupDefinition"
          },
          "readOnly": true,
          "x-ms-identifiers": [
            "ruleGroupName"
          ]
        }
      }
    },
    "Sku": {
      "type": "object",
      "description": "Standard_Verizon = The SKU name for a Standard Verizon CDN profile.\nPremium_Verizon = The SKU name for a Premium Verizon CDN profile.\nCustom_Verizon = The SKU name for a Custom Verizon CDN profile.\nStandard_Akamai = The SKU name for an Akamai CDN profile.\nStandard_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using GB based billing model.\nStandard_Microsoft = The SKU name for a Standard Microsoft CDN profile.\nStandard_AzureFrontDoor =  The SKU name for an Azure Front Door Standard profile.\nPremium_AzureFrontDoor = The SKU name for an Azure Front Door Premium profile.\nStandard_955BandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using 95-5 peak bandwidth billing model.\nStandard_AvgBandWidth_ChinaCdn = The SKU name for a China CDN profile for VOD, Web and download scenarios using monthly average peak bandwidth billing model.\nStandardPlus_ChinaCdn = The SKU name for a China CDN profile for live-streaming using GB based billing model.\nStandardPlus_955BandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using 95-5 peak bandwidth billing model.\nStandardPlus_AvgBandWidth_ChinaCdn = The SKU name for a China CDN live-streaming profile using monthly average peak bandwidth billing model.",
      "properties": {
        "name": {
          "$ref": "#/$defs/SkuName",
          "description": "Name of the pricing tier."
        }
      }
    },
    "SkuName": {
      "type": "string",
      "description": "Name of the pricing tier.",
      "enum": [
        "Standard_Verizon",
        "Premium_Verizon",
        "Custom_Verizon",
        "Standard_Akamai",
        "Standard_ChinaCdn",
        "Standard_Microsoft",
        "Standard_AzureFrontDoor",
        "Premium_AzureFrontDoor",
        "Standard_955BandWidth_ChinaCdn",
        "Standard_AvgBandWidth_ChinaCdn",
        "StandardPlus_ChinaCdn",
        "StandardPlus_955BandWidth_ChinaCdn",
        "StandardPlus_AvgBandWidth_ChinaCdn"
      ],
      "x-ms-enum": {
        "name": "SkuName",
        "modelAsString": true,
        "values": [
          {
            "name": "Standard_Verizon",
            "value": "Standard_Verizon"
          },
          {
            "name": "Premium_Verizon",
            "value": "Premium_Verizon"
          },
          {
            "name": "Custom_Verizon",
            "value": "Custom_Verizon"
          },
          {
            "name": "Standard_Akamai",
            "value": "Standard_Akamai"
          },
          {
            "name": "Standard_ChinaCdn",
            "value": "Standard_ChinaCdn"
          },
          {
            "name": "Standard_Microsoft",
            "value": "Standard_Microsoft"
          },
          {
            "name": "Standard_AzureFrontDoor",
            "value": "Standard_AzureFrontDoor"
          },
          {
            "name": "Premium_AzureFrontDoor",
            "value": "Premium_AzureFrontDoor"
          },
          {
            "name": "Standard_955BandWidth_ChinaCdn",
            "value": "Standard_955BandWidth_ChinaCdn"
          },
          {
            "name": "Standard_AvgBandWidth_ChinaCdn",
            "value": "Standard_AvgBandWidth_ChinaCdn"
          },
          {
            "name": "StandardPlus_ChinaCdn",
            "value": "StandardPlus_ChinaCdn"
          },
          {
            "name": "StandardPlus_955BandWidth_ChinaCdn",
            "value": "StandardPlus_955BandWidth_ChinaCdn"
          },
          {
            "name": "StandardPlus_AvgBandWidth_ChinaCdn",
            "value": "StandardPlus_AvgBandWidth_ChinaCdn"
          }
        ]
      }
    }
  }
}