{
  "tool": "matric-nqf4.sci_stoichiometry",
  "name": "Stoichiometry — 2H₂ + O₂ → 2H₂O (CDU-GEN-NSC-400)",
  "answers": "The limiting reagent and the mass of water formed, with the mole ratios shown (working molar masses: H₂ 2, O₂ 32, H₂O 18 g·mol⁻¹).",
  "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 P12 (offline reconstruction); the limiting reagent fixes the product",
  "endpoint": "/faculty/matric-nqf4/sci_stoichiometry",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "massH2",
      "massO2"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "massH2": {
        "type": "number",
        "description": "mass of H₂ (g, ≥ 0) (g)",
        "minimum": 0,
        "maximum": 1000000
      },
      "massO2": {
        "type": "number",
        "description": "mass of O₂ (g, ≥ 0) (g)",
        "minimum": 0,
        "maximum": 1000000
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "molH2",
      "molO2",
      "limiting",
      "massWater"
    ],
    "properties": {
      "molH2": {
        "type": "number",
        "description": "n(H₂) (mol)"
      },
      "molO2": {
        "type": "number",
        "description": "n(O₂) (mol)"
      },
      "limiting": {
        "type": "string",
        "description": "H2 | O2 | stoichiometric"
      },
      "massWater": {
        "type": "number",
        "description": "mass of H₂O formed (g)"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "massH2": 4,
    "massO2": 32
  }
}