{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-top-category-schema.json",
  "title": "TopCategory",
  "description": "The information about the top category requests.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-top-categories-api-openapi.yml#/components/schemas/TopCategory",
  "type": "object",
  "properties": {
    "rank": {
      "$ref": "#/$defs/rank"
    },
    "category": {
      "$ref": "#/$defs/Category"
    },
    "count": {
      "type": "number",
      "description": "The number of requests that match this category."
    },
    "bandwidth": {
      "$ref": "#/$defs/bandwidth"
    }
  },
  "required": [
    "category",
    "count",
    "rank"
  ],
  "$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."
        }
      }
    },
    "bandwidth": {
      "type": [
        "number",
        "null"
      ],
      "description": "The amount of bandwidth"
    },
    "rank": {
      "type": "number",
      "description": "The rank of the result based on the number of requests."
    }
  }
}