{
  "tool_id": "tax_bracket",
  "slug": "tax-bracket-calculator",
  "path": "/tax-bracket-calculator/",
  "mode": "url_api",
  "api_usage": "GET https://aifinhub.io/api/tax-bracket-calculator/?<params>",
  "sample_input": {
    "tool": "tax_bracket",
    "gross_income": 95000,
    "filing_status": "single",
    "deduction": "standard"
  },
  "input_schema": {
    "type": "object",
    "properties": {
      "tool": {
        "type": "string"
      },
      "gross_income": {
        "type": "integer"
      },
      "filing_status": {
        "type": "string"
      },
      "deduction": {
        "type": "string"
      }
    },
    "required": [
      "tool",
      "gross_income",
      "filing_status",
      "deduction"
    ]
  },
  "output_schema": {
    "type": "object",
    "properties": {
      "grossIncome": {
        "type": "number"
      },
      "taxableIncome": {
        "type": "number"
      },
      "deductionMode": {
        "type": "string"
      },
      "standardDeduction": {
        "type": "number"
      },
      "deductionApplied": {
        "type": "number"
      },
      "totalTax": {
        "type": "number"
      },
      "marginalRatePercent": {
        "type": "number"
      },
      "effectiveTaxRatePercent": {
        "type": "number"
      },
      "marginalBracket": {
        "type": "object",
        "properties": {
          "rate": {
            "type": "number"
          },
          "ratePercent": {
            "type": "number"
          },
          "lowerBound": {
            "type": "number"
          },
          "upperBound": {
            "type": "number"
          },
          "taxableIncome": {
            "type": "number"
          },
          "taxOwed": {
            "type": "number"
          }
        }
      },
      "breakdown": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "rate": {
              "type": "number"
            },
            "ratePercent": {
              "type": "number"
            },
            "lowerBound": {
              "type": "number"
            },
            "upperBound": {
              "type": "number"
            },
            "taxableIncome": {
              "type": "number"
            },
            "taxOwed": {
              "type": "number"
            }
          }
        }
      }
    }
  }
}
