View input schema
{
"type": "object",
"properties": {
"leaveDate": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The date the person would leave"
},
"filing": {
"type": "string",
"enum": [
"single",
"married"
]
},
"current": {
"type": "object",
"properties": {
"base": {
"type": "number",
"minimum": 0,
"description": "Annual base salary in dollars"
},
"bonus": {
"description": "Annual cash bonus target in dollars",
"type": "number",
"minimum": 0
},
"metro": {
"description": "Metro id such as \"us-sfo\", \"us-sea\", \"us-nyc\"; \"remote-us\" is valid for the offer only",
"type": "string"
},
"housingAnnual": {
"description": "Annual housing cost in dollars, if known",
"type": "number",
"minimum": 0
},
"grants": {
"maxItems": 10,
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"rsu",
"iso",
"nso",
"shares"
]
},
"valueUsd": {
"description": "Total grant value in dollars, for RSUs or shares, when the letter gives a dollar figure",
"type": "number",
"minimum": 0
},
"shares": {
"description": "Number of units or shares",
"type": "number",
"minimum": 0
},
"fmv": {
"description": "Current price per share (market price, or 409A for a private company)",
"type": "number",
"minimum": 0
},
"strikePrice": {
"description": "Exercise price per share; required for iso and nso, not allowed for rsu or shares",
"type": "number",
"minimum": 0
},
"isPrivate": {
"description": "Whether the issuing company is private",
"type": "boolean"
},
"privateHaircut": {
"description": "0..1 discount on a private valuation; defaults to 0.3",
"type": "number",
"minimum": 0,
"maximum": 1
},
"grantDate": {
"description": "Grant date as written in the letter",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"vestingYears": {
"description": "Total vesting term in years; default 4",
"type": "integer",
"minimum": 1,
"maximum": 10
},
"cliffMonths": {
"description": "0 for no cliff or 12 for a one-year cliff; default 12",
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 12
}
]
},
"cadence": {
"description": "Vesting cadence after the first date; default quarterly",
"type": "string",
"enum": [
"monthly",
"quarterly",
"annual"
]
},
"yearlyPercents": {
"description": "Per-year percentages exactly as the letter states them, one per year, summing to 100; send whenever the letter gives them",
"minItems": 1,
"maxItems": 10,
"type": "array",
"items": {
"type": "number",
"minimum": 0
}
},
"schedule": {
"description": "Explicit vest dates instead of grant terms; do not give both",
"type": "object",
"properties": {
"cliff": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First vest date"
},
"cadence": {
"type": "string",
"enum": [
"monthly",
"quarterly",
"annual"
],
"description": "How often the grant vests after the first date"
},
"end": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last vest date"
},
"firstVest": {
"description": "\"cliff\" (a quarter vests first, the default), \"even\", \"backloaded\" (5/15/40/40) or explicit per-year weights",
"anyOf": [
{
"type": "string",
"enum": [
"cliff",
"even",
"backloaded"
]
},
{
"type": "object",
"properties": {
"yearWeights": {
"minItems": 1,
"type": "array",
"items": {
"type": "number",
"minimum": 0
}
}
},
"required": [
"yearWeights"
],
"additionalProperties": false
}
]
}
},
"required": [
"cliff",
"cadence",
"end"
],
"additionalProperties": false
}
},
"required": [
"type"
],
"additionalProperties": false
}
}
},
"required": [
"base"
],
"additionalProperties": false,
"description": "The current role"
},
"offer": {
"description": "The offer. Leave it out (or send null) when there is no offer yet; the result then gives the number an offer has to beat and no verdict.",
"anyOf": [
{
"type": "object",
"properties": {
"base": {
"type": "number",
"minimum": 0,
"description": "Annual base salary in dollars"
},
"bonus": {
"description": "Annual cash bonus target in dollars",
"type": "number",
"minimum": 0
},
"metro": {
"description": "Metro id such as \"us-sfo\", \"us-sea\", \"us-nyc\"; \"remote-us\" is valid for the offer only",
"type": "string"
},
"housingAnnual": {
"description": "Annual housing cost in dollars, if known",
"type": "number",
"minimum": 0
},
"grants": {
"maxItems": 10,
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"rsu",
"iso",
"nso",
"shares"
]
},
"valueUsd": {
"description": "Total grant value in dollars, for RSUs or shares, when the letter gives a dollar figure",
"type": "number",
"minimum": 0
},
"shares": {
"description": "Number of units or shares",
"type": "number",
"minimum": 0
},
"fmv": {
"description": "Current price per share (market price, or 409A for a private company)",
"type": "number",
"minimum": 0
},
"strikePrice": {
"description": "Exercise price per share; required for iso and nso, not allowed for rsu or shares",
"type": "number",
"minimum": 0
},
"isPrivate": {
"description": "Whether the issuing company is private",
"type": "boolean"
},
"privateHaircut": {
"description": "0..1 discount on a private valuation; defaults to 0.3",
"type": "number",
"minimum": 0,
"maximum": 1
},
"grantDate": {
"description": "Grant date as written in the letter",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"vestingYears": {
"description": "Total vesting term in years; default 4",
"type": "integer",
"minimum": 1,
"maximum": 10
},
"cliffMonths": {
"description": "0 for no cliff or 12 for a one-year cliff; default 12",
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 12
}
]
},
"cadence": {
"description": "Vesting cadence after the first date; default quarterly",
"type": "string",
"enum": [
"monthly",
"quarterly",
"annual"
]
},
"yearlyPercents": {
"description": "Per-year percentages exactly as the letter states them, one per year, summing to 100; send whenever the letter gives them",
"minItems": 1,
"maxItems": 10,
"type": "array",
"items": {
"type": "number",
"minimum": 0
}
},
"schedule": {
"description": "Explicit vest dates instead of grant terms; do not give both",
"type": "object",
"properties": {
"cliff": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First vest date"
},
"cadence": {
"type": "string",
"enum": [
"monthly",
"quarterly",
"annual"
],
"description": "How often the grant vests after the first date"
},
"end": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last vest date"
},
"firstVest": {
"description": "\"cliff\" (a quarter vests first, the default), \"even\", \"backloaded\" (5/15/40/40) or explicit per-year weights",
"anyOf": [
{
"type": "string",
"enum": [
"cliff",
"even",
"backloaded"
]
},
{
"type": "object",
"properties": {
"yearWeights": {
"minItems": 1,
"type": "array",
"items": {
"type": "number",
"minimum": 0
}
}
},
"required": [
"yearWeights"
],
"additionalProperties": false
}
]
}
},
"required": [
"cliff",
"cadence",
"end"
],
"additionalProperties": false
}
},
"required": [
"type"
],
"additionalProperties": false
}
},
"signingBonus": {
"type": "number",
"minimum": 0
},
"kind": {
"description": "\"real\" when the offer is held in writing",
"type": "string",
"enum": [
"real",
"exploring"
]
},
"relocation": {
"type": "object",
"properties": {
"packageOffered": {
"type": "number",
"minimum": 0
},
"estimatedCost": {
"type": "number",
"minimum": 0
}
},
"required": [
"packageOffered",
"estimatedCost"
],
"additionalProperties": false
}
},
"required": [
"base"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"ratings": {
"type": "object",
"properties": {
"growth": {
"type": "integer",
"minimum": -2,
"maximum": 2
},
"title": {
"type": "integer",
"minimum": -2,
"maximum": 2
},
"remote": {
"type": "integer",
"minimum": -2,
"maximum": 2
},
"stability": {
"type": "integer",
"minimum": -2,
"maximum": 2
},
"team": {
"type": "integer",
"minimum": -2,
"maximum": 2
}
},
"additionalProperties": false,
"description": "How the offer compares to the current role on each factor, -2 (much worse) to 2 (much better)"
},
"privateHaircut": {
"description": "Default discount for private grants that carry none; 0.3 if omitted",
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"leaveDate",
"current"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}