{
  "tool": "matric-nqf4.sci_newton_second_law",
  "name": "Newton's second law — horizontal motion (CDU-GEN-NSC-400)",
  "answers": "The acceleration of a block under an applied force and kinetic friction: a = F_net/m.",
  "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 P1 (offline reconstruction); F_net = ma",
  "endpoint": "/faculty/matric-nqf4/sci_newton_second_law",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "mass",
      "appliedForce",
      "friction"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "mass": {
        "type": "number",
        "description": "mass (kg) (kg)",
        "minimum": 0.001,
        "maximum": 100000
      },
      "appliedForce": {
        "type": "number",
        "description": "applied force (N), positive in the direction of motion (N)",
        "minimum": 0,
        "maximum": 1000000
      },
      "friction": {
        "type": "number",
        "description": "kinetic friction magnitude (N) (N)",
        "minimum": 0,
        "maximum": 1000000
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "netForce",
      "acceleration"
    ],
    "properties": {
      "netForce": {
        "type": "number",
        "description": "F_net (N)"
      },
      "acceleration": {
        "type": "number",
        "description": "a (m·s⁻²)"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "mass": 5,
    "appliedForce": 20,
    "friction": 5
  }
}