{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-requestsby-category-schema.json",
  "title": "RequestsbyCategory",
  "description": "The information about the requests by category.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-provider-requests-by-category-api-openapi.yml#/components/schemas/RequestsbyCategory",
  "type": "object",
  "properties": {
    "category": {
      "$ref": "#/$defs/Category"
    },
    "counts": {
      "$ref": "#/$defs/ProviderCountsByCategory"
    }
  },
  "required": [
    "category",
    "counts"
  ],
  "$defs": {
    "Category": {
      "type": "object",
      "description": "The properties of the category.",
      "properties": {
        "id": {
          "type": "number",
          "description": "The ID of the category."
        },
        "label": {
          "type": "string",
          "description": "The descriptive label for the category."
        },
        "type": {
          "type": "string",
          "description": "The type of the category."
        },
        "integration": {
          "type": "boolean",
          "description": "Specifies whether the category is an integration."
        },
        "deprecated": {
          "type": "boolean",
          "description": "Specifies whether the category is a legacy category."
        }
      }
    },
    "ProviderCountsByCategory": {
      "type": "object",
      "description": "The information about the provider's categories.",
      "properties": {
        "total": {
          "type": "number",
          "description": "The total number of requests."
        },
        "totalblocked": {
          "type": "number",
          "description": "The total number of blocked requests."
        },
        "numberoforganizationsaffected": {
          "type": "number",
          "description": "The number of organizations with traffic for that category."
        }
      },
      "required": [
        "numberoforganizationsaffected",
        "total",
        "totalblocked"
      ]
    }
  }
}