{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/calculator/down-payment-calculator/schema.json",
  "title": "Down Payment Calculator inputs",
  "description": "Convert a down payment between money and percent, then estimate loan and cash needed.",
  "type": "object",
  "properties": {
    "homePrice": {
      "title": "Home price",
      "type": "number",
      "default": 400000,
      "minimum": 1,
      "x-step": 1000,
      "multipleOf": 1000,
      "x-unit": "currency"
    },
    "mode": {
      "title": "Enter down payment as",
      "type": "string",
      "default": "percent",
      "enum": [
        "percent",
        "amount"
      ],
      "x-optionLabels": {
        "percent": "Percent",
        "amount": "Money amount"
      }
    },
    "downPaymentValue": {
      "title": "Down payment value",
      "type": "number",
      "description": "Percent or money, based on mode",
      "default": 20,
      "minimum": 0,
      "x-step": 0.01
    },
    "closingCostRate": {
      "title": "Estimated closing costs",
      "type": "number",
      "description": "Optional",
      "default": 3,
      "minimum": 0,
      "maximum": 20,
      "x-step": 0.1,
      "x-unit": "percent"
    }
  },
  "required": [
    "homePrice",
    "mode",
    "downPaymentValue"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "20.1.0",
    "calculatorUrl": "https://askcalculators.com/calculator/down-payment-calculator/",
    "queryExample": "https://askcalculators.com/calculator/down-payment-calculator/?homePrice=400000&mode=percent&downPaymentValue=20&closingCostRate=3",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "Loan amount = home price − down payment; cash needed = down payment + closing costs"
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/down-payment-calculator.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "20.1.0",
      "referenceCoverage": "references-listed",
      "releaseTestScope": "Flagship reference cases are specified in scripts/test-v20-1.mjs; consult release evidence for executed results.",
      "historicalMetadataDate": "2026-08-18",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "cashNeeded": {
        "title": "Estimated cash needed",
        "type": "number",
        "x-format": "currency",
        "x-primary": true
      },
      "downPaymentAmount": {
        "title": "Down payment",
        "type": "number",
        "x-format": "currency"
      },
      "downPaymentPercent": {
        "title": "Down payment percent",
        "type": "number",
        "x-format": "percent"
      },
      "loanAmount": {
        "title": "Estimated loan amount",
        "type": "number",
        "x-format": "currency"
      },
      "closingCosts": {
        "title": "Estimated closing costs",
        "type": "number",
        "x-format": "currency"
      }
    }
  }
}
