{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/converly-io/json-schema/converly-io-paginated-plans-schema.json",
  "title": "PaginatedPlans",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/converly-io-plans-api-openapi.yml#/components/schemas/PaginatedPlans",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Plan"
      }
    },
    "has_more": {
      "type": "boolean"
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "data",
    "has_more",
    "next_cursor"
  ],
  "$defs": {
    "Plan": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "enum": [
            "standard",
            "premium",
            "enterprise"
          ]
        },
        "name": {
          "type": "string"
        },
        "price_monthly": {
          "type": "number",
          "description": "Monthly price in cents USD. 0 means custom (enterprise)."
        },
        "flows_limit": {
          "type": "number",
          "description": "-1 = unlimited"
        },
        "conversions_limit": {
          "type": "number",
          "description": "-1 = unlimited"
        },
        "flows_unlimited": {
          "type": "boolean",
          "description": "True when flows_limit is unlimited (mirrors -1)."
        },
        "conversions_unlimited": {
          "type": "boolean",
          "description": "True when conversions_limit is unlimited (mirrors -1)."
        },
        "is_enterprise": {
          "type": "boolean"
        }
      },
      "required": [
        "id",
        "name",
        "price_monthly",
        "flows_limit",
        "conversions_limit",
        "flows_unlimited",
        "conversions_unlimited",
        "is_enterprise"
      ]
    }
  }
}