{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/physics.fluid.hydraulic_jump.input.json",
  "title": "Hydraulic jump — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "sequent",
        "upstream",
        "energy"
      ],
      "description": "sequent (default), upstream, or energy. Not Froude, Manning, Chezy, or a weir."
    },
    "y1": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Upstream depth in m. Required except upstream invert."
    },
    "y2": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Downstream sequent depth in m. Required for upstream and energy."
    },
    "Fr": {
      "type": "number",
      "exclusiveMinimum": 1,
      "description": "Upstream Froude number Fr₁ > 1. Alternative: Fr1. Do not send with v."
    },
    "v": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Upstream speed in m/s. Alternative: v_m_s. Do not send with Fr."
    },
    "v_m_s": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Upstream speed in m/s (query). REST may send v."
    },
    "g": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Gravity in m/s². Default 9.80665."
    }
  },
  "description": "Rectangular sequent depths y2/y1=(√(1+8Fr₁²)−1)/2. Fr₁>1. Not a Froude wrap, not Manning, not a weir, not Q=Av. (calculation_version 1.0.0)"
}
