{
  "tool_id": "dilution_calculator",
  "slug": "dilution-calculator",
  "path": "/dilution-calculator/",
  "mode": "engine_module",
  "usage": "Client-side calculator. Open https://aibizhub.io/dilution-calculator/ and fill in the inputs; results render in-browser. Also importable as ES module from https://aibizhub.io/engines/dilution-calculator.js — call compute(input) with the JSON shape below.",
  "methodology": "https://aibizhub.io/methodology/dilution-calculator/",
  "sample_input": {
    "tool": "dilution_calculator",
    "rounds": [
      {
        "name": "Seed",
        "investment_amount": 500000,
        "pre_money_valuation": 2000000
      }
    ]
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "rounds": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "investment_amount": {
              "type": "number"
            },
            "pre_money_valuation": {
              "type": "number"
            }
          },
          "required": [
            "name",
            "investment_amount",
            "pre_money_valuation"
          ]
        }
      }
    },
    "required": [
      "tool",
      "rounds"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "rounds": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "investmentAmount": {
              "type": "integer"
            },
            "preMoneyValuation": {
              "type": "integer"
            },
            "postMoneyValuation": {
              "type": "integer"
            },
            "newSharesPercent": {
              "type": "integer"
            },
            "founderOwnershipPercent": {
              "type": "integer"
            }
          }
        }
      }
    }
  }
}
