Raw schema
{
"type": "object",
"properties": {
"state": {
"type": "string",
"enum": [
"TX",
"FL",
"CA",
"NY",
"IL",
"NC",
"GA",
"PA",
"OH",
"NJ",
"MI",
"VA",
"CO",
"MA",
"OR",
"AK",
"NV",
"SD",
"WA",
"WY",
"NH",
"TN",
"AZ",
"IN",
"KY",
"UT",
"IA",
"ID",
"MS",
"LA",
"AR",
"KS",
"MT",
"NE",
"ND",
"OK",
"SC",
"VT",
"WV",
"WI",
"AL",
"CT",
"DE",
"DC",
"HI",
"ME",
"MD",
"MN",
"MO",
"NM",
"RI"
],
"description": "Two-letter postal code of the state where the employee works and lives: all 50 states and DC (for example CA, NY, TX, DC)."
},
"pay_type": {
"default": "salary",
"description": "Whether the employee is paid a yearly salary or an hourly wage. Default salary.",
"type": "string",
"enum": [
"salary",
"hourly"
]
},
"annual_salary_usd": {
"description": "Yearly gross salary in US dollars. Required when pay_type is salary. For example 60000.",
"type": "number",
"minimum": 0,
"maximum": 100000000
},
"hourly_rate_usd": {
"description": "Hourly wage in US dollars. Required when pay_type is hourly. For example 25.",
"type": "number",
"minimum": 0,
"maximum": 100000
},
"regular_hours_per_week": {
"default": 40,
"description": "Regular (straight-time) hours per week, hourly pay only. Default 40.",
"type": "number",
"minimum": 0,
"maximum": 168
},
"overtime_hours_per_week": {
"default": 0,
"description": "Overtime hours per week paid at time and a half, hourly pay only. Default 0.",
"type": "number",
"minimum": 0,
"maximum": 168
},
"pay_frequency": {
"default": "biweekly",
"description": "How often the employee is paid: weekly (52 paychecks a year), biweekly (26), semimonthly (24, twice a month) or monthly (12). Default biweekly.",
"type": "string",
"enum": [
"weekly",
"biweekly",
"semimonthly",
"monthly"
]
},
"filing_status": {
"default": "single",
"description": "Filing status on the federal Form W-4, step 1(c): single (or married filing separately), married (filing jointly) or head (head of household). Default single.",
"type": "string",
"enum": [
"single",
"married",
"head"
]
},
"w4_step2_checkbox": {
"default": false,
"description": "The 'multiple jobs or spouse works' box in Form W-4 step 2(c). Default false.",
"type": "boolean"
},
"w4_children_under_17": {
"default": 0,
"description": "Qualifying children under 17 for Form W-4 step 3 (a $2,200 credit each in 2026). Default 0.",
"type": "integer",
"minimum": 0,
"maximum": 30
},
"w4_other_dependents": {
"default": 0,
"description": "Other dependents for Form W-4 step 3 (a $500 credit each). Default 0.",
"type": "integer",
"minimum": 0,
"maximum": 30
},
"w4_other_income_usd_per_year": {
"default": 0,
"description": "Other income not from jobs, Form W-4 step 4(a), in US dollars per year. Default 0.",
"type": "number",
"minimum": 0,
"maximum": 100000000
},
"w4_deductions_usd_per_year": {
"default": 0,
"description": "Deductions above the standard deduction, Form W-4 step 4(b), in US dollars per year. Default 0.",
"type": "number",
"minimum": 0,
"maximum": 100000000
},
"w4_extra_withholding_usd_per_paycheck": {
"default": 0,
"description": "Extra federal withholding per paycheck, Form W-4 step 4(c), in US dollars. Default 0.",
"type": "number",
"minimum": 0,
"maximum": 1000000
},
"traditional_401k_percent": {
"default": 0,
"description": "Pre-tax 401(k) contribution as a percentage of gross pay, 0 to 100 (capped at the 2026 IRS limit). Default 0.",
"type": "number",
"minimum": 0,
"maximum": 100
},
"health_premiums_usd_per_paycheck": {
"default": 0,
"description": "Pre-tax health, dental and vision premiums per paycheck, in US dollars. Default 0.",
"type": "number",
"minimum": 0,
"maximum": 1000000
},
"hsa_usd_per_paycheck": {
"default": 0,
"description": "Pre-tax HSA contribution through payroll per paycheck, in US dollars (capped at the 2026 family limit). Default 0.",
"type": "number",
"minimum": 0,
"maximum": 1000000
},
"state_allowances": {
"description": "Allowances or exemptions on the state's own withholding form, for states that have one. Leave out to use the typical single worker's number for that state.",
"type": "integer",
"minimum": 0,
"maximum": 50
},
"local_tax": {
"description": "Id of a city or county income tax to include (for example 'nyc' or 'yonkers' for New York). Leave out for none; an unknown id returns the ids that state accepts.",
"type": "string",
"maxLength": 40
}
},
"required": [
"state"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}