{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/turbometrics-io/json-schema/turbometrics-io-account-schema.json",
  "title": "Account",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/turbometrics-io-openapi.json#/components/schemas/Account",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "plan": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "api_enabled": {
          "type": "boolean"
        },
        "api_daily_limit": {
          "type": "integer"
        }
      }
    },
    "api_usage": {
      "type": "object",
      "properties": {
        "used_today": {
          "type": "integer"
        },
        "limit_today": {
          "type": "integer"
        },
        "reset_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    },
    "rum": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "pageviews_this_month": {
          "type": [
            "integer",
            "null"
          ]
        },
        "monthly_limit": {
          "type": "integer"
        },
        "sites_count": {
          "type": "integer"
        }
      }
    }
  }
}