{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/professionalaiagents-com/json-schema/professionalaiagents-com-public-account-out-schema.json",
  "title": "PublicAccountOut",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/seneca-research-openapi.json#/components/schemas/PublicAccountOut",
  "properties": {
    "plan": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Plan"
    },
    "subscription_status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Subscription Status"
    },
    "available_credits": {
      "type": "integer",
      "title": "Available Credits",
      "description": "Grants plus refunds minus reserves. A technical-failure refund increases this balance.",
      "default": 0
    },
    "entitled": {
      "type": "boolean",
      "title": "Entitled",
      "description": "True when this workspace may launch paid research through the API and MCP. Reads do not require it. Available credits do not make this true. The complimentary Wide Research gift is redeemed in the Seneca website and is not represented here.",
      "default": false
    },
    "monthly_credit_grant": {
      "type": "integer",
      "title": "Monthly Credit Grant",
      "description": "Monthly Research Credits for an active or trialing subscription. 0 when no paid grant is currently due, including a free, canceled, past-due, incomplete, or internal-only workspace.",
      "default": 0
    }
  },
  "additionalProperties": false,
  "type": "object"
}