{
  "tool": "matric-nqf4.maths_parabola",
  "name": "The parabola (CDU-GEN-NSC-400)",
  "answers": "Turning point, axis of symmetry, intercepts and range of f(x) = ax² + bx + c.",
  "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 Mathematics, worked reference M8 (offline reconstruction); turning point at x = −b/(2a)",
  "endpoint": "/faculty/matric-nqf4/maths_parabola",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "a",
      "b",
      "c"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "a": {
        "type": "number",
        "description": "coefficient of x² (a ≠ 0)",
        "minimum": -100,
        "maximum": 100
      },
      "b": {
        "type": "number",
        "description": "coefficient of x",
        "minimum": -1000,
        "maximum": 1000
      },
      "c": {
        "type": "number",
        "description": "constant term",
        "minimum": -10000,
        "maximum": 10000
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "tpX",
      "tpY",
      "xIntercept1",
      "xIntercept2",
      "yIntercept",
      "range"
    ],
    "properties": {
      "tpX": {
        "type": "number",
        "description": "x of the turning point"
      },
      "tpY": {
        "type": "number",
        "description": "y of the turning point"
      },
      "xIntercept1": {
        "type": "number",
        "description": "smaller x-intercept"
      },
      "xIntercept2": {
        "type": "number",
        "description": "larger x-intercept"
      },
      "yIntercept": {
        "type": "number",
        "description": "f(0)"
      },
      "range": {
        "type": "string",
        "description": "the range, e.g. y ≥ −1"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "a": 1,
    "b": -4,
    "c": 3
  }
}