{
  "tool": "mpa-public-administration.preference_points",
  "name": "Preferential procurement award (80/20 or 90/10) (CDU-BUS-MPA-900)",
  "answers": "Which bidder scores highest once price points and specific-goal points are added under the applicable preference system?",
  "degree": {
    "id": "competency:mpa-public-administration",
    "code": "CDU-BUS-MPA-900",
    "name": "MPA Public Administration",
    "version": "1.0.0"
  },
  "reference": "Preferential Procurement Regulations, 2022 (PPPFA Act 5 of 2000): 80/20 up to R50 million, 90/10 above; Ps = 80(1 − (Pt − Pmin)/Pmin) or 90(…)",
  "endpoint": "/faculty/mpa-public-administration/preference_points",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "estimatedValue",
      "bidPrices",
      "specificGoalPoints"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "estimatedValue": {
        "type": "number",
        "description": "Estimated Rand value of the tender (selects 80/20 or 90/10)",
        "minimum": 0
      },
      "bidPrices": {
        "type": "array",
        "description": "Each acceptable bidder’s price",
        "items": {
          "type": "number"
        }
      },
      "specificGoalPoints": {
        "type": "array",
        "description": "Specific-goal points each bidder is allotted (≤ 20 under 80/20, ≤ 10 under 90/10)",
        "items": {
          "type": "number"
        }
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "system",
      "pricePoints",
      "totalPoints",
      "winner"
    ],
    "properties": {
      "system": {
        "type": "string",
        "description": "80/20 or 90/10"
      },
      "pricePoints": {
        "type": "array",
        "description": "Price points per bidder (2 dp)",
        "items": {
          "type": "number"
        }
      },
      "totalPoints": {
        "type": "array",
        "description": "Price + specific-goal points (2 dp)",
        "items": {
          "type": "number"
        }
      },
      "winner": {
        "type": "number",
        "description": "1-based position of the highest total"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "estimatedValue": 12000000,
    "bidPrices": [
      1000000,
      950000,
      1100000,
      990000
    ],
    "specificGoalPoints": [
      16,
      8,
      12,
      4
    ]
  }
}