{
  "tool_id": "mortgage_payment_amortization",
  "slug": "mortgage-payment-amortization-calculator",
  "path": "/mortgage-payment-amortization-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifinhub.io/api/mortgage-payment-amortization-calculator/?<params>",
  "sample_input": {
    "tool": "mortgage_payment_amortization",
    "home_price": 420000,
    "down_payment_percent": 20,
    "annual_rate_percent": 6.5,
    "loan_term_years": 30,
    "annual_property_tax_percent": 1.1,
    "annual_home_insurance": 1800,
    "hoa_monthly": 0
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "home_price": {
        "type": "integer"
      },
      "down_payment_percent": {
        "type": "integer"
      },
      "annual_rate_percent": {
        "type": "number"
      },
      "loan_term_years": {
        "type": "integer"
      },
      "annual_property_tax_percent": {
        "type": "number"
      },
      "annual_home_insurance": {
        "type": "integer"
      },
      "hoa_monthly": {
        "type": "integer"
      }
    },
    "required": [
      "tool",
      "home_price",
      "down_payment_percent",
      "annual_rate_percent",
      "loan_term_years",
      "annual_property_tax_percent",
      "annual_home_insurance",
      "hoa_monthly"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "primaryLabel": {
        "type": "string"
      },
      "primaryValue": {
        "type": "number"
      },
      "primaryFormat": {
        "type": "string"
      },
      "summary": {
        "type": "string"
      },
      "metrics": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "label": {
              "type": "string"
            },
            "value": {
              "type": "number"
            },
            "format": {
              "type": "string"
            }
          }
        }
      },
      "warnings": {
        "type": "array",
        "items": {}
      },
      "assumptionsEcho": {
        "type": "object",
        "properties": {
          "home_price": {
            "type": "number"
          },
          "down_payment_percent": {
            "type": "number"
          },
          "annual_rate_percent": {
            "type": "number"
          },
          "loan_term_years": {
            "type": "number"
          },
          "annual_property_tax_percent": {
            "type": "number"
          },
          "annual_home_insurance": {
            "type": "number"
          },
          "hoa_monthly": {
            "type": "number"
          }
        }
      }
    }
  }
}
