{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/math.pythagorean.input.json",
  "title": "Pythagorean theorem — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "a": {
      "type": "number"
    },
    "b": {
      "type": "number"
    },
    "c": {
      "type": "number"
    },
    "solve_for": {
      "type": "string",
      "enum": [
        "a",
        "b",
        "c"
      ]
    }
  },
  "description": "Right-triangle solve a² + b² = c² for a missing side, plus area and perimeter; verify mode when all three sides given. (calculation_version 1.1.1) Provide at least 2 of: a, b, c."
}
