{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/physics.fluid.bernoulli.input.json",
  "title": "Bernoulli's Equation — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "P2",
        "v2",
        "h2"
      ]
    },
    "rho_kg_m3": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "P1_Pa": {
      "type": "number"
    },
    "v1_m_s": {
      "type": "number",
      "minimum": 0
    },
    "h1_m": {
      "type": "number"
    },
    "P2_Pa": {
      "type": "number"
    },
    "v2_m_s": {
      "type": "number",
      "minimum": 0
    },
    "h2_m": {
      "type": "number"
    },
    "g_m_s2": {
      "type": "number",
      "exclusiveMinimum": 0
    }
  },
  "required": [
    "mode",
    "rho_kg_m3",
    "P1_Pa",
    "v1_m_s",
    "h1_m"
  ],
  "description": "Incompressible Bernoulli along a streamline: solve P2, v2, or h2. (calculation_version 1.0.0)"
}
