{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/calculator/math-equation-solver/schema.json",
  "title": "Math Equation Solver inputs",
  "description": "Solve a linear equation ax + b = c or a quadratic equation ax² + bx + c = 0.",
  "type": "object",
  "properties": {
    "equationType": {
      "title": "Equation type",
      "type": "string",
      "default": "linear",
      "enum": [
        "linear",
        "quadratic"
      ],
      "x-optionLabels": {
        "linear": "Linear: ax + b = c",
        "quadratic": "Quadratic: ax² + bx + c = 0"
      }
    },
    "a": {
      "title": "a",
      "type": "number",
      "default": 2,
      "x-step": 0.001
    },
    "b": {
      "title": "b",
      "type": "number",
      "default": 3,
      "x-step": 0.001
    },
    "c": {
      "title": "c",
      "type": "number",
      "default": 11,
      "x-step": 0.001
    }
  },
  "required": [
    "equationType",
    "a",
    "b",
    "c"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "1.0.0",
    "calculatorUrl": "https://askcalculators.com/calculator/math-equation-solver/",
    "queryExample": "https://askcalculators.com/calculator/math-equation-solver/?equationType=linear&a=2&b=3&c=11",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "linear x = (c − b) ÷ a; quadratic x = [−b ± √(b² − 4ac)] ÷ 2a"
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/math-equation-solver.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "1.0.0",
      "referenceCoverage": "references-pending",
      "releaseTestScope": "Catalog and regression checks are not a professional formula audit; consult release evidence.",
      "historicalMetadataDate": "2026-09-01",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "solution": {
        "title": "Solution",
        "type": "string",
        "x-format": "text",
        "x-primary": true
      },
      "discriminant": {
        "title": "Discriminant (quadratic)",
        "type": "number",
        "x-format": "number",
        "x-digits": 8
      },
      "verification": {
        "title": "Verification",
        "type": "string",
        "x-format": "text"
      }
    }
  }
}
