{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/logbrew/json-schema/logbrew-legacy-log-usage-response-schema.json",
  "title": "LegacyLogUsageResponse",
  "description": "Legacy log usage response consumed by current mobile clients.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/logbrew-logs-api-openapi.yml#/components/schemas/LegacyLogUsageResponse",
  "properties": {
    "bytes_used": {
      "description": "Raw log bytes used in the active account usage period.",
      "format": "int64",
      "type": "integer"
    },
    "limit_bytes": {
      "description": "Raw byte limit for old clients that only understand byte quotas.",
      "format": "int64",
      "type": "integer"
    },
    "month": {
      "description": "Usage month in `YYYY-MM` form.",
      "type": "string"
    }
  },
  "required": [
    "bytes_used",
    "limit_bytes",
    "month"
  ],
  "type": "object"
}