{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/math.geometry.triangle.input.json",
  "title": "Triangle solver — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "sss",
        "sas",
        "asa",
        "aas",
        "ssa"
      ],
      "description": "Case. SAS uses sides a,b and included C_deg. SSA may return two solutions."
    },
    "a": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "b": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "c": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "A_deg": {
      "type": "number",
      "description": "Angle A in degrees, opposite a"
    },
    "B_deg": {
      "type": "number"
    },
    "C_deg": {
      "type": "number"
    }
  },
  "required": [
    "mode"
  ],
  "description": "Solve a Euclidean triangle from SSS, SAS, ASA, AAS, or SSA (ambiguous). Not the Pythagorean-only page. (calculation_version 1.0.0)"
}
