Skip to content

PDF report

Explain my numbers

Returns the original calculator’s math, substituted figures, comparisons and available deep-dive sections, with checks against the numerical engine.

Open Mortgage Calculator in HT Calc

For the published payment example, open Explain my numbers in the payment calculator. Other input types use the corresponding tool’s Explain action. This HT Calc screen includes a Pro sample for visitors.

Cost per success
20 calculation credits + 1 PDF report
Production plans
Business, Scale, Enterprise
Plan allowances
Free sandbox
Not available

Integration example

Request a PDF

Before your first report

  1. Open Widgets & reports in your paid workspace. Save your brand name, accent and at least one exact HTTPS origin, such as https://app.example.com. The origins identify sites allowed to embed your widgets.
  2. Under Report credentials, name a credential, select explain-numbers and choose Create report credential. Save the secret shown once in your server’s HT_REPORT_KEY.
  3. Run the example on your server against accounts.hasstechapi.com, without an Origin header. A successful request returns a PDF and uses 20 calculation credits and 1 PDF report. Running the example again starts a new paid request.
What if the PDF doesn’t arrive?

For 400 INVALID_INPUT, inspect error.details when present. Paths for template fields start with input. Fix the indicated field and send a new request. This validation error uses zero credits and zero reports.

Open the .pdf.request.json file the example saved before sending. Within 24 hours, open Request lookup in the same workspace, choose Production, and paste the file’s requestId. The response’s X-Request-Id is a separate support identifier.

A settled request shows the calculation credits and report used. The service doesn’t keep the PDF for download. Check your saved file first. A replacement with a new ID uses 20 calculation credits and 1 PDF report on success.

If the outcome is unclear, check the workspace and ID, then look it up again before requesting a replacement.

Download the production PDF

Set HT_REPORT_KEY on your server. Save as example.mjs and run node example.mjs with Node.js 18 or later.

import { randomUUID } from "node:crypto";
import { writeFile } from "node:fs/promises";

const key = process.env.HT_REPORT_KEY;
if (!key) throw new Error("Set HT_REPORT_KEY on your server.");
const endpoint = "https://accounts.hasstechapi.com/v2/reports/explain-numbers";
const input = {
  "tool": "payment",
  "detail": "pro",
  "inputs": {
    "loanAmount": 300000,
    "interestRate": 6.75,
    "loanTerm": 30,
    "propertyTax": 3600,
    "homeInsurance": 1200,
    "hoaFees": 0,
    "estimatedValue": 400000,
    "useEstimatedPmi": false,
    "extraPayment": 0,
    "payoffFrequency": "monthly",
    "yearlyExtra": 0,
    "oneTimeExtra": 0,
    "oneTimeExtraMonth": 12
  }
};
const requestId = Date.now() + "." + randomUUID();
const output = "explain-numbers-" + requestId + ".pdf";
await writeFile(output + ".request.json", JSON.stringify({ requestId, endpoint }), {
  flag: "wx", mode: 0o600
});
console.error("Usage lookup ID:", requestId);

const response = await fetch(endpoint, {
  method: "POST",
  redirect: "error",
  headers: {
    "Authorization": "Bearer " + key,
    "Content-Type": "application/json"
  },
  body: JSON.stringify({ requestId, input })
});
if (!response.ok) {
  const problem = await response.json().catch(() => null);
  const code = problem?.error?.code || response.statusText;
  const delay = response.headers.get("retry-after");
  if (delay) console.error("Retry-After (seconds):", delay);
  console.error("HTTP " + response.status + " " + code + ". Usage lookup ID: " + requestId);
  if (Array.isArray(problem?.error?.details)) {
    for (const issue of problem.error.details) console.error("Input issue:", JSON.stringify(issue));
  }
  process.exitCode = 1;
} else {
  if (response.headers.get("content-type")?.split(";")[0] !== "application/pdf") {
    throw new Error("Expected a PDF. Look up request " + requestId);
  }
  await writeFile(output, new Uint8Array(await response.arrayBuffer()), { flag: "wx" });
  console.log("Saved", output);
}

Output

PDF output

A successful request returns the PDF file as application/pdf. The example writes a file named explain-numbers-<requestId>.pdf.

See the Explain my numbers calculation and example result.

Request contract

Accepted inputs

Fields for this example. Expand the schema for all supported combinations and limits.

FieldType, units and limits

toolRequired
stringMust equal "payment"
detailRequired
string

App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available.

Allowed: "free", "plus", "pro"
inputsRequired
object
inputs.loanAmountRequired
number

Mortgage principal in USD.

Max 1000000000 · Greater than 0
inputs.interestRateRequired
number

Annual nominal interest rate in percent.

Min 0 · Max 100
inputs.loanTermRequired
integer

Loan amortization term in whole years.

Min 1 · Max 50
inputs.propertyTaxRequired
number

Annual property tax in USD.

Min 0 · Max 1000000000
inputs.homeInsuranceRequired
number

Annual homeowners insurance in USD.

Min 0 · Max 1000000000
inputs.hoaFeesRequired
number

Monthly association dues in USD.

Min 0 · Max 1000000000
inputs.estimatedValueRequired
number

Property value in USD for the estimated mortgage insurance calculation.

Min 0 · Max 1000000000
inputs.useEstimatedPmiRequired
boolean

Whether to use the source PMI estimate.

inputs.extraPaymentRequired
number

Additional recurring principal payment in USD.

Min 0 · Max 1000000000
inputs.payoffFrequencyRequired
string

Monthly or biweekly payment cadence.

Allowed: "monthly", "biweekly"
inputs.yearlyExtraRequired
number

Extra annual principal payment in USD.

Min 0 · Max 1000000000
inputs.oneTimeExtraRequired
number

One-time principal payment in USD.

Min 0 · Max 1000000000
inputs.oneTimeExtraMonthRequired
integer

One-based payment month for the one-time extra payment.

Min 1 · Max 600
Example input (JSON)

The server example adds a fresh requestId to this input.

