{
  "tool_id": "fire_expat",
  "slug": "fire-expat-calculator",
  "path": "/fire-expat-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifinhub.io/api/fire-expat-calculator/?<params>",
  "sample_input": {
    "tool": "fire_expat_calculator",
    "current_savings": "150000",
    "monthly_savings": "2500",
    "annual_return_percent": "7",
    "target_annual_spending": "48000",
    "home_country_tax_percent": "30",
    "dest_country_tax_percent": "15",
    "dest_col_index": "45",
    "annual_healthcare_cost": "3000",
    "withdrawal_rate_percent": "4"
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "current_savings": {
        "type": "number",
        "minimum": 0
      },
      "monthly_savings": {
        "type": "number",
        "minimum": 0
      },
      "annual_return_percent": {
        "type": "number",
        "minimum": 0,
        "maximum": 20
      },
      "target_annual_spending": {
        "type": "number",
        "minimum": 0
      },
      "home_country_tax_percent": {
        "type": "number",
        "minimum": 0,
        "maximum": 60
      },
      "dest_country_tax_percent": {
        "type": "number",
        "minimum": 0,
        "maximum": 60
      },
      "dest_col_index": {
        "type": "number",
        "minimum": 0,
        "maximum": 200
      },
      "annual_healthcare_cost": {
        "type": "number",
        "minimum": 0
      },
      "withdrawal_rate_percent": {
        "type": "number",
        "minimum": 0.1,
        "maximum": 10
      }
    },
    "required": [
      "current_savings",
      "monthly_savings",
      "annual_return_percent",
      "target_annual_spending",
      "home_country_tax_percent",
      "dest_country_tax_percent",
      "dest_col_index",
      "annual_healthcare_cost",
      "withdrawal_rate_percent"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "primaryLabel": {
        "type": "string"
      },
      "primaryValue": {
        "type": "number"
      },
      "primaryFormat": {
        "type": "string"
      },
      "summary": {
        "type": "string"
      },
      "metrics": {
        "type": "array"
      },
      "warnings": {
        "type": "array"
      }
    }
  }
}
