{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cqnce-app/json-schema/cqnce-app-subscription-plan-schema.json",
  "title": "SubscriptionPlan",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cqnce-app-openapi.yml#/components/schemas/SubscriptionPlan",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "monthlyPriceInCents": {
      "type": [
        "integer",
        "null"
      ]
    },
    "stripePriceId": {
      "type": [
        "string",
        "null"
      ]
    },
    "features": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "included": {
            "type": "boolean"
          }
        }
      }
    },
    "sortOrder": {
      "type": "integer"
    },
    "isPopular": {
      "type": "boolean"
    },
    "maxProjects": {
      "type": [
        "integer",
        "null"
      ]
    },
    "maxAgents": {
      "type": [
        "integer",
        "null"
      ]
    },
    "maxRequestsPerMonth": {
      "type": [
        "integer",
        "null"
      ]
    },
    "maxTeams": {
      "type": [
        "integer",
        "null"
      ]
    },
    "maxRoutingRulesPerProject": {
      "type": [
        "integer",
        "null"
      ]
    },
    "isActive": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}