{
  "tool_id": "rental_property_house_hack",
  "slug": "rental-property-house-hack-calculator",
  "path": "/rental-property-house-hack-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifinhub.io/api/rental-property-house-hack-calculator/?<params>",
  "sample_input": {
    "tool": "rental_property_house_hack_calculator",
    "purchase_price": "400000",
    "down_payment_percent": "3.5",
    "mortgage_rate_percent": "6.5",
    "rental_income_monthly": "1500",
    "total_units": "2",
    "property_tax_annual": "4000",
    "insurance_annual": "1800"
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "purchase_price": {
        "type": "number",
        "minimum": 0
      },
      "down_payment_percent": {
        "type": "number",
        "minimum": 0,
        "maximum": 100
      },
      "mortgage_rate_percent": {
        "type": "number",
        "minimum": 0,
        "maximum": 30
      },
      "rental_income_monthly": {
        "type": "number",
        "minimum": 0
      },
      "total_units": {
        "type": "number",
        "minimum": 1,
        "maximum": 10
      },
      "property_tax_annual": {
        "type": "number",
        "minimum": 0
      },
      "insurance_annual": {
        "type": "number",
        "minimum": 0
      }
    },
    "required": [
      "purchase_price",
      "down_payment_percent",
      "mortgage_rate_percent",
      "rental_income_monthly",
      "total_units",
      "property_tax_annual",
      "insurance_annual"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "primaryLabel": {
        "type": "string"
      },
      "primaryValue": {
        "type": "number"
      },
      "primaryFormat": {
        "type": "string"
      },
      "summary": {
        "type": "string"
      },
      "metrics": {
        "type": "array"
      },
      "warnings": {
        "type": "array"
      }
    }
  }
}
