{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tapetide-com/json-schema/tapetide-com-ipo-schema.json",
  "title": "Ipo",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tapetide-com-openapi.json#/components/schemas/Ipo",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "URL identifier for `/v1/ipos/{ipo_slug}`, derived from the company name and the year bidding opened."
    },
    "company": {
      "type": "string",
      "description": "Issuer name."
    },
    "symbol": {
      "type": [
        "string",
        "null"
      ],
      "description": "Stock symbol once listed; null before listing."
    },
    "isin": {
      "type": [
        "string",
        "null"
      ],
      "description": "ISIN when published."
    },
    "status": {
      "type": "string",
      "enum": [
        "upcoming",
        "open",
        "closed",
        "listed",
        "announced"
      ],
      "description": "announced (no dates set), upcoming, open, closed (bidding over, before listing), listed."
    },
    "board": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "mainboard",
            "sme"
          ]
        },
        {
          "type": "null"
        }
      ],
      "description": "mainboard or sme (small and medium enterprise platform)."
    },
    "exchange": {
      "type": [
        "string",
        "null"
      ],
      "description": "Listing exchange when published, e.g. NSE or BSE."
    },
    "open_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "First bidding day (YYYY-MM-DD)."
    },
    "close_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Last bidding day (YYYY-MM-DD)."
    },
    "allotment_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Basis-of-allotment date (YYYY-MM-DD)."
    },
    "listing_date": {
      "type": [
        "string",
        "null"
      ],
      "description": "Listing date (YYYY-MM-DD); the scheduled date before listing."
    },
    "price_band_low": {
      "type": [
        "number",
        "null"
      ],
      "description": "Lower end of the price band, INR per share."
    },
    "price_band_high": {
      "type": [
        "number",
        "null"
      ],
      "description": "Upper end of the price band, INR per share."
    },
    "issue_price": {
      "type": [
        "number",
        "null"
      ],
      "description": "Final issue price, INR per share; null until fixed."
    },
    "lot_size": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "description": "Shares per bid lot."
    },
    "issue_size_cr": {
      "type": [
        "number",
        "null"
      ],
      "description": "Total issue size in INR crore."
    },
    "subscription_total": {
      "type": [
        "number",
        "null"
      ],
      "description": "Overall subscription, times (e.g. 4.97 = 4.97x). Null until bidding data is published."
    },
    "listing_price": {
      "type": [
        "number",
        "null"
      ],
      "description": "Listing-day open price, INR; null until listed."
    },
    "listing_gain_pct": {
      "type": [
        "number",
        "null"
      ],
      "description": "Listing-day open vs issue price, percent (1.5 = 1.5%)."
    },
    "face_value": {
      "type": [
        "number",
        "null"
      ],
      "description": "Face value per share, INR."
    },
    "fresh_issue_cr": {
      "type": [
        "number",
        "null"
      ],
      "description": "Fresh-issue component in INR crore."
    },
    "offer_for_sale_cr": {
      "type": [
        "number",
        "null"
      ],
      "description": "Offer-for-sale component in INR crore."
    },
    "listing_day_close": {
      "type": [
        "number",
        "null"
      ],
      "description": "Listing-day closing price, INR."
    },
    "listing_day_close_gain_pct": {
      "type": [
        "number",
        "null"
      ],
      "description": "Listing-day close vs issue price, percent."
    },
    "about": {
      "type": [
        "string",
        "null"
      ],
      "description": "Issuer business description from the offer document."
    },
    "registrar": {
      "type": [
        "string",
        "null"
      ],
      "description": "Registrar to the issue."
    },
    "lead_managers": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Book-running lead managers."
    },
    "draft_prospectus_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Public URL of the draft red herring prospectus (regulator or exchange site)."
    },
    "prospectus_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Public URL of the red herring prospectus or final prospectus."
    },
    "subscription": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "enum": [
              "qib",
              "nii",
              "bhni",
              "shni",
              "retail",
              "employee",
              "shareholder",
              "total"
            ],
            "description": "Investor category: qib (qualified institutional buyers), nii (all non-institutional), bhni/shni (big / small high-net-worth, the two NII sub-buckets), retail, employee, shareholder, total."
          },
          "times": {
            "type": [
              "number",
              "null"
            ],
            "description": "Times subscribed (bids / shares offered), e.g. 6.17 = 6.17x."
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ],
            "description": "When this figure was last updated (ISO-8601, UTC)."
          }
        },
        "required": [
          "category",
          "times",
          "as_of"
        ],
        "additionalProperties": false
      },
      "description": "Latest subscription by investor category."
    },
    "timetable": {
      "type": "object",
      "properties": {
        "open_date": {
          "type": [
            "string",
            "null"
          ],
          "description": "First bidding day (YYYY-MM-DD)."
        },
        "close_date": {
          "type": [
            "string",
            "null"
          ],
          "description": "Last bidding day (YYYY-MM-DD)."
        },
        "allotment_date": {
          "type": [
            "string",
            "null"
          ],
          "description": "Basis-of-allotment date (YYYY-MM-DD)."
        },
        "refund_date": {
          "type": [
            "string",
            "null"
          ],
          "description": "Refunds / unblocking of funds for unallotted bids start (YYYY-MM-DD)."
        },
        "demat_credit_date": {
          "type": [
            "string",
            "null"
          ],
          "description": "Allotted shares credited to demat accounts (YYYY-MM-DD)."
        },
        "listing_date": {
          "type": [
            "string",
            "null"
          ],
          "description": "Listing date (YYYY-MM-DD); the scheduled date before listing."
        }
      },
      "required": [
        "open_date",
        "close_date",
        "allotment_date",
        "refund_date",
        "demat_credit_date",
        "listing_date"
      ],
      "additionalProperties": false,
      "description": "Issue timetable; dates before allotment are scheduled until they pass."
    },
    "lots": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "lot_size": {
              "type": "integer",
              "description": "Shares per lot."
            },
            "price": {
              "type": "number",
              "description": "Price the amounts are computed at: the issue price once fixed, else the top of the band."
            },
            "minimum_application_lots": {
              "type": "integer",
              "description": "Smallest application in lots (1 on the main board; SME issues usually 2)."
            },
            "categories": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "category": {
                    "type": "string",
                    "enum": [
                      "retail",
                      "shni",
                      "bhni"
                    ],
                    "description": "retail (main board: applications up to INR 2 lakh; SME: individual investors, minimum application only), shni (small NII, up to INR 10 lakh), bhni (big NII, above INR 10 lakh)."
                  },
                  "min_lots": {
                    "type": "integer",
                    "description": "Smallest application in this category, in lots."
                  },
                  "max_lots": {
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Largest application in this category, in lots; null for bhni, which is bounded only by the category size."
                  },
                  "min_amount": {
                    "type": "number",
                    "description": "INR value of `min_lots` at the cut-off price."
                  },
                  "max_amount": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "INR value of `max_lots` at the cut-off price."
                  }
                },
                "required": [
                  "category",
                  "min_lots",
                  "max_lots",
                  "min_amount",
                  "max_amount"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "lot_size",
            "price",
            "minimum_application_lots",
            "categories"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Minimum and maximum application per bidding category at the cut-off price; null until the lot size and price are known."
    },
    "reservation": {
      "type": "object",
      "properties": {
        "anchor": {
          "type": [
            "number",
            "null"
          ],
          "description": "Shares allocated to anchor investors, out of the QIB portion."
        },
        "qib": {
          "type": [
            "number",
            "null"
          ],
          "description": "Shares offered to qualified institutional buyers in bidding (excluding the anchor portion)."
        },
        "nii": {
          "type": [
            "number",
            "null"
          ],
          "description": "Shares offered to non-institutional investors (bhni + shni)."
        },
        "bhni": {
          "type": [
            "number",
            "null"
          ],
          "description": "Shares offered to big NII (applications above INR 10 lakh)."
        },
        "shni": {
          "type": [
            "number",
            "null"
          ],
          "description": "Shares offered to small NII (applications above INR 2 lakh and up to INR 10 lakh)."
        },
        "retail": {
          "type": [
            "number",
            "null"
          ],
          "description": "Shares offered to retail individual investors."
        },
        "employee": {
          "type": [
            "number",
            "null"
          ],
          "description": "Shares reserved for employees."
        },
        "market_maker": {
          "type": [
            "number",
            "null"
          ],
          "description": "Shares reserved for the market maker (SME issues)."
        }
      },
      "required": [
        "anchor",
        "qib",
        "nii",
        "bhni",
        "shni",
        "retail",
        "employee",
        "market_maker"
      ],
      "additionalProperties": false,
      "description": "Shares reserved per category. Null when not published; 0 when the category exists with no shares."
    },
    "anchor": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "shares": {
              "type": "number",
              "description": "Shares allocated to anchor investors."
            },
            "amount_cr": {
              "type": [
                "number",
                "null"
              ],
              "description": "Value of the anchor allocation at the cut-off price, INR crore."
            },
            "lock_in_50pct_until": {
              "type": [
                "string",
                "null"
              ],
              "description": "Half of the anchor shares are locked in until this date (allotment date + 30 days, YYYY-MM-DD)."
            },
            "lock_in_rest_until": {
              "type": [
                "string",
                "null"
              ],
              "description": "The remaining anchor shares are locked in until this date (allotment date + 90 days, YYYY-MM-DD)."
            },
            "allocation_report_url": {
              "type": [
                "string",
                "null"
              ],
              "description": "Public link to the anchor allocation disclosure (investor-wise list), when available."
            },
            "investors": {
              "anyOf": [
                {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Anchor investor."
                      },
                      "shares": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Shares allotted to this investor."
                      },
                      "amount_cr": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Amount allotted, INR crore."
                      },
                      "pct_of_anchor": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Share of the anchor portion, percent."
                      },
                      "pct_of_issue": {
                        "type": [
                          "number",
                          "null"
                        ],
                        "description": "Share of the whole issue, percent."
                      }
                    },
                    "required": [
                      "name",
                      "shares",
                      "amount_cr",
                      "pct_of_anchor",
                      "pct_of_issue"
                    ],
                    "additionalProperties": false
                  }
                },
                {
                  "type": "null"
                }
              ],
              "description": "Investor-wise anchor allocation, complete list. Null when the full list is not available for this issue."
            }
          },
          "required": [
            "shares",
            "amount_cr",
            "lock_in_50pct_until",
            "lock_in_rest_until",
            "allocation_report_url",
            "investors"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Anchor-investor allocation; null when the issue has no anchor book or no allocation is announced."
    },
    "bids": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "enum": [
              "qib",
              "nii",
              "bhni",
              "shni",
              "retail",
              "employee",
              "shareholder",
              "total"
            ],
            "description": "Investor category: qib, nii, bhni (bNII), shni (sNII), retail, employee, shareholder, total."
          },
          "times": {
            "type": [
              "number",
              "null"
            ],
            "description": "Times subscribed in the latest update. 0 is a real value."
          },
          "as_of": {
            "type": "string",
            "description": "When the latest update was published (ISO-8601, UTC)."
          },
          "shares_offered": {
            "type": [
              "number",
              "null"
            ],
            "description": "Shares offered to this category."
          },
          "shares_bid_for": {
            "type": [
              "number",
              "null"
            ],
            "description": "Shares bid for in this category."
          },
          "bid_amount_cr": {
            "type": [
              "number",
              "null"
            ],
            "description": "Value of bids in this category at the cut-off price, INR crore."
          },
          "bids_as_of": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the share and amount figures were published; can be earlier than `as_of` when the latest update carried the multiple only (ISO-8601, UTC)."
          }
        },
        "required": [
          "category",
          "times",
          "as_of",
          "shares_offered",
          "shares_bid_for",
          "bid_amount_cr",
          "bids_as_of"
        ],
        "additionalProperties": false
      },
      "description": "Latest update per investor category with shares offered, shares bid for and the INR value bid, each with the time it was observed. Read it during bidding for the live book; `/v1/ipos/{ipo_slug}/subscription` has every update."
    },
    "gmp": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "date": {
              "type": "string",
              "description": "Date of the latest quote (YYYY-MM-DD)."
            },
            "gmp": {
              "type": "number",
              "description": "Premium in INR per share over the cut-off price. Can be negative."
            },
            "gmp_pct": {
              "type": [
                "number",
                "null"
              ],
              "description": "Premium as a percent of the cut-off price."
            },
            "estimated_listing_price": {
              "type": [
                "number",
                "null"
              ],
              "description": "Cut-off price plus the premium, INR per share."
            },
            "subject_to_sauda": {
              "type": [
                "number",
                "null"
              ],
              "description": "Subject-to-sauda rate, INR per application."
            },
            "checked_at": {
              "type": [
                "string",
                "null"
              ],
              "description": "When the quote was last checked (ISO-8601, UTC)."
            }
          },
          "required": [
            "date",
            "gmp",
            "gmp_pct",
            "estimated_listing_price",
            "subject_to_sauda",
            "checked_at"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ],
      "description": "Latest grey market premium and when it was last checked; null when none is quoted. `/v1/ipos/{ipo_slug}/gmp` has the day-wise series. Unofficial and indicative, not a forecast."
    },
    "key_metrics": {
      "type": "object",
      "properties": {
        "market_cap_cr": {
          "type": [
            "number",
            "null"
          ],
          "description": "Post-issue market capitalisation at the cut-off price, INR crore."
        },
        "pe": {
          "type": [
            "number",
            "null"
          ],
          "description": "Price to earnings at the cut-off price."
        },
        "roce_pct": {
          "type": [
            "number",
            "null"
          ],
          "description": "Return on capital employed, percent."
        },
        "ronw_pct": {
          "type": [
            "number",
            "null"
          ],
          "description": "Return on net worth, percent."
        },
        "nav_per_share": {
          "type": [
            "number",
            "null"
          ],
          "description": "Net asset value per share, INR."
        },
        "price_to_book": {
          "type": [
            "number",
            "null"
          ],
          "description": "Price to book at the cut-off price."
        },
        "eps_pre_issue": {
          "type": [
            "number",
            "null"
          ],
          "description": "EPS on the pre-issue share count, INR."
        },
        "eps_post_issue": {
          "type": [
            "number",
            "null"
          ],
          "description": "EPS on the post-issue share count, INR."
        },
        "ebitda_margin_pct": {
          "type": [
            "number",
            "null"
          ],
          "description": "EBITDA margin, percent."
        },
        "pat_margin_pct": {
          "type": [
            "number",
            "null"
          ],
          "description": "Profit after tax margin, percent."
        },
        "debt_to_equity": {
          "type": [
            "number",
            "null"
          ],
          "description": "Debt to equity, times."
        },
        "promoter_holding_pre_pct": {
          "type": [
            "number",
            "null"
          ],
          "description": "Promoter holding before the issue, percent."
        },
        "promoter_holding_post_pct": {
          "type": [
            "number",
            "null"
          ],
          "description": "Promoter holding after the issue, percent."
        }
      },
      "required": [
        "market_cap_cr",
        "pe",
        "roce_pct",
        "ronw_pct",
        "nav_per_share",
        "price_to_book",
        "eps_pre_issue",
        "eps_post_issue",
        "ebitda_margin_pct",
        "pat_margin_pct",
        "debt_to_equity",
        "promoter_holding_pre_pct",
        "promoter_holding_post_pct"
      ],
      "additionalProperties": false,
      "description": "Key performance indicators from the offer document, latest full year."
    },
    "financials": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "period_end": {
            "type": "string",
            "description": "Period end (YYYY-MM-DD)."
          },
          "period": {
            "type": "string",
            "enum": [
              "annual",
              "interim"
            ],
            "description": "annual (full financial year) or interim (a stub period)."
          },
          "basis": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "consolidated",
                  "standalone"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Reporting basis."
          },
          "revenue_from_operations": {
            "type": [
              "number",
              "null"
            ],
            "description": "revenue from operations, INR crore."
          },
          "total_income": {
            "type": [
              "number",
              "null"
            ],
            "description": "total income, INR crore."
          },
          "other_income": {
            "type": [
              "number",
              "null"
            ],
            "description": "other income, INR crore."
          },
          "total_expenses": {
            "type": [
              "number",
              "null"
            ],
            "description": "total expenses, INR crore."
          },
          "profit_before_tax": {
            "type": [
              "number",
              "null"
            ],
            "description": "profit before tax, INR crore."
          },
          "profit_after_tax": {
            "type": [
              "number",
              "null"
            ],
            "description": "profit after tax, INR crore."
          },
          "total_assets": {
            "type": [
              "number",
              "null"
            ],
            "description": "total assets, INR crore."
          },
          "total_equity": {
            "type": [
              "number",
              "null"
            ],
            "description": "total equity, INR crore."
          },
          "total_liabilities": {
            "type": [
              "number",
              "null"
            ],
            "description": "total liabilities, INR crore."
          },
          "current_assets": {
            "type": [
              "number",
              "null"
            ],
            "description": "current assets, INR crore."
          },
          "current_liabilities": {
            "type": [
              "number",
              "null"
            ],
            "description": "current liabilities, INR crore."
          },
          "operating_cash_flow": {
            "type": [
              "number",
              "null"
            ],
            "description": "operating cash flow, INR crore."
          },
          "investing_cash_flow": {
            "type": [
              "number",
              "null"
            ],
            "description": "investing cash flow, INR crore."
          },
          "financing_cash_flow": {
            "type": [
              "number",
              "null"
            ],
            "description": "financing cash flow, INR crore."
          },
          "net_cash_flow": {
            "type": [
              "number",
              "null"
            ],
            "description": "net cash flow, INR crore."
          }
        },
        "required": [
          "period_end",
          "period",
          "basis",
          "revenue_from_operations",
          "total_income",
          "other_income",
          "total_expenses",
          "profit_before_tax",
          "profit_after_tax",
          "total_assets",
          "total_equity",
          "total_liabilities",
          "current_assets",
          "current_liabilities",
          "operating_cash_flow",
          "investing_cash_flow",
          "financing_cash_flow",
          "net_cash_flow"
        ],
        "additionalProperties": false
      },
      "description": "Restated financials from the offer document, newest period first, INR crore."
    },
    "objects_of_issue": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "purpose": {
            "type": "string",
            "description": "Object of the issue."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Details as stated."
          },
          "amount_cr": {
            "type": [
              "number",
              "null"
            ],
            "description": "Amount earmarked, INR crore, when stated."
          }
        },
        "required": [
          "purpose",
          "description",
          "amount_cr"
        ],
        "additionalProperties": false
      },
      "description": "What the issue proceeds are for, as stated in the offer document."
    },
    "peers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Company name."
          },
          "is_issuer": {
            "type": "boolean",
            "description": "True for the issuing company itself."
          },
          "basis": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "consolidated",
                  "standalone"
                ]
              },
              {
                "type": "null"
              }
            ],
            "description": "Reporting basis of the figures."
          },
          "eps_basic": {
            "type": [
              "number",
              "null"
            ],
            "description": "Basic EPS, INR."
          },
          "eps_diluted": {
            "type": [
              "number",
              "null"
            ],
            "description": "Diluted EPS, INR."
          },
          "nav_per_share": {
            "type": [
              "number",
              "null"
            ],
            "description": "Net asset value per share, INR."
          },
          "pe": {
            "type": [
              "number",
              "null"
            ],
            "description": "Price to earnings."
          },
          "price_to_book": {
            "type": [
              "number",
              "null"
            ],
            "description": "Price to book."
          },
          "ronw_pct": {
            "type": [
              "number",
              "null"
            ],
            "description": "Return on net worth, percent."
          }
        },
        "required": [
          "name",
          "is_issuer",
          "basis",
          "eps_basic",
          "eps_diluted",
          "nav_per_share",
          "pe",
          "price_to_book",
          "ronw_pct"
        ],
        "additionalProperties": false
      },
      "description": "Listed peers named in the offer document, issuer first."
    },
    "peers_as_of": {
      "type": [
        "string",
        "null"
      ],
      "description": "Period end the peer figures refer to (YYYY-MM-DD)."
    }
  },
  "required": [
    "slug",
    "company",
    "symbol",
    "isin",
    "status",
    "board",
    "exchange",
    "open_date",
    "close_date",
    "allotment_date",
    "listing_date",
    "price_band_low",
    "price_band_high",
    "issue_price",
    "lot_size",
    "issue_size_cr",
    "subscription_total",
    "listing_price",
    "listing_gain_pct",
    "face_value",
    "fresh_issue_cr",
    "offer_for_sale_cr",
    "listing_day_close",
    "listing_day_close_gain_pct",
    "about",
    "registrar",
    "lead_managers",
    "draft_prospectus_url",
    "prospectus_url",
    "subscription",
    "timetable",
    "lots",
    "reservation",
    "anchor",
    "bids",
    "gmp",
    "key_metrics",
    "financials",
    "objects_of_issue",
    "peers",
    "peers_as_of"
  ],
  "additionalProperties": false
}