{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/calculator/feet-and-inches-calculator/schema.json",
  "title": "Feet and Inches Calculator inputs",
  "description": "Add, subtract, multiply, or divide measurements expressed in feet and inches.",
  "type": "object",
  "properties": {
    "operation": {
      "title": "Operation",
      "type": "string",
      "default": "add",
      "enum": [
        "add",
        "subtract",
        "multiply",
        "divide"
      ],
      "x-optionLabels": {
        "add": "Add two lengths",
        "subtract": "Subtract second length",
        "multiply": "Multiply first length by a factor",
        "divide": "Divide first length by a factor"
      }
    },
    "feetA": {
      "title": "First feet",
      "type": "number",
      "default": 5,
      "x-step": 1,
      "multipleOf": 1
    },
    "inchesA": {
      "title": "First inches",
      "type": "number",
      "default": 8,
      "x-step": 0.01
    },
    "feetB": {
      "title": "Second feet",
      "type": "number",
      "default": 2,
      "x-step": 1,
      "multipleOf": 1
    },
    "inchesB": {
      "title": "Second inches",
      "type": "number",
      "default": 6,
      "x-step": 0.01
    },
    "factor": {
      "title": "Factor",
      "type": "number",
      "default": 2,
      "minimum": 0.000001,
      "x-step": 0.01
    }
  },
  "required": [
    "operation",
    "feetA",
    "inchesA",
    "feetB",
    "inchesB",
    "factor"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "1.0.0",
    "calculatorUrl": "https://askcalculators.com/calculator/feet-and-inches-calculator/",
    "queryExample": "https://askcalculators.com/calculator/feet-and-inches-calculator/?operation=add&feetA=5&inchesA=8&feetB=2&inchesB=6&factor=2",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "total inches = feet × 12 + inches; arithmetic is performed on total inches"
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/feet-and-inches-calculator.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": {
      "measurement": {
        "title": "Result in feet and inches",
        "type": "string",
        "x-format": "text",
        "x-primary": true
      },
      "decimalFeet": {
        "title": "Decimal feet",
        "type": "number",
        "x-format": "number",
        "x-digits": 6
      },
      "totalInches": {
        "title": "Total inches",
        "type": "number",
        "x-format": "number",
        "x-digits": 6
      }
    }
  }
}
