{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/physics.fluid.pipe_period/1.0.0/input.json",
  "title": "Pipe period — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "period",
        "length",
        "celerity"
      ],
      "description": "period (default), length, or celerity. Not Joukowsky, Hall, Darcy, or Q=Av."
    },
    "L": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Pipe length in m. Required except length invert. Alternative: L_m."
    },
    "c": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Wave celerity in m/s. Required except celerity invert. Alternative: c_m_s."
    },
    "c_m_s": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Wave celerity in m/s (query/UI). REST may send c."
    },
    "T": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Pipe period in s. Required for length and celerity invert. Alternative: T_s."
    },
    "T_s": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Pipe period in s (query/UI). REST may send T."
    }
  },
  "description": "T=2L/c. Not Joukowsky Δp, not Korteweg–Hall c from K/D/e/E, not Darcy f, not Q=Av. (calculation_version 1.0.0)"
}
