{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/units.pressure.psi_bar/1.0.2/input.json",
  "title": "PSI ↔ Bar — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "psi-bar",
        "bar-psi"
      ]
    },
    "value": {
      "description": "Finite JSON number or bounded decimal text. Decimal text is preserved through the conversion. The physical domain and output range are checked at execution.",
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string",
          "maxLength": 110,
          "pattern": "^[ \\t]*[+-]?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)(?:[eE][+-]?(?:[0-2]?[0-9]{1,2}|3[01][0-9]|32[0-4]))?[ \\t]*(?![\\s\\S])"
        }
      ]
    }
  },
  "required": [
    "value"
  ],
  "description": "Positive pressure conversion using the international pound-force and inch. 1 bar ≈ 14.503773773020923 psi. (calculation_version 1.0.2)"
}
