{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/framefetch-net/json-schema/framefetch-net-usage-result-schema.json",
  "title": "UsageResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/framefetch-net-usage-api-openapi.yml#/components/schemas/UsageResult",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "bucket": {
            "type": "string",
            "description": "'YYYY-MM-DD' for group=day; the endpoint string (or 'unattributed') for group=endpoint."
          },
          "calls": {
            "type": "integer"
          },
          "cost_micros": {
            "type": "integer"
          }
        }
      }
    },
    "total_micros": {
      "type": "integer"
    }
  }
}