{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-requests-schema.json",
  "title": "requests",
  "description": "The information about the API requests.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-api-usage-report-api-openapi.yml#/components/schemas/requests",
  "type": "object",
  "required": [
    "from",
    "to",
    "count",
    "items"
  ],
  "properties": {
    "from": {
      "$ref": "#/$defs/from"
    },
    "to": {
      "$ref": "#/$defs/to"
    },
    "count": {
      "$ref": "#/$defs/count"
    },
    "items": {
      "$ref": "#/$defs/requestsInformation"
    }
  },
  "$defs": {
    "count": {
      "type": "integer",
      "format": "int32",
      "description": "The total number of API requests."
    },
    "from": {
      "type": "string",
      "description": "The date and time where to start reading in the collection."
    },
    "requestDetailsList": {
      "type": "array",
      "description": "The list of API request information.",
      "items": {
        "type": "object",
        "required": [
          "path",
          "verb",
          "count"
        ],
        "properties": {
          "path": {
            "type": "string",
            "description": "The path of the API endpoint."
          },
          "verb": {
            "type": "string",
            "description": "The name of the API operation."
          },
          "count": {
            "type": "integer",
            "description": "The number of requests to the API endpoint.",
            "format": "int64"
          }
        }
      }
    },
    "requestsInformation": {
      "type": "array",
      "description": "The information about the API requests.",
      "items": {
        "type": "object",
        "required": [
          "userAgent",
          "count",
          "requests"
        ],
        "properties": {
          "userAgent": {
            "type": "string",
            "description": "The name of the client program."
          },
          "count": {
            "$ref": "#/$defs/count"
          },
          "requests": {
            "$ref": "#/$defs/requestDetailsList"
          }
        }
      }
    },
    "to": {
      "type": "string",
      "description": "The date and time where to stop reading in the collection."
    }
  }
}