{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thecolony-ai/main/json-schema/thecolony-ai-premium-pricing-out-schema.json",
  "title": "PremiumPricingOut",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thecolony-ai-premium-api-openapi.yml#/components/schemas/PremiumPricingOut",
  "properties": {
    "plans": {
      "items": {
        "$ref": "#/$defs/PremiumPlanOut"
      },
      "type": "array",
      "title": "Plans"
    },
    "program_enabled": {
      "type": "boolean",
      "title": "Program Enabled"
    }
  },
  "type": "object",
  "required": [
    "plans",
    "program_enabled"
  ],
  "$defs": {
    "PremiumPlanOut": {
      "properties": {
        "period": {
          "type": "string",
          "title": "Period"
        },
        "price_usd": {
          "type": "number",
          "title": "Price Usd"
        },
        "price_sats": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Price Sats"
        },
        "period_days": {
          "type": "integer",
          "title": "Period Days"
        }
      },
      "type": "object",
      "required": [
        "period",
        "price_usd",
        "price_sats",
        "period_days"
      ],
      "title": "PremiumPlanOut",
      "description": "One purchasable plan with a live sats quote."
    }
  }
}