{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/spendnod-com/json-schema/spendnod-com-usage-response-schema.json",
  "title": "UsageResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/spendnod-com-openapi.json#/components/schemas/UsageResponse",
  "properties": {
    "plan": {
      "type": "string",
      "title": "Plan"
    },
    "authorizations_this_month": {
      "type": "integer",
      "title": "Authorizations This Month"
    },
    "requests_limit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Requests Limit"
    },
    "agents_active": {
      "type": "integer",
      "title": "Agents Active"
    },
    "agents_limit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Agents Limit"
    },
    "available_upgrades": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Available Upgrades"
    },
    "has_billing_account": {
      "type": "boolean",
      "title": "Has Billing Account"
    }
  },
  "type": "object",
  "required": [
    "plan",
    "authorizations_this_month",
    "requests_limit",
    "agents_active",
    "agents_limit",
    "available_upgrades",
    "has_billing_account"
  ]
}