{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/corapilot-com/json-schema/corapilot-com-subscription-status-out-schema.json",
  "title": "SubscriptionStatusOut",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/corapilot-com-openapi.yml#/components/schemas/SubscriptionStatusOut",
  "properties": {
    "status": {
      "type": "string",
      "title": "Status"
    },
    "on_trial": {
      "type": "boolean",
      "title": "On Trial"
    },
    "trial_days_left": {
      "type": "integer",
      "title": "Trial Days Left"
    },
    "needs_subscription": {
      "type": "boolean",
      "title": "Needs Subscription"
    },
    "current_period_end": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Period End"
    },
    "price_monthly_cents": {
      "type": "integer",
      "title": "Price Monthly Cents"
    },
    "price_yearly_cents": {
      "type": "integer",
      "title": "Price Yearly Cents"
    },
    "trial_days": {
      "type": "integer",
      "title": "Trial Days"
    }
  },
  "type": "object",
  "required": [
    "status",
    "on_trial",
    "trial_days_left",
    "needs_subscription",
    "price_monthly_cents",
    "price_yearly_cents",
    "trial_days"
  ]
}