{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/chemistry.equilibrium.weak_base/1.0.0/input.json",
  "title": "Weak-base ICE — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "ice",
        "ice_no_water"
      ],
      "description": "ice (default) includes water autoionization; ice_no_water neglects Kw."
    },
    "C": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Formal B concentration in mol/L."
    },
    "pKb": {
      "type": "number",
      "description": "pKb = −log10(Kb). Use pKb or Kb, not both."
    },
    "Kb": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Base dissociation constant. Use pKb or Kb, not both."
    }
  },
  "required": [
    "C"
  ],
  "description": "Monoprotic weak-base ICE: B + H2O ⇌ BH+ + OH− from formal C and Kb or pKb. Charge and mass balance; optional water at 25 °C. Reuses math.numerical.root. Not Henderson–Hasselbalch and not weak-acid ICE. (calculation_version 1.0.0)"
}
