{
  "tool": "matric-nqf4.lo_sba_total",
  "name": "School-based assessment total (CDU-GEN-NSC-400)",
  "answers": "The Life Orientation SBA percentage from task marks and task totals — 100% school-based, no external paper (working reconstruction).",
  "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); Life Orientation is 100% SBA with no external examination (verify item §12)",
  "endpoint": "/faculty/matric-nqf4/lo_sba_total",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "taskMarks",
      "taskTotals"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "taskMarks": {
        "type": "array",
        "description": "mark achieved per task",
        "items": {
          "type": "number"
        }
      },
      "taskTotals": {
        "type": "array",
        "description": "maximum mark per task",
        "items": {
          "type": "number"
        }
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "sbaPercent"
    ],
    "properties": {
      "sbaPercent": {
        "type": "number",
        "description": "the SBA percentage (2 d.p.)"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "taskMarks": [
      38,
      42,
      71,
      85
    ],
    "taskTotals": [
      50,
      50,
      80,
      100
    ]
  }
}