{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/noun-project/refs/heads/main/json-structure/noun-project-usage-response-structure.json",
  "name": "UsageResponse",
  "description": "Wrapper for the client usage response.",
  "type": "object",
  "properties": {
    "usage": {
      "type": "object",
      "description": "API key usage and quota information.",
      "properties": {
        "hourly": {
          "$ref": "#/components/schemas/UsageWindow"
        },
        "daily": {
          "$ref": "#/components/schemas/UsageWindow"
        },
        "monthly": {
          "$ref": "#/components/schemas/UsageWindow"
        }
      }
    },
    "generated_at": {
      "type": "datetime",
      "description": "ISO 8601 timestamp of when the response was generated.",
      "example": "2026-05-28T14:00:00Z"
    }
  },
  "required": [
    "usage"
  ]
}