{
  "tool": "matric-nqf4.sci_projectile",
  "name": "Vertical projectile motion (CDU-GEN-NSC-400)",
  "answers": "Time to the top, maximum height and total flight time for a projectile launched straight up at u, constant g, no air resistance.",
  "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 P5 (offline reconstruction); t_up = u/g; h_max = u²/(2g)",
  "endpoint": "/faculty/matric-nqf4/sci_projectile",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "uUp"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "uUp": {
        "type": "number",
        "description": "launch speed upward (m·s⁻¹, > 0) (m·s⁻¹)",
        "minimum": 0.001,
        "maximum": 10000
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "timeUp",
      "maxHeight",
      "flightTime"
    ],
    "properties": {
      "timeUp": {
        "type": "number",
        "description": "t to the highest point (s, 3 d.p.)"
      },
      "maxHeight": {
        "type": "number",
        "description": "h_max (m, 3 d.p.)"
      },
      "flightTime": {
        "type": "number",
        "description": "total time back to launch height (s, 3 d.p.)"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "uUp": 20
  }
}