{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/griffnode-com/json-schema/griffnode-com-plan-schema.json",
  "title": "Plan",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/griffnode-com-api-openapi.yml#/components/schemas/Plan",
  "type": "object",
  "properties": {
    "tier": {
      "$ref": "#/$defs/PlanTier"
    },
    "monthly_price_usd": {
      "type": [
        "number",
        "null"
      ]
    },
    "yearly_price_usd": {
      "type": [
        "number",
        "null"
      ]
    },
    "monthly_transaction_limit": {
      "type": [
        "integer",
        "null"
      ]
    },
    "overage_cost_per_tx": {
      "type": "number",
      "deprecated": true,
      "description": "Always 0. Plans have a hard monthly limit and no overage."
    },
    "webhook_support": {
      "type": "boolean"
    },
    "webhook_limit": {
      "type": [
        "integer",
        "null"
      ]
    },
    "ip_whitelist": {
      "type": "boolean"
    },
    "api_rate_limit_per_minute": {
      "type": "integer"
    },
    "api_rate_limit_per_hour": {
      "type": "integer"
    },
    "custom_pricing": {
      "type": "boolean"
    }
  },
  "$defs": {
    "PlanTier": {
      "type": "string",
      "enum": [
        "starter",
        "business",
        "professional",
        "enterprise"
      ]
    }
  }
}