{
  "tool": "matric-nqf4.sci_cell_potential",
  "name": "Standard cell potential (CDU-GEN-NSC-400)",
  "answers": "E°cell = E°cathode − E°anode; a negative answer is reported as non-spontaneous as written, never called an error.",
  "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": "CAPS Grade 12 Physical Sciences, worked reference P16 (offline reconstruction); working electrode potentials Zn²⁺/Zn −0,76 V, Cu²⁺/Cu +0,34 V",
  "endpoint": "/faculty/matric-nqf4/sci_cell_potential",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "eCathode",
      "eAnode"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "eCathode": {
        "type": "number",
        "description": "E° of the cathode half-cell (V) (V)",
        "minimum": -10,
        "maximum": 10
      },
      "eAnode": {
        "type": "number",
        "description": "E° of the anode half-cell (V) (V)",
        "minimum": -10,
        "maximum": 10
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "cellPotential",
      "spontaneity"
    ],
    "properties": {
      "cellPotential": {
        "type": "number",
        "description": "E°cell (V)"
      },
      "spontaneity": {
        "type": "string",
        "description": "spontaneous as written | non-spontaneous as written"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "eCathode": 0.34,
    "eAnode": -0.76
  }
}