{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gntai-dev/json-schema/gntai-dev-billing-status-schema.json",
  "title": "BillingStatus",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gntai-dev-openapi.yml#/components/schemas/BillingStatus",
  "properties": {
    "entitled": {
      "type": "boolean",
      "title": "Entitled"
    },
    "subscription_status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Subscription Status"
    },
    "trial_ends_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Trial Ends At"
    },
    "plan_tier": {
      "type": "string",
      "title": "Plan Tier"
    },
    "monthly_actions_used": {
      "type": "integer",
      "title": "Monthly Actions Used"
    },
    "monthly_actions_cap": {
      "type": "integer",
      "title": "Monthly Actions Cap"
    },
    "cancel_at_period_end": {
      "type": "boolean",
      "title": "Cancel At Period End"
    },
    "current_period_end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Period End"
    }
  },
  "type": "object",
  "required": [
    "entitled",
    "subscription_status",
    "trial_ends_at",
    "plan_tier",
    "monthly_actions_used",
    "monthly_actions_cap",
    "cancel_at_period_end",
    "current_period_end"
  ]
}