{
  "input": {
    "tool": "payment",
    "detail": "pro",
    "inputs": {
      "loanAmount": 300000,
      "interestRate": 6.75,
      "loanTerm": 30,
      "propertyTax": 3600,
      "homeInsurance": 1200,
      "hoaFees": 0,
      "estimatedValue": 400000,
      "useEstimatedPmi": false,
      "extraPayment": 0,
      "payoffFrequency": "monthly",
      "yearlyExtra": 0,
      "oneTimeExtra": 0,
      "oneTimeExtraMonth": 12
    }
  }
}
Full JSON schema
{
  "oneOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "budget"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "monthlyIncome": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Take-home income in USD/month.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "items": {
              "minItems": 1,
              "maxItems": 40,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 48,
                    "pattern": "^(?:Housing|Leisure|Savings|Food|Transport|Utilities|Other|Item (?:[1-9]|[1-9][0-9]|100))$",
                    "description": "Generic scenario label. Use a listed neutral value or a numbered placeholder."
                  },
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Amount allocated to this item in USD/month.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "category": {
                    "type": "string",
                    "enum": [
                      "needs",
                      "wants",
                      "savings"
                    ],
                    "description": "Budget group. Savings includes debt payments."
                  }
                },
                "required": [
                  "name",
                  "amount",
                  "category"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "monthlyIncome",
            "items"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "savings"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "initialDeposit": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Amount deposited at the start in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthlyContribution": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Recurring contribution in USD/month.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "annualRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 15,
              "description": "Nominal annual interest rate in percent, from 0 through 15.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "years": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Whole years of deposits and compounding."
            },
            "compounding": {
              "type": "string",
              "enum": [
                "monthly",
                "daily"
              ],
              "description": "Interest and deposit interval, monthly or daily."
            },
            "goal": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Optional savings target in USD for the source report. The Explain projection does not use it.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "initialDeposit",
            "monthlyContribution",
            "annualRate",
            "years",
            "compounding"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "debt-payoff"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "debts": {
              "minItems": 1,
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 48,
                    "pattern": "^(?:Credit card|Car loan|Student loan|Personal loan|Mortgage|Other|Debt (?:[1-9]|[1-9][0-9]|100))$",
                    "description": "Generic scenario label. Use a listed neutral value or a numbered placeholder."
                  },
                  "balance": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "Opening outstanding balance for this debt in USD.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "interest": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual interest rate on this debt in percent.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "minPayment": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "Required minimum payment on this debt in USD/month.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  }
                },
                "required": [
                  "name",
                  "balance",
                  "interest",
                  "minPayment"
                ],
                "additionalProperties": false
              }
            },
            "extraPayment": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Additional amount distributed across all debts in USD/month.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "strategy": {
              "type": "string",
              "enum": [
                "avalanche",
                "snowball"
              ],
              "description": "Avalanche targets the highest rate first. Snowball targets the smallest balance first."
            }
          },
          "required": [
            "debts",
            "extraPayment",
            "strategy"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "business-loan"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "program": {
              "type": "string",
              "enum": [
                "sba7a",
                "sba504",
                "term",
                "equipment",
                "loc"
              ],
              "description": "Program illustration used to select the SBA guarantee fee treatment and display name."
            },
            "loanAmount": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Original principal before financing fees, in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "rate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual loan interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "termYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Amortization term in whole years."
            },
            "originationFee": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Financed origination fee as a percentage of original principal.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthlyRevenue": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Business revenue in USD/month.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthlyExpenses": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Business operating expenses before debt service, in USD/month.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "existingDebt": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Existing debt service in USD/month.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "program",
            "loanAmount",
            "rate",
            "termYears",
            "originationFee",
            "monthlyRevenue",
            "monthlyExpenses",
            "existingDebt"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "commercial-mortgage"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "propertyType": {
              "type": "string",
              "enum": [
                "Multifamily",
                "Retail",
                "Office",
                "Industrial"
              ],
              "description": "Property class shown in the source report. The Explain calculation uses the supplied loan terms for every class."
            },
            "purchasePrice": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Property purchase price in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "downPaymentPct": {
              "type": "number",
              "minimum": 0,
              "exclusiveMaximum": 100,
              "description": "Down payment as a percentage of purchase price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "annualNOI": {
              "type": "number",
              "minimum": -1000000000,
              "maximum": 1000000000,
              "description": "Signed net operating income before debt service, in USD/year.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "ratePct": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual mortgage interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "amortYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Full amortization period in whole years."
            },
            "balloonYears": {
              "type": "integer",
              "minimum": 0,
              "maximum": 50,
              "description": "Whole years to maturity. Zero or the full amortization term means no separate balloon."
            }
          },
          "required": [
            "propertyType",
            "purchasePrice",
            "downPaymentPct",
            "annualNOI",
            "ratePct",
            "amortYears",
            "balloonYears"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "auto-payoff"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "balance": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Outstanding principal today in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "aprPct": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthsLeft": {
              "type": "integer",
              "minimum": 1,
              "maximum": 240,
              "description": "Number of monthly payments left under the scheduled term."
            },
            "currentPayment": {
              "description": "Optional actual payment in USD/month. Omit to calculate the payment for the balance, rate and remaining months.",
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "extraMonthly": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Additional principal under the monthly-extra plan in USD/month.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "lumpSum": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "One-time principal payment made today in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "roundTo": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 25,
                  "description": "USD increment to which the payment is rounded up under the round-up plan.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                {
                  "type": "number",
                  "const": 50,
                  "description": "USD increment to which the payment is rounded up under the round-up plan.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                {
                  "type": "number",
                  "const": 100,
                  "description": "USD increment to which the payment is rounded up under the round-up plan.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              ],
              "description": "USD increment to which the payment is rounded up under the round-up plan."
            },
            "chosen": {
              "type": "string",
              "enum": [
                "extra",
                "lump",
                "round",
                "biweekly"
              ],
              "description": "Selected payoff plan for the summary and comparison."
            },
            "carValue": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Optional vehicle value in USD for the source report equity calculation. The Explain payoff calculation does not use it.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "balance",
            "aprPct",
            "monthsLeft",
            "extraMonthly",
            "lumpSum",
            "roundTo",
            "chosen"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "auto-refinance"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "currentBalance": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Outstanding auto loan principal in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "currentRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual interest rate on the current loan in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "currentTermRemaining": {
              "type": "integer",
              "minimum": 1,
              "maximum": 240,
              "description": "Remaining monthly payments on the current loan."
            },
            "newRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual interest rate on the replacement loan in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "newTerm": {
              "type": "integer",
              "minimum": 1,
              "maximum": 240,
              "description": "Number of monthly payments on the replacement loan."
            },
            "refiCosts": {
              "description": "Optional costs rolled into the replacement balance in USD. Omit for the simple fee-free scenario.",
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "currentBalance",
            "currentRate",
            "currentTermRemaining",
            "newRate",
            "newTerm"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "auto-loan"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "loanAmount": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Vehicle purchase price in USD before any tax, fees, down payment or trade.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "interestRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual interest rate in percent. Enter 6 for 6%.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "extraPayment": {
              "description": "Optional extra principal in USD/month. A positive amount adds a note that the trace shows scheduled interest before extra payments.",
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanTerm": {
              "type": "integer",
              "minimum": 1,
              "maximum": 600,
              "description": "Loan term in months."
            },
            "downPayment": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Cash down payment in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "tradeInValue": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Gross trade-in credit in USD before subtracting its outstanding debt.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "amountOwedOnTrade": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Outstanding balance on the trade-in vehicle in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "tradeInReducesTax": {
              "type": "boolean",
              "description": "Whether the trade-in value reduces the taxable purchase price."
            },
            "salesTaxRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Vehicle sales tax as a percentage of taxable price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "fees": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Financed fees in USD, excluding sales tax.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthlyInsurance": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Vehicle insurance in USD/month for the source report, outside scheduled loan P&I.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthlyGas": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Fuel budget in USD/month for the source report, outside scheduled loan P&I.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthlyMaintenance": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Maintenance budget in USD/month for the source report, outside scheduled loan P&I.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "loanAmount",
            "interestRate",
            "loanTerm",
            "downPayment",
            "tradeInValue",
            "amountOwedOnTrade",
            "tradeInReducesTax",
            "salesTaxRate",
            "fees",
            "monthlyInsurance",
            "monthlyGas",
            "monthlyMaintenance"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "personal-loan"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "loanAmount": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Amount borrowed before the fee, in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "interestRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual interest rate in percent. Enter 6 for 6%.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "extraPayment": {
              "description": "Optional extra principal in USD/month. A positive amount adds a note that the trace shows scheduled interest before extra payments.",
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanTerm": {
              "type": "integer",
              "minimum": 1,
              "maximum": 600,
              "description": "Loan term in months."
            },
            "originationFee": {
              "type": "number",
              "minimum": 0,
              "exclusiveMaximum": 100,
              "description": "Origination fee withheld from proceeds, as a percentage of the amount borrowed.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "loanAmount",
            "interestRate",
            "loanTerm",
            "originationFee"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "student-loan"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "loanAmount": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Amount borrowed before the fee or capitalized interest, in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "interestRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual interest rate in percent. Enter 6 for 6%.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "extraPayment": {
              "description": "Optional extra principal in USD/month. A positive amount adds a note that the trace shows scheduled interest before extra payments.",
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanTerm": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Repayment term in whole years."
            },
            "originationFee": {
              "type": "number",
              "minimum": 0,
              "exclusiveMaximum": 100,
              "description": "Origination fee withheld from proceeds, as a percentage of the amount borrowed.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "defermentMonths": {
              "type": "integer",
              "minimum": 0,
              "maximum": 120,
              "description": "Months before repayment starts."
            },
            "loanSubtype": {
              "type": "string",
              "enum": [
                "subsidized",
                "unsubsidized"
              ],
              "description": "Subsidized or unsubsidized deferment interest treatment."
            }
          },
          "required": [
            "loanAmount",
            "interestRate",
            "loanTerm",
            "originationFee",
            "defermentMonths",
            "loanSubtype"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "apr"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "loanAmount": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Mortgage principal in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "interestRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual nominal interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanTermYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Loan amortization term in whole years."
            },
            "closingCosts": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Upfront fees included in the APR calculation in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "loanAmount",
            "interestRate",
            "loanTermYears",
            "closingCosts"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "bridge-loan"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "currentHomeValue": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Assumed property value in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "currentMortgageBalance": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Outstanding principal on the current home in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "newHomePurchasePrice": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Purchase price in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "targetDownPaymentPercent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Cash down payment as a percent of the purchase price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "newClosingCostsPercent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Purchase closing costs as a percent of the new purchase price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "cashAvailableForPurchase": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Cash available for down payment and purchase costs in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "maxCombinedLtvPercent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Maximum combined liens on the current home as a percent of its value.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "bridgeRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual bridge interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "bridgeTermMonths": {
              "type": "integer",
              "minimum": 1,
              "maximum": 600,
              "description": "Bridge term in whole months."
            },
            "originationFeePercent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Origination fee as a percent of bridge principal.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthlyCurrentHomeCarry": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Monthly carrying cost of the current home in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "newMonthlyPayment": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "New home payment in USD per month.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "otherMonthlyObligations": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Other monthly obligations in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "sellingCostsPercent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Sale costs as a percent of the current home value.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "bridgeStructure": {
              "type": "string",
              "enum": [
                "second-lien",
                "payoff-first-lien"
              ],
              "description": "A second lien keeps the existing mortgage. A payoff-first lien replaces it."
            }
          },
          "required": [
            "currentHomeValue",
            "currentMortgageBalance",
            "newHomePurchasePrice",
            "targetDownPaymentPercent",
            "newClosingCostsPercent",
            "cashAvailableForPurchase",
            "maxCombinedLtvPercent",
            "bridgeRate",
            "bridgeTermMonths",
            "originationFeePercent",
            "monthlyCurrentHomeCarry",
            "newMonthlyPayment",
            "otherMonthlyObligations",
            "sellingCostsPercent",
            "bridgeStructure"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "reverse-mortgage"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "borrowerAge": {
              "type": "integer",
              "minimum": 62,
              "maximum": 115,
              "description": "Borrower age in whole years."
            },
            "eligibleNonBorrowingSpouseAge": {
              "type": "integer",
              "minimum": 18,
              "maximum": 115,
              "description": "Optional eligible non-borrowing spouse age in whole years."
            },
            "homeValue": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Assumed property value in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "existingMortgage": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Existing mortgage payoff in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "expectedRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Expected annual rate used to select the principal-limit factor, in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "otherClosingCosts": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Additional settlement costs in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "repairSetAside": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Funds set aside for repairs in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "propertyChargeSetAside": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Funds set aside for property charges in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "servicingFeeSetAside": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Funds set aside for servicing fees in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "borrowerAge",
            "homeValue",
            "existingMortgage",
            "expectedRate",
            "otherClosingCosts",
            "repairSetAside",
            "propertyChargeSetAside",
            "servicingFeeSetAside"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "cost-of-waiting"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "currentHomePrice": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Purchase price in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "downPaymentPct": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Cash down payment as a percent of the purchase price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "currentInterestRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual nominal interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "yearsToWait": {
              "type": "integer",
              "minimum": 1,
              "maximum": 30,
              "description": "Time before purchase in years."
            },
            "annualPriceAppreciation": {
              "type": "number",
              "minimum": -50,
              "maximum": 50,
              "description": "Assumed annual home price change in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "expectedRateChange": {
              "type": "number",
              "minimum": -50,
              "maximum": 50,
              "description": "Signed change to the annual note rate, in percentage points.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanTermYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Loan amortization term in whole years."
            },
            "monthlyRentWhileWaiting": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Rent paid while waiting in USD per month.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "annualSavingsRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Additional annual savings while waiting in USD per year.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "currentHomePrice",
            "downPaymentPct",
            "currentInterestRate",
            "yearsToWait",
            "annualPriceAppreciation",
            "expectedRateChange",
            "loanTermYears",
            "monthlyRentWhileWaiting",
            "annualSavingsRate"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "rent-vs-buy"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "homePrice": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Purchase price in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "downPaymentPercent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Cash down payment as a percent of the purchase price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "mortgageRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual nominal interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanTermYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Loan amortization term in whole years."
            },
            "propertyTaxRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual property tax as a percent of the property value.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "annualInsurance": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Annual homeowners insurance premium in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "maintenanceRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual maintenance as a percent of property value.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "hoaMonthly": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Monthly homeowners association dues in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "closingCostRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Purchase closing costs as a percent of price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "sellingCostRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Sale costs as a percent of projected sale price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "homeAppreciationRate": {
              "type": "number",
              "minimum": -50,
              "maximum": 50,
              "description": "Assumed annual change in home value in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthlyRent": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Starting rent in USD per month.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "annualRentIncrease": {
              "type": "number",
              "minimum": -50,
              "maximum": 50,
              "description": "Annual rent change in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "rentersInsuranceMonthly": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Monthly renters insurance in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "investmentReturnRate": {
              "type": "number",
              "minimum": -50,
              "maximum": 50,
              "description": "Assumed annual investment return in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "timeHorizonYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Comparison horizon in whole years."
            }
          },
          "required": [
            "homePrice",
            "downPaymentPercent",
            "mortgageRate",
            "loanTermYears",
            "propertyTaxRate",
            "annualInsurance",
            "maintenanceRate",
            "hoaMonthly",
            "closingCostRate",
            "sellingCostRate",
            "homeAppreciationRate",
            "monthlyRent",
            "annualRentIncrease",
            "rentersInsuranceMonthly",
            "investmentReturnRate",
            "timeHorizonYears"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "seller-net"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "salePrice": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Assumed sale price in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "mortgageBalance": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Mortgage payoff in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "commissionPercent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Commission as a percent of sale price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "titleInsurance": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Seller title insurance cost in USD. Zero uses the source estimate when charged to the seller.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "titleInsurancePaidByBuyer": {
              "type": "boolean",
              "description": "Whether the buyer pays the title policy."
            },
            "transferTaxPercent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Transfer tax as a percent of sale price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "attorneyFees": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Attorney fees in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "hoaTransferFee": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Homeowners association transfer fee in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "outstandingLiens": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Additional liens to settle in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "repairsConcessions": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Seller-paid repairs and concessions in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "proratedPropertyTax": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Prorated property tax due in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "salePrice",
            "mortgageBalance",
            "commissionPercent",
            "titleInsurance",
            "titleInsurancePaidByBuyer",
            "transferTaxPercent",
            "attorneyFees",
            "hoaTransferFee",
            "outstandingLiens",
            "repairsConcessions",
            "proratedPropertyTax"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "income-required"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "program": {
              "type": "string",
              "enum": [
                "conventional",
                "fha",
                "va",
                "usda"
              ],
              "description": "Mortgage program used for the modeled financing and insurance assumptions."
            },
            "homePrice": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Purchase price in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "downPaymentPercent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Cash down payment as a percent of the purchase price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "interestRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual nominal interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanTermYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Loan amortization term in whole years."
            },
            "annualPropertyTaxRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual property tax as a percent of the property value.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "annualInsurance": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Annual homeowners insurance in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthlyHOA": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Monthly homeowners association dues in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthlyDebts": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Monthly non-housing debt payments in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "targetDTI": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 100,
              "description": "Target back-end debt-to-income ratio in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "program",
            "homePrice",
            "downPaymentPercent",
            "interestRate",
            "loanTermYears",
            "annualPropertyTaxRate",
            "annualInsurance",
            "monthlyHOA",
            "monthlyDebts",
            "targetDTI"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "fha-mip"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "loanAmount": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Base mortgage principal before upfront insurance in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "ltv": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 100,
              "description": "Base loan as a percent of purchase price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "interestRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual nominal interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanTerm": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Loan amortization term in whole years."
            },
            "upfrontMipFinanced": {
              "type": "boolean",
              "description": "Whether the upfront mortgage insurance premium is added to the loan."
            }
          },
          "required": [
            "loanAmount",
            "ltv",
            "interestRate",
            "loanTerm",
            "upfrontMipFinanced"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "usda-fee"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "homePrice": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Purchase price in USD, used for report context.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanAmount": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Base loan before the guarantee fee in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "interestRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual nominal interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanTermYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Loan amortization term in whole years."
            },
            "upfrontFeeTreatment": {
              "type": "string",
              "enum": [
                "financed",
                "partial",
                "paid_upfront"
              ],
              "description": "Pay upfront, finance fully or finance a portion of the guarantee fee."
            },
            "financedUpfrontFeePercent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Percent of the upfront guarantee fee financed in partial-financing mode.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "homePrice",
            "loanAmount",
            "interestRate",
            "loanTermYears",
            "upfrontFeeTreatment",
            "financedUpfrontFeePercent"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "va-fee"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "loanAmount": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Base loan before the funding fee in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "downPaymentPercent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Cash down payment as a percent of the purchase price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "fundingFeeFinanced": {
              "type": "boolean",
              "description": "Whether to add the funding fee to the loan."
            },
            "isFirstTimeUse": {
              "type": "boolean",
              "description": "Whether the borrower models first use of the VA entitlement."
            },
            "isDisabilityExempt": {
              "type": "boolean",
              "description": "Whether to model a funding-fee exemption."
            },
            "reserveOrNationalGuard": {
              "type": "boolean",
              "description": "Reserve or National Guard status for report context. The source uses the same fee schedule."
            },
            "loanPurpose": {
              "type": "string",
              "enum": [
                "purchase",
                "cashOutRefinance",
                "streamlineRefinance",
                "rateTermRefinance",
                "nadlPurchase",
                "nadlRefinance",
                "manufacturedHome",
                "assumption",
                "vendee"
              ],
              "description": "Purchase or specified refinance purpose used to select the fee."
            }
          },
          "required": [
            "loanAmount",
            "downPaymentPercent",
            "fundingFeeFinanced",
            "isFirstTimeUse",
            "isDisabilityExempt",
            "reserveOrNationalGuard",
            "loanPurpose"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "points"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "loanAmount": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Mortgage principal in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "baselineRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual note rate before points in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "buydownRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual note rate after points in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "buydownCost": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Cash cost of the points in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "expectedHoldYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Expected years until payoff, sale or refinancing."
            },
            "loanTermYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Loan amortization term in whole years."
            }
          },
          "required": [
            "loanAmount",
            "baselineRate",
            "buydownRate",
            "buydownCost",
            "expectedHoldYears",
            "loanTermYears"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "refinance"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "balance": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Current mortgage principal in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "rate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Current annual note rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "years": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Remaining current mortgage term in whole years."
            },
            "newRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Proposed annual refinance rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "newYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "New mortgage term in whole years."
            },
            "costs": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Closing costs in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "roll": {
              "type": "boolean",
              "description": "Whether to add closing costs to the new principal."
            },
            "value": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Assumed home value in USD for report equity calculations.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "annualPropertyTax": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Annual property tax in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "annualHomeInsurance": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Annual homeowners insurance premium in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "balance",
            "rate",
            "years",
            "newRate",
            "newYears",
            "costs",
            "roll",
            "value",
            "annualPropertyTax",
            "annualHomeInsurance"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "heloc"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "homeValue": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Assumed property value in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "mortgageBalance": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Existing mortgage balance in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "ltv": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Maximum combined liens as a percent of property value.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "drawAmount": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Amount drawn from the line in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "interestRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual nominal interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "drawPeriod": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Interest-only draw period in whole years."
            },
            "repaymentPeriod": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Amortizing repayment period in whole years."
            },
            "extraPayment": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Extra monthly principal payment during repayment in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "indexRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual reference index in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "rateMargin": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Margin added to the index in percentage points.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "rateCap": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual rate cap in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "annualFee": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Annual line fee in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "closingCosts": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Closing costs in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "homeValue",
            "mortgageBalance",
            "ltv",
            "drawAmount",
            "interestRate",
            "drawPeriod",
            "repaymentPeriod",
            "extraPayment",
            "indexRate",
            "rateMargin",
            "rateCap",
            "annualFee",
            "closingCosts"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "heloan"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "homeValue": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Assumed property value in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "mortgageBalance": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Existing mortgage balance in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "ltv": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Maximum combined liens as a percent of property value.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanAmount": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Requested home-equity principal in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "interestRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual nominal interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanTerm": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Loan amortization term in whole years."
            },
            "extraPayment": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Additional monthly principal payment in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "points": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Origination points as a percent of loan principal.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "closingCosts": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Closing costs in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "annualIncome": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Annual gross income in USD for the optional affordability comparison.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthlyDebt": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Monthly non-housing debt payments in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "homeValue",
            "mortgageBalance",
            "ltv",
            "loanAmount",
            "interestRate",
            "loanTerm",
            "extraPayment",
            "points",
            "closingCosts",
            "annualIncome",
            "monthlyDebt"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "target-rate-paydown"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "loanBalance": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Mortgage principal in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "currentRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Current annual note rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "targetRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Target comparison rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "remainingTermMonths": {
              "type": "integer",
              "minimum": 1,
              "maximum": 600,
              "description": "Remaining amortization term in whole months, as an alternative to a monthly payment."
            },
            "currentMonthlyPI": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Scheduled monthly principal and interest in USD, used to infer the remaining term.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "cadence": {
              "default": "monthly",
              "type": "string",
              "enum": [
                "monthly",
                "biweekly"
              ],
              "description": "Monthly or every-two-weeks extra-payment display."
            }
          },
          "required": [
            "loanBalance",
            "currentRate",
            "targetRate"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "dti-optimizer"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "monthlyIncome": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Monthly gross income in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "housingPayment": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Monthly housing payment in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "debts": {
              "maxItems": 24,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64,
                    "pattern": "^(?:Car loan|Credit card|Student loan|Personal loan|Mortgage|Other|Debt (?:[1-9]|[1-9][0-9]|100))$",
                    "description": "Generic scenario label. Use a listed neutral value or a numbered placeholder."
                  },
                  "balance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Outstanding debt balance in USD.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "monthlyPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Scheduled payment in USD per month.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "willPayOff": {
                    "type": "boolean",
                    "description": "Whether to mark this balance for payoff."
                  }
                },
                "required": [
                  "description",
                  "balance",
                  "monthlyPayment",
                  "willPayOff"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "monthlyIncome",
            "housingPayment",
            "debts"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "payment"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "loanAmount": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Mortgage principal in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "interestRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual nominal interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanTerm": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Loan amortization term in whole years."
            },
            "propertyTax": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Annual property tax in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "homeInsurance": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Annual homeowners insurance in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "hoaFees": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Monthly association dues in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "estimatedValue": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Property value in USD for the estimated mortgage insurance calculation.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "useEstimatedPmi": {
              "type": "boolean",
              "description": "Whether to use the source PMI estimate."
            },
            "extraPayment": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Additional recurring principal payment in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "payoffFrequency": {
              "type": "string",
              "enum": [
                "monthly",
                "biweekly"
              ],
              "description": "Monthly or biweekly payment cadence."
            },
            "yearlyExtra": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Extra annual principal payment in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "oneTimeExtra": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "One-time principal payment in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "oneTimeExtraMonth": {
              "type": "integer",
              "minimum": 1,
              "maximum": 600,
              "description": "One-based payment month for the one-time extra payment."
            }
          },
          "required": [
            "loanAmount",
            "interestRate",
            "loanTerm",
            "propertyTax",
            "homeInsurance",
            "hoaFees",
            "estimatedValue",
            "useEstimatedPmi",
            "extraPayment",
            "payoffFrequency",
            "yearlyExtra",
            "oneTimeExtra",
            "oneTimeExtraMonth"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "renovation"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "projectName": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64,
              "pattern": "^(?:Kitchen renovation|Renovation|Project (?:[1-9]|[1-9][0-9]|100))$",
              "description": "Generic scenario label. Use a listed neutral value or a numbered placeholder."
            },
            "budget": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Total project budget in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "contingencyRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Contingency as a percent of estimated cost.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "items": {
              "minItems": 1,
              "maxItems": 50,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64,
                    "pattern": "^(?:Cabinets|Installation|Materials|Labor|Other|Item (?:[1-9]|[1-9][0-9]|100))$",
                    "description": "Generic scenario label. Use a listed neutral value or a numbered placeholder."
                  },
                  "category": {
                    "type": "string",
                    "enum": [
                      "Materials",
                      "Labor",
                      "Services",
                      "Permits",
                      "Other"
                    ],
                    "description": "Renovation cost category."
                  },
                  "estimatedCost": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Item estimate in USD.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "materialCost": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Estimated materials in USD.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "laborCost": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Estimated labor in USD.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "actualCost": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Actual spending on this item in USD.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "isCompleted": {
                    "type": "boolean",
                    "description": "Whether work on the item is complete."
                  }
                },
                "required": [
                  "name",
                  "category",
                  "estimatedCost",
                  "materialCost",
                  "laborCost",
                  "actualCost",
                  "isCompleted"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "projectName",
            "budget",
            "contingencyRate",
            "items"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "purchase"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "program": {
              "type": "string",
              "enum": [
                "conventional",
                "fha",
                "va"
              ],
              "description": "Mortgage program used for the modeled financing and insurance assumptions."
            },
            "homePrice": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Purchase price in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "interestRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual nominal interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "downPaymentPercent": {
              "type": "number",
              "minimum": 0,
              "exclusiveMaximum": 100,
              "description": "Cash down payment as a percent of the purchase price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanTerm": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Loan amortization term in whole years."
            },
            "propertyTaxRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual property tax as a percent of the property value.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "insuranceRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual homeowners insurance as a percent of the property value.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "annualIncome": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Optional annual gross income in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthlyDebts": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Monthly non-housing debt payments in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "closingState": {
              "description": "Optional US state abbreviation for the report closing-cost worksheet.",
              "type": "string",
              "enum": [
                "CA",
                "TX",
                "FL",
                "NY",
                "PA",
                "IL",
                "OH",
                "GA",
                "NC",
                "MI",
                "NJ",
                "VA",
                "WA",
                "AZ",
                "MA",
                "TN",
                "IN",
                "MO",
                "MD",
                "CO"
              ]
            }
          },
          "required": [
            "program",
            "homePrice",
            "interestRate",
            "downPaymentPercent",
            "loanTerm",
            "propertyTaxRate",
            "insuranceRate"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "all-in-rate"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "loanProgram": {
              "type": "string",
              "enum": [
                "conventional",
                "fha",
                "va",
                "usda"
              ],
              "description": "Mortgage program used for the modeled financing and insurance assumptions."
            },
            "loanPurpose": {
              "type": "string",
              "enum": [
                "purchase",
                "rateTermRefinance",
                "cashOutRefinance",
                "streamlineRefinance"
              ],
              "description": "Mortgage purpose used to choose applicable fee assumptions."
            },
            "homeValue": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Assumed property value in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanAmount": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Mortgage principal in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "piPayment": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Monthly principal and interest in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "pmiPayment": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Monthly mortgage insurance in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "remainingTermYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Remaining amortization term in whole years."
            },
            "currentRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Current annual note rate in percent. Zero asks the source to infer the rate.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "upfrontCosts": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Cash closing costs in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "discountPoints": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Discount points as a percent of loan principal.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "lenderCredits": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Lender credits in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "holdingPeriodYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Years before assumed sale or payoff."
            },
            "programFee": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Program fee in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "programFeeTreatment": {
              "type": "string",
              "enum": [
                "financed",
                "paidUpfront",
                "includedInBalance"
              ],
              "description": "Whether the program fee is financed, paid upfront or included in the balance."
            },
            "pmiCancellationMode": {
              "type": "string",
              "enum": [
                "auto78",
                "request80",
                "fullTerm"
              ],
              "description": "Modeled conventional PMI termination rule."
            },
            "insuranceDurationMode": {
              "type": "string",
              "enum": [
                "auto",
                "elevenYears",
                "fullTerm"
              ],
              "description": "Modeled duration of program mortgage insurance."
            },
            "pmiBasisValue": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Original property value used for PMI cancellation in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "fhaOriginalLtv": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Original FHA loan-to-value ratio in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "fhaOriginalTermYears": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Original FHA amortization term in whole years."
            },
            "vaFundingFeeUse": {
              "type": "string",
              "enum": [
                "first",
                "subsequent",
                "irrrl",
                "exempt",
                "manual"
              ],
              "description": "Modeled VA entitlement use or fee treatment."
            },
            "vaDownPaymentPercent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Cash down payment as a percent of the purchase price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "usdaAnnualFeeRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual USDA guarantee fee rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "loanProgram",
            "loanPurpose",
            "homeValue",
            "loanAmount",
            "piPayment",
            "pmiPayment",
            "remainingTermYears",
            "currentRate",
            "upfrontCosts",
            "discountPoints",
            "lenderCredits",
            "holdingPeriodYears",
            "programFee",
            "programFeeTreatment",
            "pmiCancellationMode",
            "insuranceDurationMode",
            "pmiBasisValue"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "affordability"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "baseMonthlyIncome": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 1000000000,
              "description": "Gross monthly income in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "monthlyDebts": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Monthly non-housing debt payments in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanProgram": {
              "type": "string",
              "enum": [
                "conventional",
                "fha",
                "va",
                "usda"
              ],
              "description": "Mortgage program used for the modeled financing and insurance assumptions."
            },
            "interestRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual nominal interest rate in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "loanTerm": {
              "type": "integer",
              "minimum": 1,
              "maximum": 50,
              "description": "Loan amortization term in whole years."
            },
            "propertyTaxRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual property tax as a percent of the property value.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "insuranceRate": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Annual homeowners insurance as a percent of the property value.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "targetDti": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 100,
              "description": "Back-end debt-to-income ceiling in percent.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "downPaymentMode": {
              "type": "string",
              "enum": [
                "percent",
                "cash"
              ],
              "description": "Selects a percentage or cash down payment."
            },
            "downPaymentPercent": {
              "type": "number",
              "minimum": 0,
              "exclusiveMaximum": 100,
              "description": "Cash down payment as a percent of the purchase price.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "downPaymentCash": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Cash down payment in USD.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "comparisonRates": {
              "description": "Caller-supplied annual note rates in percent for the side-by-side program estimates.",
              "type": "object",
              "properties": {
                "conventional": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual conventional note rate in percent for the report comparison.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "fha": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual FHA note rate in percent for the report comparison.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "va": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual VA note rate in percent for the report comparison.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "usda": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual USDA note rate in percent for the report comparison.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "conventional",
                "fha",
                "va",
                "usda"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "baseMonthlyIncome",
            "monthlyDebts",
            "loanProgram",
            "interestRate",
            "loanTerm",
            "propertyTaxRate",
            "insuranceRate",
            "targetDti",
            "downPaymentMode",
            "downPaymentPercent",
            "downPaymentCash"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "arv"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "asOfDate": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Calendar date of the scenario, UTC"
            },
            "compsSubjectSqft": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000000,
              "description": "Subject floor area, square feet.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "comps": {
              "maxItems": 100,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "maxLength": 120,
                    "pattern": "^(?:[A-Z]|comp-(?:[1-9]|[1-9][0-9]|100))$",
                    "description": "Anonymous scenario row reference."
                  },
                  "address": {
                    "type": "string",
                    "maxLength": 120,
                    "pattern": "^Comparable (?:[A-Z]|[1-9]|[1-9][0-9]|100)$",
                    "description": "Anonymous scenario row reference."
                  },
                  "salePrice": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Comparable transaction price, USD.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "sqft": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Comparable floor area, square feet.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "beds": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Number of bedrooms in the comparable property, count.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "baths": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Number of bathrooms in the comparable property, including fractional bathrooms.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "saleDate": {
                    "type": "string",
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                  },
                  "distanceMiles": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Distance between subject and comparable, miles.",
                    "not": {
                      "exclusiveMinimum": -1e-10,
                      "exclusiveMaximum": 1e-10,
                      "not": {
                        "const": 0
                      }
                    }
                  },
                  "notes": {
                    "type": "string",
                    "maxLength": 120,
                    "pattern": "^[^<>\\u0000-\\u001f]*$",
                    "enum": [
                      ""
                    ],
                    "description": "Fixed label for caller-supplied scenario data."
                  }
                },
                "required": [
                  "id",
                  "salePrice",
                  "sqft"
                ],
                "additionalProperties": false
              }
            },
            "compSourceName": {
              "type": "string",
              "maxLength": 120,
              "pattern": "^[^<>\\u0000-\\u001f]*$",
              "enum": [
                "Caller-supplied comparable sales"
              ],
              "description": "Fixed label for caller-supplied scenario data."
            },
            "compSourceAsOf": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                },
                {
                  "type": "string",
                  "const": ""
                }
              ]
            },
            "scenario": {
              "type": "object",
              "properties": {
                "purchasePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Acquisition price, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "repairCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Upfront repair budget, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "afterRepairValue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Entered after-repair resale value for the deal calculation, USD. The trace uses this assumption independently of the comparable-sales estimate.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "holdingCostsPerMonth": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Carrying cost, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "holdingPeriodMonths": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 600,
                  "description": "Hold length, whole months.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "sellingCostsPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Sale expenses as a percent of assumed ARV.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "purchasePrice",
                "repairCosts",
                "afterRepairValue",
                "holdingCostsPerMonth",
                "holdingPeriodMonths",
                "sellingCostsPct"
              ],
              "additionalProperties": false
            },
            "arvRulePercent": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "ARV share in the maximum purchase rule, percentage points.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            }
          },
          "required": [
            "asOfDate",
            "compsSubjectSqft",
            "comps",
            "compSourceName",
            "compSourceAsOf",
            "scenario",
            "arvRulePercent"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "brrrr"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "asOfDate": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Calendar date of the scenario, UTC"
            },
            "scenario": {
              "type": "object",
              "properties": {
                "purchasePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Acquisition price, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "rehabCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Aggregate rehabilitation budget, USD, when no draw schedule is supplied.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "arv": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Assumed completed property value for refinance sizing, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "purchaseDownPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Cash down payment, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "purchaseClosingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Upfront closing costs, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "refiLTV": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Refinance principal cap, percent of assumed property value.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "refiClosingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Refinance closing costs, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "monthlyRent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Stabilized gross rent, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "monthlyOperatingExpenses": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Stabilized operating costs, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "refiInterestRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Nominal annual refinance rate, percentage points.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "refiLoanTerm": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 50,
                  "description": "Refinance amortization, whole years.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "rehabDurationMonths": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 600,
                  "description": "Rehabilitation duration, whole months."
                },
                "stabilizationMonths": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 600,
                  "description": "Lease-up period after rehab, whole months."
                },
                "acquisitionInterestRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Annual acquisition and draw interest rate, percentage points.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "holdingTaxesMonthly": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Holding property tax, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "holdingInsuranceMonthly": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Holding property insurance, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "holdingUtilitiesMonthly": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Holding utilities, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "holdingHoaMonthly": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Holding association dues, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "stabilizationPmMonthly": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Management cost during stabilization only, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "requiredDscr": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Minimum modeled refinance DSCR, ratio.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "programLoanCap": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Caller-supplied maximum principal, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "salePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Assumed resale price after the modeled refinance, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "sellingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Assumed resale closing expenses after refinance, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "purchasePrice",
                "rehabCosts",
                "arv",
                "purchaseDownPayment",
                "purchaseClosingCosts",
                "refiLTV",
                "refiClosingCosts",
                "monthlyRent",
                "monthlyOperatingExpenses",
                "refiInterestRate",
                "refiLoanTerm",
                "salePrice",
                "sellingCosts"
              ],
              "additionalProperties": false
            },
            "brrrrWorkflow": {
              "type": "object",
              "properties": {
                "drawScheduleEnabled": {
                  "type": "boolean"
                },
                "rehabDraws": {
                  "maxItems": 120,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^(?:initial-rehab|draw-(?:[1-9]|[1-9][0-9]|100))$",
                        "description": "Anonymous scenario row reference."
                      },
                      "month": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000000,
                        "description": "One-based month within the hold.",
                        "not": {
                          "exclusiveMinimum": -1e-10,
                          "exclusiveMaximum": 1e-10,
                          "not": {
                            "const": 0
                          }
                        }
                      },
                      "amount": {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000,
                        "description": "Positive rehab principal drawn, USD.",
                        "not": {
                          "exclusiveMinimum": -1e-10,
                          "exclusiveMaximum": 1e-10,
                          "not": {
                            "const": 0
                          }
                        }
                      },
                      "label": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^(?:Initial rehab draw|Draw (?:[1-9]|[1-9][0-9]|100))$",
                        "description": "Generic scenario label. Use a listed neutral value or a numbered placeholder."
                      }
                    },
                    "required": [
                      "id",
                      "month",
                      "amount",
                      "label"
                    ],
                    "additionalProperties": false
                  }
                },
                "refinanceOverridesEnabled": {
                  "type": "boolean"
                },
                "requiredDscr": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Minimum modeled refinance DSCR, ratio.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "programLoanCap": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Caller-supplied maximum principal, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "seasoningMonths": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 600,
                  "description": "Minimum hold under supplied refinance assumption, whole months."
                },
                "stabilizationProbabilityPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Assumed probability of stabilization, percentage points.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "minimumStabilizationProbabilityPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Caller’s minimum stabilization probability, percentage points.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "prepaymentPenalty": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Existing loan payoff penalty, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "saleFallbackEnabled": {
                  "type": "boolean"
                },
                "saleFallback": {
                  "type": "object",
                  "properties": {
                    "date": {
                      "type": "string",
                      "format": "date",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                    },
                    "grossProceeds": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000,
                      "description": "Fallback sale gross consideration, USD.",
                      "not": {
                        "exclusiveMinimum": -1e-10,
                        "exclusiveMaximum": 1e-10,
                        "not": {
                          "const": 0
                        }
                      }
                    },
                    "sellingCosts": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Fallback selling costs, USD.",
                      "not": {
                        "exclusiveMinimum": -1e-10,
                        "exclusiveMaximum": 1e-10,
                        "not": {
                          "const": 0
                        }
                      }
                    }
                  },
                  "required": [
                    "date",
                    "grossProceeds",
                    "sellingCosts"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "drawScheduleEnabled",
                "rehabDraws",
                "refinanceOverridesEnabled",
                "requiredDscr",
                "programLoanCap",
                "seasoningMonths",
                "stabilizationProbabilityPct",
                "minimumStabilizationProbabilityPct",
                "prepaymentPenalty",
                "saleFallbackEnabled",
                "saleFallback"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "asOfDate",
            "scenario",
            "brrrrWorkflow"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "cap-rate"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "asOfDate": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Calendar date of the scenario, UTC"
            },
            "scenario": {
              "type": "object",
              "properties": {
                "propertyPrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Acquisition price, in USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "grossRentalIncome": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Scheduled rental income before vacancy, in USD per year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "vacancyRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Uncollected share of scheduled rent, in percent (5 means 5%).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "operatingExpenses": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Operating expenses excluding the separate recurring capex input, in USD per year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "otherIncome": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Other property income, in USD per year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "recurringCapex": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Recurring capital expenditures, in USD per year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "noiDirect": {
                  "type": "number",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000,
                  "description": "Direct net operating income when selected, in signed USD per year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "useDirectNoi": {
                  "type": "boolean"
                },
                "includeRecurringCapexInNoi": {
                  "type": "boolean"
                },
                "propertySubtype": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$",
                  "enum": [
                    "single-family-rental",
                    "multifamily",
                    "retail",
                    "office",
                    "industrial",
                    "mixed-use",
                    "other"
                  ],
                  "description": "Fixed label for caller-supplied scenario data."
                },
                "capRateLowPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Lower annual capitalization rate entered for the implied price range, in percent.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "capRateHighPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Upper annual capitalization rate entered for the implied price range, in percent.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "propertyPrice",
                "grossRentalIncome",
                "vacancyRate",
                "operatingExpenses",
                "otherIncome",
                "recurringCapex",
                "noiDirect",
                "useDirectNoi",
                "includeRecurringCapexInNoi",
                "propertySubtype",
                "capRateLowPct",
                "capRateHighPct"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "asOfDate",
            "scenario"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "cash-on-cash"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "asOfDate": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Calendar date of the scenario, UTC"
            },
            "scenario": {
              "type": "object",
              "properties": {
                "purchasePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Acquisition price, in USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "downPaymentPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Down payment as a percentage of the purchase price (25 means 25%).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "closingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Cash acquisition closing costs, in USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "annualRentalIncome": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Gross scheduled rental income before vacancy, in USD per year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "vacancyRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Uncollected share of scheduled rent, in percent (5 means 5%).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "capExReservePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Capital reserve allowance as a percentage of vacancy-adjusted rental income.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "annualOperatingExpenses": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Operating expenses before debt service and the separate capital reserve, in USD per year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "annualMortgagePayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Supplied debt service in USD per year, applied when automatic mortgage calculation is disabled.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "interestRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Nominal annual interest rate on the purchase loan, in percent (6 means 6%).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "loanTermYears": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 50,
                  "description": "Amortization term of the automatic mortgage calculation, in whole years."
                },
                "useAutoMortgage": {
                  "type": "boolean"
                },
                "rentGrowthRate": {
                  "type": "number",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000,
                  "description": "Annual change in scheduled gross rent, in percent (2 means a 2% increase).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "expenseGrowthRate": {
                  "type": "number",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000,
                  "description": "Annual change in operating expenses, in percent (3 means a 3% increase).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "projectionYears": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 50,
                  "description": "Number of annual cash-flow rows to compute, in whole years."
                }
              },
              "required": [
                "purchasePrice",
                "downPaymentPct",
                "closingCosts",
                "annualRentalIncome",
                "vacancyRate",
                "capExReservePct",
                "annualOperatingExpenses",
                "annualMortgagePayment",
                "interestRate",
                "loanTermYears",
                "useAutoMortgage",
                "rentGrowthRate",
                "expenseGrowthRate",
                "projectionYears"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "asOfDate",
            "scenario"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "commercial"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "asOfDate": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Calendar date of the scenario, UTC"
            },
            "scenario": {
              "type": "object",
              "properties": {
                "purchasePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Acquisition price, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "downPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Cash down payment, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "closingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Upfront closing costs, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "repairCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Upfront repair budget, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "interestRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Annual nominal loan rate, in percentage points (6.5 = 6.5%).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "loanTerm": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 50,
                  "description": "Commercial maturity/balloon, whole years.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "insurance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Insurance expense, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "otherExpenses": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Other operating expense, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "vacancyRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Gross potential income lost, percentage points.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "amortizationYears": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 50,
                  "description": "Full amortization schedule, whole years."
                },
                "grossPotentialIncome": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Gross potential income, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "propertyTaxes": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Tax expense, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "maintenance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Maintenance expense, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "propertyManagement": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Property management, percent of effective collected income.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "marketCapRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Assumed market capitalization rate, annual percentage points.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "numberOfUnits": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000,
                  "description": "Whole property unit count."
                },
                "capRateBasis": {
                  "type": "string",
                  "const": "purchase"
                }
              },
              "required": [
                "purchasePrice",
                "downPayment",
                "closingCosts",
                "repairCosts",
                "interestRate",
                "loanTerm",
                "insurance",
                "otherExpenses",
                "vacancyRate",
                "amortizationYears",
                "grossPotentialIncome",
                "propertyTaxes",
                "maintenance",
                "propertyManagement",
                "marketCapRate",
                "numberOfUnits",
                "capRateBasis"
              ],
              "additionalProperties": false
            },
            "scenarioB": {
              "type": "object",
              "properties": {
                "purchasePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Acquisition price, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "downPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Cash down payment, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "closingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Upfront closing costs, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "repairCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Upfront repair budget, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "interestRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Annual nominal loan rate, in percentage points (6.5 = 6.5%).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "loanTerm": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 50,
                  "description": "Commercial maturity/balloon, whole years.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "insurance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Insurance expense, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "otherExpenses": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Other operating expense, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "vacancyRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Gross potential income lost, percentage points.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "amortizationYears": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 50,
                  "description": "Full amortization schedule, whole years."
                },
                "grossPotentialIncome": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Gross potential income, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "propertyTaxes": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Tax expense, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "maintenance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Maintenance expense, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "propertyManagement": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Property management, percent of effective collected income.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "marketCapRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Assumed market capitalization rate, annual percentage points.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "numberOfUnits": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000,
                  "description": "Whole property unit count."
                },
                "capRateBasis": {
                  "type": "string",
                  "const": "purchase"
                }
              },
              "required": [
                "purchasePrice",
                "downPayment",
                "closingCosts",
                "repairCosts",
                "interestRate",
                "loanTerm",
                "insurance",
                "otherExpenses",
                "vacancyRate",
                "amortizationYears",
                "grossPotentialIncome",
                "propertyTaxes",
                "maintenance",
                "propertyManagement",
                "marketCapRate",
                "numberOfUnits",
                "capRateBasis"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "asOfDate",
            "scenario"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "deal-screener"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "scenario": {
              "type": "object",
              "properties": {
                "purchasePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Acquisition price, in USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "monthlyRent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Scheduled gross rent, in USD per month before vacancy.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "estimatedRepairs": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Repair budget added to purchase price for all-in buy-box tests, in USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "purchasePrice",
                "monthlyRent",
                "estimatedRepairs"
              ],
              "additionalProperties": false
            },
            "criteria": {
              "type": "object",
              "properties": {
                "monthlyOperatingExpenses": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Operating expenses before debt service, in USD per month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "annualDebtService": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Total debt payments, in USD per year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "minRentToPricePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Minimum gross monthly rent divided by acquisition basis, expressed as a percent (1 means 1%).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "maxGrm": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Maximum gross rent multiplier, in years of gross scheduled rent.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "minMonthlyCashFlow": {
                  "type": "number",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000,
                  "description": "Lowest accepted cash flow after operating expenses and debt service, in signed USD per month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "minDscr": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Minimum ratio of annual net operating income to annual debt service (1.25 means 1.25×).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "monthlyOperatingExpenses",
                "annualDebtService",
                "minRentToPricePct",
                "maxGrm",
                "minMonthlyCashFlow",
                "minDscr"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "scenario",
            "criteria"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "dscr"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "asOfDate": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Calendar date of the scenario, UTC"
            },
            "scenario": {
              "type": "object",
              "properties": {
                "grossMonthlyRent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "USD per month in gross rent, before any operating expenses or appraisal rent cap.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "monthlyOperatingExpenses": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "USD per month in operating expenses in addition to the separately entered taxes, insurance and association dues.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "lenderDscr": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Required coverage multiple for sizing (1.25 means 1.25 times debt service).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "interestRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Annual note interest rate in percent (6 means 6% per year).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "loanTerm": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 50,
                  "description": "Amortization term in years. The sizing engine converts years to the nearest whole month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "extraPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Additional principal per month in the report payoff illustration, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "loanAmount": {
                  "type": "number",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000,
                  "description": "USD principal of the entered residential loan used for actual PITIA, payment transitions and penalties.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "monthlyTaxes": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "USD per month in property taxes.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "monthlyInsurance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "USD per month in property insurance premiums.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "monthlyHoa": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "USD per month in association dues.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "ioPeriodMonths": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 600,
                  "description": "Whole months of interest-only payments before amortization begins in the entered-loan illustration.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "prepayScheduleString": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^(?:|(?:[0-9]{1,2}(?:\\.[0-9]{1,4})?|100)(?:/(?:[0-9]{1,2}(?:\\.[0-9]{1,4})?|100)){0,49})$",
                  "description": "Optional annual penalty percentages in source order, such as 5/4/3/2/1."
                },
                "dscrMode": {
                  "type": "string",
                  "enum": [
                    "owner",
                    "lender"
                  ]
                },
                "sellYear": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000,
                  "description": "One-based loan year for the report prepayment illustration."
                },
                "propertyValue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Caller-supplied property value in USD used as the loan-to-value denominator.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "maxLtvPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Maximum loan principal as a percent of the entered property value (75 means 75%).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "appraisalMarketRent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "USD per month in caller-supplied appraisal market rent.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "appraisalRentCapPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Percent of entered appraisal market rent allowed in qualifying rent (90 means 90%).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "debtSizingMethod": {
                  "type": "string",
                  "enum": [
                    "amortizing",
                    "interest-only"
                  ]
                },
                "analysisDate": {
                  "type": "string",
                  "format": "date",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                }
              },
              "required": [
                "grossMonthlyRent",
                "monthlyOperatingExpenses",
                "lenderDscr",
                "interestRate",
                "loanTerm",
                "extraPayment",
                "loanAmount",
                "monthlyTaxes",
                "monthlyInsurance",
                "monthlyHoa",
                "ioPeriodMonths",
                "prepayScheduleString",
                "dscrMode",
                "sellYear",
                "propertyValue",
                "maxLtvPct",
                "appraisalMarketRent",
                "appraisalRentCapPct",
                "debtSizingMethod",
                "analysisDate"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "asOfDate",
            "scenario"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "fix-and-flip"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "scenario": {
              "type": "object",
              "properties": {
                "purchasePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Acquisition price, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "downPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Cash down payment, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "interestRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Annual nominal loan rate, in percentage points (6.5 = 6.5%).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "loanPoints": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Upfront fees, percent of the acquisition loan.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "purchaseClosingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Upfront closing costs, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "rehabCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Cash-funded aggregate rehab budget when work rows are absent, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "holdingPeriod": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 50,
                  "description": "Planned holding period, whole months.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "monthlyHoldingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Noninterest carrying expense, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "salePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Planned gross sale price, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "sellingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Selling expenses at the planned sale price, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "purchasePrice",
                "downPayment",
                "interestRate",
                "loanPoints",
                "purchaseClosingCosts",
                "rehabCosts",
                "holdingPeriod",
                "monthlyHoldingCosts",
                "salePrice",
                "sellingCosts"
              ],
              "additionalProperties": false
            },
            "flipWorkflow": {
              "type": "object",
              "properties": {
                "rehabScheduleEnabled": {
                  "type": "boolean"
                },
                "rehabItems": {
                  "maxItems": 100,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^(?:initial-rehab|item-(?:[1-9]|[1-9][0-9]|100))$",
                        "description": "Anonymous scenario row reference."
                      },
                      "amount": {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000,
                        "description": "Cash cost of this work item, USD.",
                        "not": {
                          "exclusiveMinimum": -1e-10,
                          "exclusiveMaximum": 1e-10,
                          "not": {
                            "const": 0
                          }
                        }
                      },
                      "startMonth": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000000,
                        "description": "One-based first month of work.",
                        "not": {
                          "exclusiveMinimum": -1e-10,
                          "exclusiveMaximum": 1e-10,
                          "not": {
                            "const": 0
                          }
                        }
                      },
                      "durationMonths": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 600,
                        "description": "Length of work, whole months.",
                        "not": {
                          "exclusiveMinimum": -1e-10,
                          "exclusiveMaximum": 1e-10,
                          "not": {
                            "const": 0
                          }
                        }
                      },
                      "dependsOn": {
                        "maxItems": 120,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "maxLength": 120,
                          "pattern": "^(?:initial-rehab|item-(?:[1-9]|[1-9][0-9]|100))$",
                          "description": "Anonymous scenario row reference."
                        }
                      }
                    },
                    "required": [
                      "id",
                      "amount",
                      "startMonth",
                      "durationMonths",
                      "dependsOn"
                    ],
                    "additionalProperties": false
                  }
                },
                "extensionTermsEnabled": {
                  "type": "boolean"
                },
                "extensionStartsMonth": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "One-based month when extension fees begin.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "monthlyExtensionFee": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Extension fee, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "annualDefaultRatePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Nominal annual rate during extension, percentage points.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "distributionsEnabled": {
                  "type": "boolean"
                },
                "salePriceDistribution": {
                  "type": "object",
                  "properties": {
                    "min": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Minimum gross sale price, USD.",
                      "not": {
                        "exclusiveMinimum": -1e-10,
                        "exclusiveMaximum": 1e-10,
                        "not": {
                          "const": 0
                        }
                      }
                    },
                    "mode": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Most likely gross sale price, USD.",
                      "not": {
                        "exclusiveMinimum": -1e-10,
                        "exclusiveMaximum": 1e-10,
                        "not": {
                          "const": 0
                        }
                      }
                    },
                    "max": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Maximum gross sale price, USD.",
                      "not": {
                        "exclusiveMinimum": -1e-10,
                        "exclusiveMaximum": 1e-10,
                        "not": {
                          "const": 0
                        }
                      }
                    }
                  },
                  "required": [
                    "min",
                    "mode",
                    "max"
                  ],
                  "additionalProperties": false
                },
                "delayDistributionMonths": {
                  "type": "object",
                  "properties": {
                    "min": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Minimum delay, months.",
                      "not": {
                        "exclusiveMinimum": -1e-10,
                        "exclusiveMaximum": 1e-10,
                        "not": {
                          "const": 0
                        }
                      }
                    },
                    "mode": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Most likely delay, months.",
                      "not": {
                        "exclusiveMinimum": -1e-10,
                        "exclusiveMaximum": 1e-10,
                        "not": {
                          "const": 0
                        }
                      }
                    },
                    "max": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Maximum delay, months. Sampled delays round to whole months.",
                      "not": {
                        "exclusiveMinimum": -1e-10,
                        "exclusiveMaximum": 1e-10,
                        "not": {
                          "const": 0
                        }
                      }
                    }
                  },
                  "required": [
                    "min",
                    "mode",
                    "max"
                  ],
                  "additionalProperties": false
                },
                "simulationSeed": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Unsigned integer pseudorandom seed.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "simulationSamples": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 2000,
                  "description": "Whole number of deterministic simulation trials."
                }
              },
              "required": [
                "rehabScheduleEnabled",
                "rehabItems",
                "extensionTermsEnabled",
                "extensionStartsMonth",
                "monthlyExtensionFee",
                "annualDefaultRatePct",
                "distributionsEnabled",
                "salePriceDistribution",
                "delayDistributionMonths",
                "simulationSeed",
                "simulationSamples"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "scenario",
            "flipWorkflow"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "hard-money"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "asOfDate": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Calendar date of the scenario, UTC"
            },
            "scenario": {
              "type": "object",
              "properties": {
                "purchasePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Property purchase price in USD, before rehab.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "ltvPercent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Maximum percent of purchase price under the selected LTV basis (70 means 70%).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "interestRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Annual interest rate on funded principal in percent (12 means 12% per year).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "loanTermMonths": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 600,
                  "description": "Whole months in the contractual loan term before extension fees apply.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "points": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Origination points as a percent of requested funded principal or the constrained commitment according to pointsBasis (2 means two points).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "rehabBudget": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Total budget in USD for rehab, including any portion funded by the borrower.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "rehabLtvPercent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Share of the repair budget financed by the modeled draw, percent.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "afterRepairValue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Caller-supplied property value in USD after the planned rehab.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "ltcPercent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Maximum loan as a percent of purchase price plus rehab budget.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "ltarvPercent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Maximum loan as a percent of the entered after-repair value.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "rehabDrawMonth": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "One-based loan month when this draw is added to principal after interest accrues on the opening balance.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "payoffMonth": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "One-based loan month at the end of which the model pays off the loan.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "minimumInterestMonths": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 600,
                  "description": "Whole months of interest on the original acquisition advance used to set the minimum interest charge.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "extensionFeePerMonth": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "USD charged for each month payoff extends beyond the contractual term.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "exitFeePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Payoff fee as a percent of principal outstanding in the payoff month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "pointsBasis": {
                  "type": "string",
                  "enum": [
                    "funded",
                    "committed"
                  ]
                }
              },
              "required": [
                "purchasePrice",
                "ltvPercent",
                "interestRate",
                "loanTermMonths",
                "points",
                "rehabBudget",
                "rehabLtvPercent",
                "afterRepairValue",
                "ltcPercent",
                "ltarvPercent",
                "rehabDrawMonth",
                "payoffMonth",
                "minimumInterestMonths",
                "extensionFeePerMonth",
                "exitFeePct",
                "pointsBasis"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "asOfDate",
            "scenario"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "wholesale"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "asOfDate": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Calendar date of the scenario, UTC"
            },
            "scenario": {
              "type": "object",
              "properties": {
                "askingPrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Seller contract price, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "arv": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Assumed repaired value, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "repairCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "End buyer’s repair budget, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "assignmentFee": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Target assignment fee, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "investorProfitPercentage": {
                  "type": "number",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000,
                  "description": "End buyer’s target profit, percent of ARV.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "closingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Buyer closing costs, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "holdingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Buyer holding costs, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "askingPrice",
                "arv",
                "repairCosts",
                "assignmentFee",
                "investorProfitPercentage",
                "closingCosts",
                "holdingCosts"
              ],
              "additionalProperties": false
            },
            "wholesaleWorkflow": {
              "type": "object",
              "properties": {
                "path": {
                  "type": "string",
                  "enum": [
                    "assignment",
                    "double-close"
                  ]
                },
                "costOverridesEnabled": {
                  "type": "boolean"
                },
                "earnestDepositAtRisk": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "At-risk deposit, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "inspectionAndTitleCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Inspection and title cost charged to the wholesaler, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "assignmentClosingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Wholesaler assignment closing cost, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "purchaseClosingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Wholesaler first closing cost under double closing, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "resaleClosingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Wholesaler resale closing cost under double closing, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "transactionalFundingRatePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Funding cost on a double closing, percent of the seller contract price.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "path",
                "costOverridesEnabled",
                "earnestDepositAtRisk",
                "inspectionAndTitleCosts",
                "assignmentClosingCosts",
                "purchaseClosingCosts",
                "resaleClosingCosts",
                "transactionalFundingRatePct"
              ],
              "additionalProperties": false
            },
            "jurisdictionStatus": {
              "type": "string",
              "enum": [
                "prohibited",
                "unknown",
                "supported"
              ]
            },
            "legalSourceName": {
              "type": "string",
              "maxLength": 120,
              "pattern": "^[^<>\\u0000-\\u001f]*$",
              "enum": [
                "Illustrative transaction terms supplied by caller"
              ],
              "description": "Fixed label for caller-supplied scenario data."
            },
            "legalSourceAsOf": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                },
                {
                  "type": "string",
                  "const": ""
                }
              ]
            },
            "scenarioB": {
              "type": "object",
              "properties": {
                "closingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Buyer closing costs, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "repairCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "End buyer’s repair budget, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "arv": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Assumed repaired value, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "assignmentFee": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Target assignment fee, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "askingPrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Seller contract price, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "investorProfitPercentage": {
                  "type": "number",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000,
                  "description": "End buyer’s target profit, percent of ARV.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "holdingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Buyer holding costs, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "closingCosts",
                "repairCosts",
                "arv",
                "assignmentFee",
                "askingPrice",
                "investorProfitPercentage",
                "holdingCosts"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "asOfDate",
            "scenario",
            "wholesaleWorkflow",
            "jurisdictionStatus",
            "legalSourceName",
            "legalSourceAsOf"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "rehab-scope"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "asOfDate": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Calendar date of the scenario, UTC"
            },
            "scenario": {
              "type": "object",
              "properties": {
                "demolition": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Demolition/cleanout budget, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "exterior": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Exterior/structure budget, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "interior": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Interior budget, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "mechanicals": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Mechanical systems budget, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "permitsAndDesign": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Permit/design budget, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "contingencyPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Reserve, percent of direct scope including tax and permits.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "monthlyCarryingCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Carrying costs, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "projectMonths": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 600,
                  "description": "Project duration, whole months.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "overrunStressPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Stress allowance, percent of direct scope including tax and permits.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "demolition",
                "exterior",
                "interior",
                "mechanicals",
                "permitsAndDesign",
                "contingencyPct",
                "monthlyCarryingCost",
                "projectMonths",
                "overrunStressPct"
              ],
              "additionalProperties": false
            },
            "costSourceName": {
              "type": "string",
              "maxLength": 120,
              "pattern": "^[^<>\\u0000-\\u001f]*$",
              "enum": [
                "Caller-supplied regional quotes"
              ],
              "description": "Fixed label for caller-supplied scenario data."
            },
            "costSourceAsOf": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                },
                {
                  "type": "string",
                  "const": ""
                }
              ]
            }
          },
          "required": [
            "asOfDate",
            "scenario",
            "costSourceName",
            "costSourceAsOf"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "rental"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "asOfDate": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Calendar date of the scenario, UTC"
            },
            "scenario": {
              "type": "object",
              "properties": {
                "purchasePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Acquisition price, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "downPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Cash down payment, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "interestRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Annual nominal loan rate, in percentage points (6.5 = 6.5%).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "loanTerm": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 50,
                  "description": "Loan term, whole years.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "closingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Upfront closing costs, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "renovationCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Initial repairs paid in cash, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "landValuePercent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Land portion of the property value excluded from depreciable basis, percent.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "totalRent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Gross rent for a single-unit rental, USD/month. Zero falls back to monthlyRentPerUnit.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "otherIncome": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Recurring non-rent receipts, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "vacancyRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Vacancy as a percent of scheduled income.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "propertyTax": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Property taxes, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "insurance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Property insurance, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "maintenance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Maintenance budget, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "propertyManagement": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Management expense, USD/year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "hoaFees": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Association dues, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "utilities": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Utilities, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "otherExpenses": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Other operating expenses, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "lenderDscr": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Supplied coverage threshold, ratio (1.25 = 1.25×).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "propertyType": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$",
                  "enum": [
                    "single_family",
                    "multi_family",
                    "condo",
                    "duplex",
                    "triplex",
                    "fourplex",
                    "commercial",
                    "other"
                  ],
                  "description": "Fixed label for caller-supplied scenario data."
                },
                "pmi": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Mortgage insurance, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "ltcgBracketPct": {
                  "anyOf": [
                    {
                      "type": "number",
                      "const": 0,
                      "description": "Entered long-term capital gains tax rate for the report projection, percent.",
                      "not": {
                        "exclusiveMinimum": -1e-10,
                        "exclusiveMaximum": 1e-10,
                        "not": {
                          "const": 0
                        }
                      }
                    },
                    {
                      "type": "number",
                      "const": 20,
                      "description": "Entered long-term capital gains tax rate for the report projection, percent.",
                      "not": {
                        "exclusiveMinimum": -1e-10,
                        "exclusiveMaximum": 1e-10,
                        "not": {
                          "const": 0
                        }
                      }
                    },
                    {
                      "type": "number",
                      "const": 15,
                      "description": "Entered long-term capital gains tax rate for the report projection, percent.",
                      "not": {
                        "exclusiveMinimum": -1e-10,
                        "exclusiveMaximum": 1e-10,
                        "not": {
                          "const": 0
                        }
                      }
                    }
                  ],
                  "description": "Entered long-term capital gains tax rate for the report projection, percent."
                },
                "applyNiit": {
                  "type": "boolean"
                },
                "discountRatePct": {
                  "type": "number",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000,
                  "description": "Annual discount rate for the report projection, percent.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "numberOfUnits": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000,
                  "description": "Whole number of property units."
                },
                "monthlyRentPerUnit": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Scheduled rent per rented unit, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "repairCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Legacy report state, USD. The screen uses renovationCosts for initial repairs.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "purchasePrice",
                "downPayment",
                "interestRate",
                "loanTerm",
                "closingCosts",
                "renovationCosts",
                "totalRent",
                "otherIncome",
                "vacancyRate",
                "propertyTax",
                "insurance",
                "maintenance",
                "propertyManagement",
                "hoaFees",
                "utilities",
                "otherExpenses",
                "lenderDscr",
                "propertyType",
                "pmi",
                "numberOfUnits",
                "monthlyRentPerUnit",
                "repairCosts"
              ],
              "additionalProperties": false
            },
            "occupancyMode": {
              "type": "string",
              "enum": [
                "primary",
                "investment"
              ]
            },
            "projectionAssumptions": {
              "type": "object",
              "properties": {
                "appreciation": {
                  "type": "number",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000,
                  "description": "Property-value change, percent per year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "rentGrowth": {
                  "type": "number",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000,
                  "description": "Income growth, percent per year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "expenseGrowth": {
                  "type": "number",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000,
                  "description": "Operating expense growth, percent per year.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "appreciation",
                "rentGrowth",
                "expenseGrowth"
              ],
              "additionalProperties": false
            },
            "projectionYears": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 30,
                  "description": "Whole years from startDate.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                {
                  "type": "number",
                  "const": 5,
                  "description": "Whole years from startDate.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                {
                  "type": "number",
                  "const": 10,
                  "description": "Whole years from startDate.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              ],
              "description": "Whole years from startDate."
            },
            "rentalWorkflow": {
              "type": "object",
              "properties": {
                "unitScheduleEnabled": {
                  "type": "boolean"
                },
                "units": {
                  "maxItems": 100,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^unit-(?:[1-9]|[1-9][0-9]|100)$",
                        "description": "Anonymous scenario row reference."
                      },
                      "monthlyRent": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000000,
                        "description": "Scheduled rent for this lease, USD/month.",
                        "not": {
                          "exclusiveMinimum": -1e-10,
                          "exclusiveMaximum": 1e-10,
                          "not": {
                            "const": 0
                          }
                        }
                      },
                      "leaseStart": {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      "leaseEnd": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "description": "Gregorian calendar lease end, YYYY-MM-DD.",
                        "format": "date"
                      }
                    },
                    "required": [
                      "id",
                      "monthlyRent",
                      "leaseStart"
                    ],
                    "additionalProperties": false
                  }
                },
                "capexEvents": {
                  "maxItems": 120,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^event-(?:[1-9]|[1-9][0-9]|100)$",
                        "description": "Anonymous scenario row reference."
                      },
                      "date": {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      "amount": {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000,
                        "description": "Capital expenditure paid on the event date, positive USD.",
                        "not": {
                          "exclusiveMinimum": -1e-10,
                          "exclusiveMaximum": 1e-10,
                          "not": {
                            "const": 0
                          }
                        }
                      },
                      "label": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^(?:Capital expense|Turnover|Tax|Refinance||Event (?:[1-9]|[1-9][0-9]|100))$",
                        "description": "Generic scenario label. Use a listed neutral value or a numbered placeholder."
                      }
                    },
                    "required": [
                      "id",
                      "date",
                      "amount",
                      "label"
                    ],
                    "additionalProperties": false
                  }
                },
                "turnoverEvents": {
                  "maxItems": 120,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^event-(?:[1-9]|[1-9][0-9]|100)$",
                        "description": "Anonymous scenario row reference."
                      },
                      "date": {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      "amount": {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000,
                        "description": "Turnover cost paid on the event date, positive USD.",
                        "not": {
                          "exclusiveMinimum": -1e-10,
                          "exclusiveMaximum": 1e-10,
                          "not": {
                            "const": 0
                          }
                        }
                      },
                      "label": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^(?:Capital expense|Turnover|Tax|Refinance||Event (?:[1-9]|[1-9][0-9]|100))$",
                        "description": "Generic scenario label. Use a listed neutral value or a numbered placeholder."
                      }
                    },
                    "required": [
                      "id",
                      "date",
                      "amount",
                      "label"
                    ],
                    "additionalProperties": false
                  }
                },
                "taxEvents": {
                  "maxItems": 120,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^event-(?:[1-9]|[1-9][0-9]|100)$",
                        "description": "Anonymous scenario row reference."
                      },
                      "date": {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      "amount": {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000,
                        "description": "Tax cost paid on the event date, positive USD.",
                        "not": {
                          "exclusiveMinimum": -1e-10,
                          "exclusiveMaximum": 1e-10,
                          "not": {
                            "const": 0
                          }
                        }
                      },
                      "label": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^(?:Capital expense|Turnover|Tax|Refinance||Event (?:[1-9]|[1-9][0-9]|100))$",
                        "description": "Generic scenario label. Use a listed neutral value or a numbered placeholder."
                      }
                    },
                    "required": [
                      "id",
                      "date",
                      "amount",
                      "label"
                    ],
                    "additionalProperties": false
                  }
                },
                "refinanceEvents": {
                  "maxItems": 120,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^event-(?:[1-9]|[1-9][0-9]|100)$",
                        "description": "Anonymous scenario row reference."
                      },
                      "date": {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      "amount": {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000,
                        "description": "Refinance proceeds received on the event date, positive USD.",
                        "not": {
                          "exclusiveMinimum": -1e-10,
                          "exclusiveMaximum": 1e-10,
                          "not": {
                            "const": 0
                          }
                        }
                      },
                      "label": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^(?:Capital expense|Turnover|Tax|Refinance||Event (?:[1-9]|[1-9][0-9]|100))$",
                        "description": "Generic scenario label. Use a listed neutral value or a numbered placeholder."
                      }
                    },
                    "required": [
                      "id",
                      "date",
                      "amount",
                      "label"
                    ],
                    "additionalProperties": false
                  }
                },
                "saleEnabled": {
                  "type": "boolean"
                },
                "sale": {
                  "type": "object",
                  "properties": {
                    "date": {
                      "type": "string",
                      "format": "date",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                    },
                    "grossProceeds": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000,
                      "description": "Gross sale consideration on the dated sale, USD.",
                      "not": {
                        "exclusiveMinimum": -1e-10,
                        "exclusiveMaximum": 1e-10,
                        "not": {
                          "const": 0
                        }
                      }
                    },
                    "sellingCosts": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Sale expenses on the dated sale, USD.",
                      "not": {
                        "exclusiveMinimum": -1e-10,
                        "exclusiveMaximum": 1e-10,
                        "not": {
                          "const": 0
                        }
                      }
                    }
                  },
                  "required": [
                    "date",
                    "grossProceeds",
                    "sellingCosts"
                  ],
                  "additionalProperties": false
                },
                "actuals": {
                  "maxItems": 120,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^actual-(?:[1-9]|[1-9][0-9]|100)$",
                        "description": "Anonymous scenario row reference."
                      },
                      "date": {
                        "type": "string",
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                      },
                      "rentCollected": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000000,
                        "description": "Rent received for this observation, USD.",
                        "not": {
                          "exclusiveMinimum": -1e-10,
                          "exclusiveMaximum": 1e-10,
                          "not": {
                            "const": 0
                          }
                        }
                      },
                      "operatingExpensesPaid": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000000,
                        "description": "Operating costs paid for this observation, USD.",
                        "not": {
                          "exclusiveMinimum": -1e-10,
                          "exclusiveMaximum": 1e-10,
                          "not": {
                            "const": 0
                          }
                        }
                      },
                      "capitalPaid": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000000,
                        "description": "Capital costs paid for this observation, USD.",
                        "not": {
                          "exclusiveMinimum": -1e-10,
                          "exclusiveMaximum": 1e-10,
                          "not": {
                            "const": 0
                          }
                        }
                      }
                    },
                    "required": [
                      "id",
                      "date",
                      "rentCollected",
                      "operatingExpensesPaid",
                      "capitalPaid"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "unitScheduleEnabled",
                "units",
                "capexEvents",
                "turnoverEvents",
                "taxEvents",
                "refinanceEvents",
                "saleEnabled",
                "sale",
                "actuals"
              ],
              "additionalProperties": false
            },
            "analysisMode": {
              "type": "string",
              "enum": [
                "advanced",
                "quick"
              ]
            }
          },
          "required": [
            "asOfDate",
            "scenario",
            "occupancyMode",
            "projectionAssumptions",
            "projectionYears",
            "rentalWorkflow",
            "analysisMode"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "short-term-rental"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "asOfDate": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Calendar date of the scenario, UTC"
            },
            "scenario": {
              "type": "object",
              "properties": {
                "purchasePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Acquisition price, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "downPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Cash down payment, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "closingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Upfront closing costs, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "repairCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Upfront repair budget, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "furnitureCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Initial furnishing purchase, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "interestRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Annual nominal loan rate, in percentage points (6.5 = 6.5%).",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "loanTerm": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 50,
                  "description": "Loan term, whole years.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "dailyRentalRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Base lodging rate, USD per occupied night.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "dailyCleaningFee": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Cleaning revenue charged to guests, USD per stay.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "additionalGuestFee": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Additional guest fee collected, USD per occupied night.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "airbnbExperiences": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Experience revenue, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "laundryRevenue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Laundry revenue, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "additionalRevenue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Other recurring receipts, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "occupancyRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Base booked nights, percent of available nights.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "propertyTax": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Property taxes, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "insurance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Insurance, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "trash": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Trash collection expense, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "utilities": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Utilities, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "internet": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Internet service, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "hoaFees": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Association dues, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "cleanerExpense": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Recurring cleaner expense, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "lawnSnow": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Grounds and snow service, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "otherExpenses": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Other recurring operating costs, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "maintenanceRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Maintenance allowance, percent of gross revenue.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "vacancyRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Additional vacancy expense, percent of gross revenue after occupancy has been modeled.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "managementRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Management fee, percent of gross revenue.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "airbnbServiceFeeRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Platform fee, percent of booking revenue.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "purchasePrice",
                "downPayment",
                "closingCosts",
                "repairCosts",
                "furnitureCost",
                "interestRate",
                "loanTerm",
                "dailyRentalRate",
                "dailyCleaningFee",
                "additionalGuestFee",
                "airbnbExperiences",
                "laundryRevenue",
                "additionalRevenue",
                "occupancyRate",
                "propertyTax",
                "insurance",
                "trash",
                "utilities",
                "internet",
                "hoaFees",
                "cleanerExpense",
                "lawnSnow",
                "otherExpenses",
                "maintenanceRate",
                "vacancyRate",
                "managementRate",
                "airbnbServiceFeeRate"
              ],
              "additionalProperties": false
            },
            "monthlyLTRRent": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000000,
              "description": "Long-term alternative rent, USD/month; zero disables that comparison.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "annualPermitCost": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000000,
              "description": "Permit fees, USD/year.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "lodgingTaxPct": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Lodging tax collected and remitted on booking revenue, percentage points.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "legalStatus": {
              "type": "string",
              "enum": [
                "permitted",
                "prohibited",
                "unknown"
              ]
            },
            "marketSourceName": {
              "type": "string",
              "maxLength": 120,
              "pattern": "^[^<>\\u0000-\\u001f]*$",
              "enum": [
                "Caller-supplied nightly rent observations"
              ],
              "description": "Fixed label for caller-supplied scenario data."
            },
            "marketSourceAsOf": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "date",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                },
                {
                  "type": "string",
                  "const": ""
                }
              ]
            },
            "seasonalProfile": {
              "type": "string",
              "enum": [
                "uniform",
                "beach",
                "mountain",
                "urban"
              ]
            }
          },
          "required": [
            "asOfDate",
            "scenario",
            "monthlyLTRRent",
            "annualPermitCost",
            "lodgingTaxPct",
            "legalStatus",
            "marketSourceName",
            "marketSourceAsOf",
            "seasonalProfile"
          ],
          "additionalProperties": false
        }
      }
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "tool",
        "detail",
        "inputs"
      ],
      "properties": {
        "tool": {
          "type": "string",
          "const": "str-arbitrage"
        },
        "detail": {
          "type": "string",
          "enum": [
            "free",
            "plus",
            "pro"
          ],
          "description": "App detail level. Free exposes the base trace, Plus adds sensitivity drivers and the alternative, and Pro includes the deep dive when available."
        },
        "inputs": {
          "type": "object",
          "properties": {
            "asOfDate": {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
              "description": "Calendar date of the scenario, UTC"
            },
            "scenario": {
              "type": "object",
              "properties": {
                "firstMonthRent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Actual rent charged for the first month, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "securityDeposit": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Refundable deposit paid at lease start, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "furnitureCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Initial furnishings paid in cash, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "businessSetupCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Setup and licensing paid upfront, USD.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "dailyRentalRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Base lodging rate, USD per occupied night.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "dailyCleaningFee": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Cleaning revenue charged to guests, USD per stay.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "additionalGuestFee": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Additional guest fee collected, USD per occupied night.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "airbnbExperiences": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Experience revenue, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "laundryRevenue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Laundry revenue, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "additionalRevenue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Other recurring receipts, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "occupancyRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Base booked nights, percent of available nights.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "monthlyRent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Recurring lease rent from month two, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "rentersInsurance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Renters insurance, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "trash": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Trash collection expense, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "utilities": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Utilities, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "internet": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Internet service, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "cleanerExpense": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Recurring cleaner expense, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "lawnSnow": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Grounds and snow service, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "otherExpenses": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Other recurring operating costs, USD/month.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "maintenanceRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Maintenance allowance, percent of gross revenue.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "managementRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Management fee, percent of gross revenue.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                },
                "airbnbServiceFeeRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Platform fee, percent of booking revenue.",
                  "not": {
                    "exclusiveMinimum": -1e-10,
                    "exclusiveMaximum": 1e-10,
                    "not": {
                      "const": 0
                    }
                  }
                }
              },
              "required": [
                "firstMonthRent",
                "securityDeposit",
                "furnitureCost",
                "businessSetupCost",
                "dailyRentalRate",
                "dailyCleaningFee",
                "additionalGuestFee",
                "airbnbExperiences",
                "laundryRevenue",
                "additionalRevenue",
                "occupancyRate",
                "monthlyRent",
                "rentersInsurance",
                "trash",
                "utilities",
                "internet",
                "cleanerExpense",
                "lawnSnow",
                "otherExpenses",
                "maintenanceRate",
                "managementRate",
                "airbnbServiceFeeRate"
              ],
              "additionalProperties": false
            },
            "lodgingTaxPct": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Lodging tax collected and remitted on booking revenue, percentage points.",
              "not": {
                "exclusiveMinimum": -1e-10,
                "exclusiveMaximum": 1e-10,
                "not": {
                  "const": 0
                }
              }
            },
            "landlordApproval": {
              "type": "boolean"
            },
            "legalStatus": {
              "type": "string",
              "enum": [
                "permitted",
                "prohibited",
                "unknown"
              ]
            }
          },
          "required": [
            "asOfDate",
            "scenario",
            "lodgingTaxPct",
            "landlordApproval",
            "legalStatus"
          ],
          "additionalProperties": false
        }
      }
    }
  ]
}

Production endpoint: POST https://accounts.hasstechapi.com/v2/reports/explain-numbers
Formula: htcalc-explain-numbers-1.0.0 · Report version: 1.0.0