{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/compeller-ai/json-schema/compeller-ai-pricing-response-schema.json",
  "title": "PricingResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/compeller-ai-discovery-api-openapi.yml#/components/schemas/PricingResponse",
  "type": "object",
  "required": [
    "productName",
    "version",
    "plans"
  ],
  "properties": {
    "productName": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "plans": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PlanDescriptor"
      }
    }
  },
  "$defs": {
    "PlanDescriptor": {
      "type": "object",
      "required": [
        "id",
        "name",
        "monthlyUsd",
        "minutePrice",
        "minuteAllowance",
        "recommended",
        "features"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Plan code."
        },
        "name": {
          "type": "string"
        },
        "monthlyUsd": {
          "type": "number",
          "description": "Monthly subscription amount in USD (0 for FREE and the FLEXIBLE pay-as-you-go plan)."
        },
        "minutePrice": {
          "type": "number",
          "description": "USD charged per additional render minute beyond the monthly allowance."
        },
        "minuteAllowance": {
          "type": "integer",
          "description": "Render minutes included per month."
        },
        "recommended": {
          "type": "boolean",
          "description": "Whether this plan carries the \"most popular\" badge."
        },
        "features": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}