{
  "tool_id": "net_promoter_score_calculator",
  "slug": "net-promoter-score-calculator",
  "path": "/net-promoter-score-calculator/",
  "mode": "engine_module",
  "usage": "Client-side calculator. Open https://aibizhub.io/net-promoter-score-calculator/ and fill in the inputs; results render in-browser. Also importable as ES module from https://aibizhub.io/engines/net-promoter-score-calculator.js — call compute(input) with the JSON shape below.",
  "methodology": "https://aibizhub.io/methodology/net-promoter-score-calculator/",
  "sample_input": {
    "tool": "net_promoter_score_calculator",
    "promoters": 120,
    "passives": 45,
    "detractors": 35,
    "industry": "saas"
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "promoters": {
        "type": "number"
      },
      "passives": {
        "type": "number"
      },
      "detractors": {
        "type": "number"
      },
      "industry": {
        "type": "string"
      }
    },
    "required": [
      "tool",
      "promoters",
      "passives",
      "detractors"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "totalResponses": {
        "type": "number"
      },
      "npsScore": {
        "type": "number"
      },
      "promoterPercent": {
        "type": "number"
      },
      "passivePercent": {
        "type": "number"
      },
      "detractorPercent": {
        "type": "number"
      },
      "classification": {
        "type": "string"
      },
      "benchmarkComparison": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "industry": {
            "type": "string"
          },
          "industryLabel": {
            "type": "string"
          },
          "benchmarkScore": {
            "type": "number"
          },
          "delta": {
            "type": "number"
          },
          "comparison": {
            "type": "string"
          }
        }
      },
      "trendGuidance": {
        "type": "string"
      }
    }
  }
}
