{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/chemistry.acid_base.henderson_hasselbalch/1.0.0/input.json",
  "title": "Henderson–Hasselbalch — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "pKa": {
      "type": "number",
      "description": "Acid dissociation pKa. Alternative: Ka. Do not send both."
    },
    "Ka": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Acid dissociation constant. Alternative: pKa. Do not send both."
    },
    "HA": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Weak-acid concentration of the conjugate pair (same unit as A)."
    },
    "A": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Conjugate-base concentration of the pair (same unit as HA)."
    }
  },
  "required": [
    "HA",
    "A"
  ],
  "description": "Buffer pH = pKa + log10([A−]/[HA]). Accepts pKa or Ka. Not ICE and not pH = −log10[H+]. (calculation_version 1.0.0)"
}
