{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/advisorppc-com/json-schema/advisorppc-com-balance-out-schema.json",
  "title": "BalanceOut",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/advisorppc-com-credits-api-openapi.yml#/components/schemas/BalanceOut",
  "properties": {
    "balance": {
      "type": "integer",
      "title": "Balance"
    },
    "tier": {
      "type": "string",
      "title": "Tier"
    },
    "weekly_usage_percent": {
      "type": "integer",
      "title": "Weekly Usage Percent"
    },
    "resets_at": {
      "type": "string",
      "title": "Resets At"
    },
    "included_available": {
      "type": "boolean",
      "title": "Included Available"
    },
    "extra_usage_units": {
      "type": "integer",
      "title": "Extra Usage Units"
    },
    "packs": {
      "items": {
        "$ref": "#/$defs/PackOut"
      },
      "type": "array",
      "title": "Packs"
    },
    "purchase_channel": {
      "type": "string",
      "title": "Purchase Channel"
    },
    "app_store_purchases_enabled": {
      "type": "boolean",
      "title": "App Store Purchases Enabled"
    }
  },
  "type": "object",
  "required": [
    "balance",
    "tier",
    "weekly_usage_percent",
    "resets_at",
    "included_available",
    "extra_usage_units",
    "packs",
    "purchase_channel",
    "app_store_purchases_enabled"
  ],
  "$defs": {
    "PackOut": {
      "properties": {
        "pack": {
          "type": "string",
          "title": "Pack"
        },
        "usd_cents": {
          "type": "integer",
          "title": "Usd Cents"
        },
        "credits": {
          "type": "integer",
          "title": "Credits"
        },
        "label": {
          "type": "string",
          "title": "Label"
        }
      },
      "type": "object",
      "required": [
        "pack",
        "usd_cents",
        "credits",
        "label"
      ],
      "title": "PackOut"
    }
  }
}