{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frameo-ai/json-schema/frameo-ai-balance-schema.json",
  "title": "Balance",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frameo-ai-account-api-openapi.yml#/components/schemas/Balance",
  "properties": {
    "object": {
      "type": "string",
      "const": "balance",
      "title": "Object",
      "default": "balance"
    },
    "available_credits": {
      "type": "integer",
      "title": "Available Credits",
      "description": "What a generation can spend right now."
    },
    "plan": {
      "type": "string",
      "title": "Plan"
    },
    "renews_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Renews At"
    }
  },
  "type": "object",
  "required": [
    "available_credits",
    "plan"
  ]
}