{
  "tool": "matric-nqf4.sci_doppler",
  "name": "Doppler effect (CDU-GEN-NSC-400)",
  "answers": "The observed frequency for a source approaching or receding from a stationary listener; a source at or beyond the speed of sound is refused.",
  "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 P6 (offline reconstruction); f_L = v/(v ∓ v_s) · f_s; v = 340 m·s⁻¹ working value",
  "endpoint": "/faculty/matric-nqf4/sci_doppler",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan",
      "sourceFrequency",
      "sourceSpeed",
      "motion"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "sourceFrequency": {
        "type": "number",
        "description": "f_s (Hz) (Hz)",
        "minimum": 0.001,
        "maximum": 1000000
      },
      "sourceSpeed": {
        "type": "number",
        "description": "source speed (m·s⁻¹, < 340) (m·s⁻¹)",
        "minimum": 0,
        "maximum": 10000
      },
      "motion": {
        "type": "string",
        "description": "approaching or receding",
        "enum": [
          "approaching",
          "receding"
        ]
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "observedFrequency"
    ],
    "properties": {
      "observedFrequency": {
        "type": "number",
        "description": "f_L (Hz)"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "sourceFrequency": 500,
    "sourceSpeed": 20,
    "motion": "approaching"
  }
}