{
  "tool_id": "net_worth",
  "slug": "net-worth-calculator",
  "path": "/net-worth-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifinhub.io/api/net-worth-calculator/?<params>",
  "sample_input": {
    "tool": "net_worth",
    "assets": {
      "cash": 18000,
      "investments": 52000,
      "retirement": 88000,
      "real_estate": 250000,
      "vehicles": 14000,
      "other_assets": 4000
    },
    "liabilities": {
      "mortgage": 180000,
      "student_loans": 12000,
      "auto_loans": 6000,
      "credit_cards": 1800,
      "other_debt": 0
    },
    "monthly_contribution": 1200,
    "monthly_debt_paydown": 650,
    "annual_return_percent": 6,
    "annual_real_estate_appreciation_percent": 2.5,
    "projection_months": 24
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "assets": {
        "type": "object",
        "properties": {
          "cash": {
            "type": "integer"
          },
          "investments": {
            "type": "integer"
          },
          "retirement": {
            "type": "integer"
          },
          "real_estate": {
            "type": "integer"
          },
          "vehicles": {
            "type": "integer"
          },
          "other_assets": {
            "type": "integer"
          }
        },
        "required": [
          "cash",
          "investments",
          "retirement",
          "real_estate",
          "vehicles",
          "other_assets"
        ]
      },
      "liabilities": {
        "type": "object",
        "properties": {
          "mortgage": {
            "type": "integer"
          },
          "student_loans": {
            "type": "integer"
          },
          "auto_loans": {
            "type": "integer"
          },
          "credit_cards": {
            "type": "integer"
          },
          "other_debt": {
            "type": "integer"
          }
        },
        "required": [
          "mortgage",
          "student_loans",
          "auto_loans",
          "credit_cards",
          "other_debt"
        ]
      },
      "monthly_contribution": {
        "type": "integer"
      },
      "monthly_debt_paydown": {
        "type": "integer"
      },
      "annual_return_percent": {
        "type": "integer"
      },
      "annual_real_estate_appreciation_percent": {
        "type": "number"
      },
      "projection_months": {
        "type": "integer"
      }
    },
    "required": [
      "tool",
      "assets",
      "liabilities",
      "monthly_contribution",
      "monthly_debt_paydown",
      "annual_return_percent",
      "annual_real_estate_appreciation_percent",
      "projection_months"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "totalAssets": {
        "type": "number"
      },
      "totalLiabilities": {
        "type": "number"
      },
      "netWorth": {
        "type": "number"
      },
      "debtToAssetRatioPercent": {
        "type": "number"
      },
      "milestoneBadges": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "projection": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "month": {
              "type": "number"
            },
            "projectedAssets": {
              "type": "number"
            },
            "projectedLiabilities": {
              "type": "number"
            },
            "projectedNetWorth": {
              "type": "number"
            }
          }
        }
      },
      "assumptionsEcho": {
        "type": "object",
        "properties": {
          "assets": {
            "type": "object",
            "properties": {
              "cash": {
                "type": "number"
              },
              "investments": {
                "type": "number"
              },
              "retirement": {
                "type": "number"
              },
              "realEstate": {
                "type": "number"
              },
              "vehicles": {
                "type": "number"
              },
              "otherAssets": {
                "type": "number"
              }
            }
          },
          "liabilities": {
            "type": "object",
            "properties": {
              "mortgage": {
                "type": "number"
              },
              "studentLoans": {
                "type": "number"
              },
              "autoLoans": {
                "type": "number"
              },
              "creditCards": {
                "type": "number"
              },
              "otherDebt": {
                "type": "number"
              }
            }
          },
          "monthlyContribution": {
            "type": "number"
          },
          "monthlyDebtPaydown": {
            "type": "number"
          },
          "annualReturnPercent": {
            "type": "number"
          },
          "annualRealEstateAppreciationPercent": {
            "type": "number"
          },
          "projectionMonths": {
            "type": "number"
          }
        }
      },
      "warnings": {
        "type": "array",
        "items": {}
      }
    }
  }
}
