{
  "tool_id": "lifestyle_creep",
  "slug": "lifestyle-creep-calculator",
  "path": "/lifestyle-creep-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifinhub.io/api/lifestyle-creep-calculator/?<params>",
  "sample_input": {
    "tool": "lifestyle_creep",
    "current_income": 85000,
    "current_spending": 55000,
    "raises": [
      {
        "income_increase_percent": 5,
        "spending_increase_percent": 7
      },
      {
        "income_increase_percent": 4,
        "spending_increase_percent": 6
      },
      {
        "income_increase_percent": 3,
        "spending_increase_percent": 5
      }
    ]
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "current_income": {
        "type": "integer"
      },
      "current_spending": {
        "type": "integer"
      },
      "raises": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "income_increase_percent": {
              "type": "integer"
            },
            "spending_increase_percent": {
              "type": "integer"
            }
          },
          "required": [
            "income_increase_percent",
            "spending_increase_percent"
          ]
        }
      }
    },
    "required": [
      "tool",
      "current_income",
      "current_spending",
      "raises"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "years": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "year": {
              "type": "number"
            },
            "income": {
              "type": "number"
            },
            "spending": {
              "type": "number"
            },
            "savings": {
              "type": "number"
            },
            "savingsRate": {
              "type": "number"
            }
          }
        }
      },
      "creepScore": {
        "type": "number"
      },
      "annualCreepTax": {
        "type": "number"
      },
      "fiYearsLost": {
        "type": "number"
      },
      "baselineSavingsRate": {
        "type": "number"
      },
      "finalSavingsRate": {
        "type": "number"
      }
    }
  }
}
