{
  "tool": "matric-nqf4.lang_final_mark",
  "name": "Weighted final mark (CDU-GEN-NSC-400)",
  "answers": "The final subject mark from the school-based assessment and the examination mark under the stated weighting — or the examination mark alone on the adult (no-SBA) route.",
  "degree": {
    "id": "competency:matric-nqf4",
    "code": "CDU-GEN-NSC-400",
    "name": "Senior Certificate (Amended) — exam-readiness programme (NQF 4 matric)",
    "version": "1.0.0"
  },
  "reference": "Umalusi/NSC subject catalogue, worked reference (offline reconstruction); working split 25% SBA / 75% exam for exam subjects; the Senior Certificate (Amended) route has no SBA (verify item §12)",
  "endpoint": "/faculty/matric-nqf4/lang_final_mark",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "sbaMark",
      "examMark",
      "route"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "sbaMark": {
        "type": "number",
        "description": "school-based assessment mark (percent)",
        "minimum": 0,
        "maximum": 100
      },
      "examMark": {
        "type": "number",
        "description": "examination mark (percent)",
        "minimum": 0,
        "maximum": 100
      },
      "route": {
        "type": "string",
        "description": "nsc (25/75) or amended (exam only)",
        "enum": [
          "nsc",
          "amended"
        ]
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "finalMark"
    ],
    "properties": {
      "finalMark": {
        "type": "number",
        "description": "the final mark (percent)"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "sbaMark": 60,
    "examMark": 68,
    "route": "nsc"
  }
}