{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/ca/closing-costs/schema.json",
  "title": "Home Closing Cost Worksheet — Canada inputs",
  "description": "Separate the down payment, money already paid, closing fees, prepaids and confirmed credits without inventing transfer-tax eligibility. CAD planning view; stated limitations apply.",
  "type": "object",
  "properties": {
    "purchasePrice": {
      "title": "Purchase price",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 400000,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "downPayment": {
      "title": "Total down payment",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 80000,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "lenderFees": {
      "title": "Lender fees",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 2500,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "legalFees": {
      "title": "Legal/settlement fees",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 1800,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "titleFees": {
      "title": "Title/registration costs",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 1200,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "transferTax": {
      "title": "Confirmed transfer/land tax",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "prepaids": {
      "title": "Prepaid interest, insurance and reserves",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 3000,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "credits": {
      "title": "Confirmed permitted cost credits",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "depositPaid": {
      "title": "Deposit already paid toward down payment",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 10000,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    }
  },
  "required": [
    "purchasePrice",
    "downPayment",
    "lenderFees",
    "legalFees",
    "titleFees",
    "transferTax",
    "prepaids",
    "credits",
    "depositPaid"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "20.16.0",
    "calculatorUrl": "https://askcalculators.com/ca/closing-costs/",
    "queryExample": "https://askcalculators.com/ca/closing-costs/?purchasePrice=400000&downPayment=80000&lenderFees=2500&legalFees=1800&titleFees=1200&transferTax=0&prepaids=3000&credits=0&depositPaid=10000",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "cash to close = down payment − deposit already paid + entered closing costs and prepaids − permitted credits.",
      "note": "Inputs are converted to canonical units before evaluating this stated formula."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/v20-ca-closing-costs.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "20.16.0",
      "referenceCoverage": "references-listed",
      "releaseTestScope": "Catalog and regression checks are not a professional formula audit; consult release evidence.",
      "historicalMetadataDate": "",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "loanAmount": {
        "title": "Purchase loan before financed fees",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      },
      "grossClosingCosts": {
        "title": "Entered closing costs and prepaids",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      },
      "netClosingCosts": {
        "title": "Costs after entered credits",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      },
      "cashToClose": {
        "title": "Remaining cash to close",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2,
        "x-primary": true
      }
    }
  }
}
