{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/framefetch-net/json-schema/framefetch-net-account-summary-schema.json",
  "title": "AccountSummary",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/framefetch-net-openapi.json#/components/schemas/AccountSummary",
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email"
    },
    "created_at": {
      "type": "string",
      "description": "ISO-8601 signup timestamp"
    },
    "balance_micros": {
      "type": "integer",
      "description": "Current credit balance, micro-USD"
    },
    "spend_today_micros": {
      "type": "integer"
    },
    "spend_month_micros": {
      "type": "integer",
      "description": "Spend so far in the current UTC calendar month"
    },
    "limits": {
      "type": "object",
      "description": "Current LIMITS (maxFrames, maxDurationSec, maxVideoBytes, maxTextOverlayFrames, maxBatchUrls, maxWatchSubscriptions)"
    },
    "auto_topup": {
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "threshold_micros": {
          "type": [
            "integer",
            "null"
          ]
        },
        "amount_micros": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    }
  }
}