{
  "tool": "mpa-public-administration.social_cba",
  "name": "Social cost–benefit analysis (CDU-BUS-MPA-900)",
  "answers": "At the social discount rate, does the programme’s stream of benefits justify its costs?",
  "degree": {
    "id": "competency:mpa-public-administration",
    "code": "CDU-BUS-MPA-900",
    "name": "MPA Public Administration",
    "version": "1.0.0"
  },
  "reference": "HM Treasury Green Book (2022): discounting at the social time preference rate of 3.5% (years 0–30); NPV and benefit–cost ratio",
  "endpoint": "/faculty/mpa-public-administration/social_cba",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "benefits",
      "costs"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "benefits": {
        "type": "array",
        "description": "Social benefits per year, year 0 first",
        "items": {
          "type": "number"
        }
      },
      "costs": {
        "type": "array",
        "description": "Social costs per year, year 0 first",
        "items": {
          "type": "number"
        }
      },
      "discountRate": {
        "type": "number",
        "description": "Social discount rate, 0–0.2",
        "minimum": 0,
        "maximum": 0.2,
        "default": 0.035
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "pvBenefits",
      "pvCosts",
      "npv",
      "bcr",
      "worthwhile"
    ],
    "properties": {
      "pvBenefits": {
        "type": "number",
        "description": "Present value of benefits"
      },
      "pvCosts": {
        "type": "number",
        "description": "Present value of costs"
      },
      "npv": {
        "type": "number",
        "description": "PV benefits − PV costs"
      },
      "bcr": {
        "type": "number",
        "description": "PV benefits ÷ PV costs"
      },
      "worthwhile": {
        "type": "boolean",
        "description": "NPV > 0"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "benefits": [
      0,
      400000,
      450000,
      500000,
      500000
    ],
    "costs": [
      1200000,
      50000,
      50000,
      50000,
      50000
    ],
    "discountRate": 0.035
  }
}