{
  "api": "Westwick Family Office Cost API",
  "model": "westwick-fo-cost",
  "engineVersion": "1.4.1",
  "documentation": "https://westwick.org.uk/tools/family-office-cost-calculator/api",
  "attribution": {
    "required": true,
    "text": "Methodology by Westwick Melrose & Cromwell",
    "url": "https://westwick.org.uk",
    "note": "Displaying the attribution link is a condition of use of the partner API and widget."
  },
  "endpoints": {
    "GET  /v1/meta": "form-building metadata (currencies, locations, asset classes, services)",
    "POST /v1/calculate": "body = inputs JSON · header X-API-Key required"
  },
  "inputs": {
    "aum": "number — assets under management, in millions of the selected currency (required)",
    "currency": "one of USD | GBP | EUR | CHF | JPY | CNY (default USD)",
    "lang": "'en' (default) | 'fr' — labels only; the model itself never varies by language",
    "location": "one of Canada | China | France | Germany | Hong Kong | Japan | Luxembourg | Monaco | Singapore | Switzerland | United Arab Emirates | United Kingdom | United States | Other (default United Kingdom)",
    "members": "integer — number of family members",
    "jurisdictions": "1 (1–2) | 2 (3–5) | 3 (6+)",
    "allocation": "percentages by asset class: pubeq, bonds, pe, vc, direct, directra, realfunds, div, trophy — remainder is cash",
    "nbDirect": "number of direct investments (when allocation.direct > 0)",
    "nbCtrl": "of which controlled 51%+",
    "services": "{ ops: 'in|out', liq: 'in|mix|out', acc: 'in|out', tax: 'in|out', it: 'in|out', phi: 'yes|no', con: 'yes|no' }",
    "lifestyle": "{ jet, heli, yacht, homes: booleans } — when con = yes"
  }
}