{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/redreplier-com/json-schema/redreplier-com-keyword-billing-preview-schema.json",
  "title": "KeywordBillingPreview",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/redreplier-com-openapi.json#/components/schemas/KeywordBillingPreview",
  "type": "object",
  "properties": {
    "currentPlanName": {
      "type": [
        "string",
        "null"
      ]
    },
    "currentMonthlyPrice": {
      "type": "number"
    },
    "targetPlanName": {
      "type": [
        "string",
        "null"
      ]
    },
    "targetMonthlyPrice": {
      "type": "number"
    },
    "targetKeywords": {
      "type": "integer",
      "description": "Active keywords the target plan allows."
    },
    "immediateCharge": {
      "type": "number",
      "description": "Prorated amount charged now, 0 unless this is an upgrade."
    },
    "isUpgrade": {
      "type": "boolean"
    },
    "isDowngrade": {
      "type": "boolean"
    },
    "requiresImmediatePayment": {
      "type": "boolean"
    }
  }
}