{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-requestsby-hour-schema.json",
  "title": "RequestsbyHour",
  "description": "The information about the requests by hour.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-organization-requests-by-hour-api-openapi.yml#/components/schemas/RequestsbyHour",
  "type": "object",
  "properties": {
    "count": {
      "type": "number",
      "description": "The number of requests in the hour."
    },
    "counts": {
      "$ref": "#/$defs/RequestCounts"
    },
    "timestamp": {
      "$ref": "#/$defs/TimestampForBucket"
    },
    "date": {
      "$ref": "#/$defs/Date"
    },
    "time": {
      "$ref": "#/$defs/Time"
    }
  },
  "required": [
    "count",
    "counts",
    "date",
    "time",
    "timestamp"
  ],
  "$defs": {
    "Date": {
      "type": "string",
      "description": "The date from the timestamp based on the timezone parameter."
    },
    "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."
        }
      }
    },
    "Time": {
      "type": "string",
      "description": "The time in 24-hour format based on the timezone parameter."
    },
    "TimestampForBucket": {
      "type": "number",
      "description": "The timestamp represented in milliseconds for the bucket."
    }
  }
}