{
  "tool_id": "real_raise",
  "slug": "real-raise-calculator",
  "path": "/real-raise-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifinhub.io/api/real-raise-calculator/?<params>",
  "sample_input": {
    "tool": "real_raise_calculator",
    "current_salary": 75000,
    "raise_percent": 3,
    "inflation_percent": 3.5,
    "years": 5
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "current_salary": {
        "type": "integer"
      },
      "raise_percent": {
        "type": "integer"
      },
      "inflation_percent": {
        "type": "number"
      },
      "years": {
        "type": "integer"
      }
    },
    "required": [
      "tool",
      "current_salary",
      "raise_percent",
      "inflation_percent",
      "years"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "nominalNewSalary": {
        "type": "number"
      },
      "realPurchasingPower": {
        "type": "number"
      },
      "realRaisePercent": {
        "type": "number"
      },
      "isPayCut": {
        "type": "boolean"
      },
      "nominalGainDollars": {
        "type": "number"
      },
      "realGainDollars": {
        "type": "number"
      },
      "timeline": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "year": {
              "type": "number"
            },
            "nominalSalary": {
              "type": "number"
            },
            "realSalary": {
              "type": "number"
            },
            "cumulativeInflation": {
              "type": "number"
            }
          }
        }
      },
      "assumptionsEcho": {
        "type": "object",
        "properties": {
          "currentSalary": {
            "type": "number"
          },
          "raisePercent": {
            "type": "number"
          },
          "inflationPercent": {
            "type": "number"
          },
          "years": {
            "type": "number"
          }
        }
      }
    }
  }
}
