{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/editclips-online/json-schema/editclips-online-balance-schema.json",
  "title": "Balance",
  "x-generated": "2026-11-06",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/editclips-online-openapi.yaml#/components/schemas/Balance",
  "type": "object",
  "required": [
    "credits",
    "totalPurchased"
  ],
  "properties": {
    "credits": {
      "type": "integer",
      "description": "Available AI credits"
    },
    "totalPurchased": {
      "type": "integer",
      "description": "Lifetime purchased credits (excludes signup bonus)"
    }
  }
}