{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-top-destination-schema.json",
  "title": "TopDestination",
  "description": "The information about the top destination requests.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-top-destinations-api-openapi.yml#/components/schemas/TopDestination",
  "type": "object",
  "properties": {
    "bandwidth": {
      "$ref": "#/$defs/bandwidth"
    },
    "rank": {
      "$ref": "#/$defs/rank"
    },
    "domain": {
      "type": "string",
      "description": "The domain name."
    },
    "count": {
      "type": "number",
      "description": "The total number of requests made for this destination."
    },
    "counts": {
      "$ref": "#/$defs/RequestCounts"
    },
    "categories": {
      "$ref": "#/$defs/categories"
    },
    "policycategories": {
      "type": "array",
      "description": "The policy categories that are associated with the destination.",
      "items": {
        "$ref": "#/$defs/Category"
      }
    }
  },
  "required": [
    "bandwidth",
    "categories",
    "count",
    "counts",
    "domain",
    "policycategories",
    "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."
        }
      }
    },
    "RequestCounts": {
      "type": "object",
      "description": "The information about the requests.",
      "properties": {
        "requests": {
          "type": "number",
          "description": "The total number of requests."
        },
        "allowedrequests": {
          "type": "number",
          "description": "The number of requests that were allowed."
        },
        "blockedrequests": {
          "type": "number",
          "description": "The number of requests that were blocked."
        }
      }
    },
    "bandwidth": {
      "type": [
        "number",
        "null"
      ],
      "description": "The amount of bandwidth"
    },
    "categories": {
      "type": "array",
      "description": "The list of categories.",
      "items": {
        "$ref": "#/$defs/Category"
      }
    },
    "rank": {
      "type": "number",
      "description": "The rank of the result based on the number of requests."
    }
  }
}