{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/physics.fluid.trapezoid_hydraulic_jump.input.json",
  "title": "Trapezoidal hydraulic jump — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "sequent",
        "upstream",
        "energy"
      ],
      "description": "sequent (default, y2 from y1), upstream (y1 from y2), or energy (ΔE from y1 and y2). Not Bélanger Fr. Not trapezoid E-pair."
    },
    "b": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Bottom width in m. Required. Alternatives: width, b_m, channel_width. Do not send side-weir B."
    },
    "z": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Side slope run/rise (z>0). Required. Alternatives: z_side, side_slope, m. z=0 is rectangular /calc/physics/hydraulic-jump. Do not send a bank angle."
    },
    "Q": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Volume flow in m³/s. Required. Alternatives: flow, Q_m3_s."
    },
    "y1": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Upstream depth in m. Required for sequent and energy. Alternatives: y, y_m, depth. Do not send yn or yc."
    },
    "y2": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Downstream sequent depth in m. Required for upstream and energy. Alternative: y_2."
    },
    "g": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Gravity in m/s². Optional; default 9.80665. Alternatives: g_m_s2."
    }
  },
  "required": [
    "b",
    "z",
    "Q"
  ],
  "description": "Trapezoid sequent depths from M=Q²/(gA)+A ȳ on A=(b+z y)y. Not rectangular Bélanger, not trapezoid alternate E-pair, not trapezoid yc, not trapezoid yn, not Manning n, not Q=Av. (calculation_version 1.0.0)"
}
