{
  "tool": "meng-civil.water_pressure",
  "name": "Water pressure and head (CDU-ENG-CIV-900)",
  "answers": "What pressure does a height of water give at a fixture, and what head does a pressure represent?",
  "degree": {
    "id": "competency:meng-civil",
    "code": "CDU-ENG-CIV-900",
    "name": "Master of Engineering — Civil & Structural Engineering",
    "version": "1.0.0"
  },
  "reference": "p = ρ·g·h; 1 bar = 100 kPa ≈ 10.2 m of water",
  "endpoint": "/faculty/meng-civil/water_pressure",
  "feeSt": 1,
  "inputSchema": {
    "type": "object",
    "required": [
      "pan"
    ],
    "properties": {
      "pan": {
        "type": "string",
        "description": "The student PAN — the degree must be held in one of its five slots",
        "pattern": "^[0-9 ]{16,19}$"
      },
      "headM": {
        "type": "number",
        "description": "Height of water above the point (m)",
        "minimum": 0
      },
      "pressureKpa": {
        "type": "number",
        "description": "Pressure to convert to head (kPa)",
        "minimum": 0
      },
      "minFixturePressureKpa": {
        "type": "number",
        "description": "Minimum pressure the fixture needs (kPa)",
        "minimum": 0,
        "default": 100
      }
    },
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "pressureKpa",
      "pressureBar",
      "headM",
      "fixtureOk"
    ],
    "properties": {
      "pressureKpa": {
        "type": "number",
        "description": "Static pressure (kPa)"
      },
      "pressureBar": {
        "type": "number",
        "description": "The same pressure (bar)"
      },
      "headM": {
        "type": "number",
        "description": "Equivalent head of water (m)"
      },
      "fixtureOk": {
        "type": "boolean",
        "description": "Static pressure ≥ minimum for the fixture"
      }
    },
    "additionalProperties": false
  },
  "example": {
    "headM": 25
  }
}