{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/zoho/main/json-schema/zoho-plan-info-response-schema.json",
  "title": "PlanInfoResponse",
  "description": "Detailed information about the current license plan.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zoho-license-api-openapi.yml#/components/schemas/PlanInfoResponse",
  "type": "object",
  "properties": {
    "planName": {
      "type": "string",
      "description": "The name of the current plan."
    },
    "planCode": {
      "type": "string",
      "description": "The unique code for the current plan."
    },
    "planStatus": {
      "type": "string",
      "description": "The current status of the plan (e.g., Active, Trial, Expired)."
    },
    "expiryDate": {
      "type": "integer",
      "format": "int64",
      "description": "The expiry date of the current plan represented as milliseconds since Unix epoch."
    },
    "billingCycle": {
      "type": "string",
      "description": "The billing cycle for the plan (e.g., Monthly, Annual)."
    },
    "storePlanId": {
      "type": "integer",
      "description": "The ID of the plan in the billing/store system."
    },
    "storeProfileId": {
      "type": "string",
      "description": "The ID of the profile in the billing/store system."
    },
    "previousPlanCode": {
      "type": [
        "string",
        "null"
      ],
      "description": "The code of the previous plan, if applicable."
    }
  }
}