{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grafomem-com/json-schema/grafomem-com-usage-summary-response-schema.json",
  "title": "UsageSummaryResponse",
  "description": "Aggregated usage for a billing period.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grafomem-com-cloud-management-api-openapi.yml#/components/schemas/UsageSummaryResponse",
  "properties": {
    "tenant_id": {
      "type": "string",
      "title": "Tenant Id"
    },
    "period": {
      "type": "string",
      "title": "Period"
    },
    "writes": {
      "type": "integer",
      "title": "Writes",
      "default": 0
    },
    "reads": {
      "type": "integer",
      "title": "Reads",
      "default": 0
    },
    "deletes": {
      "type": "integer",
      "title": "Deletes",
      "default": 0
    },
    "supersedes": {
      "type": "integer",
      "title": "Supersedes",
      "default": 0
    },
    "total_bytes": {
      "type": "integer",
      "title": "Total Bytes",
      "default": 0
    },
    "total_operations": {
      "type": "integer",
      "title": "Total Operations",
      "default": 0
    }
  },
  "type": "object",
  "required": [
    "tenant_id",
    "period"
  ]
}