{
  "tool_id": "inflation_impact",
  "slug": "inflation-calculator",
  "path": "/inflation-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifinhub.io/api/inflation-calculator/?<params>",
  "sample_input": {
    "tool": "inflation_impact",
    "mode": "cpi",
    "amount": 1000,
    "from_year": 2015,
    "to_year": 2025,
    "custom_annual_inflation_percent": 3,
    "salary_today": 75000,
    "salary_growth_percent": 3.5
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "mode": {
        "type": "string"
      },
      "amount": {
        "type": "integer"
      },
      "from_year": {
        "type": "integer"
      },
      "to_year": {
        "type": "integer"
      },
      "custom_annual_inflation_percent": {
        "type": "integer"
      },
      "salary_today": {
        "type": "integer"
      },
      "salary_growth_percent": {
        "type": "number"
      }
    },
    "required": [
      "tool",
      "mode",
      "amount",
      "from_year",
      "to_year",
      "custom_annual_inflation_percent",
      "salary_today",
      "salary_growth_percent"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "adjustedAmount": {
        "type": "number"
      },
      "cumulativeInflationPercent": {
        "type": "number"
      },
      "annualizedInflationPercent": {
        "type": "number"
      },
      "purchasingPowerLossPercent": {
        "type": "number"
      },
      "salaryProjected": {
        "type": "number"
      },
      "salaryVsInflationDelta": {
        "type": "number"
      },
      "timeline": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "year": {
              "type": "number"
            },
            "estimatedValue": {
              "type": "number"
            }
          }
        }
      },
      "assumptionsEcho": {
        "type": "object",
        "properties": {
          "mode": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "fromYear": {
            "type": "number"
          },
          "toYear": {
            "type": "number"
          },
          "customAnnualInflationPercent": {
            "type": "number"
          },
          "salaryToday": {
            "type": "number"
          },
          "salaryGrowthPercent": {
            "type": "number"
          }
        }
      },
      "warnings": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    }
  }
}
