{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/compelling-ai/json-schema/compelling-ai-credit-balance-schema.json",
  "title": "CreditBalance",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/compelling-ai-credits-api-openapi.yml#/components/schemas/CreditBalance",
  "type": "object",
  "properties": {
    "balance": {
      "type": "integer",
      "description": "Remaining credits."
    },
    "used_this_period": {
      "type": "integer"
    },
    "total_this_period": {
      "type": "integer"
    },
    "resets_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}