{
  "version": 1,
  "operations": [
    {
      "slug": "fixed-payment",
      "name": "Fixed payment",
      "category": "Loans",
      "description": "Estimate monthly principal and interest on a fixed-rate loan.",
      "sandbox": true,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "principal": {
            "type": "number",
            "description": "Original loan principal.",
            "x-unit": "USD",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          },
          "annualRate": {
            "type": "number",
            "description": "Nominal annual rate. Enter 6.5 for 6.5%.",
            "x-unit": "percentage-points",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 1e-9,
            "x-core-refinement": true
          },
          "months": {
            "type": "integer",
            "description": "Number of whole months in the term.",
            "x-unit": "months",
            "minimum": 1,
            "maximum": 600
          }
        },
        "required": [
          "principal",
          "annualRate",
          "months"
        ],
        "additionalProperties": false
      },
      "input": {
        "principal": 100,
        "annualRate": 0,
        "months": 12
      },
      "output": {
        "status": "available",
        "result": {
          "monthlyPayment": 8.3333333333
        },
        "formulaVersion": "fixed-payment-1.0.0",
        "units": {
          "monthlyPayment": "USD/month",
          "annualRate": "percentage-points",
          "months": "months"
        },
        "assumptions": [
          "Monthly nominal annual interest / 12; principal and interest only; no taxes or fees.",
          "Payment carries ten decimal places; schedule uses cent-level rounding."
        ],
        "warnings": [],
        "creditCost": 1
      }
    },
    {
      "slug": "amortization",
      "name": "Amortization schedule",
      "category": "Loans",
      "description": "See principal, interest and the remaining balance for each month.",
      "sandbox": true,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "principal": {
            "type": "number",
            "description": "Original loan principal.",
            "x-unit": "USD",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          },
          "annualRate": {
            "type": "number",
            "description": "Nominal annual rate. Enter 6.5 for 6.5%.",
            "x-unit": "percentage-points",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 1e-9,
            "x-core-refinement": true
          },
          "months": {
            "type": "integer",
            "description": "Number of whole months in the term.",
            "x-unit": "months",
            "minimum": 1,
            "maximum": 600
          }
        },
        "required": [
          "principal",
          "annualRate",
          "months"
        ],
        "additionalProperties": false
      },
      "input": {
        "principal": 100,
        "annualRate": 0,
        "months": 12
      },
      "output": {
        "status": "available",
        "result": {
          "schedule": [
            {
              "month": 1,
              "interest": 0,
              "principal": 8.33,
              "remainingBalance": 91.67
            },
            {
              "month": 2,
              "interest": 0,
              "principal": 8.33,
              "remainingBalance": 83.34
            },
            {
              "month": 3,
              "interest": 0,
              "principal": 8.33,
              "remainingBalance": 75.01
            },
            {
              "month": 4,
              "interest": 0,
              "principal": 8.33,
              "remainingBalance": 66.68
            },
            {
              "month": 5,
              "interest": 0,
              "principal": 8.33,
              "remainingBalance": 58.35
            },
            {
              "month": 6,
              "interest": 0,
              "principal": 8.33,
              "remainingBalance": 50.02
            },
            {
              "month": 7,
              "interest": 0,
              "principal": 8.33,
              "remainingBalance": 41.69
            },
            {
              "month": 8,
              "interest": 0,
              "principal": 8.33,
              "remainingBalance": 33.36
            },
            {
              "month": 9,
              "interest": 0,
              "principal": 8.33,
              "remainingBalance": 25.03
            },
            {
              "month": 10,
              "interest": 0,
              "principal": 8.33,
              "remainingBalance": 16.7
            },
            {
              "month": 11,
              "interest": 0,
              "principal": 8.33,
              "remainingBalance": 8.37
            },
            {
              "month": 12,
              "interest": 0,
              "principal": 8.37,
              "remainingBalance": 0
            }
          ],
          "totalInterest": 0,
          "totalPrincipal": 100,
          "monthsToPayoff": 12,
          "remainingBalance": 0,
          "payable": true,
          "monthlyPayment": 8.3333333333,
          "finalPayment": 8.37,
          "totalPayments": 100
        },
        "formulaVersion": "amortization-1.0.0",
        "units": {
          "schedule[].month": "months",
          "schedule[].principal": "USD",
          "schedule[].interest": "USD",
          "schedule[].remainingBalance": "USD",
          "totalPrincipal": "USD",
          "totalInterest": "USD",
          "remainingBalance": "USD",
          "monthlyPayment": "USD/month",
          "finalPayment": "USD",
          "totalPayments": "USD",
          "monthsToPayoff": "months"
        },
        "assumptions": [
          "Monthly nominal annual rate / 12; no taxes or fees.",
          "Canonical Decimal 20 significant digits, half-even, cent-reseed schedule; adjusted final payment at stated term.",
          "Totals retain canonical aggregate rounding; sum of individually rounded interest rows can differ by cents."
        ],
        "warnings": [],
        "creditCost": 1
      }
    },
    {
      "slug": "extra-payment-comparison",
      "name": "Extra payments",
      "category": "Loans",
      "description": "Compare interest and payoff time with a recurring extra payment.",
      "sandbox": true,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "principal": {
            "type": "number",
            "description": "Original loan principal.",
            "x-unit": "USD",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          },
          "annualRate": {
            "type": "number",
            "description": "Nominal annual rate. Enter 6.5 for 6.5%.",
            "x-unit": "percentage-points",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 1e-9,
            "x-core-refinement": true
          },
          "months": {
            "type": "integer",
            "description": "Number of whole months in the term.",
            "x-unit": "months",
            "minimum": 1,
            "maximum": 600
          },
          "extraPayment": {
            "type": "number",
            "description": "Additional payment made each month.",
            "x-unit": "USD/month",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          }
        },
        "required": [
          "principal",
          "annualRate",
          "months",
          "extraPayment"
        ],
        "additionalProperties": false
      },
      "input": {
        "principal": 100,
        "annualRate": 0,
        "months": 12,
        "extraPayment": 100
      },
      "output": {
        "status": "available",
        "result": {
          "baseline": {
            "schedule": [
              {
                "month": 1,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 91.67
              },
              {
                "month": 2,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 83.34
              },
              {
                "month": 3,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 75.01
              },
              {
                "month": 4,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 66.68
              },
              {
                "month": 5,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 58.35
              },
              {
                "month": 6,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 50.02
              },
              {
                "month": 7,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 41.69
              },
              {
                "month": 8,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 33.36
              },
              {
                "month": 9,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 25.03
              },
              {
                "month": 10,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 16.7
              },
              {
                "month": 11,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 8.37
              },
              {
                "month": 12,
                "interest": 0,
                "principal": 8.37,
                "remainingBalance": 0
              }
            ],
            "totalInterest": 0,
            "totalPrincipal": 100,
            "monthsToPayoff": 12,
            "remainingBalance": 0,
            "payable": true,
            "monthlyPayment": 8.3333333333,
            "finalPayment": 8.37,
            "totalPayments": 100
          },
          "accelerated": {
            "schedule": [
              {
                "month": 1,
                "interest": 0,
                "principal": 100,
                "remainingBalance": 0
              }
            ],
            "totalInterest": 0,
            "totalPrincipal": 100,
            "monthsToPayoff": 1,
            "remainingBalance": 0,
            "payable": true,
            "monthlyPayment": 8.3333333333,
            "finalPayment": 100,
            "totalPayments": 100
          },
          "interestSaved": 0,
          "monthsSaved": 11
        },
        "formulaVersion": "extra-payment-comparison-1.0.0",
        "units": {
          "baseline/accelerated": "loan schedule (USD, months)",
          "interestSaved": "USD",
          "monthsSaved": "months"
        },
        "assumptions": [
          "Monthly nominal annual rate / 12; no taxes or fees.",
          "Canonical Decimal 20 significant digits, half-even, cent-reseed schedule; adjusted final payment at stated term.",
          "Totals retain canonical aggregate rounding; sum of individually rounded interest rows can differ by cents."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/extra-payment"
    },
    {
      "slug": "refinance-comparison",
      "name": "Refinance comparison",
      "category": "Loans",
      "description": "Compare payment changes, closing costs and break-even time.",
      "sandbox": true,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "currentBalance": {
            "type": "number",
            "description": "Outstanding principal on the current loan.",
            "x-unit": "USD",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          },
          "currentRate": {
            "type": "number",
            "description": "Annual interest rate on the current loan. Enter 6.5 for 6.5%.",
            "x-unit": "percentage-points",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 1e-9,
            "x-core-refinement": true
          },
          "remainingMonths": {
            "type": "integer",
            "description": "Whole months remaining on the current loan.",
            "x-unit": "months",
            "minimum": 1,
            "maximum": 600
          },
          "newRate": {
            "type": "number",
            "description": "Annual interest rate on the replacement loan. Enter 6.5 for 6.5%.",
            "x-unit": "percentage-points",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 1e-9,
            "x-core-refinement": true
          },
          "newMonths": {
            "type": "integer",
            "description": "Term of the replacement loan in whole months.",
            "x-unit": "months",
            "minimum": 1,
            "maximum": 600
          },
          "closingCosts": {
            "type": "number",
            "description": "One-time refinance closing costs.",
            "x-unit": "USD",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          }
        },
        "required": [
          "currentBalance",
          "currentRate",
          "remainingMonths",
          "newRate",
          "newMonths",
          "closingCosts"
        ],
        "additionalProperties": false
      },
      "input": {
        "currentBalance": 100,
        "currentRate": 0,
        "remainingMonths": 12,
        "newRate": 0,
        "newMonths": 12,
        "closingCosts": 100
      },
      "output": {
        "status": "available",
        "result": {
          "current": {
            "schedule": [
              {
                "month": 1,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 91.67
              },
              {
                "month": 2,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 83.34
              },
              {
                "month": 3,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 75.01
              },
              {
                "month": 4,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 66.68
              },
              {
                "month": 5,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 58.35
              },
              {
                "month": 6,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 50.02
              },
              {
                "month": 7,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 41.69
              },
              {
                "month": 8,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 33.36
              },
              {
                "month": 9,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 25.03
              },
              {
                "month": 10,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 16.7
              },
              {
                "month": 11,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 8.37
              },
              {
                "month": 12,
                "interest": 0,
                "principal": 8.37,
                "remainingBalance": 0
              }
            ],
            "totalInterest": 0,
            "totalPrincipal": 100,
            "monthsToPayoff": 12,
            "remainingBalance": 0,
            "payable": true,
            "monthlyPayment": 8.3333333333,
            "finalPayment": 8.37,
            "totalPayments": 100
          },
          "refinanced": {
            "schedule": [
              {
                "month": 1,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 91.67
              },
              {
                "month": 2,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 83.34
              },
              {
                "month": 3,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 75.01
              },
              {
                "month": 4,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 66.68
              },
              {
                "month": 5,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 58.35
              },
              {
                "month": 6,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 50.02
              },
              {
                "month": 7,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 41.69
              },
              {
                "month": 8,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 33.36
              },
              {
                "month": 9,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 25.03
              },
              {
                "month": 10,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 16.7
              },
              {
                "month": 11,
                "interest": 0,
                "principal": 8.33,
                "remainingBalance": 8.37
              },
              {
                "month": 12,
                "interest": 0,
                "principal": 8.37,
                "remainingBalance": 0
              }
            ],
            "totalInterest": 0,
            "totalPrincipal": 100,
            "monthsToPayoff": 12,
            "remainingBalance": 0,
            "payable": true,
            "monthlyPayment": 8.3333333333,
            "finalPayment": 8.37,
            "totalPayments": 100
          },
          "monthlySavings": 0,
          "breakEvenMonths": null,
          "lifetimeSavings": -100
        },
        "formulaVersion": "refinance-comparison-1.0.0",
        "units": {
          "current/refinanced": "loan schedule (USD, months)",
          "monthlySavings": "USD/month",
          "breakEvenMonths": "months",
          "lifetimeSavings": "USD"
        },
        "assumptions": [
          "Monthly nominal annual rate / 12; no taxes or fees.",
          "Canonical Decimal 20 significant digits, half-even, cent-reseed schedule; adjusted final payment at stated term.",
          "Totals retain canonical aggregate rounding; sum of individually rounded interest rows can differ by cents.",
          "Closing costs paid upfront, not financed; simple payment-savings break-even ignores time value and term mismatch."
        ],
        "warnings": [
          "No payment-savings break-even: monthly savings are not positive."
        ],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/refinance"
    },
    {
      "slug": "cap-rate",
      "name": "Capitalization rate",
      "category": "Real estate investing",
      "description": "Calculate annual net operating income as a percentage of the supplied property value.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "annualNoi": {
            "type": "number",
            "description": "Annual net operating income. A loss may be negative.",
            "x-unit": "USD/year",
            "minimum": -1000000000,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          },
          "propertyValue": {
            "type": "number",
            "description": "Property value used as the denominator.",
            "x-unit": "USD",
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "exclusiveMinimum": 0,
            "x-core-refinement": true
          }
        },
        "required": [
          "annualNoi",
          "propertyValue"
        ],
        "additionalProperties": false
      },
      "input": {
        "annualNoi": 100,
        "propertyValue": 100
      },
      "output": {
        "status": "available",
        "result": {
          "percentage": 100
        },
        "formulaVersion": "cap-rate-2.0.0",
        "units": {
          "percentage": "percentage-points"
        },
        "assumptions": [
          "Supplied annual NOI / supplied value times 100; no valuation range.",
          "Investment Decimal precision 40, half-up; rate unrounded."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/investment/cap-rate"
    },
    {
      "slug": "cash-on-cash",
      "name": "Cash-on-cash return",
      "category": "Real estate investing",
      "description": "Divide annual cash flow by the cash invested. A return of 0.12 represents 12%.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "annualCashFlow": {
            "type": "number",
            "description": "Annual cash flow. A loss may be negative.",
            "x-unit": "USD/year",
            "minimum": -1000000000,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          },
          "cashInvested": {
            "type": "number",
            "description": "Total acquisition cash invested.",
            "x-unit": "USD",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          }
        },
        "required": [
          "annualCashFlow",
          "cashInvested"
        ],
        "additionalProperties": false
      },
      "input": {
        "annualCashFlow": 100,
        "cashInvested": 100
      },
      "output": {
        "status": "available",
        "result": {
          "ratio": 1
        },
        "formulaVersion": "cash-on-cash-2.0.0",
        "units": {
          "ratio": "ratio"
        },
        "assumptions": [
          "Supplied annual cash flow / supplied acquisition cash; no projections.",
          "Investment Decimal precision 40, half-up; ratio unrounded."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/investment/cash-on-cash"
    },
    {
      "slug": "dscr",
      "name": "Debt service coverage ratio",
      "category": "Real estate investing",
      "description": "Compare annual net operating income with annual debt service.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "annualNoi": {
            "type": "number",
            "description": "Annual net operating income. A loss may be negative.",
            "x-unit": "USD/year",
            "minimum": -1000000000,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          },
          "annualDebtService": {
            "type": "number",
            "description": "Total debt payments for one year.",
            "x-unit": "USD/year",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          }
        },
        "required": [
          "annualNoi",
          "annualDebtService"
        ],
        "additionalProperties": false
      },
      "input": {
        "annualNoi": 100,
        "annualDebtService": 100
      },
      "output": {
        "status": "available",
        "result": {
          "ratio": 1
        },
        "formulaVersion": "dscr-metric-1.0.0",
        "units": {
          "ratio": "ratio"
        },
        "assumptions": [
          "Annual NOI / annual debt service; arithmetic only, never lender qualification."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/investment/dscr"
    },
    {
      "slug": "debt-payoff-comparison",
      "name": "Debt payoff",
      "category": "Personal finance",
      "description": "Compare avalanche and snowball with the same committed monthly budget.",
      "sandbox": true,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "debts": {
            "type": "array",
            "description": "Debts to compare using the same monthly extra payment.",
            "items": {
              "type": "object",
              "properties": {
                "balance": {
                  "type": "number",
                  "description": "Outstanding balance of this debt.",
                  "x-unit": "USD",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "multipleOf": 0.01,
                  "x-core-refinement": true
                },
                "annualRate": {
                  "type": "number",
                  "description": "Nominal annual rate. Enter 6.5 for 6.5%.",
                  "x-unit": "percentage-points",
                  "minimum": 0,
                  "maximum": 100,
                  "multipleOf": 1e-9,
                  "x-core-refinement": true
                },
                "minimumPayment": {
                  "type": "number",
                  "description": "Monthly minimum payment on this debt.",
                  "x-unit": "USD/month",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "multipleOf": 0.01,
                  "x-core-refinement": true
                }
              },
              "required": [
                "balance",
                "annualRate",
                "minimumPayment"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 20
          },
          "extraPayment": {
            "type": "number",
            "description": "Additional payment made each month.",
            "x-unit": "USD/month",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          }
        },
        "required": [
          "debts",
          "extraPayment"
        ],
        "additionalProperties": false
      },
      "input": {
        "debts": [
          {
            "balance": 100,
            "annualRate": 0,
            "minimumPayment": 100
          }
        ],
        "extraPayment": 100
      },
      "output": {
        "status": "available",
        "result": {
          "avalanche": {
            "schedule": [
              {
                "month": 1,
                "totalBalance": 0,
                "accounts": [
                  {
                    "id": "debt-1",
                    "payment": 100,
                    "balance": 0
                  }
                ]
              }
            ],
            "remainingBalance": 0,
            "complete": true,
            "months": 1
          },
          "snowball": {
            "schedule": [
              {
                "month": 1,
                "totalBalance": 0,
                "accounts": [
                  {
                    "id": "debt-1",
                    "payment": 100,
                    "balance": 0
                  }
                ]
              }
            ],
            "remainingBalance": 0,
            "complete": true,
            "months": 1
          },
          "scenarioCount": 2
        },
        "formulaVersion": "debt-payoff-1.0.0",
        "units": {
          "avalanche/snowball.schedule[].month": "months",
          "avalanche/snowball.schedule[].accounts[].payment": "USD",
          "avalanche/snowball.schedule[].accounts[].balance": "USD",
          "avalanche/snowball.schedule[].totalBalance": "USD",
          "avalanche/snowball.remainingBalance": "USD",
          "avalanche/snowball.months": "months",
          "scenarioCount": "count"
        },
        "assumptions": [
          "Canonical waterfall, rounded monthly interest; freed minimums roll into later months.",
          "Two requested strategies cost two credits; internal minimum-only helpers are not additional public scenarios.",
          "360-month cap; ordinal IDs; no dates or clock reads."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/lending/debt-payoff"
    },
    {
      "slug": "monthly-savings",
      "name": "Monthly savings",
      "category": "Personal finance",
      "description": "Project contributions and interest with a constant rate and end-of-month deposits.",
      "sandbox": true,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "initial": {
            "type": "number",
            "description": "Initial savings balance before any contributions.",
            "x-unit": "USD",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          },
          "monthlyContribution": {
            "type": "number",
            "description": "Contribution deposited at the end of each month.",
            "x-unit": "USD/month",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          },
          "annualRate": {
            "type": "number",
            "description": "Nominal annual rate. Enter 6.5 for 6.5%.",
            "x-unit": "percentage-points",
            "minimum": 0,
            "maximum": 15,
            "multipleOf": 1e-9,
            "x-core-refinement": true
          },
          "months": {
            "type": "integer",
            "description": "Number of whole months in the term.",
            "x-unit": "months",
            "minimum": 1,
            "maximum": 600
          }
        },
        "required": [
          "initial",
          "monthlyContribution",
          "annualRate",
          "months"
        ],
        "additionalProperties": false
      },
      "input": {
        "initial": 100,
        "monthlyContribution": 12,
        "annualRate": 0,
        "months": 12
      },
      "output": {
        "status": "available",
        "result": {
          "finalBalance": 244,
          "totalContributions": 244,
          "totalInterest": 0
        },
        "formulaVersion": "monthly-savings-1.0.0",
        "units": {
          "finalBalance": "USD",
          "totalContributions": "USD",
          "totalInterest": "USD",
          "annualRate": "percentage-points",
          "months": "months"
        },
        "assumptions": [
          "Monthly compounding; end-month contributions; no fees or taxes; constant supplied rate."
        ],
        "warnings": [
          "Returns are hypothetical and not guaranteed."
        ],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/savings"
    },
    {
      "slug": "budget-arithmetic",
      "name": "Monthly budget",
      "category": "Personal finance",
      "description": "Calculate surplus from take-home income and expenses and see the share left over.",
      "sandbox": true,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "monthlyIncome": {
            "type": "number",
            "description": "Total income for one month.",
            "x-unit": "USD/month",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          },
          "monthlyExpenses": {
            "type": "number",
            "description": "Total expenses for one month.",
            "x-unit": "USD/month",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01,
            "x-core-refinement": true
          }
        },
        "required": [
          "monthlyIncome",
          "monthlyExpenses"
        ],
        "additionalProperties": false
      },
      "input": {
        "monthlyIncome": 12,
        "monthlyExpenses": 12
      },
      "output": {
        "status": "available",
        "result": {
          "surplus": 0,
          "surplusRatio": 0
        },
        "formulaVersion": "budget-arithmetic-1.0.0",
        "units": {
          "surplus": "USD/month",
          "surplusRatio": "ratio"
        },
        "assumptions": [
          "Supplied monthly totals only; no spending classification or recommendations."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/budget"
    },
    {
      "slug": "room-floor-plan",
      "name": "Dimensioned floor plan",
      "category": "Room Studio",
      "description": "Draw caller-supplied normalized Room Studio geometry, including wall thickness, hosted openings and rotated fixtures. Returns the print SVG, wall lengths and area for each room. The same asset is used for the floor-plan PDF.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "scan": {
            "type": "object",
            "properties": {
              "schemaVersion": {
                "type": "integer",
                "const": 1
              },
              "units": {
                "type": "string",
                "const": "m"
              },
              "source": {
                "type": "string",
                "enum": [
                  "manual",
                  "lidar",
                  "manual_entry",
                  "roomplan_ios"
                ]
              },
              "capturedAt": {
                "type": "string",
                "format": "date-time",
                "description": "UTC capture timestamp, with optional millisecond precision."
              },
              "rooms": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32,
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "description": "Stable identifier within the plan."
                    },
                    "label": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 40,
                      "pattern": "^[ -~]+$",
                      "description": "Printable room or fixture label (up to 40 ASCII characters)."
                    },
                    "height": {
                      "type": "number",
                      "minimum": 0.1,
                      "maximum": 30,
                      "x-unit": "m",
                      "description": "Room ceiling height."
                    },
                    "walls": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 32,
                            "pattern": "^[A-Za-z0-9_-]+$",
                            "description": "Stable identifier within the plan."
                          },
                          "start": {
                            "type": "array",
                            "items": {
                              "type": "number",
                              "minimum": -1000,
                              "maximum": 1000,
                              "x-unit": "m",
                              "description": "World coordinate."
                            },
                            "minItems": 2,
                            "maxItems": 2,
                            "description": "World-space [x, y], in meters; positive y points north."
                          },
                          "end": {
                            "type": "array",
                            "items": {
                              "type": "number",
                              "minimum": -1000,
                              "maximum": 1000,
                              "x-unit": "m",
                              "description": "World coordinate."
                            },
                            "minItems": 2,
                            "maxItems": 2,
                            "description": "World-space [x, y], in meters; positive y points north."
                          },
                          "thickness": {
                            "type": "number",
                            "minimum": 0.01,
                            "maximum": 2,
                            "x-unit": "m",
                            "description": "Wall band thickness."
                          },
                          "height": {
                            "type": "number",
                            "minimum": 0.1,
                            "maximum": 30,
                            "x-unit": "m",
                            "description": "Wall height."
                          },
                          "confidence": {
                            "type": "string",
                            "enum": [
                              "low",
                              "medium",
                              "high"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "start",
                          "end",
                          "thickness",
                          "height",
                          "confidence"
                        ],
                        "additionalProperties": false,
                        "description": "One measured wall in the ordered counterclockwise boundary."
                      },
                      "minItems": 3,
                      "maxItems": 24,
                      "description": "Simple closed counterclockwise wall loop. Consecutive endpoints must meet."
                    },
                    "openings": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 32,
                            "pattern": "^[A-Za-z0-9_-]+$",
                            "description": "Stable identifier within the plan."
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "door",
                              "window",
                              "opening"
                            ]
                          },
                          "wallId": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 32,
                            "pattern": "^[A-Za-z0-9_-]+$",
                            "description": "Stable identifier within the plan."
                          },
                          "offset": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 1000,
                            "x-unit": "m",
                            "description": "Distance from the start of its host wall."
                          },
                          "width": {
                            "type": "number",
                            "minimum": 0.01,
                            "maximum": 1000,
                            "x-unit": "m",
                            "description": "Opening span along the wall."
                          },
                          "height": {
                            "type": "number",
                            "minimum": 0.01,
                            "maximum": 30,
                            "x-unit": "m",
                            "description": "Opening height."
                          },
                          "sillHeight": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 30,
                            "x-unit": "m",
                            "description": "Clearance above the floor."
                          }
                        },
                        "required": [
                          "id",
                          "type",
                          "wallId",
                          "offset",
                          "width",
                          "height",
                          "sillHeight"
                        ],
                        "additionalProperties": false,
                        "description": "Opening in its named host wall. Offset plus width must fit the wall."
                      },
                      "minItems": 0,
                      "maxItems": 24,
                      "description": "Doors, windows and passages."
                    },
                    "fixtures": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 32,
                            "pattern": "^[A-Za-z0-9_-]+$",
                            "description": "Stable identifier within the plan."
                          },
                          "category": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 40,
                            "pattern": "^[ -~]+$",
                            "description": "Printable room or fixture label (up to 40 ASCII characters)."
                          },
                          "footprint": {
                            "type": "array",
                            "items": {
                              "type": "number",
                              "minimum": 0.05,
                              "maximum": 100,
                              "x-unit": "m",
                              "description": "Footprint dimension."
                            },
                            "minItems": 2,
                            "maxItems": 2,
                            "description": "[width, depth], meters."
                          },
                          "position": {
                            "type": "array",
                            "items": {
                              "type": "number",
                              "minimum": -1000,
                              "maximum": 1000,
                              "x-unit": "m",
                              "description": "World coordinate."
                            },
                            "minItems": 2,
                            "maxItems": 2,
                            "description": "World-space [x, y], in meters; positive y points north."
                          },
                          "rotation": {
                            "type": "number",
                            "minimum": -360,
                            "maximum": 360,
                            "x-unit": "degrees",
                            "description": "Counterclockwise rotation of the fixture footprint."
                          }
                        },
                        "required": [
                          "id",
                          "category",
                          "footprint",
                          "position",
                          "rotation"
                        ],
                        "additionalProperties": false,
                        "description": "Placed and rotated fixture."
                      },
                      "minItems": 0,
                      "maxItems": 24,
                      "description": "Measured fixture footprints."
                    },
                    "loopClosed": {
                      "type": "boolean",
                      "const": true
                    },
                    "nonManhattan": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "id",
                    "label",
                    "height",
                    "walls",
                    "openings",
                    "fixtures",
                    "loopClosed",
                    "nonManhattan"
                  ],
                  "additionalProperties": false,
                  "description": "Measured room with a nondegenerate boundary."
                },
                "minItems": 1,
                "maxItems": 4,
                "description": "One to four rooms in a shared world coordinate system."
              },
              "adjacency": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "roomIdA": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32,
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "description": "Stable identifier within the plan."
                    },
                    "roomIdB": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32,
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "description": "Stable identifier within the plan."
                    },
                    "sharedWallIds": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 32,
                        "pattern": "^[A-Za-z0-9_-]+$",
                        "description": "Stable identifier within the plan."
                      },
                      "minItems": 0,
                      "maxItems": 24,
                      "description": "Wall identifiers in either adjacent room."
                    }
                  },
                  "required": [
                    "roomIdA",
                    "roomIdB",
                    "sharedWallIds"
                  ],
                  "additionalProperties": false,
                  "description": "Optional source adjacency record."
                },
                "minItems": 0,
                "maxItems": 6,
                "description": "Existing adjacency records."
              },
              "calibration": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "wallId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 32,
                        "pattern": "^[A-Za-z0-9_-]+$",
                        "description": "Stable identifier within the plan."
                      },
                      "measuredM": {
                        "type": "number",
                        "minimum": 0.001,
                        "maximum": 1000,
                        "x-unit": "m",
                        "description": "Original measurement."
                      },
                      "enteredM": {
                        "type": "number",
                        "minimum": 0.001,
                        "maximum": 1000,
                        "x-unit": "m",
                        "description": "User-entered measurement."
                      },
                      "scaleApplied": {
                        "type": "number",
                        "minimum": 0.001,
                        "maximum": 1000,
                        "x-unit": "ratio",
                        "description": "Already applied to the normalized coordinates."
                      }
                    },
                    "required": [
                      "wallId",
                      "measuredM",
                      "enteredM",
                      "scaleApplied"
                    ],
                    "additionalProperties": false,
                    "description": "Optional recorded calibration. Coordinates are already calibrated."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "snapReport": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "wallsSnapped": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1024
                      },
                      "wallsTotal": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1024
                      },
                      "maxCorrectionDeg": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 360,
                        "x-unit": "degrees",
                        "description": "Maximum correction."
                      },
                      "dominantAxisDeg": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 90,
                        "x-unit": "degrees",
                        "description": "Dominant wall direction."
                      },
                      "closureResidualBeforeM": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000,
                        "x-unit": "m",
                        "description": "Pre-snap closure residual."
                      },
                      "closureResidualAfterM": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000,
                        "x-unit": "m",
                        "description": "Post-snap closure residual."
                      },
                      "weldedWallCount": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 1024
                      }
                    },
                    "required": [
                      "wallsSnapped",
                      "wallsTotal",
                      "maxCorrectionDeg",
                      "dominantAxisDeg",
                      "closureResidualBeforeM",
                      "closureResidualAfterM",
                      "weldedWallCount"
                    ],
                    "additionalProperties": false,
                    "description": "Optional source snap record."
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "schemaVersion",
              "units",
              "source",
              "capturedAt",
              "rooms",
              "adjacency",
              "calibration",
              "snapReport"
            ],
            "additionalProperties": false,
            "description": "Caller-supplied Room Studio normalized scan v1. No device capture or snapping occurs."
          },
          "unitSystem": {
            "type": "string",
            "enum": [
              "imperial",
              "metric"
            ],
            "description": "Display lengths in feet and inches (default) or meters. Source area labels use square feet."
          }
        },
        "required": [
          "scan"
        ],
        "additionalProperties": false,
        "description": "Creates the dimensioned Room Studio print SVG. The maximum request body is 16 KiB. The print view must fit 510 by 6,000 source pixels (including its disclaimer)."
      },
      "input": {
        "scan": {
          "schemaVersion": 1,
          "units": "m",
          "source": "manual",
          "capturedAt": "2026-07-20T00:00:00.000Z",
          "rooms": [
            {
              "id": "room-golden",
              "label": "Living Room",
              "height": 2.4384,
              "walls": [
                {
                  "id": "w1",
                  "start": [
                    0,
                    0
                  ],
                  "end": [
                    3.6576,
                    0
                  ],
                  "thickness": 0.16,
                  "height": 2.4384,
                  "confidence": "high"
                },
                {
                  "id": "w2",
                  "start": [
                    3.6576,
                    0
                  ],
                  "end": [
                    3.6576,
                    3.048
                  ],
                  "thickness": 0.16,
                  "height": 2.4384,
                  "confidence": "high"
                },
                {
                  "id": "w3",
                  "start": [
                    3.6576,
                    3.048
                  ],
                  "end": [
                    0,
                    3.048
                  ],
                  "thickness": 0.16,
                  "height": 2.4384,
                  "confidence": "high"
                },
                {
                  "id": "w4",
                  "start": [
                    0,
                    3.048
                  ],
                  "end": [
                    0,
                    0
                  ],
                  "thickness": 0.16,
                  "height": 2.4384,
                  "confidence": "high"
                }
              ],
              "openings": [
                {
                  "id": "o1",
                  "type": "door",
                  "wallId": "w1",
                  "offset": 0.3048,
                  "width": 0.9144,
                  "height": 2.033016,
                  "sillHeight": 0
                },
                {
                  "id": "o2",
                  "type": "window",
                  "wallId": "w2",
                  "offset": 0.6096,
                  "width": 1.2192,
                  "height": 0.9144,
                  "sillHeight": 0.9144
                },
                {
                  "id": "o3",
                  "type": "opening",
                  "wallId": "w3",
                  "offset": 1.9,
                  "width": 0.8,
                  "height": 2.05,
                  "sillHeight": 0
                }
              ],
              "fixtures": [
                {
                  "id": "f1",
                  "category": "sofa",
                  "position": [
                    0.82,
                    2.28
                  ],
                  "footprint": [
                    1.2,
                    0.65
                  ],
                  "rotation": 25
                }
              ],
              "loopClosed": true,
              "nonManhattan": false
            }
          ],
          "adjacency": [],
          "calibration": null,
          "snapReport": null
        },
        "unitSystem": "imperial"
      },
      "output": {
        "status": "available",
        "result": {
          "assetType": "image/svg+xml",
          "svg": "<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 510 472.45\" width=\"510\" height=\"472.45\" role=\"img\" aria-label=\"Floor plan of Living Room\"><title>Floor plan of Living Room</title><rect x=\"0\" y=\"0\" width=\"510\" height=\"472.45\" fill=\"#fbfbfc\" /><g class=\"ht-room\" data-room=\"room-golden\"><polygon points=\"64.34,382.11 445.66,382.11 445.66,64.34 64.34,64.34\" fill=\"#fbfbfc\" stroke=\"none\" /><polygon points=\"56,373.77 454,373.77 454,390.45 56,390.45\" fill=\"#1a1a1a\" stroke=\"#1a1a1a\" stroke-width=\"1\" stroke-linejoin=\"miter\" /><polygon points=\"437.32,390.45 437.32,56 454,56 454,390.45\" fill=\"#1a1a1a\" stroke=\"#1a1a1a\" stroke-width=\"1\" stroke-linejoin=\"miter\" /><polygon points=\"454,72.68 56,72.68 56,56 454,56\" fill=\"#1a1a1a\" stroke=\"#1a1a1a\" stroke-width=\"1\" stroke-linejoin=\"miter\" /><polygon points=\"72.68,56 72.68,390.45 56,390.45 56,56\" fill=\"#1a1a1a\" stroke=\"#1a1a1a\" stroke-width=\"1\" stroke-linejoin=\"miter\" /><polygon points=\"96.12,373.24 191.45,373.24 191.45,390.97 96.12,390.97\" fill=\"#fbfbfc\" stroke=\"none\" data-opening=\"o1\" /><path class=\"ht-door-swing\" d=\"M191.45 382.11 L190.99 372.76 L189.62 363.51 L187.34 354.43 L184.19 345.63 L180.19 337.17 L175.38 329.14 L169.81 321.63 L163.53 314.7 L156.59 308.42 L149.08 302.84 L141.06 298.03 L132.6 294.03 L123.79 290.88 L114.71 288.61 L105.46 287.24 L96.12 286.78\" fill=\"none\" stroke=\"#1a1a1a\" stroke-width=\"1.25\" stroke-dasharray=\"4 3\" /><line x1=\"96.12\" y1=\"382.11\" x2=\"96.12\" y2=\"286.78\" stroke=\"#1a1a1a\" stroke-width=\"2\" stroke-linecap=\"round\" /><polygon points=\"436.8,318.55 436.8,191.45 454.52,191.45 454.52,318.55\" fill=\"#fbfbfc\" stroke=\"none\" data-opening=\"o2\" /><line class=\"ht-window-glyph\" x1=\"454.52\" y1=\"318.55\" x2=\"454.52\" y2=\"191.45\" stroke=\"#1a1a1a\" stroke-width=\"1.25\" /><line class=\"ht-window-glyph\" x1=\"445.66\" y1=\"318.55\" x2=\"445.66\" y2=\"191.45\" stroke=\"#1a1a1a\" stroke-width=\"1.25\" /><line class=\"ht-window-glyph\" x1=\"436.8\" y1=\"318.55\" x2=\"436.8\" y2=\"191.45\" stroke=\"#1a1a1a\" stroke-width=\"1.25\" /><polygon points=\"247.58,73.2 164.17,73.2 164.17,55.48 247.58,55.48\" fill=\"#fbfbfc\" stroke=\"none\" data-opening=\"o3\" /><line x1=\"247.58\" y1=\"73.2\" x2=\"247.58\" y2=\"55.48\" stroke=\"#1a1a1a\" stroke-width=\"1.25\" stroke-dasharray=\"3 3\" /><line x1=\"164.17\" y1=\"73.2\" x2=\"164.17\" y2=\"55.48\" stroke=\"#1a1a1a\" stroke-width=\"1.25\" stroke-dasharray=\"3 3\" /><g transform=\"translate(149.83 144.41) rotate(-25)\" data-fixture=\"f1\"><rect x=\"-62.55\" y=\"-33.88\" width=\"125.1\" height=\"67.77\" rx=\"3\" fill=\"#fbfbfc\" stroke=\"#4a4a4a\" stroke-width=\"1.5\" /><text x=\"0\" y=\"3\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"9\" fill=\"#4a4a4a\">S</text></g><text class=\"ht-dimension\" x=\"255\" y=\"398.11\" transform=\"rotate(0 255 398.11)\" text-anchor=\"middle\" dominant-baseline=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"11\" fill=\"#4a4a4a\">12&apos;</text><text class=\"ht-dimension\" x=\"461.66\" y=\"223.22\" transform=\"rotate(90 461.66 223.22)\" text-anchor=\"middle\" dominant-baseline=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"11\" fill=\"#4a4a4a\">10&apos;</text><text class=\"ht-dimension\" x=\"255\" y=\"48.34\" transform=\"rotate(360 255 48.34)\" text-anchor=\"middle\" dominant-baseline=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"11\" fill=\"#4a4a4a\">12&apos;</text><text class=\"ht-dimension\" x=\"48.34\" y=\"223.22\" transform=\"rotate(90 48.34 223.22)\" text-anchor=\"middle\" dominant-baseline=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"11\" fill=\"#4a4a4a\">10&apos;</text><text class=\"ht-room-label\" x=\"255\" y=\"223.22\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"14\" font-weight=\"600\" fill=\"#111111\">Living Room</text><text class=\"ht-room-area\" x=\"255\" y=\"239.22\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"11\" fill=\"#4a4a4a\">120 sq ft</text></g><text class=\"ht-disclaimer\" x=\"255\" y=\"463.45\" text-anchor=\"middle\" font-family=\"system-ui, sans-serif\" font-size=\"10\" fill=\"#4a4a4a\">Sketch-grade, not survey-grade — typical accuracy ±1–2%. Not for permits or surveys.</text></svg>",
          "width": 510,
          "height": 472.45,
          "rooms": [
            {
              "id": "room-golden",
              "label": "Living Room",
              "floorAreaSqft": 120,
              "walls": [
                {
                  "id": "w1",
                  "lengthM": 3.6576
                },
                {
                  "id": "w2",
                  "lengthM": 3.048
                },
                {
                  "id": "w3",
                  "lengthM": 3.6576
                },
                {
                  "id": "w4",
                  "lengthM": 3.048
                }
              ],
              "openings": 3,
              "fixtures": 1
            }
          ]
        },
        "formulaVersion": "room-floor-plan-htcalc-719df2c0e105-v1",
        "units": {
          "svg": "image/svg+xml",
          "width": "px",
          "height": "px",
          "rooms[].floorAreaSqft": "ft²",
          "rooms[].walls[].lengthM": "m"
        },
        "assumptions": [
          "Normalized meters in a shared plan coordinate system. Dimension labels appear on walls at least 0.5 m long. Area labels use square feet in both display modes."
        ],
        "warnings": [
          "Sketch-grade, not survey-grade — typical accuracy ±1–2%. Not for permits or surveys."
        ],
        "creditCost": 1
      }
    },
    {
      "slug": "cash-out-refinance-equity",
      "name": "Cash-out refinance equity",
      "category": "Mortgage",
      "description": "Estimate the amount available under a supplied loan-to-value limit and the equity remaining after cash-out and closing costs.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "homeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "currentBalance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "cashOutAmount": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "rollClosingCosts": {
            "type": "boolean"
          },
          "maxLtvPercent": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Percent"
          }
        },
        "required": [
          "homeValue",
          "currentBalance",
          "cashOutAmount"
        ]
      },
      "input": {
        "homeValue": 400000,
        "currentBalance": 240000,
        "cashOutAmount": 50000,
        "closingCosts": 5000,
        "rollClosingCosts": true,
        "maxLtvPercent": 80
      },
      "output": {
        "status": "available",
        "result": {
          "maxLtvPercent": 80,
          "maxLoanAtLtv": 320000,
          "rolledClosingCosts": 5000,
          "newLoanAmountForLtv": 295000,
          "maxCashOut": 75000,
          "cashOutHeadroom": 25000,
          "newLtvPercent": 73.75,
          "equityAfterRefi": 105000,
          "equityAfterRefiPercent": 26.25,
          "isAboveMaxLtv": false
        },
        "formulaVersion": "cash-out-refinance-equity-htcalc-719df2c0e105",
        "units": {
          "amounts": "USD",
          "newLtvPercent": "percent",
          "equityAfterRefiPercent": "percent",
          "maxLtvPercent": "percent"
        },
        "assumptions": [
          "Defaults are zero closing costs, cash-paid closing costs, and an illustrative 80% maximum loan-to-value."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/refinance/cash-out"
    },
    {
      "slug": "bridge-loan-carry",
      "name": "Bridge loan and carrying cost",
      "category": "Mortgage",
      "description": "Model the funding gap, first-lien payoff or second lien, monthly carrying costs and sale proceeds.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "currentHomeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "currentMortgageBalance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "newHomePurchasePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "targetDownPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent, e.g. 5 means 5%"
          },
          "newClosingCostsPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent, e.g. 5 means 5%"
          },
          "cashAvailableForPurchase": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "maxCombinedLtvPercent": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Percent"
          },
          "bridgeRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "bridgeTermMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 120,
            "description": "Whole months"
          },
          "originationFeePercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent, e.g. 5 means 5%"
          },
          "monthlyCurrentHomeCarry": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "newMonthlyPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "otherMonthlyObligations": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "sellingCostsPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent, e.g. 5 means 5%"
          },
          "bridgeStructure": {
            "type": "string",
            "enum": [
              "second-lien",
              "payoff-first-lien"
            ]
          }
        },
        "required": [
          "currentHomeValue",
          "currentMortgageBalance",
          "newHomePurchasePrice",
          "targetDownPaymentPercent",
          "newClosingCostsPercent",
          "cashAvailableForPurchase",
          "maxCombinedLtvPercent",
          "bridgeRate",
          "bridgeTermMonths",
          "originationFeePercent",
          "monthlyCurrentHomeCarry",
          "sellingCostsPercent"
        ]
      },
      "input": {
        "currentHomeValue": 500000,
        "currentMortgageBalance": 250000,
        "newHomePurchasePrice": 400000,
        "targetDownPaymentPercent": 20,
        "newClosingCostsPercent": 3,
        "cashAvailableForPurchase": 20000,
        "maxCombinedLtvPercent": 80,
        "bridgeRate": 6,
        "bridgeTermMonths": 6,
        "originationFeePercent": 1,
        "monthlyCurrentHomeCarry": 1000,
        "newMonthlyPayment": 2000,
        "otherMonthlyObligations": 0,
        "sellingCostsPercent": 6,
        "bridgeStructure": "second-lien"
      },
      "output": {
        "status": "available",
        "result": {
          "currentHomeValue": 500000,
          "currentMortgageBalance": 250000,
          "newHomePurchasePrice": 400000,
          "sellingCostsPercent": 6,
          "sellingCosts": 30000,
          "netSaleProceedsBeforeBridge": 220000,
          "maxCombinedLtvPercent": 80,
          "maxBridgeByCombinedLtv": 150000,
          "targetDownPaymentPercent": 20,
          "targetDownPayment": 80000,
          "newClosingCostsPercent": 3,
          "newClosingCosts": 12000,
          "cashAvailableForPurchase": 20000,
          "purchaseCashNeed": 92000,
          "fundingGapBeforeBridge": 72000,
          "bridgeStructure": "second-lien",
          "bridgeLoanAmount": 72000,
          "bridgeNoteAmount": 72000,
          "fundingShortfall": 0,
          "bridgeNeedCovered": true,
          "bridgeRate": 6,
          "bridgeTermMonths": 6,
          "monthlyBridgePayment": 360,
          "totalBridgeInterest": 2160,
          "originationFeePercent": 1,
          "originationFee": 720,
          "totalBridgeFinanceCost": 2880,
          "monthlyCurrentHomeCarry": 1000,
          "newMonthlyPayment": 2000,
          "otherMonthlyObligations": 0,
          "monthlyCarryDuringBridge": 3360,
          "totalCurrentHomeCarry": 6000,
          "totalNewHomeCarry": 12000,
          "totalOtherObligations": 0,
          "totalBridgePeriodCashOutflow": 20880,
          "salePayoffAtExit": 322000,
          "netSaleProceedsAfterBridge": 148000,
          "combinedLoanToValue": 64.4,
          "aprApprox": 8,
          "termExceedsTypicalTemporaryBridge": false,
          "hasNegativeSaleProceedsAfterBridge": false
        },
        "formulaVersion": "bridge-loan-carry-htcalc-719df2c0e105",
        "units": {
          "amounts": "USD",
          "monthlyBridgePayment": "USD/month",
          "monthlyCarryDuringBridge": "USD/month",
          "bridgeTermMonths": "months",
          "combinedLoanToValue": "percent",
          "aprApprox": "annual percent (approximate)"
        },
        "assumptions": [
          "Interest-only bridge payments. The quoted rate and costs are supplied by the caller."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/bridge-loan"
    },
    {
      "slug": "heloc-draw-and-repayment",
      "name": "HELOC draw and repayment",
      "category": "Mortgage",
      "description": "Model a fully drawn line through the interest-only period and amortized repayment, including stress rates, extra payments and fees.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "homeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "mortgageBalance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "ltv": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Percent"
          },
          "drawAmount": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "drawPeriod": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Years, rounded to the nearest month"
          },
          "repaymentPeriod": {
            "type": "number",
            "minimum": 0.08333333333333333,
            "maximum": 50,
            "description": "Years, rounded to the nearest month"
          },
          "extraPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "indexRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "rateMargin": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent, e.g. 5 means 5%"
          },
          "rateCap": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "annualFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          }
        },
        "required": [
          "homeValue",
          "mortgageBalance",
          "ltv",
          "drawAmount",
          "interestRate",
          "drawPeriod",
          "repaymentPeriod",
          "extraPayment",
          "indexRate",
          "rateMargin",
          "rateCap",
          "annualFee",
          "closingCosts"
        ]
      },
      "input": {
        "homeValue": 450000,
        "mortgageBalance": 250000,
        "ltv": 85,
        "drawAmount": 50000,
        "interestRate": 9,
        "drawPeriod": 10,
        "repaymentPeriod": 20,
        "extraPayment": 0,
        "indexRate": 5.5,
        "rateMargin": 3.5,
        "rateCap": 18,
        "annualFee": 75,
        "closingCosts": 500
      },
      "output": {
        "status": "available",
        "result": {
          "maxCreditLine": 132500,
          "requestedDrawWithinLine": true,
          "interestOnlyPayment": 375,
          "pAndIPayment": 449.8629779251,
          "totalDrawInterest": 45000,
          "repaymentInterest": 57968.18,
          "totalInterest": 102968.18,
          "repaymentMonths": 240,
          "endingBalance": 0,
          "repaymentStatus": "paid-off",
          "extraResults": null,
          "indexedRate": 9,
          "modeledRate": 9,
          "stressInterestOnlyPayment": 375,
          "stressPAndIPayment": 449.8629779251,
          "totalFees": 2750,
          "totalCostWithFees": 105718.18,
          "drawBalanceAssumption": "full-draw-outstanding"
        },
        "formulaVersion": "heloc-draw-and-repayment-htcalc-719df2c0e105",
        "units": {
          "amounts": "USD",
          "interestOnlyPayment": "USD/month",
          "pAndIPayment": "USD/month",
          "repaymentMonths": "months",
          "indexedRate": "annual percent",
          "modeledRate": "annual percent"
        },
        "assumptions": [
          "The entire draw remains outstanding throughout the draw period. The caller supplies the index and rate assumptions."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/refinance/heloc"
    },
    {
      "slug": "fixed-home-equity-loan",
      "name": "Fixed home-equity loan",
      "category": "Mortgage",
      "description": "Estimate the borrowing limit, net cash, debt-to-income ratio and monthly and yearly loan schedules.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "homeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "mortgageBalance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "ltv": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Percent"
          },
          "loanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "extraPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "points": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent, e.g. 5 means 5%"
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "annualIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "monthlyDebt": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          }
        },
        "required": [
          "homeValue",
          "mortgageBalance",
          "ltv",
          "loanAmount",
          "interestRate",
          "loanTerm",
          "extraPayment",
          "points",
          "closingCosts",
          "annualIncome",
          "monthlyDebt"
        ]
      },
      "input": {
        "homeValue": 450000,
        "mortgageBalance": 250000,
        "ltv": 85,
        "loanAmount": 50000,
        "interestRate": 8.5,
        "loanTerm": 15,
        "extraPayment": 0,
        "points": 1,
        "closingCosts": 750,
        "annualIncome": 120000,
        "monthlyDebt": 1000
      },
      "output": {
        "status": "available",
        "result": {
          "loanDetails": {
            "principalAndInterest": 492.3697789628,
            "monthlyTax": 0,
            "monthlyInsurance": 0,
            "monthlyPMI": 0,
            "monthlyPayment": 492.3697789628,
            "monthlyPrincipal": 138.20311229613333,
            "monthlyInterest": 354.1666666666667,
            "totalPayment": 88626.56021330401,
            "totalFinancingPayment": 88626.56021330401,
            "totalInterest": 38626.56021330401,
            "loanAmount": 50000,
            "upfrontFees": 0,
            "originationFeeAmount": 0,
            "feeDeductedFromProceeds": 0,
            "capitalizedInterest": 0,
            "businessDscr": 0
          },
          "amortizationData": [
            {
              "month": 1,
              "interest": 354.17,
              "principal": 138.2,
              "remainingBalance": 49861.8
            },
            {
              "month": 2,
              "interest": 353.19,
              "principal": 139.18,
              "remainingBalance": 49722.62
            },
            {
              "month": 3,
              "interest": 352.2,
              "principal": 140.17,
              "remainingBalance": 49582.45
            },
            {
              "month": 4,
              "interest": 351.21,
              "principal": 141.16,
              "remainingBalance": 49441.29
            },
            {
              "month": 5,
              "interest": 350.21,
              "principal": 142.16,
              "remainingBalance": 49299.13
            },
            {
              "month": 6,
              "interest": 349.2,
              "principal": 143.17,
              "remainingBalance": 49155.96
            },
            {
              "month": 7,
              "interest": 348.19,
              "principal": 144.18,
              "remainingBalance": 49011.78
            },
            {
              "month": 8,
              "interest": 347.17,
              "principal": 145.2,
              "remainingBalance": 48866.58
            },
            {
              "month": 9,
              "interest": 346.14,
              "principal": 146.23,
              "remainingBalance": 48720.35
            },
            {
              "month": 10,
              "interest": 345.1,
              "principal": 147.27,
              "remainingBalance": 48573.08
            },
            {
              "month": 11,
              "interest": 344.06,
              "principal": 148.31,
              "remainingBalance": 48424.77
            },
            {
              "month": 12,
              "interest": 343.01,
              "principal": 149.36,
              "remainingBalance": 48275.41
            },
            {
              "month": 13,
              "interest": 341.95,
              "principal": 150.42,
              "remainingBalance": 48124.99
            },
            {
              "month": 14,
              "interest": 340.89,
              "principal": 151.48,
              "remainingBalance": 47973.51
            },
            {
              "month": 15,
              "interest": 339.81,
              "principal": 152.56,
              "remainingBalance": 47820.95
            },
            {
              "month": 16,
              "interest": 338.73,
              "principal": 153.64,
              "remainingBalance": 47667.31
            },
            {
              "month": 17,
              "interest": 337.64,
              "principal": 154.73,
              "remainingBalance": 47512.58
            },
            {
              "month": 18,
              "interest": 336.55,
              "principal": 155.82,
              "remainingBalance": 47356.76
            },
            {
              "month": 19,
              "interest": 335.44,
              "principal": 156.93,
              "remainingBalance": 47199.83
            },
            {
              "month": 20,
              "interest": 334.33,
              "principal": 158.04,
              "remainingBalance": 47041.79
            },
            {
              "month": 21,
              "interest": 333.21,
              "principal": 159.16,
              "remainingBalance": 46882.63
            },
            {
              "month": 22,
              "interest": 332.09,
              "principal": 160.28,
              "remainingBalance": 46722.35
            },
            {
              "month": 23,
              "interest": 330.95,
              "principal": 161.42,
              "remainingBalance": 46560.93
            },
            {
              "month": 24,
              "interest": 329.81,
              "principal": 162.56,
              "remainingBalance": 46398.37
            },
            {
              "month": 25,
              "interest": 328.66,
              "principal": 163.71,
              "remainingBalance": 46234.66
            },
            {
              "month": 26,
              "interest": 327.5,
              "principal": 164.87,
              "remainingBalance": 46069.79
            },
            {
              "month": 27,
              "interest": 326.33,
              "principal": 166.04,
              "remainingBalance": 45903.75
            },
            {
              "month": 28,
              "interest": 325.15,
              "principal": 167.22,
              "remainingBalance": 45736.53
            },
            {
              "month": 29,
              "interest": 323.97,
              "principal": 168.4,
              "remainingBalance": 45568.13
            },
            {
              "month": 30,
              "interest": 322.77,
              "principal": 169.6,
              "remainingBalance": 45398.53
            },
            {
              "month": 31,
              "interest": 321.57,
              "principal": 170.8,
              "remainingBalance": 45227.73
            },
            {
              "month": 32,
              "interest": 320.36,
              "principal": 172.01,
              "remainingBalance": 45055.72
            },
            {
              "month": 33,
              "interest": 319.14,
              "principal": 173.23,
              "remainingBalance": 44882.49
            },
            {
              "month": 34,
              "interest": 317.92,
              "principal": 174.45,
              "remainingBalance": 44708.04
            },
            {
              "month": 35,
              "interest": 316.68,
              "principal": 175.69,
              "remainingBalance": 44532.35
            },
            {
              "month": 36,
              "interest": 315.44,
              "principal": 176.93,
              "remainingBalance": 44355.42
            },
            {
              "month": 37,
              "interest": 314.18,
              "principal": 178.19,
              "remainingBalance": 44177.23
            },
            {
              "month": 38,
              "interest": 312.92,
              "principal": 179.45,
              "remainingBalance": 43997.78
            },
            {
              "month": 39,
              "interest": 311.65,
              "principal": 180.72,
              "remainingBalance": 43817.06
            },
            {
              "month": 40,
              "interest": 310.37,
              "principal": 182,
              "remainingBalance": 43635.06
            },
            {
              "month": 41,
              "interest": 309.08,
              "principal": 183.29,
              "remainingBalance": 43451.77
            },
            {
              "month": 42,
              "interest": 307.78,
              "principal": 184.59,
              "remainingBalance": 43267.18
            },
            {
              "month": 43,
              "interest": 306.48,
              "principal": 185.89,
              "remainingBalance": 43081.29
            },
            {
              "month": 44,
              "interest": 305.16,
              "principal": 187.21,
              "remainingBalance": 42894.08
            },
            {
              "month": 45,
              "interest": 303.83,
              "principal": 188.54,
              "remainingBalance": 42705.54
            },
            {
              "month": 46,
              "interest": 302.5,
              "principal": 189.87,
              "remainingBalance": 42515.67
            },
            {
              "month": 47,
              "interest": 301.15,
              "principal": 191.22,
              "remainingBalance": 42324.45
            },
            {
              "month": 48,
              "interest": 299.8,
              "principal": 192.57,
              "remainingBalance": 42131.88
            },
            {
              "month": 49,
              "interest": 298.43,
              "principal": 193.94,
              "remainingBalance": 41937.94
            },
            {
              "month": 50,
              "interest": 297.06,
              "principal": 195.31,
              "remainingBalance": 41742.63
            },
            {
              "month": 51,
              "interest": 295.68,
              "principal": 196.69,
              "remainingBalance": 41545.94
            },
            {
              "month": 52,
              "interest": 294.28,
              "principal": 198.09,
              "remainingBalance": 41347.85
            },
            {
              "month": 53,
              "interest": 292.88,
              "principal": 199.49,
              "remainingBalance": 41148.36
            },
            {
              "month": 54,
              "interest": 291.47,
              "principal": 200.9,
              "remainingBalance": 40947.46
            },
            {
              "month": 55,
              "interest": 290.04,
              "principal": 202.33,
              "remainingBalance": 40745.13
            },
            {
              "month": 56,
              "interest": 288.61,
              "principal": 203.76,
              "remainingBalance": 40541.37
            },
            {
              "month": 57,
              "interest": 287.17,
              "principal": 205.2,
              "remainingBalance": 40336.17
            },
            {
              "month": 58,
              "interest": 285.71,
              "principal": 206.66,
              "remainingBalance": 40129.51
            },
            {
              "month": 59,
              "interest": 284.25,
              "principal": 208.12,
              "remainingBalance": 39921.39
            },
            {
              "month": 60,
              "interest": 282.78,
              "principal": 209.59,
              "remainingBalance": 39711.8
            },
            {
              "month": 61,
              "interest": 281.29,
              "principal": 211.08,
              "remainingBalance": 39500.72
            },
            {
              "month": 62,
              "interest": 279.8,
              "principal": 212.57,
              "remainingBalance": 39288.15
            },
            {
              "month": 63,
              "interest": 278.29,
              "principal": 214.08,
              "remainingBalance": 39074.07
            },
            {
              "month": 64,
              "interest": 276.77,
              "principal": 215.6,
              "remainingBalance": 38858.47
            },
            {
              "month": 65,
              "interest": 275.25,
              "principal": 217.12,
              "remainingBalance": 38641.35
            },
            {
              "month": 66,
              "interest": 273.71,
              "principal": 218.66,
              "remainingBalance": 38422.69
            },
            {
              "month": 67,
              "interest": 272.16,
              "principal": 220.21,
              "remainingBalance": 38202.48
            },
            {
              "month": 68,
              "interest": 270.6,
              "principal": 221.77,
              "remainingBalance": 37980.71
            },
            {
              "month": 69,
              "interest": 269.03,
              "principal": 223.34,
              "remainingBalance": 37757.37
            },
            {
              "month": 70,
              "interest": 267.45,
              "principal": 224.92,
              "remainingBalance": 37532.45
            },
            {
              "month": 71,
              "interest": 265.85,
              "principal": 226.52,
              "remainingBalance": 37305.93
            },
            {
              "month": 72,
              "interest": 264.25,
              "principal": 228.12,
              "remainingBalance": 37077.81
            },
            {
              "month": 73,
              "interest": 262.63,
              "principal": 229.74,
              "remainingBalance": 36848.07
            },
            {
              "month": 74,
              "interest": 261.01,
              "principal": 231.36,
              "remainingBalance": 36616.71
            },
            {
              "month": 75,
              "interest": 259.37,
              "principal": 233,
              "remainingBalance": 36383.71
            },
            {
              "month": 76,
              "interest": 257.72,
              "principal": 234.65,
              "remainingBalance": 36149.06
            },
            {
              "month": 77,
              "interest": 256.06,
              "principal": 236.31,
              "remainingBalance": 35912.75
            },
            {
              "month": 78,
              "interest": 254.38,
              "principal": 237.99,
              "remainingBalance": 35674.76
            },
            {
              "month": 79,
              "interest": 252.7,
              "principal": 239.67,
              "remainingBalance": 35435.09
            },
            {
              "month": 80,
              "interest": 251,
              "principal": 241.37,
              "remainingBalance": 35193.72
            },
            {
              "month": 81,
              "interest": 249.29,
              "principal": 243.08,
              "remainingBalance": 34950.64
            },
            {
              "month": 82,
              "interest": 247.57,
              "principal": 244.8,
              "remainingBalance": 34705.84
            },
            {
              "month": 83,
              "interest": 245.83,
              "principal": 246.54,
              "remainingBalance": 34459.3
            },
            {
              "month": 84,
              "interest": 244.09,
              "principal": 248.28,
              "remainingBalance": 34211.02
            },
            {
              "month": 85,
              "interest": 242.33,
              "principal": 250.04,
              "remainingBalance": 33960.98
            },
            {
              "month": 86,
              "interest": 240.56,
              "principal": 251.81,
              "remainingBalance": 33709.17
            },
            {
              "month": 87,
              "interest": 238.77,
              "principal": 253.6,
              "remainingBalance": 33455.57
            },
            {
              "month": 88,
              "interest": 236.98,
              "principal": 255.39,
              "remainingBalance": 33200.18
            },
            {
              "month": 89,
              "interest": 235.17,
              "principal": 257.2,
              "remainingBalance": 32942.98
            },
            {
              "month": 90,
              "interest": 233.35,
              "principal": 259.02,
              "remainingBalance": 32683.96
            },
            {
              "month": 91,
              "interest": 231.51,
              "principal": 260.86,
              "remainingBalance": 32423.1
            },
            {
              "month": 92,
              "interest": 229.66,
              "principal": 262.71,
              "remainingBalance": 32160.39
            },
            {
              "month": 93,
              "interest": 227.8,
              "principal": 264.57,
              "remainingBalance": 31895.82
            },
            {
              "month": 94,
              "interest": 225.93,
              "principal": 266.44,
              "remainingBalance": 31629.38
            },
            {
              "month": 95,
              "interest": 224.04,
              "principal": 268.33,
              "remainingBalance": 31361.05
            },
            {
              "month": 96,
              "interest": 222.14,
              "principal": 270.23,
              "remainingBalance": 31090.82
            },
            {
              "month": 97,
              "interest": 220.23,
              "principal": 272.14,
              "remainingBalance": 30818.68
            },
            {
              "month": 98,
              "interest": 218.3,
              "principal": 274.07,
              "remainingBalance": 30544.61
            },
            {
              "month": 99,
              "interest": 216.36,
              "principal": 276.01,
              "remainingBalance": 30268.6
            },
            {
              "month": 100,
              "interest": 214.4,
              "principal": 277.97,
              "remainingBalance": 29990.63
            },
            {
              "month": 101,
              "interest": 212.43,
              "principal": 279.94,
              "remainingBalance": 29710.69
            },
            {
              "month": 102,
              "interest": 210.45,
              "principal": 281.92,
              "remainingBalance": 29428.77
            },
            {
              "month": 103,
              "interest": 208.45,
              "principal": 283.92,
              "remainingBalance": 29144.85
            },
            {
              "month": 104,
              "interest": 206.44,
              "principal": 285.93,
              "remainingBalance": 28858.92
            },
            {
              "month": 105,
              "interest": 204.42,
              "principal": 287.95,
              "remainingBalance": 28570.97
            },
            {
              "month": 106,
              "interest": 202.38,
              "principal": 289.99,
              "remainingBalance": 28280.98
            },
            {
              "month": 107,
              "interest": 200.32,
              "principal": 292.05,
              "remainingBalance": 27988.93
            },
            {
              "month": 108,
              "interest": 198.25,
              "principal": 294.12,
              "remainingBalance": 27694.81
            },
            {
              "month": 109,
              "interest": 196.17,
              "principal": 296.2,
              "remainingBalance": 27398.61
            },
            {
              "month": 110,
              "interest": 194.07,
              "principal": 298.3,
              "remainingBalance": 27100.31
            },
            {
              "month": 111,
              "interest": 191.96,
              "principal": 300.41,
              "remainingBalance": 26799.9
            },
            {
              "month": 112,
              "interest": 189.83,
              "principal": 302.54,
              "remainingBalance": 26497.36
            },
            {
              "month": 113,
              "interest": 187.69,
              "principal": 304.68,
              "remainingBalance": 26192.68
            },
            {
              "month": 114,
              "interest": 185.53,
              "principal": 306.84,
              "remainingBalance": 25885.84
            },
            {
              "month": 115,
              "interest": 183.36,
              "principal": 309.01,
              "remainingBalance": 25576.83
            },
            {
              "month": 116,
              "interest": 181.17,
              "principal": 311.2,
              "remainingBalance": 25265.63
            },
            {
              "month": 117,
              "interest": 178.96,
              "principal": 313.41,
              "remainingBalance": 24952.22
            },
            {
              "month": 118,
              "interest": 176.74,
              "principal": 315.63,
              "remainingBalance": 24636.59
            },
            {
              "month": 119,
              "interest": 174.51,
              "principal": 317.86,
              "remainingBalance": 24318.73
            },
            {
              "month": 120,
              "interest": 172.26,
              "principal": 320.11,
              "remainingBalance": 23998.62
            },
            {
              "month": 121,
              "interest": 169.99,
              "principal": 322.38,
              "remainingBalance": 23676.24
            },
            {
              "month": 122,
              "interest": 167.71,
              "principal": 324.66,
              "remainingBalance": 23351.58
            },
            {
              "month": 123,
              "interest": 165.41,
              "principal": 326.96,
              "remainingBalance": 23024.62
            },
            {
              "month": 124,
              "interest": 163.09,
              "principal": 329.28,
              "remainingBalance": 22695.34
            },
            {
              "month": 125,
              "interest": 160.76,
              "principal": 331.61,
              "remainingBalance": 22363.73
            },
            {
              "month": 126,
              "interest": 158.41,
              "principal": 333.96,
              "remainingBalance": 22029.77
            },
            {
              "month": 127,
              "interest": 156.04,
              "principal": 336.33,
              "remainingBalance": 21693.44
            },
            {
              "month": 128,
              "interest": 153.66,
              "principal": 338.71,
              "remainingBalance": 21354.73
            },
            {
              "month": 129,
              "interest": 151.26,
              "principal": 341.11,
              "remainingBalance": 21013.62
            },
            {
              "month": 130,
              "interest": 148.85,
              "principal": 343.52,
              "remainingBalance": 20670.1
            },
            {
              "month": 131,
              "interest": 146.41,
              "principal": 345.96,
              "remainingBalance": 20324.14
            },
            {
              "month": 132,
              "interest": 143.96,
              "principal": 348.41,
              "remainingBalance": 19975.73
            },
            {
              "month": 133,
              "interest": 141.49,
              "principal": 350.88,
              "remainingBalance": 19624.85
            },
            {
              "month": 134,
              "interest": 139.01,
              "principal": 353.36,
              "remainingBalance": 19271.49
            },
            {
              "month": 135,
              "interest": 136.51,
              "principal": 355.86,
              "remainingBalance": 18915.63
            },
            {
              "month": 136,
              "interest": 133.99,
              "principal": 358.38,
              "remainingBalance": 18557.25
            },
            {
              "month": 137,
              "interest": 131.45,
              "principal": 360.92,
              "remainingBalance": 18196.33
            },
            {
              "month": 138,
              "interest": 128.89,
              "principal": 363.48,
              "remainingBalance": 17832.85
            },
            {
              "month": 139,
              "interest": 126.32,
              "principal": 366.05,
              "remainingBalance": 17466.8
            },
            {
              "month": 140,
              "interest": 123.72,
              "principal": 368.65,
              "remainingBalance": 17098.15
            },
            {
              "month": 141,
              "interest": 121.11,
              "principal": 371.26,
              "remainingBalance": 16726.89
            },
            {
              "month": 142,
              "interest": 118.48,
              "principal": 373.89,
              "remainingBalance": 16353
            },
            {
              "month": 143,
              "interest": 115.83,
              "principal": 376.54,
              "remainingBalance": 15976.46
            },
            {
              "month": 144,
              "interest": 113.17,
              "principal": 379.2,
              "remainingBalance": 15597.26
            },
            {
              "month": 145,
              "interest": 110.48,
              "principal": 381.89,
              "remainingBalance": 15215.37
            },
            {
              "month": 146,
              "interest": 107.78,
              "principal": 384.59,
              "remainingBalance": 14830.78
            },
            {
              "month": 147,
              "interest": 105.05,
              "principal": 387.32,
              "remainingBalance": 14443.46
            },
            {
              "month": 148,
              "interest": 102.31,
              "principal": 390.06,
              "remainingBalance": 14053.4
            },
            {
              "month": 149,
              "interest": 99.54,
              "principal": 392.83,
              "remainingBalance": 13660.57
            },
            {
              "month": 150,
              "interest": 96.76,
              "principal": 395.61,
              "remainingBalance": 13264.96
            },
            {
              "month": 151,
              "interest": 93.96,
              "principal": 398.41,
              "remainingBalance": 12866.55
            },
            {
              "month": 152,
              "interest": 91.14,
              "principal": 401.23,
              "remainingBalance": 12465.32
            },
            {
              "month": 153,
              "interest": 88.3,
              "principal": 404.07,
              "remainingBalance": 12061.25
            },
            {
              "month": 154,
              "interest": 85.43,
              "principal": 406.94,
              "remainingBalance": 11654.31
            },
            {
              "month": 155,
              "interest": 82.55,
              "principal": 409.82,
              "remainingBalance": 11244.49
            },
            {
              "month": 156,
              "interest": 79.65,
              "principal": 412.72,
              "remainingBalance": 10831.77
            },
            {
              "month": 157,
              "interest": 76.73,
              "principal": 415.64,
              "remainingBalance": 10416.13
            },
            {
              "month": 158,
              "interest": 73.78,
              "principal": 418.59,
              "remainingBalance": 9997.54
            },
            {
              "month": 159,
              "interest": 70.82,
              "principal": 421.55,
              "remainingBalance": 9575.99
            },
            {
              "month": 160,
              "interest": 67.83,
              "principal": 424.54,
              "remainingBalance": 9151.45
            },
            {
              "month": 161,
              "interest": 64.82,
              "principal": 427.55,
              "remainingBalance": 8723.9
            },
            {
              "month": 162,
              "interest": 61.79,
              "principal": 430.58,
              "remainingBalance": 8293.32
            },
            {
              "month": 163,
              "interest": 58.74,
              "principal": 433.63,
              "remainingBalance": 7859.69
            },
            {
              "month": 164,
              "interest": 55.67,
              "principal": 436.7,
              "remainingBalance": 7422.99
            },
            {
              "month": 165,
              "interest": 52.58,
              "principal": 439.79,
              "remainingBalance": 6983.2
            },
            {
              "month": 166,
              "interest": 49.46,
              "principal": 442.91,
              "remainingBalance": 6540.29
            },
            {
              "month": 167,
              "interest": 46.33,
              "principal": 446.04,
              "remainingBalance": 6094.25
            },
            {
              "month": 168,
              "interest": 43.17,
              "principal": 449.2,
              "remainingBalance": 5645.05
            },
            {
              "month": 169,
              "interest": 39.99,
              "principal": 452.38,
              "remainingBalance": 5192.67
            },
            {
              "month": 170,
              "interest": 36.78,
              "principal": 455.59,
              "remainingBalance": 4737.08
            },
            {
              "month": 171,
              "interest": 33.55,
              "principal": 458.82,
              "remainingBalance": 4278.26
            },
            {
              "month": 172,
              "interest": 30.3,
              "principal": 462.07,
              "remainingBalance": 3816.19
            },
            {
              "month": 173,
              "interest": 27.03,
              "principal": 465.34,
              "remainingBalance": 3350.85
            },
            {
              "month": 174,
              "interest": 23.74,
              "principal": 468.63,
              "remainingBalance": 2882.22
            },
            {
              "month": 175,
              "interest": 20.42,
              "principal": 471.95,
              "remainingBalance": 2410.27
            },
            {
              "month": 176,
              "interest": 17.07,
              "principal": 475.3,
              "remainingBalance": 1934.97
            },
            {
              "month": 177,
              "interest": 13.71,
              "principal": 478.66,
              "remainingBalance": 1456.31
            },
            {
              "month": 178,
              "interest": 10.32,
              "principal": 482.05,
              "remainingBalance": 974.26
            },
            {
              "month": 179,
              "interest": 6.9,
              "principal": 485.47,
              "remainingBalance": 488.79
            },
            {
              "month": 180,
              "interest": 3.46,
              "principal": 488.79,
              "remainingBalance": 0
            }
          ],
          "yearlyAmortizationData": [
            {
              "year": 1,
              "totalInterest": 4183.85,
              "totalPrincipal": 1724.59,
              "remainingBalance": 48275.41
            },
            {
              "year": 2,
              "totalInterest": 4031.4,
              "totalPrincipal": 1877.04,
              "remainingBalance": 46398.37
            },
            {
              "year": 3,
              "totalInterest": 3865.49,
              "totalPrincipal": 2042.95,
              "remainingBalance": 44355.42
            },
            {
              "year": 4,
              "totalInterest": 3684.9,
              "totalPrincipal": 2223.54,
              "remainingBalance": 42131.88
            },
            {
              "year": 5,
              "totalInterest": 3488.36,
              "totalPrincipal": 2420.08,
              "remainingBalance": 39711.8
            },
            {
              "year": 6,
              "totalInterest": 3274.45,
              "totalPrincipal": 2633.99,
              "remainingBalance": 37077.81
            },
            {
              "year": 7,
              "totalInterest": 3041.65,
              "totalPrincipal": 2866.79,
              "remainingBalance": 34211.02
            },
            {
              "year": 8,
              "totalInterest": 2788.24,
              "totalPrincipal": 3120.2,
              "remainingBalance": 31090.82
            },
            {
              "year": 9,
              "totalInterest": 2512.43,
              "totalPrincipal": 3396.01,
              "remainingBalance": 27694.81
            },
            {
              "year": 10,
              "totalInterest": 2212.25,
              "totalPrincipal": 3696.19,
              "remainingBalance": 23998.62
            },
            {
              "year": 11,
              "totalInterest": 1885.55,
              "totalPrincipal": 4022.89,
              "remainingBalance": 19975.73
            },
            {
              "year": 12,
              "totalInterest": 1529.97,
              "totalPrincipal": 4378.47,
              "remainingBalance": 15597.26
            },
            {
              "year": 13,
              "totalInterest": 1142.95,
              "totalPrincipal": 4765.49,
              "remainingBalance": 10831.77
            },
            {
              "year": 14,
              "totalInterest": 721.72,
              "totalPrincipal": 5186.72,
              "remainingBalance": 5645.05
            },
            {
              "year": 15,
              "totalInterest": 263.27,
              "totalPrincipal": 5645.05,
              "remainingBalance": 0
            }
          ],
          "maxEquity": 132500,
          "requestedLoanWithinEquity": true,
          "extraResults": null,
          "lenderFees": 1250,
          "netCash": 48750,
          "dtiAfterLoan": 14.923697789628,
          "dtiStatus": "available",
          "totalCostWithFees": 39876.56021330401
        },
        "formulaVersion": "fixed-home-equity-loan-htcalc-719df2c0e105",
        "units": {
          "amounts": "USD",
          "monthlyPayment": "USD/month",
          "dtiAfterLoan": "percent",
          "loanTerm": "years"
        },
        "assumptions": [
          "Points are a percent of loan principal. A zero income makes the DTI result unavailable."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/refinance/heloan"
    },
    {
      "slug": "target-rate-paydown",
      "name": "Pay like a lower rate",
      "category": "Mortgage",
      "description": "Solve for extra monthly principal that brings interest paid down to that of a target-rate loan.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanBalance": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "currentRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "targetRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "currentMonthlyPI": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "remainingTermMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months"
          },
          "annualPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "annualHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "monthlyMortgageInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "monthlyHoa": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "annualEscrowGrowthRate": {
            "type": "number",
            "minimum": -50,
            "maximum": 100,
            "description": "Annual percentage change"
          },
          "homeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "annualHomeAppreciationRate": {
            "type": "number",
            "minimum": -50,
            "maximum": 100,
            "description": "Annual percentage change"
          },
          "pmiDropLtvPercent": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Percent"
          },
          "extraStartMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months"
          },
          "annualExtraPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "oneTimePrincipalPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "includeTaxAdjustedView": {
            "type": "boolean"
          },
          "marginalTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent, e.g. 5 means 5%"
          },
          "itemizesDeductions": {
            "type": "boolean"
          },
          "principalOnlyConfirmed": {
            "type": "boolean"
          },
          "hasPrepaymentPenalty": {
            "type": "boolean"
          }
        },
        "required": [
          "loanBalance",
          "currentRate",
          "targetRate"
        ],
        "anyOf": [
          {
            "required": [
              "currentMonthlyPI"
            ]
          },
          {
            "required": [
              "remainingTermMonths"
            ]
          }
        ]
      },
      "input": {
        "loanBalance": 300000,
        "currentRate": 7,
        "targetRate": 5.5,
        "currentMonthlyPI": 1995.9074855375
      },
      "output": {
        "status": "available",
        "result": {
          "status": "ok",
          "requiredMonthlyExtra": 172.89,
          "requiredBiWeeklyExtra": 79.8,
          "currentMonthlyPI": 1995.91,
          "targetMonthlyPI": 1703.37,
          "remainingTermMonths": 360,
          "baselineTotalInterest": 418526.69,
          "targetTotalInterest": 313212.12,
          "acceleratedTotalInterest": 313212.93,
          "interestSaved": 105313.77,
          "baselinePayoffMonths": 360,
          "acceleratedPayoffMonths": 283,
          "monthsSaved": 77,
          "cashFlow": {
            "monthlyTax": 0,
            "monthlyInsurance": 0,
            "monthlyMortgageInsurance": 0,
            "monthlyHoa": 0,
            "currentMonthlyTotal": 1995.91,
            "acceleratedMonthlyTotal": 2168.8,
            "firstYearEscrowTotal": 0,
            "projectedEscrowAtPayoff": 0,
            "pmiDropMonth": null
          },
          "taxAdjusted": {
            "enabled": false,
            "estimatedInterestDeductionDelta": 0,
            "estimatedAfterTaxInterestSaved": 105313.76854281093,
            "warning": ""
          },
          "warnings": []
        },
        "formulaVersion": "target-rate-paydown-htcalc-719df2c0e105",
        "units": {
          "amounts": "USD",
          "requiredMonthlyExtra": "USD/month",
          "requiredBiWeeklyExtra": "USD/two weeks",
          "monthsSaved": "months"
        },
        "assumptions": [
          "Requires current monthly principal and interest or a remaining term. Solver uses the app’s one-dollar interest tolerance."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/target-rate"
    },
    {
      "slug": "room-studio-room-takeoff",
      "name": "Room material takeoff",
      "category": "Room Studio",
      "description": "Derive surfaces, trim, casing, counts and paint from one measured room.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "room": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "Caller-assigned stable room identifier, unique in the plan.",
                "minLength": 1,
                "maxLength": 80
              },
              "label": {
                "type": "string",
                "description": "Display label for the room.",
                "minLength": 1,
                "maxLength": 160
              },
              "unit": {
                "type": "string",
                "description": "Unit of every input coordinate, length, height, sill and offset in this room. Use decimal feet for feet/inches (6 ft 8 in = 6 + 8/12).",
                "enum": [
                  "ft",
                  "m"
                ]
              },
              "height": {
                "type": "number",
                "description": "Ceiling height in input units; defaults to 8 feet if omitted.",
                "exclusiveMinimum": 0,
                "maximum": 1000
              },
              "shape": {
                "description": "Rectangle, right-angle perimeter walk, or measured ordered polygon.",
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "rectangle"
                      },
                      "width": {
                        "type": "number",
                        "description": "Length in room input units.",
                        "exclusiveMinimum": 0,
                        "maximum": 1000
                      },
                      "depth": {
                        "type": "number",
                        "description": "Length in room input units.",
                        "exclusiveMinimum": 0,
                        "maximum": 1000
                      }
                    },
                    "required": [
                      "type",
                      "width",
                      "depth"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "perimeter"
                      },
                      "segments": {
                        "type": "array",
                        "description": "Ordered wall lengths; start along positive X and turn after each wall.",
                        "items": {
                          "type": "object",
                          "properties": {
                            "length": {
                              "type": "number",
                              "description": "Length in room input units.",
                              "exclusiveMinimum": 0,
                              "maximum": 1000
                            },
                            "turn": {
                              "type": "string",
                              "description": "Turn after the segment.",
                              "enum": [
                                "left",
                                "right"
                              ]
                            }
                          },
                          "required": [
                            "length",
                            "turn"
                          ],
                          "additionalProperties": false
                        },
                        "minItems": 3,
                        "maxItems": 64
                      }
                    },
                    "required": [
                      "type",
                      "segments"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "const": "polygon"
                      },
                      "corners": {
                        "type": "array",
                        "description": "Ordered corners (clockwise or counterclockwise); omit the repeated final vertex. Wall i connects corner i to the next corner.",
                        "items": {
                          "type": "array",
                          "description": "Wall-start point [x,y] on the floor plane.",
                          "items": {
                            "type": "number",
                            "description": "Signed coordinate in room input units.",
                            "minimum": -1000,
                            "maximum": 1000
                          },
                          "minItems": 2,
                          "maxItems": 2
                        },
                        "minItems": 3,
                        "maxItems": 64
                      },
                      "wallHeights": {
                        "type": "array",
                        "description": "Optional per-wall heights in input units, one per corner. A zero wall height falls back to room height in the takeoff.",
                        "items": {
                          "type": "number",
                          "description": "Wall height in input units.",
                          "minimum": 0,
                          "maximum": 1000
                        },
                        "minItems": 3,
                        "maxItems": 64
                      }
                    },
                    "required": [
                      "type",
                      "corners"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              "openings": {
                "type": "array",
                "description": "Caller-measured apertures. Missing list means none.",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "A hinged door, window or uncased pass-through.",
                      "enum": [
                        "door",
                        "window",
                        "opening"
                      ]
                    },
                    "wallIndex": {
                      "type": "integer",
                      "description": "Zero-based host wall index in the room.",
                      "minimum": 0,
                      "maximum": 63
                    },
                    "width": {
                      "type": "number",
                      "description": "Length in room input units.",
                      "exclusiveMinimum": 0,
                      "maximum": 1000
                    },
                    "height": {
                      "type": "number",
                      "description": "Length in room input units.",
                      "exclusiveMinimum": 0,
                      "maximum": 1000
                    },
                    "offset": {
                      "type": "number",
                      "description": "Offset from the start of the host wall in input units. Defaults to 0.",
                      "minimum": 0,
                      "maximum": 1000
                    },
                    "sillHeight": {
                      "type": "number",
                      "description": "Distance above the floor in input units. Defaults to 0. The manual wizard uses a sill only for windows.",
                      "minimum": 0,
                      "maximum": 1000
                    }
                  },
                  "required": [
                    "type",
                    "wallIndex",
                    "width",
                    "height"
                  ],
                  "additionalProperties": false
                },
                "minItems": 0,
                "maxItems": 32
              },
              "fixtureCount": {
                "type": "integer",
                "description": "Count of caller-identified fixtures; defaults to 0.",
                "minimum": 0,
                "maximum": 64
              }
            },
            "required": [
              "id",
              "label",
              "unit",
              "shape"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "room"
        ],
        "additionalProperties": false
      },
      "input": {
        "room": {
          "id": "A",
          "label": "Hall",
          "unit": "ft",
          "height": 8,
          "shape": {
            "type": "rectangle",
            "width": 10,
            "depth": 12
          },
          "fixtureCount": 2,
          "openings": [
            {
              "type": "door",
              "width": 3,
              "height": 7,
              "wallIndex": 0
            },
            {
              "type": "window",
              "width": 2,
              "height": 3,
              "wallIndex": 1,
              "sillHeight": 3
            },
            {
              "type": "opening",
              "width": 2,
              "height": 7,
              "wallIndex": 2
            }
          ]
        }
      },
      "output": {
        "status": "available",
        "result": {
          "schemaVersion": 1,
          "roomId": "A",
          "roomLabel": "Hall",
          "units": "imperial",
          "floorAreaSqft": 120,
          "ceilingAreaSqft": 120,
          "wallAreaGrossSqft": 352,
          "openingsAreaSqft": 41,
          "wallAreaNetSqft": 311,
          "flooringAreaSqft": 120,
          "flooringWithWasteSqft": 132,
          "perimeterLf": 44,
          "baseboardTrimLf": 39,
          "crownMoldingLf": 44,
          "doorCasingLf": 17,
          "windowCasingLf": 10,
          "doorCount": 1,
          "windowCount": 1,
          "openingCount": 1,
          "fixtureCount": 2,
          "avgCeilingHeightFt": 8,
          "boundingBoxFt": {
            "width": 10,
            "depth": 12
          },
          "paintGallonsTwoCoats": 2
        },
        "formulaVersion": "room-studio-v1",
        "units": {
          "length": "ft",
          "area": "sq ft",
          "trim": "linear ft",
          "paint": "US gal"
        },
        "assumptions": [
          "Ceilings have the same area as the wall-centerline floor polygon. Flooring includes 10% waste. Wall paint assumes two coats and 350 sq ft per gallon."
        ],
        "warnings": [],
        "creditCost": 1
      }
    },
    {
      "slug": "room-studio-plan-takeoff",
      "name": "Full-plan material takeoff",
      "category": "Room Studio",
      "description": "Derive every room, sum room order quantities and pool paint gallons from total net wall area.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "rooms": {
            "type": "array",
            "description": "Rooms in caller order, each with a unique id. Shared walls count once per room face.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Caller-assigned stable room identifier, unique in the plan.",
                  "minLength": 1,
                  "maxLength": 80
                },
                "label": {
                  "type": "string",
                  "description": "Display label for the room.",
                  "minLength": 1,
                  "maxLength": 160
                },
                "unit": {
                  "type": "string",
                  "description": "Unit of every input coordinate, length, height, sill and offset in this room. Use decimal feet for feet/inches (6 ft 8 in = 6 + 8/12).",
                  "enum": [
                    "ft",
                    "m"
                  ]
                },
                "height": {
                  "type": "number",
                  "description": "Ceiling height in input units; defaults to 8 feet if omitted.",
                  "exclusiveMinimum": 0,
                  "maximum": 1000
                },
                "shape": {
                  "description": "Rectangle, right-angle perimeter walk, or measured ordered polygon.",
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "rectangle"
                        },
                        "width": {
                          "type": "number",
                          "description": "Length in room input units.",
                          "exclusiveMinimum": 0,
                          "maximum": 1000
                        },
                        "depth": {
                          "type": "number",
                          "description": "Length in room input units.",
                          "exclusiveMinimum": 0,
                          "maximum": 1000
                        }
                      },
                      "required": [
                        "type",
                        "width",
                        "depth"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "perimeter"
                        },
                        "segments": {
                          "type": "array",
                          "description": "Ordered wall lengths; start along positive X and turn after each wall.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "length": {
                                "type": "number",
                                "description": "Length in room input units.",
                                "exclusiveMinimum": 0,
                                "maximum": 1000
                              },
                              "turn": {
                                "type": "string",
                                "description": "Turn after the segment.",
                                "enum": [
                                  "left",
                                  "right"
                                ]
                              }
                            },
                            "required": [
                              "length",
                              "turn"
                            ],
                            "additionalProperties": false
                          },
                          "minItems": 3,
                          "maxItems": 64
                        }
                      },
                      "required": [
                        "type",
                        "segments"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "polygon"
                        },
                        "corners": {
                          "type": "array",
                          "description": "Ordered corners (clockwise or counterclockwise); omit the repeated final vertex. Wall i connects corner i to the next corner.",
                          "items": {
                            "type": "array",
                            "description": "Wall-start point [x,y] on the floor plane.",
                            "items": {
                              "type": "number",
                              "description": "Signed coordinate in room input units.",
                              "minimum": -1000,
                              "maximum": 1000
                            },
                            "minItems": 2,
                            "maxItems": 2
                          },
                          "minItems": 3,
                          "maxItems": 64
                        },
                        "wallHeights": {
                          "type": "array",
                          "description": "Optional per-wall heights in input units, one per corner. A zero wall height falls back to room height in the takeoff.",
                          "items": {
                            "type": "number",
                            "description": "Wall height in input units.",
                            "minimum": 0,
                            "maximum": 1000
                          },
                          "minItems": 3,
                          "maxItems": 64
                        }
                      },
                      "required": [
                        "type",
                        "corners"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "openings": {
                  "type": "array",
                  "description": "Caller-measured apertures. Missing list means none.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "description": "A hinged door, window or uncased pass-through.",
                        "enum": [
                          "door",
                          "window",
                          "opening"
                        ]
                      },
                      "wallIndex": {
                        "type": "integer",
                        "description": "Zero-based host wall index in the room.",
                        "minimum": 0,
                        "maximum": 63
                      },
                      "width": {
                        "type": "number",
                        "description": "Length in room input units.",
                        "exclusiveMinimum": 0,
                        "maximum": 1000
                      },
                      "height": {
                        "type": "number",
                        "description": "Length in room input units.",
                        "exclusiveMinimum": 0,
                        "maximum": 1000
                      },
                      "offset": {
                        "type": "number",
                        "description": "Offset from the start of the host wall in input units. Defaults to 0.",
                        "minimum": 0,
                        "maximum": 1000
                      },
                      "sillHeight": {
                        "type": "number",
                        "description": "Distance above the floor in input units. Defaults to 0. The manual wizard uses a sill only for windows.",
                        "minimum": 0,
                        "maximum": 1000
                      }
                    },
                    "required": [
                      "type",
                      "wallIndex",
                      "width",
                      "height"
                    ],
                    "additionalProperties": false
                  },
                  "minItems": 0,
                  "maxItems": 32
                },
                "fixtureCount": {
                  "type": "integer",
                  "description": "Count of caller-identified fixtures; defaults to 0.",
                  "minimum": 0,
                  "maximum": 64
                }
              },
              "required": [
                "id",
                "label",
                "unit",
                "shape"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 12
          }
        },
        "required": [
          "rooms"
        ],
        "additionalProperties": false
      },
      "input": {
        "rooms": [
          {
            "id": "A",
            "label": "Hall",
            "unit": "ft",
            "height": 8,
            "shape": {
              "type": "rectangle",
              "width": 10,
              "depth": 12
            },
            "fixtureCount": 2,
            "openings": [
              {
                "type": "door",
                "width": 3,
                "height": 7,
                "wallIndex": 0
              },
              {
                "type": "window",
                "width": 2,
                "height": 3,
                "wallIndex": 1,
                "sillHeight": 3
              },
              {
                "type": "opening",
                "width": 2,
                "height": 7,
                "wallIndex": 2
              }
            ]
          },
          {
            "id": "B",
            "label": "Den",
            "unit": "ft",
            "height": 10,
            "shape": {
              "type": "rectangle",
              "width": 6,
              "depth": 4
            }
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "schemaVersion": 1,
          "units": "imperial",
          "rooms": [
            {
              "schemaVersion": 1,
              "roomId": "A",
              "roomLabel": "Hall",
              "units": "imperial",
              "floorAreaSqft": 120,
              "ceilingAreaSqft": 120,
              "wallAreaGrossSqft": 352,
              "openingsAreaSqft": 41,
              "wallAreaNetSqft": 311,
              "flooringAreaSqft": 120,
              "flooringWithWasteSqft": 132,
              "perimeterLf": 44,
              "baseboardTrimLf": 39,
              "crownMoldingLf": 44,
              "doorCasingLf": 17,
              "windowCasingLf": 10,
              "doorCount": 1,
              "windowCount": 1,
              "openingCount": 1,
              "fixtureCount": 2,
              "avgCeilingHeightFt": 8,
              "boundingBoxFt": {
                "width": 10,
                "depth": 12
              },
              "paintGallonsTwoCoats": 2
            },
            {
              "schemaVersion": 1,
              "roomId": "B",
              "roomLabel": "Den",
              "units": "imperial",
              "floorAreaSqft": 24,
              "ceilingAreaSqft": 24,
              "wallAreaGrossSqft": 200,
              "openingsAreaSqft": 0,
              "wallAreaNetSqft": 200,
              "flooringAreaSqft": 24,
              "flooringWithWasteSqft": 27,
              "perimeterLf": 20,
              "baseboardTrimLf": 20,
              "crownMoldingLf": 20,
              "doorCasingLf": 0,
              "windowCasingLf": 0,
              "doorCount": 0,
              "windowCount": 0,
              "openingCount": 0,
              "fixtureCount": 0,
              "avgCeilingHeightFt": 10,
              "boundingBoxFt": {
                "width": 6,
                "depth": 4
              },
              "paintGallonsTwoCoats": 2
            }
          ],
          "totals": {
            "schemaVersion": 1,
            "units": "imperial",
            "roomCount": 2,
            "floorAreaSqft": 144,
            "ceilingAreaSqft": 144,
            "wallAreaGrossSqft": 552,
            "openingsAreaSqft": 41,
            "wallAreaNetSqft": 511,
            "flooringAreaSqft": 144,
            "flooringWithWasteSqft": 159,
            "perimeterLf": 64,
            "baseboardTrimLf": 59,
            "crownMoldingLf": 64,
            "doorCasingLf": 17,
            "windowCasingLf": 10,
            "doorCount": 1,
            "windowCount": 1,
            "openingCount": 1,
            "fixtureCount": 2,
            "avgCeilingHeightFt": 8.3,
            "paintGallonsTwoCoats": 3
          }
        },
        "formulaVersion": "room-studio-v1",
        "units": {
          "length": "ft",
          "area": "sq ft",
          "trim": "linear ft",
          "paint": "US gal"
        },
        "assumptions": [
          "Ceilings have the same area as the wall-centerline floor polygon. Flooring includes 10% waste. Wall paint assumes two coats and 350 sq ft per gallon."
        ],
        "warnings": [],
        "creditCost": 1
      }
    },
    {
      "slug": "room-studio-material-cost",
      "name": "Room material cost and renovation budget",
      "category": "Room Studio",
      "description": "Price measured material rows with caller-supplied unit costs and prepare renovation and rehab budget figures.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "rooms": {
            "type": "array",
            "description": "Rooms in caller order, each with a unique id. Shared walls count once per room face.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Caller-assigned stable room identifier, unique in the plan.",
                  "minLength": 1,
                  "maxLength": 80
                },
                "label": {
                  "type": "string",
                  "description": "Display label for the room.",
                  "minLength": 1,
                  "maxLength": 160
                },
                "unit": {
                  "type": "string",
                  "description": "Unit of every input coordinate, length, height, sill and offset in this room. Use decimal feet for feet/inches (6 ft 8 in = 6 + 8/12).",
                  "enum": [
                    "ft",
                    "m"
                  ]
                },
                "height": {
                  "type": "number",
                  "description": "Ceiling height in input units; defaults to 8 feet if omitted.",
                  "exclusiveMinimum": 0,
                  "maximum": 1000
                },
                "shape": {
                  "description": "Rectangle, right-angle perimeter walk, or measured ordered polygon.",
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "rectangle"
                        },
                        "width": {
                          "type": "number",
                          "description": "Length in room input units.",
                          "exclusiveMinimum": 0,
                          "maximum": 1000
                        },
                        "depth": {
                          "type": "number",
                          "description": "Length in room input units.",
                          "exclusiveMinimum": 0,
                          "maximum": 1000
                        }
                      },
                      "required": [
                        "type",
                        "width",
                        "depth"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "perimeter"
                        },
                        "segments": {
                          "type": "array",
                          "description": "Ordered wall lengths; start along positive X and turn after each wall.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "length": {
                                "type": "number",
                                "description": "Length in room input units.",
                                "exclusiveMinimum": 0,
                                "maximum": 1000
                              },
                              "turn": {
                                "type": "string",
                                "description": "Turn after the segment.",
                                "enum": [
                                  "left",
                                  "right"
                                ]
                              }
                            },
                            "required": [
                              "length",
                              "turn"
                            ],
                            "additionalProperties": false
                          },
                          "minItems": 3,
                          "maxItems": 64
                        }
                      },
                      "required": [
                        "type",
                        "segments"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "polygon"
                        },
                        "corners": {
                          "type": "array",
                          "description": "Ordered corners (clockwise or counterclockwise); omit the repeated final vertex. Wall i connects corner i to the next corner.",
                          "items": {
                            "type": "array",
                            "description": "Wall-start point [x,y] on the floor plane.",
                            "items": {
                              "type": "number",
                              "description": "Signed coordinate in room input units.",
                              "minimum": -1000,
                              "maximum": 1000
                            },
                            "minItems": 2,
                            "maxItems": 2
                          },
                          "minItems": 3,
                          "maxItems": 64
                        },
                        "wallHeights": {
                          "type": "array",
                          "description": "Optional per-wall heights in input units, one per corner. A zero wall height falls back to room height in the takeoff.",
                          "items": {
                            "type": "number",
                            "description": "Wall height in input units.",
                            "minimum": 0,
                            "maximum": 1000
                          },
                          "minItems": 3,
                          "maxItems": 64
                        }
                      },
                      "required": [
                        "type",
                        "corners"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "openings": {
                  "type": "array",
                  "description": "Caller-measured apertures. Missing list means none.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "description": "A hinged door, window or uncased pass-through.",
                        "enum": [
                          "door",
                          "window",
                          "opening"
                        ]
                      },
                      "wallIndex": {
                        "type": "integer",
                        "description": "Zero-based host wall index in the room.",
                        "minimum": 0,
                        "maximum": 63
                      },
                      "width": {
                        "type": "number",
                        "description": "Length in room input units.",
                        "exclusiveMinimum": 0,
                        "maximum": 1000
                      },
                      "height": {
                        "type": "number",
                        "description": "Length in room input units.",
                        "exclusiveMinimum": 0,
                        "maximum": 1000
                      },
                      "offset": {
                        "type": "number",
                        "description": "Offset from the start of the host wall in input units. Defaults to 0.",
                        "minimum": 0,
                        "maximum": 1000
                      },
                      "sillHeight": {
                        "type": "number",
                        "description": "Distance above the floor in input units. Defaults to 0. The manual wizard uses a sill only for windows.",
                        "minimum": 0,
                        "maximum": 1000
                      }
                    },
                    "required": [
                      "type",
                      "wallIndex",
                      "width",
                      "height"
                    ],
                    "additionalProperties": false
                  },
                  "minItems": 0,
                  "maxItems": 32
                },
                "fixtureCount": {
                  "type": "integer",
                  "description": "Count of caller-identified fixtures; defaults to 0.",
                  "minimum": 0,
                  "maximum": 64
                }
              },
              "required": [
                "id",
                "label",
                "unit",
                "shape"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 12
          },
          "prices": {
            "type": "array",
            "description": "One optional price/selection per existing room and material. Omitted rows are included at $0.",
            "items": {
              "type": "object",
              "properties": {
                "roomId": {
                  "type": "string",
                  "description": "Caller-assigned stable room identifier, unique in the plan.",
                  "minLength": 1,
                  "maxLength": 80
                },
                "material": {
                  "type": "string",
                  "description": "Takeoff line type.",
                  "enum": [
                    "flooring",
                    "wall-paint",
                    "ceiling-paint",
                    "baseboard",
                    "door-casing",
                    "window-casing"
                  ]
                },
                "unitCost": {
                  "type": "number",
                  "description": "Caller USD price per printed row unit (sq ft or lin ft).",
                  "minimum": 0,
                  "maximum": 100000
                },
                "selected": {
                  "type": "boolean",
                  "description": "Include this row in totals. Defaults to true."
                }
              },
              "required": [
                "roomId",
                "material",
                "unitCost"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 72
          }
        },
        "required": [
          "rooms"
        ],
        "additionalProperties": false
      },
      "input": {
        "rooms": [
          {
            "id": "A",
            "label": "Hall",
            "unit": "ft",
            "height": 8,
            "shape": {
              "type": "rectangle",
              "width": 10,
              "depth": 12
            },
            "fixtureCount": 2,
            "openings": [
              {
                "type": "door",
                "width": 3,
                "height": 7,
                "wallIndex": 0
              },
              {
                "type": "window",
                "width": 2,
                "height": 3,
                "wallIndex": 1,
                "sillHeight": 3
              },
              {
                "type": "opening",
                "width": 2,
                "height": 7,
                "wallIndex": 2
              }
            ]
          },
          {
            "id": "B",
            "label": "Den",
            "unit": "ft",
            "height": 10,
            "shape": {
              "type": "rectangle",
              "width": 6,
              "depth": 4
            }
          }
        ],
        "prices": [
          {
            "roomId": "A",
            "material": "flooring",
            "unitCost": 2.5,
            "selected": true
          },
          {
            "roomId": "A",
            "material": "wall-paint",
            "unitCost": 0.5,
            "selected": true
          },
          {
            "roomId": "A",
            "material": "ceiling-paint",
            "unitCost": 2,
            "selected": false
          },
          {
            "roomId": "A",
            "material": "baseboard",
            "unitCost": 1,
            "selected": true
          },
          {
            "roomId": "A",
            "material": "door-casing",
            "unitCost": 1,
            "selected": true
          },
          {
            "roomId": "A",
            "material": "window-casing",
            "unitCost": 1,
            "selected": true
          },
          {
            "roomId": "B",
            "material": "flooring",
            "unitCost": 2,
            "selected": true
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "rows": [
            {
              "roomId": "A",
              "material": "flooring",
              "name": "Flooring — Hall (incl. 10% waste)",
              "category": "Materials",
              "quantity": 132,
              "unit": "sq ft",
              "unitCost": 2.5,
              "selected": true,
              "extended": 330
            },
            {
              "roomId": "A",
              "material": "wall-paint",
              "name": "Interior paint — Hall walls (2 coats, ~2 gal)",
              "category": "Materials",
              "quantity": 311,
              "unit": "sq ft",
              "unitCost": 0.5,
              "selected": true,
              "extended": 156
            },
            {
              "roomId": "A",
              "material": "ceiling-paint",
              "name": "Interior paint — Hall ceiling",
              "category": "Materials",
              "quantity": 120,
              "unit": "sq ft",
              "unitCost": 2,
              "selected": false,
              "extended": 240
            },
            {
              "roomId": "A",
              "material": "baseboard",
              "name": "Baseboard — Hall",
              "category": "Materials",
              "quantity": 39,
              "unit": "lin ft",
              "unitCost": 1,
              "selected": true,
              "extended": 39
            },
            {
              "roomId": "A",
              "material": "door-casing",
              "name": "Door casing — Hall (1 door)",
              "category": "Materials",
              "quantity": 17,
              "unit": "lin ft",
              "unitCost": 1,
              "selected": true,
              "extended": 17
            },
            {
              "roomId": "A",
              "material": "window-casing",
              "name": "Window casing — Hall (1 window)",
              "category": "Materials",
              "quantity": 10,
              "unit": "lin ft",
              "unitCost": 1,
              "selected": true,
              "extended": 10
            },
            {
              "roomId": "B",
              "material": "flooring",
              "name": "Flooring — Den (incl. 10% waste)",
              "category": "Materials",
              "quantity": 27,
              "unit": "sq ft",
              "unitCost": 2,
              "selected": true,
              "extended": 54
            },
            {
              "roomId": "B",
              "material": "wall-paint",
              "name": "Interior paint — Den walls (2 coats, ~2 gal)",
              "category": "Materials",
              "quantity": 200,
              "unit": "sq ft",
              "unitCost": 0,
              "selected": true,
              "extended": 0
            },
            {
              "roomId": "B",
              "material": "ceiling-paint",
              "name": "Interior paint — Den ceiling",
              "category": "Materials",
              "quantity": 24,
              "unit": "sq ft",
              "unitCost": 0,
              "selected": true,
              "extended": 0
            },
            {
              "roomId": "B",
              "material": "baseboard",
              "name": "Baseboard — Den",
              "category": "Materials",
              "quantity": 20,
              "unit": "lin ft",
              "unitCost": 0,
              "selected": true,
              "extended": 0
            }
          ],
          "selectedItems": [
            {
              "roomId": "A",
              "material": "flooring",
              "name": "Flooring — Hall (incl. 10% waste)",
              "category": "Materials",
              "quantity": 132,
              "unit": "sq ft",
              "estimatedCost": 330,
              "materialCost": 165,
              "laborCost": 165
            },
            {
              "roomId": "A",
              "material": "wall-paint",
              "name": "Interior paint — Hall walls (2 coats, ~2 gal)",
              "category": "Materials",
              "quantity": 311,
              "unit": "sq ft",
              "estimatedCost": 156,
              "materialCost": 78,
              "laborCost": 78
            },
            {
              "roomId": "A",
              "material": "baseboard",
              "name": "Baseboard — Hall",
              "category": "Materials",
              "quantity": 39,
              "unit": "lin ft",
              "estimatedCost": 39,
              "materialCost": 20,
              "laborCost": 19
            },
            {
              "roomId": "A",
              "material": "door-casing",
              "name": "Door casing — Hall (1 door)",
              "category": "Materials",
              "quantity": 17,
              "unit": "lin ft",
              "estimatedCost": 17,
              "materialCost": 9,
              "laborCost": 8
            },
            {
              "roomId": "A",
              "material": "window-casing",
              "name": "Window casing — Hall (1 window)",
              "category": "Materials",
              "quantity": 10,
              "unit": "lin ft",
              "estimatedCost": 10,
              "materialCost": 5,
              "laborCost": 5
            },
            {
              "roomId": "B",
              "material": "flooring",
              "name": "Flooring — Den (incl. 10% waste)",
              "category": "Materials",
              "quantity": 27,
              "unit": "sq ft",
              "estimatedCost": 54,
              "materialCost": 27,
              "laborCost": 27
            },
            {
              "roomId": "B",
              "material": "wall-paint",
              "name": "Interior paint — Den walls (2 coats, ~2 gal)",
              "category": "Materials",
              "quantity": 200,
              "unit": "sq ft",
              "estimatedCost": 0,
              "materialCost": 0,
              "laborCost": 0
            },
            {
              "roomId": "B",
              "material": "ceiling-paint",
              "name": "Interior paint — Den ceiling",
              "category": "Materials",
              "quantity": 24,
              "unit": "sq ft",
              "estimatedCost": 0,
              "materialCost": 0,
              "laborCost": 0
            },
            {
              "roomId": "B",
              "material": "baseboard",
              "name": "Baseboard — Den",
              "category": "Materials",
              "quantity": 20,
              "unit": "lin ft",
              "estimatedCost": 0,
              "materialCost": 0,
              "laborCost": 0
            }
          ],
          "total": 606,
          "renovationBudget": 1000,
          "contingencyRate": 10,
          "fixFlipRehabCosts": 606,
          "subjectSqft": 144
        },
        "formulaVersion": "room-studio-v1",
        "units": {
          "money": "USD",
          "unitCost": "USD per printed row unit",
          "subjectSqft": "sq ft"
        },
        "assumptions": [
          "Ceilings have the same area as the wall-centerline floor polygon. Flooring includes 10% waste. Wall paint assumes two coats and 350 sq ft per gallon.",
          "Missing unit prices are zero. Round each extended price to whole USD, split the selected line into material and labor, and round 110% of total up to a $500 budget."
        ],
        "warnings": [
          "3 selected material line(s) have no caller price. They contribute $0; the subtotal is not a complete priced estimate."
        ],
        "creditCost": 1
      }
    },
    {
      "slug": "room-studio-plan-adjustment",
      "name": "Room measurement adjustment",
      "category": "Room Studio",
      "description": "Apply the default Manhattan snap, a tape calibration, or both in that order, then derive the corrected plan takeoff.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "rooms": {
            "type": "array",
            "description": "Rooms in caller order, each with a unique id. Shared walls count once per room face.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Caller-assigned stable room identifier, unique in the plan.",
                  "minLength": 1,
                  "maxLength": 80
                },
                "label": {
                  "type": "string",
                  "description": "Display label for the room.",
                  "minLength": 1,
                  "maxLength": 160
                },
                "unit": {
                  "type": "string",
                  "description": "Unit of every input coordinate, length, height, sill and offset in this room. Use decimal feet for feet/inches (6 ft 8 in = 6 + 8/12).",
                  "enum": [
                    "ft",
                    "m"
                  ]
                },
                "height": {
                  "type": "number",
                  "description": "Ceiling height in input units; defaults to 8 feet if omitted.",
                  "exclusiveMinimum": 0,
                  "maximum": 1000
                },
                "shape": {
                  "description": "Rectangle, right-angle perimeter walk, or measured ordered polygon.",
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "rectangle"
                        },
                        "width": {
                          "type": "number",
                          "description": "Length in room input units.",
                          "exclusiveMinimum": 0,
                          "maximum": 1000
                        },
                        "depth": {
                          "type": "number",
                          "description": "Length in room input units.",
                          "exclusiveMinimum": 0,
                          "maximum": 1000
                        }
                      },
                      "required": [
                        "type",
                        "width",
                        "depth"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "perimeter"
                        },
                        "segments": {
                          "type": "array",
                          "description": "Ordered wall lengths; start along positive X and turn after each wall.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "length": {
                                "type": "number",
                                "description": "Length in room input units.",
                                "exclusiveMinimum": 0,
                                "maximum": 1000
                              },
                              "turn": {
                                "type": "string",
                                "description": "Turn after the segment.",
                                "enum": [
                                  "left",
                                  "right"
                                ]
                              }
                            },
                            "required": [
                              "length",
                              "turn"
                            ],
                            "additionalProperties": false
                          },
                          "minItems": 3,
                          "maxItems": 64
                        }
                      },
                      "required": [
                        "type",
                        "segments"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "polygon"
                        },
                        "corners": {
                          "type": "array",
                          "description": "Ordered corners (clockwise or counterclockwise); omit the repeated final vertex. Wall i connects corner i to the next corner.",
                          "items": {
                            "type": "array",
                            "description": "Wall-start point [x,y] on the floor plane.",
                            "items": {
                              "type": "number",
                              "description": "Signed coordinate in room input units.",
                              "minimum": -1000,
                              "maximum": 1000
                            },
                            "minItems": 2,
                            "maxItems": 2
                          },
                          "minItems": 3,
                          "maxItems": 64
                        },
                        "wallHeights": {
                          "type": "array",
                          "description": "Optional per-wall heights in input units, one per corner. A zero wall height falls back to room height in the takeoff.",
                          "items": {
                            "type": "number",
                            "description": "Wall height in input units.",
                            "minimum": 0,
                            "maximum": 1000
                          },
                          "minItems": 3,
                          "maxItems": 64
                        }
                      },
                      "required": [
                        "type",
                        "corners"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "openings": {
                  "type": "array",
                  "description": "Caller-measured apertures. Missing list means none.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "description": "A hinged door, window or uncased pass-through.",
                        "enum": [
                          "door",
                          "window",
                          "opening"
                        ]
                      },
                      "wallIndex": {
                        "type": "integer",
                        "description": "Zero-based host wall index in the room.",
                        "minimum": 0,
                        "maximum": 63
                      },
                      "width": {
                        "type": "number",
                        "description": "Length in room input units.",
                        "exclusiveMinimum": 0,
                        "maximum": 1000
                      },
                      "height": {
                        "type": "number",
                        "description": "Length in room input units.",
                        "exclusiveMinimum": 0,
                        "maximum": 1000
                      },
                      "offset": {
                        "type": "number",
                        "description": "Offset from the start of the host wall in input units. Defaults to 0.",
                        "minimum": 0,
                        "maximum": 1000
                      },
                      "sillHeight": {
                        "type": "number",
                        "description": "Distance above the floor in input units. Defaults to 0. The manual wizard uses a sill only for windows.",
                        "minimum": 0,
                        "maximum": 1000
                      }
                    },
                    "required": [
                      "type",
                      "wallIndex",
                      "width",
                      "height"
                    ],
                    "additionalProperties": false
                  },
                  "minItems": 0,
                  "maxItems": 32
                },
                "fixtureCount": {
                  "type": "integer",
                  "description": "Count of caller-identified fixtures; defaults to 0.",
                  "minimum": 0,
                  "maximum": 64
                }
              },
              "required": [
                "id",
                "label",
                "unit",
                "shape"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 12
          },
          "snap": {
            "type": "boolean",
            "description": "Snap to the app’s default 45 degree grid before calibration; defaults to false."
          },
          "calibration": {
            "type": "object",
            "properties": {
              "roomId": {
                "type": "string",
                "description": "Caller-assigned stable room identifier, unique in the plan.",
                "minLength": 1,
                "maxLength": 80
              },
              "wallIndex": {
                "type": "integer",
                "description": "Zero-based host wall index in the room.",
                "minimum": 0,
                "maximum": 63
              },
              "enteredLength": {
                "type": "number",
                "description": "Tape measurement in the reference room’s input units; allowed correction is around ±15% as in the app.",
                "exclusiveMinimum": 0,
                "maximum": 1000
              }
            },
            "required": [
              "roomId",
              "wallIndex",
              "enteredLength"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "rooms"
        ],
        "additionalProperties": false
      },
      "input": {
        "rooms": [
          {
            "id": "control",
            "label": "Control",
            "unit": "m",
            "height": 2,
            "shape": {
              "type": "rectangle",
              "width": 4,
              "depth": 3
            }
          }
        ],
        "snap": true,
        "calibration": {
          "roomId": "control",
          "wallIndex": 0,
          "enteredLength": 4
        }
      },
      "output": {
        "status": "available",
        "result": {
          "plan": {
            "schemaVersion": 1,
            "units": "imperial",
            "rooms": [
              {
                "schemaVersion": 1,
                "roomId": "control",
                "roomLabel": "Control",
                "units": "imperial",
                "floorAreaSqft": 129.2,
                "ceilingAreaSqft": 129.2,
                "wallAreaGrossSqft": 301.4,
                "openingsAreaSqft": 0,
                "wallAreaNetSqft": 301.4,
                "flooringAreaSqft": 129.2,
                "flooringWithWasteSqft": 143,
                "perimeterLf": 45.9,
                "baseboardTrimLf": 45.9,
                "crownMoldingLf": 45.9,
                "doorCasingLf": 0,
                "windowCasingLf": 0,
                "doorCount": 0,
                "windowCount": 0,
                "openingCount": 0,
                "fixtureCount": 0,
                "avgCeilingHeightFt": 6.6,
                "boundingBoxFt": {
                  "width": 13.1,
                  "depth": 9.8
                },
                "paintGallonsTwoCoats": 2
              }
            ],
            "totals": {
              "schemaVersion": 1,
              "units": "imperial",
              "roomCount": 1,
              "floorAreaSqft": 129.2,
              "ceilingAreaSqft": 129.2,
              "wallAreaGrossSqft": 301.4,
              "openingsAreaSqft": 0,
              "wallAreaNetSqft": 301.4,
              "flooringAreaSqft": 129.2,
              "flooringWithWasteSqft": 143,
              "perimeterLf": 45.9,
              "baseboardTrimLf": 45.9,
              "crownMoldingLf": 45.9,
              "doorCasingLf": 0,
              "windowCasingLf": 0,
              "doorCount": 0,
              "windowCount": 0,
              "openingCount": 0,
              "fixtureCount": 0,
              "avgCeilingHeightFt": 6.6,
              "paintGallonsTwoCoats": 2
            }
          },
          "calibration": {
            "roomId": "control",
            "wallIndex": 0,
            "measuredM": 4,
            "enteredM": 4,
            "scaleApplied": 1
          },
          "snapReports": [
            {
              "roomId": "control",
              "nonManhattan": false,
              "report": {
                "wallsSnapped": 4,
                "wallsTotal": 4,
                "maxCorrectionDeg": 0,
                "dominantAxisDeg": 0,
                "closureResidualBeforeM": 0,
                "closureResidualAfterM": 0,
                "weldedWallCount": 0
              }
            }
          ]
        },
        "formulaVersion": "room-studio-v1",
        "units": {
          "length": "ft",
          "area": "sq ft",
          "trim": "linear ft",
          "paint": "US gal",
          "calibration": "m",
          "angle": "deg"
        },
        "assumptions": [
          "Ceilings have the same area as the wall-centerline floor polygon. Flooring includes 10% waste. Wall paint assumes two coats and 350 sq ft per gallon.",
          "When snapping and calibrating together, the reference index is the post-weld wall index. One tape ratio scales every room, including heights."
        ],
        "warnings": [],
        "creditCost": 1
      }
    },
    {
      "slug": "financial-hub-profile-snapshot",
      "name": "Financial Hub household snapshot",
      "category": "Financial Hub",
      "description": "Turn a dated, caller-entered profile into the Hub balance sheet, cash flow, DTI, readiness steps, Wealth Weather, Money Moves and a privacy-limited report model. A supplied conventional rate adds the profile affordability estimates.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "asOf": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Real UTC calendar date, YYYY-MM-DD."
          },
          "incomeSources": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "gross_monthly_amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "qualifying_monthly_amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "fromAffordabilitySync": {
                  "type": "boolean"
                }
              },
              "required": [
                "gross_monthly_amount",
                "qualifying_monthly_amount"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "debts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "debt_type": {
                  "type": "string",
                  "enum": [
                    "auto",
                    "student",
                    "credit_card",
                    "personal",
                    "medical",
                    "collections",
                    "mortgage",
                    "heloc",
                    "other"
                  ]
                },
                "current_balance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "monthly_payment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "interest_rate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "multipleOf": 0.00001,
                  "description": "Annual percentage points, e.g. 6.5."
                },
                "months_remaining": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 600
                },
                "is_excluded_from_dti": {
                  "type": "boolean"
                },
                "will_pay_off": {
                  "type": "boolean"
                },
                "imputed_payment_amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "fromAffordabilitySync": {
                  "type": "boolean"
                },
                "balance_kind": {
                  "type": "string",
                  "enum": [
                    "verified",
                    "projected",
                    "missing"
                  ]
                },
                "freshness": {
                  "type": "string",
                  "enum": [
                    "current",
                    "refresh_recommended",
                    "incomplete"
                  ]
                },
                "requires_refresh": {
                  "type": "boolean"
                }
              },
              "required": [
                "debt_type",
                "current_balance",
                "monthly_payment"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "assets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "cash",
                    "savings",
                    "investment_brokerage",
                    "investment_retirement",
                    "crypto",
                    "vehicle",
                    "other"
                  ]
                },
                "value": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "asOf": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                  "description": "Real UTC calendar date, YYYY-MM-DD."
                }
              },
              "required": [
                "type",
                "value"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "properties": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "purchase_price": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "current_estimated_value": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "mortgage_balance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "is_rented": {
                  "type": "boolean"
                },
                "monthly_rent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "qualifying_rental_income": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "monthly_pi": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "second_mortgage_payment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "property_tax_monthly": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "insurance_monthly": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "hoa_fees": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                }
              },
              "required": [
                "current_estimated_value",
                "mortgage_balance"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "housing": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "rent",
                  "live_with_family",
                  "own_free_clear",
                  "own_mortgaged"
                ]
              },
              "has_escrow": {
                "type": "boolean"
              },
              "principal_interest": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "second_mortgage_payment": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "property_tax_monthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "home_insurance_monthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "hoa_fees": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "pmi": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "monthly_rent": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "total_monthly_payment": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "purchase_price": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD, entered amount."
              },
              "current_estimated_value": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD, entered amount."
              },
              "remaining_balance": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD, entered amount."
              },
              "interest_rate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "multipleOf": 0.00001,
                "description": "Annual percentage points, e.g. 6.5."
              },
              "mortgage_balance_kind": {
                "type": "string",
                "enum": [
                  "verified",
                  "projected",
                  "missing"
                ]
              },
              "mortgage_balance_freshness": {
                "type": "string",
                "enum": [
                  "current",
                  "refresh_recommended",
                  "incomplete"
                ]
              }
            },
            "required": [
              "status"
            ],
            "additionalProperties": false
          },
          "accounts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_type": {
                  "type": "string",
                  "enum": [
                    "checking",
                    "savings",
                    "cash",
                    "credit_card",
                    "mortgage",
                    "auto_loan",
                    "student_loan",
                    "personal_loan",
                    "loan",
                    "investment",
                    "retirement",
                    "heloc",
                    "home_equity_loan",
                    "money_market",
                    "cd",
                    "crypto",
                    "property",
                    "vehicle",
                    "collectible",
                    "business_interest",
                    "other"
                  ]
                },
                "current_balance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "archived": {
                  "type": "boolean"
                },
                "legacyMirror": {
                  "type": "boolean"
                },
                "mirrorAssetIndex": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 99,
                  "description": "Zero-based index of the matching asset, if a compatibility shadow."
                },
                "projection": {
                  "type": "object",
                  "properties": {
                    "value": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 10000000000,
                      "multipleOf": 0.01,
                      "description": "USD, entered amount."
                    },
                    "observed": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 10000000000,
                      "multipleOf": 0.01,
                      "description": "USD, entered amount."
                    },
                    "observationKind": {
                      "type": "string",
                      "enum": [
                        "verified",
                        "estimated"
                      ]
                    },
                    "projected": {
                      "type": "boolean"
                    },
                    "current": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "value",
                    "observed",
                    "observationKind",
                    "projected",
                    "current"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "account_type",
                "current_balance"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "vehicles": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "estimatedValue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "loanBalance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                }
              },
              "required": [
                "estimatedValue",
                "loanBalance"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "businesses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "estimatedValue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "liabilities": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                }
              },
              "required": [
                "estimatedValue",
                "liabilities"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "legacyIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01,
            "description": "USD per month."
          },
          "legacyDebt": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01,
            "description": "USD per month."
          },
          "creditScore": {
            "type": "integer",
            "minimum": 300,
            "maximum": 850,
            "description": "User-entered score or selected band estimate; omit if unknown."
          },
          "creditIsEstimate": {
            "type": "boolean"
          },
          "activeGoals": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "home_loan_optimization",
                "debt_payoff_consistency",
                "net_worth_stability"
              ]
            },
            "maxItems": 3,
            "uniqueItems": true
          },
          "conventionalRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.00001,
            "description": "Optional caller-supplied conventional rate (% per year) for the 36% and 43% affordability estimates; no feed is contacted."
          }
        },
        "required": [
          "asOf",
          "incomeSources",
          "debts",
          "assets",
          "properties"
        ],
        "additionalProperties": false
      },
      "input": {
        "asOf": "2026-11-15",
        "incomeSources": [
          {
            "gross_monthly_amount": 5200,
            "qualifying_monthly_amount": 5000
          }
        ],
        "housing": {
          "status": "own_mortgaged",
          "has_escrow": true,
          "total_monthly_payment": 1200,
          "property_tax_monthly": 150,
          "hoa_fees": 50,
          "second_mortgage_payment": 50,
          "current_estimated_value": 210000,
          "purchase_price": 200000,
          "remaining_balance": 155000
        },
        "properties": [
          {
            "is_rented": true,
            "monthly_rent": 2000,
            "monthly_pi": 1000,
            "current_estimated_value": 160000,
            "mortgage_balance": 90000
          }
        ],
        "debts": [
          {
            "debt_type": "credit_card",
            "current_balance": 2000,
            "monthly_payment": 100,
            "interest_rate": 19
          }
        ],
        "assets": [
          {
            "type": "savings",
            "value": 7000,
            "asOf": "2026-11-14"
          }
        ],
        "vehicles": [
          {
            "estimatedValue": 10000,
            "loanBalance": 12000
          }
        ],
        "businesses": [
          {
            "estimatedValue": 30000,
            "liabilities": 10000
          }
        ],
        "accounts": [
          {
            "account_type": "savings",
            "current_balance": 7000,
            "legacyMirror": true,
            "mirrorAssetIndex": 0
          },
          {
            "account_type": "checking",
            "current_balance": 1000
          }
        ],
        "creditScore": 700
      },
      "output": {
        "status": "available",
        "result": {
          "report": {
            "type": "FINANCIAL_HUB",
            "date": "2026-11-15T00:00:00.000Z",
            "netWorth": 149000,
            "totalAssets": 418000,
            "totalLiabilities": 269000,
            "monthlyIncome": 5500,
            "monthlyObligations": 1400,
            "dtiRatio": 25.454545454545453,
            "snapshotStatus": "Based on recorded entries; account balances have not been refreshed.",
            "balanceSheet": [
              {
                "id": "property",
                "assets": 370000,
                "liabilities": 245000
              },
              {
                "id": "assets",
                "assets": 7000,
                "liabilities": 0
              },
              {
                "id": "debts",
                "assets": 0,
                "liabilities": 2000
              },
              {
                "id": "accounts",
                "assets": 1000,
                "liabilities": 0
              },
              {
                "id": "vehicles",
                "assets": 10000,
                "liabilities": 12000
              },
              {
                "id": "businesses",
                "assets": 30000,
                "liabilities": 10000
              }
            ],
            "staleBalanceCount": 0,
            "checkup": {
              "snapshot": {
                "periodMonth": "2026-11",
                "generatedAt": "2026-11-15T00:00:00.000Z",
                "score": 90
              },
              "nextAction": {
                "title": "Audit your benefits before open enrollment closes",
                "summary": "Open enrollment for next year is happening now. Review health plan, FSA/HSA contributions, and retirement match — small changes here lock in for 12 months.",
                "lesson": {
                  "whyItMatters": "Benefits choices made now lock for a full year, so a small adjustment now compounds for 12 months.",
                  "formula": "Pretax savings = (FSA/HSA/401k contribution) x marginal tax rate.",
                  "whatChanged": "You are inside the typical employer open-enrollment window.",
                  "askNext": "Ask HR about FSA/HSA limits, retirement match thresholds, and high-deductible vs PPO trade-offs for your family.",
                  "assumptions": "HT Calc is not a regulated financial adviser and is not assuming taxes, lender overlays, credit changes, market moves, or your full household budget unless you enter them."
                }
              }
            },
            "isSample": false,
            "disclosures": [
              "This report is an educational planning snapshot, not financial advice or a guarantee of future results.",
              "This focused report intentionally excludes account numbers, routing details, transactions, documents, and bank-connection identifiers.",
              "All balances, dates, and freshness classifications were supplied by the caller."
            ]
          },
          "shownNetWorth": 149000,
          "money": {
            "grossIncome": 5200,
            "monthlyDebts": 100,
            "qualifyingIncome": 5500,
            "dti": 25.454545454545453,
            "dtiStatus": "Excellent",
            "housingRatio": 23.636363636363637,
            "debtsOnlyDti": 1.8181818181818181,
            "housingMissing": false,
            "housing": 1300,
            "otherProperties": 1000,
            "rentalNetDebt": 0,
            "dtiDebts": 1400,
            "rentalIncome": 2000,
            "cashIn": 7200,
            "remaining": 4800
          },
          "obligations": {
            "nonHousingDebts": 100,
            "primaryHousing": 1300,
            "otherProperties": 1000,
            "rentalNetDebt": 0,
            "rentalNetIncome": 500,
            "total": 1400
          },
          "readouts": {
            "dti": {
              "value": 25.454545454545453,
              "label": "Excellent",
              "rated": true,
              "hasIncome": true
            },
            "reserves": {
              "amount": 7000,
              "months": 5.384615384615385,
              "known": true
            },
            "readiness": {
              "checks": [
                {
                  "key": "dti",
                  "label": "DTI 43% or less",
                  "known": true,
                  "met": true
                },
                {
                  "key": "reserves",
                  "label": "2 months of housing saved",
                  "known": true,
                  "met": true
                },
                {
                  "key": "credit",
                  "label": "Credit 620+",
                  "known": true,
                  "met": true
                }
              ],
              "met": 3,
              "known": 3,
              "label": "Lender-ready"
            }
          },
          "readiness": {
            "steps": [],
            "met": 3,
            "total": 3,
            "progress": 1
          },
          "liquidAssets": 8000,
          "cashObligations": 2400,
          "weather": {
            "inputs": {
              "dtiRatio": 25.454545454545453,
              "savingsRate": 74.54545454545455,
              "debtTrend": "stable",
              "hasEmergencyFund": true,
              "equityGrowth": 5
            },
            "points": {
              "dtiPts": 30,
              "savingsPts": 25,
              "emergencyPts": 20,
              "trendPts": 8,
              "equityPts": 7,
              "total": 90
            }
          },
          "affordability": null,
          "vehicles": {
            "items": [
              {
                "value": 10000,
                "amountOwed": 12000,
                "equity": -2000,
                "debtPercent": 120
              }
            ],
            "totalValue": 10000,
            "totalEquity": -2000
          },
          "businesses": {
            "items": [
              {
                "value": 30000,
                "amountOwed": 10000,
                "equity": 20000,
                "debtPercent": 33.33333333333333
              }
            ],
            "totalValue": 30000,
            "totalEquity": 20000
          },
          "moneyMoves": {
            "score": 90,
            "staleOrMissingGroups": 0,
            "projectedItems": 0,
            "freshness": "verified",
            "actions": [
              {
                "type": "open_enrollment_audit",
                "goal": "net_worth_stability",
                "priority": 85,
                "title": "Audit your benefits before open enrollment closes",
                "summary": "Open enrollment for next year is happening now. Review health plan, FSA/HSA contributions, and retirement match — small changes here lock in for 12 months.",
                "impactLabel": "Open enrollment window",
                "lesson": {
                  "whyItMatters": "Benefits choices made now lock for a full year, so a small adjustment now compounds for 12 months.",
                  "formula": "Pretax savings = (FSA/HSA/401k contribution) x marginal tax rate.",
                  "whatChanged": "You are inside the typical employer open-enrollment window.",
                  "askNext": "Ask HR about FSA/HSA limits, retirement match thresholds, and high-deductible vs PPO trade-offs for your family.",
                  "assumptions": "HT Calc is not a regulated financial adviser and is not assuming taxes, lender overlays, credit changes, market moves, or your full household budget unless you enter them."
                }
              },
              {
                "type": "pay_down_debt",
                "goal": "debt_payoff_consistency",
                "priority": 70,
                "title": "Pay down Debt 1 first",
                "summary": "Debt 1 carries the highest listed APR, so extra dollars here usually remove interest fastest.",
                "impactLabel": "19.0% APR",
                "lesson": {
                  "whyItMatters": "High-rate revolving debt can erase progress even when minimum payments are made on time.",
                  "formula": "Interest avoided grows with balance x APR x time outstanding.",
                  "whatChanged": "$2,000 at 19.0% is the most expensive debt in the snapshot.",
                  "askNext": "Ask the issuer about hardship APRs, balance-transfer fees, and whether extra payments apply to principal immediately.",
                  "assumptions": "HT Calc is not a regulated financial adviser and is not assuming taxes, lender overlays, credit changes, market moves, or your full household budget unless you enter them."
                }
              },
              {
                "type": "update_rate_alerts",
                "goal": "home_loan_optimization",
                "priority": 45,
                "title": "Update your rate alert thresholds",
                "summary": "Set rate alerts around your real loan size so you know when a refi or purchase quote is worth attention.",
                "impactLabel": "Rate window watch",
                "lesson": {
                  "whyItMatters": "A rate alert turns market noise into a decision trigger tied to your numbers.",
                  "formula": "Payment change = loan amount x rate change through the amortization formula.",
                  "whatChanged": "Your loan data is present, so alerts can be tied to payment impact instead of generic headlines.",
                  "askNext": "Ask lenders what rate, points, and closing-cost package would make the move worthwhile.",
                  "assumptions": "HT Calc is not a regulated financial adviser and is not assuming taxes, lender overlays, credit changes, market moves, or your full household budget unless you enter them."
                }
              },
              {
                "type": "prepare_lender_docs",
                "goal": "home_loan_optimization",
                "priority": 40,
                "title": "Prepare lender-ready documents",
                "summary": "Keep income, asset, mortgage, and insurance docs ready so a good rate window does not expire while you gather paperwork.",
                "impactLabel": "Doc readiness",
                "lesson": {
                  "whyItMatters": "Loan opportunities often depend on speed and clean documentation.",
                  "formula": "Ready package = identity + income + assets + debts + property docs.",
                  "whatChanged": "Your snapshot has enough loan context to prepare a targeted package.",
                  "askNext": "Ask each lender which documents they need before quoting a locked payment.",
                  "assumptions": "HT Calc is not a regulated financial adviser and is not assuming taxes, lender overlays, credit changes, market moves, or your full household budget unless you enter them."
                }
              }
            ]
          }
        },
        "formulaVersion": "financial-hub-profile-snapshot-1.0.0",
        "units": {
          "balances, equity, affordability prices": "USD",
          "cash, income, debt payments": "USD/month unless identified as a balance",
          "DTI, equityGrowth, savingsRate, debtPercent, APR": "percentage points",
          "readouts.reserves.months": "months",
          "weather.points, moneyMoves.score": "points",
          "readiness.progress": "fraction"
        },
        "assumptions": [
          "Uses the generic Hub debt rules, net rental calculation and the November Hub balance sheet. Enter each holding once. A vehicle in both asset lists counts twice as in the app.",
          "Housing and property balances use the main mortgage balance in the Hub rollup; the separately entered second-lien payment counts in monthly obligations. No automatic addition of a second-lien balance.",
          "Zero value produces a displayed 0% holding debt ratio, as in the app. Housing missing or income absent suppresses Wealth Weather. No affordability estimate without a caller rate.",
          "All amounts are caller-entered; results and readiness labels are educational and do not verify a balance, predict credit or grant loan approval."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "bank-statement-affordability",
      "name": "Bank-statement affordability worksheet",
      "category": "Mortgage",
      "description": "Model a 12- or 24-month business-deposit or personal-distribution scenario using entered exclusions, ownership, costs, DTI, LTV and reserve assumptions.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "version": {
            "const": 1
          },
          "months": {
            "type": "number",
            "enum": [
              12,
              24
            ]
          },
          "completeHistory": {
            "type": "boolean"
          },
          "treatment": {
            "type": "string",
            "enum": [
              "business",
              "personal-distributions"
            ]
          },
          "recentDeposits": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "recentExcluded": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "priorDeposits": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "priorExcluded": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "expensePercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "ownershipPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "useLowerRecent": {
            "type": "boolean"
          },
          "otherMonthlyIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "monthlyDebts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "downPaymentCash": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual interest in percent (5 means 5%)"
          },
          "rateEdited": {
            "type": "boolean"
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "targetDti": {
            "type": "number",
            "minimum": 1,
            "maximum": 100,
            "description": "DTI in percent"
          },
          "maxLtv": {
            "type": "number",
            "minimum": 1,
            "maximum": 99.9,
            "description": "Maximum loan-to-value in percent"
          },
          "loanLimit": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "propertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "insuranceRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "monthlyHoa": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "otherMonthlyHousing": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "reserveMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 60,
            "description": "Months"
          },
          "postClosingReserves": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          }
        },
        "required": [
          "version",
          "months",
          "completeHistory",
          "treatment",
          "recentDeposits",
          "recentExcluded",
          "priorDeposits",
          "priorExcluded",
          "expensePercent",
          "ownershipPercent",
          "useLowerRecent",
          "otherMonthlyIncome",
          "monthlyDebts",
          "downPaymentCash",
          "interestRate",
          "rateEdited",
          "loanTerm",
          "targetDti",
          "maxLtv",
          "loanLimit",
          "propertyTaxRate",
          "insuranceRate",
          "monthlyHoa",
          "otherMonthlyHousing",
          "reserveMonths",
          "postClosingReserves"
        ]
      },
      "input": {
        "version": 1,
        "months": 24,
        "completeHistory": true,
        "treatment": "business",
        "recentDeposits": 132000,
        "recentExcluded": 12000,
        "priorDeposits": 156000,
        "priorExcluded": 12000,
        "expensePercent": 40,
        "ownershipPercent": 80,
        "useLowerRecent": true,
        "otherMonthlyIncome": 1200,
        "monthlyDebts": 500,
        "downPaymentCash": 30000,
        "interestRate": 6.25,
        "rateEdited": true,
        "loanTerm": 30,
        "targetDti": 40,
        "maxLtv": 80,
        "loanLimit": 300000,
        "propertyTaxRate": 1,
        "insuranceRate": 0.4,
        "monthlyHoa": 50,
        "otherMonthlyHousing": 30,
        "reserveMonths": 6,
        "postClosingReserves": 7000
      },
      "output": {
        "status": "available",
        "result": {
          "valid": true,
          "errors": [],
          "recentEligible": 120000,
          "priorEligible": 144000,
          "averageMonthlyDeposits": 11000,
          "selectedMonthlyDeposits": 10000,
          "declining": true,
          "bankMonthlyIncome": 4800,
          "totalMonthlyIncome": 6000,
          "housingBudget": 1900,
          "homePrice": 150000,
          "loanAmount": 120000,
          "downPaymentUsed": 30000,
          "monthlyPi": 738.8606405116698,
          "monthlyTax": 125,
          "monthlyInsurance": 50,
          "monthlyHousing": 993.8606405116698,
          "actualDti": 24.897677341861165,
          "actualLtv": 80,
          "requiredReserves": 5963.163843070019,
          "reserveShortfall": 0,
          "limitingFactor": "down-payment"
        },
        "formulaVersion": "bank-statement-affordability-htcalc-719df2c0e105",
        "units": {
          "bankMonthlyIncome": "USD/month",
          "selectedMonthlyDeposits": "USD/month",
          "totalMonthlyIncome": "USD/month",
          "housingBudget": "USD/month",
          "homePrice": "USD",
          "loanAmount": "USD",
          "requiredReserves": "USD",
          "actualDti": "percent",
          "actualLtv": "percent"
        },
        "assumptions": [
          "A caller-supplied bank-statement scenario. No lender matrix, credit decision, or automatic rate lookup."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/affordability"
    },
    {
      "slug": "manual-non-qm-quote-pricing",
      "name": "Manual Non-QM quote pricing",
      "category": "Mortgage",
      "description": "Calculate signed points, lender fees and fixed payments from an entered quote as of an explicitly supplied timestamp; rates and adjustments come from the caller.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "q": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "version": {
                "const": 1
              },
              "confirmed": {
                "type": "boolean"
              },
              "lender": {
                "type": "string",
                "maxLength": 100
              },
              "program": {
                "type": "string",
                "maxLength": 100
              },
              "reference": {
                "type": "string",
                "maxLength": 200
              },
              "quotedOn": {
                "type": "string",
                "format": "date",
                "maxLength": 10
              },
              "validUntil": {
                "type": "string",
                "format": "date-time",
                "maxLength": 24
              },
              "loanAmount": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "US dollars"
              },
              "noteRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 50,
                "description": "Annual interest in percent (5 means 5%)"
              },
              "loanTerm": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Whole years"
              },
              "statementMonths": {
                "type": "number",
                "enum": [
                  12,
                  24
                ]
              },
              "basePoints": {
                "type": "number",
                "minimum": -10,
                "maximum": 10,
                "description": "Points, each 1% of loan principal"
              },
              "adjustments": {
                "type": "array",
                "maxItems": 6,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "label": {
                      "type": "string",
                      "maxLength": 100
                    },
                    "points": {
                      "type": "number",
                      "minimum": -10,
                      "maximum": 10,
                      "description": "Points, each 1% of loan principal"
                    }
                  },
                  "required": [
                    "label",
                    "points"
                  ]
                }
              },
              "lenderFees": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars"
              }
            },
            "required": [
              "version",
              "confirmed",
              "lender",
              "program",
              "reference",
              "quotedOn",
              "validUntil",
              "loanAmount",
              "noteRate",
              "loanTerm",
              "statementMonths",
              "basePoints",
              "adjustments",
              "lenderFees"
            ]
          },
          "now": {
            "type": "string",
            "format": "date-time",
            "maxLength": 24
          }
        },
        "required": [
          "q",
          "now"
        ]
      },
      "input": {
        "q": {
          "version": 1,
          "confirmed": true,
          "lender": "Example lender",
          "program": "Illustrative bank statement",
          "reference": "illustrative-001",
          "quotedOn": "2026-06-12",
          "validUntil": "2026-06-20T21:00:00.000Z",
          "loanAmount": 240000,
          "noteRate": 6,
          "loanTerm": 30,
          "statementMonths": 24,
          "basePoints": 1.25,
          "adjustments": [
            {
              "label": "Entered adjustment",
              "points": -0.25
            }
          ],
          "lenderFees": 600
        },
        "now": "2026-06-15T12:00:00.000Z"
      },
      "output": {
        "status": "available",
        "result": {
          "valid": true,
          "errors": [],
          "freshness": "current",
          "canApply": true,
          "totalPoints": 1,
          "pointsCost": 2400,
          "pointsCredit": 0,
          "lenderFees": 600,
          "netPricingCost": 3000,
          "monthlyPi": 1438.92
        },
        "formulaVersion": "manual-non-qm-quote-pricing-htcalc-719df2c0e105",
        "units": {
          "pointsCost": "USD",
          "pointsCredit": "USD",
          "totalPoints": "points",
          "lenderFees": "USD",
          "netPricingCost": "USD",
          "monthlyPi": "USD/month"
        },
        "assumptions": [
          "Use an explicit UTC valuation time. Rate, points, adjustments and expiration are from a quote entered by the caller."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/affordability"
    },
    {
      "slug": "seller-net-proceeds",
      "name": "Seller net proceeds",
      "category": "Mortgage",
      "description": "Compute sale proceeds after the supplied payoff, selling fees, concessions, prorations and liens.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "salePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "mortgageBalance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "titleInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "attorneyFees": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "hoaTransferFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "outstandingLiens": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "repairsConcessions": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "proratedPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "commissionPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "transferTaxPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "titleInsurancePaidByBuyer": {
            "type": "boolean"
          }
        },
        "required": [
          "salePrice",
          "mortgageBalance",
          "titleInsurance",
          "attorneyFees",
          "hoaTransferFee",
          "outstandingLiens",
          "repairsConcessions",
          "proratedPropertyTax",
          "commissionPercent",
          "transferTaxPercent"
        ]
      },
      "input": {
        "salePrice": 400000,
        "mortgageBalance": 240000,
        "commissionPercent": 5,
        "titleInsurance": 1500,
        "transferTaxPercent": 1,
        "attorneyFees": 450,
        "hoaTransferFee": 50,
        "outstandingLiens": 2000,
        "repairsConcessions": 4000,
        "proratedPropertyTax": 1000
      },
      "output": {
        "status": "available",
        "result": {
          "commission": 20000,
          "titleIns": 1500,
          "transferTax": 4000,
          "totalClosingCosts": 31000,
          "netProceeds": 127000,
          "keepPercent": 31.75,
          "waterfall": [
            {
              "label": "Sale price",
              "amount": 400000,
              "running": 400000
            },
            {
              "label": "Mortgage payoff",
              "amount": -240000,
              "running": 160000
            },
            {
              "label": "Agent commission (5%)",
              "amount": -20000,
              "running": 140000
            },
            {
              "label": "Title insurance",
              "amount": -1500,
              "running": 138500
            },
            {
              "label": "Transfer tax (1%)",
              "amount": -4000,
              "running": 134500
            },
            {
              "label": "Attorney fees",
              "amount": -450,
              "running": 134050
            },
            {
              "label": "HOA transfer fee",
              "amount": -50,
              "running": 134000
            },
            {
              "label": "Repairs / concessions",
              "amount": -4000,
              "running": 130000
            },
            {
              "label": "Prorated property tax",
              "amount": -1000,
              "running": 129000
            },
            {
              "label": "Outstanding liens",
              "amount": -2000,
              "running": 127000
            }
          ],
          "costItems": [
            {
              "label": "Commission",
              "value": 20000,
              "className": "bg-sky-500"
            },
            {
              "label": "Title insurance",
              "value": 1500,
              "className": "bg-emerald-500"
            },
            {
              "label": "Transfer tax",
              "value": 4000,
              "className": "bg-amber-500"
            },
            {
              "label": "Attorney fees",
              "value": 450,
              "className": "bg-violet-500"
            },
            {
              "label": "HOA fee",
              "value": 50,
              "className": "bg-pink-500"
            },
            {
              "label": "Repairs",
              "value": 4000,
              "className": "bg-rose-500"
            },
            {
              "label": "Property tax",
              "value": 1000,
              "className": "bg-cyan-500"
            }
          ]
        },
        "formulaVersion": "seller-net-proceeds-htcalc-719df2c0e105",
        "units": {
          "netProceeds": "USD",
          "totalClosingCosts": "USD",
          "commission": "USD",
          "transferTax": "USD",
          "keepPercent": "percent"
        },
        "assumptions": [
          "Caller supplies fees and taxes. Set titleInsurancePaidByBuyer when the buyer pays the owner’s title policy."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/seller-net"
    },
    {
      "slug": "seller-break-even-price",
      "name": "Seller break-even sale price",
      "category": "Mortgage",
      "description": "Solve for the minimum whole-dollar sale price that covers the supplied payoff, liens and closing expenses.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "salePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "mortgageBalance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "titleInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "attorneyFees": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "hoaTransferFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "outstandingLiens": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "repairsConcessions": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "proratedPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "commissionPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "transferTaxPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "titleInsurancePaidByBuyer": {
            "type": "boolean"
          }
        },
        "required": [
          "salePrice",
          "mortgageBalance",
          "titleInsurance",
          "attorneyFees",
          "hoaTransferFee",
          "outstandingLiens",
          "repairsConcessions",
          "proratedPropertyTax",
          "commissionPercent",
          "transferTaxPercent"
        ]
      },
      "input": {
        "salePrice": 400000,
        "mortgageBalance": 240000,
        "commissionPercent": 5,
        "titleInsurance": 1500,
        "transferTaxPercent": 1,
        "attorneyFees": 450,
        "hoaTransferFee": 50,
        "outstandingLiens": 2000,
        "repairsConcessions": 4000,
        "proratedPropertyTax": 1000
      },
      "output": {
        "status": "available",
        "result": {
          "value": 264894
        },
        "formulaVersion": "seller-break-even-price-htcalc-719df2c0e105",
        "units": {
          "value": "USD"
        },
        "assumptions": [
          "Caller supplies fees and taxes. Set titleInsurancePaidByBuyer when the buyer pays the owner’s title policy."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/seller-net"
    },
    {
      "slug": "purchase-cash-after-closing",
      "name": "Cash retained after closing",
      "category": "Mortgage",
      "description": "Subtract the down payment, entered closing costs and cash-paid points from the available cash.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "cashAvailable": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "downPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "points": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          }
        },
        "required": [
          "cashAvailable",
          "downPayment",
          "closingCosts",
          "points"
        ]
      },
      "input": {
        "cashAvailable": 65000,
        "downPayment": 40000,
        "closingCosts": 7200,
        "points": 1800
      },
      "output": {
        "status": "available",
        "result": {
          "value": 16000
        },
        "formulaVersion": "purchase-cash-after-closing-htcalc-719df2c0e105",
        "units": {
          "value": "USD"
        },
        "assumptions": [
          "The points field is the dollar cost of points."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/purchase"
    },
    {
      "slug": "mortgage-income-required",
      "name": "Income required at target DTI",
      "category": "Mortgage",
      "description": "Solve for gross income under the supplied payment, taxes, insurance, mortgage-insurance rate, monthly debts and target DTI.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "homePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "downPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual interest in percent (5 means 5%)"
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "annualPropertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "annualInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "monthlyHOA": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "monthlyDebts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "targetDTI": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1,
            "description": "Target debt-to-income fraction (0.4 means 40%)"
          },
          "annualPmiRatePercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          }
        },
        "required": [
          "homePrice",
          "downPaymentPercent",
          "interestRate",
          "loanTermYears",
          "annualPropertyTaxRate",
          "annualInsurance",
          "monthlyHOA",
          "monthlyDebts",
          "targetDTI"
        ]
      },
      "input": {
        "homePrice": 300000,
        "downPaymentPercent": 20,
        "interestRate": 0,
        "loanTermYears": 20,
        "annualPropertyTaxRate": 1.2,
        "annualInsurance": 1200,
        "monthlyHOA": 100,
        "monthlyDebts": 500,
        "targetDTI": 0.4,
        "annualPmiRatePercent": 0.5
      },
      "output": {
        "status": "available",
        "result": {
          "requiredMonthlyIncome": 5000,
          "requiredAnnualIncome": 60000,
          "maxMonthlyHousingPayment": 1500,
          "monthlyPIPayment": 1000,
          "monthlyTaxes": 300,
          "monthlyInsurance": 100,
          "monthlyHOA": 100,
          "monthlyMortgageInsurance": 0,
          "financedUpfrontFee": 0,
          "loanAmount": 240000,
          "totalMonthlyHousing": 1500,
          "frontEndDTI": 0.3,
          "backEndDTI": 0.4
        },
        "formulaVersion": "mortgage-income-required-htcalc-719df2c0e105",
        "units": {
          "requiredMonthlyIncome": "USD/month",
          "requiredAnnualIncome": "USD/year",
          "monthlyPIPayment": "USD/month",
          "totalMonthlyHousing": "USD/month",
          "backEndDTI": "ratio"
        },
        "assumptions": [
          "Caller supplies the target DTI and PMI assumptions. The optional program-table mode is outside this contract."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/income-required"
    },
    {
      "slug": "mortgage-affordable-price",
      "name": "Home price from a housing budget",
      "category": "Mortgage",
      "description": "Solve for price and loan size using caller-entered mortgage terms, DTI target, down payment and recurring housing costs.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "monthlyIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "monthlyDebts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual interest in percent (5 means 5%)"
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "downPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "downPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "propertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "insuranceRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "pmiRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (5 means 5%)"
          },
          "targetDti": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "DTI percent (40 means 40%)"
          }
        },
        "required": [
          "monthlyIncome",
          "monthlyDebts",
          "interestRate",
          "loanTerm",
          "targetDti"
        ]
      },
      "input": {
        "monthlyIncome": 8000,
        "monthlyDebts": 800,
        "interestRate": 0,
        "loanTerm": 20,
        "downPaymentPercent": 20,
        "propertyTaxRate": 0,
        "insuranceRate": 0,
        "pmiRate": 0.5,
        "targetDti": 35
      },
      "output": {
        "status": "available",
        "result": {
          "affordableLoanAmount": 480000,
          "affordableHomePrice": 600000,
          "estimatedMonthlyPayment": 2000,
          "monthlyPMI": 0,
          "ltvPercent": 80
        },
        "formulaVersion": "mortgage-affordable-price-htcalc-719df2c0e105",
        "units": {
          "affordableLoanAmount": "USD",
          "affordableHomePrice": "USD",
          "estimatedMonthlyPayment": "USD/month",
          "monthlyPMI": "USD/month",
          "ltvPercent": "percent"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/affordability"
    },
    {
      "slug": "rental-income-purchase-power",
      "name": "Purchase power with existing rentals",
      "category": "Mortgage",
      "description": "Model rental profits and losses, debt, target DTI and the remaining payment capacity for a new purchase.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "monthlyW2Income": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "otherIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "existingMonthlyDebt": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "rentalProperties": {
            "type": "array",
            "maxItems": 40,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "monthlyRent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars per month"
                },
                "monthlyMortgagePITI": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars per month"
                }
              },
              "required": [
                "monthlyRent",
                "monthlyMortgagePITI"
              ]
            }
          },
          "targetDTI": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "Fraction (0.05 means 5%)"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 0.5,
            "description": "Annual rate as a fraction (0.05 means 5%)"
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "propertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "Fraction (0.05 means 5%)"
          },
          "insuranceAnnual": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "downPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 0.99,
            "description": "Down payment as a fraction"
          }
        },
        "required": [
          "monthlyW2Income",
          "otherIncome",
          "existingMonthlyDebt",
          "rentalProperties",
          "targetDTI",
          "interestRate",
          "loanTermYears",
          "propertyTaxRate",
          "insuranceAnnual",
          "downPaymentPercent"
        ]
      },
      "input": {
        "monthlyW2Income": 7000,
        "otherIncome": 500,
        "existingMonthlyDebt": 600,
        "rentalProperties": [
          {
            "monthlyRent": 2000,
            "monthlyMortgagePITI": 1000
          },
          {
            "monthlyRent": 1000,
            "monthlyMortgagePITI": 900
          }
        ],
        "targetDTI": 0.4,
        "interestRate": 0.06,
        "loanTermYears": 30,
        "propertyTaxRate": 0.01,
        "insuranceAnnual": 1200,
        "downPaymentPercent": 0.2
      },
      "output": {
        "status": "available",
        "result": {
          "qualifyingRentalIncome": 500,
          "rentalLossAddedToDebt": 150,
          "totalMonthlyIncome": 8000,
          "remainingDTICapacity": 2450,
          "maxNewMonthlyPITI": 2450,
          "maxNewLoanAmount": 333940.9683874249,
          "maxNewPurchasePrice": 417426.21048428107
        },
        "formulaVersion": "rental-income-purchase-power-htcalc-719df2c0e105",
        "units": {
          "qualifyingRentalIncome": "USD/month",
          "rentalLossAddedToDebt": "USD/month",
          "totalMonthlyIncome": "USD/month",
          "maxNewMonthlyPITI": "USD/month",
          "maxNewLoanAmount": "USD",
          "maxNewPurchasePrice": "USD"
        },
        "assumptions": [
          "Model credits 75% of gross rental income, then subtracts the entered PITI."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/affordability/rental"
    },
    {
      "slug": "dti-payoff-impact",
      "name": "DTI after selected debt payoffs",
      "category": "Mortgage",
      "description": "Rank entered debts and show the cash, removed payments and DTI change for the selected payoffs.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "debts": {
            "type": "array",
            "maxItems": 40,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string",
                  "maxLength": 64
                },
                "name": {
                  "type": "string",
                  "maxLength": 80
                },
                "current_balance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars"
                },
                "monthly_payment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars per month"
                },
                "is_excluded_from_dti": {
                  "type": "boolean"
                },
                "will_pay_off": {
                  "type": "boolean"
                }
              },
              "required": [
                "id",
                "name",
                "current_balance",
                "monthly_payment",
                "is_excluded_from_dti",
                "will_pay_off"
              ]
            }
          },
          "monthlyIncome": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Gross monthly USD"
          },
          "currentHousingPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "startDti": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000,
            "description": "Starting DTI in percentage points"
          }
        },
        "required": [
          "debts",
          "monthlyIncome",
          "currentHousingPayment",
          "startDti"
        ]
      },
      "input": {
        "debts": [
          {
            "id": "a",
            "name": "Installment",
            "current_balance": 2400,
            "monthly_payment": 200,
            "is_excluded_from_dti": true,
            "will_pay_off": true
          },
          {
            "id": "b",
            "name": "Card",
            "current_balance": 3000,
            "monthly_payment": 100,
            "is_excluded_from_dti": false,
            "will_pay_off": false
          }
        ],
        "monthlyIncome": 8000,
        "currentHousingPayment": 1600,
        "startDti": 23.75
      },
      "output": {
        "status": "available",
        "result": {
          "rankedDebts": [
            {
              "id": "a",
              "name": "Installment",
              "current_balance": 2400,
              "monthly_payment": 200,
              "is_excluded_from_dti": true,
              "will_pay_off": true
            },
            {
              "id": "b",
              "name": "Card",
              "current_balance": 3000,
              "monthly_payment": 100,
              "is_excluded_from_dti": false,
              "will_pay_off": false
            }
          ],
          "cashRequired": 2400,
          "monthlyDebtRemoved": 200,
          "newDti": 21.25,
          "dtiReduction": 2.5
        },
        "formulaVersion": "dti-payoff-impact-htcalc-719df2c0e105",
        "units": {
          "cashRequired": "USD",
          "monthlyDebtRemoved": "USD/month",
          "newDti": "percent",
          "dtiReduction": "percentage-points"
        },
        "assumptions": [
          "A debt being paid at closing must also be marked excluded from ongoing DTI."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/dti-optimizer"
    },
    {
      "slug": "variable-income-trend",
      "name": "Variable income with year-to-date trend",
      "category": "Mortgage",
      "description": "Convert annual variable income and partial-year earnings into the monthly amount selected by the specified historical comparison rule.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "lastYear": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "priorYear": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "gseRule": {
            "type": "string",
            "enum": [
              "fannie",
              "freddie"
            ]
          },
          "ytd": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "amount": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars"
              },
              "monthsElapsed": {
                "type": "integer",
                "minimum": 1,
                "maximum": 12,
                "description": "Months of earnings"
              }
            },
            "required": [
              "amount",
              "monthsElapsed"
            ]
          }
        },
        "required": [
          "lastYear",
          "priorYear",
          "gseRule"
        ]
      },
      "input": {
        "lastYear": 48000,
        "priorYear": 60000,
        "gseRule": "fannie",
        "ytd": {
          "amount": 9000,
          "monthsElapsed": 3
        }
      },
      "output": {
        "status": "available",
        "result": {
          "monthly": 3000,
          "rule": "ytd-lower",
          "ruleLabel": "YTD lower than recent year — declining trend (fannie) — using YTD"
        },
        "formulaVersion": "variable-income-trend-htcalc-719df2c0e105",
        "units": {
          "monthly": "USD/month"
        },
        "assumptions": [
          "Models the historical averaging rule selected by the caller."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/affordability"
    },
    {
      "slug": "mortgage-apr-with-fees",
      "name": "Fixed-rate APR with fees",
      "category": "Mortgage",
      "description": "Calculate the annual percentage rate, scheduled payment and lifetime cost using the note rate and supplied upfront finance charges.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual interest in percent (5 means 5%)"
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          }
        },
        "required": [
          "loanAmount",
          "interestRate",
          "loanTermYears",
          "closingCosts"
        ]
      },
      "input": {
        "loanAmount": 240000,
        "interestRate": 6,
        "loanTermYears": 30,
        "closingCosts": 2400
      },
      "output": {
        "status": "available",
        "result": {
          "apr": 0.060939892884800534,
          "nominalRate": 0.06,
          "monthlyPayment": 1438.9212603666,
          "totalInterest": 278011.65373197605,
          "totalCostWithFees": 280411.65373197605,
          "aprDiff": 0.0009398928848005361
        },
        "formulaVersion": "mortgage-apr-with-fees-htcalc-719df2c0e105",
        "units": {
          "apr": "annual-decimal",
          "nominalRate": "annual-decimal",
          "monthlyPayment": "USD/month",
          "totalInterest": "USD",
          "totalCostWithFees": "USD"
        },
        "assumptions": [
          "Fixed payments at monthly intervals. Only the fees entered by the caller reduce proceeds."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/apr"
    },
    {
      "slug": "quote-points-comparison",
      "name": "Compare quoted discount points",
      "category": "Mortgage",
      "description": "Compare two entered lender rates and an upfront cost over the expected holding period.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "baselineRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 0.5,
            "description": "Annual rate as a fraction (0.05 means 5%)"
          },
          "buydownRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 0.5,
            "description": "Annual rate as a fraction (0.05 means 5%)"
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "buydownCost": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "expectedHoldYears": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Years"
          }
        },
        "required": [
          "loanAmount",
          "baselineRate",
          "buydownRate",
          "loanTerm",
          "buydownCost",
          "expectedHoldYears"
        ]
      },
      "input": {
        "loanAmount": 300000,
        "baselineRate": 0.065,
        "buydownRate": 0.06,
        "loanTerm": 30,
        "buydownCost": 3000,
        "expectedHoldYears": 7
      },
      "output": {
        "status": "available",
        "result": {
          "baselinePayment": 1896.2040704789,
          "buydownPayment": 1798.6515754583,
          "monthlySavings": 97.55249502059996,
          "rateReduction": 0.0050000000000000044,
          "pointsEquivalent": 1,
          "breakevenMonths": 31,
          "breakevenYearsDecimal": 2.5833333333333335,
          "breakevenStatus": "available",
          "netSavingsAtHold": 5194.409581730397,
          "totalInterestBaseline": 382633.46537240397,
          "totalInterestBuydown": 347514.5671649879,
          "lifetimeInterestSavings": 35118.89820741606,
          "lifetimeNetSavings": 32118.89820741606,
          "shouldBuyPoints": true
        },
        "formulaVersion": "quote-points-comparison-htcalc-719df2c0e105",
        "units": {
          "baselinePayment": "USD/month",
          "buydownPayment": "USD/month",
          "monthlySavings": "USD/month",
          "pointsEquivalent": "points",
          "netSavingsAtHold": "USD",
          "breakevenMonths": "months"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/points-buydown"
    },
    {
      "slug": "mortgage-dti-ratios",
      "name": "Debt-to-income ratios",
      "category": "Mortgage",
      "description": "Calculate housing, non-housing and combined DTI from monthly gross income and separately entered obligations.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "income": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "housing": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "debts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "otherProperties": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "housingKnown": {
            "type": "boolean"
          }
        },
        "required": [
          "income",
          "housing",
          "debts",
          "otherProperties",
          "housingKnown"
        ]
      },
      "input": {
        "income": 8000,
        "housing": 1800,
        "debts": 400,
        "otherProperties": 200,
        "housingKnown": true
      },
      "output": {
        "status": "available",
        "result": {
          "total": 30,
          "housingRatio": 22.5,
          "debtsOnly": 5,
          "housingMissing": false,
          "status": "Excellent"
        },
        "formulaVersion": "mortgage-dti-ratios-htcalc-719df2c0e105",
        "units": {
          "total": "percent",
          "housingRatio": "percent",
          "debtsOnly": "percent"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/affordability"
    },
    {
      "slug": "income-frequency-normalization",
      "name": "Monthly income across pay frequencies",
      "category": "Mortgage",
      "description": "Combine verified entered wages and salaries into a monthly budget, including the selected treatment of hourly overtime.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "maxItems": 40,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string",
                  "maxLength": 64
                },
                "label": {
                  "type": "string",
                  "maxLength": 100
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD per pay period, or USD/hour for hourly"
                },
                "frequency": {
                  "type": "string",
                  "enum": [
                    "annual",
                    "monthly",
                    "semi-monthly",
                    "bi-weekly",
                    "weekly",
                    "hourly"
                  ]
                },
                "hoursPerWeek": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 168,
                  "description": "Hours per week"
                },
                "overtimeVerified": {
                  "type": "boolean"
                }
              },
              "required": [
                "id",
                "label",
                "amount",
                "frequency",
                "hoursPerWeek",
                "overtimeVerified"
              ]
            }
          }
        },
        "required": [
          "items"
        ]
      },
      "input": {
        "items": [
          {
            "id": "hourly",
            "label": "Hourly wages",
            "amount": 30,
            "frequency": "hourly",
            "hoursPerWeek": 48,
            "overtimeVerified": false
          },
          {
            "id": "annual",
            "label": "Other salary",
            "amount": 24000,
            "frequency": "annual",
            "hoursPerWeek": 40,
            "overtimeVerified": false
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "value": 7200
        },
        "formulaVersion": "income-frequency-normalization-htcalc-719df2c0e105",
        "units": {
          "value": "USD/month"
        },
        "assumptions": [
          "Hourly earnings are capped at 40 hours a week unless overtime history is confirmed."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/affordability"
    },
    {
      "slug": "discount-point-rate-ladder",
      "name": "Discount point scenario ladder",
      "category": "Mortgage",
      "description": "Evaluate costs, payments and savings under an entered rate reduction per point, at multiple point increments and a specified horizon.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "inputs": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "loanAmount": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "US dollars"
              },
              "originalRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 0.5,
                "description": "Annual rate as a fraction (0.05 means 5%)"
              },
              "loanTerm": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Whole years"
              },
              "rateReductionPerPoint": {
                "type": "number",
                "minimum": 0,
                "maximum": 0.5,
                "description": "Annual rate as a fraction (0.05 means 5%)"
              },
              "maxPoints": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10,
                "description": "Whole discount points"
              }
            },
            "required": [
              "loanAmount",
              "originalRate",
              "loanTerm",
              "rateReductionPerPoint"
            ]
          },
          "yearsInHome": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Years"
          }
        },
        "required": [
          "inputs",
          "yearsInHome"
        ]
      },
      "input": {
        "inputs": {
          "loanAmount": 300000,
          "originalRate": 0.07,
          "loanTerm": 30,
          "rateReductionPerPoint": 0.0025,
          "maxPoints": 3
        },
        "yearsInHome": 7
      },
      "output": {
        "status": "available",
        "result": {
          "scenarios": [
            {
              "points": 0,
              "cost": 0,
              "newRate": 0.07,
              "monthlyPayment": 1995.9074855375,
              "monthlySavings": 0,
              "breakevenMonths": null,
              "breakevenYears": null,
              "breakevenYearsDecimal": null,
              "breakevenStatus": "not-applicable",
              "totalInterestOriginal": 418526.6947935,
              "totalInterestNew": 418526.6947935,
              "interestSavings": 0,
              "savings5Year": 0,
              "savings10Year": 0,
              "savings15Year": 0,
              "savings30Year": 0
            },
            {
              "points": 1,
              "cost": 3000,
              "newRate": 0.0675,
              "monthlyPayment": 1945.7942897046,
              "monthlySavings": 50.11319583289992,
              "breakevenMonths": 60,
              "breakevenYears": 5,
              "breakevenYearsDecimal": 5,
              "breakevenStatus": "available",
              "totalInterestOriginal": 418526.6947935,
              "totalInterestNew": 400485.9442936559,
              "interestSavings": 18040.750499844085,
              "savings5Year": 6.791749973995138,
              "savings10Year": 3013.5834999479903,
              "savings15Year": 6020.3752499219845,
              "savings30Year": 15040.750499843969
            },
            {
              "points": 2,
              "cost": 6000,
              "newRate": 0.065,
              "monthlyPayment": 1896.2040704789,
              "monthlySavings": 99.70341505860006,
              "breakevenMonths": 61,
              "breakevenYears": 5,
              "breakevenYearsDecimal": 5.083333333333333,
              "breakevenStatus": "available",
              "totalInterestOriginal": 418526.6947935,
              "totalInterestNew": 382633.46537240397,
              "interestSavings": 35893.22942109604,
              "savings5Year": -17.79509648399653,
              "savings10Year": 5964.409807032007,
              "savings15Year": 11946.614710548012,
              "savings30Year": 29893.229421096024
            },
            {
              "points": 3,
              "cost": 9000,
              "newRate": 0.0625,
              "monthlyPayment": 1847.1516012792,
              "monthlySavings": 148.75588425830006,
              "breakevenMonths": 61,
              "breakevenYears": 5,
              "breakevenYearsDecimal": 5.083333333333333,
              "breakevenStatus": "available",
              "totalInterestOriginal": 418526.6947935,
              "totalInterestNew": 364974.576460512,
              "interestSavings": 53552.118332988,
              "savings5Year": -74.6469445019975,
              "savings10Year": 8850.706110996005,
              "savings15Year": 17776.05916649401,
              "savings30Year": 44552.11833298802
            }
          ],
          "recommendedScenario": {
            "points": 3,
            "cost": 9000,
            "newRate": 0.0625,
            "monthlyPayment": 1847.1516012792,
            "monthlySavings": 148.75588425830006,
            "breakevenMonths": 61,
            "breakevenYears": 5,
            "breakevenYearsDecimal": 5.083333333333333,
            "breakevenStatus": "available",
            "totalInterestOriginal": 418526.6947935,
            "totalInterestNew": 364974.576460512,
            "interestSavings": 53552.118332988,
            "savings5Year": -74.6469445019975,
            "savings10Year": 8850.706110996005,
            "savings15Year": 17776.05916649401,
            "savings30Year": 44552.11833298802
          },
          "inputs": {
            "loanAmount": 300000,
            "originalRate": 0.07,
            "loanTerm": 30,
            "rateReductionPerPoint": 0.0025,
            "maxPoints": 3
          }
        },
        "formulaVersion": "discount-point-rate-ladder-htcalc-719df2c0e105",
        "units": {
          "scenarios.0.cost": "USD",
          "scenarios.0.monthlyPayment": "USD/month",
          "scenarios.1.cost": "USD",
          "scenarios.1.monthlySavings": "USD/month"
        },
        "assumptions": [
          "The caller supplies the rate reduction per point."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/points-buydown"
    },
    {
      "slug": "mortgage-apr-at-payoff",
      "name": "APR at an earlier payoff",
      "category": "Mortgage",
      "description": "Compute the effective annualized borrowing rate when an entered loan is paid off after a specified number of scheduled payments.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "input": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "loanAmount": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "US dollars"
              },
              "annualRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 50,
                "description": "Annual interest in percent (5 means 5%)"
              },
              "termMonths": {
                "type": "integer",
                "minimum": 1,
                "maximum": 600,
                "description": "Whole months"
              },
              "monthlyPayment": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Monthly principal and interest in USD"
              },
              "fees": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars"
              }
            },
            "required": [
              "loanAmount",
              "annualRatePct",
              "termMonths",
              "monthlyPayment",
              "fees"
            ]
          },
          "months": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months"
          }
        },
        "required": [
          "input",
          "months"
        ]
      },
      "input": {
        "input": {
          "loanAmount": 120000,
          "annualRatePct": 0,
          "termMonths": 120,
          "monthlyPayment": 1000,
          "fees": 1000
        },
        "months": 12
      },
      "output": {
        "status": "available",
        "result": {
          "value": 0.00877452232143696
        },
        "formulaVersion": "mortgage-apr-at-payoff-htcalc-719df2c0e105",
        "units": {
          "value": "annual-decimal"
        },
        "assumptions": [
          "The balance is paid at the selected horizon. Result is an annual rate expressed as a fraction."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/apr"
    },
    {
      "slug": "mortgage-equity-at-month",
      "name": "Projected equity at a chosen month",
      "category": "Mortgage",
      "description": "Subtract the projected amortized balance from the explicitly supplied home value at the chosen month.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "annualRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual interest in percent (5 means 5%)"
          },
          "termYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "m": {
            "type": "integer",
            "minimum": 0,
            "maximum": 600,
            "description": "Elapsed whole months"
          },
          "propertyValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          }
        },
        "required": [
          "loanAmount",
          "annualRate",
          "termYears",
          "m",
          "propertyValue"
        ]
      },
      "input": {
        "loanAmount": 240000,
        "annualRate": 0,
        "termYears": 20,
        "m": 24,
        "propertyValue": 300000
      },
      "output": {
        "status": "available",
        "result": {
          "value": 84000
        },
        "formulaVersion": "mortgage-equity-at-month-htcalc-719df2c0e105",
        "units": {
          "value": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/purchase"
    },
    {
      "slug": "mortgage-ltv-threshold-timing",
      "name": "Time to 80% projected LTV",
      "category": "Mortgage",
      "description": "Estimate the first month the amortized balance is at most 80% of the forecast home value under the supplied appreciation assumption.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "annualRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual interest in percent (5 means 5%)"
          },
          "termYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "purchasePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "expectedAnnualAppreciationPct": {
            "type": "number",
            "minimum": -50,
            "maximum": 50,
            "description": "Annual appreciation in percent"
          }
        },
        "required": [
          "loanAmount",
          "annualRate",
          "termYears",
          "purchasePrice",
          "expectedAnnualAppreciationPct"
        ]
      },
      "input": {
        "loanAmount": 270000,
        "annualRate": 0,
        "termYears": 30,
        "purchasePrice": 300000,
        "expectedAnnualAppreciationPct": 0
      },
      "output": {
        "status": "available",
        "result": {
          "value": 40
        },
        "formulaVersion": "mortgage-ltv-threshold-timing-htcalc-719df2c0e105",
        "units": {
          "value": "months"
        },
        "assumptions": [
          "Estimates when the balance reaches 80% of projected property value."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/purchase"
    },
    {
      "slug": "auto-purchase-financing",
      "name": "Auto purchase financing",
      "category": "Personal finance",
      "description": "Calculate the vehicle balance financed, monthly payment and modeled vehicle value after applying the entered sales tax, fees and trade-in equity. loanType is fixed to AUTO and loanTerm is in months.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "loanType": {
            "const": "AUTO",
            "description": "Fixed calculation branch.",
            "type": "string"
          },
          "params": {
            "additionalProperties": false,
            "properties": {
              "amountOwedOnTrade": {
                "default": 0,
                "description": "Outstanding balance on the trade-in. In USD.",
                "maximum": 250000,
                "minimum": 0,
                "type": "number"
              },
              "downPayment": {
                "default": 0,
                "description": "Cash down payment. In USD.",
                "maximum": 250000,
                "minimum": 0,
                "type": "number"
              },
              "fees": {
                "default": 0,
                "description": "Title, registration and other financed fees. In USD.",
                "maximum": 250000,
                "minimum": 0,
                "type": "number"
              },
              "interestRate": {
                "anyOf": [
                  {
                    "const": 0
                  },
                  {
                    "minimum": 0.000001
                  }
                ],
                "description": "Annual note rate. In percentage points (6.5 means 6.5%).",
                "maximum": 100,
                "minimum": 0,
                "type": "number"
              },
              "loanAmount": {
                "description": "Purchase price before trade-in, taxes and fees. In USD.",
                "maximum": 250000,
                "minimum": 1,
                "type": "number"
              },
              "loanTerm": {
                "description": "Repayment term. In whole months.",
                "maximum": 120,
                "minimum": 1,
                "type": "integer"
              },
              "salesTaxRate": {
                "default": 0,
                "description": "Entered sales tax rate. In percentage points (6.5 means 6.5%).",
                "maximum": 20,
                "minimum": 0,
                "type": "number"
              },
              "tradeInReducesTax": {
                "default": true,
                "description": "Whether the trade-in allowance reduces taxable price.",
                "type": "boolean"
              },
              "tradeInValue": {
                "default": 0,
                "description": "Allowance for a trade-in vehicle. In USD.",
                "maximum": 250000,
                "minimum": 0,
                "type": "number"
              }
            },
            "required": [
              "loanAmount",
              "interestRate",
              "loanTerm"
            ],
            "type": "object"
          }
        },
        "required": [
          "loanType",
          "params"
        ],
        "type": "object"
      },
      "input": {
        "params": {
          "loanAmount": 35000,
          "interestRate": 6,
          "loanTerm": 60,
          "downPayment": 3000,
          "tradeInValue": 5000,
          "amountOwedOnTrade": 2000,
          "salesTaxRate": 6,
          "fees": 500,
          "tradeInReducesTax": true
        },
        "loanType": "AUTO"
      },
      "output": {
        "status": "available",
        "result": {
          "principalAndInterest": 605.1166878711,
          "monthlyTax": 0,
          "monthlyInsurance": 0,
          "monthlyPMI": 0,
          "monthlyPayment": 605.1166878711,
          "monthlyPrincipal": 448.6166878711,
          "monthlyInterest": 156.5,
          "totalPayment": 36307.001272266,
          "totalFinancingPayment": 36307.001272266,
          "totalInterest": 5007.001272266003,
          "loanAmount": 31300,
          "upfrontFees": 2300,
          "originationFeeAmount": 0,
          "feeDeductedFromProceeds": 0,
          "capitalizedInterest": 0,
          "businessDscr": 0,
          "depreciationSchedule": [
            {
              "month": 0,
              "value": 35000
            },
            {
              "month": 1,
              "value": 34417
            },
            {
              "month": 2,
              "value": 33843
            },
            {
              "month": 3,
              "value": 33279
            },
            {
              "month": 4,
              "value": 32724
            },
            {
              "month": 5,
              "value": 32179
            },
            {
              "month": 6,
              "value": 31643
            },
            {
              "month": 7,
              "value": 31115
            },
            {
              "month": 8,
              "value": 30597
            },
            {
              "month": 9,
              "value": 30087
            },
            {
              "month": 10,
              "value": 29585
            },
            {
              "month": 11,
              "value": 29092
            },
            {
              "month": 12,
              "value": 28607
            },
            {
              "month": 13,
              "value": 28250
            },
            {
              "month": 14,
              "value": 27897
            },
            {
              "month": 15,
              "value": 27548
            },
            {
              "month": 16,
              "value": 27204
            },
            {
              "month": 17,
              "value": 26864
            },
            {
              "month": 18,
              "value": 26528
            },
            {
              "month": 19,
              "value": 26196
            },
            {
              "month": 20,
              "value": 25869
            },
            {
              "month": 21,
              "value": 25545
            },
            {
              "month": 22,
              "value": 25226
            },
            {
              "month": 23,
              "value": 24911
            },
            {
              "month": 24,
              "value": 24599
            },
            {
              "month": 25,
              "value": 24292
            },
            {
              "month": 26,
              "value": 23988
            },
            {
              "month": 27,
              "value": 23688
            },
            {
              "month": 28,
              "value": 23392
            },
            {
              "month": 29,
              "value": 23100
            },
            {
              "month": 30,
              "value": 22811
            },
            {
              "month": 31,
              "value": 22526
            },
            {
              "month": 32,
              "value": 22244
            },
            {
              "month": 33,
              "value": 21966
            },
            {
              "month": 34,
              "value": 21692
            },
            {
              "month": 35,
              "value": 21421
            },
            {
              "month": 36,
              "value": 21153
            },
            {
              "month": 37,
              "value": 20888
            },
            {
              "month": 38,
              "value": 20627
            },
            {
              "month": 39,
              "value": 20369
            },
            {
              "month": 40,
              "value": 20115
            },
            {
              "month": 41,
              "value": 19863
            },
            {
              "month": 42,
              "value": 19615
            },
            {
              "month": 43,
              "value": 19370
            },
            {
              "month": 44,
              "value": 19128
            },
            {
              "month": 45,
              "value": 18889
            },
            {
              "month": 46,
              "value": 18653
            },
            {
              "month": 47,
              "value": 18419
            },
            {
              "month": 48,
              "value": 18189
            },
            {
              "month": 49,
              "value": 17962
            },
            {
              "month": 50,
              "value": 17737
            },
            {
              "month": 51,
              "value": 17516
            },
            {
              "month": 52,
              "value": 17297
            },
            {
              "month": 53,
              "value": 17080
            },
            {
              "month": 54,
              "value": 16867
            },
            {
              "month": 55,
              "value": 16656
            },
            {
              "month": 56,
              "value": 16448
            },
            {
              "month": 57,
              "value": 16242
            },
            {
              "month": 58,
              "value": 16039
            },
            {
              "month": 59,
              "value": 15839
            },
            {
              "month": 60,
              "value": 15641
            },
            {
              "month": 61,
              "value": 15445
            },
            {
              "month": 62,
              "value": 15252
            },
            {
              "month": 63,
              "value": 15062
            },
            {
              "month": 64,
              "value": 14873
            },
            {
              "month": 65,
              "value": 14687
            },
            {
              "month": 66,
              "value": 14504
            },
            {
              "month": 67,
              "value": 14322
            },
            {
              "month": 68,
              "value": 14143
            },
            {
              "month": 69,
              "value": 13967
            },
            {
              "month": 70,
              "value": 13792
            },
            {
              "month": 71,
              "value": 13620
            },
            {
              "month": 72,
              "value": 13449
            }
          ],
          "amortizationSchedule": [
            {
              "month": 1,
              "interest": 156.5,
              "principal": 448.62,
              "remainingBalance": 30851.38
            },
            {
              "month": 2,
              "interest": 154.26,
              "principal": 450.86,
              "remainingBalance": 30400.52
            },
            {
              "month": 3,
              "interest": 152,
              "principal": 453.12,
              "remainingBalance": 29947.4
            },
            {
              "month": 4,
              "interest": 149.74,
              "principal": 455.38,
              "remainingBalance": 29492.02
            },
            {
              "month": 5,
              "interest": 147.46,
              "principal": 457.66,
              "remainingBalance": 29034.36
            },
            {
              "month": 6,
              "interest": 145.17,
              "principal": 459.95,
              "remainingBalance": 28574.41
            },
            {
              "month": 7,
              "interest": 142.87,
              "principal": 462.25,
              "remainingBalance": 28112.16
            },
            {
              "month": 8,
              "interest": 140.56,
              "principal": 464.56,
              "remainingBalance": 27647.6
            },
            {
              "month": 9,
              "interest": 138.24,
              "principal": 466.88,
              "remainingBalance": 27180.72
            },
            {
              "month": 10,
              "interest": 135.9,
              "principal": 469.22,
              "remainingBalance": 26711.5
            },
            {
              "month": 11,
              "interest": 133.56,
              "principal": 471.56,
              "remainingBalance": 26239.94
            },
            {
              "month": 12,
              "interest": 131.2,
              "principal": 473.92,
              "remainingBalance": 25766.02
            },
            {
              "month": 13,
              "interest": 128.83,
              "principal": 476.29,
              "remainingBalance": 25289.73
            },
            {
              "month": 14,
              "interest": 126.45,
              "principal": 478.67,
              "remainingBalance": 24811.06
            },
            {
              "month": 15,
              "interest": 124.06,
              "principal": 481.06,
              "remainingBalance": 24330
            },
            {
              "month": 16,
              "interest": 121.65,
              "principal": 483.47,
              "remainingBalance": 23846.53
            },
            {
              "month": 17,
              "interest": 119.23,
              "principal": 485.89,
              "remainingBalance": 23360.64
            },
            {
              "month": 18,
              "interest": 116.8,
              "principal": 488.32,
              "remainingBalance": 22872.32
            },
            {
              "month": 19,
              "interest": 114.36,
              "principal": 490.76,
              "remainingBalance": 22381.56
            },
            {
              "month": 20,
              "interest": 111.91,
              "principal": 493.21,
              "remainingBalance": 21888.35
            },
            {
              "month": 21,
              "interest": 109.44,
              "principal": 495.68,
              "remainingBalance": 21392.67
            },
            {
              "month": 22,
              "interest": 106.96,
              "principal": 498.16,
              "remainingBalance": 20894.51
            },
            {
              "month": 23,
              "interest": 104.47,
              "principal": 500.65,
              "remainingBalance": 20393.86
            },
            {
              "month": 24,
              "interest": 101.97,
              "principal": 503.15,
              "remainingBalance": 19890.71
            },
            {
              "month": 25,
              "interest": 99.45,
              "principal": 505.67,
              "remainingBalance": 19385.04
            },
            {
              "month": 26,
              "interest": 96.93,
              "principal": 508.19,
              "remainingBalance": 18876.85
            },
            {
              "month": 27,
              "interest": 94.38,
              "principal": 510.74,
              "remainingBalance": 18366.11
            },
            {
              "month": 28,
              "interest": 91.83,
              "principal": 513.29,
              "remainingBalance": 17852.82
            },
            {
              "month": 29,
              "interest": 89.26,
              "principal": 515.86,
              "remainingBalance": 17336.96
            },
            {
              "month": 30,
              "interest": 86.68,
              "principal": 518.44,
              "remainingBalance": 16818.52
            },
            {
              "month": 31,
              "interest": 84.09,
              "principal": 521.03,
              "remainingBalance": 16297.49
            },
            {
              "month": 32,
              "interest": 81.49,
              "principal": 523.63,
              "remainingBalance": 15773.86
            },
            {
              "month": 33,
              "interest": 78.87,
              "principal": 526.25,
              "remainingBalance": 15247.61
            },
            {
              "month": 34,
              "interest": 76.24,
              "principal": 528.88,
              "remainingBalance": 14718.73
            },
            {
              "month": 35,
              "interest": 73.59,
              "principal": 531.53,
              "remainingBalance": 14187.2
            },
            {
              "month": 36,
              "interest": 70.94,
              "principal": 534.18,
              "remainingBalance": 13653.02
            },
            {
              "month": 37,
              "interest": 68.27,
              "principal": 536.85,
              "remainingBalance": 13116.17
            },
            {
              "month": 38,
              "interest": 65.58,
              "principal": 539.54,
              "remainingBalance": 12576.63
            },
            {
              "month": 39,
              "interest": 62.88,
              "principal": 542.24,
              "remainingBalance": 12034.39
            },
            {
              "month": 40,
              "interest": 60.17,
              "principal": 544.95,
              "remainingBalance": 11489.44
            },
            {
              "month": 41,
              "interest": 57.45,
              "principal": 547.67,
              "remainingBalance": 10941.77
            },
            {
              "month": 42,
              "interest": 54.71,
              "principal": 550.41,
              "remainingBalance": 10391.36
            },
            {
              "month": 43,
              "interest": 51.96,
              "principal": 553.16,
              "remainingBalance": 9838.2
            },
            {
              "month": 44,
              "interest": 49.19,
              "principal": 555.93,
              "remainingBalance": 9282.27
            },
            {
              "month": 45,
              "interest": 46.41,
              "principal": 558.71,
              "remainingBalance": 8723.56
            },
            {
              "month": 46,
              "interest": 43.62,
              "principal": 561.5,
              "remainingBalance": 8162.06
            },
            {
              "month": 47,
              "interest": 40.81,
              "principal": 564.31,
              "remainingBalance": 7597.75
            },
            {
              "month": 48,
              "interest": 37.99,
              "principal": 567.13,
              "remainingBalance": 7030.62
            },
            {
              "month": 49,
              "interest": 35.15,
              "principal": 569.97,
              "remainingBalance": 6460.65
            },
            {
              "month": 50,
              "interest": 32.3,
              "principal": 572.82,
              "remainingBalance": 5887.83
            },
            {
              "month": 51,
              "interest": 29.44,
              "principal": 575.68,
              "remainingBalance": 5312.15
            },
            {
              "month": 52,
              "interest": 26.56,
              "principal": 578.56,
              "remainingBalance": 4733.59
            },
            {
              "month": 53,
              "interest": 23.67,
              "principal": 581.45,
              "remainingBalance": 4152.14
            },
            {
              "month": 54,
              "interest": 20.76,
              "principal": 584.36,
              "remainingBalance": 3567.78
            },
            {
              "month": 55,
              "interest": 17.84,
              "principal": 587.28,
              "remainingBalance": 2980.5
            },
            {
              "month": 56,
              "interest": 14.9,
              "principal": 590.22,
              "remainingBalance": 2390.28
            },
            {
              "month": 57,
              "interest": 11.95,
              "principal": 593.17,
              "remainingBalance": 1797.11
            },
            {
              "month": 58,
              "interest": 8.99,
              "principal": 596.13,
              "remainingBalance": 1200.98
            },
            {
              "month": 59,
              "interest": 6,
              "principal": 599.12,
              "remainingBalance": 601.86
            },
            {
              "month": 60,
              "interest": 3.01,
              "principal": 601.86,
              "remainingBalance": 0
            }
          ]
        },
        "formulaVersion": "auto-purchase-financing-htcalc-719df2c0e105",
        "units": {
          "monthlyPayment": "USD/month",
          "loanAmount": "USD",
          "totalInterest": "USD",
          "upfrontFees": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/lending/auto"
    },
    {
      "slug": "student-loan-deferment",
      "name": "Student loan deferment",
      "category": "Personal finance",
      "description": "Calculate repayment principal and payment after the entered deferment. The fee is withheld from proceeds. Subsidy status determines whether deferment interest accrues. loanType is fixed to STUDENT and loanTerm is in years.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "loanType": {
            "const": "STUDENT",
            "description": "Fixed calculation branch.",
            "type": "string"
          },
          "params": {
            "additionalProperties": false,
            "properties": {
              "defermentMonths": {
                "default": 0,
                "description": "Deferment before repayment begins. In whole months.",
                "maximum": 120,
                "minimum": 0,
                "type": "integer"
              },
              "interestRate": {
                "anyOf": [
                  {
                    "const": 0
                  },
                  {
                    "minimum": 0.000001
                  }
                ],
                "description": "Annual note rate. In percentage points (6.5 means 6.5%).",
                "maximum": 100,
                "minimum": 0,
                "type": "number"
              },
              "loanAmount": {
                "description": "Gross principal before any origination fee is withheld. In USD.",
                "maximum": 500000,
                "minimum": 1,
                "type": "number"
              },
              "loanSubtype": {
                "default": "unsubsidized",
                "description": "Treatment of interest during deferment.",
                "enum": [
                  "subsidized",
                  "unsubsidized"
                ],
                "type": "string"
              },
              "loanTerm": {
                "description": "Repayment term following deferment. In whole years.",
                "maximum": 100,
                "minimum": 1,
                "type": "integer"
              },
              "originationFee": {
                "default": 0,
                "description": "Origination fee withheld from proceeds. In percentage points (6.5 means 6.5%).",
                "maximum": 10,
                "minimum": 0,
                "type": "number"
              }
            },
            "required": [
              "loanAmount",
              "interestRate",
              "loanTerm"
            ],
            "type": "object"
          }
        },
        "required": [
          "loanType",
          "params"
        ],
        "type": "object"
      },
      "input": {
        "params": {
          "loanAmount": 20000,
          "interestRate": 5.5,
          "loanTerm": 10,
          "originationFee": 1.057,
          "defermentMonths": 48,
          "loanSubtype": "unsubsidized"
        },
        "loanType": "STUDENT"
      },
      "output": {
        "status": "available",
        "result": {
          "principalAndInterest": 264.8041182236,
          "monthlyTax": 0,
          "monthlyInsurance": 0,
          "monthlyPMI": 0,
          "monthlyPayment": 264.8041182236,
          "monthlyPrincipal": 152.9707848902667,
          "monthlyInterest": 111.83333333333333,
          "totalPayment": 31776.494186832002,
          "totalFinancingPayment": 31776.494186832002,
          "totalInterest": 7376.494186832002,
          "loanAmount": 24400,
          "upfrontFees": 0,
          "originationFeeAmount": 211.39999999999998,
          "feeDeductedFromProceeds": 211.39999999999998,
          "capitalizedInterest": 4400,
          "businessDscr": 0
        },
        "formulaVersion": "student-loan-deferment-htcalc-719df2c0e105",
        "units": {
          "principalAndInterest": "USD/month",
          "loanAmount": "USD",
          "capitalizedInterest": "USD",
          "feeDeductedFromProceeds": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/lending/student"
    },
    {
      "slug": "personal-loan-proceeds",
      "name": "Personal loan proceeds and payment",
      "category": "Personal finance",
      "description": "Calculate a personal loan payment and the origination fee withheld from the borrowed amount. loanType is fixed to PERSONAL and loanTerm is in months.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "loanType": {
            "const": "PERSONAL",
            "description": "Fixed calculation branch.",
            "type": "string"
          },
          "params": {
            "additionalProperties": false,
            "properties": {
              "interestRate": {
                "anyOf": [
                  {
                    "const": 0
                  },
                  {
                    "minimum": 0.000001
                  }
                ],
                "description": "Annual note rate. In percentage points (6.5 means 6.5%).",
                "maximum": 100,
                "minimum": 0,
                "type": "number"
              },
              "loanAmount": {
                "description": "Gross personal loan amount. In USD.",
                "maximum": 100000,
                "minimum": 1,
                "type": "number"
              },
              "loanTerm": {
                "description": "Repayment term. In whole months.",
                "maximum": 600,
                "minimum": 1,
                "type": "integer"
              },
              "originationFee": {
                "default": 0,
                "description": "Origination fee withheld from proceeds. In percentage points (6.5 means 6.5%).",
                "maximum": 20,
                "minimum": 0,
                "type": "number"
              }
            },
            "required": [
              "loanAmount",
              "interestRate",
              "loanTerm"
            ],
            "type": "object"
          }
        },
        "required": [
          "loanType",
          "params"
        ],
        "type": "object"
      },
      "input": {
        "params": {
          "loanAmount": 15000,
          "interestRate": 10,
          "loanTerm": 36,
          "originationFee": 2
        },
        "loanType": "PERSONAL"
      },
      "output": {
        "status": "available",
        "result": {
          "principalAndInterest": 484.0078079076,
          "monthlyTax": 0,
          "monthlyInsurance": 0,
          "monthlyPMI": 0,
          "monthlyPayment": 484.0078079076,
          "monthlyPrincipal": 359.0078079076,
          "monthlyInterest": 125,
          "totalPayment": 17424.2810846736,
          "totalFinancingPayment": 17424.2810846736,
          "totalInterest": 2424.2810846735993,
          "loanAmount": 15000,
          "upfrontFees": 0,
          "originationFeeAmount": 300,
          "feeDeductedFromProceeds": 300,
          "capitalizedInterest": 0,
          "businessDscr": 0
        },
        "formulaVersion": "personal-loan-proceeds-htcalc-719df2c0e105",
        "units": {
          "principalAndInterest": "USD/month",
          "loanAmount": "USD",
          "feeDeductedFromProceeds": "USD",
          "totalInterest": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/lending/personal"
    },
    {
      "slug": "auto-offer-comparison",
      "name": "Auto loan offer comparison",
      "category": "Personal finance",
      "description": "Compare manually entered offers on total cost for equal loan amounts and fee-inclusive APR for different amounts. The lowest-scoring offer index is zero-based. The app component has no public page route.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "offers": {
            "description": "Offers to compare.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "feeTreatment": {
                  "description": "Whether fees increase principal or are paid at signing.",
                  "enum": [
                    "financed",
                    "upfront"
                  ],
                  "type": "string"
                },
                "fees": {
                  "description": "Entered lender fees. In USD.",
                  "maximum": 250000,
                  "minimum": 0,
                  "type": "number"
                },
                "id": {
                  "description": "Caller-provided offer identifier.",
                  "maximum": 1000000,
                  "minimum": 1,
                  "type": "integer"
                },
                "lender": {
                  "description": "Caller-provided offer label.",
                  "maxLength": 80,
                  "minLength": 1,
                  "type": "string"
                },
                "loanAmount": {
                  "description": "Principal before fees. In USD.",
                  "maximum": 250000,
                  "minimum": 1,
                  "type": "number"
                },
                "rate": {
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ],
                  "description": "Annual note rate. In percentage points (6.5 means 6.5%).",
                  "maximum": 30,
                  "minimum": 0,
                  "type": "number"
                },
                "term": {
                  "description": "Offer term in whole months.",
                  "enum": [
                    24,
                    36,
                    48,
                    60,
                    72,
                    84
                  ],
                  "type": "integer"
                }
              },
              "required": [
                "id",
                "lender",
                "loanAmount",
                "rate",
                "term",
                "fees",
                "feeTreatment"
              ],
              "type": "object"
            },
            "maxItems": 4,
            "minItems": 2,
            "type": "array"
          }
        },
        "required": [
          "offers"
        ],
        "type": "object"
      },
      "input": {
        "offers": [
          {
            "id": 1,
            "lender": "Bank A",
            "loanAmount": 30000,
            "rate": 5.9,
            "term": 60,
            "fees": 0,
            "feeTreatment": "financed"
          },
          {
            "id": 2,
            "lender": "Credit Union",
            "loanAmount": 30000,
            "rate": 4.5,
            "term": 60,
            "fees": 250,
            "feeTreatment": "financed"
          },
          {
            "id": 3,
            "lender": "Online Lender",
            "loanAmount": 30000,
            "rate": 6.9,
            "term": 72,
            "fees": 0,
            "feeTreatment": "financed"
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "offers": [
            {
              "id": 1,
              "lender": "Bank A",
              "loanAmount": 30000,
              "rate": 5.9,
              "term": 60,
              "fees": 0,
              "feeTreatment": "financed",
              "notePrincipal": 30000,
              "payment": 578.5901086955,
              "totalPayments": 34715.42,
              "totalInterest": 4715.42,
              "upfrontFees": 0,
              "totalCost": 34715.42,
              "apr": 5.900000000000751
            },
            {
              "id": 2,
              "lender": "Credit Union",
              "loanAmount": 30000,
              "rate": 4.5,
              "term": 60,
              "fees": 250,
              "feeTreatment": "financed",
              "notePrincipal": 30250,
              "payment": 563.9513320559,
              "totalPayments": 33837.1,
              "totalInterest": 3587.1,
              "upfrontFees": 0,
              "totalCost": 33837.1,
              "apr": 4.840786236621353
            },
            {
              "id": 3,
              "lender": "Online Lender",
              "loanAmount": 30000,
              "rate": 6.9,
              "term": 72,
              "fees": 0,
              "feeTreatment": "financed",
              "notePrincipal": 30000,
              "payment": 510.0308574885,
              "totalPayments": 36722.23,
              "totalInterest": 6722.23,
              "upfrontFees": 0,
              "totalCost": 36722.23,
              "apr": 6.900000000001727
            }
          ],
          "bestIndex": 1,
          "basis": "total-cost"
        },
        "formulaVersion": "auto-offer-comparison-htcalc-719df2c0e105",
        "units": {
          "offers.0.payment": "USD/month",
          "offers.0.totalCost": "USD",
          "offers.0.apr": "percent"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      }
    },
    {
      "slug": "auto-rebate-comparison",
      "name": "Dealer financing versus cash rebate",
      "category": "Personal finance",
      "description": "Compare the total paid with promotional financing against a cash rebate and a separately quoted bank rate. Find the rebate that makes both options cost the same.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "bankAprPct": {
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ],
            "description": "Annual bank loan rate. In percentage points (6.5 means 6.5%).",
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "bankTermMonths": {
            "description": "Bank loan term. In whole months.",
            "maximum": 120,
            "minimum": 1,
            "type": "integer"
          },
          "downPayment": {
            "description": "Cash paid up front. In USD.",
            "maximum": 250000,
            "minimum": 0,
            "type": "number"
          },
          "price": {
            "description": "Vehicle price. In USD.",
            "maximum": 250000,
            "minimum": 1,
            "type": "number"
          },
          "promoAprPct": {
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ],
            "description": "Annual promotional rate. In percentage points (6.5 means 6.5%).",
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "promoTermMonths": {
            "description": "Promotional loan term. In whole months.",
            "maximum": 120,
            "minimum": 1,
            "type": "integer"
          },
          "rebate": {
            "description": "Cash rebate applied to the alternative loan. In USD.",
            "maximum": 250000,
            "minimum": 0,
            "type": "number"
          }
        },
        "required": [
          "price",
          "downPayment",
          "promoAprPct",
          "promoTermMonths",
          "rebate",
          "bankAprPct",
          "bankTermMonths"
        ],
        "type": "object"
      },
      "input": {
        "price": 35000,
        "downPayment": 1750,
        "promoAprPct": 0,
        "promoTermMonths": 60,
        "rebate": 3000,
        "bankAprPct": 6.5,
        "bankTermMonths": 60
      },
      "output": {
        "status": "available",
        "result": {
          "valid": true,
          "problem": null,
          "promo": {
            "amountFinanced": 33250,
            "monthlyPayment": 554.17,
            "months": 60,
            "totalInterest": 0,
            "totalPaid": 35000
          },
          "rebate": {
            "amountFinanced": 30250,
            "monthlyPayment": 591.88,
            "months": 60,
            "totalInterest": 5262.48,
            "totalPaid": 37262.48
          },
          "cheaper": "promo",
          "difference": 2262.48,
          "breakEvenRebate": 4928
        },
        "formulaVersion": "auto-rebate-comparison-htcalc-719df2c0e105",
        "units": {
          "difference": "USD",
          "breakEvenRebate": "USD",
          "promo.totalPaid": "USD",
          "rebate.totalPaid": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/lending/auto"
    },
    {
      "slug": "auto-accelerated-payoff",
      "name": "Auto loan early payoff plans",
      "category": "Personal finance",
      "description": "Compare extra monthly payments, a lump sum, payment rounding and biweekly payments against the current car loan.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "aprPct": {
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ],
            "description": "Annual car loan rate. In percentage points (6.5 means 6.5%).",
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "balance": {
            "description": "Outstanding car loan balance. In USD.",
            "maximum": 10000000,
            "minimum": 0.01,
            "type": "number"
          },
          "currentPayment": {
            "description": "Current scheduled principal and interest. In USD per month.",
            "maximum": 1000000,
            "minimum": 0.01,
            "type": "number"
          },
          "extraMonthly": {
            "description": "Additional recurring principal. In USD per month.",
            "maximum": 1000000,
            "minimum": 0,
            "type": "number"
          },
          "lumpSum": {
            "description": "One-time payment applied now. In USD.",
            "maximum": 10000000,
            "minimum": 0,
            "type": "number"
          },
          "monthsLeft": {
            "description": "Current remaining loan term. In whole months.",
            "maximum": 120,
            "minimum": 1,
            "type": "integer"
          },
          "roundTo": {
            "description": "Payment rounding increment in USD.",
            "enum": [
              25,
              50,
              100
            ],
            "type": "integer"
          }
        },
        "required": [
          "balance",
          "aprPct",
          "monthsLeft",
          "currentPayment",
          "extraMonthly",
          "lumpSum",
          "roundTo"
        ],
        "type": "object"
      },
      "input": {
        "balance": 18500,
        "aprPct": 7.9,
        "monthsLeft": 48,
        "currentPayment": 450.77,
        "extraMonthly": 50,
        "lumpSum": 1000,
        "roundTo": 50
      },
      "output": {
        "status": "available",
        "result": {
          "valid": true,
          "problem": null,
          "payment": 450.77,
          "workedOutPayment": 450.7711726,
          "termMismatch": null,
          "baseline": {
            "months": 48,
            "interest": 3137.05,
            "totalPaid": 21637.05
          },
          "ways": {
            "extra": {
              "id": "extra",
              "amount": 50,
              "extraEachMonth": 50,
              "months": 43,
              "interest": 2767.36,
              "totalPaid": 21267.36,
              "monthsSooner": 5,
              "interestSaved": 369.69,
              "noChange": false
            },
            "lump": {
              "id": "lump",
              "amount": 1000,
              "extraEachMonth": 0,
              "months": 45,
              "interest": 2775.9,
              "totalPaid": 21275.9,
              "monthsSooner": 3,
              "interestSaved": 361.15,
              "noChange": false
            },
            "round": {
              "id": "round",
              "amount": 500,
              "extraEachMonth": 49.23,
              "months": 43,
              "interest": 2772.34,
              "totalPaid": 21272.34,
              "monthsSooner": 5,
              "interestSaved": 364.71,
              "noChange": false
            },
            "biweekly": {
              "id": "biweekly",
              "amount": 225.39,
              "extraEachMonth": 0,
              "months": 44,
              "interest": 2812.82,
              "totalPaid": 21312.82,
              "monthsSooner": 4,
              "interestSaved": 324.23,
              "noChange": false
            }
          },
          "bestId": "extra"
        },
        "formulaVersion": "auto-accelerated-payoff-htcalc-719df2c0e105",
        "units": {
          "baseline.months": "months",
          "baseline.interest": "USD",
          "ways.extra.interestSaved": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/lending"
    },
    {
      "slug": "vehicle-equity",
      "name": "Vehicle equity",
      "category": "Personal finance",
      "description": "Subtract the balance owed from the supplied vehicle value and identify negative equity.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "balance": {
            "description": "Outstanding vehicle loan balance. In USD.",
            "maximum": 10000000,
            "minimum": 0,
            "type": "number"
          },
          "carValue": {
            "description": "Caller-estimated value of the vehicle. In USD.",
            "maximum": 10000000,
            "minimum": 0.01,
            "type": "number"
          }
        },
        "required": [
          "carValue",
          "balance"
        ],
        "type": "object"
      },
      "input": {
        "carValue": 15000,
        "balance": 18500
      },
      "output": {
        "status": "available",
        "result": {
          "equity": -3500,
          "upsideDown": true
        },
        "formulaVersion": "vehicle-equity-htcalc-719df2c0e105",
        "units": {
          "equity": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/lending"
    },
    {
      "slug": "auto-refinance-break-even",
      "name": "Auto refinance break-even timeline",
      "category": "Personal finance",
      "description": "Compare month-by-month payment savings with refinancing costs and calculate the interest charged when those costs are financed.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "currentBalance": {
            "description": "Current principal outstanding. In USD.",
            "maximum": 10000000,
            "minimum": 0.01,
            "type": "number"
          },
          "currentRate": {
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ],
            "description": "Annual note rate on the current loan. In percentage points (6.5 means 6.5%).",
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "currentTermRemaining": {
            "description": "Current remaining term. In whole months.",
            "maximum": 120,
            "minimum": 1,
            "type": "integer"
          },
          "newRate": {
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ],
            "description": "Annual note rate of the proposed loan. In percentage points (6.5 means 6.5%).",
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "newTerm": {
            "description": "Proposed term. In whole months.",
            "maximum": 120,
            "minimum": 1,
            "type": "integer"
          },
          "refiCosts": {
            "description": "Refinance costs to be financed. In USD.",
            "maximum": 1000000,
            "minimum": 0,
            "type": "number"
          }
        },
        "required": [
          "currentBalance",
          "currentRate",
          "currentTermRemaining",
          "newRate",
          "newTerm",
          "refiCosts"
        ],
        "type": "object"
      },
      "input": {
        "currentBalance": 25000,
        "currentRate": 8.5,
        "currentTermRemaining": 48,
        "newRate": 5.9,
        "newTerm": 48,
        "refiCosts": 500
      },
      "output": {
        "status": "available",
        "result": {
          "cumulative": [
            0,
            30.23,
            60.46,
            90.69,
            120.92,
            151.15,
            181.38,
            211.61,
            241.84,
            272.07,
            302.3,
            332.53,
            362.76,
            392.99,
            423.22,
            453.45,
            483.68,
            513.91,
            544.14,
            574.37,
            604.6,
            634.83,
            665.06,
            695.29,
            725.52,
            755.75,
            785.98,
            816.21,
            846.44,
            876.67,
            906.9,
            937.13,
            967.36,
            997.59,
            1027.82,
            1058.05,
            1088.28,
            1118.51,
            1148.74,
            1178.97,
            1209.2,
            1239.43,
            1269.66,
            1299.89,
            1330.12,
            1360.35,
            1390.58,
            1420.81,
            1451.04
          ],
          "currentPayment": 616.21,
          "paymentWithoutCosts": 585.98,
          "costs": 500,
          "interestOnCosts": 62.49,
          "totalCostOfRefinancing": 562.49,
          "breakEvenMonth": 17
        },
        "formulaVersion": "auto-refinance-break-even-htcalc-719df2c0e105",
        "units": {
          "breakEvenMonth": "months",
          "interestOnCosts": "USD",
          "totalCostOfRefinancing": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/lending/auto-refi"
    },
    {
      "slug": "business-loan-cash-flow",
      "name": "Business loan cash flow and coverage",
      "category": "Personal finance",
      "description": "Calculate payment, financed origination fees and the loan size supported at the model's 1.25x cash-flow coverage target. hasSbaGuaranteeFee is fixed to false. The qualifies field means the model meets that target.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "annualRate": {
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ],
            "description": "Annual note rate. In percentage points (6.5 means 6.5%).",
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "existingMonthlyDebtService": {
            "description": "Existing debt payments before the proposed loan. In USD per month.",
            "maximum": 100000000,
            "minimum": 0,
            "type": "number"
          },
          "hasSbaGuaranteeFee": {
            "const": false,
            "description": "Manual cash-flow scenarios always disable the SBA fee schedule.",
            "type": "boolean"
          },
          "loanAmount": {
            "description": "Business loan principal before the financed origination fee. In USD.",
            "maximum": 100000000,
            "minimum": 1,
            "type": "number"
          },
          "monthlyExpenses": {
            "description": "Business expenses before loan payments. In USD per month.",
            "maximum": 1000000000,
            "minimum": 0,
            "type": "number"
          },
          "monthlyRevenue": {
            "description": "Business revenue. In USD per month.",
            "maximum": 1000000000,
            "minimum": 0,
            "type": "number"
          },
          "originationFeePercent": {
            "description": "Financed origination fee as a share of principal. In percentage points (6.5 means 6.5%).",
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "termYears": {
            "description": "Repayment term in years. Fractional years are rounded to the nearest whole month.",
            "maximum": 100,
            "minimum": 0.08333333333333333,
            "type": "number"
          }
        },
        "required": [
          "loanAmount",
          "annualRate",
          "termYears",
          "originationFeePercent",
          "hasSbaGuaranteeFee",
          "monthlyRevenue",
          "monthlyExpenses",
          "existingMonthlyDebtService"
        ],
        "type": "object"
      },
      "input": {
        "loanAmount": 250000,
        "annualRate": 8.5,
        "termYears": 10,
        "originationFeePercent": 2,
        "hasSbaGuaranteeFee": false,
        "monthlyRevenue": 80000,
        "monthlyExpenses": 55000,
        "existingMonthlyDebtService": 2000
      },
      "output": {
        "status": "available",
        "result": {
          "monthlyPayment": 3161.6350663,
          "totalInterest": 124396.207956,
          "totalCost": 379396.207956,
          "totalFinanced": 255000,
          "totalFees": 5000,
          "origFee": 5000,
          "sbaFee": 0,
          "noi": 25000,
          "dscr": 4.843426487708028,
          "dscrStatus": "available",
          "qualifies": true,
          "maxLoanAtDSCR": 1423314.1730889939,
          "maxPaymentAtDSCR": 18000,
          "totalDebtService": 5161.635066299999,
          "schedule": [
            {
              "month": 1,
              "payment": 3162,
              "principal": 1355,
              "interest": 1806,
              "balance": 253645
            },
            {
              "month": 2,
              "payment": 3162,
              "principal": 1365,
              "interest": 1797,
              "balance": 252280
            },
            {
              "month": 3,
              "payment": 3162,
              "principal": 1375,
              "interest": 1787,
              "balance": 250905
            },
            {
              "month": 4,
              "payment": 3162,
              "principal": 1384,
              "interest": 1777,
              "balance": 249521
            },
            {
              "month": 5,
              "payment": 3162,
              "principal": 1394,
              "interest": 1767,
              "balance": 248126
            },
            {
              "month": 6,
              "payment": 3162,
              "principal": 1404,
              "interest": 1758,
              "balance": 246722
            },
            {
              "month": 7,
              "payment": 3162,
              "principal": 1414,
              "interest": 1748,
              "balance": 245308
            },
            {
              "month": 8,
              "payment": 3162,
              "principal": 1424,
              "interest": 1738,
              "balance": 243884
            },
            {
              "month": 9,
              "payment": 3162,
              "principal": 1434,
              "interest": 1728,
              "balance": 242450
            },
            {
              "month": 10,
              "payment": 3162,
              "principal": 1444,
              "interest": 1717,
              "balance": 241006
            },
            {
              "month": 11,
              "payment": 3162,
              "principal": 1455,
              "interest": 1707,
              "balance": 239551
            },
            {
              "month": 12,
              "payment": 3162,
              "principal": 1465,
              "interest": 1697,
              "balance": 238087
            }
          ],
          "termMonths": 120,
          "loanAprPct": 8.961110817544261
        },
        "formulaVersion": "business-loan-cash-flow-htcalc-719df2c0e105",
        "units": {
          "monthlyPayment": "USD/month",
          "totalCost": "USD",
          "totalFinanced": "USD",
          "dscr": "ratio",
          "maxLoanAtDSCR": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/lending/business"
    },
    {
      "slug": "commercial-mortgage-balloon",
      "name": "Commercial mortgage balloon",
      "category": "Personal finance",
      "description": "Calculate monthly principal and interest, the principal due at maturity and interest paid before the balloon using the entered rate and amortization term.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "amortYears": {
            "description": "Amortization period. In whole years.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "balloonYears": {
            "description": "Time to maturity. Zero or a value at least as large as amortYears denotes full amortization. In whole years.",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "principal": {
            "description": "Financed commercial principal. In USD.",
            "maximum": 10000000000,
            "minimum": 1,
            "type": "number"
          },
          "ratePct": {
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ],
            "description": "Annual note rate. In percentage points (6.5 means 6.5%).",
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          }
        },
        "required": [
          "principal",
          "ratePct",
          "amortYears",
          "balloonYears"
        ],
        "type": "object"
      },
      "input": {
        "principal": 120000,
        "ratePct": 0,
        "amortYears": 10,
        "balloonYears": 4
      },
      "output": {
        "status": "available",
        "result": {
          "monthlyPayment": 1000,
          "balloonAmount": 72000,
          "totalInterestUntilBalloon": 0,
          "totalInterestFullAmort": 0
        },
        "formulaVersion": "commercial-mortgage-balloon-htcalc-719df2c0e105",
        "units": {
          "monthlyPayment": "USD/month",
          "balloonAmount": "USD",
          "totalInterestUntilBalloon": "USD",
          "totalInterestFullAmort": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/lending/commercial-mortgage"
    },
    {
      "slug": "monthly-budget-plan",
      "name": "Monthly budget allocation",
      "category": "Personal finance",
      "description": "Group entered monthly amounts into needs, wants and savings, then compare their shares with a 50/30/20 budget and calculate the unallocated balance.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "description": "Entered monthly budget lines.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "amount": {
                  "description": "Amount attributed to this category. In USD per month.",
                  "maximum": 10000000,
                  "minimum": 0,
                  "type": "number"
                },
                "category": {
                  "description": "Budget category.",
                  "enum": [
                    "needs",
                    "wants",
                    "savings"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "amount",
                "category"
              ],
              "type": "object"
            },
            "maxItems": 100,
            "minItems": 0,
            "type": "array"
          },
          "monthlyIncome": {
            "description": "Monthly available income. In USD per month.",
            "maximum": 100000000,
            "minimum": 0.01,
            "type": "number"
          }
        },
        "required": [
          "monthlyIncome",
          "items"
        ],
        "type": "object"
      },
      "input": {
        "monthlyIncome": 6000,
        "items": [
          {
            "amount": 3000,
            "category": "needs"
          },
          {
            "amount": 1800,
            "category": "wants"
          },
          {
            "amount": 1200,
            "category": "savings"
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "byCategory": {
            "needs": 3000,
            "wants": 1800,
            "savings": 1200
          },
          "totalExpenses": 6000,
          "remaining": 0,
          "percentages": {
            "needs": 50,
            "wants": 30,
            "savings": 20
          },
          "pieData": [
            {
              "name": "Needs",
              "value": 3000
            },
            {
              "name": "Wants",
              "value": 1800
            },
            {
              "name": "Savings",
              "value": 1200
            }
          ],
          "score": 100,
          "recommendation": "on-track",
          "deviation": "aligned"
        },
        "formulaVersion": "monthly-budget-plan-htcalc-719df2c0e105",
        "units": {
          "remaining": "USD/month",
          "totalExpenses": "USD/month",
          "percentages.savings": "percent"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/budget"
    },
    {
      "slug": "savings-growth-projection",
      "name": "Savings growth by year",
      "category": "Personal finance",
      "description": "Project deposits and interest by year at a supplied rate. Monthly compounding credits monthly deposits at period end. Daily compounding distributes the same annual deposits across 365 days.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "annualRate": {
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ],
            "description": "Nominal annual savings rate. In percentage points (6.5 means 6.5%).",
            "maximum": 15,
            "minimum": 0,
            "type": "number"
          },
          "compounding": {
            "description": "Calculation frequency.",
            "enum": [
              "monthly",
              "daily"
            ],
            "type": "string"
          },
          "initialDeposit": {
            "description": "Opening savings balance. In USD.",
            "maximum": 100000000,
            "minimum": 0,
            "type": "number"
          },
          "monthlyContribution": {
            "description": "Monthly deposits. In USD per month.",
            "maximum": 10000000,
            "minimum": 0,
            "type": "number"
          },
          "years": {
            "description": "Projection horizon. In whole years.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "initialDeposit",
          "monthlyContribution",
          "annualRate",
          "years",
          "compounding"
        ],
        "type": "object"
      },
      "input": {
        "initialDeposit": 5000,
        "monthlyContribution": 500,
        "annualRate": 4.5,
        "years": 10,
        "compounding": "monthly"
      },
      "output": {
        "status": "available",
        "result": {
          "finalBalance": 83434.00071898063,
          "totalContributions": 65000,
          "totalInterest": 18434.000718980635,
          "chartData": [
            {
              "year": 1,
              "balance": 11355,
              "contributions": 11000,
              "interest": 355
            },
            {
              "year": 2,
              "balance": 18002,
              "contributions": 17000,
              "interest": 1002
            },
            {
              "year": 3,
              "balance": 24954,
              "contributions": 23000,
              "interest": 1954
            },
            {
              "year": 4,
              "balance": 32226,
              "contributions": 29000,
              "interest": 3226
            },
            {
              "year": 5,
              "balance": 39832,
              "contributions": 35000,
              "interest": 4832
            },
            {
              "year": 6,
              "balance": 47787,
              "contributions": 41000,
              "interest": 6787
            },
            {
              "year": 7,
              "balance": 56108,
              "contributions": 47000,
              "interest": 9108
            },
            {
              "year": 8,
              "balance": 64810,
              "contributions": 53000,
              "interest": 11810
            },
            {
              "year": 9,
              "balance": 73913,
              "contributions": 59000,
              "interest": 14913
            },
            {
              "year": 10,
              "balance": 83434,
              "contributions": 65000,
              "interest": 18434
            }
          ]
        },
        "formulaVersion": "savings-growth-projection-htcalc-719df2c0e105",
        "units": {
          "finalBalance": "USD",
          "totalContributions": "USD",
          "totalInterest": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/savings"
    },
    {
      "slug": "income-frequency-breakdown",
      "name": "Monthly income from multiple pay schedules",
      "category": "Personal finance",
      "description": "Convert caller-entered hourly, weekly, biweekly, semimonthly, monthly or annual income to monthly amounts and sum the income sources.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "description": "Independent manual income sources.",
            "items": {
              "additionalProperties": false,
              "if": {
                "properties": {
                  "frequency": {
                    "const": "hourly"
                  }
                }
              },
              "properties": {
                "amount": {
                  "description": "USD earned for the specified frequency.",
                  "maximum": 100000000,
                  "minimum": 0,
                  "type": "number"
                },
                "frequency": {
                  "description": "Frequency used for the entered amount.",
                  "enum": [
                    "hourly",
                    "weekly",
                    "bi-weekly",
                    "semi-monthly",
                    "monthly",
                    "annual"
                  ],
                  "type": "string"
                },
                "hoursPerWeek": {
                  "description": "Hours worked per week. Required for hourly pay and ignored for other frequencies.",
                  "maximum": 168,
                  "minimum": 0.01,
                  "type": "number"
                }
              },
              "required": [
                "amount",
                "frequency"
              ],
              "then": {
                "required": [
                  "hoursPerWeek"
                ]
              },
              "type": "object"
            },
            "maxItems": 50,
            "minItems": 1,
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "type": "object"
      },
      "input": {
        "items": [
          {
            "amount": 26,
            "frequency": "hourly",
            "hoursPerWeek": 40
          },
          {
            "amount": 1300,
            "frequency": "weekly",
            "hoursPerWeek": 40
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "monthly": [
            4506.67,
            5633.33
          ],
          "total": 10140,
          "rows": [
            4507,
            5633
          ]
        },
        "formulaVersion": "income-frequency-breakdown-htcalc-719df2c0e105",
        "units": {
          "total": "USD/month"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "debt-balance-as-of",
      "name": "Debt balance on a chosen date",
      "category": "Personal finance",
      "description": "Project an entered debt from a dated balance and scheduled payment. today is the requested as-of date. The result identifies unconfirmed payments, estimated balance and projected payoff.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "debt": {
            "additionalProperties": false,
            "properties": {
              "current_balance": {
                "description": "Outstanding balance at the anchor date. In USD.",
                "maximum": 10000000,
                "minimum": 0,
                "type": "number"
              },
              "debt_type": {
                "description": "Entered debt type.",
                "enum": [
                  "auto",
                  "student",
                  "personal",
                  "credit_card",
                  "other"
                ],
                "type": "string"
              },
              "description": {
                "description": "Short caller-selected display label.",
                "maxLength": 80,
                "minLength": 1,
                "type": "string"
              },
              "details": {
                "additionalProperties": false,
                "properties": {
                  "statement_date": {
                    "description": "Balance anchor date. Omit to use tracking.started_on. UTC calendar date, YYYY-MM-DD (1900-2199).",
                    "format": "date",
                    "maxLength": 10,
                    "minLength": 10,
                    "pattern": "^(?:19|20|21)[0-9]{2}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
                    "type": "string"
                  },
                  "tracking": {
                    "additionalProperties": false,
                    "allOf": [
                      {
                        "if": {
                          "required": [
                            "promo_apr"
                          ]
                        },
                        "then": {
                          "required": [
                            "promo_ends_on"
                          ]
                        }
                      },
                      {
                        "if": {
                          "required": [
                            "promo_ends_on"
                          ]
                        },
                        "then": {
                          "required": [
                            "promo_apr"
                          ]
                        }
                      }
                    ],
                    "properties": {
                      "balance_source": {
                        "description": "Origin of the balance observation.",
                        "enum": [
                          "entered",
                          "statement",
                          "check_in"
                        ],
                        "type": "string"
                      },
                      "closed_on": {
                        "description": "Optional payoff or closure date. UTC calendar date, YYYY-MM-DD (1900-2199).",
                        "format": "date",
                        "maxLength": 10,
                        "minLength": 10,
                        "pattern": "^(?:19|20|21)[0-9]{2}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
                        "type": "string"
                      },
                      "confirmed_through": {
                        "description": "Most recent confirmed payment due date; omit if none. UTC calendar date, YYYY-MM-DD (1900-2199).",
                        "format": "date",
                        "maxLength": 10,
                        "minLength": 10,
                        "pattern": "^(?:19|20|21)[0-9]{2}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
                        "type": "string"
                      },
                      "due_day": {
                        "description": "Day of month the payment falls due. Short months clamp to their final day.",
                        "maximum": 31,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "live": {
                        "const": true,
                        "description": "Activate the explicit-date manual projection.",
                        "type": "boolean"
                      },
                      "minimum_payment": {
                        "description": "Known minimum for the optional comparison with the chosen monthly payment. In USD per month.",
                        "maximum": 1000000,
                        "minimum": 0.01,
                        "type": "number"
                      },
                      "promo_apr": {
                        "anyOf": [
                          {
                            "const": 0
                          },
                          {
                            "minimum": 0.000001
                          }
                        ],
                        "description": "Annual promotional rate while in force. In percentage points (6.5 means 6.5%).",
                        "maximum": 100,
                        "minimum": 0,
                        "type": "number"
                      },
                      "promo_ends_on": {
                        "description": "Date on which the regular rate begins. UTC calendar date, YYYY-MM-DD (1900-2199).",
                        "format": "date",
                        "maxLength": 10,
                        "minLength": 10,
                        "pattern": "^(?:19|20|21)[0-9]{2}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
                        "type": "string"
                      },
                      "start_balance": {
                        "description": "Balance when tracking started. In USD.",
                        "maximum": 10000000,
                        "minimum": 0,
                        "type": "number"
                      },
                      "started_on": {
                        "description": "Date tracking started. UTC calendar date, YYYY-MM-DD (1900-2199).",
                        "format": "date",
                        "maxLength": 10,
                        "minLength": 10,
                        "pattern": "^(?:19|20|21)[0-9]{2}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
                        "type": "string"
                      }
                    },
                    "required": [
                      "live",
                      "due_day",
                      "start_balance",
                      "started_on"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "tracking"
                ],
                "type": "object"
              },
              "id": {
                "description": "Caller-chosen opaque debt identifier.",
                "maxLength": 64,
                "minLength": 1,
                "pattern": "^[A-Za-z0-9_-]+$",
                "type": "string"
              },
              "interest_rate": {
                "anyOf": [
                  {
                    "const": 0
                  },
                  {
                    "minimum": 0.000001
                  }
                ],
                "description": "Regular annual loan or card rate. In percentage points (6.5 means 6.5%).",
                "maximum": 100,
                "minimum": 0,
                "type": "number"
              },
              "monthly_payment": {
                "description": "Scheduled monthly payment. In USD per month.",
                "maximum": 1000000,
                "minimum": 0.01,
                "type": "number"
              }
            },
            "required": [
              "id",
              "debt_type",
              "current_balance",
              "interest_rate",
              "monthly_payment",
              "details"
            ],
            "type": "object"
          },
          "today": {
            "description": "As-of date for manual projection. UTC calendar date, YYYY-MM-DD (1900-2199).",
            "format": "date",
            "maxLength": 10,
            "minLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
            "type": "string"
          }
        },
        "required": [
          "debt",
          "today"
        ],
        "type": "object"
      },
      "input": {
        "debt": {
          "id": "example-car",
          "debt_type": "auto",
          "description": "Car",
          "current_balance": 14000,
          "interest_rate": 6.9,
          "monthly_payment": 420,
          "details": {
            "statement_date": "2026-09-24",
            "tracking": {
              "live": true,
              "due_day": 15,
              "start_balance": 14000,
              "started_on": "2026-09-24"
            }
          }
        },
        "today": "2026-10-15"
      },
      "output": {
        "status": "available",
        "result": {
          "balanceToday": 13660.5,
          "balanceKind": "estimated",
          "anchorOn": "2026-09-24",
          "nextDueOn": "2026-11-15",
          "pendingDueDates": [
            "2026-10-15"
          ],
          "monthlyInterestNow": 78.55,
          "payoffOn": "2029-11-15",
          "monthsToPayoff": 37,
          "remainingInterest": 1506.51,
          "percentPaid": 2.43,
          "notPayingDown": null,
          "promoEnding": null,
          "zeroApr": false,
          "paidOff": false,
          "mortgage": null
        },
        "formulaVersion": "debt-balance-as-of-htcalc-719df2c0e105",
        "units": {
          "balanceToday": "USD",
          "monthlyInterestNow": "USD/month",
          "monthsToPayoff": "months",
          "remainingInterest": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "debt-portfolio-as-of",
      "name": "Debt portfolio on a chosen date",
      "category": "Personal finance",
      "description": "Combine entered active debts at an explicit as-of date, with consolidated payments, balances and a projected debt-free date.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "debts": {
            "description": "Up to four dated manual debt records; use distinct debt identifiers.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "current_balance": {
                  "description": "Outstanding balance at the anchor date. In USD.",
                  "maximum": 10000000,
                  "minimum": 0,
                  "type": "number"
                },
                "debt_type": {
                  "description": "Entered debt type.",
                  "enum": [
                    "auto",
                    "student",
                    "personal",
                    "credit_card",
                    "other"
                  ],
                  "type": "string"
                },
                "description": {
                  "description": "Short caller-selected display label.",
                  "maxLength": 80,
                  "minLength": 1,
                  "type": "string"
                },
                "details": {
                  "additionalProperties": false,
                  "properties": {
                    "statement_date": {
                      "description": "Balance anchor date. Omit to use tracking.started_on. UTC calendar date, YYYY-MM-DD (1900-2199).",
                      "format": "date",
                      "maxLength": 10,
                      "minLength": 10,
                      "pattern": "^(?:19|20|21)[0-9]{2}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
                      "type": "string"
                    },
                    "tracking": {
                      "additionalProperties": false,
                      "allOf": [
                        {
                          "if": {
                            "required": [
                              "promo_apr"
                            ]
                          },
                          "then": {
                            "required": [
                              "promo_ends_on"
                            ]
                          }
                        },
                        {
                          "if": {
                            "required": [
                              "promo_ends_on"
                            ]
                          },
                          "then": {
                            "required": [
                              "promo_apr"
                            ]
                          }
                        }
                      ],
                      "properties": {
                        "balance_source": {
                          "description": "Origin of the balance observation.",
                          "enum": [
                            "entered",
                            "statement",
                            "check_in"
                          ],
                          "type": "string"
                        },
                        "closed_on": {
                          "description": "Optional payoff or closure date. UTC calendar date, YYYY-MM-DD (1900-2199).",
                          "format": "date",
                          "maxLength": 10,
                          "minLength": 10,
                          "pattern": "^(?:19|20|21)[0-9]{2}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
                          "type": "string"
                        },
                        "confirmed_through": {
                          "description": "Most recent confirmed payment due date; omit if none. UTC calendar date, YYYY-MM-DD (1900-2199).",
                          "format": "date",
                          "maxLength": 10,
                          "minLength": 10,
                          "pattern": "^(?:19|20|21)[0-9]{2}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
                          "type": "string"
                        },
                        "due_day": {
                          "description": "Day of month the payment falls due. Short months clamp to their final day.",
                          "maximum": 31,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "live": {
                          "const": true,
                          "description": "Activate the explicit-date manual projection.",
                          "type": "boolean"
                        },
                        "minimum_payment": {
                          "description": "Known minimum for the optional comparison with the chosen monthly payment. In USD per month.",
                          "maximum": 1000000,
                          "minimum": 0.01,
                          "type": "number"
                        },
                        "promo_apr": {
                          "anyOf": [
                            {
                              "const": 0
                            },
                            {
                              "minimum": 0.000001
                            }
                          ],
                          "description": "Annual promotional rate while in force. In percentage points (6.5 means 6.5%).",
                          "maximum": 100,
                          "minimum": 0,
                          "type": "number"
                        },
                        "promo_ends_on": {
                          "description": "Date on which the regular rate begins. UTC calendar date, YYYY-MM-DD (1900-2199).",
                          "format": "date",
                          "maxLength": 10,
                          "minLength": 10,
                          "pattern": "^(?:19|20|21)[0-9]{2}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
                          "type": "string"
                        },
                        "start_balance": {
                          "description": "Balance when tracking started. In USD.",
                          "maximum": 10000000,
                          "minimum": 0,
                          "type": "number"
                        },
                        "started_on": {
                          "description": "Date tracking started. UTC calendar date, YYYY-MM-DD (1900-2199).",
                          "format": "date",
                          "maxLength": 10,
                          "minLength": 10,
                          "pattern": "^(?:19|20|21)[0-9]{2}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "live",
                        "due_day",
                        "start_balance",
                        "started_on"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "tracking"
                  ],
                  "type": "object"
                },
                "id": {
                  "description": "Caller-chosen opaque debt identifier.",
                  "maxLength": 64,
                  "minLength": 1,
                  "pattern": "^[A-Za-z0-9_-]+$",
                  "type": "string"
                },
                "interest_rate": {
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ],
                  "description": "Regular annual loan or card rate. In percentage points (6.5 means 6.5%).",
                  "maximum": 100,
                  "minimum": 0,
                  "type": "number"
                },
                "monthly_payment": {
                  "description": "Scheduled monthly payment. In USD per month.",
                  "maximum": 1000000,
                  "minimum": 0.01,
                  "type": "number"
                }
              },
              "required": [
                "id",
                "debt_type",
                "current_balance",
                "interest_rate",
                "monthly_payment",
                "details"
              ],
              "type": "object"
            },
            "maxItems": 4,
            "minItems": 1,
            "type": "array"
          },
          "today": {
            "description": "Shared as-of date for all entered debts. UTC calendar date, YYYY-MM-DD (1900-2199).",
            "format": "date",
            "maxLength": 10,
            "minLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12][0-9]|3[01])$",
            "type": "string"
          }
        },
        "required": [
          "debts",
          "today"
        ],
        "type": "object"
      },
      "input": {
        "debts": [
          {
            "id": "example-car",
            "debt_type": "auto",
            "description": "Car",
            "current_balance": 14000,
            "interest_rate": 6.9,
            "monthly_payment": 420,
            "details": {
              "statement_date": "2026-09-24",
              "tracking": {
                "live": true,
                "due_day": 15,
                "start_balance": 14000,
                "started_on": "2026-09-24"
              }
            }
          },
          {
            "id": "example-card",
            "debt_type": "credit_card",
            "description": "Card",
            "current_balance": 3100,
            "interest_rate": 24.99,
            "monthly_payment": 95,
            "details": {
              "statement_date": "2026-09-10",
              "tracking": {
                "live": true,
                "due_day": 1,
                "start_balance": 3100,
                "started_on": "2026-09-10"
              }
            }
          }
        ],
        "today": "2026-09-24"
      },
      "output": {
        "status": "available",
        "result": {
          "totalBalance": 17100,
          "totalMonthlyPayments": 515,
          "debtFreeOn": "2031-05-01",
          "interestSavedVsMinimum": null,
          "anyEstimated": true
        },
        "formulaVersion": "debt-portfolio-as-of-htcalc-719df2c0e105",
        "units": {
          "totalBalance": "USD",
          "totalMonthlyPayments": "USD/month",
          "interestSavedVsMinimum": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "credit-card-interest-rate-estimate",
      "name": "Statement-based credit card rate estimate",
      "category": "Personal finance",
      "description": "Estimate an annual percentage from the entered interest charge and the average of two statement balances. The result is an estimate based on twelve equal billing periods.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "currentBalance": {
            "description": "Closing statement balance. In USD.",
            "maximum": 10000000,
            "minimum": 0,
            "type": "number"
          },
          "interestCharged": {
            "description": "Interest charged for the period. In USD.",
            "maximum": 1000000,
            "minimum": 0.01,
            "type": "number"
          },
          "previousBalance": {
            "description": "Opening statement balance. In USD.",
            "maximum": 10000000,
            "minimum": 0.01,
            "type": "number"
          }
        },
        "required": [
          "previousBalance",
          "currentBalance",
          "interestCharged"
        ],
        "type": "object"
      },
      "input": {
        "previousBalance": 3000,
        "currentBalance": 3200,
        "interestCharged": 62
      },
      "output": {
        "status": "available",
        "result": {
          "value": 24
        },
        "formulaVersion": "credit-card-interest-rate-estimate-htcalc-719df2c0e105",
        "units": {
          "value": "percent"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "remaining-loan-payments",
      "name": "Remaining loan payments",
      "category": "Personal finance",
      "description": "Estimate the number of whole monthly installments needed to clear the supplied balance at the entered payment and annual percentage rate.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "aprPercent": {
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ],
            "description": "Annual loan rate. In percentage points (6.5 means 6.5%).",
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "balance": {
            "description": "Current loan balance. In USD.",
            "maximum": 10000000,
            "minimum": 0.01,
            "type": "number"
          },
          "payment": {
            "description": "Recurring installment. In USD per month.",
            "maximum": 1000000,
            "minimum": 0.01,
            "type": "number"
          }
        },
        "required": [
          "balance",
          "payment",
          "aprPercent"
        ],
        "type": "object"
      },
      "input": {
        "balance": 1200,
        "payment": 100,
        "aprPercent": 0
      },
      "output": {
        "status": "available",
        "result": {
          "value": 12
        },
        "formulaVersion": "remaining-loan-payments-htcalc-719df2c0e105",
        "units": {
          "value": "months"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-verified-balance-projection",
      "name": "Financial Hub verified balance projection",
      "category": "Financial Hub",
      "description": "Estimate a debt balance from a dated manual observation. Preserve observed balance, freshness, projection fit, elapsed months and actually applied payment count.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "optionId": {
            "type": "string",
            "enum": [
              "primary-mortgage",
              "auto-loan",
              "personal-loan",
              "business-loan",
              "bnpl-plan",
              "student-loans",
              "heloc",
              "tax-debt",
              "medical-debt",
              "collections",
              "credit-cards",
              "family-private-debt",
              "other-debt"
            ]
          },
          "nowDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
          },
          "verifiedBalance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000,
            "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          },
          "verifiedAsOfDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
          },
          "annualRatePercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate as percentage points (6.5 means 6.5%)."
          },
          "monthlyPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000,
            "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          },
          "extraMonthlyPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000,
            "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          }
        },
        "required": [
          "optionId",
          "nowDate"
        ],
        "additionalProperties": false,
        "description": "Manual debt intake in USD. Supply the dated verified balance, APR and monthly principal-and-interest payment to enable projection on eligible debt types."
      },
      "input": {
        "optionId": "auto-loan",
        "nowDate": "2026-05-01",
        "verifiedBalance": 150,
        "verifiedAsOfDate": "2026-01-01",
        "annualRatePercent": 0,
        "monthlyPayment": 100
      },
      "output": {
        "status": "available",
        "result": {
          "source_type": "manual",
          "source_label": "Manual Input",
          "last_verified_date": "2026-01-01",
          "verified_balance": 150,
          "projected_balance": 0,
          "projected_as_of_date": "2026-05-01",
          "projection_elapsed_periods": 4,
          "projected_payment_count": 2,
          "balance_kind": "projected",
          "freshness": "refresh_recommended",
          "requires_refresh": true,
          "projection_fit": "strong",
          "trackability": "auto_projectable",
          "disclosure": "Verified balance is preserved; projected balance is for planning only until refreshed."
        },
        "formulaVersion": "financial-hub-verified-balance-projection-v1",
        "units": {
          "money": "USD"
        },
        "assumptions": [
          "Manual entries only. Weak-fit or incomplete inputs retain their observed or missing status. Amounts use USD."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-liability-progress",
      "name": "Financial Hub liability progress",
      "category": "Financial Hub",
      "description": "Aggregate principal repaid and remaining, card utilization, individual payoff progress and whole-dollar figures that add up as printed on the Hub.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "accounts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 48,
                  "pattern": "^[A-Za-z0-9_-]+$",
                  "description": "Caller-defined, nonidentifying key within this request."
                },
                "accountType": {
                  "type": "string",
                  "enum": [
                    "checking",
                    "savings",
                    "cash",
                    "investment",
                    "retirement",
                    "money_market",
                    "cd",
                    "crypto",
                    "property",
                    "vehicle",
                    "collectible",
                    "business_interest",
                    "other",
                    "credit_card",
                    "mortgage",
                    "auto_loan",
                    "student_loan",
                    "personal_loan",
                    "loan",
                    "heloc",
                    "home_equity_loan"
                  ]
                },
                "archived": {
                  "type": "boolean"
                },
                "currentBalance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ]
                },
                "projectedBalance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ]
                },
                "originalPrincipal": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ]
                },
                "creditLimit": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ]
                }
              },
              "required": [
                "key",
                "accountType",
                "currentBalance"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 128
          }
        },
        "required": [
          "accounts"
        ],
        "additionalProperties": false
      },
      "input": {
        "accounts": [
          {
            "key": "loan",
            "accountType": "auto_loan",
            "currentBalance": 70,
            "projectedBalance": 80.6,
            "originalPrincipal": 100.4
          },
          {
            "key": "card",
            "accountType": "credit_card",
            "currentBalance": 70.6,
            "creditLimit": 50
          },
          {
            "key": "skip",
            "accountType": "loan",
            "archived": true,
            "currentBalance": 400,
            "originalPrincipal": 500
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "totalOriginalPrincipal": 100.4,
          "totalCurrentLoanBalance": 80.6,
          "totalDebtPaidOff": 19.80000000000001,
          "overallLoanPayoffProgress": 19.721115537848615,
          "printed": {
            "liabilities": 152,
            "original": 100,
            "remaining": 81,
            "paidOff": 19
          },
          "accounts": [
            {
              "key": "loan",
              "balance": 80.6,
              "progressKind": "paid",
              "progressPercent": 19.721115537848615
            },
            {
              "key": "card",
              "balance": 70.6,
              "progressKind": "utilized",
              "progressPercent": 141.2
            }
          ]
        },
        "formulaVersion": "financial-hub-liability-progress-v1",
        "units": {
          "money": "USD",
          "progressPercent": "percent",
          "overallLoanPayoffProgress": "percent"
        },
        "assumptions": [
          "Use projected balances where supplied. Exclude archived accounts and assets. Only non-card loans with recorded positive original principal enter the overall payoff calculation."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-account-ledger",
      "name": "Financial Hub account ledger",
      "category": "Financial Hub",
      "description": "Project one manual account from balance observations, revisions of terms and dated activity. Includes model limits, freshness and the anchor used.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "asOfDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
          },
          "currency": {
            "type": "string",
            "enum": [
              "USD",
              "CAD",
              "EUR",
              "GBP",
              "AUD",
              "NZD",
              "CHF",
              "CNY",
              "INR",
              "BRL",
              "MXN",
              "JPY",
              "BHD",
              "JOD",
              "KWD",
              "OMR"
            ],
            "description": "One supported currency per request. The app rounds JPY to 0 decimals, BHD/JOD/KWD/OMR to 3 and the remaining supported codes to 2. No FX conversion."
          },
          "ledger": {
            "type": "object",
            "properties": {
              "account": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 48,
                    "pattern": "^[A-Za-z0-9_-]+$",
                    "description": "Caller-defined, nonidentifying key within this request."
                  },
                  "accountType": {
                    "type": "string",
                    "enum": [
                      "credit_card",
                      "mortgage",
                      "auto_loan",
                      "student_loan",
                      "personal_loan",
                      "loan",
                      "heloc",
                      "home_equity_loan",
                      "checking",
                      "savings",
                      "cash",
                      "investment",
                      "retirement",
                      "money_market",
                      "cd",
                      "crypto",
                      "property",
                      "vehicle",
                      "collectible",
                      "business_interest",
                      "other"
                    ]
                  },
                  "accountClass": {
                    "type": "string",
                    "enum": [
                      "asset",
                      "liability"
                    ]
                  },
                  "calculationModel": {
                    "type": "string",
                    "enum": [
                      "fixed_amortizing",
                      "daily_interest",
                      "adjustable_rate",
                      "interest_only",
                      "balloon",
                      "revolving",
                      "deposit",
                      "investment",
                      "cash_flow",
                      "observed_value"
                    ]
                  },
                  "ownershipPercentage": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Percentage points from 0 through 100."
                  }
                },
                "required": [
                  "id",
                  "accountType",
                  "accountClass",
                  "calculationModel"
                ],
                "additionalProperties": false,
                "description": "Caller supplies the model. Ownership defaults to 100%; used in the snapshot only."
              },
              "observations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 48,
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "description": "Caller-defined, nonidentifying key within this request."
                    },
                    "observedOn": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "value": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "valueKind": {
                      "type": "string",
                      "enum": [
                        "verified",
                        "estimated"
                      ]
                    },
                    "supersedesId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 48,
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "description": "Caller-defined, nonidentifying key within this request."
                    }
                  },
                  "required": [
                    "id",
                    "observedOn",
                    "value",
                    "valueKind"
                  ],
                  "additionalProperties": false,
                  "description": "Manual balance point. Verified means the caller confirmed it."
                },
                "minItems": 1,
                "maxItems": 48
              },
              "terms": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 100000,
                      "description": "Effective term revision number."
                    },
                    "effectiveFrom": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "effectiveTo": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "rateType": {
                      "type": "string",
                      "enum": [
                        "none",
                        "fixed",
                        "variable",
                        "adjustable",
                        "promotional"
                      ]
                    },
                    "rateBasis": {
                      "type": "string",
                      "enum": [
                        "apr",
                        "apy",
                        "nominal"
                      ]
                    },
                    "annualRate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Annual rate as percentage points (6.5 means 6.5%)."
                    },
                    "interestConvention": {
                      "type": "string",
                      "enum": [
                        "none",
                        "daily_365",
                        "daily_360",
                        "monthly",
                        "statement_cycle"
                      ]
                    },
                    "compoundingFrequency": {
                      "type": "string",
                      "enum": [
                        "none",
                        "daily",
                        "monthly",
                        "quarterly",
                        "semiannual",
                        "annual"
                      ]
                    },
                    "paymentFrequency": {
                      "type": "string",
                      "enum": [
                        "weekly",
                        "biweekly",
                        "semimonthly",
                        "monthly",
                        "quarterly",
                        "annual"
                      ]
                    },
                    "scheduledPayment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "minimumPayment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "maturityDate": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "dueDay": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 31,
                      "description": "Day of month; clamped in short months."
                    },
                    "promotionalRateExpiresOn": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "armNextResetOn": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "interestOnlyUntil": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    }
                  },
                  "required": [
                    "version",
                    "effectiveFrom",
                    "rateType"
                  ],
                  "additionalProperties": false,
                  "description": "Effective debt or deposit terms. Unknown assumed rate changes stop a projection. A missing rate/frequency yields engine warnings."
                },
                "minItems": 0,
                "maxItems": 24
              },
              "events": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "idempotencyKey": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 48,
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "description": "Caller-defined, nonidentifying key within this request."
                    },
                    "occurredOn": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "eventType": {
                      "type": "string",
                      "enum": [
                        "payment",
                        "extra_payment",
                        "missed_payment",
                        "contribution",
                        "withdrawal",
                        "purchase",
                        "fee",
                        "rate_change",
                        "payment_change",
                        "capitalization",
                        "correction"
                      ]
                    },
                    "amount": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000,
                      "description": "Signed amount in currency major units; a correction may decrease the balance."
                    },
                    "newRate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Annual rate as percentage points (6.5 means 6.5%)."
                    },
                    "newPayment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    }
                  },
                  "required": [
                    "idempotencyKey",
                    "occurredOn",
                    "eventType"
                  ],
                  "additionalProperties": false,
                  "description": "A recorded activity. Amount for monetary events, signed amount for correction, newRate for rate_change, newPayment for payment_change, no amount for missed_payment. Identical repeated keys count once."
                },
                "minItems": 0,
                "maxItems": 128
              }
            },
            "required": [
              "account",
              "observations"
            ],
            "additionalProperties": false,
            "description": "Single account history. Supply an observation on or before the snapshot date; raw account projection preserves the engine warning for earlier dates."
          }
        },
        "required": [
          "asOfDate",
          "currency",
          "ledger"
        ],
        "additionalProperties": false
      },
      "input": {
        "asOfDate": "2026-03-01",
        "currency": "USD",
        "ledger": {
          "account": {
            "id": "cash",
            "accountClass": "asset",
            "accountType": "checking",
            "calculationModel": "observed_value",
            "ownershipPercentage": 50
          },
          "observations": [
            {
              "id": "orig",
              "observedOn": "2026-01-01",
              "value": 10,
              "valueKind": "verified"
            },
            {
              "id": "fix",
              "observedOn": "2026-01-01",
              "value": 500,
              "valueKind": "verified",
              "supersedesId": "orig"
            }
          ],
          "events": [
            {
              "occurredOn": "2026-02-02",
              "eventType": "fee",
              "amount": 3,
              "idempotencyKey": "fee-Feb"
            },
            {
              "occurredOn": "2026-02-02",
              "eventType": "fee",
              "amount": 3,
              "idempotencyKey": "fee-Feb"
            },
            {
              "occurredOn": "2026-02-28",
              "eventType": "withdrawal",
              "amount": 50,
              "idempotencyKey": "transfer"
            }
          ]
        }
      },
      "output": {
        "status": "available",
        "result": {
          "accountId": "cash",
          "asOfDate": "2026-03-01",
          "projectedThroughDate": "2026-02-28",
          "value": 447,
          "currency": "USD",
          "principalComponent": 0,
          "interestComponent": 0,
          "feeComponent": 3,
          "contributionComponent": 0,
          "withdrawalComponent": 50,
          "valueKind": "projected",
          "freshness": "refresh_due",
          "anchorObservation": {
            "id": "fix",
            "observedOn": "2026-01-01",
            "value": 500,
            "valueKind": "verified",
            "supersedesId": "orig",
            "accountId": "cash",
            "currency": "USD",
            "source": "manual"
          },
          "termVersion": null,
          "assumptions": [
            {
              "code": "observation_anchor",
              "message": "Started from the verified value dated 2026-01-01.",
              "source": "observation"
            }
          ],
          "warnings": [
            {
              "code": "refresh_required",
              "message": "This account is refresh due and should be refreshed."
            }
          ]
        },
        "formulaVersion": "financial-hub-account-ledger-v1",
        "units": {
          "money": "currency major units"
        },
        "assumptions": [
          "Ownership is applied only when constructing the snapshot. Investment balances use recorded activity without assumed returns. Dates use UTC."
        ],
        "warnings": [
          "This account is refresh due and should be refreshed."
        ],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-debt-schedule",
      "name": "Financial Hub dated debt schedule",
      "category": "Financial Hub",
      "description": "Return the scheduled and recorded debt ledger rows, including payment splits, interest conventions, missed payments and effective rate cutoffs.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "asOfDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
          },
          "currency": {
            "type": "string",
            "enum": [
              "USD",
              "CAD",
              "EUR",
              "GBP",
              "AUD",
              "NZD",
              "CHF",
              "CNY",
              "INR",
              "BRL",
              "MXN",
              "JPY",
              "BHD",
              "JOD",
              "KWD",
              "OMR"
            ],
            "description": "One supported currency per request. The app rounds JPY to 0 decimals, BHD/JOD/KWD/OMR to 3 and the remaining supported codes to 2. No FX conversion."
          },
          "ledger": {
            "type": "object",
            "properties": {
              "account": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 48,
                    "pattern": "^[A-Za-z0-9_-]+$",
                    "description": "Caller-defined, nonidentifying key within this request."
                  },
                  "accountType": {
                    "type": "string",
                    "enum": [
                      "credit_card",
                      "mortgage",
                      "auto_loan",
                      "student_loan",
                      "personal_loan",
                      "loan",
                      "heloc",
                      "home_equity_loan",
                      "checking",
                      "savings",
                      "cash",
                      "investment",
                      "retirement",
                      "money_market",
                      "cd",
                      "crypto",
                      "property",
                      "vehicle",
                      "collectible",
                      "business_interest",
                      "other"
                    ]
                  },
                  "accountClass": {
                    "type": "string",
                    "enum": [
                      "asset",
                      "liability"
                    ]
                  },
                  "calculationModel": {
                    "type": "string",
                    "enum": [
                      "fixed_amortizing",
                      "daily_interest",
                      "adjustable_rate",
                      "interest_only",
                      "balloon",
                      "revolving",
                      "deposit",
                      "investment",
                      "cash_flow",
                      "observed_value"
                    ]
                  },
                  "ownershipPercentage": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Percentage points from 0 through 100."
                  }
                },
                "required": [
                  "id",
                  "accountType",
                  "accountClass",
                  "calculationModel"
                ],
                "additionalProperties": false,
                "description": "Caller supplies the model. Ownership defaults to 100%; used in the snapshot only."
              },
              "observations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 48,
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "description": "Caller-defined, nonidentifying key within this request."
                    },
                    "observedOn": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "value": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "valueKind": {
                      "type": "string",
                      "enum": [
                        "verified",
                        "estimated"
                      ]
                    },
                    "supersedesId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 48,
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "description": "Caller-defined, nonidentifying key within this request."
                    }
                  },
                  "required": [
                    "id",
                    "observedOn",
                    "value",
                    "valueKind"
                  ],
                  "additionalProperties": false,
                  "description": "Manual balance point. Verified means the caller confirmed it."
                },
                "minItems": 1,
                "maxItems": 48
              },
              "terms": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 100000,
                      "description": "Effective term revision number."
                    },
                    "effectiveFrom": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "effectiveTo": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "rateType": {
                      "type": "string",
                      "enum": [
                        "none",
                        "fixed",
                        "variable",
                        "adjustable",
                        "promotional"
                      ]
                    },
                    "rateBasis": {
                      "type": "string",
                      "enum": [
                        "apr",
                        "apy",
                        "nominal"
                      ]
                    },
                    "annualRate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Annual rate as percentage points (6.5 means 6.5%)."
                    },
                    "interestConvention": {
                      "type": "string",
                      "enum": [
                        "none",
                        "daily_365",
                        "daily_360",
                        "monthly",
                        "statement_cycle"
                      ]
                    },
                    "compoundingFrequency": {
                      "type": "string",
                      "enum": [
                        "none",
                        "daily",
                        "monthly",
                        "quarterly",
                        "semiannual",
                        "annual"
                      ]
                    },
                    "paymentFrequency": {
                      "type": "string",
                      "enum": [
                        "weekly",
                        "biweekly",
                        "semimonthly",
                        "monthly",
                        "quarterly",
                        "annual"
                      ]
                    },
                    "scheduledPayment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "minimumPayment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "maturityDate": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "dueDay": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 31,
                      "description": "Day of month; clamped in short months."
                    },
                    "promotionalRateExpiresOn": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "armNextResetOn": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "interestOnlyUntil": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    }
                  },
                  "required": [
                    "version",
                    "effectiveFrom",
                    "rateType"
                  ],
                  "additionalProperties": false,
                  "description": "Effective debt or deposit terms. Unknown assumed rate changes stop a projection. A missing rate/frequency yields engine warnings."
                },
                "minItems": 0,
                "maxItems": 24
              },
              "events": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "idempotencyKey": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 48,
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "description": "Caller-defined, nonidentifying key within this request."
                    },
                    "occurredOn": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "eventType": {
                      "type": "string",
                      "enum": [
                        "payment",
                        "extra_payment",
                        "missed_payment",
                        "contribution",
                        "withdrawal",
                        "purchase",
                        "fee",
                        "rate_change",
                        "payment_change",
                        "capitalization",
                        "correction"
                      ]
                    },
                    "amount": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000,
                      "description": "Signed amount in currency major units; a correction may decrease the balance."
                    },
                    "newRate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Annual rate as percentage points (6.5 means 6.5%)."
                    },
                    "newPayment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    }
                  },
                  "required": [
                    "idempotencyKey",
                    "occurredOn",
                    "eventType"
                  ],
                  "additionalProperties": false,
                  "description": "A recorded activity. Amount for monetary events, signed amount for correction, newRate for rate_change, newPayment for payment_change, no amount for missed_payment. Identical repeated keys count once."
                },
                "minItems": 0,
                "maxItems": 128
              }
            },
            "required": [
              "account",
              "observations"
            ],
            "additionalProperties": false,
            "description": "Single account history. Supply an observation on or before the snapshot date; raw account projection preserves the engine warning for earlier dates."
          }
        },
        "required": [
          "asOfDate",
          "currency",
          "ledger"
        ],
        "additionalProperties": false
      },
      "input": {
        "asOfDate": "2026-03-01",
        "currency": "USD",
        "ledger": {
          "account": {
            "id": "loan",
            "accountClass": "liability",
            "accountType": "auto_loan",
            "calculationModel": "fixed_amortizing",
            "ownershipPercentage": 100
          },
          "observations": [
            {
              "id": "a",
              "observedOn": "2026-01-01",
              "value": 1000,
              "valueKind": "verified"
            }
          ],
          "terms": [
            {
              "version": 1,
              "effectiveFrom": "2026-01-01",
              "rateType": "fixed",
              "annualRate": 12,
              "paymentFrequency": "monthly",
              "scheduledPayment": 100,
              "dueDay": 1
            }
          ],
          "events": [
            {
              "occurredOn": "2026-02-01",
              "eventType": "missed_payment",
              "idempotencyKey": "missed-Feb"
            }
          ]
        }
      },
      "output": {
        "status": "available",
        "result": {
          "rows": [
            {
              "date": "2026-02-01",
              "interest": 10,
              "payment": 0,
              "principal": 0,
              "balance": 1010,
              "recorded": true,
              "missed": true
            },
            {
              "date": "2026-03-01",
              "interest": 10.1,
              "payment": 100,
              "principal": 89.9,
              "balance": 920.1,
              "recorded": false,
              "missed": false
            }
          ],
          "warnings": [
            {
              "code": "negative_amortization",
              "message": "A missed scheduled payment caused unpaid interest to be added to the balance."
            }
          ],
          "projectedThroughDate": "2026-03-01",
          "anchor": {
            "id": "a",
            "observedOn": "2026-01-01",
            "value": 1000,
            "valueKind": "verified",
            "accountId": "loan",
            "currency": "USD",
            "source": "manual"
          }
        },
        "formulaVersion": "financial-hub-debt-schedule-v1",
        "units": {
          "money": "currency major units"
        },
        "assumptions": [
          "Rows retain engine precision. A dated event or target can produce a row in addition to scheduled due dates."
        ],
        "warnings": [
          "A missed scheduled payment caused unpaid interest to be added to the balance."
        ],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-statement-reconciliation",
      "name": "Financial Hub statement reconciliation",
      "category": "Financial Hub",
      "description": "Compare a caller-provided balance with the projected balance of the same account on the statement date.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string",
            "enum": [
              "USD",
              "CAD",
              "EUR",
              "GBP",
              "AUD",
              "NZD",
              "CHF",
              "CNY",
              "INR",
              "BRL",
              "MXN",
              "JPY",
              "BHD",
              "JOD",
              "KWD",
              "OMR"
            ],
            "description": "One supported currency per request. The app rounds JPY to 0 decimals, BHD/JOD/KWD/OMR to 3 and the remaining supported codes to 2. No FX conversion."
          },
          "ledger": {
            "type": "object",
            "properties": {
              "account": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 48,
                    "pattern": "^[A-Za-z0-9_-]+$",
                    "description": "Caller-defined, nonidentifying key within this request."
                  },
                  "accountType": {
                    "type": "string",
                    "enum": [
                      "credit_card",
                      "mortgage",
                      "auto_loan",
                      "student_loan",
                      "personal_loan",
                      "loan",
                      "heloc",
                      "home_equity_loan",
                      "checking",
                      "savings",
                      "cash",
                      "investment",
                      "retirement",
                      "money_market",
                      "cd",
                      "crypto",
                      "property",
                      "vehicle",
                      "collectible",
                      "business_interest",
                      "other"
                    ]
                  },
                  "accountClass": {
                    "type": "string",
                    "enum": [
                      "asset",
                      "liability"
                    ]
                  },
                  "calculationModel": {
                    "type": "string",
                    "enum": [
                      "fixed_amortizing",
                      "daily_interest",
                      "adjustable_rate",
                      "interest_only",
                      "balloon",
                      "revolving",
                      "deposit",
                      "investment",
                      "cash_flow",
                      "observed_value"
                    ]
                  },
                  "ownershipPercentage": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Percentage points from 0 through 100."
                  }
                },
                "required": [
                  "id",
                  "accountType",
                  "accountClass",
                  "calculationModel"
                ],
                "additionalProperties": false,
                "description": "Caller supplies the model. Ownership defaults to 100%; used in the snapshot only."
              },
              "observations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 48,
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "description": "Caller-defined, nonidentifying key within this request."
                    },
                    "observedOn": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "value": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "valueKind": {
                      "type": "string",
                      "enum": [
                        "verified",
                        "estimated"
                      ]
                    },
                    "supersedesId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 48,
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "description": "Caller-defined, nonidentifying key within this request."
                    }
                  },
                  "required": [
                    "id",
                    "observedOn",
                    "value",
                    "valueKind"
                  ],
                  "additionalProperties": false,
                  "description": "Manual balance point. Verified means the caller confirmed it."
                },
                "minItems": 1,
                "maxItems": 48
              },
              "terms": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 100000,
                      "description": "Effective term revision number."
                    },
                    "effectiveFrom": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "effectiveTo": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "rateType": {
                      "type": "string",
                      "enum": [
                        "none",
                        "fixed",
                        "variable",
                        "adjustable",
                        "promotional"
                      ]
                    },
                    "rateBasis": {
                      "type": "string",
                      "enum": [
                        "apr",
                        "apy",
                        "nominal"
                      ]
                    },
                    "annualRate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Annual rate as percentage points (6.5 means 6.5%)."
                    },
                    "interestConvention": {
                      "type": "string",
                      "enum": [
                        "none",
                        "daily_365",
                        "daily_360",
                        "monthly",
                        "statement_cycle"
                      ]
                    },
                    "compoundingFrequency": {
                      "type": "string",
                      "enum": [
                        "none",
                        "daily",
                        "monthly",
                        "quarterly",
                        "semiannual",
                        "annual"
                      ]
                    },
                    "paymentFrequency": {
                      "type": "string",
                      "enum": [
                        "weekly",
                        "biweekly",
                        "semimonthly",
                        "monthly",
                        "quarterly",
                        "annual"
                      ]
                    },
                    "scheduledPayment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "minimumPayment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "maturityDate": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "dueDay": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 31,
                      "description": "Day of month; clamped in short months."
                    },
                    "promotionalRateExpiresOn": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "armNextResetOn": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "interestOnlyUntil": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    }
                  },
                  "required": [
                    "version",
                    "effectiveFrom",
                    "rateType"
                  ],
                  "additionalProperties": false,
                  "description": "Effective debt or deposit terms. Unknown assumed rate changes stop a projection. A missing rate/frequency yields engine warnings."
                },
                "minItems": 0,
                "maxItems": 24
              },
              "events": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "idempotencyKey": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 48,
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "description": "Caller-defined, nonidentifying key within this request."
                    },
                    "occurredOn": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "eventType": {
                      "type": "string",
                      "enum": [
                        "payment",
                        "extra_payment",
                        "missed_payment",
                        "contribution",
                        "withdrawal",
                        "purchase",
                        "fee",
                        "rate_change",
                        "payment_change",
                        "capitalization",
                        "correction"
                      ]
                    },
                    "amount": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000,
                      "description": "Signed amount in currency major units; a correction may decrease the balance."
                    },
                    "newRate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Annual rate as percentage points (6.5 means 6.5%)."
                    },
                    "newPayment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    }
                  },
                  "required": [
                    "idempotencyKey",
                    "occurredOn",
                    "eventType"
                  ],
                  "additionalProperties": false,
                  "description": "A recorded activity. Amount for monetary events, signed amount for correction, newRate for rate_change, newPayment for payment_change, no amount for missed_payment. Identical repeated keys count once."
                },
                "minItems": 0,
                "maxItems": 128
              }
            },
            "required": [
              "account",
              "observations"
            ],
            "additionalProperties": false,
            "description": "Single account history. Supply an observation on or before the snapshot date; raw account projection preserves the engine warning for earlier dates."
          },
          "observation": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 48,
                "pattern": "^[A-Za-z0-9_-]+$",
                "description": "Caller-defined, nonidentifying key within this request."
              },
              "observedOn": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
              },
              "value": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000,
                "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                "anyOf": [
                  {
                    "const": 0
                  },
                  {
                    "minimum": 0.000001
                  }
                ]
              },
              "valueKind": {
                "type": "string",
                "enum": [
                  "verified",
                  "estimated"
                ]
              },
              "supersedesId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 48,
                "pattern": "^[A-Za-z0-9_-]+$",
                "description": "Caller-defined, nonidentifying key within this request."
              }
            },
            "required": [
              "id",
              "observedOn",
              "value",
              "valueKind"
            ],
            "additionalProperties": false,
            "description": "Manual balance point. Verified means the caller confirmed it."
          },
          "reason": {
            "type": "string",
            "enum": [
              "extra_payment",
              "fee",
              "rate_change",
              "timing",
              "missed_payment",
              "new_activity",
              "not_sure"
            ]
          }
        },
        "required": [
          "currency",
          "ledger",
          "observation"
        ],
        "additionalProperties": false,
        "description": "Compare a new caller-entered statement balance with the projection on its date."
      },
      "input": {
        "currency": "USD",
        "ledger": {
          "account": {
            "id": "cash",
            "accountClass": "asset",
            "accountType": "checking",
            "calculationModel": "observed_value",
            "ownershipPercentage": 50
          },
          "observations": [
            {
              "id": "orig",
              "observedOn": "2026-01-01",
              "value": 10,
              "valueKind": "verified"
            },
            {
              "id": "fix",
              "observedOn": "2026-01-01",
              "value": 500,
              "valueKind": "verified",
              "supersedesId": "orig"
            }
          ],
          "events": [
            {
              "occurredOn": "2026-02-02",
              "eventType": "fee",
              "amount": 3,
              "idempotencyKey": "fee-Feb"
            },
            {
              "occurredOn": "2026-02-02",
              "eventType": "fee",
              "amount": 3,
              "idempotencyKey": "fee-Feb"
            },
            {
              "occurredOn": "2026-02-28",
              "eventType": "withdrawal",
              "amount": 50,
              "idempotencyKey": "transfer"
            }
          ]
        },
        "observation": {
          "id": "latest",
          "observedOn": "2026-03-01",
          "value": 440,
          "valueKind": "verified"
        },
        "reason": "fee"
      },
      "output": {
        "status": "available",
        "result": {
          "accountId": "cash",
          "projection": {
            "accountId": "cash",
            "asOfDate": "2026-03-01",
            "projectedThroughDate": "2026-02-28",
            "value": 447,
            "currency": "USD",
            "principalComponent": 0,
            "interestComponent": 0,
            "feeComponent": 3,
            "contributionComponent": 0,
            "withdrawalComponent": 50,
            "valueKind": "projected",
            "freshness": "refresh_due",
            "anchorObservation": {
              "id": "fix",
              "observedOn": "2026-01-01",
              "value": 500,
              "valueKind": "verified",
              "supersedesId": "orig",
              "accountId": "cash",
              "currency": "USD",
              "source": "manual"
            },
            "termVersion": null,
            "assumptions": [
              {
                "code": "observation_anchor",
                "message": "Started from the verified value dated 2026-01-01.",
                "source": "observation"
              }
            ],
            "warnings": [
              {
                "code": "refresh_required",
                "message": "This account is refresh due and should be refreshed."
              }
            ]
          },
          "observation": {
            "id": "latest",
            "observedOn": "2026-03-01",
            "value": 440,
            "valueKind": "verified",
            "accountId": "cash",
            "currency": "USD",
            "source": "manual"
          },
          "difference": -7,
          "reason": "fee"
        },
        "formulaVersion": "financial-hub-statement-reconciliation-v1",
        "units": {
          "money": "currency major units"
        },
        "assumptions": [
          "Difference equals the new statement amount less the projected balance. Currency rounding follows the app."
        ],
        "warnings": [
          "This account is refresh due and should be refreshed."
        ],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-historical-snapshot",
      "name": "Financial Hub historical snapshot",
      "category": "Financial Hub",
      "description": "Build a dated, single-currency snapshot from supplied account histories, effective cash-flow streams and goal balances.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "asOfDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
          },
          "currency": {
            "type": "string",
            "enum": [
              "USD",
              "CAD",
              "EUR",
              "GBP",
              "AUD",
              "NZD",
              "CHF",
              "CNY",
              "INR",
              "BRL",
              "MXN",
              "JPY",
              "BHD",
              "JOD",
              "KWD",
              "OMR"
            ],
            "description": "One supported currency per request. The app rounds JPY to 0 decimals, BHD/JOD/KWD/OMR to 3 and the remaining supported codes to 2. No FX conversion."
          },
          "ledgers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 48,
                      "pattern": "^[A-Za-z0-9_-]+$",
                      "description": "Caller-defined, nonidentifying key within this request."
                    },
                    "accountType": {
                      "type": "string",
                      "enum": [
                        "credit_card",
                        "mortgage",
                        "auto_loan",
                        "student_loan",
                        "personal_loan",
                        "loan",
                        "heloc",
                        "home_equity_loan",
                        "checking",
                        "savings",
                        "cash",
                        "investment",
                        "retirement",
                        "money_market",
                        "cd",
                        "crypto",
                        "property",
                        "vehicle",
                        "collectible",
                        "business_interest",
                        "other"
                      ]
                    },
                    "accountClass": {
                      "type": "string",
                      "enum": [
                        "asset",
                        "liability"
                      ]
                    },
                    "calculationModel": {
                      "type": "string",
                      "enum": [
                        "fixed_amortizing",
                        "daily_interest",
                        "adjustable_rate",
                        "interest_only",
                        "balloon",
                        "revolving",
                        "deposit",
                        "investment",
                        "cash_flow",
                        "observed_value"
                      ]
                    },
                    "ownershipPercentage": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Percentage points from 0 through 100."
                    }
                  },
                  "required": [
                    "id",
                    "accountType",
                    "accountClass",
                    "calculationModel"
                  ],
                  "additionalProperties": false,
                  "description": "Caller supplies the model. Ownership defaults to 100%; used in the snapshot only."
                },
                "observations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 48,
                        "pattern": "^[A-Za-z0-9_-]+$",
                        "description": "Caller-defined, nonidentifying key within this request."
                      },
                      "observedOn": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                      },
                      "value": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000000,
                        "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                        "anyOf": [
                          {
                            "const": 0
                          },
                          {
                            "minimum": 0.000001
                          }
                        ]
                      },
                      "valueKind": {
                        "type": "string",
                        "enum": [
                          "verified",
                          "estimated"
                        ]
                      },
                      "supersedesId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 48,
                        "pattern": "^[A-Za-z0-9_-]+$",
                        "description": "Caller-defined, nonidentifying key within this request."
                      }
                    },
                    "required": [
                      "id",
                      "observedOn",
                      "value",
                      "valueKind"
                    ],
                    "additionalProperties": false,
                    "description": "Manual balance point. Verified means the caller confirmed it."
                  },
                  "minItems": 1,
                  "maxItems": 48
                },
                "terms": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "version": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100000,
                        "description": "Effective term revision number."
                      },
                      "effectiveFrom": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                      },
                      "effectiveTo": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                      },
                      "rateType": {
                        "type": "string",
                        "enum": [
                          "none",
                          "fixed",
                          "variable",
                          "adjustable",
                          "promotional"
                        ]
                      },
                      "rateBasis": {
                        "type": "string",
                        "enum": [
                          "apr",
                          "apy",
                          "nominal"
                        ]
                      },
                      "annualRate": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 100,
                        "description": "Annual rate as percentage points (6.5 means 6.5%)."
                      },
                      "interestConvention": {
                        "type": "string",
                        "enum": [
                          "none",
                          "daily_365",
                          "daily_360",
                          "monthly",
                          "statement_cycle"
                        ]
                      },
                      "compoundingFrequency": {
                        "type": "string",
                        "enum": [
                          "none",
                          "daily",
                          "monthly",
                          "quarterly",
                          "semiannual",
                          "annual"
                        ]
                      },
                      "paymentFrequency": {
                        "type": "string",
                        "enum": [
                          "weekly",
                          "biweekly",
                          "semimonthly",
                          "monthly",
                          "quarterly",
                          "annual"
                        ]
                      },
                      "scheduledPayment": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000000,
                        "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                        "anyOf": [
                          {
                            "const": 0
                          },
                          {
                            "minimum": 0.000001
                          }
                        ]
                      },
                      "minimumPayment": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000000,
                        "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                        "anyOf": [
                          {
                            "const": 0
                          },
                          {
                            "minimum": 0.000001
                          }
                        ]
                      },
                      "maturityDate": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                      },
                      "dueDay": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 31,
                        "description": "Day of month; clamped in short months."
                      },
                      "promotionalRateExpiresOn": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                      },
                      "armNextResetOn": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                      },
                      "interestOnlyUntil": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                      }
                    },
                    "required": [
                      "version",
                      "effectiveFrom",
                      "rateType"
                    ],
                    "additionalProperties": false,
                    "description": "Effective debt or deposit terms. Unknown assumed rate changes stop a projection. A missing rate/frequency yields engine warnings."
                  },
                  "minItems": 0,
                  "maxItems": 24
                },
                "events": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "idempotencyKey": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 48,
                        "pattern": "^[A-Za-z0-9_-]+$",
                        "description": "Caller-defined, nonidentifying key within this request."
                      },
                      "occurredOn": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                      },
                      "eventType": {
                        "type": "string",
                        "enum": [
                          "payment",
                          "extra_payment",
                          "missed_payment",
                          "contribution",
                          "withdrawal",
                          "purchase",
                          "fee",
                          "rate_change",
                          "payment_change",
                          "capitalization",
                          "correction"
                        ]
                      },
                      "amount": {
                        "type": "number",
                        "minimum": -1000000000000,
                        "maximum": 1000000000000,
                        "description": "Signed amount in currency major units; a correction may decrease the balance."
                      },
                      "newRate": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 100,
                        "description": "Annual rate as percentage points (6.5 means 6.5%)."
                      },
                      "newPayment": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000000,
                        "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                        "anyOf": [
                          {
                            "const": 0
                          },
                          {
                            "minimum": 0.000001
                          }
                        ]
                      }
                    },
                    "required": [
                      "idempotencyKey",
                      "occurredOn",
                      "eventType"
                    ],
                    "additionalProperties": false,
                    "description": "A recorded activity. Amount for monetary events, signed amount for correction, newRate for rate_change, newPayment for payment_change, no amount for missed_payment. Identical repeated keys count once."
                  },
                  "minItems": 0,
                  "maxItems": 128
                }
              },
              "required": [
                "account",
                "observations"
              ],
              "additionalProperties": false,
              "description": "Single account history. Supply an observation on or before the snapshot date; raw account projection preserves the engine warning for earlier dates."
            },
            "minItems": 0,
            "maxItems": 16
          },
          "cashFlows": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 48,
                  "pattern": "^[A-Za-z0-9_-]+$",
                  "description": "Caller-defined, nonidentifying key within this request."
                },
                "version": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 100000,
                  "description": "Logical cash-flow stream revision."
                },
                "effectiveFrom": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                  "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                },
                "effectiveTo": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                  "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                },
                "streamType": {
                  "type": "string",
                  "enum": [
                    "income",
                    "obligation"
                  ]
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ]
                },
                "cadence": {
                  "type": "string",
                  "enum": [
                    "weekly",
                    "biweekly",
                    "semimonthly",
                    "monthly",
                    "quarterly",
                    "annual",
                    "variable"
                  ]
                },
                "valueKind": {
                  "type": "string",
                  "enum": [
                    "verified",
                    "estimated"
                  ]
                },
                "pending": {
                  "type": "boolean"
                }
              },
              "required": [
                "key",
                "version",
                "effectiveFrom",
                "streamType",
                "amount",
                "cadence",
                "valueKind"
              ],
              "additionalProperties": false,
              "description": "Snapshot uses the latest active version per key. A pending latest version withholds the stream."
            },
            "minItems": 0,
            "maxItems": 128
          },
          "goals": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 48,
                  "pattern": "^[A-Za-z0-9_-]+$",
                  "description": "Caller-defined, nonidentifying key within this request."
                },
                "fundedAmount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ]
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "active",
                    "achieved",
                    "closed",
                    "paused"
                  ]
                }
              },
              "required": [
                "key",
                "fundedAmount",
                "status"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 64
          }
        },
        "required": [
          "asOfDate",
          "currency",
          "ledgers"
        ],
        "additionalProperties": false,
        "description": "Caller supplies goal balances as known at asOfDate. Snapshot values are owned shares in one currency."
      },
      "input": {
        "asOfDate": "2026-03-01",
        "currency": "USD",
        "ledgers": [
          {
            "account": {
              "id": "cash",
              "accountClass": "asset",
              "accountType": "checking",
              "calculationModel": "observed_value",
              "ownershipPercentage": 50
            },
            "observations": [
              {
                "id": "orig",
                "observedOn": "2026-01-01",
                "value": 10,
                "valueKind": "verified"
              },
              {
                "id": "fix",
                "observedOn": "2026-01-01",
                "value": 500,
                "valueKind": "verified",
                "supersedesId": "orig"
              }
            ],
            "events": [
              {
                "occurredOn": "2026-02-02",
                "eventType": "fee",
                "amount": 3,
                "idempotencyKey": "fee-Feb"
              },
              {
                "occurredOn": "2026-02-02",
                "eventType": "fee",
                "amount": 3,
                "idempotencyKey": "fee-Feb"
              },
              {
                "occurredOn": "2026-02-28",
                "eventType": "withdrawal",
                "amount": 50,
                "idempotencyKey": "transfer"
              }
            ]
          },
          {
            "account": {
              "id": "loan",
              "accountClass": "liability",
              "accountType": "auto_loan",
              "calculationModel": "fixed_amortizing",
              "ownershipPercentage": 100
            },
            "observations": [
              {
                "id": "a",
                "observedOn": "2026-01-01",
                "value": 1000,
                "valueKind": "verified"
              }
            ],
            "terms": [
              {
                "version": 1,
                "effectiveFrom": "2026-01-01",
                "rateType": "fixed",
                "annualRate": 12,
                "paymentFrequency": "monthly",
                "scheduledPayment": 100,
                "dueDay": 1
              }
            ],
            "events": [
              {
                "occurredOn": "2026-02-01",
                "eventType": "missed_payment",
                "idempotencyKey": "missed-Feb"
              }
            ]
          }
        ],
        "cashFlows": [
          {
            "key": "wage",
            "version": 1,
            "effectiveFrom": "2026-01-01",
            "streamType": "income",
            "amount": 50,
            "cadence": "weekly",
            "valueKind": "verified"
          },
          {
            "key": "wage",
            "version": 2,
            "effectiveFrom": "2026-03-01",
            "streamType": "income",
            "amount": 60,
            "cadence": "weekly",
            "valueKind": "verified"
          },
          {
            "key": "wage",
            "version": 3,
            "effectiveFrom": "2026-04-01",
            "streamType": "income",
            "amount": 90,
            "cadence": "weekly",
            "valueKind": "verified"
          },
          {
            "key": "rent",
            "version": 1,
            "effectiveFrom": "2026-01-01",
            "streamType": "obligation",
            "amount": 40,
            "cadence": "semimonthly",
            "valueKind": "estimated"
          },
          {
            "key": "ignored",
            "version": 1,
            "effectiveFrom": "2026-01-01",
            "streamType": "income",
            "amount": 100,
            "cadence": "monthly",
            "valueKind": "estimated"
          },
          {
            "key": "ignored",
            "version": 2,
            "effectiveFrom": "2026-02-01",
            "streamType": "income",
            "amount": 120,
            "cadence": "monthly",
            "valueKind": "estimated",
            "pending": true
          }
        ],
        "goals": [
          {
            "key": "goal",
            "status": "active",
            "fundedAmount": 120
          },
          {
            "key": "closed",
            "status": "closed",
            "fundedAmount": 20
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "asOfDate": "2026-03-01",
          "currency": "USD",
          "netWorth": -696.6,
          "assets": 223.5,
          "liabilities": 920.1,
          "liquidity": 223.5,
          "monthlyIncome": 260,
          "monthlyObligations": 80,
          "goalFunding": 120,
          "engineVersion": "trusted-financial-twin-v1",
          "lines": [
            {
              "accountId": "cash",
              "lineType": "asset",
              "label": "cash",
              "amount": 223.5,
              "currency": "USD",
              "valueKind": "projected",
              "freshness": "refresh_due",
              "asOfDate": "2026-02-28",
              "source": "manual",
              "termVersion": null,
              "assumptions": [
                {
                  "code": "observation_anchor",
                  "message": "Started from the verified value dated 2026-01-01.",
                  "source": "observation"
                }
              ],
              "warnings": [
                {
                  "code": "refresh_required",
                  "message": "This account is refresh due and should be refreshed."
                }
              ]
            },
            {
              "accountId": "loan",
              "lineType": "liability",
              "label": "loan",
              "amount": 920.1,
              "currency": "USD",
              "valueKind": "projected",
              "freshness": "current",
              "asOfDate": "2026-03-01",
              "source": "manual",
              "termVersion": 1,
              "assumptions": [
                {
                  "code": "observation_anchor",
                  "message": "Started from the verified value dated 2026-01-01.",
                  "source": "observation"
                },
                {
                  "code": "effective_terms",
                  "message": "Used confirmed term version 1, effective 2026-01-01.",
                  "source": "term"
                }
              ],
              "warnings": [
                {
                  "code": "negative_amortization",
                  "message": "A missed scheduled payment caused unpaid interest to be added to the balance."
                }
              ]
            },
            {
              "lineType": "income",
              "label": "wage",
              "amount": 260,
              "currency": "USD",
              "valueKind": "verified",
              "freshness": "current",
              "asOfDate": "2026-03-01",
              "source": "manual",
              "termVersion": null,
              "assumptions": [],
              "warnings": []
            },
            {
              "lineType": "obligation",
              "label": "rent",
              "amount": 80,
              "currency": "USD",
              "valueKind": "estimated",
              "freshness": "current",
              "asOfDate": "2026-01-01",
              "source": "manual",
              "termVersion": null,
              "assumptions": [],
              "warnings": []
            },
            {
              "lineType": "goal_funding",
              "label": "goal",
              "amount": 120,
              "currency": "USD",
              "valueKind": "verified",
              "freshness": "current",
              "asOfDate": "2026-03-01",
              "source": "goal",
              "termVersion": null,
              "assumptions": [],
              "warnings": []
            }
          ]
        },
        "formulaVersion": "financial-hub-historical-snapshot-v1",
        "units": {
          "money": "currency major units"
        },
        "assumptions": [
          "Use goal balances as known on the requested date. Each account needs an eligible observation. Weekly 52/12 and biweekly 26/12 convert periodic cash flows to monthly amounts."
        ],
        "warnings": [
          "This account is refresh due and should be refreshed.",
          "A missed scheduled payment caused unpaid interest to be added to the balance."
        ],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-tracked-debt-check-in",
      "name": "Financial Hub tracked debt check-in",
      "category": "Financial Hub",
      "description": "Preview the balance roll-forward for confirmed, missed or changed monthly payments and an optional statement. Returns the projected balance, difference and dated events.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "today": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
          },
          "debt": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 48,
                "pattern": "^[A-Za-z0-9_-]+$",
                "description": "Caller-defined, nonidentifying key within this request."
              },
              "debtType": {
                "type": "string",
                "enum": [
                  "credit_card",
                  "auto",
                  "student",
                  "personal",
                  "mortgage",
                  "heloc",
                  "other"
                ]
              },
              "balance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000,
                "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                "anyOf": [
                  {
                    "const": 0
                  },
                  {
                    "minimum": 0.000001
                  }
                ]
              },
              "regularApr": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Annual rate as percentage points (6.5 means 6.5%)."
              },
              "monthlyPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000,
                "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                "anyOf": [
                  {
                    "const": 0
                  },
                  {
                    "minimum": 0.000001
                  }
                ]
              },
              "dueDay": {
                "type": "integer",
                "minimum": 1,
                "maximum": 31,
                "description": "Day of month, clamped in short months."
              },
              "startBalance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000,
                "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                "anyOf": [
                  {
                    "const": 0
                  },
                  {
                    "minimum": 0.000001
                  }
                ]
              },
              "startedOn": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
              },
              "statementOn": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
              },
              "confirmedThrough": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
              },
              "minimumPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000,
                "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                "anyOf": [
                  {
                    "const": 0
                  },
                  {
                    "minimum": 0.000001
                  }
                ]
              },
              "promoApr": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Annual rate as percentage points (6.5 means 6.5%)."
              },
              "promoEndsOn": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
              },
              "closedOn": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
              },
              "balanceSource": {
                "type": "string",
                "enum": [
                  "entered",
                  "statement",
                  "check_in"
                ]
              },
              "mortgage": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "conventional",
                      "jumbo",
                      "fha",
                      "va",
                      "usda",
                      "second",
                      "heloc"
                    ]
                  },
                  "structure": {
                    "type": "string",
                    "enum": [
                      "fixed",
                      "arm",
                      "interest_only",
                      "balloon"
                    ]
                  },
                  "total_payment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 0.000001
                      }
                    ]
                  },
                  "includes_escrow": {
                    "type": "boolean"
                  },
                  "pi_payment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 0.000001
                      }
                    ]
                  },
                  "tax_monthly": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 0.000001
                      }
                    ]
                  },
                  "insurance_monthly": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 0.000001
                      }
                    ]
                  },
                  "mi_monthly": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 0.000001
                      }
                    ]
                  },
                  "extra_principal": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 0.000001
                      }
                    ]
                  },
                  "biweekly": {
                    "type": "boolean"
                  },
                  "original_amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 0.000001
                      }
                    ]
                  },
                  "original_value": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 0.000001
                      }
                    ]
                  },
                  "first_payment_on": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                  },
                  "term_months": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Months."
                  },
                  "original_rate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual rate as percentage points (6.5 means 6.5%)."
                  },
                  "maturity_on": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                  },
                  "fha_ltv_at_most_90": {
                    "type": "boolean"
                  },
                  "fha_case_assigned_on": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                  },
                  "io_ends_on": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                  },
                  "draw_ends_on": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                  },
                  "repay_months": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Months."
                  },
                  "credit_limit": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000,
                    "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 0.000001
                      }
                    ]
                  },
                  "arm": {
                    "type": "object",
                    "properties": {
                      "product": {
                        "type": "string",
                        "enum": [
                          "5/6",
                          "7/6",
                          "10/6",
                          "5/1",
                          "7/1",
                          "10/1",
                          "other"
                        ]
                      },
                      "next_change_on": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                      },
                      "adjust_every_months": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 120,
                        "description": "Months between adjustments."
                      },
                      "initial_cap": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 100,
                        "description": "Annual rate as percentage points (6.5 means 6.5%)."
                      },
                      "periodic_cap": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 100,
                        "description": "Annual rate as percentage points (6.5 means 6.5%)."
                      },
                      "lifetime_cap": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 100,
                        "description": "Annual rate as percentage points (6.5 means 6.5%)."
                      },
                      "margin": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 100,
                        "description": "Annual rate as percentage points (6.5 means 6.5%)."
                      },
                      "index_value": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 100,
                        "description": "Annual rate as percentage points (6.5 means 6.5%)."
                      },
                      "floor_rate": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 100,
                        "description": "Annual rate as percentage points (6.5 means 6.5%)."
                      },
                      "initial_rate": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 100,
                        "description": "Annual rate as percentage points (6.5 means 6.5%)."
                      },
                      "adjusted_before": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "next_change_on"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "kind",
                  "structure",
                  "total_payment",
                  "includes_escrow",
                  "pi_payment"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "id",
              "debtType",
              "balance",
              "regularApr",
              "monthlyPayment",
              "dueDay",
              "startBalance",
              "startedOn"
            ],
            "additionalProperties": false,
            "description": "Monthly US-dollar debt tracking inputs. Mortgage/HELOC may include the app detail shape. pi_payment excludes escrow and insurance."
          },
          "answers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "dueOn": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                  "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "paid",
                    "different",
                    "missed"
                  ]
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ]
                }
              },
              "required": [
                "dueOn",
                "kind"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 24
          },
          "statement": {
            "type": "object",
            "properties": {
              "on": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
              },
              "value": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000,
                "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                "anyOf": [
                  {
                    "const": 0
                  },
                  {
                    "minimum": 0.000001
                  }
                ]
              }
            },
            "required": [
              "on",
              "value"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "today",
          "debt",
          "answers"
        ],
        "additionalProperties": false,
        "description": "Statement-only or consecutive pending due dates through today; payment amounts are gross bills on detailed mortgages."
      },
      "input": {
        "today": "2026-02-05",
        "debt": {
          "id": "sample",
          "debtType": "auto",
          "balance": 500,
          "regularApr": 0,
          "monthlyPayment": 100,
          "dueDay": 1,
          "startBalance": 500,
          "startedOn": "2026-01-01",
          "minimumPayment": 50
        },
        "answers": [
          {
            "dueOn": "2026-02-01",
            "kind": "different",
            "amount": 80
          }
        ],
        "statement": {
          "on": "2026-02-05",
          "value": 415
        }
      },
      "output": {
        "status": "available",
        "result": {
          "anchorOn": "2026-02-05",
          "balance": 415,
          "projected": 420,
          "difference": -5,
          "events": [
            {
              "accountId": "debt:sample",
              "occurredOn": "2026-02-01",
              "idempotencyKey": "debt-check-in:sample:2026-02-01",
              "explanation": "Confirmed at a debt check-in.",
              "eventType": "payment",
              "amount": 80
            }
          ],
          "paidOff": false,
          "record": {
            "on": "2026-02-05",
            "dueDates": [
              "2026-02-01"
            ],
            "projected": 420,
            "actual": 415,
            "difference": -5,
            "statement": true
          }
        },
        "formulaVersion": "financial-hub-tracked-debt-check-in-v1",
        "units": {
          "money": "USD"
        },
        "assumptions": [
          "Amounts use USD. For a detailed mortgage, escrow and mortgage insurance are removed from the gross bill before applying the loan payment."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-tracked-debt-portfolio",
      "name": "Financial Hub tracked debt portfolio",
      "category": "Financial Hub",
      "description": "Sum active tracked debts, planned monthly payments and interest saved versus known minimums. Returns a debt-free date when all remaining schedules reach zero.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "today": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
          },
          "debts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 48,
                  "pattern": "^[A-Za-z0-9_-]+$",
                  "description": "Caller-defined, nonidentifying key within this request."
                },
                "debtType": {
                  "type": "string",
                  "enum": [
                    "credit_card",
                    "auto",
                    "student",
                    "personal",
                    "mortgage",
                    "heloc",
                    "other"
                  ]
                },
                "balance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ]
                },
                "regularApr": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual rate as percentage points (6.5 means 6.5%)."
                },
                "monthlyPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ]
                },
                "dueDay": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 31,
                  "description": "Day of month, clamped in short months."
                },
                "startBalance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ]
                },
                "startedOn": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                  "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                },
                "statementOn": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                  "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                },
                "confirmedThrough": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                  "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                },
                "minimumPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000,
                  "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ]
                },
                "promoApr": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual rate as percentage points (6.5 means 6.5%)."
                },
                "promoEndsOn": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                  "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                },
                "closedOn": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                  "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                },
                "balanceSource": {
                  "type": "string",
                  "enum": [
                    "entered",
                    "statement",
                    "check_in"
                  ]
                },
                "mortgage": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "enum": [
                        "conventional",
                        "jumbo",
                        "fha",
                        "va",
                        "usda",
                        "second",
                        "heloc"
                      ]
                    },
                    "structure": {
                      "type": "string",
                      "enum": [
                        "fixed",
                        "arm",
                        "interest_only",
                        "balloon"
                      ]
                    },
                    "total_payment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "includes_escrow": {
                      "type": "boolean"
                    },
                    "pi_payment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "tax_monthly": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "insurance_monthly": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "mi_monthly": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "extra_principal": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "biweekly": {
                      "type": "boolean"
                    },
                    "original_amount": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "original_value": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "first_payment_on": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "term_months": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 600,
                      "description": "Months."
                    },
                    "original_rate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Annual rate as percentage points (6.5 means 6.5%)."
                    },
                    "maturity_on": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "fha_ltv_at_most_90": {
                      "type": "boolean"
                    },
                    "fha_case_assigned_on": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "io_ends_on": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "draw_ends_on": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                      "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                    },
                    "repay_months": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 600,
                      "description": "Months."
                    },
                    "credit_limit": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000,
                      "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.000001
                        }
                      ]
                    },
                    "arm": {
                      "type": "object",
                      "properties": {
                        "product": {
                          "type": "string",
                          "enum": [
                            "5/6",
                            "7/6",
                            "10/6",
                            "5/1",
                            "7/1",
                            "10/1",
                            "other"
                          ]
                        },
                        "next_change_on": {
                          "type": "string",
                          "format": "date",
                          "minLength": 10,
                          "maxLength": 10,
                          "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                          "description": "UTC calendar date (YYYY-MM-DD), 1900–2199."
                        },
                        "adjust_every_months": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 120,
                          "description": "Months between adjustments."
                        },
                        "initial_cap": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 100,
                          "description": "Annual rate as percentage points (6.5 means 6.5%)."
                        },
                        "periodic_cap": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 100,
                          "description": "Annual rate as percentage points (6.5 means 6.5%)."
                        },
                        "lifetime_cap": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 100,
                          "description": "Annual rate as percentage points (6.5 means 6.5%)."
                        },
                        "margin": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 100,
                          "description": "Annual rate as percentage points (6.5 means 6.5%)."
                        },
                        "index_value": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 100,
                          "description": "Annual rate as percentage points (6.5 means 6.5%)."
                        },
                        "floor_rate": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 100,
                          "description": "Annual rate as percentage points (6.5 means 6.5%)."
                        },
                        "initial_rate": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 100,
                          "description": "Annual rate as percentage points (6.5 means 6.5%)."
                        },
                        "adjusted_before": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "next_change_on"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "kind",
                    "structure",
                    "total_payment",
                    "includes_escrow",
                    "pi_payment"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "id",
                "debtType",
                "balance",
                "regularApr",
                "monthlyPayment",
                "dueDay",
                "startBalance",
                "startedOn"
              ],
              "additionalProperties": false,
              "description": "Monthly US-dollar debt tracking inputs. Mortgage/HELOC may include the app detail shape. pi_payment excludes escrow and insurance."
            },
            "minItems": 0,
            "maxItems": 12
          }
        },
        "required": [
          "today",
          "debts"
        ],
        "additionalProperties": false
      },
      "input": {
        "today": "2026-01-01",
        "debts": [
          {
            "id": "sample",
            "debtType": "auto",
            "balance": 500,
            "regularApr": 0,
            "monthlyPayment": 100,
            "dueDay": 1,
            "startBalance": 500,
            "startedOn": "2026-01-01",
            "minimumPayment": 50
          },
          {
            "id": "closed",
            "debtType": "auto",
            "balance": 500,
            "regularApr": 0,
            "monthlyPayment": 100,
            "dueDay": 1,
            "startBalance": 500,
            "startedOn": "2026-01-01",
            "minimumPayment": 50,
            "closedOn": "2026-01-01"
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "totalBalance": 500,
          "totalMonthlyPayments": 100,
          "debtFreeOn": "2026-06-01",
          "interestSavedVsMinimum": 0,
          "anyEstimated": false
        },
        "formulaVersion": "financial-hub-tracked-debt-portfolio-v1",
        "units": {
          "money": "USD"
        },
        "assumptions": [
          "Amounts use USD. The app checks up to 600 monthly periods per debt. Minimum-payment savings include only debts with a known, amortizing lower minimum."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-net-worth-projection",
      "name": "Financial Hub net worth projection",
      "category": "Financial Hub",
      "description": "Estimate future net worth from asset appreciation with liabilities held constant.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "currency": {
            "type": "string",
            "enum": [
              "USD",
              "CAD",
              "EUR",
              "GBP",
              "AUD",
              "NZD",
              "CHF",
              "CNY",
              "INR",
              "BRL",
              "MXN",
              "JPY",
              "BHD",
              "JOD",
              "KWD",
              "OMR"
            ],
            "description": "One supported currency per request. The app rounds JPY to 0 decimals, BHD/JOD/KWD/OMR to 3 and the remaining supported codes to 2. No FX conversion."
          },
          "assets": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000,
            "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          },
          "liabilities": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000,
            "description": "Nonnegative currency major units; smallest nonzero amount is 0.000001.",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          },
          "annualGrowthRate": {
            "type": "number",
            "minimum": -1,
            "maximum": 1,
            "description": "Annual decimal growth rate (0.07 means 7%)."
          },
          "years": {
            "type": "integer",
            "minimum": 0,
            "maximum": 50,
            "description": "Whole projection years, 0–50."
          }
        },
        "required": [
          "currency",
          "assets",
          "liabilities",
          "annualGrowthRate",
          "years"
        ],
        "additionalProperties": false
      },
      "input": {
        "currency": "USD",
        "assets": 100000,
        "liabilities": 110000,
        "annualGrowthRate": 0.1,
        "years": 2
      },
      "output": {
        "status": "available",
        "result": {
          "currency": "USD",
          "projectedNetWorth": 11000.000000000015
        },
        "formulaVersion": "financial-hub-net-worth-projection-v1",
        "units": {
          "projectedNetWorth": "currency major units",
          "annualGrowthRate": "fraction per year",
          "years": "years"
        },
        "assumptions": [
          "Illustrative asset growth only. Liabilities stay constant. No new contributions, withdrawals or assumed debt payoff."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-cash-flow-runway",
      "name": "Cash flow and emergency runway",
      "category": "Financial Hub",
      "description": "Normalize settled income and spending over observed dates and compare liquid balances to monthly outflow.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "asOf": {
            "type": "string",
            "description": "UTC calendar date (YYYY-MM-DD).",
            "minLength": 1,
            "maxLength": 10,
            "format": "date"
          },
          "accounts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Caller reference; use an opaque account or service identifier.",
                  "minLength": 1,
                  "maxLength": 80
                },
                "name": {
                  "type": "string",
                  "description": "Optional generic display label.",
                  "minLength": 1,
                  "maxLength": 100
                },
                "account_type": {
                  "type": "string",
                  "enum": [
                    "checking",
                    "savings",
                    "cash",
                    "credit_card",
                    "mortgage",
                    "auto_loan",
                    "student_loan",
                    "personal_loan",
                    "loan",
                    "investment",
                    "retirement",
                    "heloc",
                    "home_equity_loan",
                    "money_market",
                    "cd",
                    "crypto",
                    "property",
                    "vehicle",
                    "collectible",
                    "business_interest",
                    "other"
                  ],
                  "description": "Financial Hub account classification."
                },
                "current_balance": {
                  "type": "number",
                  "description": "USD balance. Liabilities use positive amounts owed.",
                  "minimum": -10000000000,
                  "maximum": 10000000000
                },
                "apr": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "Annual interest rate in percent (6 means 6%).",
                      "minimum": 0,
                      "maximum": 100
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "monthly_payment": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "Nonnegative USD amount.",
                      "minimum": 0,
                      "maximum": 10000000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "minimum_payment": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "Nonnegative USD amount.",
                      "minimum": 0,
                      "maximum": 10000000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "term_months": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "Remaining months used only to derive a missing payment.",
                      "minimum": 1,
                      "maximum": 1200
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_archived": {
                  "type": "boolean",
                  "description": "Exclude archived accounts. Defaults to false."
                }
              },
              "required": [
                "id",
                "account_type",
                "current_balance"
              ],
              "additionalProperties": false
            },
            "maxItems": 16,
            "description": "Caller-provided balance records. Maximum 8 active amortizable debt accounts per modeled debt request."
          },
          "transactions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "posted_at": {
                  "type": "string",
                  "description": "UTC calendar date (YYYY-MM-DD).",
                  "minLength": 1,
                  "maxLength": 10,
                  "format": "date"
                },
                "amount": {
                  "type": "number",
                  "description": "Signed USD value. Inflows positive, outflows negative.",
                  "minimum": -10000000000,
                  "maximum": 10000000000
                },
                "pending": {
                  "type": "boolean",
                  "description": "Pending transaction, defaults to false."
                },
                "description": {
                  "type": "string",
                  "description": "Optional synthetic or redacted transaction label.",
                  "minLength": 1,
                  "maxLength": 160
                },
                "merchant_name": {
                  "type": "string",
                  "description": "Optional merchant label for matching.",
                  "minLength": 1,
                  "maxLength": 100
                }
              },
              "required": [
                "posted_at",
                "amount"
              ],
              "additionalProperties": false
            },
            "maxItems": 512,
            "description": "Caller transactions in USD. Include historical rows required for this calculation."
          }
        },
        "required": [
          "asOf",
          "accounts",
          "transactions"
        ],
        "additionalProperties": false
      },
      "input": {
        "asOf": "2026-04-01",
        "transactions": [
          {
            "posted_at": "2026-03-28",
            "amount": 1000
          },
          {
            "posted_at": "2026-04-01",
            "amount": -250
          },
          {
            "posted_at": "2026-04-01",
            "amount": -100,
            "pending": true
          }
        ],
        "accounts": [
          {
            "id": "a",
            "account_type": "savings",
            "current_balance": 2000
          },
          {
            "id": "b",
            "account_type": "investment",
            "current_balance": 5000
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "summary": {
            "windowDays": 4,
            "windowMonths": 0.25,
            "totalInflow": 1000,
            "totalOutflow": 250,
            "avgMonthlyInflow": 4000,
            "avgMonthlyOutflow": 1000,
            "avgMonthlyNet": 3000,
            "liquidBalance": 2000,
            "runwayMonths": 2
          },
          "insights": [
            {
              "id": "cashflow-net",
              "category": "cashflow",
              "severity": "info",
              "title": "Your cash flow is positive",
              "summary": "Over the last 0 mo of activity you've averaged $3,000/mo left over after spending.",
              "basis": {
                "sourceCount": 2,
                "dataPoints": [
                  {
                    "label": "Avg monthly income",
                    "value": "$4,000"
                  },
                  {
                    "label": "Avg monthly spending",
                    "value": "$1,000"
                  },
                  {
                    "label": "Observed window",
                    "value": "0 mo"
                  }
                ]
              }
            },
            {
              "id": "cashflow-runway",
              "category": "cashflow",
              "severity": "warning",
              "title": "Your emergency runway is thin",
              "summary": "Your liquid savings of $2,000 would cover about 2.0 months of spending at $1,000/mo. Most guidance suggests keeping 3–6 months as a cushion.",
              "basis": {
                "sourceCount": 1,
                "dataPoints": [
                  {
                    "label": "Liquid savings",
                    "value": "$2,000"
                  },
                  {
                    "label": "Avg monthly spending",
                    "value": "$1,000"
                  },
                  {
                    "label": "Runway",
                    "value": "2.0 months"
                  }
                ]
              }
            }
          ]
        },
        "formulaVersion": "financial-hub-insights-v1",
        "units": {
          "money": "USD",
          "rate": "percent APR",
          "duration": "months",
          "dates": "UTC date"
        },
        "assumptions": [
          "A month is 30.4375 days; the denominator is at least 0.25 month. Checking, savings and cash contribute nonnegative unarchived balances."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-recurring-spend",
      "name": "Recurring spend and overlapping services",
      "category": "Financial Hub",
      "description": "Annualize caller-classified subscriptions and identify repeated categories and services with no matching charge in a covered window.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "asOf": {
            "type": "string",
            "description": "UTC calendar date (YYYY-MM-DD).",
            "minLength": 1,
            "maxLength": 10,
            "format": "date"
          },
          "recurring": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Caller reference; use an opaque account or service identifier.",
                  "minLength": 1,
                  "maxLength": 80
                },
                "name": {
                  "type": "string",
                  "description": "Recurring service label.",
                  "minLength": 1,
                  "maxLength": 100
                },
                "merchant_name": {
                  "type": "string",
                  "description": "Optional merchant alias.",
                  "minLength": 1,
                  "maxLength": 100
                },
                "category": {
                  "type": "string",
                  "description": "Caller classification used to group overlaps.",
                  "minLength": 1,
                  "maxLength": 100
                },
                "amount": {
                  "type": "number",
                  "description": "Nonnegative USD amount.",
                  "minimum": 0,
                  "maximum": 10000000000
                },
                "cadence": {
                  "type": "string",
                  "enum": [
                    "weekly",
                    "biweekly",
                    "semi_monthly",
                    "monthly",
                    "quarterly",
                    "semiannual",
                    "annual"
                  ],
                  "description": "Payment frequency."
                },
                "is_subscription": {
                  "type": "boolean",
                  "description": "Caller classification. Only active subscriptions contribute."
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "active",
                    "paused",
                    "canceled"
                  ],
                  "description": "Caller subscription status."
                }
              },
              "required": [
                "id",
                "name",
                "amount",
                "cadence",
                "is_subscription",
                "status"
              ],
              "additionalProperties": false
            },
            "maxItems": 64,
            "description": "Caller-classified recurring payments."
          },
          "transactions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "posted_at": {
                  "type": "string",
                  "description": "UTC calendar date (YYYY-MM-DD).",
                  "minLength": 1,
                  "maxLength": 10,
                  "format": "date"
                },
                "amount": {
                  "type": "number",
                  "description": "Signed USD value. Inflows positive, outflows negative.",
                  "minimum": -10000000000,
                  "maximum": 10000000000
                },
                "pending": {
                  "type": "boolean",
                  "description": "Pending transaction, defaults to false."
                },
                "description": {
                  "type": "string",
                  "description": "Optional synthetic or redacted transaction label.",
                  "minLength": 1,
                  "maxLength": 160
                },
                "merchant_name": {
                  "type": "string",
                  "description": "Optional merchant label for matching.",
                  "minLength": 1,
                  "maxLength": 100
                }
              },
              "required": [
                "posted_at",
                "amount"
              ],
              "additionalProperties": false
            },
            "maxItems": 512,
            "description": "Caller transactions in USD. Include historical rows required for this calculation."
          },
          "continuousHistoryFrom": {
            "type": "string",
            "description": "Optional start of continuous caller-supplied transaction coverage through asOf. Enables 90-day unmatched-charge candidates with spend evidence.",
            "minLength": 1,
            "maxLength": 10,
            "format": "date"
          }
        },
        "required": [
          "asOf",
          "recurring",
          "transactions"
        ],
        "additionalProperties": false
      },
      "input": {
        "asOf": "2026-04-01",
        "continuousHistoryFrom": "2025-12-01",
        "transactions": [
          {
            "posted_at": "2026-03-31",
            "amount": -10,
            "merchant_name": "Music Plus Billing"
          }
        ],
        "recurring": [
          {
            "id": "music",
            "name": "Music Plus",
            "amount": 10,
            "cadence": "monthly",
            "category": "Streaming",
            "is_subscription": true,
            "status": "active"
          },
          {
            "id": "video",
            "name": "Video",
            "amount": 24,
            "cadence": "annual",
            "category": "streaming",
            "is_subscription": true,
            "status": "active"
          },
          {
            "id": "skip",
            "name": "Closed",
            "amount": 50,
            "cadence": "weekly",
            "category": "Streaming",
            "is_subscription": true,
            "status": "canceled"
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "activeCount": 2,
          "monthlyTotal": 12,
          "monthlyDisplayed": 12,
          "annualTotal": 144,
          "lines": [
            {
              "id": "music",
              "name": "Music Plus",
              "monthlyExact": 10,
              "monthlyDisplayed": 10,
              "annualCost": 120
            },
            {
              "id": "video",
              "name": "Video",
              "monthlyExact": 2,
              "monthlyDisplayed": 2,
              "annualCost": 24
            }
          ],
          "duplicateCategories": [
            {
              "category": "streaming",
              "subscriptionIds": [
                "music",
                "video"
              ],
              "monthlyDisplayed": 12
            }
          ],
          "inactivityReview": {
            "evidence": "covered_90_days",
            "unmatchedSubscriptionIds": [
              "video"
            ],
            "monthlyDisplayed": 2,
            "annualTotal": 24
          }
        },
        "formulaVersion": "financial-hub-insights-v1",
        "units": {
          "money": "USD",
          "rate": "percent APR",
          "duration": "months",
          "dates": "UTC date"
        },
        "assumptions": [
          "Only active subscriptions count. A 90-day unmatched charge is a review candidate, including when a service bills annually. Continuous history and identifiable recent spending must be supplied."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-quoted-rate-comparison",
      "name": "Debt APR and supplied rate comparison",
      "category": "Financial Hub",
      "description": "Compare a debt and a caller-supplied comparable APR using the same balance and monthly payment.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "accounts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Caller reference; use an opaque account or service identifier.",
                  "minLength": 1,
                  "maxLength": 80
                },
                "name": {
                  "type": "string",
                  "description": "Optional generic display label.",
                  "minLength": 1,
                  "maxLength": 100
                },
                "account_type": {
                  "type": "string",
                  "enum": [
                    "checking",
                    "savings",
                    "cash",
                    "credit_card",
                    "mortgage",
                    "auto_loan",
                    "student_loan",
                    "personal_loan",
                    "loan",
                    "investment",
                    "retirement",
                    "heloc",
                    "home_equity_loan",
                    "money_market",
                    "cd",
                    "crypto",
                    "property",
                    "vehicle",
                    "collectible",
                    "business_interest",
                    "other"
                  ],
                  "description": "Financial Hub account classification."
                },
                "current_balance": {
                  "type": "number",
                  "description": "USD balance. Liabilities use positive amounts owed.",
                  "minimum": -10000000000,
                  "maximum": 10000000000
                },
                "apr": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "Annual interest rate in percent (6 means 6%).",
                      "minimum": 0,
                      "maximum": 100
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "monthly_payment": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "Nonnegative USD amount.",
                      "minimum": 0,
                      "maximum": 10000000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "minimum_payment": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "Nonnegative USD amount.",
                      "minimum": 0,
                      "maximum": 10000000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "term_months": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "Remaining months used only to derive a missing payment.",
                      "minimum": 1,
                      "maximum": 1200
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_archived": {
                  "type": "boolean",
                  "description": "Exclude archived accounts. Defaults to false."
                }
              },
              "required": [
                "id",
                "account_type",
                "current_balance"
              ],
              "additionalProperties": false
            },
            "maxItems": 16,
            "description": "Caller-provided balance records. Maximum 8 active amortizable debt accounts per modeled debt request."
          },
          "marketRates": {
            "type": "object",
            "properties": {
              "mortgage30": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "Annual interest rate in percent (6 means 6%).",
                    "minimum": 0,
                    "maximum": 100
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "auto": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "Annual interest rate in percent (6 means 6%).",
                    "minimum": 0,
                    "maximum": 100
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "personal": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "Annual interest rate in percent (6 means 6%).",
                    "minimum": 0,
                    "maximum": 100
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "creditCard": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "Annual interest rate in percent (6 means 6%).",
                    "minimum": 0,
                    "maximum": 100
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sourceLabel": {
                "type": "string",
                "description": "Caller label and date for the supplied benchmark.",
                "minLength": 1,
                "maxLength": 120
              }
            },
            "required": [],
            "additionalProperties": false
          }
        },
        "required": [
          "accounts",
          "marketRates"
        ],
        "additionalProperties": false
      },
      "input": {
        "accounts": [
          {
            "id": "auto",
            "name": "Car",
            "account_type": "auto_loan",
            "current_balance": 1000,
            "apr": 12,
            "monthly_payment": 600
          }
        ],
        "marketRates": {
          "auto": 0,
          "sourceLabel": "Caller example at 0%"
        }
      },
      "output": {
        "status": "available",
        "result": {
          "comparisons": [
            {
              "id": "auto",
              "quoteType": "auto",
              "balance": 1000,
              "payment": 600,
              "apr": 12,
              "quotedApr": 0,
              "gapPercentagePoints": 12,
              "currentInterest": 14.1,
              "quotedInterest": 0,
              "interestSaved": 14.1,
              "displayedInterestSaved": 14,
              "currentMonths": 2,
              "quotedMonths": 2,
              "estimatedAnnualImpact": 85
            }
          ],
          "skipped": []
        },
        "formulaVersion": "financial-hub-insights-v1",
        "units": {
          "money": "USD",
          "rate": "percent APR",
          "duration": "months",
          "dates": "UTC date"
        },
        "assumptions": [
          "Caller supplies the benchmark. Fixed monthly payment and no new borrowing. Excludes closing costs. Mortgage gap threshold is 0.75 percentage point; others are 1 point."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-debt-payoff-insights",
      "name": "Account debt payoff insights",
      "category": "Financial Hub",
      "description": "Resolve monthly payments, project interest and payoff time, order debts both ways and model an extra payment for the highest qualifying APR.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "accounts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Caller reference; use an opaque account or service identifier.",
                  "minLength": 1,
                  "maxLength": 80
                },
                "name": {
                  "type": "string",
                  "description": "Optional generic display label.",
                  "minLength": 1,
                  "maxLength": 100
                },
                "account_type": {
                  "type": "string",
                  "enum": [
                    "checking",
                    "savings",
                    "cash",
                    "credit_card",
                    "mortgage",
                    "auto_loan",
                    "student_loan",
                    "personal_loan",
                    "loan",
                    "investment",
                    "retirement",
                    "heloc",
                    "home_equity_loan",
                    "money_market",
                    "cd",
                    "crypto",
                    "property",
                    "vehicle",
                    "collectible",
                    "business_interest",
                    "other"
                  ],
                  "description": "Financial Hub account classification."
                },
                "current_balance": {
                  "type": "number",
                  "description": "USD balance. Liabilities use positive amounts owed.",
                  "minimum": -10000000000,
                  "maximum": 10000000000
                },
                "apr": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "Annual interest rate in percent (6 means 6%).",
                      "minimum": 0,
                      "maximum": 100
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "monthly_payment": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "Nonnegative USD amount.",
                      "minimum": 0,
                      "maximum": 10000000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "minimum_payment": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "Nonnegative USD amount.",
                      "minimum": 0,
                      "maximum": 10000000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "term_months": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "Remaining months used only to derive a missing payment.",
                      "minimum": 1,
                      "maximum": 1200
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_archived": {
                  "type": "boolean",
                  "description": "Exclude archived accounts. Defaults to false."
                }
              },
              "required": [
                "id",
                "account_type",
                "current_balance"
              ],
              "additionalProperties": false
            },
            "maxItems": 16,
            "description": "Caller-provided balance records. Maximum 8 active amortizable debt accounts per modeled debt request."
          },
          "extraBudget": {
            "type": "number",
            "description": "Monthly additional payment in USD. Omit to model the app default: max($50, 10% of the highest-APR payable loan payment, rounded).",
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "accounts"
        ],
        "additionalProperties": false
      },
      "input": {
        "accounts": [
          {
            "id": "auto",
            "name": "Car",
            "account_type": "auto_loan",
            "current_balance": 1000,
            "apr": 12,
            "monthly_payment": 600
          },
          {
            "id": "small",
            "account_type": "loan",
            "current_balance": 300,
            "apr": 0,
            "term_months": 3
          }
        ],
        "extraBudget": 410
      },
      "output": {
        "status": "available",
        "result": {
          "loans": [
            {
              "id": "auto",
              "balance": 1000,
              "apr": 12,
              "payment": 600,
              "paymentDerived": false,
              "remainingInterest": 14.1,
              "monthsToPayoff": 2
            },
            {
              "id": "small",
              "balance": 300,
              "apr": 0,
              "payment": 100,
              "paymentDerived": true,
              "remainingInterest": 0,
              "monthsToPayoff": 3
            }
          ],
          "skipped": [],
          "avalanche": [
            "auto",
            "small"
          ],
          "snowball": [
            "small",
            "auto"
          ],
          "totalDisplayedInterest": 14,
          "totalDisplayedBalance": 1300,
          "extraPayment": {
            "id": "auto",
            "extra": 410,
            "savings": {
              "interestSaved": 4.1,
              "monthsSaved": 1,
              "newInterest": 10,
              "newMonths": 1
            },
            "displayedInterestSaved": 4
          }
        },
        "formulaVersion": "financial-hub-insights-v1",
        "units": {
          "money": "USD",
          "rate": "percent APR",
          "duration": "months",
          "dates": "UTC date"
        },
        "assumptions": [
          "Payment priority is supplied monthly payment, minimum payment, then a term-derived payment. Avalanche and snowball outputs give an order, not a reallocation schedule."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-ranked-insights",
      "name": "Ranked Financial Hub insights",
      "category": "Financial Hub",
      "description": "Combine deterministic account, supplied-rate, subscription and cash-flow signals with supporting figures and sort by severity and annual impact.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "asOf": {
            "type": "string",
            "description": "UTC calendar date (YYYY-MM-DD).",
            "minLength": 1,
            "maxLength": 10,
            "format": "date"
          },
          "accounts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Caller reference; use an opaque account or service identifier.",
                  "minLength": 1,
                  "maxLength": 80
                },
                "name": {
                  "type": "string",
                  "description": "Optional generic display label.",
                  "minLength": 1,
                  "maxLength": 100
                },
                "account_type": {
                  "type": "string",
                  "enum": [
                    "checking",
                    "savings",
                    "cash",
                    "credit_card",
                    "mortgage",
                    "auto_loan",
                    "student_loan",
                    "personal_loan",
                    "loan",
                    "investment",
                    "retirement",
                    "heloc",
                    "home_equity_loan",
                    "money_market",
                    "cd",
                    "crypto",
                    "property",
                    "vehicle",
                    "collectible",
                    "business_interest",
                    "other"
                  ],
                  "description": "Financial Hub account classification."
                },
                "current_balance": {
                  "type": "number",
                  "description": "USD balance. Liabilities use positive amounts owed.",
                  "minimum": -10000000000,
                  "maximum": 10000000000
                },
                "apr": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "Annual interest rate in percent (6 means 6%).",
                      "minimum": 0,
                      "maximum": 100
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "monthly_payment": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "Nonnegative USD amount.",
                      "minimum": 0,
                      "maximum": 10000000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "minimum_payment": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "Nonnegative USD amount.",
                      "minimum": 0,
                      "maximum": 10000000000
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "term_months": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "description": "Remaining months used only to derive a missing payment.",
                      "minimum": 1,
                      "maximum": 1200
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "is_archived": {
                  "type": "boolean",
                  "description": "Exclude archived accounts. Defaults to false."
                }
              },
              "required": [
                "id",
                "account_type",
                "current_balance"
              ],
              "additionalProperties": false
            },
            "maxItems": 16,
            "description": "Caller-provided balance records. Maximum 8 active amortizable debt accounts per modeled debt request."
          },
          "transactions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "posted_at": {
                  "type": "string",
                  "description": "UTC calendar date (YYYY-MM-DD).",
                  "minLength": 1,
                  "maxLength": 10,
                  "format": "date"
                },
                "amount": {
                  "type": "number",
                  "description": "Signed USD value. Inflows positive, outflows negative.",
                  "minimum": -10000000000,
                  "maximum": 10000000000
                },
                "pending": {
                  "type": "boolean",
                  "description": "Pending transaction, defaults to false."
                },
                "description": {
                  "type": "string",
                  "description": "Optional synthetic or redacted transaction label.",
                  "minLength": 1,
                  "maxLength": 160
                },
                "merchant_name": {
                  "type": "string",
                  "description": "Optional merchant label for matching.",
                  "minLength": 1,
                  "maxLength": 100
                }
              },
              "required": [
                "posted_at",
                "amount"
              ],
              "additionalProperties": false
            },
            "maxItems": 512,
            "description": "Caller transactions in USD. Include historical rows required for this calculation."
          },
          "recurring": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Caller reference; use an opaque account or service identifier.",
                  "minLength": 1,
                  "maxLength": 80
                },
                "name": {
                  "type": "string",
                  "description": "Recurring service label.",
                  "minLength": 1,
                  "maxLength": 100
                },
                "merchant_name": {
                  "type": "string",
                  "description": "Optional merchant alias.",
                  "minLength": 1,
                  "maxLength": 100
                },
                "category": {
                  "type": "string",
                  "description": "Caller classification used to group overlaps.",
                  "minLength": 1,
                  "maxLength": 100
                },
                "amount": {
                  "type": "number",
                  "description": "Nonnegative USD amount.",
                  "minimum": 0,
                  "maximum": 10000000000
                },
                "cadence": {
                  "type": "string",
                  "enum": [
                    "weekly",
                    "biweekly",
                    "semi_monthly",
                    "monthly",
                    "quarterly",
                    "semiannual",
                    "annual"
                  ],
                  "description": "Payment frequency."
                },
                "is_subscription": {
                  "type": "boolean",
                  "description": "Caller classification. Only active subscriptions contribute."
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "active",
                    "paused",
                    "canceled"
                  ],
                  "description": "Caller subscription status."
                }
              },
              "required": [
                "id",
                "name",
                "amount",
                "cadence",
                "is_subscription",
                "status"
              ],
              "additionalProperties": false
            },
            "maxItems": 64,
            "description": "Caller-classified recurring payments."
          },
          "continuousHistoryFrom": {
            "type": "string",
            "description": "Optional start of continuous caller-supplied transaction coverage through asOf. Enables 90-day unmatched-charge candidates with spend evidence.",
            "minLength": 1,
            "maxLength": 10,
            "format": "date"
          },
          "marketRates": {
            "type": "object",
            "properties": {
              "mortgage30": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "Annual interest rate in percent (6 means 6%).",
                    "minimum": 0,
                    "maximum": 100
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "auto": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "Annual interest rate in percent (6 means 6%).",
                    "minimum": 0,
                    "maximum": 100
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "personal": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "Annual interest rate in percent (6 means 6%).",
                    "minimum": 0,
                    "maximum": 100
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "creditCard": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "Annual interest rate in percent (6 means 6%).",
                    "minimum": 0,
                    "maximum": 100
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "sourceLabel": {
                "type": "string",
                "description": "Caller label and date for the supplied benchmark.",
                "minLength": 1,
                "maxLength": 120
              }
            },
            "required": [],
            "additionalProperties": false
          }
        },
        "required": [
          "asOf",
          "accounts",
          "transactions",
          "recurring"
        ],
        "additionalProperties": false
      },
      "input": {
        "asOf": "2026-04-01",
        "transactions": [
          {
            "posted_at": "2026-03-28",
            "amount": 1000
          },
          {
            "posted_at": "2026-04-01",
            "amount": -250
          },
          {
            "posted_at": "2026-04-01",
            "amount": -100,
            "pending": true
          }
        ],
        "accounts": [
          {
            "id": "a",
            "account_type": "savings",
            "current_balance": 2000
          },
          {
            "id": "b",
            "account_type": "investment",
            "current_balance": 5000
          },
          {
            "id": "auto",
            "name": "Car",
            "account_type": "auto_loan",
            "current_balance": 1000,
            "apr": 12,
            "monthly_payment": 600
          }
        ],
        "recurring": [],
        "marketRates": {
          "auto": 0,
          "sourceLabel": "Caller example at 0%"
        }
      },
      "output": {
        "status": "available",
        "result": {
          "insights": [
            {
              "id": "cashflow-runway",
              "category": "cashflow",
              "severity": "warning",
              "title": "Your emergency runway is thin",
              "summary": "Your liquid savings of $2,000 would cover about 2.0 months of spending at $1,000/mo. Most guidance suggests keeping 3–6 months as a cushion.",
              "basis": {
                "sourceCount": 1,
                "dataPoints": [
                  {
                    "label": "Liquid savings",
                    "value": "$2,000"
                  },
                  {
                    "label": "Avg monthly spending",
                    "value": "$1,000"
                  },
                  {
                    "label": "Runway",
                    "value": "2.0 months"
                  }
                ]
              }
            },
            {
              "id": "rate-compare-auto",
              "category": "rate",
              "severity": "opportunity",
              "title": "Your Car rate is 12.00% above supplied benchmark",
              "summary": "You're paying 12.00% while the supplied auto loan benchmark is about 0.00%. At the same payment, refinancing to this benchmark could save roughly $14 in interest over the life of the loan. Closing costs and eligibility apply — model it before acting.",
              "basis": {
                "sourceCount": 1,
                "dataPoints": [
                  {
                    "label": "Your APR",
                    "value": "12.00%"
                  },
                  {
                    "label": "Supplied benchmark",
                    "value": "0.00%"
                  },
                  {
                    "label": "Balance",
                    "value": "$1,000"
                  },
                  {
                    "label": "Interest at your rate",
                    "value": "$14"
                  },
                  {
                    "label": "Interest at market rate",
                    "value": "$0"
                  },
                  {
                    "label": "Rate source",
                    "value": "Caller example at 0%"
                  }
                ]
              },
              "estimatedAnnualImpact": 85,
              "actionLabel": "Compare in the Loan calculator",
              "actionHref": "/calculator/loan"
            },
            {
              "id": "debt-avalanche-auto",
              "category": "debt",
              "severity": "opportunity",
              "title": "Attack your 12.00% debt first",
              "summary": "Car carries your highest rate at 12.00%. Paying an extra $60/mo toward it would save about $0 in interest and clear it 0 mo sooner.",
              "basis": {
                "sourceCount": 1,
                "dataPoints": [
                  {
                    "label": "Balance",
                    "value": "$1,000"
                  },
                  {
                    "label": "APR",
                    "value": "12.00%"
                  },
                  {
                    "label": "Current payment",
                    "value": "$600/mo"
                  },
                  {
                    "label": "Extra payment modeled",
                    "value": "$60/mo"
                  },
                  {
                    "label": "Interest saved",
                    "value": "$0"
                  },
                  {
                    "label": "Time saved",
                    "value": "0 mo"
                  }
                ]
              },
              "actionLabel": "Model this in the Extra Payment calculator",
              "actionHref": "/calculator/mortgage"
            },
            {
              "id": "debt-total-interest",
              "category": "debt",
              "severity": "info",
              "title": "Interest you still owe",
              "summary": "Across 1 loan totaling $1,000, you're on track to pay about $14 in interest over their remaining life at your current payments.",
              "basis": {
                "sourceCount": 1,
                "dataPoints": [
                  {
                    "label": "Car",
                    "value": "$1,000 @ 12.00% → $14 interest, 2 mo left"
                  }
                ]
              }
            },
            {
              "id": "cashflow-net",
              "category": "cashflow",
              "severity": "info",
              "title": "Your cash flow is positive",
              "summary": "Over the last 0 mo of activity you've averaged $3,000/mo left over after spending.",
              "basis": {
                "sourceCount": 2,
                "dataPoints": [
                  {
                    "label": "Avg monthly income",
                    "value": "$4,000"
                  },
                  {
                    "label": "Avg monthly spending",
                    "value": "$1,000"
                  },
                  {
                    "label": "Observed window",
                    "value": "0 mo"
                  }
                ]
              }
            }
          ],
          "hasEnoughData": true,
          "generatedFrom": {
            "accounts": 3,
            "transactions": 3,
            "recurring": 0,
            "hasMarketRates": true
          },
          "disclaimer": "These insights are generated automatically from the financial data you saved and are for educational and informational purposes only. HT Calc is not a licensed financial, tax, legal, or investment advisor. Figures are estimates — verify with your lender or a qualified professional before making decisions."
        },
        "formulaVersion": "financial-hub-insights-v1",
        "units": {
          "money": "USD",
          "rate": "percent APR",
          "duration": "months",
          "dates": "UTC date"
        },
        "assumptions": [
          "Only caller-provided data and rate assumptions are used. Ranking prioritizes warnings, opportunities and information in that order."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-profile-entry-breakdown",
      "name": "Financial Hub profile income and payments",
      "category": "Financial Hub",
      "description": "Convert the Hub’s one-total or itemized profile entries into monthly income and debt payments. Return the whole-dollar income rows displayed by the app and P&I when an escrow breakdown is supplied.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "income": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "const": "total"
                  },
                  "total": {
                    "type": "object",
                    "properties": {
                      "amount": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 10000000,
                        "multipleOf": 0.01,
                        "description": "USD in the frequency specified; payments and escrow values are USD/month."
                      },
                      "frequency": {
                        "type": "string",
                        "enum": [
                          "hourly",
                          "weekly",
                          "bi-weekly",
                          "semi-monthly",
                          "monthly",
                          "annual"
                        ]
                      },
                      "hoursPerWeek": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 168,
                        "multipleOf": 0.01,
                        "description": "Hours/week for hourly conversions; defaults to 40."
                      },
                      "convertTo": {
                        "type": "string",
                        "enum": [
                          "hourly",
                          "weekly",
                          "bi-weekly",
                          "semi-monthly",
                          "monthly",
                          "annual"
                        ]
                      }
                    },
                    "required": [
                      "amount",
                      "frequency"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "mode",
                  "total"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "const": "itemized"
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "amount": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 10000000,
                          "multipleOf": 0.01,
                          "description": "USD in the frequency specified; payments and escrow values are USD/month."
                        },
                        "frequency": {
                          "type": "string",
                          "enum": [
                            "hourly",
                            "weekly",
                            "bi-weekly",
                            "semi-monthly",
                            "monthly",
                            "annual"
                          ]
                        },
                        "hoursPerWeek": {
                          "type": "number",
                          "minimum": 0.01,
                          "maximum": 168,
                          "multipleOf": 0.01,
                          "description": "Hours/week for hourly conversions; defaults to 40."
                        },
                        "convertTo": {
                          "type": "string",
                          "enum": [
                            "hourly",
                            "weekly",
                            "bi-weekly",
                            "semi-monthly",
                            "monthly",
                            "annual"
                          ]
                        }
                      },
                      "required": [
                        "amount",
                        "frequency"
                      ],
                      "additionalProperties": false
                    },
                    "maxItems": 100
                  }
                },
                "required": [
                  "mode",
                  "items"
                ],
                "additionalProperties": false
              }
            ]
          },
          "payments": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "const": "total"
                  },
                  "total": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 10000000,
                    "multipleOf": 0.01,
                    "description": "USD in the frequency specified; payments and escrow values are USD/month."
                  }
                },
                "required": [
                  "mode",
                  "total"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "const": "itemized"
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 10000000,
                      "multipleOf": 0.01,
                      "description": "USD in the frequency specified; payments and escrow values are USD/month."
                    },
                    "maxItems": 100
                  }
                },
                "required": [
                  "mode",
                  "items"
                ],
                "additionalProperties": false
              }
            ]
          },
          "escrowedHousing": {
            "type": "object",
            "properties": {
              "total": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000,
                "multipleOf": 0.01,
                "description": "USD in the frequency specified; payments and escrow values are USD/month."
              },
              "property_tax_monthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000,
                "multipleOf": 0.01,
                "description": "USD in the frequency specified; payments and escrow values are USD/month."
              },
              "home_insurance_monthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000,
                "multipleOf": 0.01,
                "description": "USD in the frequency specified; payments and escrow values are USD/month."
              },
              "pmi": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000,
                "multipleOf": 0.01,
                "description": "USD in the frequency specified; payments and escrow values are USD/month."
              }
            },
            "required": [
              "total"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "income",
          "payments"
        ],
        "additionalProperties": false
      },
      "input": {
        "income": {
          "mode": "itemized",
          "items": [
            {
              "amount": 25,
              "frequency": "hourly",
              "hoursPerWeek": 30,
              "convertTo": "annual"
            },
            {
              "amount": 2400,
              "frequency": "annual"
            }
          ]
        },
        "payments": {
          "mode": "itemized",
          "items": [
            125.5,
            50
          ]
        },
        "escrowedHousing": {
          "total": 1850,
          "property_tax_monthly": 300,
          "home_insurance_monthly": 125,
          "pmi": 75
        }
      },
      "output": {
        "status": "available",
        "result": {
          "monthlyIncome": 3450,
          "monthlyPayments": 175.5,
          "incomeRows": [
            {
              "monthly": 3250,
              "shownWhole": 3250,
              "converted": 39000
            },
            {
              "monthly": 200,
              "shownWhole": 200,
              "converted": null
            }
          ],
          "principalAndInterest": 1350
        },
        "formulaVersion": "financial-hub-profile-entry-breakdown-1.0.0",
        "units": {
          "monthlyIncome": "USD/month",
          "monthlyPayments": "USD/month",
          "incomeRows[].monthly": "USD/month",
          "incomeRows[].shownWhole": "whole USD/month",
          "incomeRows[].converted": "USD in requested frequency",
          "principalAndInterest": "USD/month"
        },
        "assumptions": [
          "Monthly conversions use 52 weeks, 26 biweekly or 24 semi-monthly checks per year. Each profile income row is rounded to cents.",
          "Printed whole-dollar income rows are apportioned to add to the displayed total. Unspecified hours default to 40. The escrow P&I residual stays null without a positive total and positive escrow component."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "investor-compare-strategies",
      "name": "Compare four property strategies",
      "category": "Investment",
      "description": "Ranks purchase-and-hold, fix and flip, BRRRR and wholesale under a common dated horizon. The objective may be NPV, IRR, equity multiple or balanced. The fixed app cash model discloses each financing convention and assumes the same before- and after-tax cash flows.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "purchasePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Acquisition price, in USD."
          },
          "monthlyRent": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Scheduled gross rent, in USD per month before vacancy."
          },
          "rehabCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Total rehabilitation budget, in USD."
          },
          "arv": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Caller-assumed after-repair property value, in USD."
          },
          "downPaymentPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Down payment as a percentage of the purchase price (25 means 25%)."
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Nominal annual interest rate on the purchase loan, in percent (6 means 6%)."
          },
          "closingCostsPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Acquisition closing costs as a percentage of purchase price."
          },
          "vacancyRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Uncollected share of scheduled rent, in percent (5 means 5%)."
          },
          "operatingExpensePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Operating expenses as a percentage of gross scheduled monthly rent."
          },
          "holdingPeriod": {
            "type": "integer",
            "minimum": 1,
            "maximum": 120,
            "description": "Length of the flip before sale, in whole months."
          },
          "monthlyHoldingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Flip carrying expenses before acquisition loan interest, in USD per month."
          },
          "sellingCostsPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Flip disposition costs as a percentage of the assumed sale price (ARV)."
          },
          "refiLTV": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Maximum modeled refinance balance as a percentage of assumed ARV."
          },
          "refiRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual refinance interest rate, in percent."
          },
          "assignmentFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Wholesale assignment fee, in USD."
          },
          "investorProfitPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Wholesale end-buyer target profit as a percentage of ARV."
          },
          "requiredDscr": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Minimum ratio of annual net operating income to annual debt service (1.25 means 1.25×)."
          },
          "startDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "horizonYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Common comparison period after the start date, in whole years."
          },
          "discountRatePct": {
            "type": "number",
            "minimum": -50,
            "maximum": 100,
            "description": "Annual discount rate for net present value, in percent (8 means 8%)."
          },
          "objective": {
            "enum": [
              "npv",
              "irr",
              "equity-multiple",
              "balanced"
            ]
          }
        },
        "required": [
          "purchasePrice",
          "monthlyRent",
          "rehabCosts",
          "arv",
          "downPaymentPct",
          "interestRate",
          "closingCostsPct",
          "vacancyRate",
          "operatingExpensePct",
          "holdingPeriod",
          "monthlyHoldingCosts",
          "sellingCostsPct",
          "refiLTV",
          "refiRate",
          "assignmentFee",
          "investorProfitPct",
          "startDate",
          "horizonYears",
          "discountRatePct",
          "objective"
        ],
        "additionalProperties": false,
        "description": "Ranks purchase-and-hold, fix and flip, BRRRR and wholesale under a common dated horizon. The objective may be NPV, IRR, equity multiple or balanced. The fixed app cash model discloses each financing convention and assumes the same before- and after-tax cash flows."
      },
      "input": {
        "purchasePrice": 200000,
        "monthlyRent": 2400,
        "rehabCosts": 30000,
        "arv": 290000,
        "downPaymentPct": 25,
        "interestRate": 6,
        "closingCostsPct": 3,
        "vacancyRate": 5,
        "operatingExpensePct": 30,
        "holdingPeriod": 6,
        "monthlyHoldingCosts": 400,
        "sellingCostsPct": 6,
        "refiLTV": 75,
        "refiRate": 7,
        "assignmentFee": 10000,
        "investorProfitPct": 20,
        "requiredDscr": 1.25,
        "startDate": "2025-01-01",
        "horizonYears": 5,
        "discountRatePct": 8,
        "objective": "npv"
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [
            {
              "code": "comparison-tax-boundary",
              "severity": "warning",
              "message": "Taxes are not inferred; the before-tax and after-tax ledgers are intentionally identical."
            },
            {
              "code": "comparison-cash-model-boundary",
              "severity": "info",
              "message": "Operations use fixed current cash flow with annual modeled receipts. At the common end, Hold recovers contributed capital and BRRRR recovers net refinance cash. Actual refinance timing, market exit equity, changing debt service, and taxes are not modeled."
            }
          ],
          "assumptions": [
            {
              "key": "dayCount",
              "value": "ACT/365F",
              "source": "default"
            },
            {
              "key": "comparisonCashModelVersion",
              "value": "property-comparison-cash-1.1.0",
              "source": "default"
            },
            {
              "key": "periodicCashTiming",
              "value": "annual anniversaries at fixed current cash flow",
              "source": "default"
            },
            {
              "key": "holdTerminalCash",
              "value": "contributed capital; market exit equity not modeled",
              "source": "default"
            },
            {
              "key": "brrrrTerminalCash",
              "value": "net refinance cash at common end; actual refinance timing and residual equity not modeled",
              "source": "default"
            },
            {
              "key": "holdDebtTerm",
              "value": "30",
              "unit": "years",
              "source": "default"
            },
            {
              "key": "holdOperatingExpenses",
              "value": "30",
              "unit": "% of rent (same input as BRRRR)",
              "source": "user"
            },
            {
              "key": "flipInterestCarry",
              "value": "interest-only",
              "unit": "purchase loan × rate ÷ 12 per holding month",
              "source": "default"
            },
            {
              "key": "brrrrRefiDebtTerm",
              "value": "30",
              "unit": "years",
              "source": "default"
            },
            {
              "key": "brrrrRefiClosingCosts",
              "value": "2",
              "unit": "% of ARV",
              "source": "default"
            },
            {
              "key": "brrrrRefiSizing",
              "value": "min(ARV x LTV, NOI / 1.25 DSCR / debt constant, ARV)",
              "source": "user"
            },
            {
              "key": "flipLoanPoints",
              "value": "2",
              "unit": "% of loan amount",
              "source": "default"
            },
            {
              "key": "wholesaleHoldingCosts",
              "value": "0",
              "unit": "currency",
              "source": "default"
            },
            {
              "key": "taxTreatment",
              "value": "not modeled",
              "source": "default"
            }
          ],
          "provenance": [
            {
              "source": "Microsoft XNPV/XIRR ACT/365F definitions",
              "asOf": "2026-08-13"
            }
          ],
          "formulaVersion": "compare-strategies-2.0.0",
          "ruleVersions": [],
          "auditTrail": [
            "Compared 4 strategies over 2025-01-01 through 2030-01-01.",
            "Discounted every dated before-tax and after-tax ledger at 8% using ACT/365F.",
            "Ranked by npv; exposed scores and non-dominated frontier.",
            "Built selected-horizon cash scenarios under property-comparison-cash-1.1.0; initial cash and modeled recovery are counted once.",
            "Surfaced every fixed compatibility-model input and withheld any suitability recommendation."
          ],
          "value": {
            "horizonStart": "2025-01-01",
            "horizonEnd": "2030-01-01",
            "discountRatePct": "8",
            "dayCount": "ACT/365F",
            "objective": "npv",
            "strategies": [
              {
                "id": "wholesale",
                "label": "Wholesale",
                "capitalInvested": "0",
                "beforeTaxNpv": "9905.57",
                "afterTaxNpv": "9905.57",
                "afterTaxIrr": null,
                "irrState": "no-root",
                "afterTaxEquityMultiple": null,
                "afterTaxNetCash": "10000",
                "score": 9905.57,
                "dominated": false
              },
              {
                "id": "flip",
                "label": "Fix & Flip",
                "capitalInvested": "89000",
                "beforeTaxNpv": "22367.59",
                "afterTaxNpv": "22367.59",
                "afterTaxIrr": 0.6973651007124894,
                "irrState": "available",
                "afterTaxEquityMultiple": "1.3",
                "afterTaxNetCash": "26700",
                "score": 22367.59,
                "dominated": false
              },
              {
                "id": "hold",
                "label": "Buy & Hold",
                "capitalInvested": "86000",
                "beforeTaxNpv": "4170.02",
                "afterTaxNpv": "4170.02",
                "afterTaxIrr": 0.09213917926806449,
                "irrState": "available",
                "afterTaxEquityMultiple": "1.460935496933185988372093023255813953488",
                "afterTaxNetCash": "39640.45",
                "score": 4170.02,
                "dominated": false
              },
              {
                "id": "brrrr",
                "label": "BRRRR",
                "capitalInvested": "86000",
                "beforeTaxNpv": "-38457.18",
                "afterTaxNpv": "-38457.18",
                "afterTaxIrr": -0.05673142211253096,
                "irrState": "available",
                "afterTaxEquityMultiple": "0.7717833782286510697674418604651162790698",
                "afterTaxNetCash": "-19626.63",
                "score": -38457.18,
                "dominated": true
              }
            ],
            "ranking": [
              "flip",
              "wholesale",
              "hold",
              "brrrr"
            ],
            "frontier": [
              "wholesale",
              "flip",
              "hold"
            ]
          },
          "scenarios": [
            {
              "strategy": "wholesale",
              "strategyLabel": "Wholesale",
              "totalCashNeeded": 0,
              "monthlyCashFlow": 0,
              "annualCashFlow": 0,
              "totalProjectedProfit": 10000,
              "cashOnCashReturn": null,
              "cashOnCashStatus": "not-applicable",
              "timeHorizon": "30-60 days"
            },
            {
              "strategy": "flip",
              "strategyLabel": "Fix & Flip",
              "totalCashNeeded": 89000,
              "monthlyCashFlow": 0,
              "annualCashFlow": 0,
              "totalProjectedProfit": 26700,
              "cashOnCashReturn": 30,
              "cashOnCashStatus": "available",
              "timeHorizon": "6 months"
            },
            {
              "strategy": "hold",
              "strategyLabel": "Buy & Hold",
              "totalCashNeeded": 86000,
              "monthlyCashFlow": 660.6742122709,
              "annualCashFlow": 7928.090547250799,
              "totalProjectedProfit": 39640.452736253996,
              "cashOnCashReturn": 9.21870993866372,
              "cashOnCashStatus": "available",
              "timeHorizon": "5 years"
            },
            {
              "strategy": "brrrr",
              "strategyLabel": "BRRRR",
              "totalCashNeeded": 86000,
              "monthlyCashFlow": 336.00000879439995,
              "annualCashFlow": 4032.0001055327994,
              "totalProjectedProfit": -19626.629472336008,
              "cashOnCashReturn": 10.134057861982276,
              "cashOnCashStatus": "available",
              "timeHorizon": "5 years"
            }
          ]
        },
        "formulaVersion": "compare-strategies-2.0.0/property-comparison-cash-1.1.0",
        "units": {
          "currency": "USD",
          "holdingPeriod": "months",
          "horizonYears": "years",
          "requiredDscr": "ratio",
          "interestRate": "annual percent",
          "refiRate": "annual percent",
          "discountRatePct": "annual percent",
          "ratesAndShares": "percent (6 means 6%)",
          "afterTaxIrr": "fractional annual return",
          "afterTaxEquityMultiple": "multiple of invested cash"
        },
        "assumptions": [
          "Ranks purchase-and-hold, fix and flip, BRRRR and wholesale under a common dated horizon. The objective may be NPV, IRR, equity multiple or balanced. The fixed app cash model discloses each financing convention and assumes the same before- and after-tax cash flows."
        ],
        "warnings": [
          "Taxes are not inferred; the before-tax and after-tax ledgers are intentionally identical.",
          "Operations use fixed current cash flow with annual modeled receipts. At the common end, Hold recovers contributed capital and BRRRR recovers net refinance cash. Actual refinance timing, market exit equity, changing debt service, and taxes are not modeled."
        ],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/compare"
    },
    {
      "slug": "investor-irr",
      "name": "Dated investment cash-flow returns",
      "category": "Investment",
      "description": "Enter initial capital in dollars and dated signed receipts or expenses. Computes XIRR and all detected roots, XNPV, MIRR, NPV profile, break-even and the dated cash ledger. Returned IRR and MIRR are fractional annual rates.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "initialInvestment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Initial invested capital, in USD. Supply a positive outlay. The engine enters it as negative cash."
          },
          "startDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "cashFlows": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "amount": {
                  "type": "number",
                  "minimum": -1000000000,
                  "maximum": 1000000000,
                  "description": "Signed USD on the associated date. A receipt is positive and a contribution or expense is negative."
                }
              },
              "required": [
                "date",
                "amount"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 63
          },
          "discountRatePct": {
            "type": "number",
            "minimum": -50,
            "maximum": 100,
            "description": "Annual discount rate for net present value, in percent (8 means 8%)."
          },
          "financeRatePct": {
            "type": "number",
            "minimum": -50,
            "maximum": 100,
            "description": "Annual financing rate applied to negative flows for MIRR, in percent. Default 8%."
          },
          "reinvestRatePct": {
            "type": "number",
            "minimum": -50,
            "maximum": 100,
            "description": "Annual reinvestment rate applied to positive flows for MIRR, in percent. Default 5%."
          },
          "dayCount": {
            "enum": [
              "ACT/365F",
              "ACT/360",
              "30/360US",
              "ACT/ACT-ISDA"
            ]
          }
        },
        "required": [
          "initialInvestment",
          "startDate",
          "cashFlows",
          "discountRatePct"
        ],
        "additionalProperties": false,
        "description": "Enter initial capital in dollars and dated signed receipts or expenses. Computes XIRR and all detected roots, XNPV, MIRR, NPV profile, break-even and the dated cash ledger. Returned IRR and MIRR are fractional annual rates."
      },
      "input": {
        "initialInvestment": 100000,
        "startDate": "2025-01-01",
        "cashFlows": [
          {
            "date": "2026-01-01",
            "amount": 110000
          }
        ],
        "discountRatePct": 5,
        "financeRatePct": 8,
        "reinvestRatePct": 5,
        "dayCount": "ACT/365F"
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [],
          "assumptions": [
            {
              "key": "dayCount",
              "value": "ACT/365F",
              "source": "user"
            },
            {
              "key": "discountRatePct",
              "value": "5",
              "unit": "%",
              "source": "user"
            },
            {
              "key": "financeRatePct",
              "value": "8",
              "unit": "%",
              "source": "user"
            },
            {
              "key": "reinvestRatePct",
              "value": "5",
              "unit": "%",
              "source": "user"
            }
          ],
          "provenance": [],
          "formulaVersion": "irr-2.1.0",
          "ruleVersions": [],
          "auditTrail": [
            "Parsed 2 dated cash flows from 2025-01-01 to 2026-01-01.",
            "Netted the ledger to 2 effective calendar-date cash flows before root isolation.",
            "Day count ACT/365F; rate solved in log(1 + rate) space by derivative-root isolation and bracketed bisection, residual tolerance 0.01.",
            "Chronological sign changes after same-day netting: 1. Roots found: 1."
          ],
          "value": {
            "irr": 0.1,
            "irrState": "available",
            "roots": [
              0.1
            ],
            "residualXnpv": "0",
            "converged": true,
            "iterations": 5,
            "tolerance": 0.01,
            "dayCount": "ACT/365F",
            "npv": "4761.9",
            "discountRatePct": "5",
            "mirr": 0.10000000000000009,
            "mirrState": "available",
            "financeRatePct": "8",
            "reinvestRatePct": "5",
            "totalInflows": "110000",
            "totalOutflows": "100000",
            "netProfit": "10000",
            "equityMultiple": "1.1",
            "holdingPeriodYears": 1,
            "timeline": [
              {
                "date": "2025-01-01",
                "amount": "-100000",
                "cumulative": "-100000",
                "discountedCumulative": "-100000",
                "label": "Initial investment"
              },
              {
                "date": "2026-01-01",
                "amount": "110000",
                "cumulative": "10000",
                "discountedCumulative": "4761.9"
              }
            ],
            "breakEvenDate": "2026-01-01",
            "npvProfile": [
              {
                "rate": -0.5,
                "npv": "120000"
              },
              {
                "rate": -0.4741666666666667,
                "npv": "109191.7591125197833037389397756217681472"
              },
              {
                "rate": -0.44833333333333336,
                "npv": "99395.7703927492688091565429304252337349"
              },
              {
                "rate": -0.4225,
                "npv": "90476.1904761904761904761904761904761905"
              },
              {
                "rate": -0.39666666666666667,
                "npv": "82320.4419889502863160465187265351555827"
              },
              {
                "rate": -0.37083333333333335,
                "npv": "74834.4370860927059690364457699228625676"
              },
              {
                "rate": -0.345,
                "npv": "67938.9312977099236641221374045801526718"
              },
              {
                "rate": -0.3191666666666667,
                "npv": "61566.7074663402771880884928440772185111"
              },
              {
                "rate": -0.29333333333333333,
                "npv": "55660.377358490558695265218939124589846"
              },
              {
                "rate": -0.26749999999999996,
                "npv": "50170.6484641638225255972696245733788396"
              },
              {
                "rate": -0.24166666666666664,
                "npv": "45054.9450549450613210964859316510470812"
              },
              {
                "rate": -0.21583333333333332,
                "npv": "40276.3018065887294250243652884705876717"
              },
              {
                "rate": -0.19,
                "npv": "35802.4691358024691358024691358024691358"
              },
              {
                "rate": -0.16416666666666663,
                "npv": "31605.1844466600094432554778336981500893"
              },
              {
                "rate": -0.13833333333333336,
                "npv": "27659.5744680851162599283921149026119867"
              },
              {
                "rate": -0.11249999999999999,
                "npv": "23943.6619718309859154929577464788732394"
              },
              {
                "rate": -0.08666666666666667,
                "npv": "20437.9562043795664393414673131228627497"
              },
              {
                "rate": -0.060833333333333295,
                "npv": "17125.110913930785550129160108933964503"
              },
              {
                "rate": -0.034999999999999976,
                "npv": "13989.637305699470052887325834251807991"
              },
              {
                "rate": -0.009166666666666656,
                "npv": "11017.6619007569423386934197058685395692"
              },
              {
                "rate": 0.01666666666666672,
                "npv": "8196.7213114754169309325450147814380939"
              },
              {
                "rate": 0.04250000000000009,
                "npv": "5515.5875299760191846522781774580335731"
              },
              {
                "rate": 0.06833333333333336,
                "npv": "2964.1185647425832783701363655174241267"
              },
              {
                "rate": 0.09000000000000001,
                "npv": "917.4311926605504587155963302752293578"
              },
              {
                "rate": 0.09416666666666662,
                "npv": "533.1302361005300675360171789632881177"
              },
              {
                "rate": 0.1,
                "npv": "0"
              },
              {
                "rate": 0.11,
                "npv": "-900.9009009009009009009009009009009009"
              },
              {
                "rate": 0.12,
                "npv": "-1785.71428571428571428571428571428571429"
              },
              {
                "rate": 0.14583333333333337,
                "npv": "-4000.00000000001396363636363636160528926"
              },
              {
                "rate": 0.17166666666666675,
                "npv": "-6116.64295874824060266000821514411895818"
              },
              {
                "rate": 0.1975,
                "npv": "-8141.96242171189979123173277661795407098"
              },
              {
                "rate": 0.22333333333333327,
                "npv": "-10081.74386920979946395028547245770724254"
              },
              {
                "rate": 0.24916666666666676,
                "npv": "-11941.29419613076323508534264114601893685"
              },
              {
                "rate": 0.275,
                "npv": "-13725.4901960784313725490196078431372549"
              },
              {
                "rate": 0.3008333333333334,
                "npv": "-15438.82126841767880688843737136909178446"
              },
              {
                "rate": 0.32666666666666666,
                "npv": "-17085.42713567839404307972020908557680704"
              },
              {
                "rate": 0.3524999999999999,
                "npv": "-18669.13123844731977818853974121996303142"
              },
              {
                "rate": 0.3783333333333334,
                "npv": "-20193.47037484885512969913543657290787429"
              },
              {
                "rate": 0.4041666666666667,
                "npv": "-21661.72106824926559888702022558902325108"
              },
              {
                "rate": 0.43000000000000005,
                "npv": "-23076.92307692308768154922001075696761549"
              },
              {
                "rate": 0.4558333333333333,
                "npv": "-24441.90040068689008453120551086182219877"
              },
              {
                "rate": 0.4816666666666667,
                "npv": "-25759.28008998875307628166276740712989243"
              },
              {
                "rate": 0.5075000000000001,
                "npv": "-27031.50912106135986733001658374792703151"
              },
              {
                "rate": 0.5333333333333334,
                "npv": "-28260.86956521739442344045368620024245911"
              },
              {
                "rate": 0.5591666666666668,
                "npv": "-29449.49225013362441907067876997332600144"
              },
              {
                "rate": 0.5850000000000002,
                "npv": "-30599.36908517351033446446874782203981521"
              },
              {
                "rate": 0.6108333333333333,
                "npv": "-31712.36420072426139084043871131425537176"
              },
              {
                "rate": 0.6366666666666667,
                "npv": "-32790.22403258655941364105839945907507859"
              },
              {
                "rate": 0.6625000000000001,
                "npv": "-33834.58646616541353383458646616541353383"
              },
              {
                "rate": 0.6883333333333332,
                "npv": "-34846.98914116485171545817501795472580124"
              },
              {
                "rate": 0.7141666666666668,
                "npv": "-35828.87700534759857432167192240361113687"
              },
              {
                "rate": 0.74,
                "npv": "-36781.60919540229885057471264367816091954"
              },
              {
                "rate": 0.7658333333333334,
                "npv": "-37706.4653138272793692698324180357010186"
              },
              {
                "rate": 0.7916666666666667,
                "npv": "-38604.65116279069881665765278528932434125"
              },
              {
                "rate": 0.8174999999999999,
                "npv": "-39477.30398899587345254470426409903713893"
              },
              {
                "rate": 0.8433333333333335,
                "npv": "-40325.49728752260937382483837951090652578"
              },
              {
                "rate": 0.8691666666666669,
                "npv": "-41150.24520731164354789627371945599937095"
              },
              {
                "rate": 0.895,
                "npv": "-41952.50659630606860158311345646437994723"
              },
              {
                "rate": 0.9208333333333334,
                "npv": "-42733.18872017353777932533726078827663947"
              },
              {
                "rate": 0.9466666666666665,
                "npv": "-43493.15068493150201139988740851900782533"
              },
              {
                "rate": 0.9725000000000001,
                "npv": "-44233.20659062104211745467221186098263855"
              },
              {
                "rate": 0.9983333333333335,
                "npv": "-44954.12844036697706804600163744978581768"
              },
              {
                "rate": 1.0241666666666667,
                "npv": "-45656.64882667765407053950981018459110095"
              },
              {
                "rate": 1.05,
                "npv": "-46341.46341463414634146341463414634146341"
              }
            ],
            "diagnostic": ""
          }
        },
        "formulaVersion": "irr-2.1.0",
        "units": {
          "cashFlows": "signed USD on each date",
          "initialInvestment": "positive USD outlay",
          "discountRatePct": "annual percent",
          "financeRatePct": "annual percent",
          "reinvestRatePct": "annual percent",
          "irr": "fractional annual return",
          "roots": "fractional annual returns",
          "mirr": "fractional annual return",
          "npv": "USD",
          "npvProfile": "fractional annual rate; USD NPV",
          "equityMultiple": "times",
          "tolerance": "USD maximum solver residual"
        },
        "assumptions": [
          "Enter initial capital in dollars and dated signed receipts or expenses. Computes XIRR and all detected roots, XNPV, MIRR, NPV profile, break-even and the dated cash ledger. Returned IRR and MIRR are fractional annual rates."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/irr"
    },
    {
      "slug": "investor-deal-screener",
      "name": "Rental deal and buy-box screen",
      "category": "Investment",
      "description": "Calculates the four checks against caller thresholds using price plus repairs, alongside the price-only quick indicators. The quick GRM threshold uses a strict upper limit as on the app.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "purchasePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Acquisition price, in USD."
          },
          "monthlyRent": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Scheduled gross rent, in USD per month before vacancy."
          },
          "estimatedRepairs": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Repair budget added to purchase price for all-in buy-box tests, in USD."
          },
          "monthlyOperatingExpenses": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Operating expenses before debt service, in USD per month."
          },
          "annualDebtService": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Total debt payments, in USD per year."
          },
          "minRentToPricePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Minimum gross monthly rent divided by acquisition basis, expressed as a percent (1 means 1%)."
          },
          "maxGrm": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000,
            "description": "Maximum gross rent multiplier, in years of gross scheduled rent."
          },
          "minMonthlyCashFlow": {
            "type": "number",
            "minimum": -1000000000,
            "maximum": 1000000000,
            "description": "Lowest accepted cash flow after operating expenses and debt service, in signed USD per month."
          },
          "minDscr": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Minimum ratio of annual net operating income to annual debt service (1.25 means 1.25×)."
          }
        },
        "required": [
          "purchasePrice",
          "monthlyRent",
          "estimatedRepairs",
          "monthlyOperatingExpenses",
          "annualDebtService",
          "minRentToPricePct",
          "maxGrm",
          "minMonthlyCashFlow",
          "minDscr"
        ],
        "additionalProperties": false,
        "description": "Calculates the four checks against caller thresholds using price plus repairs, alongside the price-only quick indicators. The quick GRM threshold uses a strict upper limit as on the app."
      },
      "input": {
        "purchasePrice": 200000,
        "monthlyRent": 2400,
        "estimatedRepairs": 10000,
        "monthlyOperatingExpenses": 600,
        "annualDebtService": 14400,
        "minRentToPricePct": 1,
        "maxGrm": 12,
        "minMonthlyCashFlow": 0,
        "minDscr": 1.25
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [
            {
              "code": "pre-screen-only",
              "severity": "info",
              "message": "This verdict only compares the property with the user-configured buy box; it is not a universal good-deal claim."
            }
          ],
          "assumptions": [
            {
              "key": "screeningPriceBasis",
              "value": "purchase price plus estimated repairs",
              "source": "default"
            }
          ],
          "provenance": [],
          "formulaVersion": "deal-screener-buy-box-1.0.0",
          "ruleVersions": [],
          "auditTrail": [
            "rent-to-price: pass (1.142857142857142857142857142857142857143 vs 1).",
            "grm: pass (7.291666666666666666666666666666666666667 vs 12).",
            "cash-flow: pass (600 vs 0).",
            "dscr: pass (1.5 vs 1.25).",
            "Compatibility adapter: the hub passes all-in acquisition cost as the screen price; thresholds remain user-configured and are exported with the result."
          ],
          "value": {
            "verdict": "meets-configured-buy-box",
            "score": 100,
            "rentToPricePct": "1.142857142857142857142857142857142857143",
            "grm": "7.291666666666666666666666666666666666667",
            "monthlyCashFlow": "600",
            "dscr": "1.5",
            "reasons": [
              {
                "code": "rent-to-price",
                "passed": true,
                "observed": "1.142857142857142857142857142857142857143",
                "threshold": "1",
                "deepLink": "/rental",
                "label": "Rent-to-price pre-screen"
              },
              {
                "code": "grm",
                "passed": true,
                "observed": "7.291666666666666666666666666666666666667",
                "threshold": "12",
                "deepLink": "/rental",
                "label": "Gross rent multiplier pre-screen"
              },
              {
                "code": "cash-flow",
                "passed": true,
                "observed": "600",
                "threshold": "0",
                "deepLink": "/cash-on-cash",
                "label": "Monthly cash-flow threshold"
              },
              {
                "code": "dscr",
                "passed": true,
                "observed": "1.5",
                "threshold": "1.25",
                "deepLink": "/dscr",
                "label": "Debt-service coverage threshold"
              }
            ],
            "exportedThresholds": {
              "minRentToPricePct": "1",
              "maxGrm": "12",
              "minMonthlyCashFlow": "0",
              "minDscr": "1.25"
            }
          },
          "quickScreen": {
            "grm": 6.944444444444445,
            "grmStatus": "available",
            "onePercentRule": 1.2,
            "allInCost": 210000,
            "allInOnePercent": 1.1428571428571428,
            "rentPass": true,
            "grmPass": true
          }
        },
        "formulaVersion": "deal-screener-buy-box-1.0.0",
        "units": {
          "currency": "USD",
          "minRentToPricePct": "monthly rent / all-in basis as percent",
          "grm": "price / annual gross rent, years",
          "monthlyCashFlow": "USD per month",
          "annualDebtService": "USD per year",
          "dscr": "annual NOI / annual debt service, ratio",
          "score": "points out of 100"
        },
        "assumptions": [
          "Calculates the four checks against caller thresholds using price plus repairs, alongside the price-only quick indicators. The quick GRM threshold uses a strict upper limit as on the app."
        ],
        "warnings": [
          "This verdict only compares the property with the user-configured buy box; it is not a universal good-deal claim."
        ],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/deal-screener"
    },
    {
      "slug": "investor-cap-rate-model",
      "name": "Cap rate from income or direct NOI",
      "category": "Investment",
      "description": "Builds an annual scenario from income, vacancy, expenses and recurring capex, or accepts a direct annual NOI. The band divides selected NOI by caller-entered capitalization rates to estimate a scenario price range.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "asOfDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "propertyPrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Acquisition price, in USD."
          },
          "propertySubtype": {
            "enum": [
              "single-family-rental",
              "multifamily",
              "retail",
              "industrial",
              "office"
            ]
          },
          "grossRentalIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Scheduled rental income before vacancy, in USD per year."
          },
          "vacancyRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Uncollected share of scheduled rent, in percent (5 means 5%)."
          },
          "otherIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Other property income, in USD per year."
          },
          "operatingExpenses": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Operating expenses excluding the separate recurring capex input, in USD per year."
          },
          "recurringCapex": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Recurring capital expenditures, in USD per year."
          },
          "noiDirect": {
            "type": "number",
            "minimum": -1000000000,
            "maximum": 1000000000,
            "description": "Direct net operating income when selected, in signed USD per year."
          },
          "useDirectNoi": {
            "type": "boolean"
          },
          "includeRecurringCapexInNoi": {
            "type": "boolean"
          },
          "capRateLowPct": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Lower annual capitalization rate entered for the implied price range, in percent."
          },
          "capRateHighPct": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Upper annual capitalization rate entered for the implied price range, in percent."
          }
        },
        "required": [
          "asOfDate",
          "propertyPrice",
          "propertySubtype",
          "grossRentalIncome",
          "vacancyRate",
          "otherIncome",
          "operatingExpenses",
          "recurringCapex",
          "noiDirect",
          "useDirectNoi",
          "includeRecurringCapexInNoi",
          "capRateLowPct",
          "capRateHighPct"
        ],
        "additionalProperties": false,
        "description": "Builds an annual scenario from income, vacancy, expenses and recurring capex, or accepts a direct annual NOI. The band divides selected NOI by caller-entered capitalization rates to estimate a scenario price range."
      },
      "input": {
        "asOfDate": "2026-01-01",
        "propertyPrice": 400000,
        "propertySubtype": "multifamily",
        "grossRentalIncome": 48000,
        "vacancyRate": 5,
        "otherIncome": 2400,
        "operatingExpenses": 16000,
        "recurringCapex": 2000,
        "noiDirect": 0,
        "useDirectNoi": false,
        "includeRecurringCapexInNoi": true,
        "capRateLowPct": 5,
        "capRateHighPct": 8
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [
            {
              "code": "synthetic-monthly-allocation",
              "severity": "info",
              "message": "Annual user-entered scenario values were allocated evenly across 12 synthetic monthly periods; no observed T-12 actuals were provided."
            }
          ],
          "assumptions": [],
          "provenance": [
            {
              "source": "Declared NOI identity and direct-capitalization inversion",
              "asOf": "2026-08-13"
            }
          ],
          "formulaVersion": "cap-rate-2.0.0",
          "ruleVersions": [
            "NOI=GPI-vacancy+other-income-operating-expenses-selected-recurring-capex-policy"
          ],
          "auditTrail": [
            "Allocated annual user-entered scenario values evenly across 12 synthetic monthly period(s); these are not observed T-12 actuals.",
            "Synthetic scenario period labels: 2025-02 through 2026-01.",
            "Recurring capex policy: included in NOI.",
            "Valuation inverted NOI across 5%–8%."
          ],
          "value": {
            "propertySubtype": "multifamily",
            "selectedNoi": "30000",
            "selectedCapRatePct": "7.5",
            "inPlace": {
              "grossPotentialIncome": "48000",
              "vacancyLoss": "2400",
              "otherIncome": "2400",
              "operatingExpenses": "16000",
              "recurringCapex": "2000",
              "noi": "30000",
              "capRatePct": "7.50000000000000012",
              "normalizedFromMonths": 12
            },
            "stabilized": null,
            "directNoi": "0",
            "directVsDerivedDifference": "-30000",
            "includeRecurringCapexInNoi": true,
            "valuationRange": {
              "low": "375000",
              "high": "600000",
              "lowCapRatePct": "5",
              "highCapRatePct": "8"
            }
          }
        },
        "formulaVersion": "cap-rate-2.0.0",
        "units": {
          "propertyPrice": "USD",
          "incomeAndExpenseInputs": "USD per year",
          "capRateLowPct": "annual percent",
          "capRateHighPct": "annual percent",
          "vacancyRate": "percent of scheduled rent",
          "selectedNoi": "USD per year",
          "selectedCapRatePct": "annual percent",
          "valuationRange": "USD implied by caller cap rates"
        },
        "assumptions": [
          "Builds an annual scenario from income, vacancy, expenses and recurring capex, or accepts a direct annual NOI. The band divides selected NOI by caller-entered capitalization rates to estimate a scenario price range."
        ],
        "warnings": [
          "Annual user-entered scenario values were allocated evenly across 12 synthetic monthly periods; no observed T-12 actuals were provided."
        ],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/cap-rate"
    },
    {
      "slug": "investor-cash-on-cash-model",
      "name": "Cash-on-cash return projection",
      "category": "Investment",
      "description": "Uses the down payment and closing costs as initial cash. Deducts vacancy, operating costs, capital reserve and either calculated or supplied annual debt service. Returns first-year cash flow and a multiyear projection.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "purchasePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Acquisition price, in USD."
          },
          "downPaymentPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Down payment as a percentage of the purchase price (25 means 25%)."
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Cash acquisition closing costs, in USD."
          },
          "annualRentalIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Gross scheduled rental income before vacancy, in USD per year."
          },
          "vacancyRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Uncollected share of scheduled rent, in percent (5 means 5%)."
          },
          "capExReservePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Capital reserve allowance as a percentage of vacancy-adjusted rental income."
          },
          "annualOperatingExpenses": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Operating expenses before debt service and the separate capital reserve, in USD per year."
          },
          "annualMortgagePayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Supplied debt service in USD per year, applied when automatic mortgage calculation is disabled."
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Nominal annual interest rate on the purchase loan, in percent (6 means 6%)."
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Amortization term of the automatic mortgage calculation, in whole years."
          },
          "useAutoMortgage": {
            "type": "boolean"
          },
          "rentGrowthRate": {
            "type": "number",
            "minimum": -100,
            "maximum": 100,
            "description": "Annual change in scheduled gross rent, in percent (2 means a 2% increase)."
          },
          "expenseGrowthRate": {
            "type": "number",
            "minimum": -100,
            "maximum": 100,
            "description": "Annual change in operating expenses, in percent (3 means a 3% increase)."
          },
          "projectionYears": {
            "type": "integer",
            "minimum": 1,
            "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,
        "description": "Uses the down payment and closing costs as initial cash. Deducts vacancy, operating costs, capital reserve and either calculated or supplied annual debt service. Returns first-year cash flow and a multiyear projection."
      },
      "input": {
        "purchasePrice": 200000,
        "downPaymentPct": 25,
        "closingCosts": 10000,
        "annualRentalIncome": 30000,
        "vacancyRate": 0,
        "capExReservePct": 0,
        "annualOperatingExpenses": 6000,
        "annualMortgagePayment": 12000,
        "interestRate": 6,
        "loanTermYears": 30,
        "useAutoMortgage": false,
        "rentGrowthRate": 2,
        "expenseGrowthRate": 3,
        "projectionYears": 5
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [],
          "assumptions": [],
          "provenance": [
            {
              "source": "Annual cash flow divided by total acquisition cash",
              "asOf": "2026-08-13"
            }
          ],
          "formulaVersion": "cash-on-cash-2.0.0",
          "ruleVersions": [
            "effective-rent-after-vacancy",
            "capital-reserve-on-effective-rent"
          ],
          "auditTrail": [
            "Total cash invested equals down payment plus closing costs.",
            "Zero cash flow is a real 0% result; only a zero cash-invested denominator is not-applicable.",
            "Projected 5 year(s) with user-supplied rent and expense growth."
          ],
          "value": {
            "downPayment": "50000",
            "totalCashInvested": "60000",
            "effectiveRent": "30000",
            "capitalReserve": "0",
            "annualCashFlow": "12000",
            "monthlyCashFlow": "1000",
            "cashOnCashPct": "20",
            "projection": [
              {
                "year": 1,
                "effectiveRent": "30000",
                "operatingExpenses": "6000",
                "capitalReserve": "0",
                "annualCashFlow": "12000",
                "cashOnCashPct": "20"
              },
              {
                "year": 2,
                "effectiveRent": "30600",
                "operatingExpenses": "6180",
                "capitalReserve": "0",
                "annualCashFlow": "12420",
                "cashOnCashPct": "20.7"
              },
              {
                "year": 3,
                "effectiveRent": "31212",
                "operatingExpenses": "6365.4",
                "capitalReserve": "0",
                "annualCashFlow": "12846.6",
                "cashOnCashPct": "21.411"
              },
              {
                "year": 4,
                "effectiveRent": "31836.24",
                "operatingExpenses": "6556.36",
                "capitalReserve": "0",
                "annualCashFlow": "13279.88",
                "cashOnCashPct": "22.13313"
              },
              {
                "year": 5,
                "effectiveRent": "32472.96",
                "operatingExpenses": "6753.05",
                "capitalReserve": "0",
                "annualCashFlow": "13719.91",
                "cashOnCashPct": "22.8665199"
              }
            ]
          }
        },
        "formulaVersion": "cash-on-cash-2.0.0",
        "units": {
          "purchasePrice": "USD",
          "closingCosts": "USD",
          "annualRentalIncome": "USD per year",
          "annualMortgagePayment": "USD per year",
          "annualOperatingExpenses": "USD per year",
          "interestRate": "annual percent",
          "vacancyRate": "percent of scheduled income",
          "capExReservePct": "percent of vacancy-adjusted income",
          "growthRates": "percent per year",
          "cashOnCashPct": "annual percent"
        },
        "assumptions": [
          "Uses the down payment and closing costs as initial cash. Deducts vacancy, operating costs, capital reserve and either calculated or supplied annual debt service. Returns first-year cash flow and a multiyear projection."
        ],
        "warnings": [],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/cash-on-cash"
    },
    {
      "slug": "investor-operating-stress",
      "name": "Property operating stress test",
      "category": "Investment",
      "description": "Returns base and stressed cash flow, DSCR, reserves, break-even vacancy and the fixed-seed correlated 750-sample distribution from the app. Shocked vacancy is an additive percentage-point change.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "monthlyRent": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Scheduled gross rent, in USD per month before vacancy."
          },
          "operatingExpenses": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Other operating costs excluding separately entered insurance, HOA and maintenance reserve, in USD per month."
          },
          "insurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Property insurance, in USD per month."
          },
          "hoa": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Homeowners association fees, in USD per month."
          },
          "maintenanceReserve": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Maintenance allowance charged as a property expense, in USD per month."
          },
          "debtService": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Debt payment, in USD per month."
          },
          "vacancyPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Uncollected share of scheduled rent, in percent (5 means 5%)."
          },
          "vacancyShockPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Additional vacancy in percentage points, added to base vacancy (5 turns 10% into 15%)."
          },
          "expenseIncreasePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Relative increase across operating expenses, in percent."
          },
          "rentDropPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 95,
            "description": "Relative decrease in scheduled rental income, in percent."
          },
          "reserveMonths": {
            "type": "number",
            "minimum": 0,
            "maximum": 120,
            "description": "Number of monthly debt payments used to size the starting reserve. Also sets the number of monthly shortfalls shown by the screen."
          },
          "minimumDscr": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Minimum ratio of annual net operating income to annual debt service (1.25 means 1.25×)."
          }
        },
        "required": [
          "monthlyRent",
          "operatingExpenses",
          "insurance",
          "hoa",
          "maintenanceReserve",
          "debtService",
          "vacancyPct",
          "vacancyShockPct",
          "expenseIncreasePct",
          "rentDropPct",
          "reserveMonths"
        ],
        "additionalProperties": false,
        "description": "Returns base and stressed cash flow, DSCR, reserves, break-even vacancy and the fixed-seed correlated 750-sample distribution from the app. Shocked vacancy is an additive percentage-point change."
      },
      "input": {
        "monthlyRent": 2500,
        "operatingExpenses": 450,
        "insurance": 100,
        "hoa": 50,
        "maintenanceReserve": 100,
        "debtService": 1000,
        "vacancyPct": 5,
        "vacancyShockPct": 5,
        "expenseIncreasePct": 10,
        "rentDropPct": 10,
        "reserveMonths": 6,
        "minimumDscr": 1.25
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [],
          "assumptions": [
            {
              "key": "minimumDscr",
              "value": "1.25",
              "source": "user"
            },
            {
              "key": "simulationSeed",
              "value": "20260813",
              "source": "default"
            },
            {
              "key": "annualPropertyTax",
              "value": "0",
              "unit": "USD",
              "source": "default"
            }
          ],
          "provenance": [],
          "formulaVersion": "stress-correlated-simulation-1.1.0",
          "ruleVersions": [],
          "auditTrail": [
            "Correlation matrix passed symmetry, bounds, diagonal, and Cholesky positive-semidefinite checks.",
            "750 adverse-only correlated samples generated from seed 20260813.",
            "Compatibility adapter: legacy stress inputs feed a deterministic disclosed scenario and correlated 750-sample distribution."
          ],
          "value": {
            "base": {
              "name": "Base",
              "effectiveRevenue": "28500",
              "operatingExpenses": "8400",
              "noi": "20100",
              "dscr": "1.675",
              "endingReserves": "14100",
              "covenantBreaches": []
            },
            "scenarios": [
              {
                "name": "User stress case",
                "effectiveRevenue": "24300",
                "operatingExpenses": "9240",
                "noi": "15060",
                "dscr": "1.255",
                "endingReserves": "9060",
                "covenantBreaches": []
              }
            ],
            "simulation": {
              "p10": "1200.74",
              "p50": "4333.31",
              "p90": "6435.42",
              "seed": 20260813,
              "samples": 750
            },
            "tornado": [
              {
                "factor": "rent",
                "cashFlowImpact": "-2850"
              },
              {
                "factor": "vacancy",
                "cashFlowImpact": "-1500"
              },
              {
                "factor": "capex",
                "cashFlowImpact": "-660"
              },
              {
                "factor": "insurance",
                "cashFlowImpact": "-120"
              },
              {
                "factor": "hoa",
                "cashFlowImpact": "-60"
              },
              {
                "factor": "tax",
                "cashFlowImpact": "0"
              }
            ],
            "correlationValidated": true
          },
          "monthly": {
            "baseNoi": 1675,
            "baseCashFlow": 675,
            "stressedVacancyPct": 10,
            "stressedRent": 2250,
            "stressedExpenses": 770.0000000000001,
            "stressedNoi": 1255,
            "stressedCashFlow": 255,
            "breakEvenVacancyPct": 31.999999999999996,
            "reserveNeeded": 0,
            "survivesStress": true
          },
          "shown": {
            "collected": 2025,
            "costs": 770.0000000000001,
            "debtService": 1000,
            "stressedCashFlow": 255
          }
        },
        "formulaVersion": "stress-correlated-simulation-1.1.0",
        "units": {
          "monthlyRentAndCosts": "USD per month",
          "vacancyShockPct": "percentage points",
          "rentDropPct": "percent of rent",
          "expenseIncreasePct": "percent of cost",
          "reserveMonths": "months of debt service",
          "minimumDscr": "ratio",
          "monthly": "USD per month except percent and reserveNeeded (USD)",
          "simulation": "USD annual cash-flow percentiles",
          "endingReserves": "USD"
        },
        "assumptions": [
          "Returns base and stressed cash flow, DSCR, reserves, break-even vacancy and the fixed-seed correlated 750-sample distribution from the app. Shocked vacancy is an additive percentage-point change."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/stress-test"
    },
    {
      "slug": "investor-lease-up",
      "name": "Lease-up and vacancy reserve",
      "category": "Investment",
      "description": "Projects monthly lease-up with new-lease concessions and first-month proration, reserve required, break-even units and stabilized cash flow. The engine caps schedules at 1,200 months.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "totalUnits": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000000,
            "description": "Total rentable units at the property, a whole-unit count."
          },
          "occupiedUnits": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000,
            "description": "Units already occupied at the start, a whole-unit count."
          },
          "targetOccupancyPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Desired occupied share of all units, in percent. The engine rounds the required unit count up."
          },
          "monthlyRentPerUnit": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Scheduled rent per occupied unit, in USD per month."
          },
          "fixedMonthlyExpenses": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Fixed property expenses before debt service, in USD per month."
          },
          "monthlyDebtService": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Debt payments for the property, in USD per month."
          },
          "unitsLeasedPerMonth": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000,
            "description": "Modeled absorption pace, in additional units per month."
          },
          "concessionPerNewLease": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "One-time move-in concession, in USD per newly leased unit."
          },
          "firstMonthProration": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "description": "Fraction of the first month’s rent collected on new leases (0.5 means half a month). Default 0.5."
          }
        },
        "required": [
          "totalUnits",
          "occupiedUnits",
          "targetOccupancyPct",
          "monthlyRentPerUnit",
          "fixedMonthlyExpenses",
          "monthlyDebtService",
          "unitsLeasedPerMonth",
          "concessionPerNewLease"
        ],
        "additionalProperties": false,
        "description": "Projects monthly lease-up with new-lease concessions and first-month proration, reserve required, break-even units and stabilized cash flow. The engine caps schedules at 1,200 months."
      },
      "input": {
        "totalUnits": 8,
        "occupiedUnits": 2,
        "targetOccupancyPct": 100,
        "monthlyRentPerUnit": 1000,
        "fixedMonthlyExpenses": 3000,
        "monthlyDebtService": 3000,
        "unitsLeasedPerMonth": 2,
        "concessionPerNewLease": 200,
        "firstMonthProration": 0.5
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [],
          "assumptions": [
            {
              "key": "firstMonthProration",
              "value": "0.5",
              "unit": "share of first month",
              "source": "user"
            }
          ],
          "provenance": [
            {
              "source": "Unit-month lease-up cash ledger",
              "asOf": "2026-08-13"
            }
          ],
          "formulaVersion": "lease-up-2.0.0",
          "ruleVersions": [
            "new-lease-first-month-proration-v1",
            "zero-pace-not-applicable-v1"
          ],
          "auditTrail": [
            "Target occupancy requires 8 occupied unit(s).",
            "New leases earned 50% of first-month rent.",
            "Accumulated positive monthly shortfalls across 3 month(s)."
          ],
          "value": {
            "targetOccupiedUnits": 8,
            "unitsNeeded": "6",
            "monthsToStabilize": 3,
            "firstMonthProration": "0.5",
            "reserveRequired": "4800",
            "stabilizedRent": "8000",
            "stabilizedCashFlow": "2000",
            "breakEvenUnits": 6,
            "schedule": [
              {
                "month": 1,
                "openingOccupiedUnits": "2",
                "newlyLeasedUnits": "2",
                "endingOccupiedUnits": "4",
                "collectedRent": "3000",
                "concessions": "400",
                "monthlyShortfall": "3400"
              },
              {
                "month": 2,
                "openingOccupiedUnits": "4",
                "newlyLeasedUnits": "2",
                "endingOccupiedUnits": "6",
                "collectedRent": "5000",
                "concessions": "400",
                "monthlyShortfall": "1400"
              },
              {
                "month": 3,
                "openingOccupiedUnits": "6",
                "newlyLeasedUnits": "2",
                "endingOccupiedUnits": "8",
                "collectedRent": "7000",
                "concessions": "400",
                "monthlyShortfall": "0"
              }
            ]
          }
        },
        "formulaVersion": "lease-up-2.0.0",
        "units": {
          "totalUnits": "units",
          "occupiedUnits": "units",
          "targetOccupancyPct": "percent",
          "monthlyRentPerUnit": "USD per unit per month",
          "fixedMonthlyExpenses": "USD per month",
          "monthlyDebtService": "USD per month",
          "unitsLeasedPerMonth": "units per month",
          "concessionPerNewLease": "USD per newly leased unit",
          "firstMonthProration": "fraction (0.5 = half a month)",
          "reserveRequired": "USD",
          "stabilizedCashFlow": "USD per month"
        },
        "assumptions": [
          "Projects monthly lease-up with new-lease concessions and first-month proration, reserve required, break-even units and stabilized cash flow. The engine caps schedules at 1,200 months."
        ],
        "warnings": [],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/lease-up"
    },
    {
      "slug": "investor-rent-renewal",
      "name": "Rent renewal versus turnover scenario",
      "category": "Investment",
      "description": "Compares renewal and turnover cash receipts including retention probability, concessions, downtime and growth. Supply your own maximum increase and market rent for a provisional scenario.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "currentRent": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Current rent, in USD per month."
          },
          "marketRent": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Caller-assumed new-lease rent, in USD per month."
          },
          "renewalIncreasePct": {
            "type": "number",
            "minimum": -99,
            "maximum": 100,
            "description": "Proposed change from current monthly rent, in percent."
          },
          "turnoverCost": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "One-time turnover expense before rent concessions, in USD."
          },
          "vacancyMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 36,
            "description": "Initial empty months on the turnover path, in whole months."
          },
          "concessionMonths": {
            "type": "number",
            "minimum": 0,
            "maximum": 36,
            "description": "Free-rent concession on the new-lease path, in months of the supplied market rent."
          },
          "renewalConcessionMonths": {
            "type": "number",
            "minimum": 0,
            "maximum": 36,
            "description": "Free-rent concession on the renewal path, in months of the proposed renewal rent. Default zero."
          },
          "retentionProbabilityPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Probability of the renewal path, in percent (75 means a 0.75 probability)."
          },
          "assumedMaxIncreasePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Caller’s scenario ceiling on the rent increase, in percent of current rent."
          },
          "annualRentGrowthPct": {
            "type": "number",
            "minimum": -100,
            "maximum": 100,
            "description": "Year-over-year rent growth after year one on both paths, in percent."
          },
          "horizonYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 20,
            "description": "Duration of both rent streams, in whole years."
          },
          "calculationDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          }
        },
        "required": [
          "currentRent",
          "marketRent",
          "renewalIncreasePct",
          "turnoverCost",
          "vacancyMonths",
          "concessionMonths",
          "retentionProbabilityPct",
          "assumedMaxIncreasePct",
          "annualRentGrowthPct",
          "horizonYears",
          "calculationDate"
        ],
        "additionalProperties": false,
        "description": "Compares renewal and turnover cash receipts including retention probability, concessions, downtime and growth. Supply your own maximum increase and market rent for a provisional scenario."
      },
      "input": {
        "currentRent": 1500,
        "marketRent": 1600,
        "renewalIncreasePct": 4,
        "turnoverCost": 1000,
        "vacancyMonths": 1,
        "concessionMonths": 0.5,
        "renewalConcessionMonths": 0,
        "retentionProbabilityPct": 75,
        "assumedMaxIncreasePct": 5,
        "annualRentGrowthPct": 2,
        "horizonYears": 2,
        "calculationDate": "2026-01-01"
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "formulaVersion": "rent-renewal-expected-value-1.0.0",
          "scope": "caller-assumption",
          "value": {
            "renewalProbability": "0.75",
            "turnoverProbability": "0.25",
            "renewalPathValue": "37814.4",
            "turnoverPathValue": "35384",
            "expectedValue": "37206.8",
            "compMode": "manual-override",
            "assumedMaximumRent": "1575",
            "higherValuePath": "renewal-higher-expected-value"
          },
          "professionalReviewRequired": true
        },
        "formulaVersion": "rent-renewal-expected-value-1.0.0",
        "units": {
          "currentRent": "USD per month",
          "marketRent": "USD per month",
          "renewalIncreasePct": "percent of current rent",
          "assumedMaxIncreasePct": "percent of current rent",
          "turnoverCost": "USD once",
          "retentionProbabilityPct": "percent",
          "renewalProbability": "fraction",
          "turnoverProbability": "fraction",
          "annualRentGrowthPct": "annual percent",
          "pathValues": "USD cumulative nominal receipts over the selected horizon"
        },
        "assumptions": [
          "Compares renewal and turnover cash receipts including retention probability, concessions, downtime and growth. Supply your own maximum increase and market rent for a provisional scenario."
        ],
        "warnings": [],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/rent-renewal"
    },
    {
      "slug": "investor-tax-reassessment",
      "name": "Property-tax reassessment scenario",
      "category": "Investment",
      "description": "Applies supplied effective dates, cap, transfer rule, exemptions, assessment ratio, millage, special assessments and timing offsets. Calculates annual tax change and scenario dates for a professional to verify.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "asOfDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "transferDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "marketValue": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Caller-supplied market-value assumption, in USD."
          },
          "priorTaxableAssessedValue": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Prior taxable assessment used as the cap baseline, in USD."
          },
          "currentAnnualTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Current property tax used for the change calculation, in USD per year."
          },
          "additionalExemptionAmount": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Additional exemption deducted from assessed value, in USD of assessed value."
          },
          "rule": {
            "type": "object",
            "properties": {
              "effectiveDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "expiresOn": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "assessmentRatioPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Assessed value as a percentage of caller-supplied market value."
              },
              "millageRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000,
                "description": "Tax dollars per USD 1,000 of taxable assessed value (20 means USD 20 per USD 1,000)."
              },
              "annualAssessmentCapPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Assumed annual assessment growth cap, in percent of the prior taxable assessment."
              },
              "capResetsOnTransfer": {
                "type": "boolean"
              },
              "reassessmentTrigger": {
                "enum": [
                  "transfer",
                  "annual",
                  "construction",
                  "none"
                ]
              },
              "reassessmentDelayDays": {
                "type": "integer",
                "minimum": 0,
                "maximum": 3660,
                "description": "Assumed delay after transfer before reassessment, in calendar days."
              },
              "exemptionAmount": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Exemption in the supplied rule, in USD of assessed value."
              },
              "specialAssessmentAnnual": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Special assessment added after base tax, in USD per year."
              },
              "appealWindowDays": {
                "type": "integer",
                "minimum": 0,
                "maximum": 3660,
                "description": "Assumed appeal window after the reassessment effective date, in calendar days."
              }
            },
            "required": [
              "effectiveDate",
              "expiresOn",
              "assessmentRatioPct",
              "millageRate",
              "capResetsOnTransfer",
              "reassessmentTrigger",
              "reassessmentDelayDays",
              "exemptionAmount",
              "specialAssessmentAnnual",
              "appealWindowDays"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "transferDate",
          "marketValue",
          "priorTaxableAssessedValue",
          "currentAnnualTax",
          "rule"
        ],
        "additionalProperties": false,
        "description": "Applies supplied effective dates, cap, transfer rule, exemptions, assessment ratio, millage, special assessments and timing offsets. Calculates annual tax change and scenario dates for a professional to verify."
      },
      "input": {
        "asOfDate": "2026-01-01",
        "transferDate": "2026-01-01",
        "marketValue": 300000,
        "priorTaxableAssessedValue": 100000,
        "currentAnnualTax": 2300,
        "rule": {
          "effectiveDate": "2025-01-01",
          "expiresOn": "2026-12-31",
          "assessmentRatioPct": 50,
          "millageRate": 20,
          "annualAssessmentCapPct": 5,
          "capResetsOnTransfer": true,
          "reassessmentTrigger": "transfer",
          "reassessmentDelayDays": 30,
          "exemptionAmount": 10000,
          "specialAssessmentAnnual": 100,
          "appealWindowDays": 45
        }
      },
      "output": {
        "status": "available",
        "result": {
          "formulaVersion": "rules-workflows-1.1.0",
          "status": "requires-professional-review",
          "jurisdiction": "Caller scenario",
          "reassessmentEffectiveDate": "2026-01-31",
          "appealDeadline": "2026-03-17",
          "uncappedAssessedValue": 150000,
          "cappedAssessedValue": 150000,
          "taxableAssessedValue": 140000,
          "baseTax": 2800,
          "specialAssessment": 100,
          "annualTax": 2900,
          "authorityExpiresOn": "2026-12-31",
          "professionalReviewRequired": true,
          "issues": [],
          "scope": "caller-assumption",
          "annualTaxChange": 600,
          "shown": {
            "exemptionsApplied": 10000,
            "baseTax": 2800,
            "annualTaxChange": 600
          }
        },
        "formulaVersion": "rules-workflows-1.1.0",
        "units": {
          "marketValue": "USD",
          "priorTaxableAssessedValue": "USD",
          "currentAnnualTax": "USD per year",
          "exemptions": "USD of assessed value",
          "millageRate": "USD per 1,000 USD of taxable assessed value",
          "assessmentRatioPct": "percent",
          "annualAssessmentCapPct": "annual percent",
          "specialAssessmentAnnual": "USD per year",
          "timingOffsets": "calendar days",
          "annualTaxChange": "USD per year"
        },
        "assumptions": [
          "Applies supplied effective dates, cap, transfer rule, exemptions, assessment ratio, millage, special assessments and timing offsets. Calculates annual tax change and scenario dates for a professional to verify."
        ],
        "warnings": [],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/tax-reassessment"
    },
    {
      "slug": "investor-partner-waterfall",
      "name": "Dated partner distribution waterfall",
      "category": "Investment",
      "description": "Allocates dated contributions and payouts in integer cents across investor and sponsor, with preferred return, capital priority, catch-up, fees, tier hurdles and final clawback. IRR hurdle values are fractional rates. Array positions generate anonymous ledger IDs.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "contributions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "investorCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000,
                  "description": "Cash contributed by the investor on this date, in whole USD cents."
                },
                "sponsorCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000,
                  "description": "Cash contributed by the sponsor on this date, in whole USD cents."
                },
                "kind": {
                  "enum": [
                    "initial",
                    "capital-call"
                  ]
                }
              },
              "required": [
                "date",
                "investorCents",
                "sponsorCents",
                "kind"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 48
          },
          "distributions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "amountCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000,
                  "description": "Total available for this distribution before its sponsor fee, in whole USD cents."
                },
                "sponsorFeeCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000,
                  "description": "Fee allocated to the sponsor from this distribution, in whole USD cents."
                },
                "final": {
                  "type": "boolean"
                }
              },
              "required": [
                "date",
                "amountCents"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 64
          },
          "annualPreferredReturnPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual preferred return on unreturned investor capital, in percent."
          },
          "preferredReturnCompounds": {
            "type": "boolean"
          },
          "returnCapitalBeforePreferredReturn": {
            "type": "boolean"
          },
          "sponsorCatchUpPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Sponsor share targeted in the preference catch-up, in percent."
          },
          "tiers": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "investorSharePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Investor share of cash allocated to this residual tier, in percent."
                },
                "hurdle": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "enum": [
                        "equity-multiple",
                        "irr"
                      ]
                    },
                    "value": {
                      "type": "number",
                      "minimum": 0.000001,
                      "maximum": 100,
                      "description": "For equity-multiple, a multiple of cumulative invested capital (1.5 means 1.5×). For irr, a fractional annual return (0.15 means 15%)."
                    }
                  },
                  "required": [
                    "kind",
                    "value"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "investorSharePct"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 8
          },
          "enableClawback": {
            "type": "boolean"
          },
          "clawbackSponsorProfitSharePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Final target sponsor share of paid profit when clawback is enabled, in percent."
          }
        },
        "required": [
          "contributions",
          "distributions",
          "annualPreferredReturnPct",
          "preferredReturnCompounds",
          "returnCapitalBeforePreferredReturn",
          "sponsorCatchUpPct",
          "tiers",
          "enableClawback"
        ],
        "additionalProperties": false,
        "description": "Allocates dated contributions and payouts in integer cents across investor and sponsor, with preferred return, capital priority, catch-up, fees, tier hurdles and final clawback. IRR hurdle values are fractional rates. Array positions generate anonymous ledger IDs."
      },
      "input": {
        "contributions": [
          {
            "date": "2025-01-01",
            "investorCents": 8000000,
            "sponsorCents": 2000000,
            "kind": "initial"
          }
        ],
        "distributions": [
          {
            "date": "2026-01-01",
            "amountCents": 15000000,
            "final": true
          }
        ],
        "annualPreferredReturnPct": 8,
        "preferredReturnCompounds": false,
        "returnCapitalBeforePreferredReturn": true,
        "sponsorCatchUpPct": 0,
        "tiers": [
          {
            "investorSharePct": 70
          }
        ],
        "enableClawback": false
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [
            {
              "code": "agreement-review-required",
              "severity": "critical",
              "message": "This model is not the partnership agreement. Counsel and tax professionals must confirm contribution, fee, hurdle, clawback, and allocation language."
            }
          ],
          "assumptions": [
            {
              "key": "preferredReturnCompounds",
              "value": "false",
              "source": "user"
            },
            {
              "key": "returnCapitalBeforePreferredReturn",
              "value": "true",
              "source": "user"
            },
            {
              "key": "sponsorCatchUpPct",
              "value": "0",
              "unit": "%",
              "source": "user"
            },
            {
              "key": "enableClawback",
              "value": "false",
              "source": "user"
            }
          ],
          "provenance": [
            {
              "source": "User-declared dated contribution, distribution, and waterfall terms",
              "asOf": "2025-01-01"
            }
          ],
          "formulaVersion": "rules-workflows-1.1.0",
          "ruleVersions": [
            "rules-workflows-1.1.0:dated-waterfall:act-365"
          ],
          "auditTrail": [
            "Converted currency to exact integer cents and validated unique event IDs/dates.",
            "Accrued preferred return by actual elapsed days between dated events.",
            "Allocated capital, preference, catch-up, and tier profit in declared order.",
            "Reconciled investor, sponsor, retained, and available cents exactly.",
            "Solved investor XIRR only when a unique dated-cash-flow root existed."
          ],
          "value": {
            "formulaVersion": "rules-workflows-1.1.0",
            "status": "requires-professional-review",
            "ledger": [
              {
                "eventId": "capital-1",
                "date": "2025-01-01",
                "eventType": "contribution",
                "availableCents": 0,
                "investorCapitalCents": 0,
                "sponsorCapitalCents": 0,
                "investorPreferredCents": 0,
                "sponsorFeeCents": 0,
                "investorProfitCents": 0,
                "sponsorProfitCents": 0,
                "clawbackToInvestorCents": 0,
                "retainedCents": 0,
                "investorTotalCents": 0,
                "sponsorTotalCents": 0
              },
              {
                "eventId": "payout-01",
                "date": "2026-01-01",
                "eventType": "distribution",
                "availableCents": 15000000,
                "investorCapitalCents": 8000000,
                "sponsorCapitalCents": 2000000,
                "investorPreferredCents": 640000,
                "sponsorFeeCents": 0,
                "investorProfitCents": 3052000,
                "sponsorProfitCents": 1308000,
                "clawbackToInvestorCents": 0,
                "retainedCents": 0,
                "investorTotalCents": 11692000,
                "sponsorTotalCents": 3308000
              }
            ],
            "investorTotalCents": 11692000,
            "sponsorTotalCents": 3308000,
            "distributableTotalCents": 15000000,
            "retainedTotalCents": 0,
            "investorUnreturnedCapitalCents": 0,
            "sponsorUnreturnedCapitalCents": 0,
            "unpaidPreferredReturnCents": 0,
            "investorEquityMultiple": 1.4615,
            "investorXirr": 0.4615000007529854,
            "investorXirrState": "available",
            "conservationDifferenceCents": 0,
            "professionalReviewRequired": true,
            "issues": []
          }
        },
        "formulaVersion": "rules-workflows-1.1.0",
        "units": {
          "money": "integer USD cents for every amount ending in Cents",
          "annualPreferredReturnPct": "annual percent",
          "sponsorCatchUpPct": "percent",
          "investorSharePct": "percent",
          "clawbackSponsorProfitSharePct": "percent",
          "equityMultipleHurdle": "times contributed capital",
          "irrHurdle": "fractional annual rate",
          "investorXirr": "fractional annual rate"
        },
        "assumptions": [
          "Allocates dated contributions and payouts in integer cents across investor and sponsor, with preferred return, capital priority, catch-up, fees, tier hurdles and final clawback. IRR hurdle values are fractional rates. Array positions generate anonymous ledger IDs."
        ],
        "warnings": [
          "This model is not the partnership agreement. Counsel and tax professionals must confirm contribution, fee, hurdle, clawback, and allocation language."
        ],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/partner-waterfall"
    },
    {
      "slug": "investor-compare-cash-ledgers",
      "name": "Compare supplied investment cash-flow ledgers",
      "category": "Investment",
      "description": "Compares caller-supplied before- and after-tax dated flows for two to eight alternatives over a common horizon of up to 50 years. Optional weights control the balanced objective. Position determines the anonymous strategy ID.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "horizonStart": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "horizonEnd": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "discountRatePct": {
            "type": "number",
            "minimum": -50,
            "maximum": 100,
            "description": "Annual discount rate for net present value, in percent (8 means 8%)."
          },
          "objective": {
            "enum": [
              "npv",
              "irr",
              "equity-multiple",
              "balanced"
            ]
          },
          "dayCount": {
            "enum": [
              "ACT/365F",
              "ACT/360",
              "30/360US",
              "ACT/ACT-ISDA"
            ]
          },
          "weights": {
            "type": "object",
            "properties": {
              "npv": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Nonnegative unitless weight on normalized after-tax NPV in the balanced objective."
              },
              "irr": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Nonnegative unitless weight on normalized after-tax IRR in the balanced objective."
              },
              "equityMultiple": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Nonnegative unitless weight on normalized after-tax equity multiple in the balanced objective."
              }
            },
            "required": [
              "npv",
              "irr",
              "equityMultiple"
            ],
            "additionalProperties": false
          },
          "strategies": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "capitalInvested": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Capital invested in the strategy, in USD."
                },
                "beforeTaxFlows": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "date": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "description": "Gregorian calendar date, YYYY-MM-DD."
                      },
                      "amount": {
                        "type": "number",
                        "minimum": -1000000000,
                        "maximum": 1000000000,
                        "description": "Before-tax cash at the associated date, in signed USD. Positive amounts are receipts."
                      }
                    },
                    "required": [
                      "date",
                      "amount"
                    ],
                    "additionalProperties": false
                  },
                  "minItems": 1,
                  "maxItems": 64
                },
                "afterTaxFlows": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "date": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "description": "Gregorian calendar date, YYYY-MM-DD."
                      },
                      "amount": {
                        "type": "number",
                        "minimum": -1000000000,
                        "maximum": 1000000000,
                        "description": "Cash after caller-modeled taxes at the associated date, in signed USD. Positive amounts are receipts."
                      }
                    },
                    "required": [
                      "date",
                      "amount"
                    ],
                    "additionalProperties": false
                  },
                  "minItems": 1,
                  "maxItems": 64
                }
              },
              "required": [
                "capitalInvested",
                "beforeTaxFlows",
                "afterTaxFlows"
              ],
              "additionalProperties": false
            },
            "minItems": 2,
            "maxItems": 8
          }
        },
        "required": [
          "horizonStart",
          "horizonEnd",
          "discountRatePct",
          "objective",
          "strategies"
        ],
        "additionalProperties": false,
        "description": "Compares caller-supplied before- and after-tax dated flows for two to eight alternatives over a common horizon of up to 50 years. Optional weights control the balanced objective. Position determines the anonymous strategy ID."
      },
      "input": {
        "horizonStart": "2025-01-01",
        "horizonEnd": "2026-01-01",
        "discountRatePct": 0,
        "objective": "npv",
        "strategies": [
          {
            "capitalInvested": 100,
            "beforeTaxFlows": [
              {
                "date": "2025-01-01",
                "amount": -100
              },
              {
                "date": "2026-01-01",
                "amount": 120
              }
            ],
            "afterTaxFlows": [
              {
                "date": "2025-01-01",
                "amount": -100
              },
              {
                "date": "2026-01-01",
                "amount": 110
              }
            ]
          },
          {
            "capitalInvested": 100,
            "beforeTaxFlows": [
              {
                "date": "2025-01-01",
                "amount": -100
              },
              {
                "date": "2026-01-01",
                "amount": 140
              }
            ],
            "afterTaxFlows": [
              {
                "date": "2025-01-01",
                "amount": -100
              },
              {
                "date": "2026-01-01",
                "amount": 130
              }
            ]
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [],
          "assumptions": [
            {
              "key": "dayCount",
              "value": "ACT/365F",
              "source": "default"
            }
          ],
          "provenance": [
            {
              "source": "Microsoft XNPV/XIRR ACT/365F definitions",
              "asOf": "2026-08-13"
            }
          ],
          "formulaVersion": "compare-strategies-2.0.0",
          "ruleVersions": [],
          "auditTrail": [
            "Compared 2 strategies over 2025-01-01 through 2026-01-01.",
            "Discounted every dated before-tax and after-tax ledger at 0% using ACT/365F.",
            "Ranked by npv; exposed scores and non-dominated frontier."
          ],
          "value": {
            "horizonStart": "2025-01-01",
            "horizonEnd": "2026-01-01",
            "discountRatePct": "0",
            "dayCount": "ACT/365F",
            "objective": "npv",
            "strategies": [
              {
                "id": "strategy-1",
                "label": "Strategy 1",
                "capitalInvested": "100",
                "beforeTaxNpv": "20",
                "afterTaxNpv": "10",
                "afterTaxIrr": 0.10000000000000002,
                "irrState": "available",
                "afterTaxEquityMultiple": "1.1",
                "afterTaxNetCash": "10",
                "score": 10,
                "dominated": true
              },
              {
                "id": "strategy-2",
                "label": "Strategy 2",
                "capitalInvested": "100",
                "beforeTaxNpv": "40",
                "afterTaxNpv": "30",
                "afterTaxIrr": 0.2999999999999903,
                "irrState": "available",
                "afterTaxEquityMultiple": "1.3",
                "afterTaxNetCash": "30",
                "score": 30,
                "dominated": false
              }
            ],
            "ranking": [
              "strategy-2",
              "strategy-1"
            ],
            "frontier": [
              "strategy-2"
            ]
          }
        },
        "formulaVersion": "compare-strategies-2.0.0",
        "units": {
          "capitalInvested": "USD",
          "beforeTaxFlows": "dated signed USD",
          "afterTaxFlows": "dated signed USD",
          "discountRatePct": "annual percent",
          "weights": "relative nonnegative weights; at least one positive",
          "afterTaxIrr": "fractional annual rate",
          "afterTaxEquityMultiple": "times invested cash"
        },
        "assumptions": [
          "Compares caller-supplied before- and after-tax dated flows for two to eight alternatives over a common horizon of up to 50 years. Optional weights control the balanced objective. Position determines the anonymous strategy ID."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/compare"
    },
    {
      "slug": "investor-cap-rate-t12",
      "name": "Observed T12 and stabilized cap rates",
      "category": "Investment",
      "description": "Annualizes one to twelve distinct observed months, separating recurring capital costs from operating expenses. Optionally compare direct NOI and an independently supplied stabilized scenario. The arithmetic range depends entirely on the supplied NOI and cap-rate band.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "propertyPrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Acquisition price, in USD."
          },
          "propertySubtype": {
            "enum": [
              "single-family-rental",
              "multifamily",
              "retail",
              "industrial",
              "office"
            ]
          },
          "useDirectNoi": {
            "type": "boolean"
          },
          "directNoi": {
            "type": "number",
            "minimum": -1000000000,
            "maximum": 1000000000,
            "description": "Optional direct net operating income, in signed USD per year."
          },
          "includeRecurringCapexInNoi": {
            "type": "boolean"
          },
          "t12": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "period": {
                  "type": "string",
                  "minLength": 7,
                  "maxLength": 7,
                  "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])$"
                },
                "grossPotentialIncome": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Scheduled gross income before vacancy for this recorded month, in USD."
                },
                "vacancyLoss": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Income lost to vacancy in this recorded month, in USD."
                },
                "otherIncome": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Other income earned in this recorded month, in USD."
                },
                "expenses": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "category": {
                        "enum": [
                          "operating",
                          "insurance",
                          "tax",
                          "maintenance",
                          "utilities",
                          "management",
                          "hoa",
                          "reserve",
                          "other"
                        ]
                      },
                      "amount": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "Positive expense amount in the recorded month for this expense category, in USD. Zero is supported."
                      },
                      "recurringCapex": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "category",
                      "amount"
                    ],
                    "additionalProperties": false
                  },
                  "minItems": 0,
                  "maxItems": 32
                }
              },
              "required": [
                "period",
                "grossPotentialIncome",
                "vacancyLoss",
                "otherIncome",
                "expenses"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 12
          },
          "stabilized": {
            "type": "object",
            "properties": {
              "grossPotentialIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Stabilized gross potential income before vacancy, in USD per year."
              },
              "vacancyLoss": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Stabilized vacancy allowance, in USD per year."
              },
              "otherIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Other stabilized property income, in USD per year."
              },
              "operatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Stabilized operating expenses before separately declared capex, in USD per year."
              },
              "recurringCapex": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Stabilized recurring capital expenditures, in USD per year."
              }
            },
            "required": [
              "grossPotentialIncome",
              "vacancyLoss",
              "otherIncome",
              "operatingExpenses",
              "recurringCapex"
            ],
            "additionalProperties": false
          },
          "capRateBand": {
            "type": "object",
            "properties": {
              "lowPct": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 100,
                "description": "Lower annual capitalization rate entered for the implied price range, in percent."
              },
              "highPct": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 100,
                "description": "Upper annual capitalization rate entered for the implied price range, in percent."
              }
            },
            "required": [
              "lowPct",
              "highPct"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "propertyPrice",
          "propertySubtype",
          "useDirectNoi",
          "includeRecurringCapexInNoi",
          "t12",
          "capRateBand"
        ],
        "additionalProperties": false,
        "description": "Annualizes one to twelve distinct observed months, separating recurring capital costs from operating expenses. Optionally compare direct NOI and an independently supplied stabilized scenario. The arithmetic range depends entirely on the supplied NOI and cap-rate band."
      },
      "input": {
        "propertyPrice": 500000,
        "propertySubtype": "multifamily",
        "useDirectNoi": false,
        "includeRecurringCapexInNoi": true,
        "t12": [
          {
            "period": "2025-01",
            "grossPotentialIncome": 4000,
            "vacancyLoss": 100,
            "otherIncome": 200,
            "expenses": [
              {
                "category": "operating",
                "amount": 1000
              },
              {
                "category": "reserve",
                "amount": 100,
                "recurringCapex": true
              }
            ]
          }
        ],
        "stabilized": {
          "grossPotentialIncome": 50000,
          "vacancyLoss": 1000,
          "otherIncome": 3000,
          "operatingExpenses": 12000,
          "recurringCapex": 2000
        },
        "capRateBand": {
          "lowPct": 6,
          "highPct": 8
        }
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [
            {
              "code": "partial-t12-normalized",
              "severity": "warning",
              "message": "1 months were annualized; this is not a complete trailing-twelve-month statement."
            }
          ],
          "assumptions": [],
          "provenance": [
            {
              "source": "Declared NOI identity and direct-capitalization inversion",
              "asOf": "2026-08-13"
            }
          ],
          "formulaVersion": "cap-rate-2.0.0",
          "ruleVersions": [
            "NOI=GPI-vacancy+other-income-operating-expenses-selected-recurring-capex-policy"
          ],
          "auditTrail": [
            "Normalized 1 observed T-12 month(s) to an annual in-place NOI.",
            "Observed T-12 coverage: 2025-01 through 2025-01.",
            "Recurring capex policy: included in NOI.",
            "Valuation inverted NOI across 6%–8%."
          ],
          "value": {
            "propertySubtype": "multifamily",
            "selectedNoi": "36000",
            "selectedCapRatePct": "7.2",
            "inPlace": {
              "grossPotentialIncome": "48000",
              "vacancyLoss": "1200",
              "otherIncome": "2400",
              "operatingExpenses": "12000",
              "recurringCapex": "1200",
              "noi": "36000",
              "capRatePct": "7.2",
              "normalizedFromMonths": 1
            },
            "stabilized": {
              "grossPotentialIncome": "50000",
              "vacancyLoss": "1000",
              "otherIncome": "3000",
              "operatingExpenses": "12000",
              "recurringCapex": "2000",
              "noi": "38000",
              "capRatePct": "7.6",
              "normalizedFromMonths": 12
            },
            "directNoi": null,
            "directVsDerivedDifference": null,
            "includeRecurringCapexInNoi": true,
            "valuationRange": {
              "low": "450000",
              "high": "600000",
              "lowCapRatePct": "6",
              "highCapRatePct": "8"
            }
          }
        },
        "formulaVersion": "cap-rate-2.0.0",
        "units": {
          "propertyPrice": "USD",
          "t12": "observed USD per named month",
          "stabilized": "USD per year",
          "directNoi": "USD per year",
          "capRateBand": "annual percent",
          "selectedCapRatePct": "annual percent",
          "valuationRange": "USD implied by caller cap rates"
        },
        "assumptions": [
          "Annualizes one to twelve distinct observed months, separating recurring capital costs from operating expenses. Optionally compare direct NOI and an independently supplied stabilized scenario. The arithmetic range depends entirely on the supplied NOI and cap-rate band."
        ],
        "warnings": [
          "1 months were annualized; this is not a complete trailing-twelve-month statement."
        ],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/cap-rate"
    },
    {
      "slug": "investor-correlated-stress",
      "name": "Correlated property stress scenarios",
      "category": "Investment",
      "description": "Models up to sixteen explicit shocks and a bounded seeded distribution. The six factors are insurance, HOA, property tax, vacancy, rent drop and capital expense, in that order. Supply a symmetric positive-semidefinite correlation matrix, with ones on the diagonal. Results include cash-flow percentiles, reserve breaches and a tornado sensitivity table.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "annualScheduledRent": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Gross scheduled rent before vacancy, in USD per year."
          },
          "baseVacancyPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Uncollected share of scheduled rent, in percent (5 means 5%)."
          },
          "annualInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Base insurance cost, in USD per year."
          },
          "annualHoa": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Base association fees, in USD per year."
          },
          "annualPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Base property taxes, in USD per year."
          },
          "annualOtherExpenses": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Operating costs outside insurance, HOA and property taxes, in USD per year."
          },
          "annualDebtService": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Debt service, in USD per year."
          },
          "startingReserves": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Cash reserves before the modeled year, in USD."
          },
          "minimumDscr": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Minimum ratio of annual net operating income to annual debt service (1.25 means 1.25×)."
          },
          "scenarios": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "insuranceIncreasePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Scenario increase in base insurance cost, in percent."
                },
                "hoaIncreasePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Scenario increase in base association fees, in percent."
                },
                "taxIncreasePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Scenario increase in base property taxes, in percent."
                },
                "vacancyIncreasePctPoints": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Scenario addition to base vacancy, in percentage points."
                },
                "rentDecreasePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Scenario decrease in scheduled rent, in percent."
                },
                "capexShock": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Additional one-time capital expense in the scenario year, in USD."
                }
              },
              "required": [
                "insuranceIncreasePct",
                "hoaIncreasePct",
                "taxIncreasePct",
                "vacancyIncreasePctPoints",
                "rentDecreasePct",
                "capexShock"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 16
          },
          "simulation": {
            "type": "object",
            "properties": {
              "seed": {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295,
                "description": "Unsigned integer seed for reproducible pseudorandom sampling, unitless."
              },
              "samples": {
                "type": "integer",
                "minimum": 100,
                "maximum": 1000,
                "description": "Count of simulated adverse scenarios used to compute the percentile distribution."
              },
              "factorScales": {
                "type": "array",
                "items": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Scale by index in order: insurance increase %, HOA increase %, tax increase %, vacancy percentage points, rent decrease %, then capital expense in USD."
                },
                "minItems": 6,
                "maxItems": 6
              },
              "correlation": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "minimum": -1,
                    "maximum": 1,
                    "description": "Unitless pairwise correlations from −1 through 1 in the same six-factor order as factorScales. Diagonal entries equal 1."
                  },
                  "minItems": 6,
                  "maxItems": 6
                },
                "minItems": 6,
                "maxItems": 6
              }
            },
            "required": [
              "seed",
              "samples",
              "factorScales",
              "correlation"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "annualScheduledRent",
          "baseVacancyPct",
          "annualInsurance",
          "annualHoa",
          "annualPropertyTax",
          "annualOtherExpenses",
          "annualDebtService",
          "startingReserves",
          "minimumDscr",
          "scenarios",
          "simulation"
        ],
        "additionalProperties": false,
        "description": "Models up to sixteen explicit shocks and a bounded seeded distribution. The six factors are insurance, HOA, property tax, vacancy, rent drop and capital expense, in that order. Supply a symmetric positive-semidefinite correlation matrix, with ones on the diagonal. Results include cash-flow percentiles, reserve breaches and a tornado sensitivity table."
      },
      "input": {
        "annualScheduledRent": 30000,
        "baseVacancyPct": 5,
        "annualInsurance": 1200,
        "annualHoa": 0,
        "annualPropertyTax": 2400,
        "annualOtherExpenses": 6000,
        "annualDebtService": 12000,
        "startingReserves": 12000,
        "minimumDscr": 1.25,
        "scenarios": [
          {
            "insuranceIncreasePct": 20,
            "hoaIncreasePct": 0,
            "taxIncreasePct": 10,
            "vacancyIncreasePctPoints": 5,
            "rentDecreasePct": 10,
            "capexShock": 1000
          }
        ],
        "simulation": {
          "seed": 123,
          "samples": 100,
          "factorScales": [
            20,
            0,
            10,
            5,
            10,
            1000
          ],
          "correlation": [
            [
              1,
              0,
              0,
              0,
              0,
              0
            ],
            [
              0,
              1,
              0,
              0,
              0,
              0
            ],
            [
              0,
              0,
              1,
              0,
              0,
              0
            ],
            [
              0,
              0,
              0,
              1,
              0,
              0
            ],
            [
              0,
              0,
              0,
              0,
              1,
              0
            ],
            [
              0,
              0,
              0,
              0,
              0,
              1
            ]
          ]
        }
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [],
          "assumptions": [],
          "provenance": [],
          "formulaVersion": "stress-correlated-simulation-1.1.0",
          "ruleVersions": [],
          "auditTrail": [
            "Correlation matrix passed symmetry, bounds, diagonal, and Cholesky positive-semidefinite checks.",
            "100 adverse-only correlated samples generated from seed 123."
          ],
          "value": {
            "base": {
              "name": "Base",
              "effectiveRevenue": "28500",
              "operatingExpenses": "9600",
              "noi": "18900",
              "dscr": "1.575",
              "endingReserves": "18900",
              "covenantBreaches": []
            },
            "scenarios": [
              {
                "name": "Scenario 1",
                "effectiveRevenue": "24300",
                "operatingExpenses": "11080",
                "noi": "13220",
                "dscr": "1.101666666666666666666666666666666666667",
                "endingReserves": "13220",
                "covenantBreaches": [
                  "DSCR 1.102 is below 1.250."
                ]
              }
            ],
            "simulation": {
              "p10": "-318.82",
              "p50": "2490.47",
              "p90": "4945.07",
              "seed": 123,
              "samples": 100
            },
            "tornado": [
              {
                "factor": "rent",
                "cashFlowImpact": "-2850"
              },
              {
                "factor": "vacancy",
                "cashFlowImpact": "-1500"
              },
              {
                "factor": "capex",
                "cashFlowImpact": "-1000"
              },
              {
                "factor": "insurance",
                "cashFlowImpact": "-240"
              },
              {
                "factor": "tax",
                "cashFlowImpact": "-240"
              },
              {
                "factor": "hoa",
                "cashFlowImpact": "0"
              }
            ],
            "correlationValidated": true
          }
        },
        "formulaVersion": "stress-correlated-simulation-1.1.0",
        "units": {
          "baseRentAndCosts": "USD per year",
          "startingReserves": "USD",
          "minimumDscr": "ratio",
          "vacancyIncreasePctPoints": "percentage points",
          "rentDecreasePct": "percent of scheduled rent",
          "capexShock": "USD per year",
          "factorScales": "[insurance %, HOA %, tax %, vacancy percentage points, rent %, USD capex]",
          "correlation": "six by six correlation coefficients",
          "p10": "USD annual cash flow",
          "p50": "USD annual cash flow",
          "p90": "USD annual cash flow"
        },
        "assumptions": [
          "Models up to sixteen explicit shocks and a bounded seeded distribution. The six factors are insurance, HOA, property tax, vacancy, rent drop and capital expense, in that order. Supply a symmetric positive-semidefinite correlation matrix, with ones on the diagonal. Results include cash-flow percentiles, reserve breaches and a tornado sensitivity table."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/stress-test"
    },
    {
      "slug": "investor-dscr-loan",
      "name": "DSCR loan sizing and rent stress",
      "category": "Investment",
      "description": "Enter a residential loan and PITIA components or use owner NOI to size a loan. Includes LTV and income ceilings, interest-only or amortizing debt sizing, loan payment transition and prepayment penalties, rent bands, optional extra principal on the sized amortizing loan and a second scenario. All thresholds are supplied assumptions.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "scenario": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "grossMonthlyRent": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in gross rent, before any operating expenses or appraisal rent cap."
                  },
                  "monthlyOperatingExpenses": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in operating expenses in addition to the separately entered taxes, insurance and association dues."
                  },
                  "lenderDscr": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 10,
                    "description": "Required coverage multiple for sizing (1.25 means 1.25 times debt service)."
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual note interest rate in percent (6 means 6% per year)."
                  },
                  "loanTerm": {
                    "type": "number",
                    "minimum": 0.08333333333333333,
                    "maximum": 50,
                    "description": "Amortization term in years. The sizing engine converts years to the nearest whole month."
                  },
                  "monthlyTaxes": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in property taxes."
                  },
                  "monthlyInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in property insurance premiums."
                  },
                  "monthlyHoa": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in association dues."
                  },
                  "propertyValue": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Caller-supplied property value in USD used as the loan-to-value denominator."
                  },
                  "maxLtvPct": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 100,
                    "description": "Maximum loan principal as a percent of the entered property value (75 means 75%)."
                  },
                  "appraisalMarketRent": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "USD per month in caller-supplied appraisal market rent."
                  },
                  "appraisalRentCapPct": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Percent of entered appraisal market rent allowed in qualifying rent (90 means 90%)."
                  },
                  "debtSizingMethod": {
                    "enum": [
                      "amortizing",
                      "interest-only"
                    ]
                  },
                  "analysisDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "limits": {
                    "type": "object",
                    "properties": {
                      "asOf": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "Gregorian calendar date, YYYY-MM-DD."
                      },
                      "expiresAt": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "Gregorian calendar date, YYYY-MM-DD."
                      },
                      "requiredDscr": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 10,
                        "description": "Minimum coverage multiple under the dated assumption (1.25 means income is 1.25 times debt service)."
                      },
                      "maxLtvPct": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 100,
                        "description": "Maximum loan as a percent of property value under the dated assumption (75 means 75%)."
                      },
                      "maxLoan": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 1000000000,
                        "description": "Absolute loan principal ceiling in USD under the dated assumption."
                      },
                      "reserveMonths": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 120,
                        "description": "Number of months of sized monthly debt payment plus fixed PITIA costs to include in the reserve estimate."
                      }
                    },
                    "required": [
                      "asOf",
                      "expiresAt"
                    ],
                    "additionalProperties": false
                  },
                  "extraMonthlyPrincipal": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in additional principal paid on the sized amortizing loan in the payoff comparison."
                  },
                  "rentBands": {
                    "type": "object",
                    "properties": {
                      "optimistic": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month in gross rent in the high-rent stress scenario."
                      },
                      "realistic": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month in gross rent in the base stress scenario."
                      },
                      "conservative": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month in gross rent in the low-rent stress scenario."
                      }
                    },
                    "required": [
                      "optimistic",
                      "realistic",
                      "conservative"
                    ],
                    "additionalProperties": false
                  },
                  "dscrMode": {
                    "const": "owner"
                  }
                },
                "required": [
                  "grossMonthlyRent",
                  "monthlyOperatingExpenses",
                  "lenderDscr",
                  "interestRate",
                  "loanTerm",
                  "monthlyTaxes",
                  "monthlyInsurance",
                  "monthlyHoa",
                  "propertyValue",
                  "maxLtvPct",
                  "debtSizingMethod",
                  "analysisDate",
                  "dscrMode"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "grossMonthlyRent": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in gross rent, before any operating expenses or appraisal rent cap."
                  },
                  "monthlyOperatingExpenses": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in operating expenses in addition to the separately entered taxes, insurance and association dues."
                  },
                  "lenderDscr": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 10,
                    "description": "Required coverage multiple for sizing (1.25 means 1.25 times debt service)."
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual note interest rate in percent (6 means 6% per year)."
                  },
                  "loanTerm": {
                    "type": "number",
                    "minimum": 0.08333333333333333,
                    "maximum": 50,
                    "description": "Amortization term in years. The sizing engine converts years to the nearest whole month."
                  },
                  "monthlyTaxes": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in property taxes."
                  },
                  "monthlyInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in property insurance premiums."
                  },
                  "monthlyHoa": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in association dues."
                  },
                  "propertyValue": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Caller-supplied property value in USD used as the loan-to-value denominator."
                  },
                  "maxLtvPct": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 100,
                    "description": "Maximum loan principal as a percent of the entered property value (75 means 75%)."
                  },
                  "appraisalMarketRent": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "USD per month in caller-supplied appraisal market rent."
                  },
                  "appraisalRentCapPct": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Percent of entered appraisal market rent allowed in qualifying rent (90 means 90%)."
                  },
                  "debtSizingMethod": {
                    "enum": [
                      "amortizing",
                      "interest-only"
                    ]
                  },
                  "analysisDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "limits": {
                    "type": "object",
                    "properties": {
                      "asOf": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "Gregorian calendar date, YYYY-MM-DD."
                      },
                      "expiresAt": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "Gregorian calendar date, YYYY-MM-DD."
                      },
                      "requiredDscr": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 10,
                        "description": "Minimum coverage multiple under the dated assumption (1.25 means income is 1.25 times debt service)."
                      },
                      "maxLtvPct": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 100,
                        "description": "Maximum loan as a percent of property value under the dated assumption (75 means 75%)."
                      },
                      "maxLoan": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 1000000000,
                        "description": "Absolute loan principal ceiling in USD under the dated assumption."
                      },
                      "reserveMonths": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 120,
                        "description": "Number of months of sized monthly debt payment plus fixed PITIA costs to include in the reserve estimate."
                      }
                    },
                    "required": [
                      "asOf",
                      "expiresAt"
                    ],
                    "additionalProperties": false
                  },
                  "extraMonthlyPrincipal": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in additional principal paid on the sized amortizing loan in the payoff comparison."
                  },
                  "rentBands": {
                    "type": "object",
                    "properties": {
                      "optimistic": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month in gross rent in the high-rent stress scenario."
                      },
                      "realistic": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month in gross rent in the base stress scenario."
                      },
                      "conservative": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month in gross rent in the low-rent stress scenario."
                      }
                    },
                    "required": [
                      "optimistic",
                      "realistic",
                      "conservative"
                    ],
                    "additionalProperties": false
                  },
                  "dscrMode": {
                    "const": "lender"
                  },
                  "loanAmount": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "USD principal of the entered residential loan used for actual PITIA, payment transitions and penalties."
                  },
                  "ioPeriodMonths": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 599,
                    "description": "Whole months of interest-only payments before amortization begins in the entered-loan illustration."
                  },
                  "prepaymentRatesPct": {
                    "type": "array",
                    "items": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Prepayment charge as a percent of the outstanding balance at the start of that loan year. Array position one is loan year one."
                    },
                    "minItems": 0,
                    "maxItems": 10
                  }
                },
                "required": [
                  "grossMonthlyRent",
                  "monthlyOperatingExpenses",
                  "lenderDscr",
                  "interestRate",
                  "loanTerm",
                  "monthlyTaxes",
                  "monthlyInsurance",
                  "monthlyHoa",
                  "propertyValue",
                  "maxLtvPct",
                  "debtSizingMethod",
                  "analysisDate",
                  "dscrMode",
                  "loanAmount"
                ],
                "additionalProperties": false
              }
            ]
          },
          "compareTo": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "grossMonthlyRent": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in gross rent, before any operating expenses or appraisal rent cap."
                  },
                  "monthlyOperatingExpenses": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in operating expenses in addition to the separately entered taxes, insurance and association dues."
                  },
                  "lenderDscr": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 10,
                    "description": "Required coverage multiple for sizing (1.25 means 1.25 times debt service)."
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual note interest rate in percent (6 means 6% per year)."
                  },
                  "loanTerm": {
                    "type": "number",
                    "minimum": 0.08333333333333333,
                    "maximum": 50,
                    "description": "Amortization term in years. The sizing engine converts years to the nearest whole month."
                  },
                  "monthlyTaxes": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in property taxes."
                  },
                  "monthlyInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in property insurance premiums."
                  },
                  "monthlyHoa": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in association dues."
                  },
                  "propertyValue": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Caller-supplied property value in USD used as the loan-to-value denominator."
                  },
                  "maxLtvPct": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 100,
                    "description": "Maximum loan principal as a percent of the entered property value (75 means 75%)."
                  },
                  "appraisalMarketRent": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "USD per month in caller-supplied appraisal market rent."
                  },
                  "appraisalRentCapPct": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Percent of entered appraisal market rent allowed in qualifying rent (90 means 90%)."
                  },
                  "debtSizingMethod": {
                    "enum": [
                      "amortizing",
                      "interest-only"
                    ]
                  },
                  "analysisDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "limits": {
                    "type": "object",
                    "properties": {
                      "asOf": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "Gregorian calendar date, YYYY-MM-DD."
                      },
                      "expiresAt": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "Gregorian calendar date, YYYY-MM-DD."
                      },
                      "requiredDscr": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 10,
                        "description": "Minimum coverage multiple under the dated assumption (1.25 means income is 1.25 times debt service)."
                      },
                      "maxLtvPct": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 100,
                        "description": "Maximum loan as a percent of property value under the dated assumption (75 means 75%)."
                      },
                      "maxLoan": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 1000000000,
                        "description": "Absolute loan principal ceiling in USD under the dated assumption."
                      },
                      "reserveMonths": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 120,
                        "description": "Number of months of sized monthly debt payment plus fixed PITIA costs to include in the reserve estimate."
                      }
                    },
                    "required": [
                      "asOf",
                      "expiresAt"
                    ],
                    "additionalProperties": false
                  },
                  "extraMonthlyPrincipal": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in additional principal paid on the sized amortizing loan in the payoff comparison."
                  },
                  "rentBands": {
                    "type": "object",
                    "properties": {
                      "optimistic": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month in gross rent in the high-rent stress scenario."
                      },
                      "realistic": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month in gross rent in the base stress scenario."
                      },
                      "conservative": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month in gross rent in the low-rent stress scenario."
                      }
                    },
                    "required": [
                      "optimistic",
                      "realistic",
                      "conservative"
                    ],
                    "additionalProperties": false
                  },
                  "dscrMode": {
                    "const": "owner"
                  }
                },
                "required": [
                  "grossMonthlyRent",
                  "monthlyOperatingExpenses",
                  "lenderDscr",
                  "interestRate",
                  "loanTerm",
                  "monthlyTaxes",
                  "monthlyInsurance",
                  "monthlyHoa",
                  "propertyValue",
                  "maxLtvPct",
                  "debtSizingMethod",
                  "analysisDate",
                  "dscrMode"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "grossMonthlyRent": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in gross rent, before any operating expenses or appraisal rent cap."
                  },
                  "monthlyOperatingExpenses": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in operating expenses in addition to the separately entered taxes, insurance and association dues."
                  },
                  "lenderDscr": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 10,
                    "description": "Required coverage multiple for sizing (1.25 means 1.25 times debt service)."
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual note interest rate in percent (6 means 6% per year)."
                  },
                  "loanTerm": {
                    "type": "number",
                    "minimum": 0.08333333333333333,
                    "maximum": 50,
                    "description": "Amortization term in years. The sizing engine converts years to the nearest whole month."
                  },
                  "monthlyTaxes": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in property taxes."
                  },
                  "monthlyInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in property insurance premiums."
                  },
                  "monthlyHoa": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in association dues."
                  },
                  "propertyValue": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Caller-supplied property value in USD used as the loan-to-value denominator."
                  },
                  "maxLtvPct": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 100,
                    "description": "Maximum loan principal as a percent of the entered property value (75 means 75%)."
                  },
                  "appraisalMarketRent": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "USD per month in caller-supplied appraisal market rent."
                  },
                  "appraisalRentCapPct": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Percent of entered appraisal market rent allowed in qualifying rent (90 means 90%)."
                  },
                  "debtSizingMethod": {
                    "enum": [
                      "amortizing",
                      "interest-only"
                    ]
                  },
                  "analysisDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "limits": {
                    "type": "object",
                    "properties": {
                      "asOf": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "Gregorian calendar date, YYYY-MM-DD."
                      },
                      "expiresAt": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                        "description": "Gregorian calendar date, YYYY-MM-DD."
                      },
                      "requiredDscr": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 10,
                        "description": "Minimum coverage multiple under the dated assumption (1.25 means income is 1.25 times debt service)."
                      },
                      "maxLtvPct": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 100,
                        "description": "Maximum loan as a percent of property value under the dated assumption (75 means 75%)."
                      },
                      "maxLoan": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 1000000000,
                        "description": "Absolute loan principal ceiling in USD under the dated assumption."
                      },
                      "reserveMonths": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 120,
                        "description": "Number of months of sized monthly debt payment plus fixed PITIA costs to include in the reserve estimate."
                      }
                    },
                    "required": [
                      "asOf",
                      "expiresAt"
                    ],
                    "additionalProperties": false
                  },
                  "extraMonthlyPrincipal": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in additional principal paid on the sized amortizing loan in the payoff comparison."
                  },
                  "rentBands": {
                    "type": "object",
                    "properties": {
                      "optimistic": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month in gross rent in the high-rent stress scenario."
                      },
                      "realistic": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month in gross rent in the base stress scenario."
                      },
                      "conservative": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month in gross rent in the low-rent stress scenario."
                      }
                    },
                    "required": [
                      "optimistic",
                      "realistic",
                      "conservative"
                    ],
                    "additionalProperties": false
                  },
                  "dscrMode": {
                    "const": "lender"
                  },
                  "loanAmount": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "USD principal of the entered residential loan used for actual PITIA, payment transitions and penalties."
                  },
                  "ioPeriodMonths": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 599,
                    "description": "Whole months of interest-only payments before amortization begins in the entered-loan illustration."
                  },
                  "prepaymentRatesPct": {
                    "type": "array",
                    "items": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Prepayment charge as a percent of the outstanding balance at the start of that loan year. Array position one is loan year one."
                    },
                    "minItems": 0,
                    "maxItems": 10
                  }
                },
                "required": [
                  "grossMonthlyRent",
                  "monthlyOperatingExpenses",
                  "lenderDscr",
                  "interestRate",
                  "loanTerm",
                  "monthlyTaxes",
                  "monthlyInsurance",
                  "monthlyHoa",
                  "propertyValue",
                  "maxLtvPct",
                  "debtSizingMethod",
                  "analysisDate",
                  "dscrMode",
                  "loanAmount"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "scenario"
        ],
        "additionalProperties": false,
        "description": "Enter a residential loan and PITIA components or use owner NOI to size a loan. Includes LTV and income ceilings, interest-only or amortizing debt sizing, loan payment transition and prepayment penalties, rent bands, optional extra principal on the sized amortizing loan and a second scenario. All thresholds are supplied assumptions."
      },
      "input": {
        "scenario": {
          "dscrMode": "lender",
          "grossMonthlyRent": 3000,
          "monthlyOperatingExpenses": 300,
          "lenderDscr": 1.25,
          "interestRate": 6,
          "loanTerm": 30,
          "loanAmount": 240000,
          "monthlyTaxes": 250,
          "monthlyInsurance": 100,
          "monthlyHoa": 50,
          "propertyValue": 400000,
          "maxLtvPct": 75,
          "debtSizingMethod": "amortizing",
          "analysisDate": "2026-09-01",
          "ioPeriodMonths": 12,
          "prepaymentRatesPct": [
            3,
            2,
            1
          ]
        }
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "warnings": [
            {
              "code": "manual-program",
              "severity": "info",
              "message": "No lender program was supplied; results are a manual constraint estimate, not an approval."
            }
          ],
          "scenario": {
            "sizing": {
              "state": "available",
              "fieldErrors": {},
              "warnings": [
                {
                  "code": "manual-program",
                  "severity": "info",
                  "message": "No lender program was supplied; results are a manual constraint estimate, not an approval."
                }
              ],
              "assumptions": [
                {
                  "key": "appraisalRentCapPct",
                  "value": "100",
                  "source": "default"
                },
                {
                  "key": "monthlyFixedPitiaCosts",
                  "value": "400",
                  "source": "user"
                }
              ],
              "provenance": [
                {
                  "source": "Declared residential gross-rent/PITIA and commercial NOI/debt-service definitions",
                  "asOf": "2026-08-13"
                },
                {
                  "source": "Standard monthly level-payment annuity formula, nominal annual rate / 12",
                  "asOf": "2026-08-13"
                }
              ],
              "formulaVersion": "dscr-loan-2.1.0",
              "ruleVersions": [
                "residential-gross-rent-pitia",
                "debt-sizing:amortizing",
                "manual-no-program"
              ],
              "auditTrail": [
                "Residential DSCR = qualifying gross monthly rent / monthly PITIA; this is not commercial NOI DSCR.",
                "Sized debt service at 1.25 DSCR and 6% using amortizing.",
                "Monthly PITIA allowance 2400 less fixed costs 400 leaves 2000 for principal and interest.",
                "Constrained maximum is the minimum of DSCR, LTV; limiting constraint LTV."
              ],
              "value": {
                "method": "residential-gross-rent-pitia",
                "sizingMethod": "amortizing",
                "qualifyingAnnualIncome": "36000",
                "suppliedAnnualDebtService": "22067.06",
                "actualDscr": "1.631391220851909656227309003990235296501",
                "effectiveRequiredDscr": "1.25",
                "maxAnnualDebtService": "28800",
                "maxLoanByDscr": "333583.23",
                "maxLoanByLtv": "300000",
                "maxLoanByProgram": null,
                "constrainedMaxLoan": "300000",
                "limitingConstraint": "LTV",
                "requestedLoanAmount": "240000",
                "constraintState": "within-supplied-constraints",
                "programId": null,
                "programAsOf": null,
                "reserveRequirement": null,
                "methodDisclosure": "Residential DSCR = qualifying gross monthly rent / monthly PITIA; this is not commercial NOI DSCR."
              }
            },
            "enteredLoan": {
              "pitia": {
                "principal": 238.9212603666001,
                "interest": 1200,
                "pi": 1438.9212603666,
                "taxes": 250,
                "insurance": 100,
                "hoa": 50,
                "totalPITIA": 1838.9212603666
              },
              "ownerDscr": 1.5984196379265527,
              "annualNoi": 27600,
              "annualDebtService": 17267.0551243992,
              "monthlyPaymentDuringIO": 1200,
              "monthlyPaymentAfterIO": 1456.8110709435,
              "prepaymentPenalties": [
                {
                  "year": 1,
                  "penalty": 7200
                },
                {
                  "year": 2,
                  "penalty": 4800
                },
                {
                  "year": 3,
                  "penalty": 2368.320910163252
                },
                {
                  "year": 4,
                  "penalty": 0
                },
                {
                  "year": 5,
                  "penalty": 0
                },
                {
                  "year": 6,
                  "penalty": 0
                },
                {
                  "year": 7,
                  "penalty": 0
                },
                {
                  "year": 8,
                  "penalty": 0
                },
                {
                  "year": 9,
                  "penalty": 0
                },
                {
                  "year": 10,
                  "penalty": 0
                }
              ]
            },
            "rentStress": {
              "optimistic": {
                "monthlyCashFlow": 1161.0787396334,
                "capRate": 7.8,
                "allInCapRate": null,
                "dscrLender": 1.7945303429371005,
                "dscrStatus": "available",
                "cashOnCash": 8.7080905472505
              },
              "realistic": {
                "monthlyCashFlow": 861.0787396333999,
                "capRate": 6.9,
                "allInCapRate": null,
                "dscrLender": 1.6313912208519095,
                "dscrStatus": "available",
                "cashOnCash": 6.458090547250499
              },
              "conservative": {
                "monthlyCashFlow": 561.0787396333999,
                "capRate": 6,
                "allInCapRate": null,
                "dscrLender": 1.4682520987667187,
                "dscrStatus": "available",
                "cashOnCash": 4.2080905472504995
              },
              "breakEvenRent": 2139,
              "conservativeBelowBreakEven": false
            },
            "extraPaymentsOnSizedAmortizingLoan": null
          },
          "comparison": null
        },
        "formulaVersion": "dscr-loan-2.1.0",
        "units": {
          "money": "USD",
          "months": "whole months",
          "years": "whole years",
          "percentage": "percent points (6 = 6%)",
          "dscr": "income divided by debt service, unitless"
        },
        "assumptions": [
          "Owner mode sizes from annual NOI. Lender mode tests entered monthly PITIA. Dated limits are caller-supplied hypothetical terms, with expired limits excluded. The prepayment schedule uses year-start balances; extra payments use standard amortization at the sized principal."
        ],
        "warnings": [
          "No lender program was supplied; results are a manual constraint estimate, not an approval."
        ],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/dscr"
    },
    {
      "slug": "investor-dscr-thresholds",
      "name": "DSCR threshold and income sensitivity",
      "category": "Investment",
      "description": "Compare rent/PITIA or NOI/debt service to an ordered array of caller-supplied thresholds. Residential rent can be capped by entered market rent. Income shocks return the ratio at each percentage change.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "monthlyRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month in gross rent before the residential appraisal cap or commercial operating expenses."
              },
              "monthlyPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month in mortgage principal and interest, excluding separately entered taxes, insurance and association dues."
              },
              "monthlyTaxes": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month in property taxes."
              },
              "monthlyInsurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month in property insurance premiums."
              },
              "monthlyHoa": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month in association dues."
              },
              "minimumDscrs": {
                "type": "array",
                "items": {
                  "type": "number",
                  "minimum": 0.01,
                  "maximum": 10,
                  "description": "Caller-selected DSCR reference multiple (1.20 means qualifying income covers debt service 1.20 times)."
                },
                "minItems": 1,
                "maxItems": 24
              },
              "incomeBumpsPct": {
                "type": "array",
                "items": {
                  "type": "number",
                  "minimum": -99,
                  "maximum": 100,
                  "description": "Signed percent change to qualifying income with debt fixed. A value of -10 models 10% less income."
                },
                "minItems": 1,
                "maxItems": 24
              },
              "method": {
                "const": "residential-gross-rent-pitia"
              },
              "appraisalMarketRent": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "USD per month in caller-supplied appraisal market rent."
              },
              "appraisalRentCapPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percent of entered appraisal market rent allowed in qualifying rent (90 means 90%)."
              }
            },
            "required": [
              "monthlyRent",
              "monthlyPayment",
              "monthlyTaxes",
              "monthlyInsurance",
              "monthlyHoa",
              "minimumDscrs",
              "method"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "monthlyRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month in gross rent before the residential appraisal cap or commercial operating expenses."
              },
              "monthlyPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month in mortgage principal and interest, excluding separately entered taxes, insurance and association dues."
              },
              "monthlyTaxes": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month in property taxes."
              },
              "monthlyInsurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month in property insurance premiums."
              },
              "monthlyHoa": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month in association dues."
              },
              "minimumDscrs": {
                "type": "array",
                "items": {
                  "type": "number",
                  "minimum": 0.01,
                  "maximum": 10,
                  "description": "Caller-selected DSCR reference multiple (1.20 means qualifying income covers debt service 1.20 times)."
                },
                "minItems": 1,
                "maxItems": 24
              },
              "incomeBumpsPct": {
                "type": "array",
                "items": {
                  "type": "number",
                  "minimum": -99,
                  "maximum": 100,
                  "description": "Signed percent change to qualifying income with debt fixed. A value of -10 models 10% less income."
                },
                "minItems": 1,
                "maxItems": 24
              },
              "method": {
                "const": "commercial-noi-debt-service"
              },
              "monthlyOperatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month in operating expenses in addition to the separately entered taxes, insurance and association dues."
              }
            },
            "required": [
              "monthlyRent",
              "monthlyPayment",
              "monthlyTaxes",
              "monthlyInsurance",
              "monthlyHoa",
              "minimumDscrs",
              "method",
              "monthlyOperatingExpenses"
            ],
            "additionalProperties": false
          }
        ],
        "description": "Compare rent/PITIA or NOI/debt service to an ordered array of caller-supplied thresholds. Residential rent can be capped by entered market rent. Income shocks return the ratio at each percentage change."
      },
      "input": {
        "method": "residential-gross-rent-pitia",
        "monthlyRent": 2500,
        "monthlyPayment": 1500,
        "monthlyTaxes": 300,
        "monthlyInsurance": 100,
        "monthlyHoa": 100,
        "minimumDscrs": [
          1.2,
          1.3
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [
            {
              "code": "lender-overlay-required",
              "severity": "warning",
              "message": "A passing screen is not approval. Confirm current definitions, thresholds, reserves, and overlays with the lender."
            }
          ],
          "assumptions": [
            {
              "key": "incomeBumpsPct",
              "value": "5,10,15",
              "unit": "%",
              "source": "default"
            }
          ],
          "provenance": [
            {
              "source": "Declared DSCR identity selected by the user",
              "asOf": "2026-08-13"
            }
          ],
          "formulaVersion": "lender-qualifier-2.0.0",
          "ruleVersions": [
            "residential-gross-rent-over-pitia",
            "commercial-noi-over-debt-service"
          ],
          "auditTrail": [
            "Residential screening ratio: gross monthly rent divided by monthly PITIA; operating expenses are not subtracted.",
            "Compared the result with 2 supplied threshold(s)."
          ],
          "value": {
            "method": "residential-gross-rent-pitia",
            "qualifyingAnnualIncome": "30000",
            "annualDebtService": "24000",
            "dscr": "1.25",
            "thresholds": [
              {
                "id": "threshold-1",
                "label": "Reference 1",
                "minimumDscr": "1.2",
                "passes": true
              },
              {
                "id": "threshold-2",
                "label": "Reference 2",
                "minimumDscr": "1.3",
                "passes": false
              }
            ],
            "incomeScenarios": [
              {
                "incomeBumpPct": "5",
                "dscr": "1.3125"
              },
              {
                "incomeBumpPct": "10",
                "dscr": "1.375"
              },
              {
                "incomeBumpPct": "15",
                "dscr": "1.4375"
              }
            ],
            "methodDisclosure": "Residential screening ratio: gross monthly rent divided by monthly PITIA; operating expenses are not subtracted."
          }
        },
        "formulaVersion": "lender-qualifier-2.0.0",
        "units": {
          "money": "USD",
          "months": "whole months",
          "years": "whole years",
          "percentage": "percent points (6 = 6%)",
          "dscr": "income divided by debt service, unitless"
        },
        "assumptions": [
          "Compare rent/PITIA or NOI/debt service to an ordered array of caller-supplied thresholds. Residential rent can be capped by entered market rent. Income shocks return the ratio at each percentage change."
        ],
        "warnings": [
          "A passing screen is not approval. Confirm current definitions, thresholds, reserves, and overlays with the lender."
        ],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/dscr-deep-dive"
    },
    {
      "slug": "investor-dscr-refi",
      "name": "DSCR refinance timing",
      "category": "Investment",
      "description": "Sizes a refinance using supplied NOI, value, rate and DSCR/LTV limits. Models closing date and seasoning, reserves, debt payoff, prepayment penalty, cash out, new payments and NPV over the entered horizon. The seasoning state refers to the entered timing assumption.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "annualNoi": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD per year in property net operating income before debt service."
          },
          "currentValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Caller-supplied current property value in USD used for the refinance LTV ceiling."
          },
          "appraisalRentLimitedNoi": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD per year in net operating income supported by an entered appraisal rent constraint."
          },
          "currentPayoff": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD needed to retire the existing debt before the separately entered prepayment penalty."
          },
          "currentAnnualDebtService": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD per year in payments on the existing debt, used as the payment-savings baseline."
          },
          "targetDscr": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 10,
            "description": "Required ratio of annual qualifying NOI to annual debt service (1.25 means 1.25 times)."
          },
          "maxLtvPct": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Maximum refinance loan principal as a percent of current property value (75 means 75%)."
          },
          "newRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual contractual refinance note interest rate in percent (6 means 6% per year)."
          },
          "qualifyingRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual interest rate in percent used to size the refinance loan (6.5 means 6.5% per year)."
          },
          "amortizationYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years in the new loan amortization term."
          },
          "interestOnlyMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 599,
            "description": "Whole months at the start of the new loan with interest-only payments."
          },
          "balloonMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months from modeled closing until balloon maturity."
          },
          "closingCostPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Closing costs as a percent of the sized refinance principal, in addition to fixed costs."
          },
          "fixedClosingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "One-time refinance closing costs in USD, in addition to the percentage-based costs."
          },
          "prepaymentPenalty": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "One-time penalty in USD for paying off the current debt at refinance."
          },
          "reserveMonths": {
            "type": "number",
            "minimum": 0,
            "maximum": 120,
            "description": "Number of months of the new monthly payment to set aside as refinance reserves."
          },
          "acquiredDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "requestedClosingDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "analysisDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "seasoningMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 600,
            "description": "Whole calendar months from acquisition required by the caller’s seasoning assumption."
          },
          "npvHorizonMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months of payment differences discounted from the modeled refinance closing."
          },
          "discountRatePct": {
            "type": "number",
            "minimum": -90,
            "maximum": 100,
            "description": "Signed annual discount rate in percent for the present value of monthly payment savings (6 means 6% per year)."
          },
          "limits": {
            "type": "object",
            "properties": {
              "asOf": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "expiresAt": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "requiredDscr": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 10,
                "description": "Minimum coverage multiple under the dated assumption (1.25 means income is 1.25 times debt service)."
              },
              "maxLtvPct": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 100,
                "description": "Maximum loan as a percent of property value under the dated assumption (75 means 75%)."
              },
              "maxLoan": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Absolute loan principal ceiling in USD under the dated assumption."
              },
              "reserveMonths": {
                "type": "number",
                "minimum": 0,
                "maximum": 120,
                "description": "Minimum number of months of new monthly debt payments to reserve under the dated assumption."
              },
              "minimumSeasoningMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600,
                "description": "Minimum whole calendar months after acquisition under the dated seasoning assumption."
              }
            },
            "required": [
              "asOf",
              "expiresAt"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "annualNoi",
          "currentValue",
          "currentPayoff",
          "currentAnnualDebtService",
          "targetDscr",
          "maxLtvPct",
          "newRatePct",
          "amortizationYears",
          "interestOnlyMonths",
          "closingCostPct",
          "fixedClosingCosts",
          "prepaymentPenalty",
          "reserveMonths",
          "acquiredDate",
          "requestedClosingDate",
          "analysisDate",
          "seasoningMonths",
          "npvHorizonMonths",
          "discountRatePct"
        ],
        "additionalProperties": false,
        "description": "Sizes a refinance using supplied NOI, value, rate and DSCR/LTV limits. Models closing date and seasoning, reserves, debt payoff, prepayment penalty, cash out, new payments and NPV over the entered horizon. The seasoning state refers to the entered timing assumption."
      },
      "input": {
        "annualNoi": 48000,
        "currentValue": 600000,
        "currentPayoff": 240000,
        "currentAnnualDebtService": 24000,
        "targetDscr": 1.25,
        "maxLtvPct": 75,
        "newRatePct": 6,
        "amortizationYears": 30,
        "interestOnlyMonths": 0,
        "closingCostPct": 2,
        "fixedClosingCosts": 1000,
        "prepaymentPenalty": 0,
        "reserveMonths": 3,
        "acquiredDate": "2026-01-10",
        "requestedClosingDate": "2026-09-10",
        "analysisDate": "2026-09-01",
        "seasoningMonths": 6,
        "npvHorizonMonths": 36,
        "discountRatePct": 6
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [
            {
              "code": "manual-program",
              "severity": "info",
              "message": "No lender program was supplied; this is manual sizing, not an availability or approval claim."
            }
          ],
          "assumptions": [
            {
              "key": "qualifyingRatePct",
              "value": "6",
              "source": "default"
            }
          ],
          "provenance": [
            {
              "source": "Declared residential gross-rent/PITIA and commercial NOI/debt-service definitions",
              "asOf": "2026-08-13"
            },
            {
              "source": "Standard monthly level-payment annuity formula, nominal annual rate / 12",
              "asOf": "2026-08-13"
            },
            {
              "source": "Microsoft XNPV/XIRR ACT/365F definitions",
              "asOf": "2026-08-13"
            }
          ],
          "formulaVersion": "dscr-refi-2.0.0",
          "ruleVersions": [
            "refi-cap=min(DSCR,LTV,program)",
            "seasoning-months:6",
            "manual-no-program"
          ],
          "auditTrail": [
            "Constrained loan is min(DSCR 533733.17, LTV 450000.00).",
            "Net proceeds deduct payoff 240000.00, penalty 0.00, costs 10000.00, and reserves 8093.94.",
            "Requested close 2026-09-10; earliest eligible 2026-07-10; modeled 2026-09-10."
          ],
          "value": {
            "qualifyingNoi": "48000",
            "effectiveRequiredDscr": "1.25",
            "maxLoanByDscr": "533733.17",
            "maxLoanByLtv": "450000",
            "maxLoanByProgram": null,
            "constrainedLoan": "450000",
            "limitingConstraint": "LTV",
            "requestedClosingDate": "2026-09-10",
            "earliestEligibleClosingDate": "2026-07-10",
            "modeledClosingDate": "2026-09-10",
            "seasoningState": "eligible",
            "programState": "manual",
            "closingCosts": "10000",
            "prepaymentPenalty": "0",
            "reserveFunding": "8093.94",
            "projectedNetCashOut": "191906.06",
            "netCashOutAtRequestedDate": "191906.06",
            "newMonthlyPayment": "2697.98",
            "newAnnualDebtService": "32375.76",
            "newDscr": "1.482590678952401426252233152210172054648",
            "balloonBalance": "0",
            "monthlyDebtServiceSavings": "-697.98",
            "breakEvenMonths": null,
            "savingsNpv": "-22997.52",
            "ledger": [
              {
                "date": "2026-09-10",
                "amount": "191906.06",
                "label": "Net refinance proceeds after payoff, penalty, costs, and reserves"
              },
              {
                "date": "2026-10-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 1"
              },
              {
                "date": "2026-11-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 2"
              },
              {
                "date": "2026-12-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 3"
              },
              {
                "date": "2027-01-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 4"
              },
              {
                "date": "2027-02-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 5"
              },
              {
                "date": "2027-03-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 6"
              },
              {
                "date": "2027-04-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 7"
              },
              {
                "date": "2027-05-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 8"
              },
              {
                "date": "2027-06-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 9"
              },
              {
                "date": "2027-07-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 10"
              },
              {
                "date": "2027-08-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 11"
              },
              {
                "date": "2027-09-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 12"
              },
              {
                "date": "2027-10-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 13"
              },
              {
                "date": "2027-11-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 14"
              },
              {
                "date": "2027-12-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 15"
              },
              {
                "date": "2028-01-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 16"
              },
              {
                "date": "2028-02-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 17"
              },
              {
                "date": "2028-03-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 18"
              },
              {
                "date": "2028-04-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 19"
              },
              {
                "date": "2028-05-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 20"
              },
              {
                "date": "2028-06-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 21"
              },
              {
                "date": "2028-07-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 22"
              },
              {
                "date": "2028-08-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 23"
              },
              {
                "date": "2028-09-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 24"
              },
              {
                "date": "2028-10-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 25"
              },
              {
                "date": "2028-11-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 26"
              },
              {
                "date": "2028-12-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 27"
              },
              {
                "date": "2029-01-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 28"
              },
              {
                "date": "2029-02-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 29"
              },
              {
                "date": "2029-03-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 30"
              },
              {
                "date": "2029-04-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 31"
              },
              {
                "date": "2029-05-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 32"
              },
              {
                "date": "2029-06-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 33"
              },
              {
                "date": "2029-07-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 34"
              },
              {
                "date": "2029-08-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 35"
              },
              {
                "date": "2029-09-10",
                "amount": "-697.98",
                "label": "Debt-service savings month 36"
              }
            ]
          }
        },
        "formulaVersion": "dscr-refi-2.0.0",
        "units": {
          "money": "USD",
          "months": "whole months",
          "years": "whole years",
          "percentage": "percent points (6 = 6%)",
          "dscr": "income divided by debt service, unitless"
        },
        "assumptions": [
          "Sizes a refinance using supplied NOI, value, rate and DSCR/LTV limits. Models closing date and seasoning, reserves, debt payoff, prepayment penalty, cash out, new payments and NPV over the entered horizon. The seasoning state refers to the entered timing assumption."
        ],
        "warnings": [
          "No lender program was supplied; this is manual sizing, not an availability or approval claim."
        ],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/dscr-refi"
    },
    {
      "slug": "investor-hard-money",
      "name": "Hard money and bridge draw ledger",
      "category": "Investment",
      "description": "Models purchase advance, progressive rehab funding, LTV/LTC/LTARV limits, a supplied loan cap, interest, default rate, points, extensions, fees and payoff. Over-limit scenarios retain the engine funding state. Amounts are USD and month zero is closing.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "purchasePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Property purchase price in USD, before rehab."
          },
          "rehabBudget": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Total budget in USD for rehab, including any portion funded by the borrower."
          },
          "afterRepairValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Caller-supplied property value in USD after the planned rehab."
          },
          "acquisitionAdvance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD advanced at acquisition, before later rehab draws."
          },
          "rehabDraws": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "month": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 120,
                  "description": "One-based loan month when this draw is added to principal after interest accrues on the opening balance."
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Amount of this rehab draw in USD."
                }
              },
              "required": [
                "month",
                "amount"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 120
          },
          "annualRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual interest rate on funded principal in percent (12 means 12% per year)."
          },
          "defaultAnnualRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual interest rate in percent applied from the modeled default month."
          },
          "defaultMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 120,
            "description": "One-based loan month when the modeled default interest rate first applies."
          },
          "termMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 120,
            "description": "Whole months in the contractual loan term before extension fees apply."
          },
          "payoffMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 120,
            "description": "One-based loan month at the end of which the model pays off the loan."
          },
          "ltvPct": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Maximum percent of purchase price under the selected LTV basis (70 means 70%)."
          },
          "ltcPct": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Maximum loan as a percent of purchase price plus rehab budget."
          },
          "ltarvPct": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Maximum loan as a percent of the entered after-repair value."
          },
          "ltvBasis": {
            "enum": [
              "total-loan",
              "acquisition-advance"
            ]
          },
          "programMaxLoan": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Caller-supplied absolute loan ceiling in USD."
          },
          "pointsPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Origination points as a percent of requested funded principal or the constrained commitment according to pointsBasis (2 means two points)."
          },
          "pointsBasis": {
            "enum": [
              "funded",
              "committed"
            ]
          },
          "minimumInterestMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 120,
            "description": "Whole months of interest on the original acquisition advance used to set the minimum interest charge."
          },
          "extensionFeePerMonth": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD charged for each month payoff extends beyond the contractual term."
          },
          "exitFeePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Payoff fee as a percent of principal outstanding in the payoff month."
          },
          "otherFees": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "month": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 120,
                  "description": "Loan month for this fee. Zero is closing, and payoffMonth is the payoff month."
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Amount of this additional fee in USD."
                }
              },
              "required": [
                "month",
                "amount"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 120
          }
        },
        "required": [
          "purchasePrice",
          "rehabBudget",
          "afterRepairValue",
          "acquisitionAdvance",
          "rehabDraws",
          "annualRatePct",
          "termMonths",
          "payoffMonth",
          "ltvPct",
          "ltcPct",
          "ltarvPct",
          "ltvBasis",
          "pointsPct",
          "pointsBasis",
          "minimumInterestMonths",
          "extensionFeePerMonth",
          "exitFeePct",
          "otherFees"
        ],
        "additionalProperties": false,
        "description": "Models purchase advance, progressive rehab funding, LTV/LTC/LTARV limits, a supplied loan cap, interest, default rate, points, extensions, fees and payoff. Over-limit scenarios retain the engine funding state. Amounts are USD and month zero is closing."
      },
      "input": {
        "purchasePrice": 200000,
        "rehabBudget": 30000,
        "afterRepairValue": 350000,
        "acquisitionAdvance": 140000,
        "rehabDraws": [
          {
            "month": 2,
            "amount": 15000
          },
          {
            "month": 3,
            "amount": 15000
          }
        ],
        "annualRatePct": 12,
        "termMonths": 12,
        "payoffMonth": 6,
        "ltvPct": 70,
        "ltcPct": 90,
        "ltarvPct": 70,
        "ltvBasis": "acquisition-advance",
        "pointsPct": 2,
        "pointsBasis": "funded",
        "minimumInterestMonths": 3,
        "extensionFeePerMonth": 500,
        "exitFeePct": 1,
        "otherFees": []
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [],
          "assumptions": [],
          "provenance": [
            {
              "source": "Standard monthly level-payment annuity formula, nominal annual rate / 12",
              "asOf": "2026-08-13"
            },
            {
              "source": "Declared opening-funded-balance progressive-draw convention",
              "asOf": "2026-08-13"
            }
          ],
          "formulaVersion": "hard-money-2.0.0",
          "ruleVersions": [
            "strictest-of-LTV-LTC-LTARV-program-cap",
            "draw-funds-after-monthly-interest",
            "minimum-interest-on-initial-acquisition-advance",
            "points-basis:funded"
          ],
          "auditTrail": [
            "Loan 170000.00 is within the strictest LTV cap 170000.00.",
            "Interest accrued monthly on opening funded balance; draws first accrue in the following month.",
            "Charged interest is max(actual 9450.00, minimum 4200.00).",
            "Fees retain timing: upfront 0.00, interim 0.00, payoff 0.00."
          ],
          "value": {
            "requestedLoan": "170000",
            "maxByLtv": "170000",
            "maxByLtc": "207000",
            "maxByLtarv": "245000",
            "maxByProgram": null,
            "constrainedMaxLoan": "170000",
            "limitingConstraint": "LTV",
            "fundingState": "within-constraints",
            "rehabHoldbackRemaining": "0",
            "ledger": [
              {
                "month": 1,
                "openingBalance": "140000",
                "drawn": "0",
                "annualRatePct": "12",
                "interest": "1400",
                "closingBalance": "140000"
              },
              {
                "month": 2,
                "openingBalance": "140000",
                "drawn": "15000",
                "annualRatePct": "12",
                "interest": "1400",
                "closingBalance": "155000"
              },
              {
                "month": 3,
                "openingBalance": "155000",
                "drawn": "15000",
                "annualRatePct": "12",
                "interest": "1550",
                "closingBalance": "170000"
              },
              {
                "month": 4,
                "openingBalance": "170000",
                "drawn": "0",
                "annualRatePct": "12",
                "interest": "1700",
                "closingBalance": "170000"
              },
              {
                "month": 5,
                "openingBalance": "170000",
                "drawn": "0",
                "annualRatePct": "12",
                "interest": "1700",
                "closingBalance": "170000"
              },
              {
                "month": 6,
                "openingBalance": "170000",
                "drawn": "0",
                "annualRatePct": "12",
                "interest": "1700",
                "closingBalance": "170000"
              }
            ],
            "totalDrawn": "30000",
            "actualInterest": "9450",
            "minimumInterestCharge": "4200",
            "chargedInterest": "9450",
            "pointsCost": "3400",
            "extensionFees": "0",
            "otherFees": "0",
            "upfrontFees": "0",
            "interimFees": "0",
            "payoffFees": "0",
            "exitFee": "1700",
            "payoffPrincipal": "170000",
            "totalPayoff": "181150",
            "cashRequired": "63400"
          }
        },
        "formulaVersion": "hard-money-2.0.0",
        "units": {
          "money": "USD",
          "months": "whole months",
          "years": "whole years",
          "percentage": "percent points (6 = 6%)",
          "dscr": "income divided by debt service, unitless"
        },
        "assumptions": [
          "Models purchase advance, progressive rehab funding, LTV/LTC/LTARV limits, a supplied loan cap, interest, default rate, points, extensions, fees and payoff. Over-limit scenarios retain the engine funding state. Amounts are USD and month zero is closing."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/hard-money"
    },
    {
      "slug": "investor-land-contract",
      "name": "Land contract note and balloon",
      "category": "Investment",
      "description": "Compute a payment or solve the annual rate from total monthly payment. Returns dated principal, interest, escrow and fee ledger, balloon, seller spread, note yield and optional recurring-extra comparison. An optional second scenario uses the same ledger. State law and tax filing require separate review.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "scenario": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "salePrice": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Contract sale price in USD, before the down payment."
                  },
                  "downPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Cash in USD paid toward the sale price at origination."
                  },
                  "amortizationMonths": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Whole months used to amortize the seller-financed principal."
                  },
                  "balloonMonths": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Whole months from note origination until the contractual balloon or final maturity."
                  },
                  "startDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "asOfDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "monthlyTaxesInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Combined property tax and insurance escrow in USD per month."
                  },
                  "monthlyServicingFee": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in note servicing fees, separate from interest and escrow."
                  },
                  "underlyingBalance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Current principal balance in USD of the seller’s underlying mortgage."
                  },
                  "underlyingMonthlyPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month paid by the seller on the underlying mortgage when calculating the seller’s spread."
                  },
                  "extraMonthlyPrincipal": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in additional principal alongside the regular note payment."
                  },
                  "events": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "month": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 600,
                          "description": "One-based loan month of this extra-principal payment, late fee or cure fee."
                        },
                        "type": {
                          "enum": [
                            "extra-principal",
                            "late-fee",
                            "cure-fee"
                          ]
                        },
                        "amount": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1000000000,
                          "description": "USD for this one-time event. Its type determines whether the amount reduces principal or is collected as a fee."
                        }
                      },
                      "required": [
                        "month",
                        "type",
                        "amount"
                      ],
                      "additionalProperties": false
                    },
                    "minItems": 0,
                    "maxItems": 120
                  },
                  "mode": {
                    "const": "payment"
                  },
                  "annualRatePct": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual note interest rate in percent in payment mode (6 means 6% per year)."
                  }
                },
                "required": [
                  "salePrice",
                  "downPayment",
                  "amortizationMonths",
                  "balloonMonths",
                  "startDate",
                  "asOfDate",
                  "monthlyTaxesInsurance",
                  "monthlyServicingFee",
                  "underlyingBalance",
                  "underlyingMonthlyPayment",
                  "events",
                  "mode",
                  "annualRatePct"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "salePrice": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Contract sale price in USD, before the down payment."
                  },
                  "downPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Cash in USD paid toward the sale price at origination."
                  },
                  "amortizationMonths": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Whole months used to amortize the seller-financed principal."
                  },
                  "balloonMonths": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Whole months from note origination until the contractual balloon or final maturity."
                  },
                  "startDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "asOfDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "monthlyTaxesInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Combined property tax and insurance escrow in USD per month."
                  },
                  "monthlyServicingFee": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in note servicing fees, separate from interest and escrow."
                  },
                  "underlyingBalance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Current principal balance in USD of the seller’s underlying mortgage."
                  },
                  "underlyingMonthlyPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month paid by the seller on the underlying mortgage when calculating the seller’s spread."
                  },
                  "extraMonthlyPrincipal": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in additional principal alongside the regular note payment."
                  },
                  "events": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "month": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 600,
                          "description": "One-based loan month of this extra-principal payment, late fee or cure fee."
                        },
                        "type": {
                          "enum": [
                            "extra-principal",
                            "late-fee",
                            "cure-fee"
                          ]
                        },
                        "amount": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1000000000,
                          "description": "USD for this one-time event. Its type determines whether the amount reduces principal or is collected as a fee."
                        }
                      },
                      "required": [
                        "month",
                        "type",
                        "amount"
                      ],
                      "additionalProperties": false
                    },
                    "minItems": 0,
                    "maxItems": 120
                  },
                  "mode": {
                    "const": "rate"
                  },
                  "targetTotalMonthlyPayment": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Target total USD per month in rate-solving mode, including P&I, escrow, servicing and recurring extra principal."
                  }
                },
                "required": [
                  "salePrice",
                  "downPayment",
                  "amortizationMonths",
                  "balloonMonths",
                  "startDate",
                  "asOfDate",
                  "monthlyTaxesInsurance",
                  "monthlyServicingFee",
                  "underlyingBalance",
                  "underlyingMonthlyPayment",
                  "events",
                  "mode",
                  "targetTotalMonthlyPayment"
                ],
                "additionalProperties": false
              }
            ]
          },
          "compareTo": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "salePrice": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Contract sale price in USD, before the down payment."
                  },
                  "downPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Cash in USD paid toward the sale price at origination."
                  },
                  "amortizationMonths": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Whole months used to amortize the seller-financed principal."
                  },
                  "balloonMonths": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Whole months from note origination until the contractual balloon or final maturity."
                  },
                  "startDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "asOfDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "monthlyTaxesInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Combined property tax and insurance escrow in USD per month."
                  },
                  "monthlyServicingFee": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in note servicing fees, separate from interest and escrow."
                  },
                  "underlyingBalance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Current principal balance in USD of the seller’s underlying mortgage."
                  },
                  "underlyingMonthlyPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month paid by the seller on the underlying mortgage when calculating the seller’s spread."
                  },
                  "extraMonthlyPrincipal": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in additional principal alongside the regular note payment."
                  },
                  "events": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "month": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 600,
                          "description": "One-based loan month of this extra-principal payment, late fee or cure fee."
                        },
                        "type": {
                          "enum": [
                            "extra-principal",
                            "late-fee",
                            "cure-fee"
                          ]
                        },
                        "amount": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1000000000,
                          "description": "USD for this one-time event. Its type determines whether the amount reduces principal or is collected as a fee."
                        }
                      },
                      "required": [
                        "month",
                        "type",
                        "amount"
                      ],
                      "additionalProperties": false
                    },
                    "minItems": 0,
                    "maxItems": 120
                  },
                  "mode": {
                    "const": "payment"
                  },
                  "annualRatePct": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual note interest rate in percent in payment mode (6 means 6% per year)."
                  }
                },
                "required": [
                  "salePrice",
                  "downPayment",
                  "amortizationMonths",
                  "balloonMonths",
                  "startDate",
                  "asOfDate",
                  "monthlyTaxesInsurance",
                  "monthlyServicingFee",
                  "underlyingBalance",
                  "underlyingMonthlyPayment",
                  "events",
                  "mode",
                  "annualRatePct"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "salePrice": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Contract sale price in USD, before the down payment."
                  },
                  "downPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Cash in USD paid toward the sale price at origination."
                  },
                  "amortizationMonths": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Whole months used to amortize the seller-financed principal."
                  },
                  "balloonMonths": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Whole months from note origination until the contractual balloon or final maturity."
                  },
                  "startDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "asOfDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "monthlyTaxesInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Combined property tax and insurance escrow in USD per month."
                  },
                  "monthlyServicingFee": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in note servicing fees, separate from interest and escrow."
                  },
                  "underlyingBalance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Current principal balance in USD of the seller’s underlying mortgage."
                  },
                  "underlyingMonthlyPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month paid by the seller on the underlying mortgage when calculating the seller’s spread."
                  },
                  "extraMonthlyPrincipal": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month in additional principal alongside the regular note payment."
                  },
                  "events": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "month": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 600,
                          "description": "One-based loan month of this extra-principal payment, late fee or cure fee."
                        },
                        "type": {
                          "enum": [
                            "extra-principal",
                            "late-fee",
                            "cure-fee"
                          ]
                        },
                        "amount": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1000000000,
                          "description": "USD for this one-time event. Its type determines whether the amount reduces principal or is collected as a fee."
                        }
                      },
                      "required": [
                        "month",
                        "type",
                        "amount"
                      ],
                      "additionalProperties": false
                    },
                    "minItems": 0,
                    "maxItems": 120
                  },
                  "mode": {
                    "const": "rate"
                  },
                  "targetTotalMonthlyPayment": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Target total USD per month in rate-solving mode, including P&I, escrow, servicing and recurring extra principal."
                  }
                },
                "required": [
                  "salePrice",
                  "downPayment",
                  "amortizationMonths",
                  "balloonMonths",
                  "startDate",
                  "asOfDate",
                  "monthlyTaxesInsurance",
                  "monthlyServicingFee",
                  "underlyingBalance",
                  "underlyingMonthlyPayment",
                  "events",
                  "mode",
                  "targetTotalMonthlyPayment"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "scenario"
        ],
        "additionalProperties": false,
        "description": "Compute a payment or solve the annual rate from total monthly payment. Returns dated principal, interest, escrow and fee ledger, balloon, seller spread, note yield and optional recurring-extra comparison. An optional second scenario uses the same ledger. State law and tax filing require separate review."
      },
      "input": {
        "scenario": {
          "mode": "payment",
          "salePrice": 150000,
          "downPayment": 30000,
          "annualRatePct": 6,
          "amortizationMonths": 240,
          "balloonMonths": 60,
          "startDate": "2026-01-01",
          "asOfDate": "2026-01-01",
          "monthlyTaxesInsurance": 200,
          "monthlyServicingFee": 10,
          "underlyingBalance": 60000,
          "underlyingMonthlyPayment": 400,
          "events": []
        }
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "warnings": [
            {
              "code": "no-state-profile",
              "severity": "critical",
              "message": "No state legal profile was supplied. The schedule is math only and makes no compliance claim."
            },
            {
              "code": "tax-not-modeled",
              "severity": "warning",
              "message": "Seller installment-sale tax reporting, recapture, and state tax are not computed."
            }
          ],
          "scenario": {
            "schedule": {
              "state": "available",
              "fieldErrors": {},
              "warnings": [
                {
                  "code": "no-state-profile",
                  "severity": "critical",
                  "message": "No state legal profile was supplied. The schedule is math only and makes no compliance claim."
                },
                {
                  "code": "tax-not-modeled",
                  "severity": "warning",
                  "message": "Seller installment-sale tax reporting, recapture, and state tax are not computed."
                }
              ],
              "assumptions": [],
              "provenance": [
                {
                  "source": "Standard monthly level-payment annuity formula, nominal annual rate / 12",
                  "asOf": "2026-08-13"
                },
                {
                  "source": "Microsoft XNPV/XIRR ACT/365F definitions",
                  "asOf": "2026-08-13"
                }
              ],
              "formulaVersion": "land-contract-2.0.0",
              "ruleVersions": [
                "manual-no-state-profile"
              ],
              "auditTrail": [
                "Amortized 120000.00 over 240 months and stopped at month 60.",
                "Principal received 120000.00 equals note principal 120000.00 including balloon.",
                "Balloon net of the current (not projected) underlying balance is 41879.51; no underlying-rate terms were supplied, so future underlying amortization is not invented.",
                "Compliance state manual-only; schedule does not determine enforceability, default rights, or tax treatment."
              ],
              "value": {
                "notePrincipal": "120000",
                "scheduledPayment": "859.72",
                "balloonAmount": "101879.51",
                "periods": [
                  {
                    "month": 1,
                    "dueDate": "2026-02-01",
                    "openingBalance": "120000",
                    "scheduledPrincipal": "259.72",
                    "interest": "600",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "119740.28"
                  },
                  {
                    "month": 2,
                    "dueDate": "2026-03-01",
                    "openingBalance": "119740.28",
                    "scheduledPrincipal": "261.02",
                    "interest": "598.7",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "119479.26"
                  },
                  {
                    "month": 3,
                    "dueDate": "2026-04-01",
                    "openingBalance": "119479.26",
                    "scheduledPrincipal": "262.32",
                    "interest": "597.4",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "119216.94"
                  },
                  {
                    "month": 4,
                    "dueDate": "2026-05-01",
                    "openingBalance": "119216.94",
                    "scheduledPrincipal": "263.63",
                    "interest": "596.08",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "118953.31"
                  },
                  {
                    "month": 5,
                    "dueDate": "2026-06-01",
                    "openingBalance": "118953.31",
                    "scheduledPrincipal": "264.95",
                    "interest": "594.77",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "118688.36"
                  },
                  {
                    "month": 6,
                    "dueDate": "2026-07-01",
                    "openingBalance": "118688.36",
                    "scheduledPrincipal": "266.28",
                    "interest": "593.44",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "118422.08"
                  },
                  {
                    "month": 7,
                    "dueDate": "2026-08-01",
                    "openingBalance": "118422.08",
                    "scheduledPrincipal": "267.61",
                    "interest": "592.11",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "118154.47"
                  },
                  {
                    "month": 8,
                    "dueDate": "2026-09-01",
                    "openingBalance": "118154.47",
                    "scheduledPrincipal": "268.94",
                    "interest": "590.77",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "117885.53"
                  },
                  {
                    "month": 9,
                    "dueDate": "2026-10-01",
                    "openingBalance": "117885.53",
                    "scheduledPrincipal": "270.29",
                    "interest": "589.43",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "117615.24"
                  },
                  {
                    "month": 10,
                    "dueDate": "2026-11-01",
                    "openingBalance": "117615.24",
                    "scheduledPrincipal": "271.64",
                    "interest": "588.08",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "117343.6"
                  },
                  {
                    "month": 11,
                    "dueDate": "2026-12-01",
                    "openingBalance": "117343.6",
                    "scheduledPrincipal": "273",
                    "interest": "586.72",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "117070.6"
                  },
                  {
                    "month": 12,
                    "dueDate": "2027-01-01",
                    "openingBalance": "117070.6",
                    "scheduledPrincipal": "274.36",
                    "interest": "585.35",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "116796.24"
                  },
                  {
                    "month": 13,
                    "dueDate": "2027-02-01",
                    "openingBalance": "116796.24",
                    "scheduledPrincipal": "275.74",
                    "interest": "583.98",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "116520.5"
                  },
                  {
                    "month": 14,
                    "dueDate": "2027-03-01",
                    "openingBalance": "116520.5",
                    "scheduledPrincipal": "277.11",
                    "interest": "582.6",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "116243.39"
                  },
                  {
                    "month": 15,
                    "dueDate": "2027-04-01",
                    "openingBalance": "116243.39",
                    "scheduledPrincipal": "278.5",
                    "interest": "581.22",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "115964.89"
                  },
                  {
                    "month": 16,
                    "dueDate": "2027-05-01",
                    "openingBalance": "115964.89",
                    "scheduledPrincipal": "279.89",
                    "interest": "579.82",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "115685"
                  },
                  {
                    "month": 17,
                    "dueDate": "2027-06-01",
                    "openingBalance": "115685",
                    "scheduledPrincipal": "281.29",
                    "interest": "578.42",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "115403.71"
                  },
                  {
                    "month": 18,
                    "dueDate": "2027-07-01",
                    "openingBalance": "115403.71",
                    "scheduledPrincipal": "282.7",
                    "interest": "577.02",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "115121.01"
                  },
                  {
                    "month": 19,
                    "dueDate": "2027-08-01",
                    "openingBalance": "115121.01",
                    "scheduledPrincipal": "284.11",
                    "interest": "575.61",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "114836.9"
                  },
                  {
                    "month": 20,
                    "dueDate": "2027-09-01",
                    "openingBalance": "114836.9",
                    "scheduledPrincipal": "285.53",
                    "interest": "574.18",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "114551.37"
                  },
                  {
                    "month": 21,
                    "dueDate": "2027-10-01",
                    "openingBalance": "114551.37",
                    "scheduledPrincipal": "286.96",
                    "interest": "572.76",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "114264.41"
                  },
                  {
                    "month": 22,
                    "dueDate": "2027-11-01",
                    "openingBalance": "114264.41",
                    "scheduledPrincipal": "288.4",
                    "interest": "571.32",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "113976.01"
                  },
                  {
                    "month": 23,
                    "dueDate": "2027-12-01",
                    "openingBalance": "113976.01",
                    "scheduledPrincipal": "289.84",
                    "interest": "569.88",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "113686.17"
                  },
                  {
                    "month": 24,
                    "dueDate": "2028-01-01",
                    "openingBalance": "113686.17",
                    "scheduledPrincipal": "291.29",
                    "interest": "568.43",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "113394.88"
                  },
                  {
                    "month": 25,
                    "dueDate": "2028-02-01",
                    "openingBalance": "113394.88",
                    "scheduledPrincipal": "292.74",
                    "interest": "566.97",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "113102.14"
                  },
                  {
                    "month": 26,
                    "dueDate": "2028-03-01",
                    "openingBalance": "113102.14",
                    "scheduledPrincipal": "294.21",
                    "interest": "565.51",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "112807.93"
                  },
                  {
                    "month": 27,
                    "dueDate": "2028-04-01",
                    "openingBalance": "112807.93",
                    "scheduledPrincipal": "295.68",
                    "interest": "564.04",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "112512.25"
                  },
                  {
                    "month": 28,
                    "dueDate": "2028-05-01",
                    "openingBalance": "112512.25",
                    "scheduledPrincipal": "297.16",
                    "interest": "562.56",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "112215.09"
                  },
                  {
                    "month": 29,
                    "dueDate": "2028-06-01",
                    "openingBalance": "112215.09",
                    "scheduledPrincipal": "298.64",
                    "interest": "561.08",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "111916.45"
                  },
                  {
                    "month": 30,
                    "dueDate": "2028-07-01",
                    "openingBalance": "111916.45",
                    "scheduledPrincipal": "300.14",
                    "interest": "559.58",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "111616.31"
                  },
                  {
                    "month": 31,
                    "dueDate": "2028-08-01",
                    "openingBalance": "111616.31",
                    "scheduledPrincipal": "301.64",
                    "interest": "558.08",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "111314.67"
                  },
                  {
                    "month": 32,
                    "dueDate": "2028-09-01",
                    "openingBalance": "111314.67",
                    "scheduledPrincipal": "303.14",
                    "interest": "556.57",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "111011.53"
                  },
                  {
                    "month": 33,
                    "dueDate": "2028-10-01",
                    "openingBalance": "111011.53",
                    "scheduledPrincipal": "304.66",
                    "interest": "555.06",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "110706.87"
                  },
                  {
                    "month": 34,
                    "dueDate": "2028-11-01",
                    "openingBalance": "110706.87",
                    "scheduledPrincipal": "306.18",
                    "interest": "553.53",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "110400.69"
                  },
                  {
                    "month": 35,
                    "dueDate": "2028-12-01",
                    "openingBalance": "110400.69",
                    "scheduledPrincipal": "307.71",
                    "interest": "552",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "110092.98"
                  },
                  {
                    "month": 36,
                    "dueDate": "2029-01-01",
                    "openingBalance": "110092.98",
                    "scheduledPrincipal": "309.25",
                    "interest": "550.46",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "109783.73"
                  },
                  {
                    "month": 37,
                    "dueDate": "2029-02-01",
                    "openingBalance": "109783.73",
                    "scheduledPrincipal": "310.8",
                    "interest": "548.92",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "109472.93"
                  },
                  {
                    "month": 38,
                    "dueDate": "2029-03-01",
                    "openingBalance": "109472.93",
                    "scheduledPrincipal": "312.35",
                    "interest": "547.36",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "109160.58"
                  },
                  {
                    "month": 39,
                    "dueDate": "2029-04-01",
                    "openingBalance": "109160.58",
                    "scheduledPrincipal": "313.91",
                    "interest": "545.8",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "108846.67"
                  },
                  {
                    "month": 40,
                    "dueDate": "2029-05-01",
                    "openingBalance": "108846.67",
                    "scheduledPrincipal": "315.48",
                    "interest": "544.23",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "108531.19"
                  },
                  {
                    "month": 41,
                    "dueDate": "2029-06-01",
                    "openingBalance": "108531.19",
                    "scheduledPrincipal": "317.06",
                    "interest": "542.66",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "108214.13"
                  },
                  {
                    "month": 42,
                    "dueDate": "2029-07-01",
                    "openingBalance": "108214.13",
                    "scheduledPrincipal": "318.65",
                    "interest": "541.07",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "107895.48"
                  },
                  {
                    "month": 43,
                    "dueDate": "2029-08-01",
                    "openingBalance": "107895.48",
                    "scheduledPrincipal": "320.24",
                    "interest": "539.48",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "107575.24"
                  },
                  {
                    "month": 44,
                    "dueDate": "2029-09-01",
                    "openingBalance": "107575.24",
                    "scheduledPrincipal": "321.84",
                    "interest": "537.88",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "107253.4"
                  },
                  {
                    "month": 45,
                    "dueDate": "2029-10-01",
                    "openingBalance": "107253.4",
                    "scheduledPrincipal": "323.45",
                    "interest": "536.27",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "106929.95"
                  },
                  {
                    "month": 46,
                    "dueDate": "2029-11-01",
                    "openingBalance": "106929.95",
                    "scheduledPrincipal": "325.07",
                    "interest": "534.65",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "106604.88"
                  },
                  {
                    "month": 47,
                    "dueDate": "2029-12-01",
                    "openingBalance": "106604.88",
                    "scheduledPrincipal": "326.69",
                    "interest": "533.02",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "106278.19"
                  },
                  {
                    "month": 48,
                    "dueDate": "2030-01-01",
                    "openingBalance": "106278.19",
                    "scheduledPrincipal": "328.33",
                    "interest": "531.39",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "105949.86"
                  },
                  {
                    "month": 49,
                    "dueDate": "2030-02-01",
                    "openingBalance": "105949.86",
                    "scheduledPrincipal": "329.97",
                    "interest": "529.75",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "105619.89"
                  },
                  {
                    "month": 50,
                    "dueDate": "2030-03-01",
                    "openingBalance": "105619.89",
                    "scheduledPrincipal": "331.62",
                    "interest": "528.1",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "105288.27"
                  },
                  {
                    "month": 51,
                    "dueDate": "2030-04-01",
                    "openingBalance": "105288.27",
                    "scheduledPrincipal": "333.28",
                    "interest": "526.44",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "104954.99"
                  },
                  {
                    "month": 52,
                    "dueDate": "2030-05-01",
                    "openingBalance": "104954.99",
                    "scheduledPrincipal": "334.94",
                    "interest": "524.77",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "104620.05"
                  },
                  {
                    "month": 53,
                    "dueDate": "2030-06-01",
                    "openingBalance": "104620.05",
                    "scheduledPrincipal": "336.62",
                    "interest": "523.1",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "104283.43"
                  },
                  {
                    "month": 54,
                    "dueDate": "2030-07-01",
                    "openingBalance": "104283.43",
                    "scheduledPrincipal": "338.3",
                    "interest": "521.42",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "103945.13"
                  },
                  {
                    "month": 55,
                    "dueDate": "2030-08-01",
                    "openingBalance": "103945.13",
                    "scheduledPrincipal": "339.99",
                    "interest": "519.73",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "103605.14"
                  },
                  {
                    "month": 56,
                    "dueDate": "2030-09-01",
                    "openingBalance": "103605.14",
                    "scheduledPrincipal": "341.69",
                    "interest": "518.03",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "103263.45"
                  },
                  {
                    "month": 57,
                    "dueDate": "2030-10-01",
                    "openingBalance": "103263.45",
                    "scheduledPrincipal": "343.4",
                    "interest": "516.32",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "102920.05"
                  },
                  {
                    "month": 58,
                    "dueDate": "2030-11-01",
                    "openingBalance": "102920.05",
                    "scheduledPrincipal": "345.12",
                    "interest": "514.6",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "102574.93"
                  },
                  {
                    "month": 59,
                    "dueDate": "2030-12-01",
                    "openingBalance": "102574.93",
                    "scheduledPrincipal": "346.84",
                    "interest": "512.87",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.71",
                    "closingBalance": "102228.09"
                  },
                  {
                    "month": 60,
                    "dueDate": "2031-01-01",
                    "openingBalance": "102228.09",
                    "scheduledPrincipal": "348.58",
                    "interest": "511.14",
                    "extraPrincipal": "0",
                    "escrow": "200",
                    "servicingFee": "10",
                    "eventFees": "0",
                    "totalCashReceived": "1069.72",
                    "closingBalance": "101879.51"
                  }
                ],
                "totalPrincipalReceived": "120000",
                "totalInterestReceived": "33462.53",
                "totalEscrowReceived": "12000",
                "totalServicingAndEventFees": "600",
                "totalCashReceived": "196062.53",
                "sellerMonthlySpreadBeforeEscrow": "459.72",
                "underlyingBalanceAtAnalysis": "60000",
                "sellerEquityAtOrigination": "60000",
                "balloonNetAfterCurrentUnderlyingPayoff": "41879.51",
                "noteXirr": 0.06165464683084973,
                "noteXirrState": "available",
                "complianceState": "manual-only",
                "sellerTaxReportingIncluded": false
              }
            },
            "effectiveAnnualRatePct": 6,
            "totalMonthlyPayment": "1069.72",
            "extraPrincipalImpact": null
          },
          "comparison": null
        },
        "formulaVersion": "land-contract-2.0.0",
        "units": {
          "money": "USD",
          "months": "whole months",
          "years": "whole years",
          "percentage": "percent points (6 = 6%)",
          "dscr": "income divided by debt service, unitless",
          "noteXirr": "annual return as a fraction (0.06 = 6%)"
        },
        "assumptions": [
          "Compute a payment or solve the annual rate from total monthly payment. Returns dated principal, interest, escrow and fee ledger, balloon, seller spread, note yield and optional recurring-extra comparison. An optional second scenario uses the same ledger. State law and tax filing require separate review."
        ],
        "warnings": [
          "No state legal profile was supplied. The schedule is math only and makes no compliance claim.",
          "Seller installment-sale tax reporting, recapture, and state tax are not computed."
        ],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/land-contract"
    },
    {
      "slug": "investor-exit-strategy",
      "name": "Hold, sell, refinance or exchange",
      "category": "Investment",
      "description": "Compare four paths at a shared horizon with modeled debt paydown, net sale and refinance proceeds, exchange financing, cash flow and reinvestment. Supply an annual post-refinance cash flow or let the app replace the old debt payment with the new payment.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "currentValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Current modeled property value in USD."
          },
          "currentDebt": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Current mortgage principal outstanding in USD."
          },
          "currentDebtRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual interest rate in percent on the existing mortgage."
          },
          "currentAnnualDebtService": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD per year in principal and interest on the current loan."
          },
          "adjustedBasis": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Current adjusted property tax basis in USD for the sale and exchange assumptions."
          },
          "annualCashFlow": {
            "type": "number",
            "minimum": -1000000000,
            "maximum": 1000000000,
            "description": "Signed USD per year in current property cash flow after paying current debt service."
          },
          "refiAnnualCashFlow": {
            "type": "number",
            "minimum": -1000000000,
            "maximum": 1000000000,
            "description": "Signed USD per year in post-refinance property cash flow after new debt service. Omitting it derives cash flow by replacing current P&I with new P&I."
          },
          "annualCashFlowGrowthPct": {
            "type": "number",
            "minimum": -100,
            "maximum": 20,
            "description": "Signed percent change per year in operating income before financing. Each path then deducts its own debt payments."
          },
          "annualAppreciationPct": {
            "type": "number",
            "minimum": -100,
            "maximum": 20,
            "description": "Signed annual percent change in property value (3 means a 3% annual increase)."
          },
          "sellingCostPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Selling expenses as a percent of the modeled gross sale price."
          },
          "capitalGainsTaxPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Assumed tax as a percent of positive taxable capital gain."
          },
          "refiLtvPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Refinance principal as a percent of current property value."
          },
          "refiRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual interest rate in percent on the modeled refinance loan."
          },
          "refiTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years in the refinance loan amortization term."
          },
          "refiClosingCostPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Refinance costs as a percent of the modeled refinance principal."
          },
          "exchangeDownPaymentPct": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Equity down payment as a percent of replacement property purchase price."
          },
          "exchangeLoanRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual interest rate in percent on the replacement property loan. It defaults to the refinance rate."
          },
          "exchangeLoanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years in the replacement loan amortization term. It defaults to the refinance term."
          },
          "holdYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years until all strategies are evaluated together at the common comparison horizon."
          },
          "reinvestmentRatePct": {
            "type": "number",
            "minimum": -99,
            "maximum": 30,
            "description": "Signed annual reinvestment return in percent on cash released today (4 means 4% per year)."
          }
        },
        "required": [
          "currentValue",
          "currentDebt",
          "currentDebtRatePct",
          "currentAnnualDebtService",
          "adjustedBasis",
          "annualCashFlow",
          "annualCashFlowGrowthPct",
          "annualAppreciationPct",
          "sellingCostPct",
          "capitalGainsTaxPct",
          "refiLtvPct",
          "refiRatePct",
          "refiTermYears",
          "refiClosingCostPct",
          "exchangeDownPaymentPct",
          "holdYears",
          "reinvestmentRatePct"
        ],
        "additionalProperties": false,
        "description": "Compare four paths at a shared horizon with modeled debt paydown, net sale and refinance proceeds, exchange financing, cash flow and reinvestment. Supply an annual post-refinance cash flow or let the app replace the old debt payment with the new payment."
      },
      "input": {
        "currentValue": 500000,
        "currentDebt": 260000,
        "currentDebtRatePct": 5,
        "currentAnnualDebtService": 24000,
        "adjustedBasis": 350000,
        "annualCashFlow": 12000,
        "annualCashFlowGrowthPct": 2,
        "annualAppreciationPct": 3,
        "sellingCostPct": 6,
        "capitalGainsTaxPct": 20,
        "refiLtvPct": 70,
        "refiRatePct": 6,
        "refiTermYears": 30,
        "refiClosingCostPct": 2,
        "exchangeDownPaymentPct": 30,
        "holdYears": 5,
        "reinvestmentRatePct": 4
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [
            {
              "code": "tax-review-required",
              "severity": "critical",
              "message": "The model does not determine 1031 eligibility, boot, recapture, or state tax. Obtain CPA or attorney review."
            }
          ],
          "assumptions": [],
          "provenance": [
            {
              "source": "Declared common-horizon terminal-wealth model",
              "asOf": "2026-08-13"
            }
          ],
          "formulaVersion": "exit-strategy-3.0.0",
          "ruleVersions": [
            "common-horizon-v1",
            "taxable-gain-after-selling-costs-v1",
            "loans-amortized-to-horizon-v1"
          ],
          "auditTrail": [
            "Compared all paths at year 5.",
            "Cash released today compounds to the horizon at the entered reinvestment rate.",
            "Retained properties are liquidated at the horizon under one selling-cost and tax convention.",
            "Each retained loan is amortized to year 5: the current loan at its entered P&I, the refinance and 1031 replacement loans at their own rate and term.",
            "The 1031 replacement loan of 490000.00 costs 2937.80 a month in P&I, charged against the scaled NOI."
          ],
          "value": {
            "comparisonHorizonYears": 5,
            "comparisonBasis": "After-tax terminal wealth at year 5, with every retained property liquidated at the horizon",
            "projectedPropertyValue": "579637.04",
            "sellNetProceedsToday": "186000",
            "refinanceCashOutToday": "83000",
            "exchangeBuyingPower": "700000",
            "exchangeLoanAmount": "490000",
            "exchangeMonthlyPayment": "2937.8",
            "exchangeFirstYearCashFlow": "15146.43",
            "refinanceFeasible": true,
            "refinanceShortfall": null,
            "strategies": [
              {
                "id": "hold",
                "terminalWealth": "375571.43",
                "proceedsReleasedToday": "0",
                "cumulativeCashFlow": "67345.45",
                "liquidationEquity": "308225.98",
                "loanBalanceAtHorizon": "197661.07"
              },
              {
                "id": "sell",
                "terminalWealth": "226297.44",
                "proceedsReleasedToday": "186000",
                "cumulativeCashFlow": "0",
                "liquidationEquity": "0",
                "loanBalanceAtHorizon": "0"
              },
              {
                "id": "refinance",
                "terminalWealth": "342618.87",
                "proceedsReleasedToday": "83000",
                "cumulativeCashFlow": "61439.84",
                "liquidationEquity": "180196.84",
                "loanBalanceAtHorizon": "325690.21"
              },
              {
                "id": "1031-exchange",
                "terminalWealth": "350291.32",
                "proceedsReleasedToday": "0",
                "cumulativeCashFlow": "86015.77",
                "liquidationEquity": "264275.55",
                "loanBalanceAtHorizon": "455966.32"
              }
            ],
            "ranking": [
              "hold",
              "1031-exchange",
              "refinance",
              "sell"
            ],
            "bestStrategy": "hold",
            "highestWealthStrategies": [
              "hold"
            ]
          }
        },
        "formulaVersion": "exit-strategy-3.0.0",
        "units": {
          "money": "USD",
          "months": "whole months",
          "years": "whole years",
          "percentage": "percent points (6 = 6%)",
          "dscr": "income divided by debt service, unitless"
        },
        "assumptions": [
          "Compare four paths at a shared horizon with modeled debt paydown, net sale and refinance proceeds, exchange financing, cash flow and reinvestment. Supply an annual post-refinance cash flow or let the app replace the old debt payment with the new payment."
        ],
        "warnings": [
          "The model does not determine 1031 eligibility, boot, recapture, or state tax. Obtain CPA or attorney review."
        ],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/exit-strategy"
    },
    {
      "slug": "investor-rent-vs-sell",
      "name": "Rent then sell versus sell today",
      "category": "Investment",
      "description": "Projects sale proceeds, annual loan paydown, rental cash flow, sale and reinvested wealth, break-even year and rental IRR. Growth, selling costs, reinvestment and capital-gains tax rates are decimal fractions. Current loan rate is annual percentage points. An unavailable IRR is null.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "property": {
            "type": "object",
            "properties": {
              "currentValue": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Current modeled property value in USD."
              },
              "outstandingLoan": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Existing mortgage principal outstanding in USD."
              },
              "monthlyRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Current gross rent in USD per month."
              },
              "monthlyExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Operating expenses in USD per month, excluding amounts already counted in the mortgage PITI."
              },
              "monthlyMortgagePITI": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Total monthly mortgage payment in USD including principal, interest and escrow for tax and insurance."
              },
              "costBasis": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Property tax basis in USD used to estimate taxable sale gain."
              },
              "capitalGainsTaxRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1,
                "description": "Tax on positive modeled gain as a decimal fraction (0.20 means 20%)."
              },
              "currentLoanRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Current mortgage annual interest rate in percent (6 means 6% per year)."
              },
              "monthlyPrincipalAndInterest": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Principal-and-interest portion of the mortgage payment in USD per month used for loan paydown."
              }
            },
            "required": [
              "currentValue",
              "outstandingLoan",
              "monthlyRent",
              "monthlyExpenses",
              "monthlyMortgagePITI",
              "costBasis",
              "capitalGainsTaxRate",
              "currentLoanRatePct",
              "monthlyPrincipalAndInterest"
            ],
            "additionalProperties": false
          },
          "assumptions": {
            "type": "object",
            "properties": {
              "years": {
                "type": "integer",
                "minimum": 1,
                "maximum": 10,
                "description": "Whole years to the modeled sale of the retained rental."
              },
              "sellingCostsRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 0.15,
                "description": "One-time selling expenses as a decimal fraction of gross sale price (0.06 means 6%)."
              },
              "expenseGrowthRate": {
                "type": "number",
                "minimum": -1,
                "maximum": 0.15,
                "description": "Annual change in property operating expenses as a signed decimal fraction (0.025 means 2.5% growth)."
              },
              "rentGrowthRate": {
                "type": "number",
                "minimum": -1,
                "maximum": 0.15,
                "description": "Annual change in gross rent as a signed decimal fraction (0.03 means 3% growth)."
              },
              "appreciationRate": {
                "type": "number",
                "minimum": -1,
                "maximum": 0.15,
                "description": "Annual change in property value as a signed decimal fraction (0.03 means 3% growth)."
              },
              "reinvestmentRate": {
                "type": "number",
                "minimum": -1,
                "maximum": 0.2,
                "description": "Annual compounded return on immediate sale proceeds as a signed decimal fraction (0.04 means 4%)."
              }
            },
            "required": [
              "years",
              "sellingCostsRate",
              "expenseGrowthRate",
              "rentGrowthRate",
              "appreciationRate",
              "reinvestmentRate"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "property",
          "assumptions"
        ],
        "additionalProperties": false,
        "description": "Projects sale proceeds, annual loan paydown, rental cash flow, sale and reinvested wealth, break-even year and rental IRR. Growth, selling costs, reinvestment and capital-gains tax rates are decimal fractions. Current loan rate is annual percentage points. An unavailable IRR is null."
      },
      "input": {
        "property": {
          "currentValue": 400000,
          "outstandingLoan": 200000,
          "monthlyRent": 2300,
          "monthlyExpenses": 400,
          "monthlyMortgagePITI": 1400,
          "costBasis": 300000,
          "capitalGainsTaxRate": 0.2,
          "currentLoanRatePct": 5,
          "monthlyPrincipalAndInterest": 1074
        },
        "assumptions": {
          "years": 5,
          "sellingCostsRate": 0.06,
          "expenseGrowthRate": 0.025,
          "rentGrowthRate": 0.03,
          "appreciationRate": 0.03,
          "reinvestmentRate": 0.04
        }
      },
      "output": {
        "status": "available",
        "result": {
          "sellNow": {
            "grossProceeds": 400000,
            "sellingCostsAmount": 24000,
            "payoffLoan": 200000,
            "taxableGain": 76000,
            "capitalGainsTax": 15200,
            "netProceeds": 160800
          },
          "projection": [
            {
              "year": 1,
              "propertyValue": 412000,
              "loanBalance": 197044.89,
              "annualCashFlow": 6708,
              "cumulativeCashFlow": 6708,
              "sellingCosts": 24720,
              "capitalGainsTax": 17456,
              "netSaleProceeds": 172779.11,
              "wealth": 179487.11,
              "sellNowReinvested": 167232
            },
            {
              "year": 2,
              "propertyValue": 424360,
              "loanBalance": 193938.59,
              "annualCashFlow": 7437.84,
              "cumulativeCashFlow": 14145.84,
              "sellingCosts": 25461.6,
              "capitalGainsTax": 19779.680000000008,
              "netSaleProceeds": 185180.13,
              "wealth": 199325.97,
              "sellNowReinvested": 173921.28000000003
            },
            {
              "year": 3,
              "propertyValue": 437090.8,
              "loanBalance": 190673.37,
              "annualCashFlow": 8190.190200000001,
              "cumulativeCashFlow": 22336.0302,
              "sellingCosts": 26225.447999999997,
              "capitalGainsTax": 22173.070400000004,
              "netSaleProceeds": 198018.9116,
              "wealth": 220354.9418,
              "sellNowReinvested": 180878.1312
            },
            {
              "year": 4,
              "propertyValue": 450203.524,
              "loanBalance": 187241.08,
              "annualCashFlow": 8965.741281000002,
              "cumulativeCashFlow": 31301.771481000003,
              "sellingCosts": 27012.21144,
              "capitalGainsTax": 24638.262512,
              "netSaleProceeds": 211311.97004800005,
              "wealth": 242613.74152900005,
              "sellNowReinvested": 188113.25644800003
            },
            {
              "year": 5,
              "propertyValue": 463709.62971999997,
              "loanBalance": 183633.2,
              "annualCashFlow": 9765.205028805005,
              "cumulativeCashFlow": 41066.97650980501,
              "sellingCosts": 27822.5777832,
              "capitalGainsTax": 27177.410387359992,
              "netSaleProceeds": 225076.44154943997,
              "wealth": 266143.418059245,
              "sellNowReinvested": 195637.78670592
            }
          ],
          "higherModeledWealth": "rent",
          "reason": "Rent then sell ends $70,505 ahead of selling now at year 5, on the same clock.",
          "breakEvenYear": 1,
          "rentalIRR": 0.11376578748226161
        },
        "formulaVersion": "investor-rent-vs-sell-1.0.0",
        "units": {
          "amounts": "USD",
          "property.currentLoanRatePct": "annual percent points",
          "assumptions.*Rate": "annual decimal fractions, except sellingCostsRate which is a one-time fraction of the sale price",
          "property.capitalGainsTaxRate": "fraction of taxable gain",
          "rentalIRR": "annual decimal fraction"
        },
        "assumptions": [
          "Projects sale proceeds, annual loan paydown, rental cash flow, sale and reinvested wealth, break-even year and rental IRR. Growth, selling costs, reinvestment and capital-gains tax rates are decimal fractions. Current loan rate is annual percentage points. An unavailable IRR is null."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/rent-vs-sell"
    },
    {
      "slug": "investor-1031-exchange",
      "name": "1031 exchange arithmetic",
      "category": "Investment",
      "description": "Models adjusted basis, sale equity, cash and debt boot, recognized and deferred gains/loss, replacement basis, entered-rate deferral estimate and calendar limits. Optional supplied state policy is evaluated as an assumption. Reverse, improvement and related-party cases retain professional-review flags.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "exchangeType": {
            "enum": [
              "forward",
              "reverse",
              "improvement"
            ]
          },
          "relinquishedTransferDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "identificationMadeOn": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "replacementReceivedOn": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "returnDueDateIncludingExtensions": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "asOfDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "salePrice": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Gross sale price of the relinquished property in USD."
          },
          "sellingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Disposition expenses paid on the relinquished property in USD."
          },
          "originalTaxBasis": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Original tax basis of the relinquished property in USD before the entered improvements and depreciation."
          },
          "capitalImprovements": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD of basis additions for capital improvements to the relinquished property."
          },
          "depreciationAllowedOrAllowable": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Cumulative depreciation in USD deducted from original basis plus capital improvements."
          },
          "relinquishedDebt": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD of debt relieved on the relinquished property in the exchange."
          },
          "replacementPurchasePrice": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Purchase price of the replacement property in USD."
          },
          "qualifiedAcquisitionCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD of acquisition costs the caller treats as includible in replacement basis."
          },
          "replacementDebt": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD of debt assumed or incurred on the replacement property."
          },
          "replacementCashInvested": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD of cash actually invested in the replacement property for cash-boot and debt-relief calculations."
          },
          "relatedParty": {
            "type": "boolean"
          },
          "relatedPartyDispositionDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "capitalGainsTaxPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Entered federal capital gains tax rate in percent applied to deferred gain above the modeled recapture component."
          },
          "depreciationRecaptureTaxPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Entered federal recapture tax rate in percent applied to deferred gain attributable to prior depreciation."
          },
          "stateTaxPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Entered state tax rate in percent applied to deferred gain only under a supplied, current conforming state policy."
          },
          "statePolicy": {
            "type": "object",
            "properties": {
              "jurisdiction": {
                "type": "string",
                "minLength": 2,
                "maxLength": 2,
                "pattern": "^[A-Z]{2}$"
              },
              "version": {
                "type": "string",
                "minLength": 1,
                "maxLength": 16,
                "pattern": "^[0-9][0-9.-]{0,15}$"
              },
              "sourceUrl": {
                "type": "string",
                "minLength": 14,
                "maxLength": 240,
                "pattern": "^https://[a-z0-9.-]+[.]gov(?:/[a-zA-Z0-9._~/-]*)?$"
              },
              "effectiveDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "expiresOn": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "conformsToFederalDeferral": {
                "type": "boolean"
              }
            },
            "required": [
              "jurisdiction",
              "version",
              "sourceUrl",
              "effectiveDate",
              "expiresOn",
              "conformsToFederalDeferral"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "exchangeType",
          "relinquishedTransferDate",
          "asOfDate",
          "salePrice",
          "sellingCosts",
          "originalTaxBasis",
          "capitalImprovements",
          "depreciationAllowedOrAllowable",
          "relinquishedDebt",
          "replacementPurchasePrice",
          "qualifiedAcquisitionCosts",
          "replacementDebt",
          "replacementCashInvested",
          "relatedParty",
          "capitalGainsTaxPct",
          "depreciationRecaptureTaxPct"
        ],
        "additionalProperties": false,
        "description": "Models adjusted basis, sale equity, cash and debt boot, recognized and deferred gains/loss, replacement basis, entered-rate deferral estimate and calendar limits. Optional supplied state policy is evaluated as an assumption. Reverse, improvement and related-party cases retain professional-review flags."
      },
      "input": {
        "exchangeType": "forward",
        "relinquishedTransferDate": "2026-02-01",
        "asOfDate": "2026-02-01",
        "salePrice": 500000,
        "sellingCosts": 30000,
        "originalTaxBasis": 350000,
        "capitalImprovements": 20000,
        "depreciationAllowedOrAllowable": 40000,
        "relinquishedDebt": 200000,
        "replacementPurchasePrice": 600000,
        "qualifiedAcquisitionCosts": 10000,
        "replacementDebt": 340000,
        "replacementCashInvested": 270000,
        "relatedParty": false,
        "capitalGainsTaxPct": 20,
        "depreciationRecaptureTaxPct": 25
      },
      "output": {
        "status": "available",
        "result": {
          "formulaVersion": "rules-workflows-1.2.0",
          "status": "requires-professional-review",
          "identificationDeadline": "2026-03-18",
          "statutoryReceiptDeadline": "2026-07-31",
          "exchangeDeadline": "2026-07-31",
          "identificationTimely": null,
          "receiptTimely": null,
          "adjustedBasis": 330000,
          "amountRealized": 470000,
          "realizedGain": 140000,
          "netEquity": 270000,
          "cashBoot": 0,
          "debtBoot": 0,
          "totalBoot": 0,
          "recognizedGain": 0,
          "deferredGain": 140000,
          "deferredLoss": 0,
          "replacementBasis": 470000,
          "basisConservationDifference": 0,
          "stateDeferralStatus": "unavailable",
          "professionalReviewRequired": true,
          "issues": [
            {
              "code": "authority-missing",
              "severity": "error",
              "message": "A versioned jurisdiction source is required; no generic rule is substituted."
            }
          ],
          "engineStatus": "unavailable",
          "capitalGainsTaxDeferralEstimate": 20000,
          "depreciationRecaptureTaxDeferralEstimate": 10000,
          "federalTaxDeferralEstimate": 30000,
          "stateTaxDeferralEstimate": null,
          "warnings": [
            {
              "code": "authority-missing",
              "severity": "error",
              "message": "A versioned jurisdiction source is required; no generic rule is substituted."
            }
          ]
        },
        "formulaVersion": "rules-workflows-1.2.0",
        "units": {
          "amounts": "USD",
          "dates": "YYYY-MM-DD calendar dates",
          "rates": "percent points (25 = 25%)"
        },
        "assumptions": [
          "Caller supplies tax basis, debt, rates, transaction form and dates. Deferral arithmetic assumes a qualifying real-property exchange. A qualified intermediary and tax professional must determine qualification, exceptions and filing treatment."
        ],
        "warnings": [
          "A versioned jurisdiction source is required; no generic rule is substituted."
        ],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/1031-exchange"
    },
    {
      "slug": "investor-1031-deadlines",
      "name": "1031 identification and receipt deadlines",
      "category": "Investment",
      "description": "Calculates the forward-exchange calendar, remaining days and urgency at an explicit as-of date. An entered return due date including extensions can shorten the exchange window. Replacement candidates are represented only by entered numeric values.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "transferDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "asOfDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "returnDueDateIncludingExtensions": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "replacementPropertyValues": {
            "type": "array",
            "items": {
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000,
              "description": "Caller-estimated value in USD for one anonymous replacement property in the candidate list."
            },
            "minItems": 0,
            "maxItems": 128
          }
        },
        "required": [
          "transferDate",
          "asOfDate"
        ],
        "additionalProperties": false,
        "description": "Calculates the forward-exchange calendar, remaining days and urgency at an explicit as-of date. An entered return due date including extensions can shorten the exchange window. Replacement candidates are represented only by entered numeric values."
      },
      "input": {
        "transferDate": "2026-02-01",
        "asOfDate": "2026-03-01",
        "replacementPropertyValues": [
          225000,
          375000
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "identificationDeadline": "2026-03-18",
          "exchangeDeadline": "2026-07-31",
          "statutoryExchangeDeadline": "2026-07-31",
          "shortenedByTaxReturnDeadline": false,
          "daysToIdentification": 17,
          "daysToExchange": 152,
          "identificationStatus": "safe",
          "exchangeStatus": "safe",
          "candidateCount": 2,
          "candidateValueTotal": 600000
        },
        "formulaVersion": "investor-1031-deadlines-1.0.0",
        "units": {
          "dates": "YYYY-MM-DD",
          "remaining": "whole calendar days, negative after deadline",
          "replacementPropertyValues": "USD per property"
        },
        "assumptions": [
          "Standard 45-day identification and 180-day receipt windows, subject to the earlier entered return due date. Special extensions, documentation and transaction qualification require separate review."
        ],
        "warnings": [],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/1031-tracker"
    },
    {
      "slug": "investor-cost-segregation",
      "name": "Cost segregation depreciation scenario",
      "category": "Investment",
      "description": "Allocate supplied basis to land, residential or commercial building, and 5/7/15-year property. Models first-year depreciation, bonus election, fiscal-year and mid-quarter conventions, passive loss limits, optional state scenario and disposition recapture.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "asOfDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "acquisitionDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "bindingContractDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "placedInServiceDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "taxYearStartDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "taxYearEndDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "acquisitionPath": {
            "enum": [
              "purchase",
              "construction",
              "like-kind",
              "gift",
              "inheritance"
            ]
          },
          "usedInTradeOrBusinessOrForIncome": {
            "type": "boolean"
          },
          "relatedPartyAcquisition": {
            "type": "boolean"
          },
          "totalBasis": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Total property tax basis in USD that all recovery-class allocations must reconcile to, including land."
          },
          "allocations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "recoveryClass": {
                  "enum": [
                    "land",
                    "building-27.5",
                    "building-39",
                    "5-year",
                    "7-year",
                    "15-year"
                  ]
                },
                "basis": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD of this property’s total basis assigned to the selected recovery class."
                }
              },
              "required": [
                "recoveryClass",
                "basis"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 48
          },
          "otherAssetsPlacedThisTaxYear": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "recoveryClass": {
                  "enum": [
                    "land",
                    "building-27.5",
                    "building-39",
                    "5-year",
                    "7-year",
                    "15-year"
                  ]
                },
                "basis": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Basis in USD of this additional placed-in-service asset for the convention test, separate from the subject property allocation."
                },
                "placedInServiceDate": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                }
              },
              "required": [
                "recoveryClass",
                "basis",
                "placedInServiceDate"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 72
          },
          "bonusElection": {
            "enum": [
              "automatic",
              "section-168-k-10-40",
              "opt-out"
            ]
          },
          "passiveActivity": {
            "type": "boolean"
          },
          "passiveIncomeAvailable": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD of passive income available to absorb the modeled first-year deduction."
          },
          "specialAllowanceAvailable": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Additional USD of caller-determined special allowance available against passive losses."
          },
          "federalMarginalTaxRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Entered federal marginal tax rate in percent used to estimate the effect of the first-year deductible amount."
          },
          "stateRule": {
            "type": "object",
            "properties": {
              "jurisdiction": {
                "type": "string",
                "minLength": 2,
                "maxLength": 2,
                "pattern": "^[A-Z]{2}$"
              },
              "version": {
                "type": "string",
                "minLength": 1,
                "maxLength": 16,
                "pattern": "^[0-9][0-9.-]{0,15}$"
              },
              "sourceUrl": {
                "type": "string",
                "minLength": 14,
                "maxLength": 240,
                "pattern": "^https://[a-z0-9.-]+[.]gov(?:/[a-zA-Z0-9._~/-]*)?$"
              },
              "effectiveDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "expiresOn": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "conformsToFederalBonus": {
                "type": "boolean"
              },
              "stateBonusPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Entered state bonus deduction as a percent of eligible basis when the supplied state rule does not conform to the federal percentage."
              }
            },
            "required": [
              "jurisdiction",
              "version",
              "sourceUrl",
              "effectiveDate",
              "expiresOn",
              "conformsToFederalBonus"
            ],
            "additionalProperties": false
          },
          "disposition": {
            "type": "object",
            "properties": {
              "amountRealized": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Total amount realized on the modeled disposition in USD."
              },
              "allocatedGainFiveYear": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD of disposition gain allocated to the 5-year class."
              },
              "allocatedGainSevenYear": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD of disposition gain allocated to the 7-year class."
              },
              "allocatedGainFifteenYear": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD of disposition gain allocated to the 15-year class."
              },
              "allocatedGainBuilding": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD of disposition gain allocated to the building."
              },
              "depreciationTakenFiveYear": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD of prior depreciation taken on the disposed 5-year property."
              },
              "depreciationTakenSevenYear": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD of prior depreciation taken on the disposed 7-year property."
              },
              "depreciationTakenFifteenYear": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD of prior depreciation taken on the disposed 15-year property."
              },
              "depreciationTakenBuilding": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD of prior depreciation taken on the disposed building."
              }
            },
            "required": [
              "amountRealized",
              "allocatedGainFiveYear",
              "allocatedGainSevenYear",
              "allocatedGainFifteenYear",
              "allocatedGainBuilding",
              "depreciationTakenFiveYear",
              "depreciationTakenSevenYear",
              "depreciationTakenFifteenYear",
              "depreciationTakenBuilding"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "acquisitionDate",
          "placedInServiceDate",
          "taxYearStartDate",
          "taxYearEndDate",
          "acquisitionPath",
          "usedInTradeOrBusinessOrForIncome",
          "relatedPartyAcquisition",
          "totalBasis",
          "allocations",
          "bonusElection",
          "passiveActivity",
          "passiveIncomeAvailable",
          "specialAllowanceAvailable",
          "federalMarginalTaxRatePct"
        ],
        "additionalProperties": false,
        "description": "Allocate supplied basis to land, residential or commercial building, and 5/7/15-year property. Models first-year depreciation, bonus election, fiscal-year and mid-quarter conventions, passive loss limits, optional state scenario and disposition recapture."
      },
      "input": {
        "asOfDate": "2026-10-01",
        "acquisitionDate": "2026-02-01",
        "placedInServiceDate": "2026-03-15",
        "taxYearStartDate": "2026-01-01",
        "taxYearEndDate": "2026-12-31",
        "acquisitionPath": "purchase",
        "usedInTradeOrBusinessOrForIncome": true,
        "relatedPartyAcquisition": false,
        "totalBasis": 500000,
        "allocations": [
          {
            "recoveryClass": "land",
            "basis": 100000
          },
          {
            "recoveryClass": "building-27.5",
            "basis": 300000
          },
          {
            "recoveryClass": "5-year",
            "basis": 60000
          },
          {
            "recoveryClass": "15-year",
            "basis": 40000
          }
        ],
        "otherAssetsPlacedThisTaxYear": [],
        "bonusElection": "automatic",
        "passiveActivity": true,
        "passiveIncomeAvailable": 25000,
        "specialAllowanceAvailable": 0,
        "federalMarginalTaxRatePct": 24
      },
      "output": {
        "status": "available",
        "result": {
          "formulaVersion": "rules-workflows-1.1.0",
          "status": "requires-professional-review",
          "basisConserved": true,
          "basisDifference": 0,
          "landBasis": 100000,
          "depreciableBasis": 400000,
          "federalBonusPct": 100,
          "federalBonusBasis": 100000,
          "federalBonusDeduction": 100000,
          "midQuarterStatus": "does-not-apply",
          "q4PersonalPropertyPct": 0,
          "convention": "half-year",
          "firstYearFederalDepreciation": 108636.36,
          "deductiblePassiveLoss": 25000,
          "suspendedPassiveLoss": 83636.36,
          "federalFirstYearTaxEffect": 6000,
          "stateStatus": "unavailable",
          "stateBonusPct": null,
          "firstYearStateDepreciation": null,
          "section1245Recapture": null,
          "unrecapturedSection1250Gain": null,
          "professionalHandoff": {
            "engineerStudyRequired": true,
            "cpaOrEaReviewRequired": true,
            "federalAuthority": "IRC 168(k), Pub. 946, and IRS Notice 2026-11",
            "stateAuthority": null
          },
          "issues": [
            {
              "code": "state-authority-missing",
              "severity": "warning",
              "message": "A versioned jurisdiction source is required; no generic rule is substituted."
            }
          ],
          "warnings": [
            {
              "code": "state-authority-missing",
              "severity": "warning",
              "message": "A versioned jurisdiction source is required; no generic rule is substituted."
            }
          ]
        },
        "formulaVersion": "rules-workflows-1.1.0",
        "units": {
          "amounts": "USD",
          "dates": "YYYY-MM-DD calendar dates",
          "rates": "percent points (25 = 25%)"
        },
        "assumptions": [
          "The caller supplies asset classes, basis and facts for a full 12-month tax year. Omit otherAssetsPlacedThisTaxYear when unknown, or send [] to affirm there are none. State results require a supplied dated public rule. Asset classification and filing require an engineering study and tax professional review."
        ],
        "warnings": [
          "A versioned jurisdiction source is required; no generic rule is substituted."
        ],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/cost-segregation"
    },
    {
      "slug": "investor-rental-analysis",
      "name": "Rental property analysis",
      "category": "Investment",
      "description": "Cash flow, returns, coverage against a supplied threshold, sensitivity, long-term projections and a dated lease, debt and capital ledger. Tax, insurance, maintenance and management inputs are annual dollars. HOA, utilities and other expenses are monthly.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "purchasePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Acquisition price, USD."
          },
          "downPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Cash down payment, USD."
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual nominal loan rate, in percentage points (6.5 = 6.5%)."
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Loan term, whole years."
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Upfront closing costs, USD."
          },
          "renovationCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Initial repairs paid in cash, USD."
          },
          "totalRent": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Gross rent for a single-unit rental, USD/month. Zero falls back to monthlyRentPerUnit."
          },
          "otherIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Recurring non-rent receipts, USD/month."
          },
          "vacancyRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Vacancy as a percent of scheduled income."
          },
          "propertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Property taxes, USD/year."
          },
          "insurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Property insurance, USD/year."
          },
          "maintenance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Maintenance budget, USD/year."
          },
          "propertyManagement": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Management expense, USD/year."
          },
          "hoaFees": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Association dues, USD/month."
          },
          "utilities": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Utilities, USD/month."
          },
          "otherExpenses": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Other operating expenses, USD/month."
          },
          "lenderDscr": {
            "type": "number",
            "minimum": 0,
            "maximum": 20,
            "description": "Supplied coverage threshold, ratio (1.25 = 1.25×)."
          },
          "pmi": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Mortgage insurance, USD/month."
          },
          "monthlyRentPerUnit": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Scheduled rent per rented unit, USD/month."
          },
          "startDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "projectionYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30,
            "description": "Whole years from startDate."
          },
          "appreciation": {
            "type": "number",
            "minimum": -100,
            "maximum": 100,
            "description": "Property-value change, percent per year."
          },
          "rentGrowth": {
            "type": "number",
            "minimum": -100,
            "maximum": 100,
            "description": "Income growth, percent per year."
          },
          "expenseGrowth": {
            "type": "number",
            "minimum": -100,
            "maximum": 100,
            "description": "Operating expense growth, percent per year."
          },
          "units": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "monthlyRent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Scheduled rent for this lease, USD/month."
                },
                "leaseStart": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "leaseEnd": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                }
              },
              "required": [
                "monthlyRent",
                "leaseStart"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 100
          },
          "capexEvents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Capital expenditure paid on the event date, positive USD."
                }
              },
              "required": [
                "date",
                "amount"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 100
          },
          "turnoverEvents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Turnover cost paid on the event date, positive USD."
                }
              },
              "required": [
                "date",
                "amount"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 100
          },
          "taxEvents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Tax cost paid on the event date, positive USD."
                }
              },
              "required": [
                "date",
                "amount"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 100
          },
          "refinanceEvents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Refinance proceeds received on the event date, positive USD."
                }
              },
              "required": [
                "date",
                "amount"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 100
          },
          "sale": {
            "type": "object",
            "properties": {
              "date": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "grossProceeds": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Gross sale consideration on the dated sale, USD."
              },
              "sellingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Sale expenses on the dated sale, USD."
              }
            },
            "required": [
              "date",
              "grossProceeds",
              "sellingCosts"
            ],
            "additionalProperties": false
          },
          "actuals": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "rentCollected": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Rent received for this observation, USD."
                },
                "operatingExpensesPaid": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Operating costs paid for this observation, USD."
                },
                "capitalPaid": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Capital costs paid for this observation, USD."
                }
              },
              "required": [
                "date",
                "rentCollected",
                "operatingExpensesPaid"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 360
          },
          "numberOfUnits": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Whole number of property units."
          }
        },
        "required": [
          "purchasePrice",
          "downPayment",
          "interestRate",
          "loanTerm",
          "closingCosts",
          "renovationCosts",
          "totalRent",
          "otherIncome",
          "vacancyRate",
          "propertyTax",
          "insurance",
          "maintenance",
          "propertyManagement",
          "hoaFees",
          "utilities",
          "otherExpenses",
          "lenderDscr",
          "pmi",
          "monthlyRentPerUnit",
          "startDate",
          "projectionYears",
          "appreciation",
          "rentGrowth",
          "expenseGrowth",
          "numberOfUnits"
        ],
        "additionalProperties": false,
        "description": "Cash flow, returns, coverage against a supplied threshold, sensitivity, long-term projections and a dated lease, debt and capital ledger. Tax, insurance, maintenance and management inputs are annual dollars. HOA, utilities and other expenses are monthly."
      },
      "input": {
        "purchasePrice": 200000,
        "downPayment": 40000,
        "interestRate": 6.5,
        "loanTerm": 30,
        "closingCosts": 4000,
        "renovationCosts": 5000,
        "totalRent": 1800,
        "monthlyRentPerUnit": 1800,
        "numberOfUnits": 1,
        "otherIncome": 50,
        "vacancyRate": 5,
        "propertyTax": 2400,
        "insurance": 1200,
        "maintenance": 1200,
        "propertyManagement": 1200,
        "hoaFees": 0,
        "utilities": 50,
        "otherExpenses": 25,
        "lenderDscr": 1.25,
        "pmi": 0,
        "startDate": "2026-01-01",
        "projectionYears": 5,
        "appreciation": 3,
        "rentGrowth": 3,
        "expenseGrowth": 2
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "warnings": [
            {
              "code": "no-actuals",
              "severity": "info",
              "message": "No actual transactions were supplied; this is a plan-only pro forma."
            }
          ],
          "investment": {
            "monthlyCashFlow": 171.19116241129996,
            "annualCashFlow": 2054.2939489355995,
            "noi": 14190,
            "capRate": 7.095,
            "allInCapRate": 6.921951219512196,
            "cashOnCashReturn": 4.192436630480816,
            "dscr": 1.1692768381412322,
            "dscrStatus": "available",
            "dscrPasses": false,
            "grm": 9.00900900900901,
            "breakEvenRatio": 90.25939331941395,
            "totalInvestment": 49000,
            "loanAmount": 160000,
            "monthlyPI": 1011.3088375887,
            "grossMonthlyIncome": 1850,
            "effectiveMonthlyIncome": 1757.5,
            "totalMonthlyOperatingExpenses": 575,
            "totalMonthlyExpenses": 1586.3088375887,
            "monthlyPmi": 0,
            "firstYearPrincipalPaydown": 1788.3607503354588,
            "expenseBreakdown": {
              "pi": 1011.3088375887,
              "tax": 200,
              "insurance": 100,
              "management": 100,
              "maintenance": 100,
              "other": 75
            }
          },
          "ruleTests": {
            "passes1": false,
            "passes50": true
          },
          "projections": [
            {
              "year": 1,
              "equity": 47788.36075033547,
              "cashFlow": 2054.2939489355995,
              "propertyValue": 206000,
              "details": {
                "income": 21090,
                "expenses": 19035.7060510644,
                "loanBalance": 158211.63924966453
              }
            },
            {
              "year": 2,
              "equity": 55876.491332169564,
              "cashFlow": 2548.9939489355984,
              "propertyValue": 212180,
              "details": {
                "income": 21722.699999999997,
                "expenses": 19173.7060510644,
                "loanBalance": 156303.50866783044
              }
            },
            {
              "year": 3,
              "equity": 64277.81295293174,
              "cashFlow": 3059.914948935597,
              "propertyValue": 218545.4,
              "details": {
                "income": 22374.380999999994,
                "expenses": 19314.4660510644,
                "loanBalance": 154267.58704706826
              }
            },
            {
              "year": 4,
              "equity": 73006.44601516839,
              "cashFlow": 3587.5711789355973,
              "propertyValue": 225101.762,
              "details": {
                "income": 23045.612429999994,
                "expenses": 19458.041251064406,
                "loanBalance": 152095.3159848316
              }
            },
            {
              "year": 5,
              "equity": 82077.25095349457,
              "cashFlow": 4132.492847835596,
              "propertyValue": 231854.81485999998,
              "details": {
                "income": 23736.980802899998,
                "expenses": 19604.4879550644,
                "loanBalance": 149777.5639065054
              }
            }
          ],
          "shown": {
            "cashFlow": {
              "income": 1757.5,
              "runningCosts": 575,
              "loanPayment": 1011.31,
              "cashFlow": 171.19,
              "whole": {
                "runningCosts": 575,
                "loanPayment": 1011,
                "totalExpenses": 1586,
                "cashFlow": 171
              }
            },
            "projections": {
              "rows": [
                {
                  "year": 1,
                  "propertyValue": 206000,
                  "cashFlow": 2054,
                  "equity": 47788,
                  "loanBalance": 158212
                },
                {
                  "year": 2,
                  "propertyValue": 212180,
                  "cashFlow": 2549,
                  "equity": 55876,
                  "loanBalance": 156304
                },
                {
                  "year": 3,
                  "propertyValue": 218545,
                  "cashFlow": 3060,
                  "equity": 64277,
                  "loanBalance": 154268
                },
                {
                  "year": 4,
                  "propertyValue": 225102,
                  "cashFlow": 3588,
                  "equity": 73007,
                  "loanBalance": 152095
                },
                {
                  "year": 5,
                  "propertyValue": 231855,
                  "cashFlow": 4132,
                  "equity": 82077,
                  "loanBalance": 149778
                }
              ],
              "totalCashFlow": 15383,
              "last": {
                "year": 5,
                "propertyValue": 231855,
                "cashFlow": 4132,
                "equity": 82077,
                "loanBalance": 149778
              }
            }
          },
          "sensitivity": {
            "pessimistic": {
              "monthlyCashFlow": -140.80883758870004,
              "annualCashFlow": -1689.7060510644005,
              "noi": 10445.999999999998,
              "capRate": 5.222999999999999,
              "allInCapRate": 5.09560975609756,
              "cashOnCashReturn": -3.448379696049797,
              "dscr": 0.8607657400439259,
              "dscrStatus": "available",
              "dscrPasses": false,
              "grm": 9.980039920159681,
              "breakEvenRatio": 109.36851880164338,
              "totalInvestment": 49000,
              "loanAmount": 160000,
              "monthlyPI": 1011.3088375887,
              "grossMonthlyIncome": 1670,
              "effectiveMonthlyIncome": 1503,
              "totalMonthlyOperatingExpenses": 632.5000000000001,
              "totalMonthlyExpenses": 1643.8088375887,
              "monthlyPmi": 0,
              "firstYearPrincipalPaydown": 1788.3607503354588,
              "expenseBreakdown": {
                "pi": 1011.3088375887,
                "tax": 220.00000000000003,
                "insurance": 110.00000000000001,
                "management": 110.00000000000001,
                "maintenance": 110.00000000000001,
                "other": 82.50000000000001
              }
            },
            "optimistic": {
              "monthlyCashFlow": 324.2411624112999,
              "annualCashFlow": 3890.893948935599,
              "noi": 16026.599999999999,
              "capRate": 8.0133,
              "allInCapRate": 7.817853658536585,
              "cashOnCashReturn": 7.940599895786937,
              "dscr": 1.32061537520467,
              "dscrStatus": "available",
              "dscrPasses": true,
              "grm": 8.59106529209622,
              "breakEvenRatio": 82.76962682477948,
              "totalInvestment": 49000,
              "loanAmount": 160000,
              "monthlyPI": 1011.3088375887,
              "grossMonthlyIncome": 1940,
              "effectiveMonthlyIncome": 1881.8,
              "totalMonthlyOperatingExpenses": 546.25,
              "totalMonthlyExpenses": 1557.5588375887,
              "monthlyPmi": 0,
              "firstYearPrincipalPaydown": 1788.3607503354588,
              "expenseBreakdown": {
                "pi": 1011.3088375887,
                "tax": 190,
                "insurance": 95,
                "management": 95,
                "maintenance": 95,
                "other": 71.25
              }
            }
          },
          "ledger": {
            "state": "available",
            "fieldErrors": {},
            "warnings": [
              {
                "code": "no-actuals",
                "severity": "info",
                "message": "No actual transactions were supplied; this is a plan-only pro forma."
              }
            ],
            "assumptions": [
              {
                "key": "annualRentGrowthPct",
                "value": "3",
                "source": "user"
              },
              {
                "key": "annualExpenseGrowthPct",
                "value": "2",
                "source": "user"
              },
              {
                "key": "monthlyPmi",
                "value": "0",
                "source": "user"
              },
              {
                "key": "initialDownPayment",
                "value": "40000",
                "source": "user"
              },
              {
                "key": "initialClosingCosts",
                "value": "4000",
                "source": "user"
              },
              {
                "key": "initialRenovationCosts",
                "value": "5000",
                "source": "user"
              },
              {
                "key": "leaseStart",
                "value": "2026-01-01",
                "source": "default"
              },
              {
                "key": "leaseEnd",
                "value": "open through analysis horizon",
                "source": "default"
              },
              {
                "key": "otherMonthlyIncome",
                "value": "50.00",
                "unit": "USD/month",
                "source": "default"
              },
              {
                "key": "endingPropertyValue",
                "value": "231854.81",
                "unit": "USD",
                "source": "default"
              },
              {
                "key": "monthlyPmi",
                "value": "0.00",
                "unit": "USD/month",
                "source": "default"
              },
              {
                "key": "annualExpenseGrowthPct",
                "value": "2.0000",
                "unit": "%",
                "source": "default"
              },
              {
                "key": "calculationTimeZone",
                "value": "UTC",
                "source": "default"
              }
            ],
            "provenance": [],
            "formulaVersion": "rental-monthly-ledger-1.2.0",
            "ruleVersions": [],
            "auditTrail": [
              "60 monthly periods generated from 2026-01-01.",
              "Recurring other income starts at 50.00 per month and follows the entered rent-growth and vacancy assumptions.",
              "Operating expenses grow 2.0000% annually; monthly PMI is 0.00.",
              "Initial invested cash reconciles down payment, closing costs, and renovation costs to 49000.00.",
              "Monthly operating rows reconcile to the dated ledger within 0.00.",
              "Compatibility adapter: legacy unit rent, recurring other income, PMI, acquisition cash, and independently growing annual expense inputs are expanded into a dated monthly ledger."
            ],
            "value": {
              "months": [
                {
                  "date": "2026-01-01",
                  "grossScheduledRent": "1800",
                  "grossOtherIncome": "50",
                  "grossScheduledIncome": "1850",
                  "vacancyLoss": "92.5",
                  "effectiveRent": "1710",
                  "effectiveOtherIncome": "47.5",
                  "effectiveIncome": "1757.5",
                  "operatingExpenses": "575",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "171.19",
                  "loanBalance": "159855.36"
                },
                {
                  "date": "2026-02-01",
                  "grossScheduledRent": "1800",
                  "grossOtherIncome": "50",
                  "grossScheduledIncome": "1850",
                  "vacancyLoss": "92.5",
                  "effectiveRent": "1710",
                  "effectiveOtherIncome": "47.5",
                  "effectiveIncome": "1757.5",
                  "operatingExpenses": "575",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "171.19",
                  "loanBalance": "159709.93"
                },
                {
                  "date": "2026-03-01",
                  "grossScheduledRent": "1800",
                  "grossOtherIncome": "50",
                  "grossScheduledIncome": "1850",
                  "vacancyLoss": "92.5",
                  "effectiveRent": "1710",
                  "effectiveOtherIncome": "47.5",
                  "effectiveIncome": "1757.5",
                  "operatingExpenses": "575",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "171.19",
                  "loanBalance": "159563.72"
                },
                {
                  "date": "2026-04-01",
                  "grossScheduledRent": "1800",
                  "grossOtherIncome": "50",
                  "grossScheduledIncome": "1850",
                  "vacancyLoss": "92.5",
                  "effectiveRent": "1710",
                  "effectiveOtherIncome": "47.5",
                  "effectiveIncome": "1757.5",
                  "operatingExpenses": "575",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "171.19",
                  "loanBalance": "159416.71"
                },
                {
                  "date": "2026-05-01",
                  "grossScheduledRent": "1800",
                  "grossOtherIncome": "50",
                  "grossScheduledIncome": "1850",
                  "vacancyLoss": "92.5",
                  "effectiveRent": "1710",
                  "effectiveOtherIncome": "47.5",
                  "effectiveIncome": "1757.5",
                  "operatingExpenses": "575",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "171.19",
                  "loanBalance": "159268.91"
                },
                {
                  "date": "2026-06-01",
                  "grossScheduledRent": "1800",
                  "grossOtherIncome": "50",
                  "grossScheduledIncome": "1850",
                  "vacancyLoss": "92.5",
                  "effectiveRent": "1710",
                  "effectiveOtherIncome": "47.5",
                  "effectiveIncome": "1757.5",
                  "operatingExpenses": "575",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "171.19",
                  "loanBalance": "159120.31"
                },
                {
                  "date": "2026-07-01",
                  "grossScheduledRent": "1800",
                  "grossOtherIncome": "50",
                  "grossScheduledIncome": "1850",
                  "vacancyLoss": "92.5",
                  "effectiveRent": "1710",
                  "effectiveOtherIncome": "47.5",
                  "effectiveIncome": "1757.5",
                  "operatingExpenses": "575",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "171.19",
                  "loanBalance": "158970.9"
                },
                {
                  "date": "2026-08-01",
                  "grossScheduledRent": "1800",
                  "grossOtherIncome": "50",
                  "grossScheduledIncome": "1850",
                  "vacancyLoss": "92.5",
                  "effectiveRent": "1710",
                  "effectiveOtherIncome": "47.5",
                  "effectiveIncome": "1757.5",
                  "operatingExpenses": "575",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "171.19",
                  "loanBalance": "158820.68"
                },
                {
                  "date": "2026-09-01",
                  "grossScheduledRent": "1800",
                  "grossOtherIncome": "50",
                  "grossScheduledIncome": "1850",
                  "vacancyLoss": "92.5",
                  "effectiveRent": "1710",
                  "effectiveOtherIncome": "47.5",
                  "effectiveIncome": "1757.5",
                  "operatingExpenses": "575",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "171.19",
                  "loanBalance": "158669.65"
                },
                {
                  "date": "2026-10-01",
                  "grossScheduledRent": "1800",
                  "grossOtherIncome": "50",
                  "grossScheduledIncome": "1850",
                  "vacancyLoss": "92.5",
                  "effectiveRent": "1710",
                  "effectiveOtherIncome": "47.5",
                  "effectiveIncome": "1757.5",
                  "operatingExpenses": "575",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "171.19",
                  "loanBalance": "158517.8"
                },
                {
                  "date": "2026-11-01",
                  "grossScheduledRent": "1800",
                  "grossOtherIncome": "50",
                  "grossScheduledIncome": "1850",
                  "vacancyLoss": "92.5",
                  "effectiveRent": "1710",
                  "effectiveOtherIncome": "47.5",
                  "effectiveIncome": "1757.5",
                  "operatingExpenses": "575",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "171.19",
                  "loanBalance": "158365.13"
                },
                {
                  "date": "2026-12-01",
                  "grossScheduledRent": "1800",
                  "grossOtherIncome": "50",
                  "grossScheduledIncome": "1850",
                  "vacancyLoss": "92.5",
                  "effectiveRent": "1710",
                  "effectiveOtherIncome": "47.5",
                  "effectiveIncome": "1757.5",
                  "operatingExpenses": "575",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "171.19",
                  "loanBalance": "158211.63"
                },
                {
                  "date": "2027-01-01",
                  "grossScheduledRent": "1854",
                  "grossOtherIncome": "51.5",
                  "grossScheduledIncome": "1905.5",
                  "vacancyLoss": "95.27",
                  "effectiveRent": "1761.3",
                  "effectiveOtherIncome": "48.93",
                  "effectiveIncome": "1810.23",
                  "operatingExpenses": "586.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "212.42",
                  "loanBalance": "158057.3"
                },
                {
                  "date": "2027-02-01",
                  "grossScheduledRent": "1854",
                  "grossOtherIncome": "51.5",
                  "grossScheduledIncome": "1905.5",
                  "vacancyLoss": "95.27",
                  "effectiveRent": "1761.3",
                  "effectiveOtherIncome": "48.93",
                  "effectiveIncome": "1810.23",
                  "operatingExpenses": "586.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "212.42",
                  "loanBalance": "157902.13"
                },
                {
                  "date": "2027-03-01",
                  "grossScheduledRent": "1854",
                  "grossOtherIncome": "51.5",
                  "grossScheduledIncome": "1905.5",
                  "vacancyLoss": "95.27",
                  "effectiveRent": "1761.3",
                  "effectiveOtherIncome": "48.93",
                  "effectiveIncome": "1810.23",
                  "operatingExpenses": "586.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "212.42",
                  "loanBalance": "157746.12"
                },
                {
                  "date": "2027-04-01",
                  "grossScheduledRent": "1854",
                  "grossOtherIncome": "51.5",
                  "grossScheduledIncome": "1905.5",
                  "vacancyLoss": "95.27",
                  "effectiveRent": "1761.3",
                  "effectiveOtherIncome": "48.93",
                  "effectiveIncome": "1810.23",
                  "operatingExpenses": "586.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "212.42",
                  "loanBalance": "157589.27"
                },
                {
                  "date": "2027-05-01",
                  "grossScheduledRent": "1854",
                  "grossOtherIncome": "51.5",
                  "grossScheduledIncome": "1905.5",
                  "vacancyLoss": "95.27",
                  "effectiveRent": "1761.3",
                  "effectiveOtherIncome": "48.93",
                  "effectiveIncome": "1810.23",
                  "operatingExpenses": "586.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "212.42",
                  "loanBalance": "157431.57"
                },
                {
                  "date": "2027-06-01",
                  "grossScheduledRent": "1854",
                  "grossOtherIncome": "51.5",
                  "grossScheduledIncome": "1905.5",
                  "vacancyLoss": "95.27",
                  "effectiveRent": "1761.3",
                  "effectiveOtherIncome": "48.93",
                  "effectiveIncome": "1810.23",
                  "operatingExpenses": "586.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "212.43",
                  "loanBalance": "157273.02"
                },
                {
                  "date": "2027-07-01",
                  "grossScheduledRent": "1854",
                  "grossOtherIncome": "51.5",
                  "grossScheduledIncome": "1905.5",
                  "vacancyLoss": "95.27",
                  "effectiveRent": "1761.3",
                  "effectiveOtherIncome": "48.93",
                  "effectiveIncome": "1810.23",
                  "operatingExpenses": "586.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "212.42",
                  "loanBalance": "157113.61"
                },
                {
                  "date": "2027-08-01",
                  "grossScheduledRent": "1854",
                  "grossOtherIncome": "51.5",
                  "grossScheduledIncome": "1905.5",
                  "vacancyLoss": "95.27",
                  "effectiveRent": "1761.3",
                  "effectiveOtherIncome": "48.93",
                  "effectiveIncome": "1810.23",
                  "operatingExpenses": "586.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "212.42",
                  "loanBalance": "156953.33"
                },
                {
                  "date": "2027-09-01",
                  "grossScheduledRent": "1854",
                  "grossOtherIncome": "51.5",
                  "grossScheduledIncome": "1905.5",
                  "vacancyLoss": "95.27",
                  "effectiveRent": "1761.3",
                  "effectiveOtherIncome": "48.93",
                  "effectiveIncome": "1810.23",
                  "operatingExpenses": "586.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "212.43",
                  "loanBalance": "156792.19"
                },
                {
                  "date": "2027-10-01",
                  "grossScheduledRent": "1854",
                  "grossOtherIncome": "51.5",
                  "grossScheduledIncome": "1905.5",
                  "vacancyLoss": "95.27",
                  "effectiveRent": "1761.3",
                  "effectiveOtherIncome": "48.93",
                  "effectiveIncome": "1810.23",
                  "operatingExpenses": "586.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "212.42",
                  "loanBalance": "156630.17"
                },
                {
                  "date": "2027-11-01",
                  "grossScheduledRent": "1854",
                  "grossOtherIncome": "51.5",
                  "grossScheduledIncome": "1905.5",
                  "vacancyLoss": "95.27",
                  "effectiveRent": "1761.3",
                  "effectiveOtherIncome": "48.93",
                  "effectiveIncome": "1810.23",
                  "operatingExpenses": "586.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "212.42",
                  "loanBalance": "156467.27"
                },
                {
                  "date": "2027-12-01",
                  "grossScheduledRent": "1854",
                  "grossOtherIncome": "51.5",
                  "grossScheduledIncome": "1905.5",
                  "vacancyLoss": "95.27",
                  "effectiveRent": "1761.3",
                  "effectiveOtherIncome": "48.93",
                  "effectiveIncome": "1810.23",
                  "operatingExpenses": "586.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "212.42",
                  "loanBalance": "156303.49"
                },
                {
                  "date": "2028-01-01",
                  "grossScheduledRent": "1909.62",
                  "grossOtherIncome": "53.05",
                  "grossScheduledIncome": "1962.67",
                  "vacancyLoss": "98.13",
                  "effectiveRent": "1814.14",
                  "effectiveOtherIncome": "50.4",
                  "effectiveIncome": "1864.54",
                  "operatingExpenses": "598.23",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "255.01",
                  "loanBalance": "156138.83"
                },
                {
                  "date": "2028-02-01",
                  "grossScheduledRent": "1909.62",
                  "grossOtherIncome": "53.05",
                  "grossScheduledIncome": "1962.67",
                  "vacancyLoss": "98.13",
                  "effectiveRent": "1814.14",
                  "effectiveOtherIncome": "50.4",
                  "effectiveIncome": "1864.54",
                  "operatingExpenses": "598.23",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "255",
                  "loanBalance": "155973.27"
                },
                {
                  "date": "2028-03-01",
                  "grossScheduledRent": "1909.62",
                  "grossOtherIncome": "53.05",
                  "grossScheduledIncome": "1962.67",
                  "vacancyLoss": "98.13",
                  "effectiveRent": "1814.14",
                  "effectiveOtherIncome": "50.4",
                  "effectiveIncome": "1864.54",
                  "operatingExpenses": "598.23",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "255",
                  "loanBalance": "155806.82"
                },
                {
                  "date": "2028-04-01",
                  "grossScheduledRent": "1909.62",
                  "grossOtherIncome": "53.05",
                  "grossScheduledIncome": "1962.67",
                  "vacancyLoss": "98.13",
                  "effectiveRent": "1814.14",
                  "effectiveOtherIncome": "50.4",
                  "effectiveIncome": "1864.54",
                  "operatingExpenses": "598.23",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "255",
                  "loanBalance": "155639.46"
                },
                {
                  "date": "2028-05-01",
                  "grossScheduledRent": "1909.62",
                  "grossOtherIncome": "53.05",
                  "grossScheduledIncome": "1962.67",
                  "vacancyLoss": "98.13",
                  "effectiveRent": "1814.14",
                  "effectiveOtherIncome": "50.4",
                  "effectiveIncome": "1864.54",
                  "operatingExpenses": "598.23",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "255",
                  "loanBalance": "155471.2"
                },
                {
                  "date": "2028-06-01",
                  "grossScheduledRent": "1909.62",
                  "grossOtherIncome": "53.05",
                  "grossScheduledIncome": "1962.67",
                  "vacancyLoss": "98.13",
                  "effectiveRent": "1814.14",
                  "effectiveOtherIncome": "50.4",
                  "effectiveIncome": "1864.54",
                  "operatingExpenses": "598.23",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "255",
                  "loanBalance": "155302.03"
                },
                {
                  "date": "2028-07-01",
                  "grossScheduledRent": "1909.62",
                  "grossOtherIncome": "53.05",
                  "grossScheduledIncome": "1962.67",
                  "vacancyLoss": "98.13",
                  "effectiveRent": "1814.14",
                  "effectiveOtherIncome": "50.4",
                  "effectiveIncome": "1864.54",
                  "operatingExpenses": "598.23",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "255",
                  "loanBalance": "155131.94"
                },
                {
                  "date": "2028-08-01",
                  "grossScheduledRent": "1909.62",
                  "grossOtherIncome": "53.05",
                  "grossScheduledIncome": "1962.67",
                  "vacancyLoss": "98.13",
                  "effectiveRent": "1814.14",
                  "effectiveOtherIncome": "50.4",
                  "effectiveIncome": "1864.54",
                  "operatingExpenses": "598.23",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "255",
                  "loanBalance": "154960.93"
                },
                {
                  "date": "2028-09-01",
                  "grossScheduledRent": "1909.62",
                  "grossOtherIncome": "53.05",
                  "grossScheduledIncome": "1962.67",
                  "vacancyLoss": "98.13",
                  "effectiveRent": "1814.14",
                  "effectiveOtherIncome": "50.4",
                  "effectiveIncome": "1864.54",
                  "operatingExpenses": "598.23",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "255",
                  "loanBalance": "154788.99"
                },
                {
                  "date": "2028-10-01",
                  "grossScheduledRent": "1909.62",
                  "grossOtherIncome": "53.05",
                  "grossScheduledIncome": "1962.67",
                  "vacancyLoss": "98.13",
                  "effectiveRent": "1814.14",
                  "effectiveOtherIncome": "50.4",
                  "effectiveIncome": "1864.54",
                  "operatingExpenses": "598.23",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "255",
                  "loanBalance": "154616.12"
                },
                {
                  "date": "2028-11-01",
                  "grossScheduledRent": "1909.62",
                  "grossOtherIncome": "53.05",
                  "grossScheduledIncome": "1962.67",
                  "vacancyLoss": "98.13",
                  "effectiveRent": "1814.14",
                  "effectiveOtherIncome": "50.4",
                  "effectiveIncome": "1864.54",
                  "operatingExpenses": "598.23",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "255.01",
                  "loanBalance": "154442.32"
                },
                {
                  "date": "2028-12-01",
                  "grossScheduledRent": "1909.62",
                  "grossOtherIncome": "53.05",
                  "grossScheduledIncome": "1962.67",
                  "vacancyLoss": "98.13",
                  "effectiveRent": "1814.14",
                  "effectiveOtherIncome": "50.4",
                  "effectiveIncome": "1864.54",
                  "operatingExpenses": "598.23",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "255",
                  "loanBalance": "154267.57"
                },
                {
                  "date": "2029-01-01",
                  "grossScheduledRent": "1966.91",
                  "grossOtherIncome": "54.64",
                  "grossScheduledIncome": "2021.55",
                  "vacancyLoss": "101.08",
                  "effectiveRent": "1868.56",
                  "effectiveOtherIncome": "51.91",
                  "effectiveIncome": "1920.47",
                  "operatingExpenses": "610.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "298.97",
                  "loanBalance": "154091.88"
                },
                {
                  "date": "2029-02-01",
                  "grossScheduledRent": "1966.91",
                  "grossOtherIncome": "54.64",
                  "grossScheduledIncome": "2021.55",
                  "vacancyLoss": "101.08",
                  "effectiveRent": "1868.56",
                  "effectiveOtherIncome": "51.91",
                  "effectiveIncome": "1920.47",
                  "operatingExpenses": "610.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "298.98",
                  "loanBalance": "153915.24"
                },
                {
                  "date": "2029-03-01",
                  "grossScheduledRent": "1966.91",
                  "grossOtherIncome": "54.64",
                  "grossScheduledIncome": "2021.55",
                  "vacancyLoss": "101.08",
                  "effectiveRent": "1868.56",
                  "effectiveOtherIncome": "51.91",
                  "effectiveIncome": "1920.47",
                  "operatingExpenses": "610.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "298.97",
                  "loanBalance": "153737.64"
                },
                {
                  "date": "2029-04-01",
                  "grossScheduledRent": "1966.91",
                  "grossOtherIncome": "54.64",
                  "grossScheduledIncome": "2021.55",
                  "vacancyLoss": "101.08",
                  "effectiveRent": "1868.56",
                  "effectiveOtherIncome": "51.91",
                  "effectiveIncome": "1920.47",
                  "operatingExpenses": "610.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "298.97",
                  "loanBalance": "153559.08"
                },
                {
                  "date": "2029-05-01",
                  "grossScheduledRent": "1966.91",
                  "grossOtherIncome": "54.64",
                  "grossScheduledIncome": "2021.55",
                  "vacancyLoss": "101.08",
                  "effectiveRent": "1868.56",
                  "effectiveOtherIncome": "51.91",
                  "effectiveIncome": "1920.47",
                  "operatingExpenses": "610.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "298.97",
                  "loanBalance": "153379.55"
                },
                {
                  "date": "2029-06-01",
                  "grossScheduledRent": "1966.91",
                  "grossOtherIncome": "54.64",
                  "grossScheduledIncome": "2021.55",
                  "vacancyLoss": "101.08",
                  "effectiveRent": "1868.56",
                  "effectiveOtherIncome": "51.91",
                  "effectiveIncome": "1920.47",
                  "operatingExpenses": "610.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "298.97",
                  "loanBalance": "153199.05"
                },
                {
                  "date": "2029-07-01",
                  "grossScheduledRent": "1966.91",
                  "grossOtherIncome": "54.64",
                  "grossScheduledIncome": "2021.55",
                  "vacancyLoss": "101.08",
                  "effectiveRent": "1868.56",
                  "effectiveOtherIncome": "51.91",
                  "effectiveIncome": "1920.47",
                  "operatingExpenses": "610.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "298.97",
                  "loanBalance": "153017.57"
                },
                {
                  "date": "2029-08-01",
                  "grossScheduledRent": "1966.91",
                  "grossOtherIncome": "54.64",
                  "grossScheduledIncome": "2021.55",
                  "vacancyLoss": "101.08",
                  "effectiveRent": "1868.56",
                  "effectiveOtherIncome": "51.91",
                  "effectiveIncome": "1920.47",
                  "operatingExpenses": "610.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "298.97",
                  "loanBalance": "152835.11"
                },
                {
                  "date": "2029-09-01",
                  "grossScheduledRent": "1966.91",
                  "grossOtherIncome": "54.64",
                  "grossScheduledIncome": "2021.55",
                  "vacancyLoss": "101.08",
                  "effectiveRent": "1868.56",
                  "effectiveOtherIncome": "51.91",
                  "effectiveIncome": "1920.47",
                  "operatingExpenses": "610.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "298.97",
                  "loanBalance": "152651.66"
                },
                {
                  "date": "2029-10-01",
                  "grossScheduledRent": "1966.91",
                  "grossOtherIncome": "54.64",
                  "grossScheduledIncome": "2021.55",
                  "vacancyLoss": "101.08",
                  "effectiveRent": "1868.56",
                  "effectiveOtherIncome": "51.91",
                  "effectiveIncome": "1920.47",
                  "operatingExpenses": "610.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "298.97",
                  "loanBalance": "152467.21"
                },
                {
                  "date": "2029-11-01",
                  "grossScheduledRent": "1966.91",
                  "grossOtherIncome": "54.64",
                  "grossScheduledIncome": "2021.55",
                  "vacancyLoss": "101.08",
                  "effectiveRent": "1868.56",
                  "effectiveOtherIncome": "51.91",
                  "effectiveIncome": "1920.47",
                  "operatingExpenses": "610.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "298.98",
                  "loanBalance": "152281.77"
                },
                {
                  "date": "2029-12-01",
                  "grossScheduledRent": "1966.91",
                  "grossOtherIncome": "54.64",
                  "grossScheduledIncome": "2021.55",
                  "vacancyLoss": "101.08",
                  "effectiveRent": "1868.56",
                  "effectiveOtherIncome": "51.91",
                  "effectiveIncome": "1920.47",
                  "operatingExpenses": "610.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "298.97",
                  "loanBalance": "152095.32"
                },
                {
                  "date": "2030-01-01",
                  "grossScheduledRent": "2025.92",
                  "grossOtherIncome": "56.28",
                  "grossScheduledIncome": "2082.2",
                  "vacancyLoss": "104.11",
                  "effectiveRent": "1924.62",
                  "effectiveOtherIncome": "53.47",
                  "effectiveIncome": "1978.09",
                  "operatingExpenses": "622.4",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "344.38",
                  "loanBalance": "151907.86"
                },
                {
                  "date": "2030-02-01",
                  "grossScheduledRent": "2025.92",
                  "grossOtherIncome": "56.28",
                  "grossScheduledIncome": "2082.2",
                  "vacancyLoss": "104.11",
                  "effectiveRent": "1924.62",
                  "effectiveOtherIncome": "53.47",
                  "effectiveIncome": "1978.09",
                  "operatingExpenses": "622.4",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "344.39",
                  "loanBalance": "151719.39"
                },
                {
                  "date": "2030-03-01",
                  "grossScheduledRent": "2025.92",
                  "grossOtherIncome": "56.28",
                  "grossScheduledIncome": "2082.2",
                  "vacancyLoss": "104.11",
                  "effectiveRent": "1924.62",
                  "effectiveOtherIncome": "53.47",
                  "effectiveIncome": "1978.09",
                  "operatingExpenses": "622.4",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "344.38",
                  "loanBalance": "151529.89"
                },
                {
                  "date": "2030-04-01",
                  "grossScheduledRent": "2025.92",
                  "grossOtherIncome": "56.28",
                  "grossScheduledIncome": "2082.2",
                  "vacancyLoss": "104.11",
                  "effectiveRent": "1924.62",
                  "effectiveOtherIncome": "53.47",
                  "effectiveIncome": "1978.09",
                  "operatingExpenses": "622.4",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "344.38",
                  "loanBalance": "151339.37"
                },
                {
                  "date": "2030-05-01",
                  "grossScheduledRent": "2025.92",
                  "grossOtherIncome": "56.28",
                  "grossScheduledIncome": "2082.2",
                  "vacancyLoss": "104.11",
                  "effectiveRent": "1924.62",
                  "effectiveOtherIncome": "53.47",
                  "effectiveIncome": "1978.09",
                  "operatingExpenses": "622.4",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "344.39",
                  "loanBalance": "151147.82"
                },
                {
                  "date": "2030-06-01",
                  "grossScheduledRent": "2025.92",
                  "grossOtherIncome": "56.28",
                  "grossScheduledIncome": "2082.2",
                  "vacancyLoss": "104.11",
                  "effectiveRent": "1924.62",
                  "effectiveOtherIncome": "53.47",
                  "effectiveIncome": "1978.09",
                  "operatingExpenses": "622.4",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "344.38",
                  "loanBalance": "150955.23"
                },
                {
                  "date": "2030-07-01",
                  "grossScheduledRent": "2025.92",
                  "grossOtherIncome": "56.28",
                  "grossScheduledIncome": "2082.2",
                  "vacancyLoss": "104.11",
                  "effectiveRent": "1924.62",
                  "effectiveOtherIncome": "53.47",
                  "effectiveIncome": "1978.09",
                  "operatingExpenses": "622.4",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "344.39",
                  "loanBalance": "150761.6"
                },
                {
                  "date": "2030-08-01",
                  "grossScheduledRent": "2025.92",
                  "grossOtherIncome": "56.28",
                  "grossScheduledIncome": "2082.2",
                  "vacancyLoss": "104.11",
                  "effectiveRent": "1924.62",
                  "effectiveOtherIncome": "53.47",
                  "effectiveIncome": "1978.09",
                  "operatingExpenses": "622.4",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "344.38",
                  "loanBalance": "150566.92"
                },
                {
                  "date": "2030-09-01",
                  "grossScheduledRent": "2025.92",
                  "grossOtherIncome": "56.28",
                  "grossScheduledIncome": "2082.2",
                  "vacancyLoss": "104.11",
                  "effectiveRent": "1924.62",
                  "effectiveOtherIncome": "53.47",
                  "effectiveIncome": "1978.09",
                  "operatingExpenses": "622.4",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "344.38",
                  "loanBalance": "150371.18"
                },
                {
                  "date": "2030-10-01",
                  "grossScheduledRent": "2025.92",
                  "grossOtherIncome": "56.28",
                  "grossScheduledIncome": "2082.2",
                  "vacancyLoss": "104.11",
                  "effectiveRent": "1924.62",
                  "effectiveOtherIncome": "53.47",
                  "effectiveIncome": "1978.09",
                  "operatingExpenses": "622.4",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "344.38",
                  "loanBalance": "150174.38"
                },
                {
                  "date": "2030-11-01",
                  "grossScheduledRent": "2025.92",
                  "grossOtherIncome": "56.28",
                  "grossScheduledIncome": "2082.2",
                  "vacancyLoss": "104.11",
                  "effectiveRent": "1924.62",
                  "effectiveOtherIncome": "53.47",
                  "effectiveIncome": "1978.09",
                  "operatingExpenses": "622.4",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "344.39",
                  "loanBalance": "149976.52"
                },
                {
                  "date": "2030-12-01",
                  "grossScheduledRent": "2025.92",
                  "grossOtherIncome": "56.28",
                  "grossScheduledIncome": "2082.2",
                  "vacancyLoss": "104.11",
                  "effectiveRent": "1924.62",
                  "effectiveOtherIncome": "53.47",
                  "effectiveIncome": "1978.09",
                  "operatingExpenses": "622.4",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "344.38",
                  "loanBalance": "149777.58"
                }
              ],
              "ledger": [
                {
                  "date": "2026-01-01",
                  "category": "initial-equity",
                  "description": "Initial down payment",
                  "amount": "-40000",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "closing-cost",
                  "description": "Acquisition closing costs",
                  "amount": "-4000",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "renovation",
                  "description": "Initial renovation costs",
                  "amount": "-5000",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "47.5",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-575",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "47.5",
                  "source": "user"
                },
                {
                  "date": "2026-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-575",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "47.5",
                  "source": "user"
                },
                {
                  "date": "2026-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-575",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "47.5",
                  "source": "user"
                },
                {
                  "date": "2026-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-575",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "47.5",
                  "source": "user"
                },
                {
                  "date": "2026-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-575",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "47.5",
                  "source": "user"
                },
                {
                  "date": "2026-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-575",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "47.5",
                  "source": "user"
                },
                {
                  "date": "2026-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-575",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "47.5",
                  "source": "user"
                },
                {
                  "date": "2026-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-575",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "47.5",
                  "source": "user"
                },
                {
                  "date": "2026-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-575",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "47.5",
                  "source": "user"
                },
                {
                  "date": "2026-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-575",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "47.5",
                  "source": "user"
                },
                {
                  "date": "2026-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-575",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "47.5",
                  "source": "user"
                },
                {
                  "date": "2026-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-575",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-01-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1761.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-01-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "48.93",
                  "source": "user"
                },
                {
                  "date": "2027-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-586.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-01-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-01-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-02-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1761.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-02-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "48.93",
                  "source": "user"
                },
                {
                  "date": "2027-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-586.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-02-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-02-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-03-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1761.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-03-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "48.93",
                  "source": "user"
                },
                {
                  "date": "2027-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-586.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-03-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-03-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-04-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1761.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-04-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "48.93",
                  "source": "user"
                },
                {
                  "date": "2027-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-586.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-04-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-04-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-05-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1761.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-05-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "48.93",
                  "source": "user"
                },
                {
                  "date": "2027-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-586.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-05-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-05-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-06-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1761.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-06-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "48.93",
                  "source": "user"
                },
                {
                  "date": "2027-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-586.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-06-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-06-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-07-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1761.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-07-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "48.93",
                  "source": "user"
                },
                {
                  "date": "2027-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-586.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-07-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-07-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-08-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1761.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-08-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "48.93",
                  "source": "user"
                },
                {
                  "date": "2027-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-586.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-08-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-08-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-09-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1761.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-09-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "48.93",
                  "source": "user"
                },
                {
                  "date": "2027-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-586.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-09-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-09-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-10-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1761.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-10-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "48.93",
                  "source": "user"
                },
                {
                  "date": "2027-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-586.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-10-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-10-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-11-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1761.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-11-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "48.93",
                  "source": "user"
                },
                {
                  "date": "2027-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-586.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-11-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-11-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-12-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1761.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-12-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "48.93",
                  "source": "user"
                },
                {
                  "date": "2027-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-586.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-12-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-12-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-01-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1814.14",
                  "source": "calculated"
                },
                {
                  "date": "2028-01-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "50.4",
                  "source": "user"
                },
                {
                  "date": "2028-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-598.23",
                  "source": "calculated"
                },
                {
                  "date": "2028-01-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-01-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2028-02-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1814.14",
                  "source": "calculated"
                },
                {
                  "date": "2028-02-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "50.4",
                  "source": "user"
                },
                {
                  "date": "2028-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-598.23",
                  "source": "calculated"
                },
                {
                  "date": "2028-02-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-02-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-03-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1814.14",
                  "source": "calculated"
                },
                {
                  "date": "2028-03-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "50.4",
                  "source": "user"
                },
                {
                  "date": "2028-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-598.23",
                  "source": "calculated"
                },
                {
                  "date": "2028-03-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-03-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-04-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1814.14",
                  "source": "calculated"
                },
                {
                  "date": "2028-04-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "50.4",
                  "source": "user"
                },
                {
                  "date": "2028-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-598.23",
                  "source": "calculated"
                },
                {
                  "date": "2028-04-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-04-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-05-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1814.14",
                  "source": "calculated"
                },
                {
                  "date": "2028-05-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "50.4",
                  "source": "user"
                },
                {
                  "date": "2028-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-598.23",
                  "source": "calculated"
                },
                {
                  "date": "2028-05-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-05-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-06-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1814.14",
                  "source": "calculated"
                },
                {
                  "date": "2028-06-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "50.4",
                  "source": "user"
                },
                {
                  "date": "2028-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-598.23",
                  "source": "calculated"
                },
                {
                  "date": "2028-06-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-06-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-07-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1814.14",
                  "source": "calculated"
                },
                {
                  "date": "2028-07-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "50.4",
                  "source": "user"
                },
                {
                  "date": "2028-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-598.23",
                  "source": "calculated"
                },
                {
                  "date": "2028-07-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-07-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-08-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1814.14",
                  "source": "calculated"
                },
                {
                  "date": "2028-08-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "50.4",
                  "source": "user"
                },
                {
                  "date": "2028-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-598.23",
                  "source": "calculated"
                },
                {
                  "date": "2028-08-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-08-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-09-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1814.14",
                  "source": "calculated"
                },
                {
                  "date": "2028-09-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "50.4",
                  "source": "user"
                },
                {
                  "date": "2028-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-598.23",
                  "source": "calculated"
                },
                {
                  "date": "2028-09-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-09-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-10-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1814.14",
                  "source": "calculated"
                },
                {
                  "date": "2028-10-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "50.4",
                  "source": "user"
                },
                {
                  "date": "2028-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-598.23",
                  "source": "calculated"
                },
                {
                  "date": "2028-10-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-10-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-11-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1814.14",
                  "source": "calculated"
                },
                {
                  "date": "2028-11-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "50.4",
                  "source": "user"
                },
                {
                  "date": "2028-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-598.23",
                  "source": "calculated"
                },
                {
                  "date": "2028-11-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-11-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2028-12-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1814.14",
                  "source": "calculated"
                },
                {
                  "date": "2028-12-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "50.4",
                  "source": "user"
                },
                {
                  "date": "2028-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-598.23",
                  "source": "calculated"
                },
                {
                  "date": "2028-12-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-12-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-01-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1868.56",
                  "source": "calculated"
                },
                {
                  "date": "2029-01-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "51.91",
                  "source": "user"
                },
                {
                  "date": "2029-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-610.19",
                  "source": "calculated"
                },
                {
                  "date": "2029-01-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-01-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-02-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1868.56",
                  "source": "calculated"
                },
                {
                  "date": "2029-02-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "51.91",
                  "source": "user"
                },
                {
                  "date": "2029-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-610.19",
                  "source": "calculated"
                },
                {
                  "date": "2029-02-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-02-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2029-03-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1868.56",
                  "source": "calculated"
                },
                {
                  "date": "2029-03-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "51.91",
                  "source": "user"
                },
                {
                  "date": "2029-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-610.19",
                  "source": "calculated"
                },
                {
                  "date": "2029-03-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-03-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-04-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1868.56",
                  "source": "calculated"
                },
                {
                  "date": "2029-04-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "51.91",
                  "source": "user"
                },
                {
                  "date": "2029-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-610.19",
                  "source": "calculated"
                },
                {
                  "date": "2029-04-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-04-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-05-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1868.56",
                  "source": "calculated"
                },
                {
                  "date": "2029-05-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "51.91",
                  "source": "user"
                },
                {
                  "date": "2029-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-610.19",
                  "source": "calculated"
                },
                {
                  "date": "2029-05-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-05-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-06-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1868.56",
                  "source": "calculated"
                },
                {
                  "date": "2029-06-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "51.91",
                  "source": "user"
                },
                {
                  "date": "2029-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-610.19",
                  "source": "calculated"
                },
                {
                  "date": "2029-06-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-06-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-07-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1868.56",
                  "source": "calculated"
                },
                {
                  "date": "2029-07-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "51.91",
                  "source": "user"
                },
                {
                  "date": "2029-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-610.19",
                  "source": "calculated"
                },
                {
                  "date": "2029-07-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-07-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-08-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1868.56",
                  "source": "calculated"
                },
                {
                  "date": "2029-08-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "51.91",
                  "source": "user"
                },
                {
                  "date": "2029-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-610.19",
                  "source": "calculated"
                },
                {
                  "date": "2029-08-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-08-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-09-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1868.56",
                  "source": "calculated"
                },
                {
                  "date": "2029-09-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "51.91",
                  "source": "user"
                },
                {
                  "date": "2029-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-610.19",
                  "source": "calculated"
                },
                {
                  "date": "2029-09-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-09-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-10-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1868.56",
                  "source": "calculated"
                },
                {
                  "date": "2029-10-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "51.91",
                  "source": "user"
                },
                {
                  "date": "2029-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-610.19",
                  "source": "calculated"
                },
                {
                  "date": "2029-10-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-10-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-11-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1868.56",
                  "source": "calculated"
                },
                {
                  "date": "2029-11-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "51.91",
                  "source": "user"
                },
                {
                  "date": "2029-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-610.19",
                  "source": "calculated"
                },
                {
                  "date": "2029-11-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-11-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2029-12-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1868.56",
                  "source": "calculated"
                },
                {
                  "date": "2029-12-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "51.91",
                  "source": "user"
                },
                {
                  "date": "2029-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-610.19",
                  "source": "calculated"
                },
                {
                  "date": "2029-12-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-12-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-01-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1924.62",
                  "source": "calculated"
                },
                {
                  "date": "2030-01-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "53.47",
                  "source": "user"
                },
                {
                  "date": "2030-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-622.4",
                  "source": "calculated"
                },
                {
                  "date": "2030-01-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-01-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-02-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1924.62",
                  "source": "calculated"
                },
                {
                  "date": "2030-02-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "53.47",
                  "source": "user"
                },
                {
                  "date": "2030-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-622.4",
                  "source": "calculated"
                },
                {
                  "date": "2030-02-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-02-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2030-03-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1924.62",
                  "source": "calculated"
                },
                {
                  "date": "2030-03-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "53.47",
                  "source": "user"
                },
                {
                  "date": "2030-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-622.4",
                  "source": "calculated"
                },
                {
                  "date": "2030-03-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-03-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-04-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1924.62",
                  "source": "calculated"
                },
                {
                  "date": "2030-04-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "53.47",
                  "source": "user"
                },
                {
                  "date": "2030-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-622.4",
                  "source": "calculated"
                },
                {
                  "date": "2030-04-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-04-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-05-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1924.62",
                  "source": "calculated"
                },
                {
                  "date": "2030-05-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "53.47",
                  "source": "user"
                },
                {
                  "date": "2030-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-622.4",
                  "source": "calculated"
                },
                {
                  "date": "2030-05-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-05-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2030-06-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1924.62",
                  "source": "calculated"
                },
                {
                  "date": "2030-06-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "53.47",
                  "source": "user"
                },
                {
                  "date": "2030-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-622.4",
                  "source": "calculated"
                },
                {
                  "date": "2030-06-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-06-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-07-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1924.62",
                  "source": "calculated"
                },
                {
                  "date": "2030-07-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "53.47",
                  "source": "user"
                },
                {
                  "date": "2030-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-622.4",
                  "source": "calculated"
                },
                {
                  "date": "2030-07-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-07-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2030-08-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1924.62",
                  "source": "calculated"
                },
                {
                  "date": "2030-08-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "53.47",
                  "source": "user"
                },
                {
                  "date": "2030-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-622.4",
                  "source": "calculated"
                },
                {
                  "date": "2030-08-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-08-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-09-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1924.62",
                  "source": "calculated"
                },
                {
                  "date": "2030-09-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "53.47",
                  "source": "user"
                },
                {
                  "date": "2030-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-622.4",
                  "source": "calculated"
                },
                {
                  "date": "2030-09-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-09-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-10-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1924.62",
                  "source": "calculated"
                },
                {
                  "date": "2030-10-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "53.47",
                  "source": "user"
                },
                {
                  "date": "2030-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-622.4",
                  "source": "calculated"
                },
                {
                  "date": "2030-10-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-10-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-11-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1924.62",
                  "source": "calculated"
                },
                {
                  "date": "2030-11-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "53.47",
                  "source": "user"
                },
                {
                  "date": "2030-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-622.4",
                  "source": "calculated"
                },
                {
                  "date": "2030-11-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-11-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2030-12-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1924.62",
                  "source": "calculated"
                },
                {
                  "date": "2030-12-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "53.47",
                  "source": "user"
                },
                {
                  "date": "2030-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-622.4",
                  "source": "calculated"
                },
                {
                  "date": "2030-12-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-12-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                }
              ],
              "annual": [
                {
                  "year": 2026,
                  "revenue": "21090",
                  "noi": "14190",
                  "debtService": "12135.72",
                  "netCashFlow": "2054.28"
                },
                {
                  "year": 2027,
                  "revenue": "21722.76",
                  "noi": "14684.76",
                  "debtService": "12135.7",
                  "netCashFlow": "2549.06"
                },
                {
                  "year": 2028,
                  "revenue": "22374.48",
                  "noi": "15195.72",
                  "debtService": "12135.7",
                  "netCashFlow": "3060.02"
                },
                {
                  "year": 2029,
                  "revenue": "23045.64",
                  "noi": "15723.36",
                  "debtService": "12135.7",
                  "netCashFlow": "3587.66"
                },
                {
                  "year": 2030,
                  "revenue": "23737.08",
                  "noi": "16268.28",
                  "debtService": "12135.68",
                  "netCashFlow": "4132.6"
                }
              ],
              "totalNoi": "76062.12",
              "totalCashFlow": "-33616.38",
              "initialCashInvestment": "49000",
              "firstYearCashFlow": "2054.28",
              "cashOnCashReturnPct": "4.192408163265306122448979591836734693878",
              "endingLoanBalance": "149777.58",
              "endingEquity": "82077.23",
              "actualVsPlan": [],
              "reconciliationDifference": "0"
            }
          }
        },
        "formulaVersion": "investor-rental-analysis-1.0.0",
        "units": {
          "monetaryAmounts": "USD",
          "calendarDates": "YYYY-MM-DD",
          "propertyTax": "USD/year",
          "insurance": "USD/year",
          "maintenance": "USD/year",
          "propertyManagement": "USD/year",
          "hoaFees": "USD/month",
          "utilities": "USD/month",
          "otherExpenses": "USD/month",
          "otherIncome": "USD/month",
          "pmi": "USD/month",
          "monthlyRentPerUnit": "USD/month/unit",
          "totalRent": "USD/month",
          "lenderDscr": "ratio",
          "interestRate": "annual percent",
          "loanTerm": "years",
          "appreciation": "annual percent",
          "rentGrowth": "annual percent",
          "expenseGrowth": "annual percent"
        },
        "assumptions": [
          "Cash flow, returns, coverage against a supplied threshold, sensitivity, long-term projections and a dated lease, debt and capital ledger. Tax, insurance, maintenance and management inputs are annual dollars. HOA, utilities and other expenses are monthly."
        ],
        "warnings": [
          "No actual transactions were supplied; this is a plan-only pro forma."
        ],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/rental"
    },
    {
      "slug": "investor-house-hacking",
      "name": "House hacking",
      "category": "Investment",
      "description": "Owner-occupied living cost, rent coverage, cash flow after moving out and a dated ledger of rented units. The unit count includes the owner unit. The screen estimates PMI when entered as zero above 80% loan-to-value.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "purchasePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Acquisition price, USD."
          },
          "downPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Cash down payment, USD."
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual nominal loan rate, in percentage points (6.5 = 6.5%)."
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Loan term, whole years."
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Upfront closing costs, USD."
          },
          "renovationCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Initial repairs paid in cash, USD."
          },
          "totalRent": {
            "const": 0,
            "description": "USD/month; omit or enter zero. Rent comes from monthlyRentPerUnit and the number of rented units."
          },
          "otherIncome": {
            "const": 0,
            "description": "USD/month; omit or enter zero for the owner-occupied model."
          },
          "vacancyRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Vacancy as a percent of scheduled income."
          },
          "propertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Property taxes, USD/year."
          },
          "insurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Property insurance, USD/year."
          },
          "maintenance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Maintenance budget, USD/year."
          },
          "propertyManagement": {
            "const": 0,
            "description": "USD/year; omit or enter zero for the owner-occupied model."
          },
          "hoaFees": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Association dues, USD/month."
          },
          "utilities": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Utilities, USD/month."
          },
          "otherExpenses": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Other operating expenses, USD/month."
          },
          "lenderDscr": {
            "type": "number",
            "minimum": 0,
            "maximum": 20,
            "description": "Optional ratio; the owner-occupied screen does not use this threshold."
          },
          "pmi": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Mortgage insurance, USD/month."
          },
          "monthlyRentPerUnit": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Scheduled rent per rented unit, USD/month."
          },
          "startDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "projectionYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30,
            "description": "Whole years from startDate."
          },
          "appreciation": {
            "type": "number",
            "minimum": -100,
            "maximum": 100,
            "description": "Property-value change, percent per year."
          },
          "rentGrowth": {
            "type": "number",
            "minimum": -100,
            "maximum": 100,
            "description": "Income growth, percent per year."
          },
          "expenseGrowth": {
            "type": "number",
            "minimum": -100,
            "maximum": 100,
            "description": "Operating expense growth, percent per year."
          },
          "units": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "monthlyRent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Scheduled rent for this lease, USD/month."
                },
                "leaseStart": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "leaseEnd": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                }
              },
              "required": [
                "monthlyRent",
                "leaseStart"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 100
          },
          "capexEvents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Capital expenditure paid on the event date, positive USD."
                }
              },
              "required": [
                "date",
                "amount"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 100
          },
          "turnoverEvents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Turnover cost paid on the event date, positive USD."
                }
              },
              "required": [
                "date",
                "amount"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 100
          },
          "taxEvents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Tax cost paid on the event date, positive USD."
                }
              },
              "required": [
                "date",
                "amount"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 100
          },
          "refinanceEvents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Refinance proceeds received on the event date, positive USD."
                }
              },
              "required": [
                "date",
                "amount"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 100
          },
          "sale": {
            "type": "object",
            "properties": {
              "date": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "grossProceeds": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Gross sale consideration on the dated sale, USD."
              },
              "sellingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Sale expenses on the dated sale, USD."
              }
            },
            "required": [
              "date",
              "grossProceeds",
              "sellingCosts"
            ],
            "additionalProperties": false
          },
          "actuals": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "rentCollected": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Rent received for this observation, USD."
                },
                "operatingExpensesPaid": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Operating costs paid for this observation, USD."
                },
                "capitalPaid": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Capital costs paid for this observation, USD."
                }
              },
              "required": [
                "date",
                "rentCollected",
                "operatingExpensesPaid"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 360
          },
          "numberOfUnits": {
            "type": "integer",
            "minimum": 2,
            "maximum": 100,
            "description": "Whole property unit count including the owner-occupied unit."
          }
        },
        "required": [
          "purchasePrice",
          "downPayment",
          "interestRate",
          "loanTerm",
          "closingCosts",
          "renovationCosts",
          "vacancyRate",
          "propertyTax",
          "insurance",
          "maintenance",
          "hoaFees",
          "utilities",
          "otherExpenses",
          "pmi",
          "monthlyRentPerUnit",
          "startDate",
          "projectionYears",
          "appreciation",
          "rentGrowth",
          "expenseGrowth",
          "numberOfUnits"
        ],
        "additionalProperties": false,
        "description": "Owner-occupied living cost, rent coverage, cash flow after moving out and a dated ledger of rented units. The unit count includes the owner unit. The screen estimates PMI when entered as zero above 80% loan-to-value."
      },
      "input": {
        "purchasePrice": 200000,
        "downPayment": 40000,
        "interestRate": 6.5,
        "loanTerm": 30,
        "closingCosts": 4000,
        "renovationCosts": 5000,
        "totalRent": 0,
        "monthlyRentPerUnit": 800,
        "numberOfUnits": 3,
        "otherIncome": 0,
        "vacancyRate": 5,
        "propertyTax": 2400,
        "insurance": 1200,
        "maintenance": 1200,
        "propertyManagement": 0,
        "hoaFees": 0,
        "utilities": 50,
        "otherExpenses": 25,
        "lenderDscr": 1.25,
        "pmi": 0,
        "startDate": "2026-01-01",
        "projectionYears": 5,
        "appreciation": 3,
        "rentGrowth": 3,
        "expenseGrowth": 2
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "warnings": [
            {
              "code": "no-actuals",
              "severity": "info",
              "message": "No actual transactions were supplied; this is a plan-only pro forma."
            }
          ],
          "houseHack": {
            "loanAmount": 160000,
            "totalInitialInvestment": 49000,
            "monthlyPI": 1011.3088375887,
            "monthlyPMI": 0,
            "totalMonthlyMortgage": 1311.3088375887,
            "grossMonthlyRentalIncome": 1600,
            "effectiveRentalIncome": 1520,
            "totalMonthlyOperatingExpenses": 175,
            "totalMonthlyOutflow": 1486.3088375887,
            "netLivingCost": -33.691162411299956,
            "totalMonthlyCashFlowIfFullyRented": 793.6911624113
          },
          "shown": {
            "loanPayment": 1011.31,
            "pmi": 0,
            "tax": 200,
            "insurance": 100,
            "housingPayment": 1311.31,
            "maintenance": 100,
            "utilities": 50,
            "otherAndHoa": 25,
            "otherCosts": 175,
            "rentIncome": 1520,
            "totalCost": 1486.31,
            "netLivingCost": -33.69,
            "whole": {
              "totalCost": 1486,
              "rentIncome": 1520,
              "netLivingCost": -34
            }
          },
          "ledger": {
            "state": "available",
            "fieldErrors": {},
            "warnings": [
              {
                "code": "no-actuals",
                "severity": "info",
                "message": "No actual transactions were supplied; this is a plan-only pro forma."
              }
            ],
            "assumptions": [
              {
                "key": "annualRentGrowthPct",
                "value": "3",
                "source": "user"
              },
              {
                "key": "annualExpenseGrowthPct",
                "value": "2",
                "source": "user"
              },
              {
                "key": "monthlyPmi",
                "value": "0",
                "source": "user"
              },
              {
                "key": "initialDownPayment",
                "value": "40000",
                "source": "user"
              },
              {
                "key": "initialClosingCosts",
                "value": "4000",
                "source": "user"
              },
              {
                "key": "initialRenovationCosts",
                "value": "5000",
                "source": "user"
              },
              {
                "key": "leaseStart",
                "value": "2026-01-01",
                "source": "default"
              },
              {
                "key": "leaseEnd",
                "value": "open through analysis horizon",
                "source": "default"
              },
              {
                "key": "otherMonthlyIncome",
                "value": "0.00",
                "unit": "USD/month",
                "source": "default"
              },
              {
                "key": "endingPropertyValue",
                "value": "231854.81",
                "unit": "USD",
                "source": "default"
              },
              {
                "key": "monthlyPmi",
                "value": "0.00",
                "unit": "USD/month",
                "source": "default"
              },
              {
                "key": "annualExpenseGrowthPct",
                "value": "2.0000",
                "unit": "%",
                "source": "default"
              },
              {
                "key": "calculationTimeZone",
                "value": "UTC",
                "source": "default"
              }
            ],
            "provenance": [],
            "formulaVersion": "rental-monthly-ledger-1.2.0",
            "ruleVersions": [],
            "auditTrail": [
              "60 monthly periods generated from 2026-01-01.",
              "Recurring other income starts at 0.00 per month and follows the entered rent-growth and vacancy assumptions.",
              "Operating expenses grow 2.0000% annually; monthly PMI is 0.00.",
              "Initial invested cash reconciles down payment, closing costs, and renovation costs to 49000.00.",
              "Monthly operating rows reconcile to the dated ledger within 0.00.",
              "Compatibility adapter: legacy unit rent, recurring other income, PMI, acquisition cash, and independently growing annual expense inputs are expanded into a dated monthly ledger."
            ],
            "value": {
              "months": [
                {
                  "date": "2026-01-01",
                  "grossScheduledRent": "1600",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1600",
                  "vacancyLoss": "80",
                  "effectiveRent": "1520",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1520",
                  "operatingExpenses": "475",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "33.69",
                  "loanBalance": "159855.36"
                },
                {
                  "date": "2026-02-01",
                  "grossScheduledRent": "1600",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1600",
                  "vacancyLoss": "80",
                  "effectiveRent": "1520",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1520",
                  "operatingExpenses": "475",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "33.69",
                  "loanBalance": "159709.93"
                },
                {
                  "date": "2026-03-01",
                  "grossScheduledRent": "1600",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1600",
                  "vacancyLoss": "80",
                  "effectiveRent": "1520",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1520",
                  "operatingExpenses": "475",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "33.69",
                  "loanBalance": "159563.72"
                },
                {
                  "date": "2026-04-01",
                  "grossScheduledRent": "1600",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1600",
                  "vacancyLoss": "80",
                  "effectiveRent": "1520",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1520",
                  "operatingExpenses": "475",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "33.69",
                  "loanBalance": "159416.71"
                },
                {
                  "date": "2026-05-01",
                  "grossScheduledRent": "1600",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1600",
                  "vacancyLoss": "80",
                  "effectiveRent": "1520",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1520",
                  "operatingExpenses": "475",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "33.69",
                  "loanBalance": "159268.91"
                },
                {
                  "date": "2026-06-01",
                  "grossScheduledRent": "1600",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1600",
                  "vacancyLoss": "80",
                  "effectiveRent": "1520",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1520",
                  "operatingExpenses": "475",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "33.69",
                  "loanBalance": "159120.31"
                },
                {
                  "date": "2026-07-01",
                  "grossScheduledRent": "1600",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1600",
                  "vacancyLoss": "80",
                  "effectiveRent": "1520",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1520",
                  "operatingExpenses": "475",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "33.69",
                  "loanBalance": "158970.9"
                },
                {
                  "date": "2026-08-01",
                  "grossScheduledRent": "1600",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1600",
                  "vacancyLoss": "80",
                  "effectiveRent": "1520",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1520",
                  "operatingExpenses": "475",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "33.69",
                  "loanBalance": "158820.68"
                },
                {
                  "date": "2026-09-01",
                  "grossScheduledRent": "1600",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1600",
                  "vacancyLoss": "80",
                  "effectiveRent": "1520",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1520",
                  "operatingExpenses": "475",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "33.69",
                  "loanBalance": "158669.65"
                },
                {
                  "date": "2026-10-01",
                  "grossScheduledRent": "1600",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1600",
                  "vacancyLoss": "80",
                  "effectiveRent": "1520",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1520",
                  "operatingExpenses": "475",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "33.69",
                  "loanBalance": "158517.8"
                },
                {
                  "date": "2026-11-01",
                  "grossScheduledRent": "1600",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1600",
                  "vacancyLoss": "80",
                  "effectiveRent": "1520",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1520",
                  "operatingExpenses": "475",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "33.69",
                  "loanBalance": "158365.13"
                },
                {
                  "date": "2026-12-01",
                  "grossScheduledRent": "1600",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1600",
                  "vacancyLoss": "80",
                  "effectiveRent": "1520",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1520",
                  "operatingExpenses": "475",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "33.69",
                  "loanBalance": "158211.63"
                },
                {
                  "date": "2027-01-01",
                  "grossScheduledRent": "1648",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1648",
                  "vacancyLoss": "82.4",
                  "effectiveRent": "1565.6",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1565.6",
                  "operatingExpenses": "484.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "69.79",
                  "loanBalance": "158057.3"
                },
                {
                  "date": "2027-02-01",
                  "grossScheduledRent": "1648",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1648",
                  "vacancyLoss": "82.4",
                  "effectiveRent": "1565.6",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1565.6",
                  "operatingExpenses": "484.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "69.79",
                  "loanBalance": "157902.13"
                },
                {
                  "date": "2027-03-01",
                  "grossScheduledRent": "1648",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1648",
                  "vacancyLoss": "82.4",
                  "effectiveRent": "1565.6",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1565.6",
                  "operatingExpenses": "484.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "69.79",
                  "loanBalance": "157746.12"
                },
                {
                  "date": "2027-04-01",
                  "grossScheduledRent": "1648",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1648",
                  "vacancyLoss": "82.4",
                  "effectiveRent": "1565.6",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1565.6",
                  "operatingExpenses": "484.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "69.79",
                  "loanBalance": "157589.27"
                },
                {
                  "date": "2027-05-01",
                  "grossScheduledRent": "1648",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1648",
                  "vacancyLoss": "82.4",
                  "effectiveRent": "1565.6",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1565.6",
                  "operatingExpenses": "484.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "69.79",
                  "loanBalance": "157431.57"
                },
                {
                  "date": "2027-06-01",
                  "grossScheduledRent": "1648",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1648",
                  "vacancyLoss": "82.4",
                  "effectiveRent": "1565.6",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1565.6",
                  "operatingExpenses": "484.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "69.8",
                  "loanBalance": "157273.02"
                },
                {
                  "date": "2027-07-01",
                  "grossScheduledRent": "1648",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1648",
                  "vacancyLoss": "82.4",
                  "effectiveRent": "1565.6",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1565.6",
                  "operatingExpenses": "484.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "69.79",
                  "loanBalance": "157113.61"
                },
                {
                  "date": "2027-08-01",
                  "grossScheduledRent": "1648",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1648",
                  "vacancyLoss": "82.4",
                  "effectiveRent": "1565.6",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1565.6",
                  "operatingExpenses": "484.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "69.79",
                  "loanBalance": "156953.33"
                },
                {
                  "date": "2027-09-01",
                  "grossScheduledRent": "1648",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1648",
                  "vacancyLoss": "82.4",
                  "effectiveRent": "1565.6",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1565.6",
                  "operatingExpenses": "484.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "69.8",
                  "loanBalance": "156792.19"
                },
                {
                  "date": "2027-10-01",
                  "grossScheduledRent": "1648",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1648",
                  "vacancyLoss": "82.4",
                  "effectiveRent": "1565.6",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1565.6",
                  "operatingExpenses": "484.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "69.79",
                  "loanBalance": "156630.17"
                },
                {
                  "date": "2027-11-01",
                  "grossScheduledRent": "1648",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1648",
                  "vacancyLoss": "82.4",
                  "effectiveRent": "1565.6",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1565.6",
                  "operatingExpenses": "484.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "69.79",
                  "loanBalance": "156467.27"
                },
                {
                  "date": "2027-12-01",
                  "grossScheduledRent": "1648",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1648",
                  "vacancyLoss": "82.4",
                  "effectiveRent": "1565.6",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1565.6",
                  "operatingExpenses": "484.5",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "69.79",
                  "loanBalance": "156303.49"
                },
                {
                  "date": "2028-01-01",
                  "grossScheduledRent": "1697.44",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1697.44",
                  "vacancyLoss": "84.87",
                  "effectiveRent": "1612.57",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1612.57",
                  "operatingExpenses": "494.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "107.08",
                  "loanBalance": "156138.83"
                },
                {
                  "date": "2028-02-01",
                  "grossScheduledRent": "1697.44",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1697.44",
                  "vacancyLoss": "84.87",
                  "effectiveRent": "1612.57",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1612.57",
                  "operatingExpenses": "494.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "107.07",
                  "loanBalance": "155973.27"
                },
                {
                  "date": "2028-03-01",
                  "grossScheduledRent": "1697.44",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1697.44",
                  "vacancyLoss": "84.87",
                  "effectiveRent": "1612.57",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1612.57",
                  "operatingExpenses": "494.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "107.07",
                  "loanBalance": "155806.82"
                },
                {
                  "date": "2028-04-01",
                  "grossScheduledRent": "1697.44",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1697.44",
                  "vacancyLoss": "84.87",
                  "effectiveRent": "1612.57",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1612.57",
                  "operatingExpenses": "494.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "107.07",
                  "loanBalance": "155639.46"
                },
                {
                  "date": "2028-05-01",
                  "grossScheduledRent": "1697.44",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1697.44",
                  "vacancyLoss": "84.87",
                  "effectiveRent": "1612.57",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1612.57",
                  "operatingExpenses": "494.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "107.07",
                  "loanBalance": "155471.2"
                },
                {
                  "date": "2028-06-01",
                  "grossScheduledRent": "1697.44",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1697.44",
                  "vacancyLoss": "84.87",
                  "effectiveRent": "1612.57",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1612.57",
                  "operatingExpenses": "494.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "107.07",
                  "loanBalance": "155302.03"
                },
                {
                  "date": "2028-07-01",
                  "grossScheduledRent": "1697.44",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1697.44",
                  "vacancyLoss": "84.87",
                  "effectiveRent": "1612.57",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1612.57",
                  "operatingExpenses": "494.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "107.07",
                  "loanBalance": "155131.94"
                },
                {
                  "date": "2028-08-01",
                  "grossScheduledRent": "1697.44",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1697.44",
                  "vacancyLoss": "84.87",
                  "effectiveRent": "1612.57",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1612.57",
                  "operatingExpenses": "494.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "107.07",
                  "loanBalance": "154960.93"
                },
                {
                  "date": "2028-09-01",
                  "grossScheduledRent": "1697.44",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1697.44",
                  "vacancyLoss": "84.87",
                  "effectiveRent": "1612.57",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1612.57",
                  "operatingExpenses": "494.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "107.07",
                  "loanBalance": "154788.99"
                },
                {
                  "date": "2028-10-01",
                  "grossScheduledRent": "1697.44",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1697.44",
                  "vacancyLoss": "84.87",
                  "effectiveRent": "1612.57",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1612.57",
                  "operatingExpenses": "494.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "107.07",
                  "loanBalance": "154616.12"
                },
                {
                  "date": "2028-11-01",
                  "grossScheduledRent": "1697.44",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1697.44",
                  "vacancyLoss": "84.87",
                  "effectiveRent": "1612.57",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1612.57",
                  "operatingExpenses": "494.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "107.08",
                  "loanBalance": "154442.32"
                },
                {
                  "date": "2028-12-01",
                  "grossScheduledRent": "1697.44",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1697.44",
                  "vacancyLoss": "84.87",
                  "effectiveRent": "1612.57",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1612.57",
                  "operatingExpenses": "494.19",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "107.07",
                  "loanBalance": "154267.57"
                },
                {
                  "date": "2029-01-01",
                  "grossScheduledRent": "1748.36",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1748.36",
                  "vacancyLoss": "87.42",
                  "effectiveRent": "1660.94",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1660.94",
                  "operatingExpenses": "504.07",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "145.56",
                  "loanBalance": "154091.88"
                },
                {
                  "date": "2029-02-01",
                  "grossScheduledRent": "1748.36",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1748.36",
                  "vacancyLoss": "87.42",
                  "effectiveRent": "1660.94",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1660.94",
                  "operatingExpenses": "504.07",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "145.57",
                  "loanBalance": "153915.24"
                },
                {
                  "date": "2029-03-01",
                  "grossScheduledRent": "1748.36",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1748.36",
                  "vacancyLoss": "87.42",
                  "effectiveRent": "1660.94",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1660.94",
                  "operatingExpenses": "504.07",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "145.56",
                  "loanBalance": "153737.64"
                },
                {
                  "date": "2029-04-01",
                  "grossScheduledRent": "1748.36",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1748.36",
                  "vacancyLoss": "87.42",
                  "effectiveRent": "1660.94",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1660.94",
                  "operatingExpenses": "504.07",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "145.56",
                  "loanBalance": "153559.08"
                },
                {
                  "date": "2029-05-01",
                  "grossScheduledRent": "1748.36",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1748.36",
                  "vacancyLoss": "87.42",
                  "effectiveRent": "1660.94",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1660.94",
                  "operatingExpenses": "504.07",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "145.56",
                  "loanBalance": "153379.55"
                },
                {
                  "date": "2029-06-01",
                  "grossScheduledRent": "1748.36",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1748.36",
                  "vacancyLoss": "87.42",
                  "effectiveRent": "1660.94",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1660.94",
                  "operatingExpenses": "504.07",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "145.56",
                  "loanBalance": "153199.05"
                },
                {
                  "date": "2029-07-01",
                  "grossScheduledRent": "1748.36",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1748.36",
                  "vacancyLoss": "87.42",
                  "effectiveRent": "1660.94",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1660.94",
                  "operatingExpenses": "504.07",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "145.56",
                  "loanBalance": "153017.57"
                },
                {
                  "date": "2029-08-01",
                  "grossScheduledRent": "1748.36",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1748.36",
                  "vacancyLoss": "87.42",
                  "effectiveRent": "1660.94",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1660.94",
                  "operatingExpenses": "504.07",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "145.56",
                  "loanBalance": "152835.11"
                },
                {
                  "date": "2029-09-01",
                  "grossScheduledRent": "1748.36",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1748.36",
                  "vacancyLoss": "87.42",
                  "effectiveRent": "1660.94",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1660.94",
                  "operatingExpenses": "504.07",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "145.56",
                  "loanBalance": "152651.66"
                },
                {
                  "date": "2029-10-01",
                  "grossScheduledRent": "1748.36",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1748.36",
                  "vacancyLoss": "87.42",
                  "effectiveRent": "1660.94",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1660.94",
                  "operatingExpenses": "504.07",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "145.56",
                  "loanBalance": "152467.21"
                },
                {
                  "date": "2029-11-01",
                  "grossScheduledRent": "1748.36",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1748.36",
                  "vacancyLoss": "87.42",
                  "effectiveRent": "1660.94",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1660.94",
                  "operatingExpenses": "504.07",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "145.57",
                  "loanBalance": "152281.77"
                },
                {
                  "date": "2029-12-01",
                  "grossScheduledRent": "1748.36",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1748.36",
                  "vacancyLoss": "87.42",
                  "effectiveRent": "1660.94",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1660.94",
                  "operatingExpenses": "504.07",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "145.56",
                  "loanBalance": "152095.32"
                },
                {
                  "date": "2030-01-01",
                  "grossScheduledRent": "1800.81",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1800.81",
                  "vacancyLoss": "90.04",
                  "effectiveRent": "1710.77",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1710.77",
                  "operatingExpenses": "514.16",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "185.3",
                  "loanBalance": "151907.86"
                },
                {
                  "date": "2030-02-01",
                  "grossScheduledRent": "1800.81",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1800.81",
                  "vacancyLoss": "90.04",
                  "effectiveRent": "1710.77",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1710.77",
                  "operatingExpenses": "514.16",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "185.31",
                  "loanBalance": "151719.39"
                },
                {
                  "date": "2030-03-01",
                  "grossScheduledRent": "1800.81",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1800.81",
                  "vacancyLoss": "90.04",
                  "effectiveRent": "1710.77",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1710.77",
                  "operatingExpenses": "514.16",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "185.3",
                  "loanBalance": "151529.89"
                },
                {
                  "date": "2030-04-01",
                  "grossScheduledRent": "1800.81",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1800.81",
                  "vacancyLoss": "90.04",
                  "effectiveRent": "1710.77",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1710.77",
                  "operatingExpenses": "514.16",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "185.3",
                  "loanBalance": "151339.37"
                },
                {
                  "date": "2030-05-01",
                  "grossScheduledRent": "1800.81",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1800.81",
                  "vacancyLoss": "90.04",
                  "effectiveRent": "1710.77",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1710.77",
                  "operatingExpenses": "514.16",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "185.31",
                  "loanBalance": "151147.82"
                },
                {
                  "date": "2030-06-01",
                  "grossScheduledRent": "1800.81",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1800.81",
                  "vacancyLoss": "90.04",
                  "effectiveRent": "1710.77",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1710.77",
                  "operatingExpenses": "514.16",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "185.3",
                  "loanBalance": "150955.23"
                },
                {
                  "date": "2030-07-01",
                  "grossScheduledRent": "1800.81",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1800.81",
                  "vacancyLoss": "90.04",
                  "effectiveRent": "1710.77",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1710.77",
                  "operatingExpenses": "514.16",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "185.31",
                  "loanBalance": "150761.6"
                },
                {
                  "date": "2030-08-01",
                  "grossScheduledRent": "1800.81",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1800.81",
                  "vacancyLoss": "90.04",
                  "effectiveRent": "1710.77",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1710.77",
                  "operatingExpenses": "514.16",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "185.3",
                  "loanBalance": "150566.92"
                },
                {
                  "date": "2030-09-01",
                  "grossScheduledRent": "1800.81",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1800.81",
                  "vacancyLoss": "90.04",
                  "effectiveRent": "1710.77",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1710.77",
                  "operatingExpenses": "514.16",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "185.3",
                  "loanBalance": "150371.18"
                },
                {
                  "date": "2030-10-01",
                  "grossScheduledRent": "1800.81",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1800.81",
                  "vacancyLoss": "90.04",
                  "effectiveRent": "1710.77",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1710.77",
                  "operatingExpenses": "514.16",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "185.3",
                  "loanBalance": "150174.38"
                },
                {
                  "date": "2030-11-01",
                  "grossScheduledRent": "1800.81",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1800.81",
                  "vacancyLoss": "90.04",
                  "effectiveRent": "1710.77",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1710.77",
                  "operatingExpenses": "514.16",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.3",
                  "capitalEvents": "0",
                  "netCashFlow": "185.31",
                  "loanBalance": "149976.52"
                },
                {
                  "date": "2030-12-01",
                  "grossScheduledRent": "1800.81",
                  "grossOtherIncome": "0",
                  "grossScheduledIncome": "1800.81",
                  "vacancyLoss": "90.04",
                  "effectiveRent": "1710.77",
                  "effectiveOtherIncome": "0",
                  "effectiveIncome": "1710.77",
                  "operatingExpenses": "514.16",
                  "reserve": "0",
                  "pmi": "0",
                  "debtService": "1011.31",
                  "capitalEvents": "0",
                  "netCashFlow": "185.3",
                  "loanBalance": "149777.58"
                }
              ],
              "ledger": [
                {
                  "date": "2026-01-01",
                  "category": "initial-equity",
                  "description": "Initial down payment",
                  "amount": "-40000",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "closing-cost",
                  "description": "Acquisition closing costs",
                  "amount": "-4000",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "renovation",
                  "description": "Initial renovation costs",
                  "amount": "-5000",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1520",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-475",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1520",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2026-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-475",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1520",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2026-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-475",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1520",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2026-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-475",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1520",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2026-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-475",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1520",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2026-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-475",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1520",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2026-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-475",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1520",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2026-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-475",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1520",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2026-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-475",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1520",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2026-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-475",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1520",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2026-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-475",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1520",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2026-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-475",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-01-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1565.6",
                  "source": "calculated"
                },
                {
                  "date": "2027-01-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2027-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-484.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-01-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-01-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-02-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1565.6",
                  "source": "calculated"
                },
                {
                  "date": "2027-02-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2027-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-484.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-02-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-02-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-03-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1565.6",
                  "source": "calculated"
                },
                {
                  "date": "2027-03-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2027-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-484.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-03-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-03-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-04-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1565.6",
                  "source": "calculated"
                },
                {
                  "date": "2027-04-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2027-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-484.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-04-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-04-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-05-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1565.6",
                  "source": "calculated"
                },
                {
                  "date": "2027-05-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2027-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-484.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-05-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-05-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-06-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1565.6",
                  "source": "calculated"
                },
                {
                  "date": "2027-06-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2027-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-484.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-06-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-06-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-07-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1565.6",
                  "source": "calculated"
                },
                {
                  "date": "2027-07-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2027-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-484.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-07-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-07-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-08-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1565.6",
                  "source": "calculated"
                },
                {
                  "date": "2027-08-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2027-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-484.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-08-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-08-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-09-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1565.6",
                  "source": "calculated"
                },
                {
                  "date": "2027-09-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2027-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-484.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-09-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-09-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2027-10-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1565.6",
                  "source": "calculated"
                },
                {
                  "date": "2027-10-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2027-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-484.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-10-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-10-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-11-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1565.6",
                  "source": "calculated"
                },
                {
                  "date": "2027-11-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2027-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-484.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-11-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-11-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2027-12-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1565.6",
                  "source": "calculated"
                },
                {
                  "date": "2027-12-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2027-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-484.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-12-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2027-12-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-01-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1612.57",
                  "source": "calculated"
                },
                {
                  "date": "2028-01-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2028-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-494.19",
                  "source": "calculated"
                },
                {
                  "date": "2028-01-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-01-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2028-02-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1612.57",
                  "source": "calculated"
                },
                {
                  "date": "2028-02-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2028-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-494.19",
                  "source": "calculated"
                },
                {
                  "date": "2028-02-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-02-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-03-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1612.57",
                  "source": "calculated"
                },
                {
                  "date": "2028-03-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2028-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-494.19",
                  "source": "calculated"
                },
                {
                  "date": "2028-03-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-03-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-04-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1612.57",
                  "source": "calculated"
                },
                {
                  "date": "2028-04-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2028-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-494.19",
                  "source": "calculated"
                },
                {
                  "date": "2028-04-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-04-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-05-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1612.57",
                  "source": "calculated"
                },
                {
                  "date": "2028-05-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2028-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-494.19",
                  "source": "calculated"
                },
                {
                  "date": "2028-05-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-05-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-06-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1612.57",
                  "source": "calculated"
                },
                {
                  "date": "2028-06-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2028-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-494.19",
                  "source": "calculated"
                },
                {
                  "date": "2028-06-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-06-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-07-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1612.57",
                  "source": "calculated"
                },
                {
                  "date": "2028-07-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2028-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-494.19",
                  "source": "calculated"
                },
                {
                  "date": "2028-07-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-07-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-08-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1612.57",
                  "source": "calculated"
                },
                {
                  "date": "2028-08-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2028-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-494.19",
                  "source": "calculated"
                },
                {
                  "date": "2028-08-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-08-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-09-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1612.57",
                  "source": "calculated"
                },
                {
                  "date": "2028-09-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2028-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-494.19",
                  "source": "calculated"
                },
                {
                  "date": "2028-09-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-09-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-10-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1612.57",
                  "source": "calculated"
                },
                {
                  "date": "2028-10-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2028-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-494.19",
                  "source": "calculated"
                },
                {
                  "date": "2028-10-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-10-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2028-11-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1612.57",
                  "source": "calculated"
                },
                {
                  "date": "2028-11-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2028-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-494.19",
                  "source": "calculated"
                },
                {
                  "date": "2028-11-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-11-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2028-12-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1612.57",
                  "source": "calculated"
                },
                {
                  "date": "2028-12-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2028-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-494.19",
                  "source": "calculated"
                },
                {
                  "date": "2028-12-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2028-12-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-01-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1660.94",
                  "source": "calculated"
                },
                {
                  "date": "2029-01-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2029-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-504.07",
                  "source": "calculated"
                },
                {
                  "date": "2029-01-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-01-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-02-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1660.94",
                  "source": "calculated"
                },
                {
                  "date": "2029-02-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2029-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-504.07",
                  "source": "calculated"
                },
                {
                  "date": "2029-02-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-02-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2029-03-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1660.94",
                  "source": "calculated"
                },
                {
                  "date": "2029-03-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2029-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-504.07",
                  "source": "calculated"
                },
                {
                  "date": "2029-03-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-03-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-04-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1660.94",
                  "source": "calculated"
                },
                {
                  "date": "2029-04-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2029-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-504.07",
                  "source": "calculated"
                },
                {
                  "date": "2029-04-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-04-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-05-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1660.94",
                  "source": "calculated"
                },
                {
                  "date": "2029-05-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2029-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-504.07",
                  "source": "calculated"
                },
                {
                  "date": "2029-05-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-05-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-06-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1660.94",
                  "source": "calculated"
                },
                {
                  "date": "2029-06-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2029-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-504.07",
                  "source": "calculated"
                },
                {
                  "date": "2029-06-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-06-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-07-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1660.94",
                  "source": "calculated"
                },
                {
                  "date": "2029-07-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2029-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-504.07",
                  "source": "calculated"
                },
                {
                  "date": "2029-07-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-07-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-08-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1660.94",
                  "source": "calculated"
                },
                {
                  "date": "2029-08-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2029-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-504.07",
                  "source": "calculated"
                },
                {
                  "date": "2029-08-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-08-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-09-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1660.94",
                  "source": "calculated"
                },
                {
                  "date": "2029-09-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2029-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-504.07",
                  "source": "calculated"
                },
                {
                  "date": "2029-09-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-09-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-10-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1660.94",
                  "source": "calculated"
                },
                {
                  "date": "2029-10-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2029-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-504.07",
                  "source": "calculated"
                },
                {
                  "date": "2029-10-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-10-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2029-11-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1660.94",
                  "source": "calculated"
                },
                {
                  "date": "2029-11-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2029-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-504.07",
                  "source": "calculated"
                },
                {
                  "date": "2029-11-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-11-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2029-12-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1660.94",
                  "source": "calculated"
                },
                {
                  "date": "2029-12-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2029-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-504.07",
                  "source": "calculated"
                },
                {
                  "date": "2029-12-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2029-12-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-01-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710.77",
                  "source": "calculated"
                },
                {
                  "date": "2030-01-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2030-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-514.16",
                  "source": "calculated"
                },
                {
                  "date": "2030-01-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-01-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-02-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710.77",
                  "source": "calculated"
                },
                {
                  "date": "2030-02-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2030-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-514.16",
                  "source": "calculated"
                },
                {
                  "date": "2030-02-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-02-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2030-03-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710.77",
                  "source": "calculated"
                },
                {
                  "date": "2030-03-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2030-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-514.16",
                  "source": "calculated"
                },
                {
                  "date": "2030-03-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-03-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-04-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710.77",
                  "source": "calculated"
                },
                {
                  "date": "2030-04-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2030-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-514.16",
                  "source": "calculated"
                },
                {
                  "date": "2030-04-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-04-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-05-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710.77",
                  "source": "calculated"
                },
                {
                  "date": "2030-05-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2030-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-514.16",
                  "source": "calculated"
                },
                {
                  "date": "2030-05-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-05-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2030-06-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710.77",
                  "source": "calculated"
                },
                {
                  "date": "2030-06-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2030-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-514.16",
                  "source": "calculated"
                },
                {
                  "date": "2030-06-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-06-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-07-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710.77",
                  "source": "calculated"
                },
                {
                  "date": "2030-07-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2030-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-514.16",
                  "source": "calculated"
                },
                {
                  "date": "2030-07-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-07-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2030-08-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710.77",
                  "source": "calculated"
                },
                {
                  "date": "2030-08-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2030-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-514.16",
                  "source": "calculated"
                },
                {
                  "date": "2030-08-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-08-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-09-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710.77",
                  "source": "calculated"
                },
                {
                  "date": "2030-09-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2030-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-514.16",
                  "source": "calculated"
                },
                {
                  "date": "2030-09-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-09-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-10-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710.77",
                  "source": "calculated"
                },
                {
                  "date": "2030-10-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2030-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-514.16",
                  "source": "calculated"
                },
                {
                  "date": "2030-10-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-10-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                },
                {
                  "date": "2030-11-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710.77",
                  "source": "calculated"
                },
                {
                  "date": "2030-11-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2030-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-514.16",
                  "source": "calculated"
                },
                {
                  "date": "2030-11-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-11-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.3",
                  "source": "calculated"
                },
                {
                  "date": "2030-12-01",
                  "category": "rent",
                  "description": "Effective collected rent",
                  "amount": "1710.77",
                  "source": "calculated"
                },
                {
                  "date": "2030-12-01",
                  "category": "other-income",
                  "description": "Effective collected other income",
                  "amount": "0",
                  "source": "user"
                },
                {
                  "date": "2030-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses",
                  "amount": "-514.16",
                  "source": "calculated"
                },
                {
                  "date": "2030-12-01",
                  "category": "reserve",
                  "description": "Reserve contribution",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2030-12-01",
                  "category": "debt-service",
                  "description": "Loan payment",
                  "amount": "-1011.31",
                  "source": "calculated"
                }
              ],
              "annual": [
                {
                  "year": 2026,
                  "revenue": "18240",
                  "noi": "12540",
                  "debtService": "12135.72",
                  "netCashFlow": "404.28"
                },
                {
                  "year": 2027,
                  "revenue": "18787.2",
                  "noi": "12973.2",
                  "debtService": "12135.7",
                  "netCashFlow": "837.5"
                },
                {
                  "year": 2028,
                  "revenue": "19350.84",
                  "noi": "13420.56",
                  "debtService": "12135.7",
                  "netCashFlow": "1284.86"
                },
                {
                  "year": 2029,
                  "revenue": "19931.28",
                  "noi": "13882.44",
                  "debtService": "12135.7",
                  "netCashFlow": "1746.74"
                },
                {
                  "year": 2030,
                  "revenue": "20529.24",
                  "noi": "14359.32",
                  "debtService": "12135.68",
                  "netCashFlow": "2223.64"
                }
              ],
              "totalNoi": "67175.52",
              "totalCashFlow": "-42502.98",
              "initialCashInvestment": "49000",
              "firstYearCashFlow": "404.28",
              "cashOnCashReturnPct": "0.8250612244897959183673469387755102040816",
              "endingLoanBalance": "149777.58",
              "endingEquity": "82077.23",
              "actualVsPlan": [],
              "reconciliationDifference": "0"
            }
          }
        },
        "formulaVersion": "investor-house-hacking-1.0.0",
        "units": {
          "monetaryAmounts": "USD",
          "calendarDates": "YYYY-MM-DD",
          "propertyTax": "USD/year",
          "insurance": "USD/year",
          "maintenance": "USD/year",
          "propertyManagement": "USD/year",
          "hoaFees": "USD/month",
          "utilities": "USD/month",
          "otherExpenses": "USD/month",
          "otherIncome": "USD/month",
          "pmi": "USD/month",
          "monthlyRentPerUnit": "USD/month/unit",
          "totalRent": "USD/month",
          "lenderDscr": "ratio",
          "interestRate": "annual percent",
          "loanTerm": "years",
          "appreciation": "annual percent",
          "rentGrowth": "annual percent",
          "expenseGrowth": "annual percent"
        },
        "assumptions": [
          "Owner-occupied living cost, rent coverage, cash flow after moving out and a dated ledger of rented units. The unit count includes the owner unit. The screen estimates PMI when entered as zero above 80% loan-to-value."
        ],
        "warnings": [
          "No actual transactions were supplied; this is a plan-only pro forma."
        ],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/rental?mode=house-hack"
    },
    {
      "slug": "investor-str-owned",
      "name": "Short-term rental ownership",
      "category": "Investment",
      "description": "Seasonal booking ledger, monthly ownership screen and long-term-rent comparison using supplied rates, occupancy and monthly expenses. Unknown permission yields hypothetical arithmetic. A prohibited use suppresses the projection.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "dailyRentalRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Base lodging rate, USD per occupied night."
          },
          "dailyCleaningFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Cleaning revenue charged to guests, USD per stay."
          },
          "additionalGuestFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Additional guest fee collected, USD per occupied night."
          },
          "airbnbExperiences": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Experience revenue, USD/month."
          },
          "laundryRevenue": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Laundry revenue, USD/month."
          },
          "additionalRevenue": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Other recurring receipts, USD/month."
          },
          "occupancyRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Base booked nights, percent of available nights."
          },
          "trash": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Trash collection expense, USD/month."
          },
          "utilities": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Utilities, USD/month."
          },
          "internet": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Internet service, USD/month."
          },
          "cleanerExpense": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Recurring cleaner expense, USD/month."
          },
          "lawnSnow": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Grounds and snow service, USD/month."
          },
          "otherExpenses": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Other recurring operating costs, USD/month."
          },
          "maintenanceRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Maintenance allowance, percent of gross revenue."
          },
          "managementRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Management fee, percent of gross revenue."
          },
          "airbnbServiceFeeRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Platform fee, percent of booking revenue."
          },
          "lodgingTaxPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Lodging tax collected and remitted on booking revenue, percentage points."
          },
          "seasonality": {
            "type": "array",
            "items": {
              "type": "number",
              "minimum": 0,
              "maximum": 10,
              "description": "Occupancy multiplier for each successive month starting at the modeled start date; 1.0 means base occupancy."
            },
            "minItems": 12,
            "maxItems": 12
          },
          "legalStatus": {
            "enum": [
              "permitted",
              "unknown",
              "prohibited"
            ]
          },
          "averageStayNights": {
            "type": "number",
            "minimum": 0.1,
            "maximum": 365,
            "description": "Average occupied nights per cleaning turnover. Defaults to 3 nights."
          },
          "purchasePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Acquisition price, USD."
          },
          "downPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Cash down payment, USD."
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Upfront closing costs, USD."
          },
          "repairCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Upfront repair budget, USD."
          },
          "furnitureCost": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Initial furnishing purchase, USD."
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual nominal loan rate, in percentage points (6.5 = 6.5%)."
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Loan term, whole years."
          },
          "propertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Property taxes, USD/month."
          },
          "insurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Insurance, USD/month."
          },
          "hoaFees": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Association dues, USD/month."
          },
          "vacancyRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Additional vacancy expense, percent of gross revenue after occupancy has been modeled."
          },
          "annualPermitCost": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Permit fees, USD/year."
          },
          "monthlyLTRRent": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Long-term alternative rent, USD/month; zero disables that comparison."
          },
          "calculationDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "assumptionsAsOf": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "weekendRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Weekend lodging rate for the dated ledger, USD per occupied night."
          },
          "cleaningCostPerStay": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Turnover expense in the dated ledger, USD/stay."
          },
          "replacementReservePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Reserve deposit in the dated ledger, percent of lodging revenue."
          }
        },
        "required": [
          "dailyRentalRate",
          "dailyCleaningFee",
          "additionalGuestFee",
          "airbnbExperiences",
          "laundryRevenue",
          "additionalRevenue",
          "occupancyRate",
          "trash",
          "utilities",
          "internet",
          "cleanerExpense",
          "lawnSnow",
          "otherExpenses",
          "maintenanceRate",
          "managementRate",
          "airbnbServiceFeeRate",
          "lodgingTaxPct",
          "seasonality",
          "legalStatus",
          "purchasePrice",
          "downPayment",
          "closingCosts",
          "repairCosts",
          "furnitureCost",
          "interestRate",
          "loanTerm",
          "propertyTax",
          "insurance",
          "hoaFees",
          "vacancyRate",
          "annualPermitCost",
          "monthlyLTRRent",
          "calculationDate",
          "assumptionsAsOf"
        ],
        "additionalProperties": false,
        "description": "Seasonal booking ledger, monthly ownership screen and long-term-rent comparison using supplied rates, occupancy and monthly expenses. Unknown permission yields hypothetical arithmetic. A prohibited use suppresses the projection."
      },
      "input": {
        "dailyRentalRate": 150,
        "dailyCleaningFee": 45,
        "additionalGuestFee": 5,
        "airbnbExperiences": 30,
        "laundryRevenue": 20,
        "additionalRevenue": 10,
        "occupancyRate": 65,
        "trash": 35,
        "utilities": 175,
        "internet": 50,
        "cleanerExpense": 200,
        "lawnSnow": 35,
        "otherExpenses": 25,
        "maintenanceRate": 4,
        "managementRate": 10,
        "airbnbServiceFeeRate": 3,
        "lodgingTaxPct": 5,
        "seasonality": [
          1,
          1,
          1,
          1,
          1,
          1,
          1,
          1,
          1,
          1,
          1,
          1
        ],
        "legalStatus": "unknown",
        "purchasePrice": 250000,
        "downPayment": 50000,
        "closingCosts": 6000,
        "repairCosts": 10000,
        "furnitureCost": 8000,
        "interestRate": 6.25,
        "loanTerm": 30,
        "propertyTax": 250,
        "insurance": 100,
        "hoaFees": 60,
        "vacancyRate": 2,
        "annualPermitCost": 120,
        "monthlyLTRRent": 1800,
        "calculationDate": "2026-01-01",
        "assumptionsAsOf": "2026-01-01"
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "warnings": [],
          "status": "scenario-only",
          "assumedPermission": "unknown",
          "screen": {
            "totalCapitalNeeded": 74000,
            "loanAmount": 200000,
            "monthlyPI": 1231.4344008528,
            "grossMonthlyRent": 3215.55,
            "grossMonthlyIncome": 3275.55,
            "grossYearlyIncome": 39306.600000000006,
            "totalMonthlyOperatingExpenses": 1454.088,
            "totalMonthlyExpenses": 2685.5224008528003,
            "monthlyNOI": 1821.4620000000002,
            "yearlyNOI": 21857.544,
            "monthlyCashFlow": 590.0275991472001,
            "yearlyCashFlow": 7080.331189766402,
            "capRate": 8.743017600000002,
            "allInCapRate": 8.406747692307693,
            "cashOnCashReturn": 9.568015121305947,
            "expenseRatio": 0.4439217841278564,
            "passes50PercentRule": true,
            "rentToPriceRatio": 0.0128622,
            "passes1PercentRule": true,
            "expenseBreakdown": {
              "pi": 1231.4344008528,
              "tax": 250,
              "insurance": 100,
              "maintenance": 131.02200000000002,
              "management": 327.55500000000006,
              "cleaning": 200,
              "utilities": 260,
              "other": 185.51100000000002
            }
          },
          "ledger": {
            "state": "available",
            "fieldErrors": {},
            "warnings": [],
            "assumptions": [],
            "provenance": [
              {
                "source": "Caller rate and occupancy assumptions",
                "asOf": "2026-01-01"
              }
            ],
            "formulaVersion": "str-seasonal-ledger-1.1.0",
            "ruleVersions": [
              "str-regulatory-gate-v1"
            ],
            "auditTrail": [
              "Twelve monthly seasonal periods reconcile room, cleaning, guest-fee, and ancillary revenue to annual gross revenue.",
              "Annual after-debt cash flow includes entered ownership expenses, permit cost, vacancy allowance, and scheduled mortgage principal-and-interest payments.",
              "Rounded monthly ledger rows reconcile to annual after-debt cash flow with a 0.00 difference.",
              "Management and maintenance rates apply to total operating revenue; the platform fee applies only to booking revenue.",
              "Lodging tax is collected and remitted as an equal pass-through on lodging, cleaning, and additional guest charges; jurisdiction-specific taxability must be confirmed."
            ],
            "value": {
              "months": [
                {
                  "date": "2026-01-01",
                  "availableNights": 31,
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "cleaningCost": "0",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "vacancyExpense": "69.71",
                  "fixedOwnershipExpenses": "930",
                  "debtService": "1231.44",
                  "operatingExpenses": "1600.45",
                  "noi": "1885.05",
                  "endingLoanBalance": "199810.23",
                  "lodgingTaxCollected": "171.28",
                  "lodgingTaxRemitted": "171.28",
                  "replacementReserve": "0",
                  "permitCost": "10",
                  "netCashFlow": "653.61"
                },
                {
                  "date": "2026-02-01",
                  "availableNights": 28,
                  "occupiedNights": "18.2",
                  "lodgingRevenue": "2730",
                  "cleaningRevenue": "273",
                  "additionalGuestRevenue": "91",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3154",
                  "cleaningCost": "0",
                  "platformFee": "92.82",
                  "managementFee": "315.4",
                  "maintenanceExpense": "126.16",
                  "vacancyExpense": "63.08",
                  "fixedOwnershipExpenses": "930",
                  "debtService": "1231.44",
                  "operatingExpenses": "1537.46",
                  "noi": "1616.54",
                  "endingLoanBalance": "199619.47",
                  "lodgingTaxCollected": "154.7",
                  "lodgingTaxRemitted": "154.7",
                  "replacementReserve": "0",
                  "permitCost": "10",
                  "netCashFlow": "385.1"
                },
                {
                  "date": "2026-03-01",
                  "availableNights": 31,
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "cleaningCost": "0",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "vacancyExpense": "69.71",
                  "fixedOwnershipExpenses": "930",
                  "debtService": "1231.43",
                  "operatingExpenses": "1600.45",
                  "noi": "1885.05",
                  "endingLoanBalance": "199427.72",
                  "lodgingTaxCollected": "171.28",
                  "lodgingTaxRemitted": "171.28",
                  "replacementReserve": "0",
                  "permitCost": "10",
                  "netCashFlow": "653.62"
                },
                {
                  "date": "2026-04-01",
                  "availableNights": 30,
                  "occupiedNights": "19.5",
                  "lodgingRevenue": "2925",
                  "cleaningRevenue": "292.5",
                  "additionalGuestRevenue": "97.5",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3375",
                  "cleaningCost": "0",
                  "platformFee": "99.45",
                  "managementFee": "337.5",
                  "maintenanceExpense": "135",
                  "vacancyExpense": "67.5",
                  "fixedOwnershipExpenses": "930",
                  "debtService": "1231.44",
                  "operatingExpenses": "1579.45",
                  "noi": "1795.55",
                  "endingLoanBalance": "199234.97",
                  "lodgingTaxCollected": "165.75",
                  "lodgingTaxRemitted": "165.75",
                  "replacementReserve": "0",
                  "permitCost": "10",
                  "netCashFlow": "564.11"
                },
                {
                  "date": "2026-05-01",
                  "availableNights": 31,
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "cleaningCost": "0",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "vacancyExpense": "69.71",
                  "fixedOwnershipExpenses": "930",
                  "debtService": "1231.43",
                  "operatingExpenses": "1600.45",
                  "noi": "1885.05",
                  "endingLoanBalance": "199041.22",
                  "lodgingTaxCollected": "171.28",
                  "lodgingTaxRemitted": "171.28",
                  "replacementReserve": "0",
                  "permitCost": "10",
                  "netCashFlow": "653.62"
                },
                {
                  "date": "2026-06-01",
                  "availableNights": 30,
                  "occupiedNights": "19.5",
                  "lodgingRevenue": "2925",
                  "cleaningRevenue": "292.5",
                  "additionalGuestRevenue": "97.5",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3375",
                  "cleaningCost": "0",
                  "platformFee": "99.45",
                  "managementFee": "337.5",
                  "maintenanceExpense": "135",
                  "vacancyExpense": "67.5",
                  "fixedOwnershipExpenses": "930",
                  "debtService": "1231.43",
                  "operatingExpenses": "1579.45",
                  "noi": "1795.55",
                  "endingLoanBalance": "198846.46",
                  "lodgingTaxCollected": "165.75",
                  "lodgingTaxRemitted": "165.75",
                  "replacementReserve": "0",
                  "permitCost": "10",
                  "netCashFlow": "564.12"
                },
                {
                  "date": "2026-07-01",
                  "availableNights": 31,
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "cleaningCost": "0",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "vacancyExpense": "69.71",
                  "fixedOwnershipExpenses": "930",
                  "debtService": "1231.44",
                  "operatingExpenses": "1600.45",
                  "noi": "1885.05",
                  "endingLoanBalance": "198650.68",
                  "lodgingTaxCollected": "171.28",
                  "lodgingTaxRemitted": "171.28",
                  "replacementReserve": "0",
                  "permitCost": "10",
                  "netCashFlow": "653.61"
                },
                {
                  "date": "2026-08-01",
                  "availableNights": 31,
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "cleaningCost": "0",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "vacancyExpense": "69.71",
                  "fixedOwnershipExpenses": "930",
                  "debtService": "1231.44",
                  "operatingExpenses": "1600.45",
                  "noi": "1885.05",
                  "endingLoanBalance": "198453.88",
                  "lodgingTaxCollected": "171.28",
                  "lodgingTaxRemitted": "171.28",
                  "replacementReserve": "0",
                  "permitCost": "10",
                  "netCashFlow": "653.61"
                },
                {
                  "date": "2026-09-01",
                  "availableNights": 30,
                  "occupiedNights": "19.5",
                  "lodgingRevenue": "2925",
                  "cleaningRevenue": "292.5",
                  "additionalGuestRevenue": "97.5",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3375",
                  "cleaningCost": "0",
                  "platformFee": "99.45",
                  "managementFee": "337.5",
                  "maintenanceExpense": "135",
                  "vacancyExpense": "67.5",
                  "fixedOwnershipExpenses": "930",
                  "debtService": "1231.43",
                  "operatingExpenses": "1579.45",
                  "noi": "1795.55",
                  "endingLoanBalance": "198256.06",
                  "lodgingTaxCollected": "165.75",
                  "lodgingTaxRemitted": "165.75",
                  "replacementReserve": "0",
                  "permitCost": "10",
                  "netCashFlow": "564.12"
                },
                {
                  "date": "2026-10-01",
                  "availableNights": 31,
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "cleaningCost": "0",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "vacancyExpense": "69.71",
                  "fixedOwnershipExpenses": "930",
                  "debtService": "1231.43",
                  "operatingExpenses": "1600.45",
                  "noi": "1885.05",
                  "endingLoanBalance": "198057.21",
                  "lodgingTaxCollected": "171.28",
                  "lodgingTaxRemitted": "171.28",
                  "replacementReserve": "0",
                  "permitCost": "10",
                  "netCashFlow": "653.62"
                },
                {
                  "date": "2026-11-01",
                  "availableNights": 30,
                  "occupiedNights": "19.5",
                  "lodgingRevenue": "2925",
                  "cleaningRevenue": "292.5",
                  "additionalGuestRevenue": "97.5",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3375",
                  "cleaningCost": "0",
                  "platformFee": "99.45",
                  "managementFee": "337.5",
                  "maintenanceExpense": "135",
                  "vacancyExpense": "67.5",
                  "fixedOwnershipExpenses": "930",
                  "debtService": "1231.44",
                  "operatingExpenses": "1579.45",
                  "noi": "1795.55",
                  "endingLoanBalance": "197857.32",
                  "lodgingTaxCollected": "165.75",
                  "lodgingTaxRemitted": "165.75",
                  "replacementReserve": "0",
                  "permitCost": "10",
                  "netCashFlow": "564.11"
                },
                {
                  "date": "2026-12-01",
                  "availableNights": 31,
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "cleaningCost": "0",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "vacancyExpense": "69.71",
                  "fixedOwnershipExpenses": "930",
                  "debtService": "1231.44",
                  "operatingExpenses": "1600.45",
                  "noi": "1885.05",
                  "endingLoanBalance": "197656.39",
                  "lodgingTaxCollected": "171.28",
                  "lodgingTaxRemitted": "171.28",
                  "replacementReserve": "0",
                  "permitCost": "10",
                  "netCashFlow": "653.61"
                }
              ],
              "ledger": [
                {
                  "date": "2026-01-01",
                  "category": "lodging-revenue",
                  "description": "Room revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "cleaning-cost",
                  "description": "Cleaning service cost",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "vacancy-expense",
                  "description": "Additional vacancy allowance",
                  "amount": "-69.71",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "property-tax",
                  "description": "Property tax",
                  "amount": "-250",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "insurance",
                  "description": "Property insurance",
                  "amount": "-100",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "trash",
                  "description": "Trash service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "utilities",
                  "description": "Utilities",
                  "amount": "-175",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "internet",
                  "description": "Internet and cable",
                  "amount": "-50",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "hoa",
                  "description": "HOA fees",
                  "amount": "-60",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "cleaner",
                  "description": "Monthly cleaner expense",
                  "amount": "-200",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "lawn-snow",
                  "description": "Lawn and snow service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "other-expense",
                  "description": "Other ownership expense",
                  "amount": "-25",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "debt-service",
                  "description": "Mortgage principal and interest payment",
                  "amount": "-1231.44",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "replacement-reserve",
                  "description": "Replacement reserve",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "permit",
                  "description": "Permit and regulatory cost",
                  "amount": "-10",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "lodging-revenue",
                  "description": "Room revenue",
                  "amount": "2730",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "273",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "91",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "cleaning-cost",
                  "description": "Cleaning service cost",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-92.82",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-315.4",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-126.16",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "vacancy-expense",
                  "description": "Additional vacancy allowance",
                  "amount": "-63.08",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "property-tax",
                  "description": "Property tax",
                  "amount": "-250",
                  "source": "user"
                },
                {
                  "date": "2026-02-01",
                  "category": "insurance",
                  "description": "Property insurance",
                  "amount": "-100",
                  "source": "user"
                },
                {
                  "date": "2026-02-01",
                  "category": "trash",
                  "description": "Trash service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-02-01",
                  "category": "utilities",
                  "description": "Utilities",
                  "amount": "-175",
                  "source": "user"
                },
                {
                  "date": "2026-02-01",
                  "category": "internet",
                  "description": "Internet and cable",
                  "amount": "-50",
                  "source": "user"
                },
                {
                  "date": "2026-02-01",
                  "category": "hoa",
                  "description": "HOA fees",
                  "amount": "-60",
                  "source": "user"
                },
                {
                  "date": "2026-02-01",
                  "category": "cleaner",
                  "description": "Monthly cleaner expense",
                  "amount": "-200",
                  "source": "user"
                },
                {
                  "date": "2026-02-01",
                  "category": "lawn-snow",
                  "description": "Lawn and snow service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-02-01",
                  "category": "other-expense",
                  "description": "Other ownership expense",
                  "amount": "-25",
                  "source": "user"
                },
                {
                  "date": "2026-02-01",
                  "category": "debt-service",
                  "description": "Mortgage principal and interest payment",
                  "amount": "-1231.44",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "154.7",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-154.7",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "replacement-reserve",
                  "description": "Replacement reserve",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "permit",
                  "description": "Permit and regulatory cost",
                  "amount": "-10",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "lodging-revenue",
                  "description": "Room revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "cleaning-cost",
                  "description": "Cleaning service cost",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "vacancy-expense",
                  "description": "Additional vacancy allowance",
                  "amount": "-69.71",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "property-tax",
                  "description": "Property tax",
                  "amount": "-250",
                  "source": "user"
                },
                {
                  "date": "2026-03-01",
                  "category": "insurance",
                  "description": "Property insurance",
                  "amount": "-100",
                  "source": "user"
                },
                {
                  "date": "2026-03-01",
                  "category": "trash",
                  "description": "Trash service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-03-01",
                  "category": "utilities",
                  "description": "Utilities",
                  "amount": "-175",
                  "source": "user"
                },
                {
                  "date": "2026-03-01",
                  "category": "internet",
                  "description": "Internet and cable",
                  "amount": "-50",
                  "source": "user"
                },
                {
                  "date": "2026-03-01",
                  "category": "hoa",
                  "description": "HOA fees",
                  "amount": "-60",
                  "source": "user"
                },
                {
                  "date": "2026-03-01",
                  "category": "cleaner",
                  "description": "Monthly cleaner expense",
                  "amount": "-200",
                  "source": "user"
                },
                {
                  "date": "2026-03-01",
                  "category": "lawn-snow",
                  "description": "Lawn and snow service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-03-01",
                  "category": "other-expense",
                  "description": "Other ownership expense",
                  "amount": "-25",
                  "source": "user"
                },
                {
                  "date": "2026-03-01",
                  "category": "debt-service",
                  "description": "Mortgage principal and interest payment",
                  "amount": "-1231.43",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "replacement-reserve",
                  "description": "Replacement reserve",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "permit",
                  "description": "Permit and regulatory cost",
                  "amount": "-10",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "lodging-revenue",
                  "description": "Room revenue",
                  "amount": "2925",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "292.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "97.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "cleaning-cost",
                  "description": "Cleaning service cost",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-99.45",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-337.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-135",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "vacancy-expense",
                  "description": "Additional vacancy allowance",
                  "amount": "-67.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "property-tax",
                  "description": "Property tax",
                  "amount": "-250",
                  "source": "user"
                },
                {
                  "date": "2026-04-01",
                  "category": "insurance",
                  "description": "Property insurance",
                  "amount": "-100",
                  "source": "user"
                },
                {
                  "date": "2026-04-01",
                  "category": "trash",
                  "description": "Trash service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-04-01",
                  "category": "utilities",
                  "description": "Utilities",
                  "amount": "-175",
                  "source": "user"
                },
                {
                  "date": "2026-04-01",
                  "category": "internet",
                  "description": "Internet and cable",
                  "amount": "-50",
                  "source": "user"
                },
                {
                  "date": "2026-04-01",
                  "category": "hoa",
                  "description": "HOA fees",
                  "amount": "-60",
                  "source": "user"
                },
                {
                  "date": "2026-04-01",
                  "category": "cleaner",
                  "description": "Monthly cleaner expense",
                  "amount": "-200",
                  "source": "user"
                },
                {
                  "date": "2026-04-01",
                  "category": "lawn-snow",
                  "description": "Lawn and snow service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-04-01",
                  "category": "other-expense",
                  "description": "Other ownership expense",
                  "amount": "-25",
                  "source": "user"
                },
                {
                  "date": "2026-04-01",
                  "category": "debt-service",
                  "description": "Mortgage principal and interest payment",
                  "amount": "-1231.44",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "replacement-reserve",
                  "description": "Replacement reserve",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "permit",
                  "description": "Permit and regulatory cost",
                  "amount": "-10",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "lodging-revenue",
                  "description": "Room revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "cleaning-cost",
                  "description": "Cleaning service cost",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "vacancy-expense",
                  "description": "Additional vacancy allowance",
                  "amount": "-69.71",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "property-tax",
                  "description": "Property tax",
                  "amount": "-250",
                  "source": "user"
                },
                {
                  "date": "2026-05-01",
                  "category": "insurance",
                  "description": "Property insurance",
                  "amount": "-100",
                  "source": "user"
                },
                {
                  "date": "2026-05-01",
                  "category": "trash",
                  "description": "Trash service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-05-01",
                  "category": "utilities",
                  "description": "Utilities",
                  "amount": "-175",
                  "source": "user"
                },
                {
                  "date": "2026-05-01",
                  "category": "internet",
                  "description": "Internet and cable",
                  "amount": "-50",
                  "source": "user"
                },
                {
                  "date": "2026-05-01",
                  "category": "hoa",
                  "description": "HOA fees",
                  "amount": "-60",
                  "source": "user"
                },
                {
                  "date": "2026-05-01",
                  "category": "cleaner",
                  "description": "Monthly cleaner expense",
                  "amount": "-200",
                  "source": "user"
                },
                {
                  "date": "2026-05-01",
                  "category": "lawn-snow",
                  "description": "Lawn and snow service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-05-01",
                  "category": "other-expense",
                  "description": "Other ownership expense",
                  "amount": "-25",
                  "source": "user"
                },
                {
                  "date": "2026-05-01",
                  "category": "debt-service",
                  "description": "Mortgage principal and interest payment",
                  "amount": "-1231.43",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "replacement-reserve",
                  "description": "Replacement reserve",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "permit",
                  "description": "Permit and regulatory cost",
                  "amount": "-10",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "lodging-revenue",
                  "description": "Room revenue",
                  "amount": "2925",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "292.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "97.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "cleaning-cost",
                  "description": "Cleaning service cost",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-99.45",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-337.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-135",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "vacancy-expense",
                  "description": "Additional vacancy allowance",
                  "amount": "-67.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "property-tax",
                  "description": "Property tax",
                  "amount": "-250",
                  "source": "user"
                },
                {
                  "date": "2026-06-01",
                  "category": "insurance",
                  "description": "Property insurance",
                  "amount": "-100",
                  "source": "user"
                },
                {
                  "date": "2026-06-01",
                  "category": "trash",
                  "description": "Trash service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-06-01",
                  "category": "utilities",
                  "description": "Utilities",
                  "amount": "-175",
                  "source": "user"
                },
                {
                  "date": "2026-06-01",
                  "category": "internet",
                  "description": "Internet and cable",
                  "amount": "-50",
                  "source": "user"
                },
                {
                  "date": "2026-06-01",
                  "category": "hoa",
                  "description": "HOA fees",
                  "amount": "-60",
                  "source": "user"
                },
                {
                  "date": "2026-06-01",
                  "category": "cleaner",
                  "description": "Monthly cleaner expense",
                  "amount": "-200",
                  "source": "user"
                },
                {
                  "date": "2026-06-01",
                  "category": "lawn-snow",
                  "description": "Lawn and snow service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-06-01",
                  "category": "other-expense",
                  "description": "Other ownership expense",
                  "amount": "-25",
                  "source": "user"
                },
                {
                  "date": "2026-06-01",
                  "category": "debt-service",
                  "description": "Mortgage principal and interest payment",
                  "amount": "-1231.43",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "replacement-reserve",
                  "description": "Replacement reserve",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "permit",
                  "description": "Permit and regulatory cost",
                  "amount": "-10",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "lodging-revenue",
                  "description": "Room revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "cleaning-cost",
                  "description": "Cleaning service cost",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "vacancy-expense",
                  "description": "Additional vacancy allowance",
                  "amount": "-69.71",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "property-tax",
                  "description": "Property tax",
                  "amount": "-250",
                  "source": "user"
                },
                {
                  "date": "2026-07-01",
                  "category": "insurance",
                  "description": "Property insurance",
                  "amount": "-100",
                  "source": "user"
                },
                {
                  "date": "2026-07-01",
                  "category": "trash",
                  "description": "Trash service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-07-01",
                  "category": "utilities",
                  "description": "Utilities",
                  "amount": "-175",
                  "source": "user"
                },
                {
                  "date": "2026-07-01",
                  "category": "internet",
                  "description": "Internet and cable",
                  "amount": "-50",
                  "source": "user"
                },
                {
                  "date": "2026-07-01",
                  "category": "hoa",
                  "description": "HOA fees",
                  "amount": "-60",
                  "source": "user"
                },
                {
                  "date": "2026-07-01",
                  "category": "cleaner",
                  "description": "Monthly cleaner expense",
                  "amount": "-200",
                  "source": "user"
                },
                {
                  "date": "2026-07-01",
                  "category": "lawn-snow",
                  "description": "Lawn and snow service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-07-01",
                  "category": "other-expense",
                  "description": "Other ownership expense",
                  "amount": "-25",
                  "source": "user"
                },
                {
                  "date": "2026-07-01",
                  "category": "debt-service",
                  "description": "Mortgage principal and interest payment",
                  "amount": "-1231.44",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "replacement-reserve",
                  "description": "Replacement reserve",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "permit",
                  "description": "Permit and regulatory cost",
                  "amount": "-10",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "lodging-revenue",
                  "description": "Room revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "cleaning-cost",
                  "description": "Cleaning service cost",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "vacancy-expense",
                  "description": "Additional vacancy allowance",
                  "amount": "-69.71",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "property-tax",
                  "description": "Property tax",
                  "amount": "-250",
                  "source": "user"
                },
                {
                  "date": "2026-08-01",
                  "category": "insurance",
                  "description": "Property insurance",
                  "amount": "-100",
                  "source": "user"
                },
                {
                  "date": "2026-08-01",
                  "category": "trash",
                  "description": "Trash service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-08-01",
                  "category": "utilities",
                  "description": "Utilities",
                  "amount": "-175",
                  "source": "user"
                },
                {
                  "date": "2026-08-01",
                  "category": "internet",
                  "description": "Internet and cable",
                  "amount": "-50",
                  "source": "user"
                },
                {
                  "date": "2026-08-01",
                  "category": "hoa",
                  "description": "HOA fees",
                  "amount": "-60",
                  "source": "user"
                },
                {
                  "date": "2026-08-01",
                  "category": "cleaner",
                  "description": "Monthly cleaner expense",
                  "amount": "-200",
                  "source": "user"
                },
                {
                  "date": "2026-08-01",
                  "category": "lawn-snow",
                  "description": "Lawn and snow service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-08-01",
                  "category": "other-expense",
                  "description": "Other ownership expense",
                  "amount": "-25",
                  "source": "user"
                },
                {
                  "date": "2026-08-01",
                  "category": "debt-service",
                  "description": "Mortgage principal and interest payment",
                  "amount": "-1231.44",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "replacement-reserve",
                  "description": "Replacement reserve",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "permit",
                  "description": "Permit and regulatory cost",
                  "amount": "-10",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "lodging-revenue",
                  "description": "Room revenue",
                  "amount": "2925",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "292.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "97.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "cleaning-cost",
                  "description": "Cleaning service cost",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-99.45",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-337.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-135",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "vacancy-expense",
                  "description": "Additional vacancy allowance",
                  "amount": "-67.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "property-tax",
                  "description": "Property tax",
                  "amount": "-250",
                  "source": "user"
                },
                {
                  "date": "2026-09-01",
                  "category": "insurance",
                  "description": "Property insurance",
                  "amount": "-100",
                  "source": "user"
                },
                {
                  "date": "2026-09-01",
                  "category": "trash",
                  "description": "Trash service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-09-01",
                  "category": "utilities",
                  "description": "Utilities",
                  "amount": "-175",
                  "source": "user"
                },
                {
                  "date": "2026-09-01",
                  "category": "internet",
                  "description": "Internet and cable",
                  "amount": "-50",
                  "source": "user"
                },
                {
                  "date": "2026-09-01",
                  "category": "hoa",
                  "description": "HOA fees",
                  "amount": "-60",
                  "source": "user"
                },
                {
                  "date": "2026-09-01",
                  "category": "cleaner",
                  "description": "Monthly cleaner expense",
                  "amount": "-200",
                  "source": "user"
                },
                {
                  "date": "2026-09-01",
                  "category": "lawn-snow",
                  "description": "Lawn and snow service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-09-01",
                  "category": "other-expense",
                  "description": "Other ownership expense",
                  "amount": "-25",
                  "source": "user"
                },
                {
                  "date": "2026-09-01",
                  "category": "debt-service",
                  "description": "Mortgage principal and interest payment",
                  "amount": "-1231.43",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "replacement-reserve",
                  "description": "Replacement reserve",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "permit",
                  "description": "Permit and regulatory cost",
                  "amount": "-10",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "lodging-revenue",
                  "description": "Room revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "cleaning-cost",
                  "description": "Cleaning service cost",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "vacancy-expense",
                  "description": "Additional vacancy allowance",
                  "amount": "-69.71",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "property-tax",
                  "description": "Property tax",
                  "amount": "-250",
                  "source": "user"
                },
                {
                  "date": "2026-10-01",
                  "category": "insurance",
                  "description": "Property insurance",
                  "amount": "-100",
                  "source": "user"
                },
                {
                  "date": "2026-10-01",
                  "category": "trash",
                  "description": "Trash service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-10-01",
                  "category": "utilities",
                  "description": "Utilities",
                  "amount": "-175",
                  "source": "user"
                },
                {
                  "date": "2026-10-01",
                  "category": "internet",
                  "description": "Internet and cable",
                  "amount": "-50",
                  "source": "user"
                },
                {
                  "date": "2026-10-01",
                  "category": "hoa",
                  "description": "HOA fees",
                  "amount": "-60",
                  "source": "user"
                },
                {
                  "date": "2026-10-01",
                  "category": "cleaner",
                  "description": "Monthly cleaner expense",
                  "amount": "-200",
                  "source": "user"
                },
                {
                  "date": "2026-10-01",
                  "category": "lawn-snow",
                  "description": "Lawn and snow service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-10-01",
                  "category": "other-expense",
                  "description": "Other ownership expense",
                  "amount": "-25",
                  "source": "user"
                },
                {
                  "date": "2026-10-01",
                  "category": "debt-service",
                  "description": "Mortgage principal and interest payment",
                  "amount": "-1231.43",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "replacement-reserve",
                  "description": "Replacement reserve",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "permit",
                  "description": "Permit and regulatory cost",
                  "amount": "-10",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "lodging-revenue",
                  "description": "Room revenue",
                  "amount": "2925",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "292.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "97.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "cleaning-cost",
                  "description": "Cleaning service cost",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-99.45",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-337.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-135",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "vacancy-expense",
                  "description": "Additional vacancy allowance",
                  "amount": "-67.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "property-tax",
                  "description": "Property tax",
                  "amount": "-250",
                  "source": "user"
                },
                {
                  "date": "2026-11-01",
                  "category": "insurance",
                  "description": "Property insurance",
                  "amount": "-100",
                  "source": "user"
                },
                {
                  "date": "2026-11-01",
                  "category": "trash",
                  "description": "Trash service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-11-01",
                  "category": "utilities",
                  "description": "Utilities",
                  "amount": "-175",
                  "source": "user"
                },
                {
                  "date": "2026-11-01",
                  "category": "internet",
                  "description": "Internet and cable",
                  "amount": "-50",
                  "source": "user"
                },
                {
                  "date": "2026-11-01",
                  "category": "hoa",
                  "description": "HOA fees",
                  "amount": "-60",
                  "source": "user"
                },
                {
                  "date": "2026-11-01",
                  "category": "cleaner",
                  "description": "Monthly cleaner expense",
                  "amount": "-200",
                  "source": "user"
                },
                {
                  "date": "2026-11-01",
                  "category": "lawn-snow",
                  "description": "Lawn and snow service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-11-01",
                  "category": "other-expense",
                  "description": "Other ownership expense",
                  "amount": "-25",
                  "source": "user"
                },
                {
                  "date": "2026-11-01",
                  "category": "debt-service",
                  "description": "Mortgage principal and interest payment",
                  "amount": "-1231.44",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "replacement-reserve",
                  "description": "Replacement reserve",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "permit",
                  "description": "Permit and regulatory cost",
                  "amount": "-10",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "lodging-revenue",
                  "description": "Room revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "cleaning-cost",
                  "description": "Cleaning service cost",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "vacancy-expense",
                  "description": "Additional vacancy allowance",
                  "amount": "-69.71",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "property-tax",
                  "description": "Property tax",
                  "amount": "-250",
                  "source": "user"
                },
                {
                  "date": "2026-12-01",
                  "category": "insurance",
                  "description": "Property insurance",
                  "amount": "-100",
                  "source": "user"
                },
                {
                  "date": "2026-12-01",
                  "category": "trash",
                  "description": "Trash service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-12-01",
                  "category": "utilities",
                  "description": "Utilities",
                  "amount": "-175",
                  "source": "user"
                },
                {
                  "date": "2026-12-01",
                  "category": "internet",
                  "description": "Internet and cable",
                  "amount": "-50",
                  "source": "user"
                },
                {
                  "date": "2026-12-01",
                  "category": "hoa",
                  "description": "HOA fees",
                  "amount": "-60",
                  "source": "user"
                },
                {
                  "date": "2026-12-01",
                  "category": "cleaner",
                  "description": "Monthly cleaner expense",
                  "amount": "-200",
                  "source": "user"
                },
                {
                  "date": "2026-12-01",
                  "category": "lawn-snow",
                  "description": "Lawn and snow service",
                  "amount": "-35",
                  "source": "user"
                },
                {
                  "date": "2026-12-01",
                  "category": "other-expense",
                  "description": "Other ownership expense",
                  "amount": "-25",
                  "source": "user"
                },
                {
                  "date": "2026-12-01",
                  "category": "debt-service",
                  "description": "Mortgage principal and interest payment",
                  "amount": "-1231.44",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "replacement-reserve",
                  "description": "Replacement reserve",
                  "amount": "-0",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "permit",
                  "description": "Permit and regulatory cost",
                  "amount": "-10",
                  "source": "calculated"
                }
              ],
              "annualLodgingRevenue": "35587.5",
              "annualGrossRevenue": "41052.5",
              "annualOperatingExpenses": "19058.41",
              "annualNoi": "21994.09",
              "annualDebtService": "14777.23",
              "annualNetCashFlow": "7216.86",
              "initialCashInvestment": "74000",
              "loanPrincipal": "200000",
              "endingLoanBalance": "197656.39",
              "cashOnCashReturnPct": "9.75",
              "reconciliationDifference": "0",
              "lowBaseHigh": {
                "low": "5773.49",
                "base": "7216.86",
                "high": "8660.23"
              }
            }
          },
          "comparison": {
            "str": {
              "income": 3276,
              "expenses": 2686,
              "cashFlow": 590
            },
            "ltr": {
              "income": 1800,
              "expenses": 1905,
              "cashFlow": -105
            },
            "annualLtrIncome": 21600,
            "annualLtrExpenses": 22865.2128102336,
            "annualLtrCashFlow": -1265.212810233601,
            "monthlyDifference": 695
          }
        },
        "formulaVersion": "investor-str-owned-1.0.0",
        "units": {
          "monetaryAmounts": "USD",
          "calendarDates": "YYYY-MM-DD",
          "dailyRentalRate": "USD/occupied night",
          "dailyCleaningFee": "USD/stay",
          "additionalGuestFee": "USD/occupied night",
          "airbnbExperiences": "USD/month",
          "laundryRevenue": "USD/month",
          "additionalRevenue": "USD/month",
          "seasonality": "12 monthly occupancy multipliers",
          "occupancyRate": "percent",
          "averageStayNights": "nights/stay",
          "managementRate": "percent of revenue",
          "maintenanceRate": "percent of revenue",
          "airbnbServiceFeeRate": "percent of revenue",
          "propertyTax": "USD/month",
          "insurance": "USD/month",
          "monthlyLTRRent": "USD/month",
          "annualPermitCost": "USD/year",
          "weekendRate": "USD/occupied weekend night"
        },
        "assumptions": [
          "Seasonal booking ledger, monthly ownership screen and long-term-rent comparison using supplied rates, occupancy and monthly expenses. Unknown permission yields hypothetical arithmetic. A prohibited use suppresses the projection."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/airbnb-analysis"
    },
    {
      "slug": "investor-str-arbitrage",
      "name": "Short-term rental lease arbitrage",
      "category": "Investment",
      "description": "Lease cash flow, startup outlay, payback and break-even occupancy. Lease escalation, replacements and early termination apply to the dated ledger. An unknown permission is hypothetical. A reported denial suppresses the projection.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "dailyRentalRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Base lodging rate, USD per occupied night."
          },
          "dailyCleaningFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Cleaning revenue charged to guests, USD per stay."
          },
          "additionalGuestFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Additional guest fee collected, USD per occupied night."
          },
          "airbnbExperiences": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Experience revenue, USD/month."
          },
          "laundryRevenue": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Laundry revenue, USD/month."
          },
          "additionalRevenue": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Other recurring receipts, USD/month."
          },
          "occupancyRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Base booked nights, percent of available nights."
          },
          "trash": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Trash collection expense, USD/month."
          },
          "utilities": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Utilities, USD/month."
          },
          "internet": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Internet service, USD/month."
          },
          "cleanerExpense": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Recurring cleaner expense, USD/month."
          },
          "lawnSnow": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Grounds and snow service, USD/month."
          },
          "otherExpenses": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Other recurring operating costs, USD/month."
          },
          "maintenanceRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Maintenance allowance, percent of gross revenue."
          },
          "managementRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Management fee, percent of gross revenue."
          },
          "airbnbServiceFeeRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Platform fee, percent of booking revenue."
          },
          "lodgingTaxPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Lodging tax collected and remitted on booking revenue, percentage points."
          },
          "seasonality": {
            "type": "array",
            "items": {
              "type": "number",
              "minimum": 0,
              "maximum": 10,
              "description": "Occupancy multiplier for each successive month starting at the modeled start date; 1.0 means base occupancy."
            },
            "minItems": 12,
            "maxItems": 12
          },
          "legalStatus": {
            "enum": [
              "permitted",
              "unknown",
              "prohibited"
            ]
          },
          "averageStayNights": {
            "type": "number",
            "minimum": 0.1,
            "maximum": 365,
            "description": "Average occupied nights per cleaning turnover. Defaults to 3 nights."
          },
          "firstMonthRent": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Actual rent charged for the first month, USD."
          },
          "securityDeposit": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Refundable deposit paid at lease start, USD."
          },
          "furnitureCost": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Initial furnishings paid in cash, USD."
          },
          "businessSetupCost": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Setup and licensing paid upfront, USD."
          },
          "monthlyRent": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Recurring lease rent from month two, USD/month."
          },
          "rentersInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Renters insurance, USD/month."
          },
          "leaseStart": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "landlordApproval": {
            "enum": [
              "approved",
              "unknown",
              "denied"
            ]
          },
          "leaseMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 120,
            "description": "Contracted term, whole months."
          },
          "annualRentEscalationPct": {
            "type": "number",
            "minimum": -100,
            "maximum": 100,
            "description": "Rent escalation on each lease anniversary, percentage points per year."
          },
          "replacementMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 120,
            "description": "One-based lease month of replacement."
          },
          "replacementCost": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Replacement outlay on that lease month, USD."
          },
          "terminationMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 120,
            "description": "Last modeled month, one-based from lease start."
          },
          "downsideExitCost": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Early termination outlay, USD."
          },
          "permitCost": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Upfront permit cost, USD."
          }
        },
        "required": [
          "dailyRentalRate",
          "dailyCleaningFee",
          "additionalGuestFee",
          "airbnbExperiences",
          "laundryRevenue",
          "additionalRevenue",
          "occupancyRate",
          "trash",
          "utilities",
          "internet",
          "cleanerExpense",
          "lawnSnow",
          "otherExpenses",
          "maintenanceRate",
          "managementRate",
          "airbnbServiceFeeRate",
          "lodgingTaxPct",
          "seasonality",
          "legalStatus",
          "firstMonthRent",
          "securityDeposit",
          "furnitureCost",
          "businessSetupCost",
          "monthlyRent",
          "rentersInsurance",
          "leaseStart",
          "landlordApproval"
        ],
        "additionalProperties": false,
        "description": "Lease cash flow, startup outlay, payback and break-even occupancy. Lease escalation, replacements and early termination apply to the dated ledger. An unknown permission is hypothetical. A reported denial suppresses the projection."
      },
      "input": {
        "dailyRentalRate": 150,
        "dailyCleaningFee": 45,
        "additionalGuestFee": 5,
        "airbnbExperiences": 30,
        "laundryRevenue": 20,
        "additionalRevenue": 10,
        "occupancyRate": 65,
        "trash": 35,
        "utilities": 175,
        "internet": 50,
        "cleanerExpense": 200,
        "lawnSnow": 35,
        "otherExpenses": 25,
        "maintenanceRate": 4,
        "managementRate": 10,
        "airbnbServiceFeeRate": 3,
        "lodgingTaxPct": 5,
        "seasonality": [
          1,
          1,
          1,
          1,
          1,
          1,
          1,
          1,
          1,
          1,
          1,
          1
        ],
        "legalStatus": "unknown",
        "firstMonthRent": 1500,
        "securityDeposit": 1500,
        "furnitureCost": 5000,
        "businessSetupCost": 300,
        "monthlyRent": 1500,
        "rentersInsurance": 50,
        "leaseStart": "2026-01-01",
        "landlordApproval": "unknown"
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "warnings": [],
          "status": "scenario-only",
          "assumedPermission": "unknown",
          "assumedLandlordApproval": "unknown",
          "screen": {
            "totalUpfrontInvestment": 8300,
            "grossMonthlyRent": 3215.55,
            "grossMonthlyIncome": 3275.55,
            "grossYearlyIncome": 39306.600000000006,
            "totalMonthlyOperatingExpenses": 2528.577,
            "monthlyNetIncome": 746.973,
            "yearlyNetIncome": 8963.676,
            "cashOnCashReturn": 107.99609638554217,
            "paybackPeriodMonths": 11.111512732053233,
            "paybackPeriodStatus": "available",
            "paybackPeriodReason": null,
            "expenseBreakdown": {
              "rent": 1500,
              "insurance": 50,
              "maintenance": 131.02200000000002,
              "management": 327.55500000000006,
              "cleaning": 200,
              "utilities": 260,
              "other": 60
            }
          },
          "ledger": {
            "state": "available",
            "fieldErrors": {},
            "warnings": [],
            "assumptions": [],
            "provenance": [],
            "formulaVersion": "str-arbitrage-lease-ledger-1.2.0",
            "ruleVersions": [
              "str-arbitrage-approval-gates-v1"
            ],
            "auditTrail": [
              "Monthly ledger runs through 12 modeled lease month(s).",
              "Booking revenue includes lodging, cleaning fees, and additional guest fees; recurring experiences, laundry, and additional revenue are modeled separately.",
              "Management and maintenance rates apply to total operating revenue; the platform fee applies only to booking revenue.",
              "Occupied nights are capped at the calendar nights available in each modeled month.",
              "Lodging tax is collected and remitted on lodging, cleaning, and additional guest charges; jurisdiction-specific taxability must be confirmed.",
              "Break-even occupancy is the lowest 0.01 percentage-point value whose cent-rounded recurring modeled lease ledger is non-negative; deposits, setup, permits, replacements, and downside exit costs are excluded from this operating threshold.",
              "Monthly rows and the dated ledger reconcile within 0.00."
            ],
            "value": {
              "months": [
                {
                  "date": "2026-01-01",
                  "rent": "1500",
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "taxRemitted": "171.28",
                  "operatingCosts": "570",
                  "replacementCost": "0",
                  "netCashFlow": "824.76",
                  "reconciliationDifference": "0"
                },
                {
                  "date": "2026-02-01",
                  "rent": "1500",
                  "occupiedNights": "18.2",
                  "lodgingRevenue": "2730",
                  "cleaningRevenue": "273",
                  "additionalGuestRevenue": "91",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3154",
                  "platformFee": "92.82",
                  "managementFee": "315.4",
                  "maintenanceExpense": "126.16",
                  "taxRemitted": "154.7",
                  "operatingCosts": "570",
                  "replacementCost": "0",
                  "netCashFlow": "549.62",
                  "reconciliationDifference": "0"
                },
                {
                  "date": "2026-03-01",
                  "rent": "1500",
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "taxRemitted": "171.28",
                  "operatingCosts": "570",
                  "replacementCost": "0",
                  "netCashFlow": "824.76",
                  "reconciliationDifference": "0"
                },
                {
                  "date": "2026-04-01",
                  "rent": "1500",
                  "occupiedNights": "19.5",
                  "lodgingRevenue": "2925",
                  "cleaningRevenue": "292.5",
                  "additionalGuestRevenue": "97.5",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3375",
                  "platformFee": "99.45",
                  "managementFee": "337.5",
                  "maintenanceExpense": "135",
                  "taxRemitted": "165.75",
                  "operatingCosts": "570",
                  "replacementCost": "0",
                  "netCashFlow": "733.05",
                  "reconciliationDifference": "0"
                },
                {
                  "date": "2026-05-01",
                  "rent": "1500",
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "taxRemitted": "171.28",
                  "operatingCosts": "570",
                  "replacementCost": "0",
                  "netCashFlow": "824.76",
                  "reconciliationDifference": "0"
                },
                {
                  "date": "2026-06-01",
                  "rent": "1500",
                  "occupiedNights": "19.5",
                  "lodgingRevenue": "2925",
                  "cleaningRevenue": "292.5",
                  "additionalGuestRevenue": "97.5",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3375",
                  "platformFee": "99.45",
                  "managementFee": "337.5",
                  "maintenanceExpense": "135",
                  "taxRemitted": "165.75",
                  "operatingCosts": "570",
                  "replacementCost": "0",
                  "netCashFlow": "733.05",
                  "reconciliationDifference": "0"
                },
                {
                  "date": "2026-07-01",
                  "rent": "1500",
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "taxRemitted": "171.28",
                  "operatingCosts": "570",
                  "replacementCost": "0",
                  "netCashFlow": "824.76",
                  "reconciliationDifference": "0"
                },
                {
                  "date": "2026-08-01",
                  "rent": "1500",
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "taxRemitted": "171.28",
                  "operatingCosts": "570",
                  "replacementCost": "0",
                  "netCashFlow": "824.76",
                  "reconciliationDifference": "0"
                },
                {
                  "date": "2026-09-01",
                  "rent": "1500",
                  "occupiedNights": "19.5",
                  "lodgingRevenue": "2925",
                  "cleaningRevenue": "292.5",
                  "additionalGuestRevenue": "97.5",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3375",
                  "platformFee": "99.45",
                  "managementFee": "337.5",
                  "maintenanceExpense": "135",
                  "taxRemitted": "165.75",
                  "operatingCosts": "570",
                  "replacementCost": "0",
                  "netCashFlow": "733.05",
                  "reconciliationDifference": "0"
                },
                {
                  "date": "2026-10-01",
                  "rent": "1500",
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "taxRemitted": "171.28",
                  "operatingCosts": "570",
                  "replacementCost": "0",
                  "netCashFlow": "824.76",
                  "reconciliationDifference": "0"
                },
                {
                  "date": "2026-11-01",
                  "rent": "1500",
                  "occupiedNights": "19.5",
                  "lodgingRevenue": "2925",
                  "cleaningRevenue": "292.5",
                  "additionalGuestRevenue": "97.5",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3375",
                  "platformFee": "99.45",
                  "managementFee": "337.5",
                  "maintenanceExpense": "135",
                  "taxRemitted": "165.75",
                  "operatingCosts": "570",
                  "replacementCost": "0",
                  "netCashFlow": "733.05",
                  "reconciliationDifference": "0"
                },
                {
                  "date": "2026-12-01",
                  "rent": "1500",
                  "occupiedNights": "20.15",
                  "lodgingRevenue": "3022.5",
                  "cleaningRevenue": "302.25",
                  "additionalGuestRevenue": "100.75",
                  "experiencesRevenue": "30",
                  "laundryRevenue": "20",
                  "additionalRevenue": "10",
                  "grossRevenue": "3485.5",
                  "platformFee": "102.77",
                  "managementFee": "348.55",
                  "maintenanceExpense": "139.42",
                  "taxRemitted": "171.28",
                  "operatingCosts": "570",
                  "replacementCost": "0",
                  "netCashFlow": "824.76",
                  "reconciliationDifference": "0"
                }
              ],
              "ledger": [
                {
                  "date": "2026-01-01",
                  "category": "deposit",
                  "description": "Security deposit posted",
                  "amount": "-1500",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "furnishing",
                  "description": "Initial furnishing",
                  "amount": "-5000",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "business-setup",
                  "description": "Business setup and licensing costs",
                  "amount": "-300",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "permit",
                  "description": "Permit cost",
                  "amount": "-0",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "lodging-revenue",
                  "description": "Lodging revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "lease-rent",
                  "description": "Lease rent",
                  "amount": "-1500",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "operating-cost",
                  "description": "Operating costs",
                  "amount": "-570",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "lodging-revenue",
                  "description": "Lodging revenue",
                  "amount": "2730",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "273",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "91",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-92.82",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-315.4",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-126.16",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "154.7",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-154.7",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "lease-rent",
                  "description": "Lease rent",
                  "amount": "-1500",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "operating-cost",
                  "description": "Operating costs",
                  "amount": "-570",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "lodging-revenue",
                  "description": "Lodging revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "lease-rent",
                  "description": "Lease rent",
                  "amount": "-1500",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "operating-cost",
                  "description": "Operating costs",
                  "amount": "-570",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "lodging-revenue",
                  "description": "Lodging revenue",
                  "amount": "2925",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "292.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "97.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-99.45",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-337.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-135",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "lease-rent",
                  "description": "Lease rent",
                  "amount": "-1500",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "operating-cost",
                  "description": "Operating costs",
                  "amount": "-570",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "lodging-revenue",
                  "description": "Lodging revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "lease-rent",
                  "description": "Lease rent",
                  "amount": "-1500",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "operating-cost",
                  "description": "Operating costs",
                  "amount": "-570",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "lodging-revenue",
                  "description": "Lodging revenue",
                  "amount": "2925",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "292.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "97.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-99.45",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-337.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-135",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "lease-rent",
                  "description": "Lease rent",
                  "amount": "-1500",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "operating-cost",
                  "description": "Operating costs",
                  "amount": "-570",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "lodging-revenue",
                  "description": "Lodging revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "lease-rent",
                  "description": "Lease rent",
                  "amount": "-1500",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "operating-cost",
                  "description": "Operating costs",
                  "amount": "-570",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "lodging-revenue",
                  "description": "Lodging revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "lease-rent",
                  "description": "Lease rent",
                  "amount": "-1500",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "operating-cost",
                  "description": "Operating costs",
                  "amount": "-570",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "lodging-revenue",
                  "description": "Lodging revenue",
                  "amount": "2925",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "292.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "97.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-99.45",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-337.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-135",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "lease-rent",
                  "description": "Lease rent",
                  "amount": "-1500",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "operating-cost",
                  "description": "Operating costs",
                  "amount": "-570",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "lodging-revenue",
                  "description": "Lodging revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "lease-rent",
                  "description": "Lease rent",
                  "amount": "-1500",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "operating-cost",
                  "description": "Operating costs",
                  "amount": "-570",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "lodging-revenue",
                  "description": "Lodging revenue",
                  "amount": "2925",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "292.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "97.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-99.45",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-337.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-135",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-165.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "lease-rent",
                  "description": "Lease rent",
                  "amount": "-1500",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "operating-cost",
                  "description": "Operating costs",
                  "amount": "-570",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "lodging-revenue",
                  "description": "Lodging revenue",
                  "amount": "3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "cleaning-revenue",
                  "description": "Cleaning fee charged",
                  "amount": "302.25",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "additional-guest-revenue",
                  "description": "Additional guest fees",
                  "amount": "100.75",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "experiences-revenue",
                  "description": "Experiences revenue",
                  "amount": "30",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "laundry-revenue",
                  "description": "Laundry revenue",
                  "amount": "20",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "additional-revenue",
                  "description": "Additional revenue",
                  "amount": "10",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "platform-fee",
                  "description": "Platform fee",
                  "amount": "-102.77",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "management-fee",
                  "description": "Property management fee",
                  "amount": "-348.55",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "maintenance",
                  "description": "Maintenance expense",
                  "amount": "-139.42",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "lodging-tax-collected",
                  "description": "Lodging tax collected",
                  "amount": "171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "lodging-tax-remitted",
                  "description": "Lodging tax remitted",
                  "amount": "-171.28",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "lease-rent",
                  "description": "Lease rent",
                  "amount": "-1500",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "operating-cost",
                  "description": "Operating costs",
                  "amount": "-570",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "deposit-return",
                  "description": "Security deposit returned",
                  "amount": "1500",
                  "source": "user"
                }
              ],
              "breakEvenOccupancyPct": "47.03",
              "breakEvenState": "bounded",
              "initialCashOutlay": "8300",
              "totalNetCashFlow": "3955.14",
              "reconciliationDifference": "0",
              "leaseEndDate": "2026-12-01"
            }
          }
        },
        "formulaVersion": "investor-str-arbitrage-1.0.0",
        "units": {
          "monetaryAmounts": "USD",
          "calendarDates": "YYYY-MM-DD",
          "dailyRentalRate": "USD/occupied night",
          "dailyCleaningFee": "USD/stay",
          "additionalGuestFee": "USD/occupied night",
          "airbnbExperiences": "USD/month",
          "laundryRevenue": "USD/month",
          "additionalRevenue": "USD/month",
          "seasonality": "12 monthly occupancy multipliers",
          "occupancyRate": "percent",
          "averageStayNights": "nights/stay",
          "managementRate": "percent of revenue",
          "maintenanceRate": "percent of revenue",
          "airbnbServiceFeeRate": "percent of revenue",
          "monthlyRent": "USD/month",
          "annualRentEscalationPct": "annual percent",
          "leaseMonths": "months"
        },
        "assumptions": [
          "Lease cash flow, startup outlay, payback and break-even occupancy. Lease escalation, replacements and early termination apply to the dated ledger. An unknown permission is hypothetical. A reported denial suppresses the projection."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/airbnb-arbitrage"
    },
    {
      "slug": "investor-brrrr",
      "name": "BRRRR financing and sale scenarios",
      "category": "Investment",
      "description": "Acquisition and rehab draws, carry, assumed LTV/DSCR/program caps, refinance shortfalls, rent bands, sale fallback and optional scenario comparison. Caps and seasoning model supplied financing terms.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "purchasePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Acquisition price, USD."
          },
          "rehabCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Aggregate rehabilitation budget, USD, when no draw schedule is supplied."
          },
          "arv": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Assumed completed property value for refinance sizing, USD."
          },
          "purchaseDownPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Cash down payment, USD."
          },
          "purchaseClosingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Upfront closing costs, USD."
          },
          "refiLTV": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Refinance principal cap, percent of assumed property value."
          },
          "refiClosingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Refinance closing costs, USD."
          },
          "monthlyRent": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Stabilized gross rent, USD/month."
          },
          "monthlyOperatingExpenses": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Stabilized operating costs, USD/month."
          },
          "refiInterestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Nominal annual refinance rate, percentage points."
          },
          "refiLoanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Refinance amortization, whole years."
          },
          "startDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "rehabDurationMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 120,
            "description": "Rehabilitation duration, whole months."
          },
          "stabilizationMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 120,
            "description": "Lease-up period after rehab, whole months."
          },
          "acquisitionInterestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual acquisition and draw interest rate, percentage points."
          },
          "holdingTaxesMonthly": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Holding property tax, USD/month."
          },
          "holdingInsuranceMonthly": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Holding property insurance, USD/month."
          },
          "holdingUtilitiesMonthly": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Holding utilities, USD/month."
          },
          "holdingHoaMonthly": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Holding association dues, USD/month."
          },
          "stabilizationPmMonthly": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Management cost during stabilization only, USD/month."
          },
          "requiredDscr": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 20,
            "description": "Minimum modeled refinance DSCR, ratio."
          },
          "programLoanCap": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Caller-supplied maximum principal, USD."
          },
          "seasoningMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 120,
            "description": "Minimum hold under supplied refinance assumption, whole months."
          },
          "stabilizationProbabilityPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Assumed probability of stabilization, percentage points."
          },
          "minimumStabilizationProbabilityPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Caller’s minimum stabilization probability, percentage points."
          },
          "prepaymentPenalty": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Existing loan payoff penalty, USD."
          },
          "rehabDraws": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "month": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 120,
                  "description": "One-based month within the hold."
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Positive rehab principal drawn, USD."
                }
              },
              "required": [
                "month",
                "amount"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 100
          },
          "saleFallback": {
            "type": "object",
            "properties": {
              "date": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "grossProceeds": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Fallback sale gross consideration, USD."
              },
              "sellingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Fallback selling costs, USD."
              }
            },
            "required": [
              "date",
              "grossProceeds",
              "sellingCosts"
            ],
            "additionalProperties": false
          },
          "saleAfterRefi": {
            "type": "object",
            "properties": {
              "salePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Sale price after modeled refinance, USD."
              },
              "sellingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Selling costs after modeled refinance, USD."
              }
            },
            "required": [
              "salePrice",
              "sellingCosts"
            ],
            "additionalProperties": false
          },
          "rentBands": {
            "type": "object",
            "properties": {
              "optimistic": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Upside rent, USD/month."
              },
              "realistic": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Base rent, USD/month."
              },
              "conservative": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Downside rent, USD/month."
              }
            },
            "required": [
              "optimistic",
              "realistic",
              "conservative"
            ],
            "additionalProperties": false
          },
          "compareWith": {
            "type": "object",
            "properties": {
              "purchasePrice": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Acquisition price, USD."
              },
              "rehabCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Aggregate rehabilitation budget, USD, when no draw schedule is supplied."
              },
              "arv": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Assumed completed property value for refinance sizing, USD."
              },
              "purchaseDownPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Cash down payment, USD."
              },
              "purchaseClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Upfront closing costs, USD."
              },
              "refiLTV": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Refinance principal cap, percent of assumed property value."
              },
              "refiClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Refinance closing costs, USD."
              },
              "monthlyRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Stabilized gross rent, USD/month."
              },
              "monthlyOperatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Stabilized operating costs, USD/month."
              },
              "refiInterestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Nominal annual refinance rate, percentage points."
              },
              "refiLoanTerm": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Refinance amortization, whole years."
              },
              "startDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "rehabDurationMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 120,
                "description": "Rehabilitation duration, whole months."
              },
              "stabilizationMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 120,
                "description": "Lease-up period after rehab, whole months."
              },
              "acquisitionInterestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Annual acquisition and draw interest rate, percentage points."
              },
              "holdingTaxesMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Holding property tax, USD/month."
              },
              "holdingInsuranceMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Holding property insurance, USD/month."
              },
              "holdingUtilitiesMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Holding utilities, USD/month."
              },
              "holdingHoaMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Holding association dues, USD/month."
              },
              "stabilizationPmMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Management cost during stabilization only, USD/month."
              },
              "requiredDscr": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 20,
                "description": "Minimum modeled refinance DSCR, ratio."
              },
              "programLoanCap": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Caller-supplied maximum principal, USD."
              },
              "seasoningMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 120,
                "description": "Minimum hold under supplied refinance assumption, whole months."
              },
              "stabilizationProbabilityPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Assumed probability of stabilization, percentage points."
              },
              "minimumStabilizationProbabilityPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Caller’s minimum stabilization probability, percentage points."
              },
              "prepaymentPenalty": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Existing loan payoff penalty, USD."
              },
              "rehabDraws": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "month": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 120,
                      "description": "One-based month within the hold."
                    },
                    "amount": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "Positive rehab principal drawn, USD."
                    }
                  },
                  "required": [
                    "month",
                    "amount"
                  ],
                  "additionalProperties": false
                },
                "minItems": 0,
                "maxItems": 100
              },
              "saleFallback": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "grossProceeds": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Fallback sale gross consideration, USD."
                  },
                  "sellingCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Fallback selling costs, USD."
                  }
                },
                "required": [
                  "date",
                  "grossProceeds",
                  "sellingCosts"
                ],
                "additionalProperties": false
              },
              "saleAfterRefi": {
                "type": "object",
                "properties": {
                  "salePrice": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Sale price after modeled refinance, USD."
                  },
                  "sellingCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Selling costs after modeled refinance, USD."
                  }
                },
                "required": [
                  "salePrice",
                  "sellingCosts"
                ],
                "additionalProperties": false
              },
              "rentBands": {
                "type": "object",
                "properties": {
                  "optimistic": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Upside rent, USD/month."
                  },
                  "realistic": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Base rent, USD/month."
                  },
                  "conservative": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Downside rent, USD/month."
                  }
                },
                "required": [
                  "optimistic",
                  "realistic",
                  "conservative"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "purchasePrice",
              "rehabCosts",
              "arv",
              "purchaseDownPayment",
              "purchaseClosingCosts",
              "refiLTV",
              "refiClosingCosts",
              "monthlyRent",
              "monthlyOperatingExpenses",
              "refiInterestRate",
              "refiLoanTerm",
              "startDate",
              "rehabDurationMonths",
              "stabilizationMonths",
              "acquisitionInterestRate"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "purchasePrice",
          "rehabCosts",
          "arv",
          "purchaseDownPayment",
          "purchaseClosingCosts",
          "refiLTV",
          "refiClosingCosts",
          "monthlyRent",
          "monthlyOperatingExpenses",
          "refiInterestRate",
          "refiLoanTerm",
          "startDate",
          "rehabDurationMonths",
          "stabilizationMonths",
          "acquisitionInterestRate"
        ],
        "additionalProperties": false,
        "description": "Acquisition and rehab draws, carry, assumed LTV/DSCR/program caps, refinance shortfalls, rent bands, sale fallback and optional scenario comparison. Caps and seasoning model supplied financing terms."
      },
      "input": {
        "purchasePrice": 150000,
        "purchaseDownPayment": 30000,
        "rehabCosts": 35000,
        "arv": 250000,
        "purchaseClosingCosts": 3500,
        "refiLTV": 75,
        "refiClosingCosts": 3000,
        "monthlyRent": 2400,
        "monthlyOperatingExpenses": 600,
        "refiInterestRate": 6,
        "refiLoanTerm": 30,
        "startDate": "2026-01-01",
        "rehabDurationMonths": 4,
        "stabilizationMonths": 2,
        "acquisitionInterestRate": 10
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "warnings": [],
          "ledger": {
            "state": "available",
            "fieldErrors": {},
            "warnings": [],
            "assumptions": [
              {
                "key": "minimumStabilizationProbabilityPct",
                "value": "70",
                "source": "user"
              },
              {
                "key": "rehabDrawTiming",
                "value": "month 1",
                "source": "default"
              },
              {
                "key": "requiredDscr",
                "value": "1.25",
                "source": "default"
              },
              {
                "key": "seasoningMonths",
                "value": "6",
                "unit": "months",
                "source": "default"
              },
              {
                "key": "stabilizationProbabilityPct",
                "value": "100",
                "unit": "%",
                "source": "default"
              },
              {
                "key": "minimumStabilizationProbabilityPct",
                "value": "70",
                "unit": "%",
                "source": "default"
              },
              {
                "key": "programLoanCap",
                "value": "250000",
                "unit": "USD",
                "source": "default"
              },
              {
                "key": "prepaymentPenalty",
                "value": "0",
                "unit": "USD",
                "source": "default"
              },
              {
                "key": "failedRefinanceFallback",
                "value": "disabled",
                "source": "default"
              },
              {
                "key": "holdingTaxesMonthly",
                "value": "0",
                "unit": "USD/month",
                "source": "default"
              },
              {
                "key": "holdingInsuranceMonthly",
                "value": "0",
                "unit": "USD/month",
                "source": "default"
              },
              {
                "key": "holdingUtilitiesMonthly",
                "value": "0",
                "unit": "USD/month",
                "source": "default"
              },
              {
                "key": "holdingHoaMonthly",
                "value": "0",
                "unit": "USD/month",
                "source": "default"
              },
              {
                "key": "stabilizationPmMonthly",
                "value": "0",
                "unit": "USD/month",
                "source": "default"
              },
              {
                "key": "nonInterestCarry",
                "value": "0",
                "unit": "USD",
                "source": "default"
              },
              {
                "key": "calculationTimeZone",
                "value": "UTC",
                "source": "default"
              }
            ],
            "provenance": [],
            "formulaVersion": "brrrr-progressive-refi-1.1.0",
            "ruleVersions": [],
            "auditTrail": [
              "1 rehab draws accrued interest only after funding.",
              "Refinance loan is the minimum of LTV, DSCR/debt-constant, and program caps.",
              "A refinance loan smaller than the payoff, refinance costs and prepayment penalty is cash to bring at closing, included in cash left in deal.",
              "Compatibility adapter: the entered rehab draw schedule and refinance assumptions are passed to the canonical sources-and-uses ledger; legacy aggregate inputs are used only when no schedule is supplied."
            ],
            "value": {
              "refiStatus": "success",
              "refiLoan": "187500",
              "refiCaps": {
                "ltv": "187500",
                "dscr": "240179.92",
                "program": "250000"
              },
              "progressiveInterest": "7458.35",
              "oldDebtPayoff": "155000",
              "cashOut": "29500",
              "cashToBring": "0",
              "cashLeftInDeal": "11458.35",
              "totalUses": "353958.35",
              "totalSources": "353958.35",
              "sourcesUsesDifference": "0",
              "drawLedger": [
                {
                  "month": 1,
                  "openingBalance": "120000",
                  "drawn": "35000",
                  "interest": "1000",
                  "closingBalance": "155000"
                },
                {
                  "month": 2,
                  "openingBalance": "155000",
                  "drawn": "0",
                  "interest": "1291.67",
                  "closingBalance": "155000"
                },
                {
                  "month": 3,
                  "openingBalance": "155000",
                  "drawn": "0",
                  "interest": "1291.67",
                  "closingBalance": "155000"
                },
                {
                  "month": 4,
                  "openingBalance": "155000",
                  "drawn": "0",
                  "interest": "1291.67",
                  "closingBalance": "155000"
                },
                {
                  "month": 5,
                  "openingBalance": "155000",
                  "drawn": "0",
                  "interest": "1291.67",
                  "closingBalance": "155000"
                },
                {
                  "month": 6,
                  "openingBalance": "155000",
                  "drawn": "0",
                  "interest": "1291.67",
                  "closingBalance": "155000"
                }
              ],
              "alternativeLedger": []
            }
          },
          "breakdown": {
            "totalCashToClose": 68500,
            "refiLoanAmount": 187500,
            "refiLimitedBy": "ltv",
            "cashOutAmount": 29500,
            "cashLeftInDeal": 11458.35,
            "monthlyCashFlow": 675.8427653386,
            "cashOnCashReturn": 70.77906665500005,
            "cashOnCashStatus": "available",
            "totalCarryCost": 7458.35,
            "totalProjectCost": 75958.35,
            "carryCostBreakdown": {
              "acquisitionInterest": 7458.35,
              "taxes": 0,
              "insurance": 0,
              "utilities": 0,
              "hoa": 0,
              "propertyMgmt": 0,
              "months": 6,
              "rehabMonths": 4,
              "stabilizationMonths": 2
            },
            "refiStatus": "success"
          },
          "bands": {
            "optimistic": {
              "monthlyCashFlow": 915.8427653386,
              "capRate": 16.32,
              "allInCapRate": 13.23243243243243,
              "dscrLender": 1.5311828567180872,
              "dscrStatus": "available",
              "cashOnCash": 95.91357555025985
            },
            "realistic": {
              "monthlyCashFlow": 675.8427653386,
              "capRate": 14.399999999999999,
              "allInCapRate": 11.675675675675675,
              "dscrLender": 1.3919844151982612,
              "dscrStatus": "available",
              "cashOnCash": 70.77906665500005
            },
            "conservative": {
              "monthlyCashFlow": 435.8427653386,
              "capRate": 12.479999999999999,
              "allInCapRate": 10.118918918918919,
              "dscrLender": 1.252785973678435,
              "dscrStatus": "available",
              "cashOnCash": 45.64455775974027
            },
            "breakEvenRent": 1724,
            "conservativeBelowBreakEven": false
          },
          "sale": null,
          "secondScenario": null,
          "comparison": null
        },
        "formulaVersion": "investor-brrrr-1.0.0",
        "units": {
          "monetaryAmounts": "USD",
          "calendarDates": "YYYY-MM-DD",
          "requiredDscr": "ratio",
          "refiLTV": "percent of supplied ARV",
          "refiLoanTerm": "years",
          "acquisitionInterestRate": "annual percent",
          "refiInterestRate": "annual percent",
          "rehabDurationMonths": "months",
          "rentBands": "USD/month"
        },
        "assumptions": [
          "Acquisition and rehab draws, carry, assumed LTV/DSCR/program caps, refinance shortfalls, rent bands, sale fallback and optional scenario comparison. Caps and seasoning model supplied financing terms."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/brrrr"
    },
    {
      "slug": "investor-fix-and-flip",
      "name": "Fix and flip profit and risk",
      "category": "Investment",
      "description": "Cash-funded rehab with acquisition loan interest and points, sale profit and ROI, scheduled work, extension costs, seeded sale-price and delay distributions, and optional side-by-side comparison.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "purchasePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Acquisition price, USD."
          },
          "downPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Cash down payment, USD."
          },
          "purchaseClosingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Upfront closing costs, USD."
          },
          "rehabCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Cash-funded aggregate rehab budget when work rows are absent, USD."
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual nominal loan rate, in percentage points (6.5 = 6.5%)."
          },
          "holdingPeriod": {
            "type": "integer",
            "minimum": 1,
            "maximum": 120,
            "description": "Planned holding period, whole months."
          },
          "monthlyHoldingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Noninterest carrying expense, USD/month."
          },
          "salePrice": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Planned gross sale price, USD."
          },
          "sellingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Selling expenses at the planned sale price, USD."
          },
          "loanPoints": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Upfront fees, percent of the acquisition loan."
          },
          "rehabItems": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Cash cost of this work item, USD."
                },
                "startMonth": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 120,
                  "description": "One-based first month of work."
                },
                "durationMonths": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 120,
                  "description": "Length of work, whole months."
                },
                "dependsOn": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 80,
                    "description": "One-based row number of a prerequisite work item."
                  },
                  "minItems": 0,
                  "maxItems": 80
                }
              },
              "required": [
                "amount",
                "startMonth",
                "durationMonths"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 80
          },
          "extensionStartsMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 120,
            "description": "One-based month when extension fees begin."
          },
          "monthlyExtensionFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Extension fee, USD/month."
          },
          "annualDefaultRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Nominal annual rate during extension, percentage points."
          },
          "salePriceDistribution": {
            "type": "object",
            "properties": {
              "min": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Minimum gross sale price, USD."
              },
              "mode": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Most likely gross sale price, USD."
              },
              "max": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Maximum gross sale price, USD."
              }
            },
            "required": [
              "min",
              "mode",
              "max"
            ],
            "additionalProperties": false
          },
          "delayDistributionMonths": {
            "type": "object",
            "properties": {
              "min": {
                "type": "number",
                "minimum": 0,
                "maximum": 120,
                "description": "Minimum delay, months."
              },
              "mode": {
                "type": "number",
                "minimum": 0,
                "maximum": 120,
                "description": "Most likely delay, months."
              },
              "max": {
                "type": "number",
                "minimum": 0,
                "maximum": 120,
                "description": "Maximum delay, months. Sampled delays round to whole months."
              }
            },
            "required": [
              "min",
              "mode",
              "max"
            ],
            "additionalProperties": false
          },
          "simulationSeed": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295,
            "description": "Unsigned integer pseudorandom seed."
          },
          "simulationSamples": {
            "type": "integer",
            "minimum": 100,
            "maximum": 5000,
            "description": "Whole number of deterministic simulation trials."
          },
          "compareWith": {
            "type": "object",
            "properties": {
              "purchasePrice": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Acquisition price, USD."
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Cash down payment, USD."
              },
              "purchaseClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Upfront closing costs, USD."
              },
              "rehabCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Cash-funded aggregate rehab budget when work rows are absent, USD."
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Annual nominal loan rate, in percentage points (6.5 = 6.5%)."
              },
              "holdingPeriod": {
                "type": "integer",
                "minimum": 1,
                "maximum": 120,
                "description": "Planned holding period, whole months."
              },
              "monthlyHoldingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Noninterest carrying expense, USD/month."
              },
              "salePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Planned gross sale price, USD."
              },
              "sellingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Selling expenses at the planned sale price, USD."
              },
              "loanPoints": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Upfront fees, percent of the acquisition loan."
              },
              "rehabItems": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "amount": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "Cash cost of this work item, USD."
                    },
                    "startMonth": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 120,
                      "description": "One-based first month of work."
                    },
                    "durationMonths": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 120,
                      "description": "Length of work, whole months."
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 80,
                        "description": "One-based row number of a prerequisite work item."
                      },
                      "minItems": 0,
                      "maxItems": 80
                    }
                  },
                  "required": [
                    "amount",
                    "startMonth",
                    "durationMonths"
                  ],
                  "additionalProperties": false
                },
                "minItems": 1,
                "maxItems": 80
              },
              "extensionStartsMonth": {
                "type": "integer",
                "minimum": 1,
                "maximum": 120,
                "description": "One-based month when extension fees begin."
              },
              "monthlyExtensionFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Extension fee, USD/month."
              },
              "annualDefaultRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Nominal annual rate during extension, percentage points."
              },
              "salePriceDistribution": {
                "type": "object",
                "properties": {
                  "min": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Minimum gross sale price, USD."
                  },
                  "mode": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Most likely gross sale price, USD."
                  },
                  "max": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Maximum gross sale price, USD."
                  }
                },
                "required": [
                  "min",
                  "mode",
                  "max"
                ],
                "additionalProperties": false
              },
              "delayDistributionMonths": {
                "type": "object",
                "properties": {
                  "min": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 120,
                    "description": "Minimum delay, months."
                  },
                  "mode": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 120,
                    "description": "Most likely delay, months."
                  },
                  "max": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 120,
                    "description": "Maximum delay, months. Sampled delays round to whole months."
                  }
                },
                "required": [
                  "min",
                  "mode",
                  "max"
                ],
                "additionalProperties": false
              },
              "simulationSeed": {
                "type": "integer",
                "minimum": 0,
                "maximum": 4294967295,
                "description": "Unsigned integer pseudorandom seed."
              },
              "simulationSamples": {
                "type": "integer",
                "minimum": 100,
                "maximum": 5000,
                "description": "Whole number of deterministic simulation trials."
              }
            },
            "required": [
              "purchasePrice",
              "downPayment",
              "purchaseClosingCosts",
              "rehabCosts",
              "interestRate",
              "holdingPeriod",
              "monthlyHoldingCosts",
              "salePrice",
              "sellingCosts"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "purchasePrice",
          "downPayment",
          "purchaseClosingCosts",
          "rehabCosts",
          "interestRate",
          "holdingPeriod",
          "monthlyHoldingCosts",
          "salePrice",
          "sellingCosts"
        ],
        "additionalProperties": false,
        "description": "Cash-funded rehab with acquisition loan interest and points, sale profit and ROI, scheduled work, extension costs, seeded sale-price and delay distributions, and optional side-by-side comparison."
      },
      "input": {
        "purchasePrice": 200000,
        "downPayment": 10000,
        "interestRate": 9,
        "loanPoints": 2,
        "purchaseClosingCosts": 6000,
        "rehabCosts": 30000,
        "holdingPeriod": 6,
        "monthlyHoldingCosts": 500,
        "salePrice": 320000,
        "sellingCosts": 19200,
        "simulationSamples": 250
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "warnings": [],
          "screen": {
            "totalInvestment": 49800,
            "totalCost": 270550,
            "grossProfit": 90000,
            "netProfit": 49450,
            "roi": 99.29718875502009,
            "annualizedRoi": 198.59437751004018
          },
          "ledger": {
            "state": "available",
            "fieldErrors": {},
            "warnings": [],
            "assumptions": [
              {
                "key": "rehabSchedule",
                "value": "one aggregate item",
                "source": "default"
              },
              {
                "key": "rehabFunding",
                "value": "cash (the loan covers the purchase only)",
                "source": "default"
              },
              {
                "key": "loanPoints",
                "value": "2",
                "unit": "%",
                "source": "user"
              },
              {
                "key": "extensionStartsMonth",
                "value": "7",
                "unit": "month",
                "source": "user"
              },
              {
                "key": "monthlyExtensionFee",
                "value": "0",
                "unit": "USD/month",
                "source": "default"
              },
              {
                "key": "annualDefaultRatePct",
                "value": "9",
                "unit": "%",
                "source": "default"
              },
              {
                "key": "salePriceDistribution",
                "value": "-10% / base / +10%",
                "source": "default"
              },
              {
                "key": "delayDistributionMonths",
                "value": "0 / 1 / 3",
                "source": "default"
              },
              {
                "key": "simulationSeed",
                "value": "20260813",
                "source": "default"
              },
              {
                "key": "simulationSamples",
                "value": "250",
                "source": "user"
              }
            ],
            "provenance": [],
            "formulaVersion": "fix-flip-distribution-1.1.0",
            "ruleVersions": [],
            "auditTrail": [
              "Dependency-aware completion month is 6; base hold is 6 months.",
              "250 deterministic triangular scenarios generated from seed 20260813.",
              "Compatibility adapter: the entered rehab dependency schedule, extension terms, and deterministic sale/delay distributions are passed to the canonical project ledger; legacy aggregate values are used only when those fields are absent."
            ],
            "value": {
              "completionMonth": 6,
              "baseHoldMonths": 6,
              "rehabTotal": "30000",
              "progressiveInterest": "8550",
              "holdingCost": "3000",
              "extensionAndDefaultCost": "0",
              "baseProfit": "49450",
              "balancingEquityAfterSale": "-49450",
              "totalSources": "460550",
              "totalUses": "460550",
              "sourcesUsesDifference": "0",
              "distribution": {
                "p10": "30395.89",
                "p50": "46518.26",
                "p90": "62903.15",
                "expected": "46878.29",
                "seed": 20260813,
                "samples": 250
              },
              "drawLedger": [
                {
                  "month": 1,
                  "openingBalance": "190000",
                  "drawn": "0",
                  "interest": "1425",
                  "closingBalance": "190000"
                },
                {
                  "month": 2,
                  "openingBalance": "190000",
                  "drawn": "0",
                  "interest": "1425",
                  "closingBalance": "190000"
                },
                {
                  "month": 3,
                  "openingBalance": "190000",
                  "drawn": "0",
                  "interest": "1425",
                  "closingBalance": "190000"
                },
                {
                  "month": 4,
                  "openingBalance": "190000",
                  "drawn": "0",
                  "interest": "1425",
                  "closingBalance": "190000"
                },
                {
                  "month": 5,
                  "openingBalance": "190000",
                  "drawn": "0",
                  "interest": "1425",
                  "closingBalance": "190000"
                },
                {
                  "month": 6,
                  "openingBalance": "190000",
                  "drawn": "0",
                  "interest": "1425",
                  "closingBalance": "190000"
                }
              ]
            }
          },
          "secondScenario": null,
          "comparison": null
        },
        "formulaVersion": "investor-fix-and-flip-1.0.0",
        "units": {
          "monetaryAmounts": "USD",
          "calendarDates": "YYYY-MM-DD",
          "interestRate": "annual percent",
          "holdingPeriod": "months",
          "monthlyHoldingCosts": "USD/month before interest",
          "sellingCosts": "USD",
          "loanPoints": "percent of acquisition loan",
          "simulationSamples": "trials",
          "delayDistributionMonths": "months"
        },
        "assumptions": [
          "Cash-funded rehab with acquisition loan interest and points, sale profit and ROI, scheduled work, extension costs, seeded sale-price and delay distributions, and optional side-by-side comparison."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/fix-and-flip"
    },
    {
      "slug": "investor-arv-comparables",
      "name": "After-repair scenario and manual comparable analysis",
      "category": "Investment",
      "description": "Applies the supplied after-repair value or the median price per square foot from three or more supplied sales to the profit, offer-rule and price-drop scenarios. Dated comparable sales with distances support a separate weighted planning range. Licensed appraiser review remains outstanding.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "purchasePrice": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Acquisition price, USD."
          },
          "repairCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Upfront repair budget, USD."
          },
          "afterRepairValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Assumed post-repair value overriding the median estimate, USD."
          },
          "holdingCostsPerMonth": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Carrying cost, USD/month."
          },
          "holdingPeriodMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 120,
            "description": "Hold length, whole months."
          },
          "sellingCostsPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Sale expenses as a percent of assumed ARV."
          },
          "arvRulePercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "ARV share in the maximum purchase rule, percentage points."
          },
          "subjectSquareFeet": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000,
            "description": "Subject floor area, square feet."
          },
          "calculationDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "comparables": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "squareFeet": {
                  "type": "number",
                  "minimum": 0.01,
                  "maximum": 1000000000,
                  "description": "Comparable floor area, square feet."
                },
                "salePrice": {
                  "type": "number",
                  "minimum": 0.01,
                  "maximum": 1000000000,
                  "description": "Comparable transaction price, USD."
                },
                "distanceMiles": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 200,
                  "description": "Distance between subject and comparable, miles."
                },
                "saleDate": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "conditionAdjustment": {
                  "type": "number",
                  "minimum": -1000000000,
                  "maximum": 1000000000,
                  "description": "Condition adjustment to sale price, signed USD."
                },
                "featureAdjustment": {
                  "type": "number",
                  "minimum": -1000000000,
                  "maximum": 1000000000,
                  "description": "Feature adjustment to sale price, signed USD."
                },
                "confidencePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Assumed confidence weight for this comparable, percentage points."
                }
              },
              "required": [
                "squareFeet",
                "salePrice"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 25
          }
        },
        "required": [
          "purchasePrice",
          "repairCosts",
          "holdingCostsPerMonth",
          "holdingPeriodMonths",
          "sellingCostsPct",
          "arvRulePercent",
          "subjectSquareFeet",
          "calculationDate",
          "comparables"
        ],
        "additionalProperties": false,
        "description": "Applies the supplied after-repair value or the median price per square foot from three or more supplied sales to the profit, offer-rule and price-drop scenarios. Dated comparable sales with distances support a separate weighted planning range. Licensed appraiser review remains outstanding."
      },
      "input": {
        "purchasePrice": 150000,
        "repairCosts": 20000,
        "holdingCostsPerMonth": 1000,
        "holdingPeriodMonths": 3,
        "sellingCostsPct": 5,
        "arvRulePercent": 70,
        "subjectSquareFeet": 1000,
        "calculationDate": "2026-04-01",
        "comparables": [
          {
            "squareFeet": 1000,
            "salePrice": 190000,
            "distanceMiles": 1,
            "saleDate": "2026-03-01"
          },
          {
            "squareFeet": 1000,
            "salePrice": 200000,
            "distanceMiles": 1,
            "saleDate": "2026-03-01"
          },
          {
            "squareFeet": 1000,
            "salePrice": 210000,
            "distanceMiles": 1,
            "saleDate": "2026-03-01"
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "warnings": [
            {
              "code": "appraiser-review-required",
              "severity": "critical",
              "message": "This is a planning range, not an appraisal. Licensed appraiser review remains required and is not satisfied by this result."
            }
          ],
          "effectiveArv": 200000,
          "summary": {
            "medianPricePerSqft": 200,
            "minPricePerSqft": 190,
            "maxPricePerSqft": 210,
            "suggestedArv": 200000,
            "validCompCount": 3
          },
          "analysis": {
            "totalHoldingCosts": 3000,
            "totalInvestment": 173000,
            "sellingCostsAmt": 10000,
            "netSaleProceeds": 190000,
            "profit": 17000,
            "roi": 9.826589595375722,
            "roiStatus": "available",
            "maxPurchase70": 117000,
            "passes70": false,
            "sensitivity": [
              {
                "pctDrop": 5,
                "adjARV": 190000,
                "adjProfit": 7500,
                "adjROI": 4.335260115606936
              },
              {
                "pctDrop": 10,
                "adjARV": 180000,
                "adjProfit": -2000,
                "adjROI": -1.1560693641618496
              },
              {
                "pctDrop": 15,
                "adjARV": 170000,
                "adjProfit": -11500,
                "adjROI": -6.6473988439306355
              }
            ]
          },
          "weighted": {
            "state": "available",
            "fieldErrors": {},
            "warnings": [
              {
                "code": "appraiser-review-required",
                "severity": "critical",
                "message": "This is a planning range, not an appraisal. Licensed appraiser review remains required and is not satisfied by this result."
              }
            ],
            "assumptions": [
              {
                "key": "comparables[0].conditionAdjustment",
                "value": "0",
                "source": "default"
              },
              {
                "key": "comparables[0].featureAdjustment",
                "value": "0",
                "source": "default"
              },
              {
                "key": "comparables[0].confidencePct",
                "value": "75",
                "source": "default"
              },
              {
                "key": "comparables[1].conditionAdjustment",
                "value": "0",
                "source": "default"
              },
              {
                "key": "comparables[1].featureAdjustment",
                "value": "0",
                "source": "default"
              },
              {
                "key": "comparables[1].confidencePct",
                "value": "75",
                "source": "default"
              },
              {
                "key": "comparables[2].conditionAdjustment",
                "value": "0",
                "source": "default"
              },
              {
                "key": "comparables[2].featureAdjustment",
                "value": "0",
                "source": "default"
              },
              {
                "key": "comparables[2].confidencePct",
                "value": "75",
                "source": "default"
              }
            ],
            "provenance": [],
            "formulaVersion": "arv-weighted-evidence-2.1.0",
            "ruleVersions": [],
            "auditTrail": [
              "3 adjusted comparable indications were normalized to weights summing to 1.",
              "Reported range is the observed adjusted indication range 190000.00 through 210000.00.",
              "Confidence factors: completeness 62.50%, distance 50.00%, size 100.00%, recency 92.17%, effective sample 3.000 (75.00%).",
              "Licensed appraiser review remains required-not-completed; no appraisal conclusion is issued."
            ],
            "value": {
              "estimate": "200000",
              "low": "190000",
              "high": "210000",
              "confidencePct": "62.97",
              "confidenceFactors": {
                "completenessPct": "62.5",
                "distanceQualityPct": "50",
                "sizeSimilarityPct": "100",
                "recencyPct": "92.17",
                "effectiveSampleSize": "3",
                "effectiveSamplePct": "75"
              },
              "appraiserReviewStatus": "required-not-completed",
              "comparables": [
                {
                  "id": "comp-1",
                  "adjustedSalePrice": "190000",
                  "indicatedSubjectValue": "190000",
                  "normalizedWeight": "0.3333333333333333333333333333333333333334",
                  "ageDays": 31,
                  "stale": false
                },
                {
                  "id": "comp-2",
                  "adjustedSalePrice": "200000",
                  "indicatedSubjectValue": "200000",
                  "normalizedWeight": "0.3333333333333333333333333333333333333334",
                  "ageDays": 31,
                  "stale": false
                },
                {
                  "id": "comp-3",
                  "adjustedSalePrice": "210000",
                  "indicatedSubjectValue": "210000",
                  "normalizedWeight": "0.3333333333333333333333333333333333333334",
                  "ageDays": 31,
                  "stale": false
                }
              ]
            }
          }
        },
        "formulaVersion": "investor-arv-comparables-1.0.0",
        "units": {
          "monetaryAmounts": "USD",
          "calendarDates": "YYYY-MM-DD",
          "squareFeet": "ft²",
          "subjectSquareFeet": "ft²",
          "distanceMiles": "miles",
          "conditionAdjustment": "signed USD",
          "featureAdjustment": "signed USD",
          "holdingCostsPerMonth": "USD/month",
          "arvRulePercent": "percent",
          "medianPricePerSqft": "USD/ft²"
        },
        "assumptions": [
          "Applies the supplied after-repair value or the median price per square foot from three or more supplied sales to the profit, offer-rule and price-drop scenarios. Dated comparable sales with distances support a separate weighted planning range. Licensed appraiser review remains outstanding."
        ],
        "warnings": [
          "This is a planning range, not an appraisal. Licensed appraiser review remains required and is not satisfied by this result."
        ],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/arv"
    },
    {
      "slug": "investor-rehab-scope",
      "name": "Rehab scope, contingency and construction schedule",
      "category": "Investment",
      "description": "Category budgets yield direct, carry, contingency and overrun amounts. Quantity and rate rows support dependencies, tax, cash draws, change orders and bid comparison. Dependencies use one-based row numbers. Rates and their date come from the caller.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "mode": {
                "const": "category-budget"
              },
              "demolition": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Demolition/cleanout budget, USD."
              },
              "exterior": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Exterior/structure budget, USD."
              },
              "interior": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Interior budget, USD."
              },
              "mechanicals": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Mechanical systems budget, USD."
              },
              "permitsAndDesign": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Permit/design budget, USD."
              },
              "contingencyPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Reserve, percent of direct scope including tax and permits."
              },
              "monthlyCarryingCost": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Carrying costs, USD/month."
              },
              "projectMonths": {
                "type": "integer",
                "minimum": 1,
                "maximum": 120,
                "description": "Project duration, whole months."
              },
              "overrunStressPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Stress allowance, percent of direct scope including tax and permits."
              },
              "calculationDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "ratesAsOf": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              }
            },
            "required": [
              "mode",
              "demolition",
              "exterior",
              "interior",
              "mechanicals",
              "permitsAndDesign",
              "contingencyPct",
              "monthlyCarryingCost",
              "projectMonths",
              "overrunStressPct",
              "calculationDate",
              "ratesAsOf"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "mode": {
                "const": "line-items"
              },
              "lineItems": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "quantity": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000,
                      "description": "Number of billable units of this work item."
                    },
                    "unitRate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "Cost per billable unit, USD/unit."
                    },
                    "taxPct": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Tax as percent of pre-tax line subtotal."
                    },
                    "durationDays": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 1000,
                      "description": "Duration, whole days."
                    },
                    "dependsOn": {
                      "type": "array",
                      "items": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 80,
                        "description": "One-based row number of prerequisite work."
                      },
                      "minItems": 0,
                      "maxItems": 80
                    }
                  },
                  "required": [
                    "quantity",
                    "unitRate",
                    "taxPct",
                    "durationDays"
                  ],
                  "additionalProperties": false
                },
                "minItems": 1,
                "maxItems": 80
              },
              "permits": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Permit costs, USD."
              },
              "contingencyPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Reserve, percent of direct scope including tax and permits."
              },
              "carryCost": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Total project carrying costs, USD."
              },
              "overrunStressPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Stress allowance, percent of direct scope including tax and permits."
              },
              "calculationDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "ratesAsOf": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "changeOrders": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "date": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                      "description": "Gregorian calendar date, YYYY-MM-DD."
                    },
                    "amount": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "Added project cost, positive USD."
                    }
                  },
                  "required": [
                    "date",
                    "amount"
                  ],
                  "additionalProperties": false
                },
                "minItems": 0,
                "maxItems": 80
              },
              "bids": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "amount": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "Total amount bid, USD."
                    },
                    "receivedDate": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                      "description": "Gregorian calendar date, YYYY-MM-DD."
                    }
                  },
                  "required": [
                    "amount",
                    "receivedDate"
                  ],
                  "additionalProperties": false
                },
                "minItems": 0,
                "maxItems": 80
              }
            },
            "required": [
              "mode",
              "lineItems",
              "permits",
              "contingencyPct",
              "carryCost",
              "overrunStressPct",
              "calculationDate",
              "ratesAsOf"
            ],
            "additionalProperties": false
          }
        ],
        "description": "Category budgets yield direct, carry, contingency and overrun amounts. Quantity and rate rows support dependencies, tax, cash draws, change orders and bid comparison. Dependencies use one-based row numbers. Rates and their date come from the caller."
      },
      "input": {
        "mode": "category-budget",
        "demolition": 3000,
        "exterior": 5000,
        "interior": 10000,
        "mechanicals": 8000,
        "permitsAndDesign": 2000,
        "contingencyPct": 10,
        "monthlyCarryingCost": 1000,
        "projectMonths": 3,
        "overrunStressPct": 15,
        "calculationDate": "2026-03-01",
        "ratesAsOf": "2026-02-10"
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "warnings": [],
          "budget": {
            "directBudget": 28000,
            "contingencyReserve": 2800,
            "carryReserve": 3000,
            "baseProjectNeed": 33800,
            "stressedDirectBudget": 32199.999999999996,
            "stressedProjectNeed": 38000,
            "recommendedCashReserve": 7000,
            "contingencyCoveragePct": 25
          },
          "ledger": {
            "state": "available",
            "fieldErrors": {},
            "warnings": [],
            "assumptions": [
              {
                "key": "overrunStressPct",
                "value": "15",
                "source": "user"
              },
              {
                "key": "lineItemQuantity",
                "value": "1 aggregate scope per category",
                "source": "default"
              },
              {
                "key": "taxPct",
                "value": "0",
                "unit": "%",
                "source": "default"
              },
              {
                "key": "dependencyOrder",
                "value": "demolition -> exterior -> interior -> mechanicals",
                "source": "default"
              },
              {
                "key": "calculationTimeZone",
                "value": "UTC",
                "source": "default"
              }
            ],
            "provenance": [
              {
                "source": "Caller unit-rate assumptions",
                "asOf": "2026-02-10"
              }
            ],
            "formulaVersion": "rehab-scope-critical-path-1.1.0",
            "ruleVersions": [],
            "auditTrail": [
              "4 quantity x rate rows reconciled with tax, permits, contingency, carry, and change orders.",
              "The 15.0000% overrun stress adds 4200.00 to the base project need.",
              "Compatibility adapter: legacy category budgets become explicit quantity x rate rows with a disclosed sequential schedule."
            ],
            "value": {
              "items": [
                {
                  "id": "demolition",
                  "description": "Demolition / cleanout",
                  "quantity": "1",
                  "unitRate": "3000",
                  "subtotal": "3000",
                  "tax": "0",
                  "total": "3000",
                  "startDay": 0,
                  "finishDay": 23
                },
                {
                  "id": "exterior",
                  "description": "Exterior / structure",
                  "quantity": "1",
                  "unitRate": "5000",
                  "subtotal": "5000",
                  "tax": "0",
                  "total": "5000",
                  "startDay": 23,
                  "finishDay": 46
                },
                {
                  "id": "interior",
                  "description": "Interior scope",
                  "quantity": "1",
                  "unitRate": "10000",
                  "subtotal": "10000",
                  "tax": "0",
                  "total": "10000",
                  "startDay": 46,
                  "finishDay": 69
                },
                {
                  "id": "mechanicals",
                  "description": "Mechanical systems",
                  "quantity": "1",
                  "unitRate": "8000",
                  "subtotal": "8000",
                  "tax": "0",
                  "total": "8000",
                  "startDay": 69,
                  "finishDay": 92
                }
              ],
              "subtotal": "26000",
              "tax": "0",
              "permits": "2000",
              "contingency": "2800",
              "carryCost": "3000",
              "changeOrders": "0",
              "total": "33800",
              "overrunStressPct": "15",
              "stressOverrun": "4200",
              "stressedTotal": "38000",
              "criticalPathDays": 92,
              "drawSchedule": [
                {
                  "day": 0,
                  "amount": "3000",
                  "lineItemId": "demolition"
                },
                {
                  "day": 23,
                  "amount": "5000",
                  "lineItemId": "exterior"
                },
                {
                  "day": 46,
                  "amount": "10000",
                  "lineItemId": "interior"
                },
                {
                  "day": 69,
                  "amount": "8000",
                  "lineItemId": "mechanicals"
                }
              ],
              "bids": [],
              "exportRows": [
                [
                  "demolition",
                  "Demolition / cleanout",
                  "1",
                  "3000",
                  "3000.00",
                  "0.00",
                  "3000.00"
                ],
                [
                  "exterior",
                  "Exterior / structure",
                  "1",
                  "5000",
                  "5000.00",
                  "0.00",
                  "5000.00"
                ],
                [
                  "interior",
                  "Interior scope",
                  "1",
                  "10000",
                  "10000.00",
                  "0.00",
                  "10000.00"
                ],
                [
                  "mechanicals",
                  "Mechanical systems",
                  "1",
                  "8000",
                  "8000.00",
                  "0.00",
                  "8000.00"
                ]
              ],
              "reconciliationDifference": "0"
            }
          }
        },
        "formulaVersion": "investor-rehab-scope-1.0.0",
        "units": {
          "monetaryAmounts": "USD",
          "calendarDates": "YYYY-MM-DD",
          "unitRate": "USD/unit",
          "quantity": "units",
          "durationDays": "days",
          "dependsOn": "one-based line indexes",
          "monthlyCarryingCost": "USD/month",
          "projectMonths": "months",
          "taxPct": "percent",
          "overrunStressPct": "percent"
        },
        "assumptions": [
          "Category budgets yield direct, carry, contingency and overrun amounts. Quantity and rate rows support dependencies, tax, cash draws, change orders and bid comparison. Dependencies use one-based row numbers. Rates and their date come from the caller."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/rehab-scope"
    },
    {
      "slug": "investor-wholesale",
      "name": "Wholesale offer and settlement",
      "category": "Investment",
      "description": "Computes end-buyer profit, assignment or double-close settlement from supplied transaction assumptions. Supports a typed end-buyer price. Jurisdiction status records the caller’s assumption and grants no legal eligibility.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "askingPrice": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Seller contract price, USD."
              },
              "assignmentFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Target assignment fee, USD."
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Buyer closing costs in ARV mode, or default closing cost assumption in typed-price mode, USD."
              },
              "holdingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Buyer holding costs in ARV mode or wholesaler other costs in typed-price mode, USD."
              },
              "path": {
                "enum": [
                  "assignment",
                  "double-close"
                ]
              },
              "calculationDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "jurisdictionStatus": {
                "enum": [
                  "unknown",
                  "supported",
                  "prohibited"
                ]
              },
              "earnestDepositAtRisk": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "At-risk deposit, USD."
              },
              "inspectionAndTitleCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Inspection and title cost charged to the wholesaler, USD."
              },
              "assignmentClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Wholesaler assignment closing cost, USD."
              },
              "purchaseClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Wholesaler first closing cost under double closing, USD."
              },
              "resaleClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Wholesaler resale closing cost under double closing, USD."
              },
              "transactionalFundingRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Funding cost on a double closing, percent of the seller contract price."
              },
              "mode": {
                "const": "end-buyer-profit"
              },
              "arv": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Assumed repaired value, USD."
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "End buyer’s repair budget, USD."
              },
              "investorProfitPercentage": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "End buyer’s target profit, percent of ARV."
              },
              "compareWith": {
                "type": "object",
                "properties": {
                  "askingPrice": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Seller contract price, USD."
                  },
                  "assignmentFee": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Target assignment fee, USD."
                  },
                  "closingCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Buyer closing costs in ARV mode, or default closing cost assumption in typed-price mode, USD."
                  },
                  "holdingCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Buyer holding costs in ARV mode or wholesaler other costs in typed-price mode, USD."
                  },
                  "path": {
                    "enum": [
                      "assignment",
                      "double-close"
                    ]
                  },
                  "calculationDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "jurisdictionStatus": {
                    "enum": [
                      "unknown",
                      "supported",
                      "prohibited"
                    ]
                  },
                  "earnestDepositAtRisk": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "At-risk deposit, USD."
                  },
                  "inspectionAndTitleCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Inspection and title cost charged to the wholesaler, USD."
                  },
                  "assignmentClosingCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Wholesaler assignment closing cost, USD."
                  },
                  "purchaseClosingCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Wholesaler first closing cost under double closing, USD."
                  },
                  "resaleClosingCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Wholesaler resale closing cost under double closing, USD."
                  },
                  "transactionalFundingRatePct": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Funding cost on a double closing, percent of the seller contract price."
                  },
                  "mode": {
                    "const": "end-buyer-profit"
                  },
                  "arv": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Assumed repaired value, USD."
                  },
                  "repairCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "End buyer’s repair budget, USD."
                  },
                  "investorProfitPercentage": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "End buyer’s target profit, percent of ARV."
                  }
                },
                "required": [
                  "askingPrice",
                  "assignmentFee",
                  "closingCosts",
                  "holdingCosts",
                  "path",
                  "calculationDate",
                  "jurisdictionStatus",
                  "mode",
                  "arv",
                  "repairCosts",
                  "investorProfitPercentage"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "askingPrice",
              "assignmentFee",
              "closingCosts",
              "holdingCosts",
              "path",
              "calculationDate",
              "jurisdictionStatus",
              "mode",
              "arv",
              "repairCosts",
              "investorProfitPercentage"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "askingPrice": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Seller contract price, USD."
              },
              "assignmentFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Target assignment fee, USD."
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Buyer closing costs in ARV mode, or default closing cost assumption in typed-price mode, USD."
              },
              "holdingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Buyer holding costs in ARV mode or wholesaler other costs in typed-price mode, USD."
              },
              "path": {
                "enum": [
                  "assignment",
                  "double-close"
                ]
              },
              "calculationDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "jurisdictionStatus": {
                "enum": [
                  "unknown",
                  "supported",
                  "prohibited"
                ]
              },
              "earnestDepositAtRisk": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "At-risk deposit, USD."
              },
              "inspectionAndTitleCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Inspection and title cost charged to the wholesaler, USD."
              },
              "assignmentClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Wholesaler assignment closing cost, USD."
              },
              "purchaseClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Wholesaler first closing cost under double closing, USD."
              },
              "resaleClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Wholesaler resale closing cost under double closing, USD."
              },
              "transactionalFundingRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Funding cost on a double closing, percent of the seller contract price."
              },
              "mode": {
                "const": "supplied-buyer-price"
              },
              "endBuyerPrice": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Supplied end-buyer consideration, USD."
              }
            },
            "required": [
              "askingPrice",
              "assignmentFee",
              "closingCosts",
              "holdingCosts",
              "path",
              "calculationDate",
              "jurisdictionStatus",
              "mode",
              "endBuyerPrice"
            ],
            "additionalProperties": false
          }
        ],
        "description": "Computes end-buyer profit, assignment or double-close settlement from supplied transaction assumptions. Supports a typed end-buyer price. Jurisdiction status records the caller’s assumption and grants no legal eligibility."
      },
      "input": {
        "mode": "end-buyer-profit",
        "askingPrice": 100000,
        "assignmentFee": 10000,
        "closingCosts": 3000,
        "holdingCosts": 2000,
        "path": "assignment",
        "calculationDate": "2026-01-01",
        "jurisdictionStatus": "unknown",
        "arv": 220000,
        "repairCosts": 20000,
        "investorProfitPercentage": 30
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "warnings": [
            {
              "code": "not-legal-advice",
              "severity": "info",
              "message": "The engine reconciles transaction economics but does not issue legal eligibility advice."
            }
          ],
          "status": "scenario-only",
          "assumedJurisdictionStatus": "unknown",
          "offer": {
            "maximumAllowableOffer": 119000,
            "contractPrice": 119000,
            "endBuyerPrice": 129000,
            "investorProfitDollar": 66000,
            "totalCapitalNeeded": 154000
          },
          "settlement": {
            "state": "available",
            "fieldErrors": {},
            "warnings": [
              {
                "code": "not-legal-advice",
                "severity": "info",
                "message": "The engine reconciles transaction economics but does not issue legal eligibility advice."
              }
            ],
            "assumptions": [
              {
                "key": "calculationTimeZone",
                "value": "UTC",
                "source": "default"
              }
            ],
            "provenance": [
              {
                "source": "Hypothetical scenario using caller assumptions",
                "asOf": "2026-01-01"
              }
            ],
            "formulaVersion": "wholesale-paths-1.0.0",
            "ruleVersions": [
              "wholesale-jurisdiction-gate-v1"
            ],
            "auditTrail": [
              "End-buyer price is derived from ARV less repairs, the entered target end-buyer profit and the end buyer's own closing and holding costs; it is not manufactured from asking price plus assignment fee.",
              "Calculation calendar date 2026-01-01 interpreted in UTC."
            ],
            "value": {
              "path": "assignment",
              "endBuyerPrice": "129000",
              "grossSpread": "29000",
              "transactionalFunding": "0",
              "totalCosts": "0",
              "profit": "29000",
              "underwrittenArv": "220000",
              "repairCosts": "20000",
              "endBuyerTargetProfit": "66000",
              "targetAssignmentFee": "10000",
              "targetFeeMargin": "19000",
              "targetFeeStatus": "meets-target",
              "statement": [
                {
                  "date": "2026-01-01",
                  "category": "end-buyer",
                  "description": "End buyer consideration",
                  "amount": "129000",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "contract",
                  "description": "Seller contract price",
                  "amount": "-100000",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "inspection-title",
                  "description": "Inspection and title costs",
                  "amount": "-0",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "deposit-risk",
                  "description": "Earnest deposit at risk",
                  "amount": "-0",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "closing",
                  "description": "Assignment closing costs",
                  "amount": "-0",
                  "source": "calculated"
                }
              ],
              "eligibilityClaim": "not-evaluated"
            }
          },
          "secondScenario": null,
          "higherOfferScenario": null
        },
        "formulaVersion": "investor-wholesale-1.0.0",
        "units": {
          "monetaryAmounts": "USD",
          "calendarDates": "YYYY-MM-DD",
          "investorProfitPercentage": "percent of ARV",
          "transactionalFundingRatePct": "percent of seller contract price"
        },
        "assumptions": [
          "Computes end-buyer profit, assignment or double-close settlement from supplied transaction assumptions. Supports a typed end-buyer price. Jurisdiction status records the caller’s assumption and grants no legal eligibility."
        ],
        "warnings": [
          "The engine reconciles transaction economics but does not issue legal eligibility advice."
        ],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/wholesale"
    },
    {
      "slug": "investor-wholesale-quick",
      "name": "Wholesale 70% rule",
      "category": "Investment",
      "description": "Computes the 70% rule offer, assignment profit, end-buyer equity and the fixed quick screen. The fee is added to the seller offer. A supplied offer overrides the rule.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "arv": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Assumed repaired value, USD."
          },
          "repairCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "End buyer’s repair budget, USD."
          },
          "assignmentFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Fee added to seller offer, USD."
          },
          "maoOverride": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Caller’s maximum seller offer replacing the 70% formula, USD."
          }
        },
        "required": [
          "arv",
          "repairCosts",
          "assignmentFee"
        ],
        "additionalProperties": false,
        "description": "Computes the 70% rule offer, assignment profit, end-buyer equity and the fixed quick screen. The fee is added to the seller offer. A supplied offer overrides the rule."
      },
      "input": {
        "arv": 200000,
        "repairCosts": 20000,
        "assignmentFee": 10000
      },
      "output": {
        "status": "available",
        "result": {
          "mao": 120000,
          "wholesalerProfit": 10000,
          "endBuyerEquity": 50000,
          "dealRating": "green"
        },
        "formulaVersion": "investor-wholesale-quick-1.0.0",
        "units": {
          "monetaryAmounts": "USD",
          "calendarDates": "YYYY-MM-DD",
          "arv": "USD",
          "maoOverride": "USD",
          "assignmentFee": "USD",
          "endBuyerEquity": "USD"
        },
        "assumptions": [
          "Computes the 70% rule offer, assignment profit, end-buyer equity and the fixed quick screen. The fee is added to the seller offer. A supplied offer overrides the rule."
        ],
        "warnings": [],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/wholesale-quick"
    },
    {
      "slug": "investor-commercial",
      "name": "Commercial and multifamily property analysis",
      "category": "Investment",
      "description": "Models acquisition cash, financed payment, balloon, per-unit metrics, ratios and an income-capitalization scenario. Rent-roll mode takes anonymous lease rows for vacancy, rent loss, tenant improvements and net reversion. The assumed cap rate and rents are supplied.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "mode": {
                "const": "acquisition"
              },
              "purchasePrice": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Acquisition price, USD."
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Cash down payment, USD."
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Annual nominal loan rate, in percentage points (6.5 = 6.5%)."
              },
              "loanTerm": {
                "type": "integer",
                "minimum": 1,
                "maximum": 30,
                "description": "Commercial maturity/balloon, whole years."
              },
              "amortizationYears": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Full amortization schedule, whole years."
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Upfront closing costs, USD."
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Upfront repair budget, USD."
              },
              "grossPotentialIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Gross potential income, USD/year."
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Gross potential income lost, percentage points."
              },
              "propertyTaxes": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Tax expense, USD/year."
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Insurance expense, USD/year."
              },
              "propertyManagement": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Property management, percent of effective collected income."
              },
              "maintenance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Maintenance expense, USD/year."
              },
              "otherExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Other operating expense, USD/year."
              },
              "capRateBasis": {
                "enum": [
                  "market",
                  "purchase"
                ]
              },
              "marketCapRate": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 100,
                "description": "Assumed market capitalization rate, annual percentage points."
              },
              "startDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "numberOfUnits": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100000,
                "description": "Whole property unit count."
              },
              "compareWith": {
                "type": "object",
                "properties": {
                  "mode": {
                    "const": "acquisition"
                  },
                  "purchasePrice": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Acquisition price, USD."
                  },
                  "downPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Cash down payment, USD."
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual nominal loan rate, in percentage points (6.5 = 6.5%)."
                  },
                  "loanTerm": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 30,
                    "description": "Commercial maturity/balloon, whole years."
                  },
                  "amortizationYears": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 50,
                    "description": "Full amortization schedule, whole years."
                  },
                  "closingCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Upfront closing costs, USD."
                  },
                  "repairCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Upfront repair budget, USD."
                  },
                  "grossPotentialIncome": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Gross potential income, USD/year."
                  },
                  "vacancyRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Gross potential income lost, percentage points."
                  },
                  "propertyTaxes": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Tax expense, USD/year."
                  },
                  "insurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Insurance expense, USD/year."
                  },
                  "propertyManagement": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Property management, percent of effective collected income."
                  },
                  "maintenance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Maintenance expense, USD/year."
                  },
                  "otherExpenses": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Other operating expense, USD/year."
                  },
                  "capRateBasis": {
                    "enum": [
                      "market",
                      "purchase"
                    ]
                  },
                  "marketCapRate": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 100,
                    "description": "Assumed market capitalization rate, annual percentage points."
                  },
                  "startDate": {
                    "type": "string",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                    "description": "Gregorian calendar date, YYYY-MM-DD."
                  },
                  "numberOfUnits": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 100000,
                    "description": "Whole property unit count."
                  }
                },
                "required": [
                  "mode",
                  "purchasePrice",
                  "downPayment",
                  "interestRate",
                  "loanTerm",
                  "amortizationYears",
                  "closingCosts",
                  "repairCosts",
                  "grossPotentialIncome",
                  "vacancyRate",
                  "propertyTaxes",
                  "insurance",
                  "propertyManagement",
                  "maintenance",
                  "otherExpenses",
                  "capRateBasis",
                  "marketCapRate",
                  "startDate",
                  "numberOfUnits"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "mode",
              "purchasePrice",
              "downPayment",
              "interestRate",
              "loanTerm",
              "amortizationYears",
              "closingCosts",
              "repairCosts",
              "grossPotentialIncome",
              "vacancyRate",
              "propertyTaxes",
              "insurance",
              "propertyManagement",
              "maintenance",
              "otherExpenses",
              "capRateBasis",
              "marketCapRate",
              "startDate",
              "numberOfUnits"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "mode": {
                "const": "rent-roll"
              },
              "startDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "horizonMonths": {
                "type": "integer",
                "minimum": 1,
                "maximum": 360,
                "description": "Analysis horizon, whole months."
              },
              "propertyType": {
                "enum": [
                  "multifamily",
                  "office",
                  "retail",
                  "industrial",
                  "mixed-use"
                ]
              },
              "rentRoll": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "unitsOrSquareFeet": {
                      "type": "number",
                      "minimum": 0.01,
                      "maximum": 100000000,
                      "description": "Units or square feet associated with the row, according to property type. The rent inputs are totals for the row."
                    },
                    "monthlyContractRent": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "Contract rent for the entire row, USD/month."
                    },
                    "monthlyMarketRent": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "Assumed market rent for the entire row, USD/month."
                    },
                    "leaseStart": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                      "description": "Gregorian calendar date, YYYY-MM-DD."
                    },
                    "leaseEnd": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                      "description": "Gregorian calendar date, YYYY-MM-DD."
                    },
                    "tiCost": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "Tenant-improvement outlay at lease start, USD."
                    },
                    "leasingCommission": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "Leasing commission at lease start, USD."
                    }
                  },
                  "required": [
                    "unitsOrSquareFeet",
                    "monthlyContractRent",
                    "monthlyMarketRent",
                    "leaseStart",
                    "leaseEnd"
                  ],
                  "additionalProperties": false
                },
                "minItems": 1,
                "maxItems": 100
              },
              "otherMonthlyIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Recurring income in addition to the rent roll, USD/month."
              },
              "vacancyPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Vacancy share, percent of gross potential receipts."
              },
              "badDebtPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Bad-debt share, percent of gross potential receipts."
              },
              "annualOperatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Operating expenses, USD/year."
              },
              "annualReplacementReserve": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Replacement reserve, USD/year."
              },
              "annualDebtService": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Scheduled debt payments, USD/year."
              },
              "currentLoanBalance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Current loan principal, USD."
              },
              "initialEquity": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Initial equity contributed, USD."
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Upfront closing costs, USD."
              },
              "initialCapex": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Initial capital expenditure, USD."
              },
              "exitCapRatePct": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 100,
                "description": "Assumed exit capitalization rate, annual percentage points."
              },
              "saleCostPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Selling costs as percent of the modeled sale value."
              },
              "balloonDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^(?!00)\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "refiProceeds": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Refinance proceeds on the supplied balloon date, USD."
              }
            },
            "required": [
              "mode",
              "startDate",
              "horizonMonths",
              "propertyType",
              "rentRoll",
              "otherMonthlyIncome",
              "vacancyPct",
              "badDebtPct",
              "annualOperatingExpenses",
              "annualReplacementReserve",
              "annualDebtService",
              "currentLoanBalance",
              "exitCapRatePct",
              "saleCostPct"
            ],
            "additionalProperties": false
          }
        ],
        "description": "Models acquisition cash, financed payment, balloon, per-unit metrics, ratios and an income-capitalization scenario. Rent-roll mode takes anonymous lease rows for vacancy, rent loss, tenant improvements and net reversion. The assumed cap rate and rents are supplied."
      },
      "input": {
        "mode": "acquisition",
        "purchasePrice": 850000,
        "downPayment": 250000,
        "interestRate": 6.5,
        "loanTerm": 5,
        "amortizationYears": 25,
        "closingCosts": 25000,
        "repairCosts": 15000,
        "grossPotentialIncome": 132000,
        "vacancyRate": 5,
        "propertyTaxes": 12000,
        "insurance": 6000,
        "propertyManagement": 5,
        "maintenance": 8000,
        "otherExpenses": 4000,
        "capRateBasis": "market",
        "marketCapRate": 7,
        "startDate": "2026-01-01",
        "numberOfUnits": 8
      },
      "output": {
        "status": "available",
        "result": {
          "screen": {
            "loanAmount": 600000,
            "totalInitialInvestment": 290000,
            "effectiveGrossIncome": 125400,
            "totalOperatingExpenses": 36270,
            "netOperatingIncome": 89130,
            "annualDebtService": 48614.9156170296,
            "cashFlowBeforeTaxes": 40515.0843829704,
            "cashOnCashReturn": 13.970718752748414,
            "capRate": 10.485882352941177,
            "debtServiceCoverageRatio": 1.8333879400744684,
            "debtServiceCoverageStatus": "available",
            "estimatedValue": 1273285.714285714
          },
          "builtInEquity": 423285.7142857141,
          "debt": {
            "monthlyPayment": 4051.2429680858,
            "balloonAmount": 543372.9804772185,
            "totalInterestUntilBalloon": 186447.55856236652,
            "totalInterestFullAmort": 615372.89042574
          },
          "state": "available",
          "warnings": [],
          "ledger": {
            "state": "available",
            "fieldErrors": {},
            "warnings": [],
            "assumptions": [
              {
                "key": "propertyType",
                "value": "multifamily",
                "source": "user"
              },
              {
                "key": "initialEquity",
                "value": "250000",
                "source": "user"
              },
              {
                "key": "closingCosts",
                "value": "25000",
                "source": "user"
              },
              {
                "key": "initialCapex",
                "value": "15000",
                "source": "user"
              },
              {
                "key": "rentRollMode",
                "value": "aggregate legacy income row",
                "source": "default"
              },
              {
                "key": "badDebtPct",
                "value": "0",
                "unit": "%",
                "source": "default"
              },
              {
                "key": "annualReplacementReserve",
                "value": "0",
                "unit": "USD",
                "source": "default"
              },
              {
                "key": "saleCostPct",
                "value": "6",
                "unit": "%",
                "source": "default"
              },
              {
                "key": "initialEquity",
                "value": "250000",
                "unit": "USD",
                "source": "default"
              },
              {
                "key": "closingCosts",
                "value": "25000",
                "unit": "USD",
                "source": "default"
              },
              {
                "key": "initialCapex",
                "value": "15000",
                "unit": "USD",
                "source": "default"
              },
              {
                "key": "calculationTimeZone",
                "value": "UTC",
                "source": "default"
              }
            ],
            "provenance": [],
            "formulaVersion": "commercial-rent-roll-1.1.0",
            "ruleVersions": [],
            "auditTrail": [
              "Rent-roll contract rent sums to annual GPR with a 0.00 difference.",
              "Initial invested cash includes 250000.00 equity, 25000.00 closing costs, and 15000.00 initial capital expenditures.",
              "Stabilized reversion uses 7% exit capitalization and 6% sale costs.",
              "Compatibility adapter: aggregate annual income is represented as one disclosed rent-roll row pending tenant-level entries; equity, closing costs, and initial capital expenditures reconcile canonical invested cash and cash-on-cash."
            ],
            "value": {
              "grossPotentialRent": "132000",
              "marketGrossPotentialRent": "132000",
              "lossToLease": "0",
              "trailingNoi": "89130",
              "stabilizedNoi": "89130",
              "trailingDscr": "1.833387940074445122943649489255167880404",
              "stabilizedDscr": "1.833387940074445122943649489255167880404",
              "debtYield": "0.14855",
              "initialCashInvestment": "290000",
              "annualCashFlow": "40515.08",
              "cashOnCashReturnPct": "13.97071724137931034482758620689655172414",
              "valuation": "1273285.71",
              "netReversion": "596888.57",
              "ledger": [
                {
                  "date": "2026-01-01",
                  "category": "initial-equity",
                  "description": "Initial equity contribution",
                  "amount": "-250000",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "closing-cost",
                  "description": "Acquisition closing costs",
                  "amount": "-25000",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "initial-capex",
                  "description": "Initial capital expenditures",
                  "amount": "-15000",
                  "source": "user"
                },
                {
                  "date": "2026-01-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-01-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-02-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-03-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-04-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-05-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-06-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-07-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-08-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-09-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-10-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-11-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2026-12-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2027-01-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2027-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-01-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2027-02-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2027-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-02-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2027-03-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2027-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-03-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2027-04-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2027-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-04-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2027-05-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2027-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-05-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2027-06-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2027-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-06-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2027-07-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2027-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-07-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2027-08-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2027-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-08-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2027-09-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2027-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-09-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2027-10-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2027-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-10-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2027-11-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2027-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-11-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2027-12-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2027-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2027-12-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2028-01-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2028-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2028-01-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2028-02-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2028-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2028-02-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2028-03-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2028-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2028-03-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2028-04-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2028-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2028-04-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2028-05-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2028-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2028-05-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2028-06-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2028-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2028-06-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2028-07-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2028-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2028-07-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2028-08-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2028-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2028-08-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2028-09-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2028-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2028-09-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2028-10-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2028-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2028-10-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2028-11-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2028-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2028-11-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2028-12-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2028-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2028-12-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2029-01-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2029-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2029-01-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2029-02-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2029-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2029-02-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2029-03-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2029-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2029-03-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2029-04-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2029-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2029-04-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2029-05-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2029-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2029-05-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2029-06-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2029-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2029-06-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2029-07-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2029-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2029-07-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2029-08-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2029-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2029-08-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2029-09-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2029-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2029-09-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2029-10-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2029-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2029-10-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2029-11-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2029-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2029-11-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2029-12-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2029-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2029-12-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2030-01-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2030-01-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2030-01-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2030-02-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2030-02-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2030-02-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2030-03-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2030-03-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2030-03-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2030-04-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2030-04-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2030-04-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2030-05-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2030-05-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2030-05-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2030-06-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2030-06-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2030-06-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2030-07-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2030-07-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2030-07-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2030-08-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2030-08-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2030-08-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2030-09-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2030-09-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2030-09-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2030-10-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2030-10-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2030-10-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2030-11-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2030-11-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2030-11-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2030-12-01",
                  "category": "effective-gross-income",
                  "description": "Collected rent and other income",
                  "amount": "10450",
                  "source": "calculated"
                },
                {
                  "date": "2030-12-01",
                  "category": "operating-expense",
                  "description": "Operating expenses and reserves",
                  "amount": "-3022.5",
                  "source": "calculated"
                },
                {
                  "date": "2030-12-01",
                  "category": "debt-service",
                  "description": "Debt service",
                  "amount": "-4051.24",
                  "source": "calculated"
                },
                {
                  "date": "2031-01-01",
                  "category": "balloon",
                  "description": "Loan balloon payoff",
                  "amount": "-600000",
                  "source": "user"
                }
              ],
              "rentRoll": [
                {
                  "id": "aggregate-rent-roll",
                  "contractRent": "11000",
                  "marketRent": "11000",
                  "unitsOrSquareFeet": "8"
                }
              ],
              "reconciliationDifference": "0"
            }
          },
          "ratios": {
            "debtYield": 14.854999999999999,
            "oer": 28.923444976076556
          },
          "breakEvenOccupancyPct": 64.30675425532544,
          "perUnit": {
            "annualGross": 16500,
            "annualNoi": 11141.25,
            "annualOperatingExpenses": 4533.75,
            "incomeBasedValue": 159160.71428571426,
            "annualCashFlow": 5064.3855478713,
            "price": 106250
          },
          "secondScenario": null,
          "higherScenario": null
        },
        "formulaVersion": "investor-commercial-1.0.0",
        "units": {
          "monetaryAmounts": "USD",
          "calendarDates": "YYYY-MM-DD",
          "interestRate": "annual percent",
          "propertyTaxes": "USD/year",
          "insurance": "USD/year",
          "maintenance": "USD/year",
          "propertyManagement": "percent of collected income",
          "otherExpenses": "USD/year",
          "grossPotentialIncome": "USD/year",
          "monthlyContractRent": "USD/month for entire row",
          "monthlyMarketRent": "USD/month for entire row",
          "marketCapRate": "annual percent"
        },
        "assumptions": [
          "Models acquisition cash, financed payment, balloon, per-unit metrics, ratios and an income-capitalization scenario. Rent-roll mode takes anonymous lease rows for vacancy, rent loss, tenant improvements and net reversion. The assumed cap rate and rents are supplied."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/commercial"
    },
    {
      "slug": "investor-portfolio",
      "name": "Portfolio ledger and rent sensitivity",
      "category": "Investment",
      "description": "Combines supplied monthly property ledgers, debt, capital and dated flows. Includes concentration, maturities, XIRR, projections and rent sensitivity. Omitted debt, debt service or rent is unknown. Mark an incomplete expense ledger explicitly.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "asOfDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "staleAfterDays": {
            "type": "integer",
            "minimum": 0,
            "maximum": 3650,
            "description": "Freshness window in whole calendar days."
          },
          "appreciationRatePct": {
            "type": "number",
            "minimum": -100,
            "maximum": 100,
            "description": "Assumed annual property-value growth in percentage points."
          },
          "properties": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "marketGroup": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 50,
                  "description": "Unitless positive group number. Properties in the same market share a number."
                },
                "propertyType": {
                  "enum": [
                    "single-family",
                    "condo",
                    "townhome",
                    "multifamily",
                    "commercial",
                    "land",
                    "other"
                  ]
                },
                "valueCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000,
                  "description": "USD cents, integer amount."
                },
                "debtCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000,
                  "description": "USD cents, integer amount."
                },
                "monthlyRentCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000,
                  "description": "USD cents for this month, integer amount."
                },
                "monthlyExpenseCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000,
                  "description": "USD cents for this month, integer amount."
                },
                "monthlyDebtServiceCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000,
                  "description": "USD cents for this month, integer amount."
                },
                "completeOperatingExpenses": {
                  "type": "boolean"
                },
                "cashInvestedCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 100000000000,
                  "description": "USD cents, integer amount."
                },
                "valuationAsOf": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "debtAsOf": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "maturityDate": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "flows": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "date": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "description": "Gregorian calendar date, YYYY-MM-DD."
                      },
                      "amountCents": {
                        "type": "integer",
                        "minimum": -100000000000,
                        "maximum": 100000000000,
                        "description": "Signed USD cents. Investment outlays are negative and receipts positive."
                      }
                    },
                    "required": [
                      "date",
                      "amountCents"
                    ],
                    "additionalProperties": false
                  },
                  "minItems": 0,
                  "maxItems": 36
                }
              },
              "required": [
                "marketGroup",
                "propertyType",
                "valueCents",
                "monthlyExpenseCents",
                "completeOperatingExpenses",
                "valuationAsOf",
                "debtAsOf",
                "flows"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 25
          },
          "correlation": {
            "type": "object",
            "properties": {
              "asOfDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "matrix": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "type": "number",
                    "minimum": -1,
                    "maximum": 1,
                    "description": "Unitless correlation coefficient (−1 to 1)."
                  },
                  "minItems": 1,
                  "maxItems": 10
                },
                "minItems": 1,
                "maxItems": 10
              }
            },
            "required": [
              "asOfDate",
              "matrix"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "staleAfterDays",
          "appreciationRatePct",
          "properties"
        ],
        "additionalProperties": false,
        "description": "Combines supplied monthly property ledgers, debt, capital and dated flows. Includes concentration, maturities, XIRR, projections and rent sensitivity. Omitted debt, debt service or rent is unknown. Mark an incomplete expense ledger explicitly."
      },
      "input": {
        "asOfDate": "2026-01-01",
        "staleAfterDays": 120,
        "appreciationRatePct": 3,
        "properties": [
          {
            "marketGroup": 1,
            "propertyType": "multifamily",
            "valueCents": 40000000,
            "debtCents": 24000000,
            "monthlyRentCents": 300000,
            "monthlyExpenseCents": 90000,
            "monthlyDebtServiceCents": 145000,
            "completeOperatingExpenses": true,
            "cashInvestedCents": 12000000,
            "valuationAsOf": "2026-01-01",
            "debtAsOf": "2026-01-01",
            "flows": []
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "formulaVersion": "portfolio-ledger-1.0.0",
          "status": "available",
          "totalValueCents": 40000000,
          "totalDebtCents": 24000000,
          "totalEquityCents": 16000000,
          "totalAnnualNoiCents": 2520000,
          "totalAnnualDebtServiceCents": 1740000,
          "totalAnnualIncomeCents": 3600000,
          "totalAnnualOperatingExpensesCents": 1080000,
          "totalMonthlyCashFlowCents": 65000,
          "averageCapRatePct": 6.3,
          "averageCashOnCashPct": 6.5,
          "portfolioLtvPct": 60,
          "portfolioCashOnEquityPct": 4.875,
          "portfolioDscr": 1.4482758620689655,
          "portfolioXirr": null,
          "portfolioXirrState": "no-root",
          "stalePropertyIds": [],
          "maturityCalendar": [],
          "concentrationByMarketPct": {
            "market-1": 100
          },
          "concentrationByTypePct": {
            "multifamily": 100
          },
          "drillback": [
            {
              "propertyId": "property-1",
              "valueCents": 40000000,
              "debtCents": 24000000,
              "sourceFlowIds": []
            }
          ],
          "correlationStatus": "not-provided",
          "correlationSource": null,
          "operatingExpenseCoverage": "complete",
          "cashInvestmentCoverage": "complete",
          "debtBalanceCoverage": "complete",
          "debtServiceCoverage": "complete",
          "rentCoverage": "complete",
          "appreciationRatePct": 3,
          "equityProjection": [
            {
              "year": 1,
              "projectedValueCents": 41200000,
              "projectedEquityCents": 17200000
            },
            {
              "year": 2,
              "projectedValueCents": 42436000,
              "projectedEquityCents": 18436000
            },
            {
              "year": 3,
              "projectedValueCents": 43709080,
              "projectedEquityCents": 19709080
            },
            {
              "year": 4,
              "projectedValueCents": 45020352,
              "projectedEquityCents": 21020352
            },
            {
              "year": 5,
              "projectedValueCents": 46370963,
              "projectedEquityCents": 22370963
            }
          ],
          "propertyMetrics": [
            {
              "propertyId": "property-1",
              "address": "property-1",
              "valueCents": 40000000,
              "debtCents": 24000000,
              "equityCents": 16000000,
              "monthlyRentCents": 300000,
              "monthlyOperatingExpensesCents": 90000,
              "monthlyDebtServiceCents": 145000,
              "operatingExpensesComplete": true,
              "monthlyCashFlowCents": 65000,
              "annualNoiCents": 2520000,
              "capRatePct": 6.3,
              "cashOnCashPct": 6.5,
              "cashOnEquityPct": 4.875,
              "dscr": 1.4482758620689655,
              "cashInvestedCents": 12000000
            }
          ],
          "issues": [],
          "rentSensitivity": {
            "breakEvenRent": 2350,
            "scenarios": [
              {
                "changePct": -10,
                "rent": 2700,
                "monthlyCashFlow": 350
              },
              {
                "changePct": 0,
                "rent": 3000,
                "monthlyCashFlow": 650
              },
              {
                "changePct": 10,
                "rent": 3300,
                "monthlyCashFlow": 950
              }
            ]
          }
        },
        "formulaVersion": "portfolio-ledger-1.0.0-marketplace.1",
        "units": {
          "*Cents": "integer USD cents",
          "*Pct": "percentage points",
          "portfolioXirr": "annual decimal rate",
          "portfolioDscr": "ratio",
          "rentSensitivity": "USD/month",
          "*Date": "YYYY-MM-DD"
        },
        "assumptions": [
          "Combines supplied monthly property ledgers, debt, capital and dated flows. Includes concentration, maturities, XIRR, projections and rent sensitivity. Omitted debt, debt service or rent is unknown. Mark an incomplete expense ledger explicitly."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/portfolio"
    },
    {
      "slug": "investor-equity-miner",
      "name": "Portfolio equity scenarios",
      "category": "Investment",
      "description": "Computes equity, appreciation, modeled draw capacity, and 30-year payment differences at a supplied comparison rate. Uses the app’s 85% HELOC and 80% cash-out assumptions.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "conventional30Y": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual nominal interest rate in percentage points (6.5 means 6.5%)."
          },
          "properties": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "currentValue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD, one-time amount."
                },
                "mortgageBalance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD, one-time amount."
                },
                "originalPurchasePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD, one-time amount."
                },
                "currentRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 50,
                  "description": "Annual nominal interest rate in percentage points (6.5 means 6.5%)."
                }
              },
              "required": [
                "currentValue",
                "mortgageBalance",
                "originalPurchasePrice",
                "currentRate"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 5
          }
        },
        "required": [
          "conventional30Y",
          "properties"
        ],
        "additionalProperties": false,
        "description": "Computes equity, appreciation, modeled draw capacity, and 30-year payment differences at a supplied comparison rate. Uses the app’s 85% HELOC and 80% cash-out assumptions."
      },
      "input": {
        "conventional30Y": 5,
        "properties": [
          {
            "currentValue": 450000,
            "mortgageBalance": 280000,
            "originalPurchasePrice": 350000,
            "currentRate": 6.5
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "rows": [
            {
              "propertyIndex": 0,
              "currentValue": 450000,
              "equity": 170000,
              "equityPercent": 37.77777777777778,
              "helocPotential": 102500,
              "cashOutRefiPotential": 80000,
              "appreciationPercent": 28.57142857142857
            }
          ],
          "totals": {
            "totalEquity": 170000,
            "totalHeloc": 102500,
            "totalCashOut": 80000,
            "totalValue": 450000
          },
          "scenarios": [
            {
              "propertyIndex": 0,
              "type": "refi",
              "estimatedSavingsPerYear": 3200.2790561556003,
              "estimatedAvailableEquity": 170000
            },
            {
              "propertyIndex": 0,
              "type": "heloc",
              "estimatedSavingsPerYear": 0,
              "estimatedAvailableEquity": 102500
            },
            {
              "propertyIndex": 0,
              "type": "cash-out",
              "estimatedSavingsPerYear": 0,
              "estimatedAvailableEquity": 80000
            }
          ]
        },
        "formulaVersion": "investor-equity-miner-1.0.0",
        "units": {
          "currentRate": "annual percentage points",
          "conventional30Y": "annual percentage points",
          "*Percent": "percentage points",
          "estimatedSavingsPerYear": "USD/year",
          "monetaryAmounts": "USD"
        },
        "assumptions": [
          "Computes equity, appreciation, modeled draw capacity, and 30-year payment differences at a supplied comparison rate. Uses the app’s 85% HELOC and 80% cash-out assumptions."
        ],
        "warnings": [],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/equity-miner"
    },
    {
      "slug": "investor-rental-tracker",
      "name": "Rental income and expense ledger",
      "category": "Investment",
      "description": "Builds balanced journal entries and cash-basis totals from up to five anonymous property ledgers for a supplied year. Supports the app’s five other-income categories, dated expenses, late fees and uncollected rent.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "year": {
            "type": "integer",
            "minimum": 1900,
            "maximum": 2200,
            "description": "Gregorian calendar year."
          },
          "properties": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "months": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "month": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 12,
                        "description": "Calendar month number, January = 1."
                      },
                      "rentReceived": {
                        "type": "boolean"
                      },
                      "rentCents": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100000000000,
                        "description": "USD cents for this month, integer amount."
                      },
                      "rentDate": {
                        "type": "string",
                        "format": "date",
                        "minLength": 10,
                        "maxLength": 10,
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "description": "Gregorian calendar date, YYYY-MM-DD."
                      },
                      "lateFeeCents": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100000000000,
                        "description": "USD cents for this month, integer amount."
                      },
                      "otherIncomeCents": {
                        "type": "object",
                        "properties": {
                          "laundry": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100000000000,
                            "description": "USD cents for this month, integer amount."
                          },
                          "storage": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100000000000,
                            "description": "USD cents for this month, integer amount."
                          },
                          "parking": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100000000000,
                            "description": "USD cents for this month, integer amount."
                          },
                          "fees": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100000000000,
                            "description": "USD cents for this month, integer amount."
                          },
                          "other": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 100000000000,
                            "description": "USD cents for this month, integer amount."
                          }
                        },
                        "required": [],
                        "additionalProperties": false
                      },
                      "expenses": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "category": {
                              "enum": [
                                "Advertising",
                                "Auto & Travel",
                                "Cleaning & Maintenance",
                                "Commissions",
                                "Insurance",
                                "Legal & Professional",
                                "Management Fees",
                                "Mortgage Interest",
                                "Other Interest",
                                "Repairs",
                                "Supplies",
                                "Taxes",
                                "Utilities",
                                "Other"
                              ]
                            },
                            "date": {
                              "type": "string",
                              "format": "date",
                              "minLength": 10,
                              "maxLength": 10,
                              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                              "description": "Gregorian calendar date, YYYY-MM-DD."
                            },
                            "amountCents": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 100000000000,
                              "description": "USD cents, integer amount."
                            }
                          },
                          "required": [
                            "category",
                            "date",
                            "amountCents"
                          ],
                          "additionalProperties": false
                        },
                        "minItems": 0,
                        "maxItems": 20
                      }
                    },
                    "required": [
                      "month",
                      "rentReceived",
                      "rentCents",
                      "lateFeeCents",
                      "expenses"
                    ],
                    "additionalProperties": false
                  },
                  "minItems": 0,
                  "maxItems": 12
                }
              },
              "required": [
                "months"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 5
          }
        },
        "required": [
          "year",
          "properties"
        ],
        "additionalProperties": false,
        "description": "Builds balanced journal entries and cash-basis totals from up to five anonymous property ledgers for a supplied year. Supports the app’s five other-income categories, dated expenses, late fees and uncollected rent."
      },
      "input": {
        "year": 2026,
        "properties": [
          {
            "months": [
              {
                "month": 1,
                "rentReceived": true,
                "rentCents": 180000,
                "lateFeeCents": 0,
                "otherIncomeCents": {
                  "parking": 5000
                },
                "expenses": [
                  {
                    "category": "Repairs",
                    "date": "2026-01-03",
                    "amountCents": 15000
                  }
                ]
              }
            ]
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "formulaVersion": "rules-workflows-1.1.0",
          "status": "balanced",
          "entryCount": 3,
          "incomeCents": 185000,
          "expenseCents": 15000,
          "netCents": 170000,
          "issues": [],
          "assumptions": [
            "Rent is recognized only when the month is marked received.",
            "Late fees and other-income entries are treated as received cash."
          ],
          "provenance": [
            "User-entered rental tracker rows projected into balanced double-entry journals."
          ],
          "periodTotals": [
            {
              "propertyIndex": 0,
              "year": 2026,
              "months": [
                {
                  "month": 1,
                  "incomeCents": 185000,
                  "expenseCents": 15000,
                  "netCents": 170000
                }
              ],
              "incomeCents": 185000,
              "expenseCents": 15000,
              "netCents": 170000
            }
          ],
          "entries": [
            {
              "id": "property-1:2026-1:income:rent",
              "tenantId": "scenario",
              "propertyId": "property-1",
              "occurredOn": "2026-01-01",
              "category": "Rent received",
              "memo": "Rent received recorded for property-1",
              "revision": 1,
              "postings": [
                {
                  "accountId": "asset:cash",
                  "debitCents": 180000,
                  "creditCents": 0
                },
                {
                  "accountId": "income:rent",
                  "debitCents": 0,
                  "creditCents": 180000
                }
              ]
            },
            {
              "id": "property-1:2026-1:income:parking",
              "tenantId": "scenario",
              "propertyId": "property-1",
              "occurredOn": "2026-01-01",
              "category": "Other income: parking",
              "memo": "Other income: parking recorded for property-1",
              "revision": 1,
              "postings": [
                {
                  "accountId": "asset:cash",
                  "debitCents": 5000,
                  "creditCents": 0
                },
                {
                  "accountId": "income:parking",
                  "debitCents": 0,
                  "creditCents": 5000
                }
              ]
            },
            {
              "id": "property-1:2026-1:expense:expense-1",
              "tenantId": "scenario",
              "propertyId": "property-1",
              "occurredOn": "2026-01-03",
              "category": "Repairs",
              "memo": "Repairs",
              "revision": 1,
              "postings": [
                {
                  "accountId": "expense:repairs",
                  "debitCents": 15000,
                  "creditCents": 0
                },
                {
                  "accountId": "asset:cash",
                  "debitCents": 0,
                  "creditCents": 15000
                }
              ]
            }
          ],
          "csv": "\"entry_id\",\"property_id\",\"occurred_on\",\"category\",\"memo\",\"account_id\",\"debit_cents\",\"credit_cents\"\r\n\"property-1:2026-1:income:parking\",\"property-1\",\"2026-01-01\",\"Other income: parking\",\"Other income: parking recorded for property-1\",\"asset:cash\",\"5000\",\"0\"\r\n\"property-1:2026-1:income:parking\",\"property-1\",\"2026-01-01\",\"Other income: parking\",\"Other income: parking recorded for property-1\",\"income:parking\",\"0\",\"5000\"\r\n\"property-1:2026-1:income:rent\",\"property-1\",\"2026-01-01\",\"Rent received\",\"Rent received recorded for property-1\",\"asset:cash\",\"180000\",\"0\"\r\n\"property-1:2026-1:income:rent\",\"property-1\",\"2026-01-01\",\"Rent received\",\"Rent received recorded for property-1\",\"income:rent\",\"0\",\"180000\"\r\n\"property-1:2026-1:expense:expense-1\",\"property-1\",\"2026-01-03\",\"Repairs\",\"Repairs\",\"expense:repairs\",\"15000\",\"0\"\r\n\"property-1:2026-1:expense:expense-1\",\"property-1\",\"2026-01-03\",\"Repairs\",\"Repairs\",\"asset:cash\",\"0\",\"15000\"\r\n"
        },
        "formulaVersion": "rules-workflows-1.1.0-marketplace.1",
        "units": {
          "*Cents": "integer USD cents",
          "month": "calendar month 1–12",
          "year": "calendar year",
          "date": "YYYY-MM-DD"
        },
        "assumptions": [
          "Builds balanced journal entries and cash-basis totals from up to five anonymous property ledgers for a supplied year. Supports the app’s five other-income categories, dated expenses, late fees and uncollected rent."
        ],
        "warnings": [],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/tracker"
    },
    {
      "slug": "investor-deal-finder",
      "name": "Field deal analysis",
      "category": "Investment",
      "description": "Scores a rental from unit rents, operating expenses and financing, or models an entered flip including 2 loan points and 6% sale costs. One- and fifty-percent rental screens and the flip’s seventy-percent screen use the original app ledger.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "asOfDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "unitRents": {
                "type": "array",
                "items": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD per month for this unit."
                },
                "minItems": 1,
                "maxItems": 50
              },
              "maintenancePercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points of scheduled monthly rent (8 means 8%)."
              },
              "managementPercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points of scheduled monthly rent (8 means 8%)."
              },
              "managementMonthlyAmount": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "purchasePrice": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "USD, one-time amount."
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD, one-time amount."
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 50,
                "description": "Annual nominal interest rate in percentage points (6.5 means 6.5%)."
              },
              "loanTerm": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Amortization term in whole years."
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD, one-time amount."
              },
              "renovationCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD, one-time amount."
              },
              "otherIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points of gross monthly income lost to vacancy."
              },
              "propertyTax": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "hoaFees": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "utilities": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "otherExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "targetDscr": {
                "type": "number",
                "minimum": 0,
                "maximum": 20,
                "description": "Debt-service coverage multiple (1.25 means 1.25×)."
              },
              "pmi": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "analysisType": {
                "const": "rental"
              }
            },
            "required": [
              "asOfDate",
              "unitRents",
              "maintenancePercent",
              "managementPercent",
              "purchasePrice",
              "downPayment",
              "interestRate",
              "loanTerm",
              "closingCosts",
              "renovationCosts",
              "otherIncome",
              "vacancyRate",
              "propertyTax",
              "insurance",
              "hoaFees",
              "utilities",
              "otherExpenses",
              "targetDscr",
              "analysisType"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "asOfDate": {
                "type": "string",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Gregorian calendar date, YYYY-MM-DD."
              },
              "unitRents": {
                "type": "array",
                "items": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD per month for this unit."
                },
                "minItems": 1,
                "maxItems": 50
              },
              "maintenancePercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points of scheduled monthly rent (8 means 8%)."
              },
              "managementPercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points of scheduled monthly rent (8 means 8%)."
              },
              "managementMonthlyAmount": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "purchasePrice": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "USD, one-time amount."
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD, one-time amount."
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 50,
                "description": "Annual nominal interest rate in percentage points (6.5 means 6.5%)."
              },
              "loanTerm": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Amortization term in whole years."
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD, one-time amount."
              },
              "renovationCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD, one-time amount."
              },
              "otherIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points of gross monthly income lost to vacancy."
              },
              "propertyTax": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "hoaFees": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "utilities": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "otherExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "targetDscr": {
                "type": "number",
                "minimum": 0,
                "maximum": 20,
                "description": "Debt-service coverage multiple (1.25 means 1.25×)."
              },
              "pmi": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD per month."
              },
              "analysisType": {
                "const": "flip"
              },
              "flip": {
                "type": "object",
                "properties": {
                  "arv": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Caller-assumed after-repair sale price in USD."
                  },
                  "rehabCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD, one-time amount."
                  },
                  "holdingPeriod": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 120,
                    "description": "Holding period in whole months."
                  },
                  "monthlyHoldingCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month."
                  }
                },
                "required": [
                  "arv",
                  "rehabCosts",
                  "holdingPeriod",
                  "monthlyHoldingCosts"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "asOfDate",
              "unitRents",
              "maintenancePercent",
              "managementPercent",
              "purchasePrice",
              "downPayment",
              "interestRate",
              "loanTerm",
              "closingCosts",
              "renovationCosts",
              "otherIncome",
              "vacancyRate",
              "propertyTax",
              "insurance",
              "hoaFees",
              "utilities",
              "otherExpenses",
              "targetDscr",
              "analysisType",
              "flip"
            ],
            "additionalProperties": false
          }
        ],
        "description": "Scores a rental from unit rents, operating expenses and financing, or models an entered flip including 2 loan points and 6% sale costs. One- and fifty-percent rental screens and the flip’s seventy-percent screen use the original app ledger."
      },
      "input": {
        "analysisType": "rental",
        "asOfDate": "2026-01-01",
        "unitRents": [
          1200,
          1200
        ],
        "maintenancePercent": 5,
        "managementPercent": 8,
        "purchasePrice": 240000,
        "downPayment": 48000,
        "interestRate": 6,
        "loanTerm": 30,
        "closingCosts": 3500,
        "renovationCosts": 12000,
        "otherIncome": 0,
        "vacancyRate": 5,
        "propertyTax": 210,
        "insurance": 75,
        "hoaFees": 0,
        "utilities": 75,
        "otherExpenses": 50,
        "targetDscr": 1.25
      },
      "output": {
        "status": "available",
        "result": {
          "flipResults": null,
          "onePercentRule": {
            "scheduledGrossMonthlyRent": 2400,
            "rentToPriceRatio": 0.01,
            "passes": true
          },
          "fiftyPercentRule": {
            "scheduledGrossMonthlyRent": 2400,
            "monthlyOperatingExpenses": 722,
            "operatingExpenseRatio": 0.30083333333333334,
            "passes": true
          },
          "seventyPercentRule": null,
          "dealScore": 93,
          "results": {
            "monthlyCashFlow": 406.8629917067001,
            "annualCashFlow": 4882.355900480401,
            "noi": 18696,
            "capRate": 7.79,
            "allInCapRate": 7.419047619047619,
            "cashOnCashReturn": 7.688749449575434,
            "dscr": 1.3534444542877861,
            "dscrStatus": "available",
            "grm": 8.333333333333334,
            "breakEvenRatio": 82.1551319426886,
            "totalInvestment": 63500,
            "loanAmount": 192000,
            "monthlyPI": 1151.1370082933,
            "grossMonthlyIncome": 2400,
            "effectiveMonthlyIncome": 2280,
            "totalMonthlyOperatingExpenses": 722,
            "totalMonthlyExpenses": 1873.1370082933,
            "monthlyPmi": 0,
            "firstYearPrincipalPaydown": 2357.7824875714887,
            "expenseBreakdown": {
              "pi": 1151.1370082933,
              "tax": 210,
              "insurance": 75,
              "management": 192,
              "maintenance": 120,
              "other": 125
            },
            "meetsSuppliedDscr": true
          },
          "scheduledRent": 2400,
          "appliedMaintenance": 120,
          "appliedManagement": 192,
          "assumptions": [
            {
              "key": "propertyType",
              "value": "single_family",
              "source": "default"
            }
          ]
        },
        "formulaVersion": "deal-finder-financial-2.2.0-marketplace.1",
        "units": {
          "loanTerm": "years",
          "flip.holdingPeriod": "months",
          "interestRate": "annual percentage points",
          "*Percent": "percentage points",
          "vacancyRate": "percentage points",
          "targetDscr": "ratio",
          "unitRents": "USD/month per unit",
          "propertyTax": "USD/month",
          "insurance": "USD/month",
          "operatingAmounts": "USD/month",
          "acquisitionAndRehab": "USD",
          "noi": "USD/year",
          "dealScore": "screening score 0–100",
          "*Ratio": "decimal ratio"
        },
        "assumptions": [
          "Scores a rental from unit rents, operating expenses and financing, or models an entered flip including 2 loan points and 6% sale costs. One- and fifty-percent rental screens and the flip’s seventy-percent screen use the original app ledger."
        ],
        "warnings": [],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/deal-finder"
    },
    {
      "slug": "investor-deal-comparison",
      "name": "Compare field deals",
      "category": "Investment",
      "description": "Compares two to four supplied property scenarios. Rental scores are comparable across rental rows. Flip rows show the same rental baseline as the comparison table and retain their independent flip ledger. Equal highest scores share the top rank.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "deals": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "asOfDate": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "Gregorian calendar date, YYYY-MM-DD."
                    },
                    "unitRents": {
                      "type": "array",
                      "items": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month for this unit."
                      },
                      "minItems": 1,
                      "maxItems": 50
                    },
                    "maintenancePercent": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Percentage points of scheduled monthly rent (8 means 8%)."
                    },
                    "managementPercent": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Percentage points of scheduled monthly rent (8 means 8%)."
                    },
                    "managementMonthlyAmount": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "purchasePrice": {
                      "type": "number",
                      "minimum": 0.01,
                      "maximum": 1000000000,
                      "description": "USD, one-time amount."
                    },
                    "downPayment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD, one-time amount."
                    },
                    "interestRate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 50,
                      "description": "Annual nominal interest rate in percentage points (6.5 means 6.5%)."
                    },
                    "loanTerm": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 50,
                      "description": "Amortization term in whole years."
                    },
                    "closingCosts": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD, one-time amount."
                    },
                    "renovationCosts": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD, one-time amount."
                    },
                    "otherIncome": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "vacancyRate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Percentage points of gross monthly income lost to vacancy."
                    },
                    "propertyTax": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "insurance": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "hoaFees": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "utilities": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "otherExpenses": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "targetDscr": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 20,
                      "description": "Debt-service coverage multiple (1.25 means 1.25×)."
                    },
                    "pmi": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "analysisType": {
                      "const": "rental"
                    }
                  },
                  "required": [
                    "asOfDate",
                    "unitRents",
                    "maintenancePercent",
                    "managementPercent",
                    "purchasePrice",
                    "downPayment",
                    "interestRate",
                    "loanTerm",
                    "closingCosts",
                    "renovationCosts",
                    "otherIncome",
                    "vacancyRate",
                    "propertyTax",
                    "insurance",
                    "hoaFees",
                    "utilities",
                    "otherExpenses",
                    "targetDscr",
                    "analysisType"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "asOfDate": {
                      "type": "string",
                      "format": "date",
                      "minLength": 10,
                      "maxLength": 10,
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "description": "Gregorian calendar date, YYYY-MM-DD."
                    },
                    "unitRents": {
                      "type": "array",
                      "items": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month for this unit."
                      },
                      "minItems": 1,
                      "maxItems": 50
                    },
                    "maintenancePercent": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Percentage points of scheduled monthly rent (8 means 8%)."
                    },
                    "managementPercent": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Percentage points of scheduled monthly rent (8 means 8%)."
                    },
                    "managementMonthlyAmount": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "purchasePrice": {
                      "type": "number",
                      "minimum": 0.01,
                      "maximum": 1000000000,
                      "description": "USD, one-time amount."
                    },
                    "downPayment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD, one-time amount."
                    },
                    "interestRate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 50,
                      "description": "Annual nominal interest rate in percentage points (6.5 means 6.5%)."
                    },
                    "loanTerm": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 50,
                      "description": "Amortization term in whole years."
                    },
                    "closingCosts": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD, one-time amount."
                    },
                    "renovationCosts": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD, one-time amount."
                    },
                    "otherIncome": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "vacancyRate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Percentage points of gross monthly income lost to vacancy."
                    },
                    "propertyTax": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "insurance": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "hoaFees": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "utilities": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "otherExpenses": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "targetDscr": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 20,
                      "description": "Debt-service coverage multiple (1.25 means 1.25×)."
                    },
                    "pmi": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month."
                    },
                    "analysisType": {
                      "const": "flip"
                    },
                    "flip": {
                      "type": "object",
                      "properties": {
                        "arv": {
                          "type": "number",
                          "minimum": 0.01,
                          "maximum": 1000000000,
                          "description": "Caller-assumed after-repair sale price in USD."
                        },
                        "rehabCosts": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1000000000,
                          "description": "USD, one-time amount."
                        },
                        "holdingPeriod": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 120,
                          "description": "Holding period in whole months."
                        },
                        "monthlyHoldingCosts": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1000000000,
                          "description": "USD per month."
                        }
                      },
                      "required": [
                        "arv",
                        "rehabCosts",
                        "holdingPeriod",
                        "monthlyHoldingCosts"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "asOfDate",
                    "unitRents",
                    "maintenancePercent",
                    "managementPercent",
                    "purchasePrice",
                    "downPayment",
                    "interestRate",
                    "loanTerm",
                    "closingCosts",
                    "renovationCosts",
                    "otherIncome",
                    "vacancyRate",
                    "propertyTax",
                    "insurance",
                    "hoaFees",
                    "utilities",
                    "otherExpenses",
                    "targetDscr",
                    "analysisType",
                    "flip"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "minItems": 2,
            "maxItems": 4
          }
        },
        "required": [
          "deals"
        ],
        "additionalProperties": false,
        "description": "Compares two to four supplied property scenarios. Rental scores are comparable across rental rows. Flip rows show the same rental baseline as the comparison table and retain their independent flip ledger. Equal highest scores share the top rank."
      },
      "input": {
        "deals": [
          {
            "analysisType": "rental",
            "asOfDate": "2026-01-01",
            "unitRents": [
              1200,
              1200
            ],
            "maintenancePercent": 5,
            "managementPercent": 8,
            "purchasePrice": 240000,
            "downPayment": 48000,
            "interestRate": 6,
            "loanTerm": 30,
            "closingCosts": 3500,
            "renovationCosts": 12000,
            "otherIncome": 0,
            "vacancyRate": 5,
            "propertyTax": 210,
            "insurance": 75,
            "hoaFees": 0,
            "utilities": 75,
            "otherExpenses": 50,
            "targetDscr": 1.25
          },
          {
            "analysisType": "rental",
            "asOfDate": "2026-01-01",
            "unitRents": [
              1300,
              1300
            ],
            "maintenancePercent": 5,
            "managementPercent": 8,
            "purchasePrice": 240000,
            "downPayment": 48000,
            "interestRate": 6,
            "loanTerm": 30,
            "closingCosts": 3500,
            "renovationCosts": 12000,
            "otherIncome": 0,
            "vacancyRate": 5,
            "propertyTax": 210,
            "insurance": 75,
            "hoaFees": 0,
            "utilities": 75,
            "otherExpenses": 50,
            "targetDscr": 1.25
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "rows": [
            {
              "flipResults": null,
              "onePercentRule": {
                "scheduledGrossMonthlyRent": 2400,
                "rentToPriceRatio": 0.01,
                "passes": true
              },
              "fiftyPercentRule": {
                "scheduledGrossMonthlyRent": 2400,
                "monthlyOperatingExpenses": 722,
                "operatingExpenseRatio": 0.30083333333333334,
                "passes": true
              },
              "seventyPercentRule": null,
              "dealScore": 93,
              "results": {
                "monthlyCashFlow": 406.8629917067001,
                "annualCashFlow": 4882.355900480401,
                "noi": 18696,
                "capRate": 7.79,
                "allInCapRate": 7.419047619047619,
                "cashOnCashReturn": 7.688749449575434,
                "dscr": 1.3534444542877861,
                "dscrStatus": "available",
                "grm": 8.333333333333334,
                "breakEvenRatio": 82.1551319426886,
                "totalInvestment": 63500,
                "loanAmount": 192000,
                "monthlyPI": 1151.1370082933,
                "grossMonthlyIncome": 2400,
                "effectiveMonthlyIncome": 2280,
                "totalMonthlyOperatingExpenses": 722,
                "totalMonthlyExpenses": 1873.1370082933,
                "monthlyPmi": 0,
                "firstYearPrincipalPaydown": 2357.7824875714887,
                "expenseBreakdown": {
                  "pi": 1151.1370082933,
                  "tax": 210,
                  "insurance": 75,
                  "management": 192,
                  "maintenance": 120,
                  "other": 125
                },
                "meetsSuppliedDscr": true
              },
              "scheduledRent": 2400,
              "appliedMaintenance": 120,
              "appliedManagement": 192,
              "assumptions": [
                {
                  "key": "propertyType",
                  "value": "single_family",
                  "source": "default"
                }
              ]
            },
            {
              "flipResults": null,
              "onePercentRule": {
                "scheduledGrossMonthlyRent": 2600,
                "rentToPriceRatio": 0.010833333333333334,
                "passes": true
              },
              "fiftyPercentRule": {
                "scheduledGrossMonthlyRent": 2600,
                "monthlyOperatingExpenses": 748,
                "operatingExpenseRatio": 0.2876923076923077,
                "passes": true
              },
              "seventyPercentRule": null,
              "dealScore": 100,
              "results": {
                "monthlyCashFlow": 570.8629917067001,
                "annualCashFlow": 6850.355900480401,
                "noi": 20664,
                "capRate": 8.61,
                "allInCapRate": 8.200000000000001,
                "cashOnCashReturn": 10.787962048000633,
                "dscr": 1.4959122915812373,
                "dscrStatus": "available",
                "grm": 7.6923076923076925,
                "breakEvenRatio": 76.888137987583,
                "totalInvestment": 63500,
                "loanAmount": 192000,
                "monthlyPI": 1151.1370082933,
                "grossMonthlyIncome": 2600,
                "effectiveMonthlyIncome": 2470,
                "totalMonthlyOperatingExpenses": 748,
                "totalMonthlyExpenses": 1899.1370082933,
                "monthlyPmi": 0,
                "firstYearPrincipalPaydown": 2357.7824875714887,
                "expenseBreakdown": {
                  "pi": 1151.1370082933,
                  "tax": 210,
                  "insurance": 75,
                  "management": 208,
                  "maintenance": 130,
                  "other": 125
                },
                "meetsSuppliedDscr": true
              },
              "scheduledRent": 2600,
              "appliedMaintenance": 130,
              "appliedManagement": 208,
              "assumptions": [
                {
                  "key": "propertyType",
                  "value": "single_family",
                  "source": "default"
                }
              ]
            }
          ],
          "topRentalIndexes": [
            1
          ],
          "combinedPurchasePrice": 480000,
          "combinedMonthlyCashFlow": 978,
          "averageCapRate": 8.2,
          "averageCashOnCash": 9.238355748788035
        },
        "formulaVersion": "investor-deal-comparison-1.0.0",
        "units": {
          "loanTerm": "years",
          "flip.holdingPeriod": "months",
          "interestRate": "annual percentage points",
          "*Percent": "percentage points",
          "vacancyRate": "percentage points",
          "targetDscr": "ratio",
          "unitRents": "USD/month per unit",
          "propertyTax": "USD/month",
          "insurance": "USD/month",
          "operatingAmounts": "USD/month",
          "acquisitionAndRehab": "USD",
          "noi": "USD/year",
          "dealScore": "screening score 0–100",
          "*Ratio": "decimal ratio"
        },
        "assumptions": [
          "Compares two to four supplied property scenarios. Rental scores are comparable across rental rows. Flip rows show the same rental baseline as the comparison table and retain their independent flip ledger. Equal highest scores share the top rank."
        ],
        "warnings": [],
        "creditCost": 20
      },
      "calculatorPath": "/calculator/investment/deal-finder"
    },
    {
      "slug": "investor-field-rehab",
      "name": "Field rehab cost estimate",
      "category": "Investment",
      "description": "Adds caller-supplied custom line amounts to a manual base or one of HT Calc’s field renovation templates. Template amounts are illustrative USD allowances.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "template": {
                "enum": [
                  "Kitchen Remodel",
                  "Bathroom Remodel",
                  "Full Interior Paint",
                  "Basement Finishing",
                  "Roof Replacement",
                  "Deck Construction",
                  "Window Replacement (10 Windows)",
                  "Flooring Replacement (1000 sqft)",
                  "Exterior Siding Replacement",
                  "Garage Build/Remodel",
                  "Landscaping Overhaul"
                ]
              },
              "customCosts": {
                "type": "array",
                "items": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD, one-time amount."
                },
                "minItems": 0,
                "maxItems": 100
              }
            },
            "required": [
              "template",
              "customCosts"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "template": {
                "const": "manual"
              },
              "manualBase": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD, one-time amount."
              },
              "customCosts": {
                "type": "array",
                "items": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD, one-time amount."
                },
                "minItems": 0,
                "maxItems": 100
              }
            },
            "required": [
              "template",
              "manualBase",
              "customCosts"
            ],
            "additionalProperties": false
          }
        ],
        "description": "Adds caller-supplied custom line amounts to a manual base or one of HT Calc’s field renovation templates. Template amounts are illustrative USD allowances."
      },
      "input": {
        "template": "Kitchen Remodel",
        "customCosts": [
          1250
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "template": "Kitchen Remodel",
          "lines": [
            {
              "name": "New Cabinets",
              "category": "Materials",
              "estimated": 5000
            },
            {
              "name": "Countertops",
              "category": "Materials",
              "estimated": 3000
            },
            {
              "name": "Appliances (Fridge, Stove, etc)",
              "category": "Materials",
              "estimated": 4000
            },
            {
              "name": "Flooring",
              "category": "Materials",
              "estimated": 1500
            },
            {
              "name": "Installation Labor",
              "category": "Labor",
              "estimated": 3000
            },
            {
              "name": "Plumbing",
              "category": "Labor",
              "estimated": 1200
            },
            {
              "name": "Electrical Work",
              "category": "Labor",
              "estimated": 1000
            },
            {
              "name": "Building Permit",
              "category": "Permits",
              "estimated": 500
            }
          ],
          "base": 19200,
          "customCosts": [
            1250
          ],
          "total": 20450
        },
        "formulaVersion": "investor-field-rehab-1.0.0",
        "units": {
          "all amounts": "USD"
        },
        "assumptions": [
          "Adds caller-supplied custom line amounts to a manual base or one of HT Calc’s field renovation templates. Template amounts are illustrative USD allowances."
        ],
        "warnings": [],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/deal-finder"
    },
    {
      "slug": "investor-deal-pipeline-summary",
      "name": "Anonymous deal pipeline totals",
      "category": "Investment",
      "description": "Counts caller-supplied field notes and pipeline deals by stage and deal family, and adds their displayed whole-dollar values. Supply each opportunity once at its current stage.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "rows": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "stage": {
                      "const": "NOTE"
                    },
                    "value": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD asset value entered for this row."
                    }
                  },
                  "required": [
                    "stage",
                    "value"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "stage": {
                      "enum": [
                        "LEAD",
                        "UNDERWRITING",
                        "OFFER_SENT",
                        "UNDER_CONTRACT",
                        "CLOSED"
                      ]
                    },
                    "value": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD asset value entered for this row."
                    },
                    "targetType": {
                      "enum": [
                        "HOME",
                        "INVESTMENT",
                        "INVESTMENT_RENTAL",
                        "INVESTMENT_BRRRR",
                        "INVESTMENT_FIX_FLIP",
                        "DSCR",
                        "INVESTMENT_EXCHANGE",
                        "INVESTMENT_AIRBNB",
                        "RENOVATION",
                        "LAND_CONTRACT",
                        "OTHER"
                      ]
                    }
                  },
                  "required": [
                    "stage",
                    "value",
                    "targetType"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "minItems": 0,
            "maxItems": 100
          }
        },
        "required": [
          "rows"
        ],
        "additionalProperties": false,
        "description": "Counts caller-supplied field notes and pipeline deals by stage and deal family, and adds their displayed whole-dollar values. Supply each opportunity once at its current stage."
      },
      "input": {
        "rows": [
          {
            "stage": "NOTE",
            "value": 150000
          },
          {
            "stage": "CLOSED",
            "targetType": "INVESTMENT_RENTAL",
            "value": 200000
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "fieldNotes": 1,
          "pipeline": 1,
          "active": 1,
          "trackedValue": 350000,
          "countByStage": {
            "NOTE": 1,
            "LEAD": 0,
            "UNDERWRITING": 0,
            "OFFER_SENT": 0,
            "UNDER_CONTRACT": 0,
            "CLOSED": 1
          },
          "countByCategory": {
            "mortgage": 0,
            "investment": 1,
            "renovation": 0
          }
        },
        "formulaVersion": "investor-deal-pipeline-summary-1.0.0",
        "units": {
          "value": "USD",
          "trackedValue": "USD, each row rounded to whole dollars before summing"
        },
        "assumptions": [
          "Counts caller-supplied field notes and pipeline deals by stage and deal family, and adds their displayed whole-dollar values. Supply each opportunity once at its current stage."
        ],
        "warnings": [],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/deal-builder"
    },
    {
      "slug": "investor-portfolio-profile",
      "name": "Portfolio from residential property records",
      "category": "Investment",
      "description": "Recreates the app’s property-record view including lien subtotals, current value, freshness, missing fields and equity projections. Operating expenses recorded in a profile are partial, so this view withholds returns that require a complete operating ledger.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "asOfDate": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Gregorian calendar date, YYYY-MM-DD."
          },
          "properties": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "recordDate": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "is_rented": {
                  "type": "boolean"
                },
                "current_estimated_value": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD, one-time amount."
                },
                "mortgage_balance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD, one-time amount."
                },
                "monthly_pi": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD per month."
                },
                "second_mortgage_balance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD, one-time amount."
                },
                "second_mortgage_payment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD per month."
                },
                "property_tax_monthly": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD per month."
                },
                "insurance_monthly": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD per month."
                },
                "hoa_fees": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD per month."
                },
                "monthly_rent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD per month."
                },
                "property_type": {
                  "enum": [
                    "single_family",
                    "condo",
                    "2_unit",
                    "3_4_unit",
                    "5_plus_unit",
                    "manufactured",
                    "commercial",
                    "multi_family",
                    "land"
                  ]
                },
                "mortgage_balance_as_of_date": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                  "description": "Gregorian calendar date, YYYY-MM-DD."
                },
                "marketGroup": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 50,
                  "description": "Unitless positive group number. Properties in the same market share a number."
                }
              },
              "required": [
                "recordDate",
                "is_rented",
                "current_estimated_value"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 25
          }
        },
        "required": [
          "asOfDate",
          "properties"
        ],
        "additionalProperties": false,
        "description": "Recreates the app’s property-record view including lien subtotals, current value, freshness, missing fields and equity projections. Operating expenses recorded in a profile are partial, so this view withholds returns that require a complete operating ledger."
      },
      "input": {
        "asOfDate": "2026-02-01",
        "properties": [
          {
            "recordDate": "2026-01-01",
            "is_rented": true,
            "current_estimated_value": 400000,
            "mortgage_balance": 210000,
            "second_mortgage_balance": 30000,
            "monthly_pi": 1100,
            "second_mortgage_payment": 350,
            "monthly_rent": 3000,
            "property_tax_monthly": 300,
            "insurance_monthly": 120,
            "hoa_fees": 100,
            "property_type": "2_unit"
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "state": "available",
          "fieldErrors": {},
          "warnings": [],
          "assumptions": [
            {
              "key": "staleAfterDays",
              "value": "120",
              "unit": "days",
              "source": "default"
            },
            {
              "key": "appreciationRatePct",
              "value": "3",
              "unit": "% per year",
              "source": "default"
            }
          ],
          "provenance": [
            {
              "source": "HT Calc additional_properties record; updated_at is used as the valuation observation timestamp. Property property-1.",
              "asOf": "2026-01-01",
              "version": "portfolio-ledger-1.0.0"
            }
          ],
          "formulaVersion": "portfolio-ledger-1.0.0",
          "ruleVersions": [],
          "auditTrail": [
            "Mapped persisted property facts to integer cents before calculation.",
            "Recorded which persisted columns were blank so a blank column degrades only the figures that need it.",
            "Derived aggregate cards, table rows, projections, and export presentation from one canonical portfolio result.",
            "Withheld NOI, cap rate, DSCR, cash flow, cash-on-equity, and cash-on-cash because persisted rows do not include a complete operating-expense ledger or actual cash-invested basis."
          ],
          "value": {
            "formulaVersion": "portfolio-ledger-1.0.0",
            "status": "available",
            "totalValueCents": 40000000,
            "totalDebtCents": 24000000,
            "totalEquityCents": 16000000,
            "totalAnnualNoiCents": null,
            "totalAnnualDebtServiceCents": 1740000,
            "totalAnnualIncomeCents": 3600000,
            "totalAnnualOperatingExpensesCents": 624000,
            "totalMonthlyCashFlowCents": null,
            "averageCapRatePct": null,
            "averageCashOnCashPct": null,
            "portfolioLtvPct": 60,
            "portfolioCashOnEquityPct": null,
            "portfolioDscr": null,
            "portfolioXirr": null,
            "portfolioXirrState": "no-root",
            "stalePropertyIds": [],
            "maturityCalendar": [],
            "concentrationByMarketPct": {
              "Unspecified market": 100
            },
            "concentrationByTypePct": {
              "2_unit": 100
            },
            "drillback": [
              {
                "propertyId": "property-1",
                "valueCents": 40000000,
                "debtCents": 24000000,
                "sourceFlowIds": []
              }
            ],
            "correlationStatus": "not-provided",
            "correlationSource": null,
            "operatingExpenseCoverage": "partial",
            "cashInvestmentCoverage": "partial",
            "debtBalanceCoverage": "complete",
            "debtServiceCoverage": "complete",
            "rentCoverage": "complete",
            "appreciationRatePct": 3,
            "equityProjection": [
              {
                "year": 1,
                "projectedValueCents": 41200000,
                "projectedEquityCents": 17200000
              },
              {
                "year": 2,
                "projectedValueCents": 42436000,
                "projectedEquityCents": 18436000
              },
              {
                "year": 3,
                "projectedValueCents": 43709080,
                "projectedEquityCents": 19709080
              },
              {
                "year": 4,
                "projectedValueCents": 45020352,
                "projectedEquityCents": 21020352
              },
              {
                "year": 5,
                "projectedValueCents": 46370963,
                "projectedEquityCents": 22370963
              }
            ],
            "propertyMetrics": [
              {
                "propertyId": "property-1",
                "address": "Portfolio property property-1",
                "valueCents": 40000000,
                "debtCents": 24000000,
                "equityCents": 16000000,
                "monthlyRentCents": 300000,
                "monthlyOperatingExpensesCents": 52000,
                "monthlyDebtServiceCents": 145000,
                "operatingExpensesComplete": false,
                "monthlyCashFlowCents": null,
                "annualNoiCents": null,
                "capRatePct": null,
                "cashOnCashPct": null,
                "cashOnEquityPct": null,
                "dscr": null,
                "cashInvestedCents": null
              }
            ],
            "issues": [
              {
                "code": "operating-expenses-incomplete",
                "severity": "warning",
                "message": "NOI, cap rate, DSCR, cash flow, and cash-on-equity are withheld because stored property rows do not contain a complete operating-expense ledger."
              },
              {
                "code": "cash-invested-missing",
                "severity": "information",
                "message": "Cash-on-cash is withheld because actual cash invested was not supplied; current equity is not used as a substitute."
              }
            ]
          },
          "sourceCoverage": [
            {
              "propertyId": "property-1",
              "address": "Portfolio property property-1",
              "unrecordedFields": [],
              "invalidFields": [],
              "missingProvenance": false
            }
          ]
        },
        "formulaVersion": "portfolio-ledger-1.0.0-profile.1",
        "units": {
          "property input amounts": "USD",
          "*Cents": "integer USD cents",
          "*Pct": "percentage points",
          "dates": "YYYY-MM-DD"
        },
        "assumptions": [
          "Recreates the app’s property-record view including lien subtotals, current value, freshness, missing fields and equity projections. Operating expenses recorded in a profile are partial, so this view withholds returns that require a complete operating ledger."
        ],
        "warnings": [],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/investment/portfolio"
    },
    {
      "slug": "investor-max-purchase",
      "name": "Investor maximum purchase price",
      "category": "Investment",
      "description": "Finds the modeled purchase limits for cash on hand, target cash-on-cash return and DSCR. Includes PITI, cash flow and the rate/return sensitivity matrix. Closing costs are excluded. All-cash purchases have no debt-service constraint.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "availableCash": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD, one-time amount."
          },
          "targetCocPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Target annual cash-on-cash return in percentage points."
          },
          "targetDscr": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 20,
            "description": "Debt-service coverage multiple (1.25 means 1.25×)."
          },
          "interestRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual nominal interest rate in percentage points (6.5 means 6.5%)."
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Amortization term in whole years."
          },
          "downPaymentPct": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Percentage points of the purchase price."
          },
          "monthlyRent": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD per month."
          },
          "taxRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual property tax as percentage points of purchase price."
          },
          "insuranceRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual insurance as percentage points of purchase price."
          },
          "vacancyPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points of scheduled monthly rent (8 means 8%)."
          },
          "maintenancePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points of scheduled monthly rent (8 means 8%)."
          },
          "managementPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points of scheduled monthly rent (8 means 8%)."
          }
        },
        "required": [
          "availableCash",
          "targetCocPct",
          "targetDscr",
          "interestRatePct",
          "loanTermYears",
          "downPaymentPct",
          "monthlyRent",
          "taxRatePct",
          "insuranceRatePct",
          "vacancyPct",
          "maintenancePct",
          "managementPct"
        ],
        "additionalProperties": false,
        "description": "Finds the modeled purchase limits for cash on hand, target cash-on-cash return and DSCR. Includes PITI, cash flow and the rate/return sensitivity matrix. Closing costs are excluded. All-cash purchases have no debt-service constraint."
      },
      "input": {
        "availableCash": 100000,
        "targetCocPct": 8,
        "targetDscr": 1.25,
        "interestRatePct": 7,
        "loanTermYears": 30,
        "downPaymentPct": 25,
        "monthlyRent": 2200,
        "taxRatePct": 1.2,
        "insuranceRatePct": 0.5,
        "vacancyPct": 5,
        "maintenancePct": 5,
        "managementPct": 8
      },
      "output": {
        "status": "available",
        "result": {
          "limits": [
            {
              "key": "coc",
              "label": "Cash-on-Cash Return",
              "maxPrice": 177529.66776452775
            },
            {
              "key": "dscr",
              "label": "DSCR Coverage",
              "maxPrice": 235697.36339057982
            },
            {
              "key": "cash",
              "label": "Available Cash",
              "maxPrice": 400000
            }
          ],
          "maxPrice": 177529.66776452775,
          "bindingIndex": 0,
          "loanAmount": 133147.25082339582,
          "downPayment": 44382.41694113193,
          "monthlyPI": 885.8319819905,
          "monthlyTax": 177.52966776452774,
          "monthlyIns": 73.97069490188657,
          "totalPITI": 1137.3323446569145,
          "monthlyCashFlow": 666.6676553430855,
          "annualCashFlow": 8000.011864117026,
          "actualCOC": 8.000011864117026,
          "effectiveMonthlyRent": 2090,
          "monthlyOpEx": 286,
          "requiredAnnualCashFlow": 8000,
          "sensitivityData": [
            [
              259144.23498027038,
              229776.19411316488,
              200407.99834941304,
              171039.80258566112,
              141671.80711080946
            ],
            [
              248704.95885763856,
              220519.81863369734,
              192334.84795273832,
              164149.7521125657,
              135964.65627239316
            ],
            [
              238853.87702883905,
              211785.28305930123,
              184716.5724149338,
              157647.86177056623,
              130579.1511261987
            ],
            [
              229560.74800971322,
              203545.20788712046,
              177529.66776452775,
              151514.127641935,
              125498.58751934224
            ],
            [
              220794.992403417,
              195772.8432116568,
              170750.6940198967,
              145728.69246246162,
              120706.56721633747
            ],
            [
              212526.97162188683,
              188441.80597700938,
              164356.79100242336,
              140271.6521109302,
              116186.51321943708
            ]
          ],
          "dscrApplies": true,
          "sensitivityRatePct": [
            5.5,
            6,
            6.5,
            7,
            7.5,
            8
          ],
          "sensitivityCocPct": [
            4,
            6,
            8,
            10,
            12
          ]
        },
        "formulaVersion": "investor-max-purchase-1.0.0",
        "units": {
          "*Pct": "percentage points",
          "targetDscr": "ratio",
          "loanTermYears": "years",
          "monthlyRent": "USD/month",
          "actualCOC": "percentage points",
          "monthly amounts and totalPITI": "USD/month",
          "annual amounts": "USD/year",
          "prices, loan amount, down payment and matrix cells": "USD"
        },
        "assumptions": [
          "Finds the modeled purchase limits for cash on hand, target cash-on-cash return and DSCR. Includes PITI, cash flow and the rate/return sensitivity matrix. Closing costs are excluded. All-cash purchases have no debt-service constraint."
        ],
        "warnings": [],
        "creditCost": 10
      },
      "calculatorPath": "/calculator/mortgage/affordability/investor"
    },
    {
      "slug": "mortgage-payment-piti",
      "name": "Full mortgage payment (PITI and mortgage insurance)",
      "category": "Mortgage",
      "description": "Break down a purchase price, down payment, loan terms, annual tax, homeowners insurance and entered mortgage-insurance rate. The base mortgage calculation takes a home price for loanAmount. Select payoff-schedule to compare the same fixed principal on monthly or biweekly terms and return its source amortization schedules.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "oneOf": [
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "params": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "loanAmount": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Positive US dollars"
                  },
                  "downPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 50,
                    "description": "Annual note rate in percent; 6 means 6%"
                  },
                  "loanTerm": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 50,
                    "description": "Whole years"
                  },
                  "loanTermMonths": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Whole months"
                  },
                  "loanTermYears": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 50,
                    "description": "Whole years"
                  },
                  "propertyTax": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars per year"
                  },
                  "homeInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars per year"
                  },
                  "pmi": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 25,
                    "description": "Annual mortgage insurance rate in percent"
                  },
                  "financedFees": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "loanProgram": {
                    "type": "string",
                    "enum": [
                      "conventional",
                      "fha",
                      "va",
                      "usda"
                    ]
                  },
                  "financeProgramUpfrontFee": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "loanAmount",
                  "downPayment",
                  "interestRate",
                  "propertyTax",
                  "homeInsurance",
                  "pmi"
                ],
                "anyOf": [
                  {
                    "required": [
                      "loanTerm"
                    ]
                  },
                  {
                    "required": [
                      "loanTermMonths"
                    ]
                  },
                  {
                    "required": [
                      "loanTermYears"
                    ]
                  }
                ]
              },
              "loanType": {
                "type": "string",
                "const": "MORTGAGE"
              },
              "options": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "propertyValue": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "Positive US dollars"
                  }
                },
                "required": [
                  "propertyValue"
                ]
              }
            },
            "required": [
              "params",
              "loanType"
            ],
            "title": "Monthly principal, interest, taxes and insurance"
          },
          {
            "type": "object",
            "title": "Mortgage payoff schedule",
            "additionalProperties": false,
            "required": [
              "mode",
              "schedule"
            ],
            "properties": {
              "mode": {
                "const": "payoff-schedule"
              },
              "schedule": {
                "type": "object",
                "properties": {
                  "principal": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Financed principal in USD. Payment shares accept up to $100 million; the editable field caps at $10 million. Zero returns an empty plan.",
                    "anyOf": [
                      {
                        "const": 0
                      },
                      {
                        "minimum": 1
                      }
                    ]
                  },
                  "ratePercent": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 99,
                    "description": "Fixed annual note rate, as a percent. Enter 6 for 6%."
                  },
                  "termMonths": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Number of scheduled monthly payments, including terms entered in years and converted to months."
                  },
                  "payoffFrequency": {
                    "type": "string",
                    "enum": [
                      "monthly",
                      "biweekly"
                    ],
                    "description": "Default monthly. Biweekly uses 26 immediate half-P&I drafts each year."
                  },
                  "monthlyExtra": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 10000000,
                    "multipleOf": 0.01,
                    "description": "Optional extra principal in USD per month, including in biweekly mode. Default zero."
                  },
                  "yearlyExtra": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 10000000,
                    "multipleOf": 0.01,
                    "description": "Optional extra principal in USD at every twelfth monthly payment. Retained but unapplied in biweekly mode. Default zero."
                  },
                  "oneTimeExtra": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 10000000,
                    "multipleOf": 0.01,
                    "description": "Optional extra principal in USD at one payment. Retained but unapplied in biweekly mode. Default zero."
                  },
                  "oneTimeExtraMonth": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "One-based payment number. Defaults to min(12, termMonths). A value past the contractual term is clamped to its last payment, matching app restoration. An already-paid loan receives nothing."
                  }
                },
                "required": [
                  "principal",
                  "ratePercent",
                  "termMonths"
                ],
                "additionalProperties": false
              }
            }
          }
        ],
        "examples": [
          {
            "params": {
              "loanAmount": 300000,
              "downPayment": 30000,
              "interestRate": 0,
              "loanTerm": 30,
              "loanTermMonths": 360,
              "propertyTax": 3600,
              "homeInsurance": 1200,
              "pmi": 0.6,
              "financedFees": 0,
              "financeProgramUpfrontFee": false
            },
            "loanType": "MORTGAGE",
            "options": {
              "propertyValue": 300000
            }
          },
          {
            "mode": "payoff-schedule",
            "schedule": {
              "principal": 2400,
              "ratePercent": 6,
              "termMonths": 24,
              "monthlyExtra": 10,
              "yearlyExtra": 120,
              "oneTimeExtra": 180,
              "oneTimeExtraMonth": 12,
              "payoffFrequency": "monthly"
            }
          },
          {
            "mode": "payoff-schedule",
            "schedule": {
              "principal": 2400,
              "ratePercent": 6,
              "termMonths": 24,
              "monthlyExtra": 10,
              "yearlyExtra": 120,
              "oneTimeExtra": 180,
              "oneTimeExtraMonth": 12,
              "payoffFrequency": "biweekly"
            }
          }
        ]
      },
      "input": {
        "params": {
          "loanAmount": 300000,
          "downPayment": 30000,
          "interestRate": 0,
          "loanTerm": 30,
          "loanTermMonths": 360,
          "propertyTax": 3600,
          "homeInsurance": 1200,
          "pmi": 0.6,
          "financedFees": 0,
          "financeProgramUpfrontFee": false
        },
        "loanType": "MORTGAGE",
        "options": {
          "propertyValue": 300000
        }
      },
      "output": {
        "status": "available",
        "result": {
          "principalAndInterest": 750,
          "monthlyTax": 300,
          "monthlyInsurance": 100,
          "monthlyPMI": 135,
          "monthlyPayment": 1285,
          "totalPayment": 420480,
          "totalInterest": 0,
          "totalFinancingPayment": 270000,
          "loanAmount": 270000,
          "upfrontFees": 0,
          "originationFeeAmount": 0,
          "feeDeductedFromProceeds": 0,
          "capitalizedInterest": 0,
          "pmiMonths": 48
        },
        "formulaVersion": "mortgage-payment-piti-htcalc-719df2c0e105",
        "units": {
          "loanAmount": "USD",
          "principalAndInterest": "USD/month",
          "monthlyTax": "USD/month",
          "monthlyInsurance": "USD/month",
          "monthlyPMI": "USD/month",
          "monthlyPayment": "USD/month"
        },
        "assumptions": [
          "HT Calc policy snapshot 719df2c, November 2026. Program comparisons are planning estimates. A lender determines underwriting and eligibility."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/purchase",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Fixed mortgage only. Entered price, down payment, note terms, annual taxes and insurance and specified PMI percentage; uses core program fees only if explicitly requested.",
        "references": [
          {
            "title": "HUD annual mortgage insurance schedule",
            "url": "https://www.hud.gov/sites/dfiles/OCHCO/documents/2023-05hsgml.pdf"
          },
          {
            "title": "VA funding fees and closing costs",
            "url": "https://www.va.gov/housing-assistance/home-loans/funding-fee-and-closing-costs/"
          },
          {
            "title": "USDA guarantee fee instruction",
            "url": "https://www.rd.usda.gov/media/file/download/04401.pdf"
          }
        ]
      }
    },
    {
      "slug": "mortgage-true-rate",
      "name": "Mortgage effective borrowing rate",
      "category": "Mortgage",
      "description": "Model effective borrowing cost across a selected holding period and full term with entered note payment, insurance, fees, points and credits. The program setting selects conventional, FHA, VA or USDA cash flows. FHA uses original LTV and term for insurance duration. USDA models annual guarantee fees, and VA accepts funding-fee use or an exemption. Choose how to treat a supplied upfront fee.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanProgram": {
            "type": "string",
            "enum": [
              "conventional",
              "fha",
              "va",
              "usda"
            ]
          },
          "loanPurpose": {
            "type": "string",
            "enum": [
              "purchase",
              "rateTermRefinance",
              "cashOutRefinance",
              "streamlineRefinance"
            ]
          },
          "homeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "loanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "piPayment": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100000000,
            "description": "Scheduled principal and interest in US dollars per month"
          },
          "pmiPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "remainingTermYears": {
            "type": "number",
            "minimum": 0.08333333333333333,
            "maximum": 50,
            "description": "Years remaining, including fractional years"
          },
          "currentRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual note rate in percent; 6 means 6%"
          },
          "upfrontCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "discountPoints": {
            "type": "number",
            "minimum": 0,
            "maximum": 25,
            "description": "Discount points as a percent of the loan"
          },
          "lenderCredits": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "programFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "pmiCancellationMode": {
            "type": "string",
            "enum": [
              "auto78",
              "request80",
              "fullTerm"
            ]
          },
          "insuranceDurationMode": {
            "type": "string",
            "enum": [
              "auto",
              "elevenYears",
              "fullTerm"
            ]
          },
          "pmiBasisValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "fhaOriginalLtv": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 250,
            "description": "Original loan-to-value in percent"
          },
          "fhaOriginalTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "vaFundingFeeUse": {
            "type": "string",
            "enum": [
              "first",
              "subsequent",
              "irrrl",
              "exempt",
              "manual"
            ]
          },
          "vaDownPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "usdaAnnualFeeRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "programFeeTreatment": {
            "type": "string",
            "enum": [
              "financed",
              "paidUpfront",
              "includedInBalance"
            ]
          },
          "holdingPeriodYears": {
            "type": "number",
            "minimum": 0.08333333333333333,
            "maximum": 50,
            "description": "Holding period, in years"
          }
        },
        "required": [
          "loanProgram",
          "loanPurpose",
          "homeValue",
          "loanAmount",
          "piPayment",
          "pmiPayment",
          "remainingTermYears"
        ]
      },
      "input": {
        "loanProgram": "conventional",
        "loanPurpose": "purchase",
        "homeValue": 300000,
        "loanAmount": 240000,
        "piPayment": 1438.92,
        "pmiPayment": 0,
        "remainingTermYears": 30,
        "currentRate": 6,
        "upfrontCosts": 1000,
        "discountPoints": 1,
        "lenderCredits": 400,
        "programFee": 0,
        "pmiCancellationMode": "auto78",
        "insuranceDurationMode": "auto",
        "pmiBasisValue": 300000,
        "fhaOriginalLtv": 80,
        "fhaOriginalTermYears": 30,
        "vaFundingFeeUse": "manual",
        "vaDownPaymentPercent": 20,
        "usdaAnnualFeeRate": 0.35,
        "programFeeTreatment": "paidUpfront",
        "holdingPeriodYears": 5
      },
      "output": {
        "status": "available",
        "result": {
          "loanProgram": "conventional",
          "loanPurpose": "purchase",
          "noteRate": 6,
          "effectiveRate": 6.1177107389084995,
          "fullTermEffectiveRate": 6.1177107389084995,
          "ratePremium": 0.11771073890849948,
          "fullTermRatePremium": 0.11771073890849948,
          "ltv": 80,
          "hasPMI": false,
          "equityToDropPMI": 0,
          "valueToDropPMI": 300000,
          "monthsUntilPMIDrops": 0,
          "totalPMICost": 0,
          "fullTermPMICost": 0,
          "monthlyTotal": 1438.92,
          "netUpfrontCosts": 3000,
          "pointsCost": 2400,
          "programFee": 0,
          "programFeeRate": 0,
          "programFeeTreatment": "paidUpfront",
          "programFeeCashCost": 0,
          "financedProgramFee": 0,
          "rateLoanAmount": 240000,
          "effectiveProceeds": 237000,
          "holdingPeriodYears": 5,
          "holdingPeriodMonths": 60,
          "holdingPeriodCost": 72665.74431058348,
          "holdingPeriodInterest": 69665.74431058348,
          "holdingPeriodInsuranceCost": 0,
          "pmiBasisValue": 300000,
          "pmiBasisLtv": 80,
          "fhaOriginalLtv": 80,
          "vaFundingFeeUse": "manual",
          "vaDownPaymentPercent": 20,
          "usdaAnnualFeeRate": 0.35,
          "termMonths": 360,
          "pmiCancellationMode": "auto78",
          "insuranceDurationMode": "auto",
          "insuranceLabel": "Mortgage Insurance",
          "insuranceCostLabel": "PMI Cost Until Drop",
          "insuranceTimingLabel": "Estimated PMI drop",
          "fullTermRiskLabel": "Full-Term PMI Risk",
          "programFeeLabel": "Program Fee",
          "noInsuranceLabel": "No monthly mortgage insurance entered.",
          "narrative": "With the entered upfront costs and credits, your cost-adjusted rate is about 6.118%.",
          "warnings": [],
          "usingProvidedRate": true,
          "isValid": true
        },
        "formulaVersion": "mortgage-true-rate-htcalc-719df2c0e105",
        "units": {
          "noteRate": "percent",
          "effectiveRate": "percent",
          "fullTermEffectiveRate": "percent",
          "netUpfrontCosts": "USD",
          "effectiveProceeds": "USD",
          "holdingPeriodMonths": "months",
          "monthlyTotal": "USD/month"
        },
        "assumptions": [
          "HT Calc policy snapshot 719df2c, November 2026. Program comparisons are planning estimates. A lender determines underwriting and eligibility."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/true-rate/conventional",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Model an entered quote and its holding-period cost; optional note rate can be inferred. Accept rounded P&I. Effective net proceeds must be positive. Four program modes share one contract.",
        "references": [
          {
            "title": "CFPB mortgage insurance cancellation guidance",
            "url": "https://www.consumerfinance.gov/ask-cfpb/when-can-i-remove-private-mortgage-insurance-pmi-from-my-loan-en-202/"
          },
          {
            "title": "HUD annual mortgage insurance schedule",
            "url": "https://www.hud.gov/sites/dfiles/OCHCO/documents/2023-05hsgml.pdf"
          },
          {
            "title": "VA funding fees and closing costs",
            "url": "https://www.va.gov/housing-assistance/home-loans/funding-fee-and-closing-costs/"
          },
          {
            "title": "USDA guarantee fee instruction",
            "url": "https://www.rd.usda.gov/media/file/download/04401.pdf"
          }
        ]
      }
    },
    {
      "slug": "mortgage-debt-treatment",
      "name": "Monthly obligations under a selected debt treatment",
      "category": "Mortgage",
      "description": "Aggregate supplied debts using a selected program scenario and its model rules for short installments, student loans and missing revolving minimums.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "debts": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "debt_type": {
                  "type": "string",
                  "enum": [
                    "auto",
                    "student",
                    "credit_card",
                    "personal",
                    "medical",
                    "collections",
                    "other"
                  ]
                },
                "current_balance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars"
                },
                "monthly_payment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000,
                  "description": "US dollars per month"
                },
                "months_remaining": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 600,
                  "description": "Whole remaining installments"
                },
                "is_excluded_from_dti": {
                  "type": "boolean"
                },
                "will_pay_off": {
                  "type": "boolean"
                },
                "imputed_payment_amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000,
                  "description": "US dollars per month"
                },
                "description": {
                  "type": "string",
                  "minLength": 0,
                  "maxLength": 140,
                  "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
                },
                "details": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "notes": {
                      "type": "string",
                      "minLength": 0,
                      "maxLength": 300,
                      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
                    }
                  },
                  "required": []
                }
              },
              "required": [
                "debt_type",
                "current_balance",
                "monthly_payment"
              ]
            },
            "minItems": 0,
            "maxItems": 100
          },
          "program": {
            "type": "string",
            "enum": [
              "FHA",
              "CONVENTIONAL",
              "VA",
              "USDA",
              "GENERIC"
            ]
          },
          "grossMonthlyIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          }
        },
        "required": [
          "debts",
          "program",
          "grossMonthlyIncome"
        ]
      },
      "input": {
        "debts": [
          {
            "debt_type": "student",
            "current_balance": 15000,
            "monthly_payment": 0
          },
          {
            "debt_type": "credit_card",
            "current_balance": 1000,
            "monthly_payment": 0
          }
        ],
        "program": "CONVENTIONAL",
        "grossMonthlyIncome": 6000
      },
      "output": {
        "status": "available",
        "result": {
          "value": 200
        },
        "formulaVersion": "mortgage-debt-treatment-htcalc-719df2c0e105",
        "units": {
          "value": "USD/month"
        },
        "assumptions": [
          "HT Calc policy snapshot 719df2c, November 2026. Program comparisons are planning estimates. A lender determines underwriting and eligibility."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/affordability",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Model timing and inclusion of manually reported non-housing debt, payments, and a selected program, including imputed minimums. No credit file or actual lender determination.",
        "references": []
      }
    },
    {
      "slug": "closing-cost-payer-allocation",
      "name": "Buyer and seller closing-cost worksheet",
      "category": "Mortgage",
      "description": "Allocate supplied line-item amounts among buyer and seller in cents and compute estimated buyer cash at closing. The example supplies an amount and payer for every line.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "input": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "homePrice": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Positive US dollars"
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars"
              },
              "loanAmount": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars"
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 50,
                "description": "Annual note rate in percent; 6 means 6%"
              },
              "selectedState": {
                "type": "string",
                "const": "",
                "description": "No state fee table; each figure is supplied in overrides."
              }
            },
            "required": [
              "homePrice",
              "downPayment",
              "loanAmount",
              "interestRate"
            ]
          },
          "overrides": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "origination": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "underwriting": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "processing": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "appraisal": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "credit": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "flood": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "title_search": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "lender_title": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "settlement": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "survey": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "attorney": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "recording": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "buyer_transfer": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "seller_transfer": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "mortgage_tax": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "local_tax": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "insurance": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "interest": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "escrow": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "owner_title": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "inspection": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              },
              "other": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "paidBy": {
                    "type": "string",
                    "enum": [
                      "buyer",
                      "seller",
                      "split",
                      "negotiable"
                    ]
                  }
                },
                "required": [
                  "amount",
                  "paidBy"
                ]
              }
            },
            "required": [
              "origination",
              "underwriting",
              "processing",
              "appraisal",
              "credit",
              "flood",
              "title_search",
              "lender_title",
              "settlement",
              "survey",
              "attorney",
              "recording",
              "buyer_transfer",
              "seller_transfer",
              "mortgage_tax",
              "local_tax",
              "insurance",
              "interest",
              "escrow",
              "owner_title",
              "inspection",
              "other"
            ]
          }
        },
        "required": [
          "input",
          "overrides"
        ]
      },
      "input": {
        "input": {
          "homePrice": 300000,
          "downPayment": 60000,
          "loanAmount": 240000,
          "interestRate": 6,
          "selectedState": ""
        },
        "overrides": {
          "origination": {
            "amount": 2000,
            "paidBy": "buyer"
          },
          "underwriting": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "processing": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "appraisal": {
            "amount": 600,
            "paidBy": "buyer"
          },
          "credit": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "flood": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "title_search": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "lender_title": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "settlement": {
            "amount": 500,
            "paidBy": "split"
          },
          "survey": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "attorney": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "recording": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "buyer_transfer": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "seller_transfer": {
            "amount": 1000,
            "paidBy": "seller"
          },
          "mortgage_tax": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "local_tax": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "insurance": {
            "amount": 900,
            "paidBy": "buyer"
          },
          "interest": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "escrow": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "owner_title": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "inspection": {
            "amount": 0,
            "paidBy": "buyer"
          },
          "other": {
            "amount": 0,
            "paidBy": "buyer"
          }
        }
      },
      "output": {
        "status": "available",
        "result": {
          "sections": [
            {
              "id": "A",
              "title": "Origination Charges (Section A)",
              "icon": "🏦",
              "items": [
                {
                  "id": "origination",
                  "name": "Loan Origination Fee",
                  "amount": 2000,
                  "paidBy": "buyer",
                  "buyerAmount": 2000,
                  "sellerAmount": 0,
                  "cents": 200000,
                  "buyerCents": 200000,
                  "sellerCents": 0,
                  "tooltip": "Illustrative 1% allowance, not a lender quote. Origination, underwriting and processing may overlap; replace each with your actual charges to avoid duplication."
                },
                {
                  "id": "underwriting",
                  "name": "Underwriting Fee",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Illustrative lender charge; set to zero if already included in origination."
                },
                {
                  "id": "processing",
                  "name": "Processing Fee",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Illustrative administrative charge; set to zero if already included elsewhere."
                }
              ]
            },
            {
              "id": "B",
              "title": "Services You Cannot Shop For (Section B)",
              "icon": "🔍",
              "items": [
                {
                  "id": "appraisal",
                  "name": "Appraisal Fee",
                  "amount": 600,
                  "paidBy": "buyer",
                  "buyerAmount": 600,
                  "sellerAmount": 0,
                  "cents": 60000,
                  "buyerCents": 60000,
                  "sellerCents": 0,
                  "tooltip": "Assumes a lender-selected appraisal; replace with the actual fee."
                },
                {
                  "id": "credit",
                  "name": "Credit Report Fee",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Lender-selected credit report service allowance."
                },
                {
                  "id": "flood",
                  "name": "Flood Certification",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Lender-selected flood determination service allowance."
                }
              ]
            },
            {
              "id": "C",
              "title": "Services You Can Shop For (Section C)",
              "icon": "📋",
              "items": [
                {
                  "id": "title_search",
                  "name": "Title Search",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Assumes you can shop for this provider. Split means 50/50 here; actual payer and LE placement depend on your lender and contract."
                },
                {
                  "id": "lender_title",
                  "name": "Lender's Title Insurance",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Illustrative allowance, not a regulated premium quote. Simultaneous-issue discounts and local rates may change the cost."
                },
                {
                  "id": "settlement",
                  "name": "Settlement/Closing Fee",
                  "amount": 500,
                  "paidBy": "split",
                  "buyerAmount": 250,
                  "sellerAmount": 250,
                  "cents": 50000,
                  "buyerCents": 25000,
                  "sellerCents": 25000,
                  "tooltip": "Planning allowance for settlement. Split means 50/50; use the actual contract allocation."
                },
                {
                  "id": "survey",
                  "name": "Survey Fee",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Assumes a lender-required service you can shop for. Set to zero if not needed; negotiable amounts are budgeted to buyer until changed."
                },
                {
                  "id": "attorney",
                  "name": "Attorney Fee Allowance",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Planning allowance only, not a statement that state law requires an attorney. Actual fee, provider choice and LE category vary."
                }
              ]
            },
            {
              "id": "E",
              "title": "Taxes & Other Government Fees (Section E)",
              "icon": "🏛️",
              "items": [
                {
                  "id": "recording",
                  "name": "Recording Fees",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Illustrative recording allowance; actual fees depend on documents and jurisdiction."
                },
                {
                  "id": "buyer_transfer",
                  "name": "Buyer Transfer Tax Allowance",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "State planning model only. Local taxes, exemptions and contract allocation may differ; enter the title agent quote. NY includes the base residential mansion tax when applicable, not NYC supplements."
                },
                {
                  "id": "seller_transfer",
                  "name": "Seller Transfer Tax Allowance",
                  "amount": 1000,
                  "paidBy": "seller",
                  "buyerAmount": 0,
                  "sellerAmount": 1000,
                  "cents": 100000,
                  "buyerCents": 0,
                  "sellerCents": 100000,
                  "tooltip": "State planning model only. WA uses 2023–2026 residential state brackets; NJ assumes no exemption and includes its current graduated fee. Local charges are separate."
                },
                {
                  "id": "mortgage_tax",
                  "name": "Mortgage Tax Allowance",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Planning allowance. Florida includes recorded-mortgage stamps plus intangible tax, assumed passed to borrower, using home price as the collateral-value proxy. NY county-specific rates and exemptions need a quote."
                },
                {
                  "id": "local_tax",
                  "name": "Additional Local Taxes",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Not included until entered. Add county/city surcharges, mansion-tax supplements or other quoted taxes not covered by the preset."
                }
              ]
            },
            {
              "id": "F",
              "title": "Prepaids (Section F)",
              "icon": "📅",
              "items": [
                {
                  "id": "insurance",
                  "name": "Homeowner's Insurance (1yr)",
                  "amount": 900,
                  "paidBy": "buyer",
                  "buyerAmount": 900,
                  "sellerAmount": 0,
                  "cents": 90000,
                  "buyerCents": 90000,
                  "sellerCents": 0,
                  "tooltip": "Illustrative annual premium of 0.35% of price. Replace with your insurance quote."
                },
                {
                  "id": "interest",
                  "name": "Per-Diem Interest (15 days)",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Assumes 15 days using actual/365 simple interest. Actual prepaid days and day-count convention depend on closing and lender."
                }
              ]
            },
            {
              "id": "G",
              "title": "Initial Escrow Payment (Section G)",
              "icon": "📅",
              "items": [
                {
                  "id": "escrow",
                  "name": "Initial Escrow (3mo tax + 2mo insurance)",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Assumes annual property tax of 1.2% of price, three tax months and two insurance months. This deposit is separate from the first annual insurance premium; replace with your lender escrow analysis."
                }
              ]
            },
            {
              "id": "H",
              "title": "Other Costs (Section H)",
              "icon": "🏠",
              "items": [
                {
                  "id": "owner_title",
                  "name": "Owner's Title Insurance",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Optional owner policy allowance of 0.3% of price; seller payment is a changeable planning assumption, not a state rule."
                },
                {
                  "id": "inspection",
                  "name": "Home Inspection",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Optional inspection allowance; can be paid before closing. It is not assumed to be a lender-required Section B service."
                },
                {
                  "id": "other",
                  "name": "Other Quoted Closing Fee",
                  "amount": 0,
                  "paidBy": "buyer",
                  "buyerAmount": 0,
                  "sellerAmount": 0,
                  "cents": 0,
                  "buyerCents": 0,
                  "sellerCents": 0,
                  "tooltip": "Enter another quoted fee, including any applicable loan-program or funding fee not already included or financed. Do not count a charge twice; choose its actual payer."
                }
              ]
            }
          ],
          "price": 300000,
          "loan": 240000,
          "rate": 6,
          "downPayment": 60000,
          "errors": [],
          "buyerCents": 375000,
          "sellerCents": 125000,
          "buyerHighCents": 450000,
          "totalCents": 500000,
          "buyerTotal": 3750,
          "sellerTotal": 1250,
          "transactionTotal": 5000,
          "buyerHigh": 4500,
          "cashLow": 63750,
          "cashHigh": 64500
        },
        "formulaVersion": "closing-cost-payer-allocation-htcalc-719df2c0e105",
        "units": {
          "buyerTotal": "USD",
          "sellerTotal": "USD",
          "transactionTotal": "USD",
          "cashLow": "USD",
          "cashHigh": "USD"
        },
        "assumptions": [
          "The caller enters all 22 fee amounts and payer allocations. State estimates are disabled."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/purchase",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Amounts and payers must be supplied for all 22 rows; empty state and a no-table dependency port. Generic line labels/illustrative explanation are retained from the original; applied amounts come from the caller.",
        "references": []
      }
    },
    {
      "slug": "fha-mortgage-insurance",
      "name": "FHA mortgage insurance schedule",
      "category": "Mortgage",
      "description": "Estimate upfront MIP and the annual premium on the scheduled loan balance, using the pinned FHA forward-mortgage schedule and entered financing assumptions.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "baseLoanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "ltv": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Base loan-to-value in percent"
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30,
            "description": "Whole years"
          },
          "purchasePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "annualInterestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual note rate in percent; 6 means 6%"
          },
          "upfrontMipFinanced": {
            "type": "boolean"
          }
        },
        "required": [
          "baseLoanAmount",
          "ltv",
          "loanTermYears",
          "purchasePrice",
          "annualInterestRate",
          "upfrontMipFinanced"
        ]
      },
      "input": {
        "baseLoanAmount": 289500,
        "ltv": 96.5,
        "loanTermYears": 30,
        "purchasePrice": 300000,
        "annualInterestRate": 6.5,
        "upfrontMipFinanced": true
      },
      "output": {
        "status": "available",
        "result": {
          "upfrontMipRate": 0.0175,
          "upfrontMipAmount": 5066.25,
          "annualMipRate": 0.0055,
          "monthlyMipAmount": 132.02,
          "mipDurationYears": "life",
          "totalMonthlyMipCost": 31243.68,
          "totalMipCost": 36309.93,
          "mipSchedule": [
            {
              "year": 1,
              "averageOutstandingBalance": 293074.62,
              "monthlyMipAmount": 132.02,
              "annualMipAmount": 1584.24
            },
            {
              "year": 2,
              "averageOutstandingBalance": 289682.26,
              "monthlyMipAmount": 130.49,
              "annualMipAmount": 1565.88
            },
            {
              "year": 3,
              "averageOutstandingBalance": 286062.72,
              "monthlyMipAmount": 128.86,
              "annualMipAmount": 1546.32
            },
            {
              "year": 4,
              "averageOutstandingBalance": 282200.76,
              "monthlyMipAmount": 127.12,
              "annualMipAmount": 1525.44
            },
            {
              "year": 5,
              "averageOutstandingBalance": 278080.18,
              "monthlyMipAmount": 125.26,
              "annualMipAmount": 1503.12
            },
            {
              "year": 6,
              "averageOutstandingBalance": 273683.63,
              "monthlyMipAmount": 123.28,
              "annualMipAmount": 1479.36
            },
            {
              "year": 7,
              "averageOutstandingBalance": 268992.61,
              "monthlyMipAmount": 121.17,
              "annualMipAmount": 1454.04
            },
            {
              "year": 8,
              "averageOutstandingBalance": 263987.44,
              "monthlyMipAmount": 118.91,
              "annualMipAmount": 1426.92
            },
            {
              "year": 9,
              "averageOutstandingBalance": 258647.07,
              "monthlyMipAmount": 116.51,
              "annualMipAmount": 1398.12
            },
            {
              "year": 10,
              "averageOutstandingBalance": 252949.04,
              "monthlyMipAmount": 113.94,
              "annualMipAmount": 1367.28
            },
            {
              "year": 11,
              "averageOutstandingBalance": 246869.41,
              "monthlyMipAmount": 111.2,
              "annualMipAmount": 1334.4
            },
            {
              "year": 12,
              "averageOutstandingBalance": 240382.61,
              "monthlyMipAmount": 108.28,
              "annualMipAmount": 1299.36
            },
            {
              "year": 13,
              "averageOutstandingBalance": 233461.4,
              "monthlyMipAmount": 105.16,
              "annualMipAmount": 1261.92
            },
            {
              "year": 14,
              "averageOutstandingBalance": 226076.65,
              "monthlyMipAmount": 101.84,
              "annualMipAmount": 1222.08
            },
            {
              "year": 15,
              "averageOutstandingBalance": 218197.32,
              "monthlyMipAmount": 98.29,
              "annualMipAmount": 1179.48
            },
            {
              "year": 16,
              "averageOutstandingBalance": 209790.29,
              "monthlyMipAmount": 94.5,
              "annualMipAmount": 1134
            },
            {
              "year": 17,
              "averageOutstandingBalance": 200820.26,
              "monthlyMipAmount": 90.46,
              "annualMipAmount": 1085.52
            },
            {
              "year": 18,
              "averageOutstandingBalance": 191249.46,
              "monthlyMipAmount": 86.15,
              "annualMipAmount": 1033.8
            },
            {
              "year": 19,
              "averageOutstandingBalance": 181037.7,
              "monthlyMipAmount": 81.55,
              "annualMipAmount": 978.6
            },
            {
              "year": 20,
              "averageOutstandingBalance": 170142.01,
              "monthlyMipAmount": 76.64,
              "annualMipAmount": 919.68
            },
            {
              "year": 21,
              "averageOutstandingBalance": 158516.63,
              "monthlyMipAmount": 71.4,
              "annualMipAmount": 856.8
            },
            {
              "year": 22,
              "averageOutstandingBalance": 146112.68,
              "monthlyMipAmount": 65.82,
              "annualMipAmount": 789.84
            },
            {
              "year": 23,
              "averageOutstandingBalance": 132878.01,
              "monthlyMipAmount": 59.86,
              "annualMipAmount": 718.32
            },
            {
              "year": 24,
              "averageOutstandingBalance": 118757,
              "monthlyMipAmount": 53.49,
              "annualMipAmount": 641.88
            },
            {
              "year": 25,
              "averageOutstandingBalance": 103690.28,
              "monthlyMipAmount": 46.71,
              "annualMipAmount": 560.52
            },
            {
              "year": 26,
              "averageOutstandingBalance": 87614.52,
              "monthlyMipAmount": 39.47,
              "annualMipAmount": 473.64
            },
            {
              "year": 27,
              "averageOutstandingBalance": 70462.13,
              "monthlyMipAmount": 31.74,
              "annualMipAmount": 380.88
            },
            {
              "year": 28,
              "averageOutstandingBalance": 52161.01,
              "monthlyMipAmount": 23.5,
              "annualMipAmount": 282
            },
            {
              "year": 29,
              "averageOutstandingBalance": 32634.22,
              "monthlyMipAmount": 14.7,
              "annualMipAmount": 176.4
            },
            {
              "year": 30,
              "averageOutstandingBalance": 11799.68,
              "monthlyMipAmount": 5.32,
              "annualMipAmount": 63.84
            }
          ],
          "upfrontMipFinanced": true,
          "conformingLoanLimit": 832750,
          "highBalanceMipThreshold": 726200,
          "program": "FHA"
        },
        "formulaVersion": "fha-mortgage-insurance-htcalc-719df2c0e105",
        "units": {
          "upfrontMipRate": "ratio",
          "annualMipRate": "ratio",
          "upfrontMipAmount": "USD",
          "monthlyMipAmount": "USD/month",
          "totalMipCost": "USD"
        },
        "assumptions": [
          "HT Calc policy snapshot 719df2c, November 2026. Program comparisons are planning estimates. A lender determines underwriting and eligibility.",
          "Uses HUD Mortgagee Letter 2023-05 standard forward mortgage premiums, effective March 20, 2023. Excludes special and older refinance programs."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/fha-mip",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Forward FHA regular-MIP scenario using the source-pinned schedule and explicit financing treatment; older streamlines and special program exemptions are outside scope.",
        "references": [
          {
            "title": "HUD annual mortgage insurance schedule",
            "url": "https://www.hud.gov/sites/dfiles/OCHCO/documents/2023-05hsgml.pdf"
          }
        ]
      }
    },
    {
      "slug": "va-funding-fee",
      "name": "VA funding fee worksheet",
      "category": "Mortgage",
      "description": "Estimate a funding fee from the loan purpose, base loan, down payment, prior use and an exemption explicitly supplied by the caller.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "baseLoanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "downPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "isFirstTimeUse": {
            "type": "boolean"
          },
          "isIRRRL": {
            "type": "boolean"
          },
          "isDisabilityExempt": {
            "type": "boolean"
          },
          "loanPurpose": {
            "type": "string",
            "enum": [
              "purchase",
              "cashOutRefinance",
              "streamlineRefinance",
              "rateTermRefinance",
              "nadlPurchase",
              "nadlRefinance",
              "manufacturedHome",
              "assumption",
              "vendee"
            ]
          }
        },
        "required": [
          "baseLoanAmount",
          "downPaymentPercent",
          "isFirstTimeUse",
          "isIRRRL",
          "isDisabilityExempt",
          "loanPurpose"
        ]
      },
      "input": {
        "baseLoanAmount": 300000,
        "downPaymentPercent": 5,
        "isFirstTimeUse": true,
        "isIRRRL": false,
        "isDisabilityExempt": false,
        "loanPurpose": "purchase"
      },
      "output": {
        "status": "available",
        "result": {
          "fundingFeeRate": 0.015,
          "fundingFeeAmount": 4500,
          "isExempt": false,
          "usage": "first",
          "loanPurpose": "purchase",
          "loanPurposeLabel": "Purchase / construction",
          "isDownPaymentBased": true,
          "isUsageBased": true,
          "program": "VA"
        },
        "formulaVersion": "va-funding-fee-htcalc-719df2c0e105",
        "units": {
          "fundingFeeRate": "ratio",
          "fundingFeeAmount": "USD"
        },
        "assumptions": [
          "VA Circular 26-23-06, Exhibit B rate schedule for eligible loans closed on or after April 7, 2023 and before November 14, 2031. The caller states the benefit use, purpose and exemption."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/va-fee",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Published fee schedule with caller-specified purpose, prior-use, down-payment and exemption inputs. Exemption is an assumption.",
        "references": [
          {
            "title": "VA funding fees and closing costs",
            "url": "https://www.va.gov/housing-assistance/home-loans/funding-fee-and-closing-costs/"
          }
        ]
      }
    },
    {
      "slug": "usda-guarantee-fees",
      "name": "USDA guaranteed-loan fee schedule",
      "category": "Mortgage",
      "description": "Model the Section 502 upfront and annual fees under the pinned 2026 fee schedule, with cash-paid, partially financed or fully financed upfront treatment.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "baseLoanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30,
            "description": "Whole years"
          },
          "annualInterestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual note rate in percent; 6 means 6%"
          },
          "upfrontFeeTreatment": {
            "type": "string",
            "enum": [
              "financed",
              "partial",
              "paid_upfront"
            ]
          },
          "financedUpfrontFeePercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          }
        },
        "required": [
          "baseLoanAmount",
          "loanTermYears",
          "annualInterestRate",
          "upfrontFeeTreatment"
        ],
        "anyOf": [
          {
            "required": [
              "financedUpfrontFeePercent"
            ]
          },
          {
            "type": "object",
            "properties": {
              "baseLoanAmount": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Positive US dollars"
              },
              "loanTermYears": {
                "type": "integer",
                "minimum": 1,
                "maximum": 30,
                "description": "Whole years"
              },
              "annualInterestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 50,
                "description": "Annual note rate in percent; 6 means 6%"
              },
              "upfrontFeeTreatment": {
                "type": "string",
                "enum": [
                  "financed",
                  "paid_upfront"
                ]
              },
              "financedUpfrontFeePercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percent; 5 means 5%"
              }
            },
            "required": [
              "upfrontFeeTreatment"
            ]
          }
        ]
      },
      "input": {
        "baseLoanAmount": 198000,
        "loanTermYears": 30,
        "annualInterestRate": 6,
        "upfrontFeeTreatment": "financed",
        "financedUpfrontFeePercent": 100
      },
      "output": {
        "status": "available",
        "result": {
          "upfrontFeeRate": 0.01,
          "upfrontFeeAmount": 2000,
          "annualFeeRate": 0.0035,
          "monthlyFeeAmount": 58.01,
          "firstYearMonthlyFeeAmount": 58.01,
          "firstYearAnnualFeeAmount": 696.12,
          "totalAnnualFeeCost": 13514.52,
          "totalFeeCost": 15514.52,
          "annualFeeSchedule": [
            58.01,
            58.01,
            58.01,
            58.01,
            58.01,
            58.01,
            58.01,
            58.01,
            58.01,
            58.01,
            58.01,
            58.01,
            57.27,
            57.27,
            57.27,
            57.27,
            57.27,
            57.27,
            57.27,
            57.27,
            57.27,
            57.27,
            57.27,
            57.27,
            56.49,
            56.49,
            56.49,
            56.49,
            56.49,
            56.49,
            56.49,
            56.49,
            56.49,
            56.49,
            56.49,
            56.49,
            55.66,
            55.66,
            55.66,
            55.66,
            55.66,
            55.66,
            55.66,
            55.66,
            55.66,
            55.66,
            55.66,
            55.66,
            54.78,
            54.78,
            54.78,
            54.78,
            54.78,
            54.78,
            54.78,
            54.78,
            54.78,
            54.78,
            54.78,
            54.78,
            53.84,
            53.84,
            53.84,
            53.84,
            53.84,
            53.84,
            53.84,
            53.84,
            53.84,
            53.84,
            53.84,
            53.84,
            52.85,
            52.85,
            52.85,
            52.85,
            52.85,
            52.85,
            52.85,
            52.85,
            52.85,
            52.85,
            52.85,
            52.85,
            51.8,
            51.8,
            51.8,
            51.8,
            51.8,
            51.8,
            51.8,
            51.8,
            51.8,
            51.8,
            51.8,
            51.8,
            50.68,
            50.68,
            50.68,
            50.68,
            50.68,
            50.68,
            50.68,
            50.68,
            50.68,
            50.68,
            50.68,
            50.68,
            49.49,
            49.49,
            49.49,
            49.49,
            49.49,
            49.49,
            49.49,
            49.49,
            49.49,
            49.49,
            49.49,
            49.49,
            48.23,
            48.23,
            48.23,
            48.23,
            48.23,
            48.23,
            48.23,
            48.23,
            48.23,
            48.23,
            48.23,
            48.23,
            46.89,
            46.89,
            46.89,
            46.89,
            46.89,
            46.89,
            46.89,
            46.89,
            46.89,
            46.89,
            46.89,
            46.89,
            45.46,
            45.46,
            45.46,
            45.46,
            45.46,
            45.46,
            45.46,
            45.46,
            45.46,
            45.46,
            45.46,
            45.46,
            43.95,
            43.95,
            43.95,
            43.95,
            43.95,
            43.95,
            43.95,
            43.95,
            43.95,
            43.95,
            43.95,
            43.95,
            42.35,
            42.35,
            42.35,
            42.35,
            42.35,
            42.35,
            42.35,
            42.35,
            42.35,
            42.35,
            42.35,
            42.35,
            40.65,
            40.65,
            40.65,
            40.65,
            40.65,
            40.65,
            40.65,
            40.65,
            40.65,
            40.65,
            40.65,
            40.65,
            38.84,
            38.84,
            38.84,
            38.84,
            38.84,
            38.84,
            38.84,
            38.84,
            38.84,
            38.84,
            38.84,
            38.84,
            36.92,
            36.92,
            36.92,
            36.92,
            36.92,
            36.92,
            36.92,
            36.92,
            36.92,
            36.92,
            36.92,
            36.92,
            34.89,
            34.89,
            34.89,
            34.89,
            34.89,
            34.89,
            34.89,
            34.89,
            34.89,
            34.89,
            34.89,
            34.89,
            32.72,
            32.72,
            32.72,
            32.72,
            32.72,
            32.72,
            32.72,
            32.72,
            32.72,
            32.72,
            32.72,
            32.72,
            30.43,
            30.43,
            30.43,
            30.43,
            30.43,
            30.43,
            30.43,
            30.43,
            30.43,
            30.43,
            30.43,
            30.43,
            27.99,
            27.99,
            27.99,
            27.99,
            27.99,
            27.99,
            27.99,
            27.99,
            27.99,
            27.99,
            27.99,
            27.99,
            25.4,
            25.4,
            25.4,
            25.4,
            25.4,
            25.4,
            25.4,
            25.4,
            25.4,
            25.4,
            25.4,
            25.4,
            22.65,
            22.65,
            22.65,
            22.65,
            22.65,
            22.65,
            22.65,
            22.65,
            22.65,
            22.65,
            22.65,
            22.65,
            19.74,
            19.74,
            19.74,
            19.74,
            19.74,
            19.74,
            19.74,
            19.74,
            19.74,
            19.74,
            19.74,
            19.74,
            16.64,
            16.64,
            16.64,
            16.64,
            16.64,
            16.64,
            16.64,
            16.64,
            16.64,
            16.64,
            16.64,
            16.64,
            13.35,
            13.35,
            13.35,
            13.35,
            13.35,
            13.35,
            13.35,
            13.35,
            13.35,
            13.35,
            13.35,
            13.35,
            9.86,
            9.86,
            9.86,
            9.86,
            9.86,
            9.86,
            9.86,
            9.86,
            9.86,
            9.86,
            9.86,
            9.86,
            6.16,
            6.16,
            6.16,
            6.16,
            6.16,
            6.16,
            6.16,
            6.16,
            6.16,
            6.16,
            6.16,
            6.16,
            2.22,
            2.22,
            2.22,
            2.22,
            2.22,
            2.22,
            2.22,
            2.22,
            2.22,
            2.22,
            2.22,
            2.22
          ],
          "totalLoanAmount": 200000,
          "annualFeeBasisAmount": 200000,
          "financedUpfrontFeeAmount": 2000,
          "upfrontFeeDueAtClosing": 0,
          "maxFinancedUpfrontFeeAmount": 2000,
          "upfrontFeeTreatment": "financed",
          "program": "USDA"
        },
        "formulaVersion": "usda-guarantee-fees-htcalc-719df2c0e105",
        "units": {
          "upfrontFeeRate": "ratio",
          "annualFeeRate": "ratio",
          "upfrontFeeAmount": "USD",
          "financedUpfrontFeeAmount": "USD",
          "totalLoanAmount": "USD",
          "firstYearMonthlyFeeAmount": "USD/month"
        },
        "assumptions": [
          "Estimate using the FY2026 USDA Single Family Housing Guaranteed Loan Program fee schedule, 1% upfront and 0.35% annually. Does not represent a FY2027 quote."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/usda",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Single-family Section 502 guaranteed-loan illustration using the cited 2026 1.00% upfront / 0.35% annual schedule; no claim that a later fiscal-year fee was verified.",
        "references": [
          {
            "title": "USDA guarantee fee instruction",
            "url": "https://www.rd.usda.gov/media/file/download/04401.pdf"
          }
        ]
      }
    },
    {
      "slug": "hecm-reverse-mortgage",
      "name": "HECM reverse mortgage worksheet",
      "category": "Mortgage",
      "description": "Use the 2026 HUD claim limit and published principal-limit factors to model available funds, set-asides and estimated payments for the supplied household scenario.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "borrowerAge": {
            "type": "integer",
            "minimum": 62,
            "maximum": 120,
            "description": "Borrower age in years; the HUD table ends at 99"
          },
          "eligibleNonBorrowingSpouseAge": {
            "type": "integer",
            "minimum": 18,
            "maximum": 120,
            "description": "Age in years; supplied only for an eligible non-borrowing spouse"
          },
          "homeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "existingMortgage": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "expectedRate": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 50,
            "description": "Annual expected mortgage interest rate in percent"
          },
          "otherClosingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "repairSetAside": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "propertyChargeSetAside": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "servicingFeeSetAside": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          }
        },
        "required": [
          "borrowerAge",
          "homeValue",
          "existingMortgage",
          "expectedRate",
          "otherClosingCosts",
          "repairSetAside",
          "propertyChargeSetAside",
          "servicingFeeSetAside"
        ]
      },
      "input": {
        "borrowerAge": 72,
        "eligibleNonBorrowingSpouseAge": 72,
        "homeValue": 500000,
        "existingMortgage": 50000,
        "expectedRate": 6,
        "otherClosingCosts": 2000,
        "repairSetAside": 3000,
        "propertyChargeSetAside": 1000,
        "servicingFeeSetAside": 500
      },
      "output": {
        "status": "available",
        "result": {
          "age": 72,
          "borrowerAge": 72,
          "eligibleNonBorrowingSpouseAge": 72,
          "usesEligibleNonBorrowingSpouseAge": false,
          "ageWasCapped": false,
          "expectedRate": 6,
          "selectedExpectedRate": 6,
          "rateWasFloored": false,
          "rateWasCapped": false,
          "homeValue": 500000,
          "hecmLimitYear": 2026,
          "hecmLimit": 1249125,
          "maximumClaimAmount": 500000,
          "homeValueCappedByLimit": false,
          "principalLimitFactor": 0.416,
          "principalLimit": 208000,
          "initialMip": 10000,
          "annualMipRate": 0.005,
          "originationFee": 6000,
          "otherClosingCosts": 2000,
          "totalUpfrontCosts": 18000,
          "existingMortgage": 50000,
          "repairSetAside": 3000,
          "propertyChargeSetAside": 1000,
          "servicingFeeSetAside": 500,
          "mandatoryPayoffsAndCosts": 71000,
          "restrictedSetAsides": 1500,
          "totalCommitted": 72500,
          "netPrincipalLimit": 135500,
          "initialDisbursementBase": 124800,
          "initialDisbursementLimit": 124800,
          "cashAvailableFirstYear": 53800,
          "remainingLineOfCredit": 81700,
          "cashFromBorrower": 0,
          "startingLoanBalance": 124800,
          "firstYearAnnualMipEstimate": 624,
          "tenureMonths": 336,
          "monthlyTenureEstimate": 876.7067909172,
          "ageSensitivity": [
            {
              "age": 72,
              "principalLimitFactor": 0.416,
              "principalLimit": 208000,
              "cashAvailableFirstYear": 53800,
              "monthlyTenureEstimate": 876.7067909172
            },
            {
              "age": 77,
              "principalLimitFactor": 0.46,
              "principalLimit": 230000,
              "cashAvailableFirstYear": 67000,
              "monthlyTenureEstimate": 1101.0268557217
            },
            {
              "age": 82,
              "principalLimitFactor": 0.511,
              "principalLimit": 255500,
              "cashAvailableFirstYear": 82300,
              "monthlyTenureEstimate": 1439.4071550958
            }
          ]
        },
        "formulaVersion": "hecm-reverse-mortgage-htcalc-719df2c0e105",
        "units": {
          "principalLimitFactor": "ratio",
          "maximumClaimAmount": "USD",
          "principalLimit": "USD",
          "initialMip": "USD",
          "originationFee": "USD",
          "cashAvailableFirstYear": "USD",
          "monthlyTenureEstimate": "USD/month"
        },
        "assumptions": [
          "Model uses the HUD October 2017 principal-limit factors and 2026 maximum claim amount of $1,249,125. Counseling, eligibility, underwriting and individualized offers are outside the calculation."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/reverse-mortgage",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Calendar-year 2026 HUD maximum claim amount and HUD principal-limit factors for loans assigned on/after 2017-10-02. Entered ages and set-asides; estimated disbursement is not an offer.",
        "references": [
          {
            "title": "HUD Home Equity Conversion Mortgages",
            "url": "https://www.hud.gov/stat/sfh/hecm"
          },
          {
            "title": "HUD 2026 HECM maximum claim amount",
            "url": "https://www.hud.gov/sites/default/files/hudclips/documents/2025-22hsgml.pdf"
          }
        ]
      }
    },
    {
      "slug": "purchase-cost-of-waiting",
      "name": "Cost of delaying a purchase",
      "category": "Mortgage",
      "description": "Compare buying now and later using the supplied rent, savings, price appreciation, future rate change and term.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "currentHomePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "downPaymentPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "currentInterestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual note rate in percent; 6 means 6%"
          },
          "yearsToWait": {
            "type": "number",
            "minimum": 0,
            "maximum": 30,
            "description": "Years to wait"
          },
          "annualPriceAppreciation": {
            "type": "number",
            "minimum": -50,
            "maximum": 50,
            "description": "Annual home price change in percent"
          },
          "expectedRateChange": {
            "type": "number",
            "minimum": -30,
            "maximum": 30,
            "description": "Future note-rate change, in percentage points"
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "monthlyRentWhileWaiting": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "annualSavingsRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          }
        },
        "required": [
          "currentHomePrice",
          "downPaymentPct",
          "currentInterestRate",
          "yearsToWait",
          "annualPriceAppreciation",
          "expectedRateChange",
          "loanTermYears",
          "monthlyRentWhileWaiting",
          "annualSavingsRate"
        ]
      },
      "input": {
        "currentHomePrice": 300000,
        "downPaymentPct": 20,
        "currentInterestRate": 6,
        "yearsToWait": 2,
        "annualPriceAppreciation": 3,
        "expectedRateChange": 0.5,
        "loanTermYears": 30,
        "monthlyRentWhileWaiting": 1500,
        "annualSavingsRate": 6000
      },
      "output": {
        "status": "available",
        "result": {
          "nowDownPayment": 60000,
          "nowLoan": 240000,
          "nowMonthlyPayment": 1438.9212603666,
          "nowRate": 6,
          "futurePrice": 318270,
          "futureRate": 6.5,
          "futureDownPayment": 63654,
          "futureLoan": 254616,
          "futureMonthlyPayment": 1609.3463186968,
          "extraDownNeeded": 0,
          "totalRentPaid": 36000,
          "additionalSavingsAccumulated": 12000,
          "monthlyDiff": 170.42505833019982,
          "annualDiff": 2045.1006999623978,
          "tenYearDiff": 20451.006999623976,
          "thirtyYearDiff": 61353.020998871936,
          "fullLoanDiff": 61353.02099887193,
          "lifetimeDiff": 61353.02099887193,
          "totalCostOfWaiting": 85353.02099887193,
          "equityMissed": 18270,
          "opportunityCost": 36000,
          "waitingBeneficial": false
        },
        "formulaVersion": "purchase-cost-of-waiting-htcalc-719df2c0e105",
        "units": {
          "nowLoan": "USD",
          "futurePrice": "USD",
          "futureLoan": "USD",
          "totalRentPaid": "USD",
          "additionalSavingsAccumulated": "USD",
          "totalCostOfWaiting": "USD",
          "monthlyDiff": "USD/month"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/cost-of-waiting",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Caller-supplied price growth, future rate change, rent paid and savings per year. The existing engine floors the future note rate at 0.5%. No economic forecast.",
        "references": []
      }
    },
    {
      "slug": "rent-or-buy-horizon",
      "name": "Rent versus buy over a holding period",
      "category": "Mortgage",
      "description": "Compare the current screen's owner and renter spending, home equity and invested balances over an explicitly supplied horizon.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "homePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "downPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "mortgageRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual note rate in percent; 6 means 6%"
          },
          "loanTermYears": {
            "type": "number",
            "minimum": 1,
            "maximum": 50,
            "description": "Loan term in years, including fractional years"
          },
          "propertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "annualInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "maintenanceRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "hoaMonthly": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "closingCostRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "sellingCostRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "homeAppreciationRate": {
            "type": "number",
            "minimum": -50,
            "maximum": 50,
            "description": "Annual home appreciation in percent"
          },
          "monthlyRent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "annualRentIncrease": {
            "type": "number",
            "minimum": -50,
            "maximum": 50,
            "description": "Annual change in rent in percent"
          },
          "rentersInsuranceMonthly": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "investmentReturnRate": {
            "type": "number",
            "minimum": -50,
            "maximum": 50,
            "description": "Annual investment return in percent"
          },
          "timeHorizonYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Modeled years"
          }
        },
        "required": [
          "homePrice",
          "downPaymentPercent",
          "mortgageRate",
          "loanTermYears",
          "propertyTaxRate",
          "annualInsurance",
          "maintenanceRate",
          "hoaMonthly",
          "closingCostRate",
          "sellingCostRate",
          "homeAppreciationRate",
          "monthlyRent",
          "annualRentIncrease",
          "rentersInsuranceMonthly",
          "investmentReturnRate",
          "timeHorizonYears"
        ]
      },
      "input": {
        "homePrice": 300000,
        "downPaymentPercent": 20,
        "mortgageRate": 0,
        "loanTermYears": 20,
        "propertyTaxRate": 1.2,
        "annualInsurance": 1200,
        "maintenanceRate": 1.2,
        "hoaMonthly": 100,
        "closingCostRate": 2,
        "sellingCostRate": 5,
        "homeAppreciationRate": 0,
        "monthlyRent": 1500,
        "annualRentIncrease": 0,
        "rentersInsuranceMonthly": 20,
        "investmentReturnRate": 0,
        "timeHorizonYears": 5
      },
      "output": {
        "status": "available",
        "result": {
          "downPayment": 60000,
          "loanAmount": 240000,
          "closingCosts": 6000,
          "mortgagePayment": 1000,
          "startParts": {
            "principalAndInterest": 1000,
            "propertyTax": 300,
            "insurance": 100,
            "maintenance": 300,
            "hoa": 100,
            "pmi": 0
          },
          "startBuyMonthly": 1800,
          "startRentMonthly": 1520,
          "buySpent": 174000,
          "rentSpent": 91200,
          "interestPaid": 0,
          "principalPaid": 60000,
          "taxPaid": 18000,
          "insurancePaid": 6000,
          "maintenancePaid": 18000,
          "hoaPaid": 6000,
          "pmiPaid": 0,
          "homeValue": 300000,
          "balance": 180000,
          "equity": 120000,
          "saleProceeds": 105000,
          "homeownerWealth": 105000,
          "renterWealth": 82800,
          "buyNetCost": 69000,
          "wealthGap": 22200,
          "costGap": 22200,
          "costBreakeven": 30,
          "wealthBreakeven": 30,
          "winner": "buy",
          "costLeader": "buy",
          "chartData": [
            {
              "year": 1,
              "rentCost": 18240,
              "buyNetCost": 30600,
              "renterWealth": 69360,
              "homeownerWealth": 57000
            },
            {
              "year": 2,
              "rentCost": 36480,
              "buyNetCost": 40200,
              "renterWealth": 72720,
              "homeownerWealth": 69000
            },
            {
              "year": 3,
              "rentCost": 54720,
              "buyNetCost": 49800,
              "renterWealth": 76080,
              "homeownerWealth": 81000
            },
            {
              "year": 4,
              "rentCost": 72960,
              "buyNetCost": 59400,
              "renterWealth": 79440,
              "homeownerWealth": 93000
            },
            {
              "year": 5,
              "rentCost": 91200,
              "buyNetCost": 69000,
              "renterWealth": 82800,
              "homeownerWealth": 105000
            }
          ]
        },
        "formulaVersion": "rent-or-buy-horizon-htcalc-719df2c0e105",
        "units": {
          "startBuyMonthly": "USD/month",
          "startRentMonthly": "USD/month",
          "homeValue": "USD",
          "equity": "USD",
          "renterWealth": "USD",
          "homeownerWealth": "USD",
          "wealthGap": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/rent-vs-buy",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Current screen model of housing, invested cash and net wealth under entered assumptions and term. For sub-20%-down conventional cases it uses its model PMI rate and scheduled cancellation.",
        "references": [
          {
            "title": "CFPB mortgage insurance cancellation guidance",
            "url": "https://www.consumerfinance.gov/ask-cfpb/when-can-i-remove-private-mortgage-insurance-pmi-from-my-loan-en-202/"
          }
        ]
      }
    },
    {
      "slug": "home-ownership-budget",
      "name": "Monthly homeownership budget",
      "category": "Mortgage",
      "description": "Combine principal and interest with caller-supplied property taxes, homeowners insurance, maintenance and HOA to calculate the recurring ownership budget.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "monthlyRent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "annualRentIncreaseRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "monthlyRentersInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "homePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "downPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "downPaymentRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual note rate in percent; 6 means 6%"
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "annualPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "propertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "annualHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "monthlyHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "annualMaintenance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "maintenanceRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "monthlyHOA": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "buyingClosingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "buyingClosingCostsRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "annualHomeAppreciationRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "annualInvestmentReturnRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "annualDiscountRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "yearsToAnalyze": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Modeled years"
          },
          "sellingCostRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "annualOwnershipCostInflationRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          }
        },
        "required": [
          "homePrice",
          "interestRate",
          "loanTermYears",
          "monthlyRent",
          "annualRentIncreaseRate",
          "annualHomeAppreciationRate",
          "annualInvestmentReturnRate",
          "annualDiscountRate",
          "yearsToAnalyze"
        ],
        "allOf": [
          {
            "oneOf": [
              {
                "required": [
                  "downPayment"
                ]
              },
              {
                "required": [
                  "downPaymentRate"
                ]
              }
            ]
          },
          {
            "oneOf": [
              {
                "required": [
                  "annualPropertyTax"
                ]
              },
              {
                "required": [
                  "propertyTaxRate"
                ]
              }
            ]
          },
          {
            "oneOf": [
              {
                "required": [
                  "annualHomeInsurance"
                ]
              },
              {
                "required": [
                  "monthlyHomeInsurance"
                ]
              }
            ]
          },
          {
            "oneOf": [
              {
                "required": [
                  "annualMaintenance"
                ]
              },
              {
                "required": [
                  "maintenanceRate"
                ]
              }
            ]
          },
          {
            "oneOf": [
              {
                "required": [
                  "buyingClosingCosts"
                ]
              },
              {
                "required": [
                  "buyingClosingCostsRate"
                ]
              }
            ]
          }
        ]
      },
      "input": {
        "monthlyRent": 1500,
        "annualRentIncreaseRate": 2,
        "monthlyRentersInsurance": 20,
        "homePrice": 300000,
        "downPayment": 60000,
        "interestRate": 0,
        "loanTermYears": 20,
        "annualPropertyTax": 3600,
        "annualHomeInsurance": 1200,
        "annualMaintenance": 3600,
        "monthlyHOA": 100,
        "buyingClosingCosts": 6000,
        "annualHomeAppreciationRate": 2,
        "annualInvestmentReturnRate": 3,
        "annualDiscountRate": 4,
        "yearsToAnalyze": 5,
        "sellingCostRate": 5,
        "annualOwnershipCostInflationRate": 2
      },
      "output": {
        "status": "available",
        "result": {
          "homePrice": 300000,
          "downPayment": 60000,
          "loanAmount": 240000,
          "buyingClosingCosts": 6000,
          "monthlyPI": 1000,
          "monthlyPropertyTax": 300,
          "monthlyHomeInsurance": 100,
          "monthlyMaintenance": 300,
          "monthlyHOA": 100,
          "totalMonthlyOwnershipCost": 1800
        },
        "formulaVersion": "home-ownership-budget-htcalc-719df2c0e105",
        "units": {
          "loanAmount": "USD",
          "monthlyPI": "USD/month",
          "monthlyPropertyTax": "USD/month",
          "monthlyHomeInsurance": "USD/month",
          "monthlyMaintenance": "USD/month",
          "monthlyHOA": "USD/month",
          "totalMonthlyOwnershipCost": "USD/month"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/rent-vs-buy",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Recurring P&I, property taxes, insurance, maintenance and HOA. Amount/rate alternatives are exclusive; typed budget inputs only.",
        "references": []
      }
    },
    {
      "slug": "rent-or-buy-discounted-cash-flow",
      "name": "Discounted rent versus buy cash flows",
      "category": "Mortgage",
      "description": "Measure the present-value difference between two housing paths using caller-supplied discount, investment-return, appreciation and cost-inflation assumptions.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "monthlyRent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "annualRentIncreaseRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "monthlyRentersInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "homePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "downPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "downPaymentRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual note rate in percent; 6 means 6%"
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "annualPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "propertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "annualHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "monthlyHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "annualMaintenance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "maintenanceRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "monthlyHOA": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "buyingClosingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "buyingClosingCostsRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "annualHomeAppreciationRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "annualInvestmentReturnRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "annualDiscountRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "yearsToAnalyze": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Modeled years"
          },
          "sellingCostRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "annualOwnershipCostInflationRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          }
        },
        "required": [
          "homePrice",
          "interestRate",
          "loanTermYears",
          "monthlyRent",
          "annualRentIncreaseRate",
          "annualHomeAppreciationRate",
          "annualInvestmentReturnRate",
          "annualDiscountRate",
          "yearsToAnalyze"
        ],
        "allOf": [
          {
            "oneOf": [
              {
                "required": [
                  "downPayment"
                ]
              },
              {
                "required": [
                  "downPaymentRate"
                ]
              }
            ]
          },
          {
            "oneOf": [
              {
                "required": [
                  "annualPropertyTax"
                ]
              },
              {
                "required": [
                  "propertyTaxRate"
                ]
              }
            ]
          },
          {
            "oneOf": [
              {
                "required": [
                  "annualHomeInsurance"
                ]
              },
              {
                "required": [
                  "monthlyHomeInsurance"
                ]
              }
            ]
          },
          {
            "oneOf": [
              {
                "required": [
                  "annualMaintenance"
                ]
              },
              {
                "required": [
                  "maintenanceRate"
                ]
              }
            ]
          },
          {
            "oneOf": [
              {
                "required": [
                  "buyingClosingCosts"
                ]
              },
              {
                "required": [
                  "buyingClosingCostsRate"
                ]
              }
            ]
          }
        ]
      },
      "input": {
        "monthlyRent": 1500,
        "annualRentIncreaseRate": 2,
        "monthlyRentersInsurance": 20,
        "homePrice": 300000,
        "downPayment": 60000,
        "interestRate": 0,
        "loanTermYears": 20,
        "annualPropertyTax": 3600,
        "annualHomeInsurance": 1200,
        "annualMaintenance": 3600,
        "monthlyHOA": 100,
        "buyingClosingCosts": 6000,
        "annualHomeAppreciationRate": 2,
        "annualInvestmentReturnRate": 3,
        "annualDiscountRate": 4,
        "yearsToAnalyze": 5,
        "sellingCostRate": 5,
        "annualOwnershipCostInflationRate": 2
      },
      "output": {
        "status": "available",
        "result": {
          "monthlyOwnershipCosts": {
            "homePrice": 300000,
            "downPayment": 60000,
            "loanAmount": 240000,
            "buyingClosingCosts": 6000,
            "monthlyPI": 1000,
            "monthlyPropertyTax": 300,
            "monthlyHomeInsurance": 100,
            "monthlyMaintenance": 300,
            "monthlyHOA": 100,
            "totalMonthlyOwnershipCost": 1800
          },
          "rentingCosts": {
            "totalRentingCost": 94872.72287999994,
            "totalRentPaid": 93672.72287999994,
            "totalRentersInsurancePaid": 1200,
            "endingMonthlyRent": 1623.6482400000002
          },
          "opportunityCost": {
            "initialDownPayment": 60000,
            "annualInvestmentReturnRate": 3,
            "yearsInvested": 5,
            "futureValue": 69556.444458,
            "investmentGain": 9556.444457999998
          },
          "yearlyProjection": [
            {
              "year": 1,
              "annualOwnershipCost": 21600,
              "annualRentCost": 18240,
              "cumulativeOwnershipCost": 87600,
              "cumulativeRentCost": 18240,
              "homeValue": 306000.00000000023,
              "loanBalance": 228000,
              "principalPaid": 12000,
              "interestPaid": 0,
              "rawHomeEquity": 78000.00000000023,
              "netSaleProceeds": 62700.00000000023,
              "buyerInvestmentBalance": 0,
              "renterInvestmentBalance": 71385.95343394014,
              "buyerNetWorth": 62700.00000000023,
              "renterNetWorth": 71385.95343394014,
              "netWorthAdvantage": -8685.95343393991
            },
            {
              "year": 2,
              "annualOwnershipCost": 21792,
              "annualRentCost": 18600,
              "cumulativeOwnershipCost": 109392,
              "cumulativeRentCost": 36840,
              "homeValue": 312120.00000000035,
              "loanBalance": 216000,
              "principalPaid": 12000,
              "interestPaid": 0,
              "rawHomeEquity": 96120.00000000035,
              "netSaleProceeds": 80514.00000000029,
              "buyerInvestmentBalance": 0,
              "renterInvestmentBalance": 76763.18779920148,
              "buyerNetWorth": 80514.00000000029,
              "renterNetWorth": 76763.18779920148,
              "netWorthAdvantage": 3750.812200798813
            },
            {
              "year": 3,
              "annualOwnershipCost": 21987.839999999997,
              "annualRentCost": 18967.2,
              "cumulativeOwnershipCost": 131379.84000000008,
              "cumulativeRentCost": 55807.19999999998,
              "homeValue": 318362.40000000055,
              "loanBalance": 204000,
              "principalPaid": 12000,
              "interestPaid": 0,
              "rawHomeEquity": 114362.40000000055,
              "netSaleProceeds": 98444.2800000005,
              "buyerInvestmentBalance": 0,
              "renterInvestmentBalance": 82128.03557028974,
              "buyerNetWorth": 98444.2800000005,
              "renterNetWorth": 82128.03557028974,
              "netWorthAdvantage": 16316.244429710758
            },
            {
              "year": 4,
              "annualOwnershipCost": 22187.5968,
              "annualRentCost": 19341.744000000002,
              "cumulativeOwnershipCost": 153567.43680000014,
              "cumulativeRentCost": 75148.944,
              "homeValue": 324729.64800000086,
              "loanBalance": 192000,
              "principalPaid": 12000,
              "interestPaid": 0,
              "rawHomeEquity": 132729.64800000086,
              "netSaleProceeds": 116493.16560000082,
              "buyerInvestmentBalance": 0,
              "renterInvestmentBalance": 87476.65107687705,
              "buyerNetWorth": 116493.16560000082,
              "renterNetWorth": 87476.65107687705,
              "netWorthAdvantage": 29016.51452312377
            },
            {
              "year": 5,
              "annualOwnershipCost": 22391.348736,
              "annualRentCost": 19723.778879999998,
              "cumulativeOwnershipCost": 175958.78553600004,
              "cumulativeRentCost": 94872.72287999994,
              "homeValue": 331224.24096000113,
              "loanBalance": 180000,
              "principalPaid": 12000,
              "interestPaid": 0,
              "rawHomeEquity": 151224.24096000113,
              "netSaleProceeds": 134663.02891200106,
              "buyerInvestmentBalance": 0,
              "renterInvestmentBalance": 92805.0037970757,
              "buyerNetWorth": 134663.02891200106,
              "renterNetWorth": 92805.0037970757,
              "netWorthAdvantage": 41858.02511492536
            }
          ],
          "upfrontCashToClose": 66000,
          "totalOwnershipCost": 175958.78553600004,
          "totalRentingCost": 94872.72287999994,
          "totalInterestPaid": 0,
          "totalPrincipalPaid": 60000,
          "finalBuyerNetWorth": 134663.02891200106,
          "finalRenterNetWorth": 92805.0037970757,
          "finalNetWorthAdvantage": 41858.02511492536,
          "breakEvenYear": 2,
          "buyNPV": -54932.11187652813,
          "rentNPV": -89336.35735389893,
          "npvAdvantage": 34404.2454773708,
          "npvWinner": "buy",
          "recommendation": "buy"
        },
        "formulaVersion": "rent-or-buy-discounted-cash-flow-htcalc-719df2c0e105",
        "units": {
          "upfrontCashToClose": "USD",
          "totalOwnershipCost": "USD",
          "totalRentingCost": "USD",
          "totalPrincipalPaid": "USD",
          "totalInterestPaid": "USD",
          "buyNPV": "USD",
          "rentNPV": "USD",
          "npvAdvantage": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/rent-vs-buy",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Includes opportunity cost, modeled rent, buyer/renter assets and discounted cash flows. The caller supplies both the growth assumptions and discount rate.",
        "references": []
      }
    },
    {
      "slug": "renovation-budget-and-quote",
      "name": "Renovation budget and contractor quote",
      "category": "Mortgage",
      "description": "Total entered estimates and actuals, contingency, markup, discounts, tax, deposit and milestone payments.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "id": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80,
                      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
                    },
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "Local item ID"
                    }
                  ]
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 100,
                  "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
                },
                "category": {
                  "type": "string",
                  "enum": [
                    "Materials",
                    "Labor",
                    "Services",
                    "Permits",
                    "Other"
                  ]
                },
                "quantity": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000,
                  "description": "Units"
                },
                "unit": {
                  "type": "string",
                  "minLength": 0,
                  "maxLength": 24,
                  "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
                },
                "estimatedCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars"
                },
                "materialCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars"
                },
                "laborCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars"
                },
                "actualCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars"
                },
                "isCompleted": {
                  "type": "boolean"
                }
              },
              "required": [
                "category",
                "estimatedCost",
                "materialCost",
                "actualCost",
                "isCompleted"
              ]
            },
            "minItems": 1,
            "maxItems": 100
          },
          "budget": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "contingencyRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "contractorSettings": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "markupRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percent; 5 means 5%"
              },
              "taxRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percent; 5 means 5%"
              },
              "taxMaterialsOnly": {
                "type": "boolean"
              },
              "discountType": {
                "type": "string",
                "enum": [
                  "percent",
                  "fixed"
                ]
              },
              "discountAmount": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Percent or US dollars according to discountType"
              },
              "depositPercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percent; 5 means 5%"
              },
              "milestones": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "anyOf": [
                        {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 80,
                          "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
                        },
                        {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 1000000000,
                          "description": "Local item ID"
                        }
                      ]
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 80,
                      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
                    },
                    "percent": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Percent; 5 means 5%"
                    }
                  },
                  "required": [
                    "percent"
                  ]
                },
                "minItems": 0,
                "maxItems": 32
              }
            },
            "required": [
              "markupRate",
              "taxRate",
              "taxMaterialsOnly",
              "discountType",
              "discountAmount",
              "depositPercent",
              "milestones"
            ]
          }
        },
        "required": [
          "items",
          "budget",
          "contingencyRate",
          "contractorSettings"
        ]
      },
      "input": {
        "items": [
          {
            "id": "wood",
            "category": "Materials",
            "name": "Lumber",
            "estimatedCost": 3000,
            "actualCost": 2500,
            "materialCost": 3000,
            "isCompleted": true
          },
          {
            "id": "crew",
            "category": "Labor",
            "name": "Installation",
            "estimatedCost": 2000,
            "actualCost": 500,
            "materialCost": 0,
            "isCompleted": false
          }
        ],
        "budget": 6000,
        "contingencyRate": 10,
        "contractorSettings": {
          "markupRate": 10,
          "discountType": "percent",
          "discountAmount": 0,
          "taxMaterialsOnly": true,
          "taxRate": 5,
          "depositPercent": 20,
          "milestones": [
            {
              "id": "m1",
              "name": "Midpoint",
              "percent": 30
            }
          ]
        }
      },
      "output": {
        "status": "available",
        "result": {
          "estimatedTotal": 5000,
          "actualTotal": 3000,
          "contingencyAmount": 500,
          "finalEstimatedTotal": 5500,
          "remainingBudget": 3000,
          "projectedVariance": 500,
          "percentUsed": 50,
          "percentComplete": 50,
          "chartData": [
            {
              "name": "Materials",
              "value": 3000
            },
            {
              "name": "Labor",
              "value": 2000
            }
          ],
          "totalMarkup": 500,
          "subtotalWithMarkup": 5500,
          "discountValue": 0,
          "subtotalAfterDiscount": 5500,
          "totalTax": 165,
          "clientTotal": 5665,
          "depositAmount": 1133,
          "milestonesTotal": 1699.5,
          "finalPayment": 2832.5
        },
        "formulaVersion": "renovation-budget-and-quote-htcalc-719df2c0e105",
        "units": {
          "estimatedTotal": "USD",
          "actualTotal": "USD",
          "contingencyAmount": "USD",
          "clientTotal": "USD",
          "totalTax": "USD",
          "depositAmount": "USD",
          "finalPayment": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/project",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Project and contractor worksheet with itemized estimates and actuals, markup, discount, materials-tax election and payment schedule. AST slice includes only CATEGORIES and calculateRenovationTotals.",
        "references": []
      }
    },
    {
      "slug": "purchase-program-scenarios",
      "name": "Mortgage purchase program comparison",
      "category": "Mortgage",
      "description": "Compare modeled down payments, financed balances and housing payments under the worksheet's conventional, FHA and VA presets. The scenario flags describe the worksheet assumptions only.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "inputs": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "homePrice": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 1000000000,
                "description": "Positive US dollars"
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 50,
                "description": "Annual note rate in percent; 6 means 6%"
              },
              "loanTerm": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Whole years"
              },
              "annualIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars per year"
              },
              "monthlyDebts": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000,
                "description": "US dollars per month"
              },
              "propertyTaxRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percent; 5 means 5%"
              },
              "insuranceRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percent; 5 means 5%"
              }
            },
            "required": [
              "homePrice",
              "interestRate",
              "loanTerm",
              "annualIncome",
              "monthlyDebts",
              "propertyTaxRate",
              "insuranceRate"
            ]
          },
          "programs": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "conventional",
                "fha",
                "va"
              ]
            },
            "minItems": 1,
            "maxItems": 3
          }
        },
        "required": [
          "inputs",
          "programs"
        ]
      },
      "input": {
        "inputs": {
          "homePrice": 300000,
          "interestRate": 6,
          "loanTerm": 30,
          "annualIncome": 90000,
          "monthlyDebts": 500,
          "propertyTaxRate": 1.2,
          "insuranceRate": 0.4
        },
        "programs": [
          "conventional",
          "fha",
          "va"
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "conventional": {
            "program": "conventional",
            "label": "Conventional",
            "homePrice": 300000,
            "baseLoanAmount": 285000,
            "financedLoanAmount": 285000,
            "downPaymentCash": 15000,
            "downPaymentPercent": 5,
            "ltv": 95,
            "upfrontFee": 0,
            "upfrontFeeRate": 0,
            "monthlyPrincipalAndInterest": 1708.72,
            "monthlyTax": 300,
            "monthlyInsurance": 100,
            "monthlyMortgageInsurance": 118.75,
            "totalMonthlyPayment": 2227.47,
            "requiredAnnualIncome": 53459.26,
            "maxDti": 50,
            "minDownPaymentPercent": 5,
            "programEligible": true,
            "eligibilityIssues": [],
            "actualDti": 36.37,
            "qualifies": true,
            "maxQualifyingRate": null,
            "additionalDownPaymentNeeded": 0,
            "details": {
              "principalAndInterest": 1708.7189966853,
              "monthlyTax": 300,
              "monthlyInsurance": 100,
              "monthlyPMI": 118.75,
              "monthlyPayment": 2227.4689966853,
              "monthlyPrincipal": 283.7189966853,
              "monthlyInterest": 1425,
              "totalPayment": 774456.78,
              "totalFinancingPayment": 615138.03,
              "totalInterest": 330138.03,
              "loanAmount": 285000,
              "upfrontFees": 0,
              "originationFeeAmount": 0,
              "feeDeductedFromProceeds": 0,
              "capitalizedInterest": 0,
              "businessDscr": 0,
              "pmiMonths": 129
            }
          },
          "fha": {
            "program": "fha",
            "label": "FHA",
            "homePrice": 300000,
            "baseLoanAmount": 289500,
            "financedLoanAmount": 294566.25,
            "downPaymentCash": 10500,
            "downPaymentPercent": 3.5,
            "ltv": 96.5,
            "upfrontFee": 5066.25,
            "upfrontFeeRate": 0.0175,
            "monthlyPrincipalAndInterest": 1766.07,
            "monthlyTax": 300,
            "monthlyInsurance": 100,
            "monthlyMortgageInsurance": 135.01,
            "totalMonthlyPayment": 2301.08,
            "requiredAnnualIncome": 48443.85,
            "maxDti": 57,
            "minDownPaymentPercent": 3.5,
            "programEligible": true,
            "eligibilityIssues": [],
            "actualDti": 37.35,
            "qualifies": true,
            "maxQualifyingRate": null,
            "additionalDownPaymentNeeded": 0,
            "details": {
              "principalAndInterest": 1766.0734987978,
              "monthlyTax": 300,
              "monthlyInsurance": 100,
              "monthlyPMI": 135.00953125,
              "monthlyPayment": 2301.0830300478,
              "monthlyPrincipal": 293.24224879780013,
              "monthlyInterest": 1472.83125,
              "totalPayment": 828392.26125,
              "totalFinancingPayment": 635788.8300000001,
              "totalInterest": 341222.58,
              "loanAmount": 294566.25,
              "upfrontFees": 0,
              "originationFeeAmount": 0,
              "feeDeductedFromProceeds": 0,
              "capitalizedInterest": 0,
              "businessDscr": 0,
              "pmiMonths": 360
            }
          },
          "va": {
            "program": "va",
            "label": "VA",
            "homePrice": 300000,
            "baseLoanAmount": 300000,
            "financedLoanAmount": 306450,
            "downPaymentCash": 0,
            "downPaymentPercent": 0,
            "ltv": 100,
            "upfrontFee": 6450,
            "upfrontFeeRate": 0.0215,
            "monthlyPrincipalAndInterest": 1837.32,
            "monthlyTax": 300,
            "monthlyInsurance": 100,
            "monthlyMortgageInsurance": 0,
            "totalMonthlyPayment": 2237.32,
            "requiredAnnualIncome": 44746.45,
            "maxDti": 60,
            "minDownPaymentPercent": 0,
            "programEligible": true,
            "eligibilityIssues": [],
            "actualDti": 36.5,
            "qualifies": true,
            "maxQualifyingRate": null,
            "additionalDownPaymentNeeded": 0,
            "details": {
              "principalAndInterest": 1837.3225843306,
              "monthlyTax": 300,
              "monthlyInsurance": 100,
              "monthlyPMI": 0,
              "monthlyPayment": 2237.3225843306,
              "monthlyPrincipal": 305.07258433059997,
              "monthlyInterest": 1532.25,
              "totalPayment": 805437.71,
              "totalFinancingPayment": 661437.71,
              "totalInterest": 354987.71,
              "loanAmount": 306450,
              "upfrontFees": 0,
              "originationFeeAmount": 0,
              "feeDeductedFromProceeds": 0,
              "capitalizedInterest": 0,
              "businessDscr": 0
            }
          }
        },
        "formulaVersion": "purchase-program-scenarios-htcalc-719df2c0e105",
        "units": {
          "conventional.monthlyTax": "USD/month",
          "fha.financedLoanAmount": "USD",
          "va.downPaymentCash": "USD",
          "fha.monthlyMortgageInsurance": "USD/month"
        },
        "assumptions": [
          "HT Calc policy snapshot 719df2c, November 2026. Program comparisons are planning estimates. A lender determines underwriting and eligibility."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/purchase",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Conventional, FHA and VA model presets share the supplied price and term. Any qualifies/programEligible output is a worksheet flag, not underwriting, available pricing or actual eligibility.",
        "references": [
          {
            "title": "HUD annual mortgage insurance schedule",
            "url": "https://www.hud.gov/sites/dfiles/OCHCO/documents/2023-05hsgml.pdf"
          },
          {
            "title": "VA funding fees and closing costs",
            "url": "https://www.va.gov/housing-assistance/home-loans/funding-fee-and-closing-costs/"
          }
        ]
      }
    },
    {
      "slug": "scheduled-pmi-target",
      "name": "Scheduled balance at a PMI threshold",
      "category": "Mortgage",
      "description": "Estimate when scheduled payments reach the supplied balance-to-original-value target. The result models balance timing only.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "homeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars"
          },
          "piPayment": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100000000,
            "description": "Monthly scheduled principal and interest in USD"
          },
          "noteRatePercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual note rate in percent; 6 means 6%"
          },
          "termMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months"
          },
          "targetLtv": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1,
            "description": "Loan-to-value fraction; 0.78 means 78%"
          }
        },
        "required": [
          "loanAmount",
          "homeValue",
          "piPayment",
          "noteRatePercent",
          "termMonths",
          "targetLtv"
        ]
      },
      "input": {
        "loanAmount": 270000,
        "homeValue": 300000,
        "piPayment": 750,
        "noteRatePercent": 0,
        "termMonths": 360,
        "targetLtv": 0.78
      },
      "output": {
        "status": "available",
        "result": {
          "months": 48,
          "reached": true
        },
        "formulaVersion": "scheduled-pmi-target-htcalc-719df2c0e105",
        "units": {
          "months": "months"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/true-rate/conventional",
      "methodology": {
        "reviewedOn": "2026-11-14",
        "scope": "Scheduled balance hitting a chosen fraction of original value. Timing is a numerical condition, not permission to cancel insurance; servicer and statutory conditions matter.",
        "references": [
          {
            "title": "CFPB mortgage insurance cancellation guidance",
            "url": "https://www.consumerfinance.gov/ask-cfpb/when-can-i-remove-private-mortgage-insurance-pmi-from-my-loan-en-202/"
          }
        ]
      }
    },
    {
      "slug": "loan-estimate-apr-check",
      "name": "APR from entered loan-estimate figures",
      "category": "Mortgage",
      "description": "Reconcile an entered fixed-rate disclosure against principal, payments, terms, prepaid finance charges and a separately supplied mortgage-insurance schedule.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "monthlyPI": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0.001,
            "maximum": 50,
            "description": "Annual note rate in percent"
          },
          "productType": {
            "type": "string",
            "const": "Fixed Rate"
          },
          "balloonPayment": {
            "type": "boolean",
            "const": false
          },
          "monthlyMortgageInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "mortgageInsuranceMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months"
          },
          "totalOriginationCharges": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "upfrontMIP": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "prepaidInterest": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "projectedPayments": {
            "type": "array",
            "minItems": 0,
            "maxItems": 50,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "period": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^Years?\\s+[1-9]\\d?(?:\\s*[-–]\\s*[1-9]\\d?)?$"
                },
                "mortgageInsurance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000,
                  "description": "US dollars per month"
                }
              },
              "required": [
                "period",
                "mortgageInsurance"
              ]
            }
          },
          "apr": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 6.5 means 6.5%"
          }
        },
        "required": [
          "loanAmount",
          "monthlyPI",
          "loanTerm",
          "interestRate",
          "productType",
          "balloonPayment",
          "monthlyMortgageInsurance",
          "totalOriginationCharges",
          "upfrontMIP",
          "prepaidInterest",
          "projectedPayments"
        ]
      },
      "input": {
        "loanAmount": 200000,
        "monthlyPI": 1264.14,
        "loanTerm": 30,
        "interestRate": 6.5,
        "productType": "Fixed Rate",
        "balloonPayment": false,
        "monthlyMortgageInsurance": 0,
        "totalOriginationCharges": 0,
        "upfrontMIP": 0,
        "prepaidInterest": 0,
        "projectedPayments": [
          {
            "period": "Years 1–30",
            "mortgageInsurance": 0
          }
        ],
        "apr": 6.5
      },
      "output": {
        "status": "available",
        "result": {
          "computedApr": 6.500030054036293,
          "disclosedApr": 6.5,
          "divergence": 0.0000300540362934143,
          "withinTolerance": true
        },
        "formulaVersion": "loan-estimate-apr-check-htcalc-719df2c0e105",
        "units": {
          "computedApr": "percent",
          "disclosedApr": "percent",
          "divergence": "percentage-points"
        },
        "assumptions": [
          "Estimate for regular fixed-rate installment loans with monthly payments. This contract requires entered disclosure figures and does not certify disclosure compliance."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/analyze"
    },
    {
      "slug": "financial-hub-home-equity",
      "name": "Home equity and borrowing room",
      "category": "Financial Hub",
      "description": "Subtracts entered liens from current value and measures remaining room under the Hub’s 80% combined loan-to-value assumption.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "value": {
            "type": "number",
            "description": "Current home value (USD, to the cent).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "balance": {
            "type": "number",
            "description": "First mortgage balance (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "secondBalance": {
            "type": "number",
            "description": "Combined other liens (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          }
        },
        "required": [
          "value"
        ],
        "additionalProperties": false
      },
      "input": {
        "value": 1000,
        "balance": 500.49,
        "secondBalance": 99.49
      },
      "output": {
        "status": "available",
        "result": {
          "equity": 400.02,
          "liens": 599.98,
          "cltvPct": 59.998000000000005,
          "limit": 800,
          "available": 200.01999999999998,
          "printedEquity": 401,
          "printedBorrow": {
            "value": 1000,
            "limit": 800,
            "owed": 599,
            "available": 201,
            "parts": {
              "owed": 599,
              "available": 201,
              "kept": 200
            }
          }
        },
        "formulaVersion": "financial-hub-home-equity-1.0.0",
        "units": {
          "money": "USD",
          "cltvPct": "percent"
        },
        "assumptions": [
          "Other liens are included. Borrowing room has a zero floor. This is a planning limit."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-home-payoff",
      "name": "Home payoff and projected equity",
      "category": "Financial Hub",
      "description": "Compares principal and interest with an extra monthly payment and projects annual equity using the entered appreciation rate.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "value": {
            "type": "number",
            "description": "Current home value (USD, to the cent).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "balance": {
            "type": "number",
            "description": "Current first mortgage balance (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "secondBalance": {
            "type": "number",
            "description": "Combined other liens (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "rate": {
            "type": "number",
            "description": "Annual note rate (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "principalInterest": {
            "type": "number",
            "description": "First mortgage principal and interest per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "yearsLeft": {
            "type": "number",
            "description": "Years remaining if monthly principal and interest is unknown.",
            "minimum": 0.08333333333333333,
            "maximum": 100
          },
          "extra": {
            "type": "number",
            "description": "Extra principal per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "appreciationPct": {
            "type": "number",
            "description": "Annual compounded change in home value (percent).",
            "minimum": -100,
            "maximum": 100
          }
        },
        "required": [
          "balance"
        ],
        "additionalProperties": false
      },
      "input": {
        "value": 2000,
        "balance": 1000,
        "rate": 12,
        "principalInterest": 510,
        "secondBalance": 100,
        "extra": 500,
        "appreciationPct": 5
      },
      "output": {
        "status": "available",
        "result": {
          "basis": "ready",
          "payment": 510,
          "paymentSource": "on_file",
          "base": {
            "paysOff": true,
            "months": 2,
            "interest": 15
          },
          "accelerated": {
            "paysOff": true,
            "months": 1,
            "interest": 10
          },
          "monthsSaved": 1,
          "interestSaved": 5,
          "printedInterestSaved": 5,
          "equityByYear": [
            {
              "year": 0,
              "value": 2000,
              "balance": 1000,
              "owed": 1100,
              "equity": 900,
              "printed": {
                "value": 2000,
                "owed": 1100,
                "equity": 900
              }
            },
            {
              "year": 1,
              "value": 2100,
              "balance": 0,
              "owed": 100,
              "equity": 2000,
              "printed": {
                "value": 2100,
                "owed": 100,
                "equity": 2000
              }
            }
          ]
        },
        "formulaVersion": "financial-hub-home-payoff-1.0.0",
        "units": {
          "money": "USD",
          "monthsSaved": "months",
          "appreciationPct": "percent per year"
        },
        "assumptions": [
          "Other liens remain constant. The Hub requires a positive rate. A walk still unpaid at the 1,200-month safety cap has no payoff date or lifetime interest."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-pmi-milestones",
      "name": "PMI balance milestones",
      "category": "Financial Hub",
      "description": "Checks when the first loan’s scheduled balance reaches 80% and 78% of the original property value.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "balance": {
            "type": "number",
            "description": "Current first mortgage balance (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "rate": {
            "type": "number",
            "description": "Annual note rate (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "principalInterest": {
            "type": "number",
            "description": "First mortgage principal and interest per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "originalValue": {
            "type": "number",
            "description": "Original property value used for PMI (USD, to the cent).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          }
        },
        "required": [
          "balance",
          "originalValue"
        ],
        "additionalProperties": false
      },
      "input": {
        "originalValue": 1000,
        "balance": 900,
        "rate": 12,
        "principalInterest": 109
      },
      "output": {
        "status": "available",
        "result": {
          "originalLtvPct": 90,
          "toPayDown": 100,
          "printedToPayDown": 100,
          "milestones": [
            {
              "pct": 80,
              "targetBalance": 800,
              "monthsAway": 1
            },
            {
              "pct": 78,
              "targetBalance": 780,
              "monthsAway": 2
            }
          ]
        },
        "formulaVersion": "financial-hub-pmi-milestones-1.0.0",
        "units": {
          "targetBalance": "USD",
          "monthsAway": "months",
          "originalLtvPct": "percent"
        },
        "assumptions": [
          "A zero month means already at the threshold. Without sufficient loan data the month may be null. The thresholds are estimates for conventional PMI, subject to lender requirements."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-credit-line-draw",
      "name": "Credit line draw payments",
      "category": "Financial Hub",
      "description": "Uses the entered rate to calculate monthly interest during the draw period, repayment principal and interest, and borrowing room.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "value": {
            "type": "number",
            "description": "Current home value (USD, to the cent).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "balance": {
            "type": "number",
            "description": "First mortgage balance (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "secondBalance": {
            "type": "number",
            "description": "Combined other liens (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "draw": {
            "type": "number",
            "description": "Requested draw (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "ratePercent": {
            "type": "number",
            "description": "Quoted annual draw and repayment rate (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "drawYears": {
            "type": "number",
            "description": "Draw period in years. Defaults to 10.",
            "minimum": 0,
            "maximum": 100
          },
          "repayYears": {
            "type": "number",
            "description": "Repayment period in years. Defaults to 20.",
            "minimum": 0.08333333333333333,
            "maximum": 100
          }
        },
        "required": [
          "value",
          "draw"
        ],
        "additionalProperties": false
      },
      "input": {
        "value": 2000,
        "balance": 500,
        "draw": 1200,
        "ratePercent": 12,
        "repayYears": 1
      },
      "output": {
        "status": "available",
        "result": {
          "available": 1100,
          "printedAvailable": 1100,
          "overLimit": true,
          "drawYears": 10,
          "repayYears": 1,
          "interestOnly": 12,
          "amortizing": 106.618546414
        },
        "formulaVersion": "financial-hub-credit-line-draw-1.0.0",
        "units": {
          "interestOnly": "USD/month",
          "amortizing": "USD/month",
          "available": "USD"
        },
        "assumptions": [
          "A draw above the printed available credit is modeled at the entered amount and flagged. A positive quote is required for payments."
        ],
        "warnings": [
          "The modeled draw exceeds the available amount under the 80% planning limit."
        ],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-home-monthly-cost",
      "name": "Monthly home ownership cost",
      "category": "Financial Hub",
      "description": "Adds the loan payments and recurring housing charges the caller supplies, including an escrow breakdown when available.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Home record kind.",
            "enum": [
              "primary",
              "additional"
            ]
          },
          "principalInterest": {
            "type": "number",
            "description": "Principal and interest per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "tax": {
            "type": "number",
            "description": "Property tax per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "insurance": {
            "type": "number",
            "description": "Home insurance per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "hoa": {
            "type": "number",
            "description": "HOA dues per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "secondPayment": {
            "type": "number",
            "description": "Second loan payment per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "freeClear": {
            "type": "boolean",
            "description": "Primary home has no mortgage."
          },
          "escrowed": {
            "type": "boolean",
            "description": "Primary mortgage payment includes escrow."
          },
          "totalPayment": {
            "type": "number",
            "description": "Primary mortgage payment with escrow per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "pmi": {
            "type": "number",
            "description": "Primary mortgage insurance per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          }
        },
        "required": [
          "kind"
        ],
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "properties": {
                "kind": {
                  "const": "additional"
                }
              },
              "required": [
                "kind"
              ]
            },
            "then": {
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "freeClear"
                    ]
                  },
                  {
                    "required": [
                      "escrowed"
                    ]
                  },
                  {
                    "required": [
                      "totalPayment"
                    ]
                  },
                  {
                    "required": [
                      "pmi"
                    ]
                  }
                ]
              }
            }
          }
        ]
      },
      "input": {
        "kind": "primary",
        "escrowed": true,
        "totalPayment": 1000,
        "tax": 100,
        "insurance": 50,
        "pmi": 25,
        "hoa": 30,
        "secondPayment": 40
      },
      "output": {
        "status": "available",
        "result": {
          "total": 1070,
          "printedTotal": 1070,
          "lines": [
            {
              "key": "pi",
              "label": "Principal & interest",
              "amount": 825,
              "shown": 825
            },
            {
              "key": "tax",
              "label": "Property tax",
              "amount": 100,
              "shown": 100
            },
            {
              "key": "insurance",
              "label": "Insurance",
              "amount": 50,
              "shown": 50
            },
            {
              "key": "pmi",
              "label": "Mortgage insurance",
              "amount": 25,
              "shown": 25
            },
            {
              "key": "hoa",
              "label": "HOA",
              "amount": 30,
              "shown": 30
            },
            {
              "key": "second",
              "label": "Second loan",
              "amount": 40,
              "shown": 40
            }
          ]
        },
        "formulaVersion": "financial-hub-home-monthly-cost-1.0.0",
        "units": {
          "money": "USD/month"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-rental-metrics",
      "name": "Rental cash flow and returns",
      "category": "Financial Hub",
      "description": "Calculates monthly operating income and cash flow, annual capitalization and cash-on-cash rates, and debt service coverage.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "rent": {
            "type": "number",
            "description": "Gross rent per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "principalInterest": {
            "type": "number",
            "description": "Principal and interest per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "tax": {
            "type": "number",
            "description": "Property tax per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "insurance": {
            "type": "number",
            "description": "Home insurance per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "hoa": {
            "type": "number",
            "description": "HOA dues per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "secondPayment": {
            "type": "number",
            "description": "Second loan payment per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "vacancyPct": {
            "type": "number",
            "description": "Vacancy share of gross rent (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "maintenancePct": {
            "type": "number",
            "description": "Maintenance share of gross rent (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "value": {
            "type": "number",
            "description": "Current property value (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "cashInvested": {
            "type": "number",
            "description": "Cash invested (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          }
        },
        "required": [
          "rent"
        ],
        "additionalProperties": false
      },
      "input": {
        "rent": 2000,
        "vacancyPct": 5,
        "maintenancePct": 10,
        "insurance": 60,
        "tax": 200,
        "hoa": 40,
        "principalInterest": 700,
        "secondPayment": 100,
        "value": 300000,
        "cashInvested": 60000
      },
      "output": {
        "status": "available",
        "result": {
          "vacancy": 100,
          "maintenance": 200,
          "operatingCosts": 600,
          "noiMonthly": 1400,
          "debtMonthly": 800,
          "cashFlowMonthly": 600,
          "capRate": 5.6000000000000005,
          "dscr": 1.75,
          "cashOnCash": 12,
          "printedCashFlow": 600
        },
        "formulaVersion": "financial-hub-rental-metrics-1.0.0",
        "units": {
          "money": "USD/month",
          "capRate": "percent per year",
          "dscr": "ratio",
          "cashOnCash": "percent per year"
        },
        "assumptions": [
          "Missing expenses are zero. Missing or zero ratio denominators return null."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-home-value-history",
      "name": "Home value history",
      "category": "Financial Hub",
      "description": "Summarizes dated values supplied for one property and measures the change from the earliest to the latest.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "entries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "description": "Date of caller-supplied valuation.",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
                },
                "value": {
                  "type": "number",
                  "description": "Valuation (USD, to the cent).",
                  "minimum": 0.01,
                  "maximum": 10000000000,
                  "multipleOf": 0.01
                }
              },
              "required": [
                "date",
                "value"
              ],
              "additionalProperties": false
            },
            "maxItems": 120,
            "minItems": 0
          }
        },
        "required": [
          "entries"
        ],
        "additionalProperties": false
      },
      "input": {
        "entries": [
          {
            "date": "2026-10-01",
            "value": 900
          },
          {
            "date": "2025-10-01",
            "value": 1000
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "entries": [
            {
              "date": "2025-10-01",
              "value": 1000
            },
            {
              "date": "2026-10-01",
              "value": 900
            }
          ],
          "latest": {
            "date": "2026-10-01",
            "value": 900
          },
          "change": -100,
          "changePct": -10,
          "printedChange": -100
        },
        "formulaVersion": "financial-hub-home-value-history-1.0.0",
        "units": {
          "value": "USD",
          "change": "USD",
          "changePct": "percent"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-loan-payoff",
      "name": "Individual loan or card payoff",
      "category": "Financial Hub",
      "description": "Compares the current payment with an extra monthly payment, estimates a missing installment payment from the term, and shows the balance path.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Type of debt.",
            "enum": [
              "auto",
              "student",
              "credit_card",
              "personal",
              "medical",
              "collections",
              "mortgage",
              "heloc",
              "other"
            ]
          },
          "balance": {
            "type": "number",
            "description": "Current balance (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "rate": {
            "type": "number",
            "description": "Loan APR (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "payment": {
            "type": "number",
            "description": "Scheduled payment per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "monthsLeft": {
            "type": "integer",
            "description": "Remaining contractual term (whole months).",
            "minimum": 1,
            "maximum": 1200
          },
          "extra": {
            "type": "number",
            "description": "Extra payment, default 50 per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "originalAmount": {
            "type": "number",
            "description": "Original amount borrowed for installment progress (USD, to the cent).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          }
        },
        "required": [
          "kind",
          "balance"
        ],
        "additionalProperties": false
      },
      "input": {
        "kind": "auto",
        "balance": 1000,
        "rate": 12,
        "payment": 510,
        "originalAmount": 1250,
        "extra": 500
      },
      "output": {
        "status": "available",
        "result": {
          "missing": [],
          "payment": 510,
          "estimatedPayment": false,
          "interestThisMonth": 10,
          "base": {
            "paysOff": true,
            "months": 2,
            "totalInterest": 15,
            "balances": [
              1000,
              500,
              0
            ]
          },
          "accelerated": {
            "paysOff": true,
            "months": 1,
            "totalInterest": 10,
            "balances": [
              1000,
              0
            ]
          },
          "monthsSaved": 1,
          "printedInterestSaved": 5,
          "printedTotalLeft": 1015,
          "termMismatch": false,
          "paidOffShare": {
            "paid": 250,
            "printedPaid": 250,
            "pct": 20
          }
        },
        "formulaVersion": "financial-hub-loan-payoff-1.0.0",
        "units": {
          "money": "USD",
          "months": "months"
        },
        "assumptions": [
          "Fixed rate and fixed monthly payment. Credit cards and HELOCs require an entered payment. No lifetime interest or payoff month is quoted for an unpaid walk."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-card-utilization",
      "name": "Card utilization and available credit",
      "category": "Financial Hub",
      "description": "Measures credit used and the paydown to the Hub’s 30% utilization guideline.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "balance": {
            "type": "number",
            "description": "Current card balance (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "limit": {
            "type": "number",
            "description": "Credit line limit (USD, to the cent).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          }
        },
        "required": [
          "balance",
          "limit"
        ],
        "additionalProperties": false
      },
      "input": {
        "balance": 350,
        "limit": 1000
      },
      "output": {
        "status": "available",
        "result": {
          "utilizationPct": 35,
          "aboveGuideline": true,
          "payDownToGuideline": 50,
          "printedAvailable": 650
        },
        "formulaVersion": "financial-hub-card-utilization-1.0.0",
        "units": {
          "money": "USD",
          "utilizationPct": "percent"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-debt-order",
      "name": "Avalanche and snowball debt order",
      "category": "Financial Hub",
      "description": "Models both payment strategies for entered non-housing debts and reports exclusions and each debt’s payoff month.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "debts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Caller-selected unique debt identifier.",
                  "minLength": 1,
                  "maxLength": 64
                },
                "kind": {
                  "type": "string",
                  "description": "Type of debt.",
                  "enum": [
                    "auto",
                    "student",
                    "credit_card",
                    "personal",
                    "medical",
                    "collections",
                    "mortgage",
                    "heloc",
                    "other"
                  ]
                },
                "balance": {
                  "type": "number",
                  "description": "Current balance (USD, to the cent).",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01
                },
                "rate": {
                  "type": "number",
                  "description": "Loan APR (percentage points, up to six decimals).",
                  "minimum": 0,
                  "maximum": 100,
                  "multipleOf": 0.000001
                },
                "payment": {
                  "type": "number",
                  "description": "Scheduled payment per month (USD, to the cent).",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01
                }
              },
              "required": [
                "id",
                "kind",
                "balance"
              ],
              "additionalProperties": false
            },
            "maxItems": 50,
            "minItems": 0
          },
          "extra": {
            "type": "number",
            "description": "Available extra payment per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          }
        },
        "required": [
          "debts"
        ],
        "additionalProperties": false
      },
      "input": {
        "debts": [
          {
            "id": "A",
            "kind": "auto",
            "balance": 100,
            "rate": 24,
            "payment": 110
          },
          {
            "id": "B",
            "kind": "personal",
            "balance": 50,
            "rate": 12,
            "payment": 55
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "included": [
            {
              "id": "A",
              "label": "A",
              "balance": 100,
              "rate": 24,
              "payment": 110,
              "paidOffMonth": null
            },
            {
              "id": "B",
              "label": "B",
              "balance": 50,
              "rate": 12,
              "payment": 55,
              "paidOffMonth": null
            }
          ],
          "excluded": [],
          "housingLeftOut": 0,
          "avalanche": {
            "strategy": "avalanche",
            "order": [
              {
                "id": "A",
                "label": "A",
                "balance": 100,
                "rate": 24,
                "payment": 110,
                "paidOffMonth": 1
              },
              {
                "id": "B",
                "label": "B",
                "balance": 50,
                "rate": 12,
                "payment": 55,
                "paidOffMonth": 1
              }
            ],
            "months": 1,
            "totalInterest": 2.5,
            "paysOff": true
          },
          "snowball": {
            "strategy": "snowball",
            "order": [
              {
                "id": "B",
                "label": "B",
                "balance": 50,
                "rate": 12,
                "payment": 55,
                "paidOffMonth": 1
              },
              {
                "id": "A",
                "label": "A",
                "balance": 100,
                "rate": 24,
                "payment": 110,
                "paidOffMonth": 1
              }
            ],
            "months": 1,
            "totalInterest": 2.5,
            "paysOff": true
          }
        },
        "formulaVersion": "financial-hub-debt-order-1.0.0",
        "units": {
          "balance": "USD",
          "payment": "USD/month",
          "rate": "percent per year",
          "paidOffMonth": "months"
        },
        "assumptions": [
          "Positive balance, rate and payment required for inclusion. Mortgages and HELOCs are counted separately. Two included debts are required for comparison. Simulations stop at 360 months."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-refinance-check",
      "name": "Loan rate comparison",
      "category": "Financial Hub",
      "description": "Compares an entered loan rate with a caller-supplied comparison rate using the Hub’s card interest and installment payment formulas.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Comparison mode.",
            "enum": [
              "credit_card",
              "auto",
              "personal"
            ]
          },
          "balance": {
            "type": "number",
            "description": "Remaining balance (USD, to the cent).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "rate": {
            "type": "number",
            "description": "Current APR (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "comparisonRate": {
            "type": "number",
            "description": "Caller-supplied comparison APR (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "monthsLeft": {
            "type": "integer",
            "description": "Remaining contractual term (whole months).",
            "minimum": 1,
            "maximum": 1200
          }
        },
        "required": [
          "kind",
          "balance",
          "rate",
          "comparisonRate"
        ],
        "additionalProperties": false
      },
      "input": {
        "kind": "auto",
        "balance": 1200,
        "rate": 12,
        "comparisonRate": 6,
        "monthsLeft": 1
      },
      "output": {
        "status": "available",
        "result": {
          "gapPoints": 6,
          "direction": "above",
          "yearlyInterestDifference": null,
          "monthlyDifference": 6
        },
        "formulaVersion": "financial-hub-refinance-check-1.0.0",
        "units": {
          "gapPoints": "percentage points",
          "monthlyDifference": "USD/month",
          "yearlyInterestDifference": "USD/year"
        },
        "assumptions": [
          "The caller supplies both rates. The installment estimate compares two level payments at the same balance and term. Card interest holds the balance constant."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-loan-market-at-start",
      "name": "Loan benchmark at origination",
      "category": "Financial Hub",
      "description": "Compares a mortgage note rate or an opening HELOC benchmark against dated observations provided by the caller.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Benchmark comparison mode.",
            "enum": [
              "mortgage",
              "heloc"
            ]
          },
          "termMonths": {
            "type": "integer",
            "description": "Original mortgage term (whole months).",
            "minimum": 1,
            "maximum": 1200
          },
          "rate": {
            "type": "number",
            "description": "Mortgage note rate (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "startDate": {
            "type": "string",
            "description": "Loan origination date",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
          },
          "asOfDate": {
            "type": "string",
            "description": "Comparison date",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
          },
          "then": {
            "type": "object",
            "properties": {
              "date": {
                "type": "string",
                "description": "Observation date of caller-supplied starting benchmark.",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
              },
              "value": {
                "type": "number",
                "description": "Starting benchmark rate (percentage points, up to six decimals).",
                "minimum": 0,
                "maximum": 100,
                "multipleOf": 0.000001
              }
            },
            "required": [
              "date",
              "value"
            ],
            "additionalProperties": false
          },
          "latest": {
            "type": "object",
            "properties": {
              "observationDate": {
                "type": "string",
                "description": "Date of caller-supplied later benchmark.",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
              },
              "value": {
                "type": "number",
                "description": "Later benchmark rate (percentage points, up to six decimals).",
                "minimum": 0,
                "maximum": 100,
                "multipleOf": 0.000001
              },
              "stale": {
                "type": "boolean",
                "description": "Whether this later observation is stale as of asOfDate under the caller’s source freshness test."
              }
            },
            "required": [
              "observationDate",
              "value",
              "stale"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "startDate",
          "asOfDate",
          "then"
        ],
        "additionalProperties": false
      },
      "input": {
        "kind": "mortgage",
        "termMonths": 180,
        "rate": 6,
        "startDate": "2026-03-09",
        "asOfDate": "2026-04-01",
        "then": {
          "date": "2026-03-06",
          "value": 5
        },
        "latest": {
          "observationDate": "2026-03-31",
          "value": 7,
          "stale": false
        }
      },
      "output": {
        "status": "available",
        "result": {
          "comparison": {
            "kind": "mortgage",
            "termLabel": "15-year",
            "startMonth": "Mar 2026",
            "startDate": "2026-03-09",
            "thenDate": "2026-03-06",
            "then": 5,
            "mine": 6,
            "gapThen": 1,
            "today": 7,
            "todayDate": "2026-03-31",
            "gapToday": 1
          }
        },
        "formulaVersion": "financial-hub-loan-market-at-start-1.0.0",
        "units": {
          "then": "percent",
          "today": "percent",
          "gapThen": "percentage points",
          "gapToday": "percentage points",
          "move": "percentage points"
        },
        "assumptions": [
          "Mortgage benchmark is 15-year for an entered term up to 180 months, otherwise 30-year. A starting observation must be on or within seven days before origination. The latest observation is omitted when marked stale."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-origination-balance",
      "name": "Scheduled balance from origination",
      "category": "Financial Hub",
      "description": "Reconstructs the Hub’s scheduled balance, elapsed payments and progress from original terms as of an explicit date.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "originalAmount": {
            "type": "number",
            "description": "Original principal (USD, to the cent).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "annualRate": {
            "type": "number",
            "description": "Annual note rate (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "termMonths": {
            "type": "integer",
            "description": "Original term (whole months).",
            "minimum": 1,
            "maximum": 1200
          },
          "originationDate": {
            "type": "string",
            "description": "Loan start date",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
          },
          "asOfDate": {
            "type": "string",
            "description": "Date on which to evaluate the balance",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
          }
        },
        "required": [
          "originalAmount",
          "annualRate",
          "termMonths",
          "originationDate",
          "asOfDate"
        ],
        "additionalProperties": false
      },
      "input": {
        "originalAmount": 1200,
        "annualRate": 0,
        "termMonths": 12,
        "originationDate": "2026-01-15",
        "asOfDate": "2026-02-14"
      },
      "output": {
        "status": "available",
        "result": {
          "currentBalance": 1200,
          "monthlyPayment": 100,
          "monthsElapsed": 0,
          "monthsRemaining": 12,
          "totalInterestPaid": 0,
          "totalPrincipalPaid": 0,
          "payoffDate": "2027-02-14",
          "isPaidOff": false
        },
        "formulaVersion": "financial-hub-origination-balance-1.0.0",
        "units": {
          "money": "USD",
          "terms": "months"
        },
        "assumptions": [
          "Uses the November tracker’s day-aware elapsed-month and ledger conventions, with UTC dates and an explicit as-of date. Before payoff the tracker reports whole dollars for balances, paid principal and interest."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-tracked-mortgage",
      "name": "Tracked mortgage phases and insurance",
      "category": "Financial Hub",
      "description": "Projects dated payment, balance and insurance rows for fixed, adjustable, interest-only, balloon and HELOC contracts.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "terms": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "description": "Program or lien type.",
                "enum": [
                  "conventional",
                  "jumbo",
                  "fha",
                  "va",
                  "usda",
                  "second",
                  "heloc"
                ]
              },
              "structure": {
                "type": "string",
                "description": "Loan structure; use fixed for HELOC.",
                "enum": [
                  "fixed",
                  "arm",
                  "interest_only",
                  "balloon"
                ]
              },
              "total_payment": {
                "type": "number",
                "description": "Total billed payment including entered mortgage insurance and escrow per month (USD, to the cent).",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01
              },
              "includes_escrow": {
                "type": "boolean",
                "description": "Payment includes property tax and homeowners insurance."
              },
              "tax_monthly": {
                "type": "number",
                "description": "Escrowed property tax per month (USD, to the cent).",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01
              },
              "insurance_monthly": {
                "type": "number",
                "description": "Escrowed homeowners insurance per month (USD, to the cent).",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01
              },
              "mi_monthly": {
                "type": "number",
                "description": "Billed mortgage insurance or USDA fee per month (USD, to the cent).",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01
              },
              "extra_principal": {
                "type": "number",
                "description": "Additional principal per month (USD, to the cent).",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01
              },
              "biweekly": {
                "type": "boolean",
                "description": "Model 26 half payments per year as extra principal."
              },
              "original_amount": {
                "type": "number",
                "description": "Original financed note amount (USD, to the cent).",
                "minimum": 0.01,
                "maximum": 10000000000,
                "multipleOf": 0.01
              },
              "original_value": {
                "type": "number",
                "description": "Original property value (USD, to the cent).",
                "minimum": 0.01,
                "maximum": 10000000000,
                "multipleOf": 0.01
              },
              "first_payment_on": {
                "type": "string",
                "description": "First payment at origination",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
              },
              "term_months": {
                "type": "integer",
                "description": "Original mortgage term (whole months).",
                "minimum": 1,
                "maximum": 1200
              },
              "original_rate": {
                "type": "number",
                "description": "Original APR (percentage points, up to six decimals).",
                "minimum": 0,
                "maximum": 100,
                "multipleOf": 0.000001
              },
              "maturity_on": {
                "type": "string",
                "description": "Last scheduled payment or balloon due date",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
              },
              "fha_ltv_at_most_90": {
                "type": "boolean",
                "description": "FHA LTV was at most 90 percent at closing."
              },
              "fha_case_assigned_on": {
                "type": "string",
                "description": "FHA case assignment date",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
              },
              "io_ends_on": {
                "type": "string",
                "description": "Final interest-only payment date",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
              },
              "draw_ends_on": {
                "type": "string",
                "description": "Final draw-period payment date",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
              },
              "repay_months": {
                "type": "integer",
                "description": "HELOC amortizing repayment term (whole months).",
                "minimum": 1,
                "maximum": 1200
              },
              "arm": {
                "type": "object",
                "properties": {
                  "product": {
                    "type": "string",
                    "description": "ARM product (default 5/6).",
                    "enum": [
                      "5/6",
                      "7/6",
                      "10/6",
                      "5/1",
                      "7/1",
                      "10/1",
                      "other"
                    ]
                  },
                  "next_change_on": {
                    "type": "string",
                    "description": "Next interest-rate change date in the note.",
                    "format": "date",
                    "minLength": 10,
                    "maxLength": 10,
                    "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
                  },
                  "adjust_every_months": {
                    "type": "integer",
                    "description": "Reset interval (whole months).",
                    "minimum": 1,
                    "maximum": 1200
                  },
                  "initial_cap": {
                    "type": "number",
                    "description": "First reset cap (percentage points, up to six decimals).",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001
                  },
                  "periodic_cap": {
                    "type": "number",
                    "description": "Subsequent reset cap (percentage points, up to six decimals).",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001
                  },
                  "lifetime_cap": {
                    "type": "number",
                    "description": "Lifetime increase cap (percentage points, up to six decimals).",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001
                  },
                  "margin": {
                    "type": "number",
                    "description": "Contract margin (percentage points, up to six decimals).",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001
                  },
                  "index_value": {
                    "type": "number",
                    "description": "Caller-assumed index (percentage points, up to six decimals).",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001
                  },
                  "floor_rate": {
                    "type": "number",
                    "description": "Contractual floor (percentage points, up to six decimals).",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001
                  },
                  "initial_rate": {
                    "type": "number",
                    "description": "Initial note rate (percentage points, up to six decimals).",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001
                  },
                  "adjusted_before": {
                    "type": "boolean",
                    "description": "A first reset has already occurred."
                  }
                },
                "required": [
                  "next_change_on"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "kind",
              "structure",
              "total_payment",
              "includes_escrow"
            ],
            "additionalProperties": false
          },
          "current": {
            "type": "object",
            "properties": {
              "balance": {
                "type": "number",
                "description": "Principal on the valuation date (USD, to the cent).",
                "minimum": 0.01,
                "maximum": 10000000000,
                "multipleOf": 0.01
              },
              "ratePercent": {
                "type": "number",
                "description": "Current annual note rate (percentage points, up to six decimals).",
                "minimum": 0,
                "maximum": 100,
                "multipleOf": 0.000001
              },
              "firstDueOn": {
                "type": "string",
                "description": "Next due date",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
              },
              "dueDay": {
                "type": "integer",
                "description": "Contractual payment day (clamped at month end).",
                "minimum": 1,
                "maximum": 31
              },
              "anchorOn": {
                "type": "string",
                "description": "As-of date of the current balance",
                "format": "date",
                "minLength": 10,
                "maxLength": 10,
                "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
              }
            },
            "required": [
              "balance",
              "ratePercent",
              "firstDueOn",
              "dueDay"
            ],
            "additionalProperties": false
          },
          "horizonMonths": {
            "type": "integer",
            "description": "Maximum rows, default 600. A missing future date outside the horizon stays null. (whole months).",
            "minimum": 1,
            "maximum": 1200
          }
        },
        "required": [
          "terms",
          "current"
        ],
        "additionalProperties": false
      },
      "input": {
        "terms": {
          "kind": "conventional",
          "structure": "fixed",
          "total_payment": 525,
          "includes_escrow": true,
          "tax_monthly": 10,
          "mi_monthly": 5
        },
        "current": {
          "balance": 1000,
          "ratePercent": 12,
          "firstDueOn": "2027-01-01",
          "dueDay": 1
        },
        "horizonMonths": 2
      },
      "output": {
        "status": "incomplete",
        "result": {
          "rows": [
            {
              "n": 1,
              "date": "2027-01-01",
              "rate": 12,
              "phase": "amortizing",
              "scheduled": 510,
              "payment": 510,
              "interest": 10,
              "principal": 500,
              "balance": 500,
              "nonLoan": 15
            },
            {
              "n": 2,
              "date": "2027-02-01",
              "rate": 12,
              "phase": "amortizing",
              "scheduled": 510,
              "payment": 505,
              "interest": 5,
              "principal": 500,
              "balance": 0,
              "nonLoan": 15
            }
          ],
          "changes": [],
          "payoffOn": "2027-02-01",
          "maturityOn": "2027-02-01",
          "maturityImplied": true,
          "needsMaturity": false,
          "insurance": {
            "kind": "pmi",
            "monthly": 5,
            "endsOn": null,
            "firstPaymentWithoutOn": null,
            "lifeOfLoan": false,
            "requestOn": null,
            "basis": "none",
            "rule": "Add the home value at purchase to see when PMI ends.",
            "needs": [
              "original_value"
            ]
          },
          "principalInterest": 510,
          "extraPrincipal": 0
        },
        "formulaVersion": "financial-hub-tracked-mortgage-1.0.0",
        "units": {
          "money": "USD",
          "rate": "percent per year",
          "dates": "UTC date-only"
        },
        "assumptions": [
          "Escrow and insurance never amortize principal. ARM projections use the supplied index and margin with note caps, floor and eighth-point rounding. Insurance rules use the app’s November 2026 source."
        ],
        "warnings": [
          "Insurance outlook needs additional inputs: original_value."
        ],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-mortgage-insurance-premium",
      "name": "Annual premium billed monthly",
      "category": "Financial Hub",
      "description": "Computes the monthly FHA annual premium or USDA annual fee for a selected loan year from its scheduled balances.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Premium program.",
            "enum": [
              "fha",
              "usda"
            ]
          },
          "loanAmount": {
            "type": "number",
            "description": "Financed note balance at origination (USD, to the cent).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "ratePercent": {
            "type": "number",
            "description": "Annual mortgage note rate (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "piPayment": {
            "type": "number",
            "description": "Scheduled principal and interest per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "year": {
            "type": "integer",
            "description": "Loan year, starting at one.",
            "minimum": 1,
            "maximum": 100
          },
          "annualRatePercent": {
            "type": "number",
            "description": "Enter a policy rate to override the app table (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "baseLoanAmount": {
            "type": "number",
            "description": "Base loan used to look up FHA MIP (USD, to the cent).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "ltvPercent": {
            "type": "number",
            "description": "Original loan to value in percentage points.",
            "minimum": 0,
            "maximum": 200
          },
          "termMonths": {
            "type": "integer",
            "description": "Original term (whole months).",
            "minimum": 1,
            "maximum": 1200
          },
          "caseAssignedOn": {
            "type": "string",
            "description": "FHA case number assignment date",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
          },
          "financedUpfrontPercent": {
            "type": "number",
            "description": "FHA financed upfront premium percentage (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          }
        },
        "required": [
          "kind",
          "loanAmount",
          "ratePercent",
          "piPayment",
          "year"
        ],
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "properties": {
                "kind": {
                  "const": "fha"
                }
              },
              "required": [
                "kind"
              ]
            },
            "then": {
              "required": [
                "termMonths",
                "ltvPercent"
              ],
              "anyOf": [
                {
                  "required": [
                    "annualRatePercent"
                  ]
                },
                {
                  "required": [
                    "baseLoanAmount",
                    "caseAssignedOn"
                  ]
                }
              ]
            }
          },
          {
            "if": {
              "properties": {
                "kind": {
                  "const": "usda"
                }
              },
              "required": [
                "kind"
              ]
            },
            "then": {
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "financedUpfrontPercent"
                    ]
                  },
                  {
                    "required": [
                      "caseAssignedOn"
                    ]
                  },
                  {
                    "required": [
                      "baseLoanAmount"
                    ]
                  },
                  {
                    "required": [
                      "termMonths"
                    ]
                  },
                  {
                    "required": [
                      "ltvPercent"
                    ]
                  }
                ]
              }
            }
          }
        ]
      },
      "input": {
        "kind": "fha",
        "loanAmount": 1200,
        "ratePercent": 0,
        "piPayment": 100,
        "year": 1,
        "termMonths": 12,
        "baseLoanAmount": 1200,
        "ltvPercent": 90,
        "caseAssignedOn": "2025-01-01"
      },
      "output": {
        "status": "available",
        "result": {
          "annualRatePercent": 0.15,
          "monthlyPremium": 0.08,
          "duration": {
            "kind": "years",
            "months": 132,
            "rule": "LTV at or below 90% at closing: annual MIP for 11 years."
          }
        },
        "formulaVersion": "financial-hub-mortgage-insurance-premium-1.0.0",
        "units": {
          "annualRatePercent": "percent per year",
          "monthlyPremium": "USD/month"
        },
        "assumptions": [
          "The app’s FHA rate table is for case numbers assigned from March 20, 2023. USDA defaults to the app’s 0.35% annual fee. Prepayments do not change original scheduled balances."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-financed-fee",
      "name": "Financed upfront mortgage fee",
      "category": "Financial Hub",
      "description": "Adds an upfront FHA, VA, USDA or caller-entered fee to the base principal using the Hub tracker’s fee rules.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Fee type.",
            "enum": [
              "va",
              "fha",
              "usda",
              "custom"
            ]
          },
          "baseLoan": {
            "type": "number",
            "description": "Base loan before the fee (USD, to the cent).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "feePercent": {
            "type": "number",
            "description": "Custom upfront fee rate (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "purpose": {
            "type": "string",
            "description": "VA loan purpose.",
            "enum": [
              "purchase",
              "cash_out",
              "irrrl"
            ]
          },
          "firstUse": {
            "type": "boolean",
            "description": "First use of VA benefit."
          },
          "downPaymentPercent": {
            "type": "number",
            "description": "VA purchase down payment share (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "exempt": {
            "type": "boolean",
            "description": "Exempt from the VA funding fee."
          }
        },
        "required": [
          "kind",
          "baseLoan"
        ],
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "properties": {
                "kind": {
                  "const": "va"
                }
              },
              "required": [
                "kind"
              ]
            },
            "then": {
              "required": [
                "purpose",
                "firstUse"
              ],
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "feePercent"
                    ]
                  }
                ]
              }
            }
          },
          {
            "if": {
              "properties": {
                "kind": {
                  "const": "custom"
                }
              },
              "required": [
                "kind"
              ]
            },
            "then": {
              "required": [
                "feePercent"
              ],
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "purpose"
                    ]
                  },
                  {
                    "required": [
                      "firstUse"
                    ]
                  },
                  {
                    "required": [
                      "downPaymentPercent"
                    ]
                  },
                  {
                    "required": [
                      "exempt"
                    ]
                  }
                ]
              }
            }
          },
          {
            "if": {
              "properties": {
                "kind": {
                  "const": "fha"
                }
              },
              "required": [
                "kind"
              ]
            },
            "then": {
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "feePercent"
                    ]
                  },
                  {
                    "required": [
                      "purpose"
                    ]
                  },
                  {
                    "required": [
                      "firstUse"
                    ]
                  },
                  {
                    "required": [
                      "downPaymentPercent"
                    ]
                  },
                  {
                    "required": [
                      "exempt"
                    ]
                  }
                ]
              }
            }
          },
          {
            "if": {
              "properties": {
                "kind": {
                  "const": "usda"
                }
              },
              "required": [
                "kind"
              ]
            },
            "then": {
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "feePercent"
                    ]
                  },
                  {
                    "required": [
                      "purpose"
                    ]
                  },
                  {
                    "required": [
                      "firstUse"
                    ]
                  },
                  {
                    "required": [
                      "downPaymentPercent"
                    ]
                  },
                  {
                    "required": [
                      "exempt"
                    ]
                  }
                ]
              }
            }
          }
        ]
      },
      "input": {
        "kind": "va",
        "baseLoan": 100000,
        "purpose": "purchase",
        "firstUse": true,
        "downPaymentPercent": 5
      },
      "output": {
        "status": "available",
        "result": {
          "feePercent": 1.5,
          "fee": 1500,
          "loanAmount": 101500
        },
        "formulaVersion": "financial-hub-financed-fee-1.0.0",
        "units": {
          "feePercent": "percent",
          "fee": "USD",
          "loanAmount": "USD"
        },
        "assumptions": [
          "VA chart covers loans closed on or after April 7, 2023. The entered base loan excludes the fee."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-statement-inference",
      "name": "Debt terms from statement figures",
      "category": "Financial Hub",
      "description": "Estimates a card APR from charged interest and average balances, or calculates missing installment payment, remaining installments and final due date.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Source of payment and APR.",
            "enum": [
              "credit_card",
              "installment"
            ]
          },
          "balance": {
            "type": "number",
            "description": "Current statement balance (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "previousBalance": {
            "type": "number",
            "description": "Previous card statement balance (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "interestCharged": {
            "type": "number",
            "description": "Interest charged for the statement month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "apr": {
            "type": "number",
            "description": "Stated APR (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "payment": {
            "type": "number",
            "description": "Scheduled installment or card minimum per month (USD, to the cent).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "originalAmount": {
            "type": "number",
            "description": "Original installment principal (USD, to the cent).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "termMonths": {
            "type": "integer",
            "description": "Original installment term (whole months).",
            "minimum": 1,
            "maximum": 1200
          },
          "dueOn": {
            "type": "string",
            "description": "Payment due date on the statement",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
          },
          "asOfDate": {
            "type": "string",
            "description": "Statement date, or evaluation date if unknown",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^[1-9][0-9]{3}-[0-9]{2}-[0-9]{2}$"
          }
        },
        "required": [
          "kind",
          "balance"
        ],
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "properties": {
                "kind": {
                  "const": "credit_card"
                }
              },
              "required": [
                "kind"
              ]
            },
            "then": {
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "originalAmount"
                    ]
                  },
                  {
                    "required": [
                      "termMonths"
                    ]
                  }
                ]
              }
            }
          },
          {
            "if": {
              "properties": {
                "kind": {
                  "const": "installment"
                }
              },
              "required": [
                "kind"
              ]
            },
            "then": {
              "not": {
                "anyOf": [
                  {
                    "required": [
                      "previousBalance"
                    ]
                  },
                  {
                    "required": [
                      "interestCharged"
                    ]
                  }
                ]
              }
            }
          }
        ]
      },
      "input": {
        "kind": "credit_card",
        "balance": 900,
        "previousBalance": 1100,
        "interestCharged": 20
      },
      "output": {
        "status": "available",
        "result": {
          "apr": 24,
          "estimatedApr": true,
          "payment": null,
          "estimatedPayment": false,
          "remaining": null,
          "dueDay": null,
          "nextDueOn": null,
          "lastDueOn": null
        },
        "formulaVersion": "financial-hub-statement-inference-1.0.0",
        "units": {
          "apr": "percent per year",
          "payment": "USD/month",
          "remaining": "months"
        },
        "assumptions": [
          "All observations come from caller-entered fields. Inferred APR is rounded to two decimals and the Hub accepts only results above zero and below 100%."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "financial-hub-mortgage-rate-watch",
      "name": "Mortgage rate spread on current balance",
      "category": "Financial Hub",
      "description": "Estimates a month and a year of simple interest difference at an entered mortgage rate and comparator.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "balance": {
            "type": "number",
            "description": "Current principal (USD, to the cent).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "rate": {
            "type": "number",
            "description": "Current rate (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "comparisonRate": {
            "type": "number",
            "description": "Caller-supplied comparison rate (percentage points, up to six decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          }
        },
        "required": [
          "balance",
          "rate",
          "comparisonRate"
        ],
        "additionalProperties": false
      },
      "input": {
        "balance": 120000,
        "rate": 6,
        "comparisonRate": 5
      },
      "output": {
        "status": "available",
        "result": {
          "gapPoints": 1,
          "monthlySavings": 100,
          "annualSavings": 1200
        },
        "formulaVersion": "financial-hub-mortgage-rate-watch-1.0.0",
        "units": {
          "gapPoints": "percentage points",
          "monthlySavings": "USD/month",
          "annualSavings": "USD/year"
        },
        "assumptions": [
          "Current balance is held constant. This comparison excludes closing costs and term changes."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "mortgage-refinance-cash-flow",
      "name": "Mortgage refinance with escrow and closing costs",
      "category": "Mortgage",
      "description": "Compare current and proposed principal, interest, taxes and insurance, including cash out and the choice to finance closing costs. Break-even refers to upfront costs and can be fractional. Lifetime savings compares all scheduled repayment dollars, including any cash withdrawn.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "currentBalance": {
            "type": "number",
            "minimum": 1,
            "maximum": 100000000,
            "description": "Existing principal. In USD."
          },
          "currentRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Current annual note rate. In percentage points (6.5 means 6.5%).",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          },
          "remainingTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Current remaining term. In whole months."
          },
          "newRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Proposed annual note rate. In percentage points (6.5 means 6.5%).",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          },
          "newTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "New term. In whole months."
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000,
            "description": "Refinancing costs. In USD."
          },
          "cashOutAmount": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "Additional borrowed cash. In USD."
          },
          "propertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000,
            "description": "Annual property tax. In USD."
          },
          "homeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000,
            "description": "Annual homeowner insurance. In USD."
          },
          "propertyType": {
            "type": "string",
            "enum": [
              "single_family",
              "condo",
              "2_unit",
              "3_4_unit",
              "5_plus_unit",
              "manufactured"
            ],
            "description": "Property label. The arithmetic is the same for all listed types."
          },
          "rollCosts": {
            "type": "boolean",
            "description": "True to finance closing costs, false to pay them upfront."
          },
          "currentMonthlyPayment": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 10000000,
            "description": "Optional actual current total payment from a statement, including escrow. In USD per month."
          }
        },
        "required": [
          "currentBalance",
          "currentRate",
          "remainingTerm",
          "newRate",
          "newTerm",
          "closingCosts",
          "cashOutAmount",
          "propertyTax",
          "homeInsurance",
          "propertyType",
          "rollCosts"
        ]
      },
      "input": {
        "currentBalance": 300000,
        "currentRate": 7,
        "remainingTerm": 300,
        "newRate": 5.5,
        "newTerm": 360,
        "closingCosts": 6000,
        "cashOutAmount": 0,
        "propertyTax": 3600,
        "homeInsurance": 1200,
        "propertyType": "single_family",
        "rollCosts": false
      },
      "output": {
        "status": "available",
        "result": {
          "currentMonthlyPayment": 2520.3375918253,
          "totalRemainingInterest": 336101.27754758997,
          "newMonthlyPayment": 2103.3670040409997,
          "totalNewInterest": 313212.12145475997,
          "monthlySavings": 416.9705877843003,
          "lifetimeSavings": 16889.156092830002,
          "breakEvenMonths": 14.389504141965553,
          "currentBalance": 300000,
          "newLoanAmount": 300000,
          "upfrontCost": 6000
        },
        "formulaVersion": "mortgage-refinance-cash-flow-htcalc-719df2c0e105",
        "units": {
          "currentMonthlyPayment": "USD/month",
          "newMonthlyPayment": "USD/month",
          "monthlySavings": "USD/month",
          "lifetimeSavings": "USD",
          "breakEvenMonths": "months"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/refinance/rate-term"
    },
    {
      "slug": "refinance-equity-recovery",
      "name": "Months to recover refinance equity",
      "category": "Mortgage",
      "description": "Find the first scheduled installment where cumulative principal repayment restores a specified amount of equity under the proposed mortgage.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "newLoanBalance": {
            "type": "number",
            "minimum": 1,
            "maximum": 100000000,
            "description": "New mortgage principal. In USD."
          },
          "newRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "New annual note rate. In percentage points (6.5 means 6.5%).",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          },
          "newTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "New loan term. In whole years."
          },
          "equitySetback": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "Principal to rebuild. In USD."
          }
        },
        "required": [
          "newLoanBalance",
          "newRate",
          "newTermYears",
          "equitySetback"
        ]
      },
      "input": {
        "newLoanBalance": 300000,
        "newRate": 6,
        "newTermYears": 30,
        "equitySetback": 20000
      },
      "output": {
        "status": "available",
        "result": {
          "value": 58
        },
        "formulaVersion": "refinance-equity-recovery-htcalc-719df2c0e105",
        "units": {
          "value": "months"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/analyze"
    },
    {
      "slug": "arm-cap-payment",
      "name": "ARM payment at the entered lifetime cap",
      "category": "Mortgage",
      "description": "Estimate monthly principal and interest at the current rate plus the maximum additional rate increase supplied by the caller.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "currentRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Current annual rate. In percentage points (6.5 means 6.5%).",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          },
          "lifetimeCap": {
            "type": "number",
            "minimum": 0,
            "maximum": 25,
            "description": "Maximum further increase, in percentage points above currentRate."
          },
          "balance": {
            "type": "number",
            "minimum": 1,
            "maximum": 100000000,
            "description": "Outstanding principal. In USD."
          },
          "monthsRemaining": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Remaining term. In whole months."
          }
        },
        "required": [
          "currentRate",
          "lifetimeCap",
          "balance",
          "monthsRemaining"
        ]
      },
      "input": {
        "currentRate": 6.5,
        "lifetimeCap": 5,
        "balance": 300000,
        "monthsRemaining": 240
      },
      "output": {
        "status": "available",
        "result": {
          "value": 3199.2888945386
        },
        "formulaVersion": "arm-cap-payment-htcalc-719df2c0e105",
        "units": {
          "value": "USD/month"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/analyze"
    },
    {
      "slug": "biweekly-mortgage-payments",
      "name": "Biweekly mortgage payments and fees",
      "category": "Mortgage",
      "description": "Compare scheduled monthly principal and interest with 26 half-payments per year under the entered posting rule, escrow treatment and plan fees.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanAmount": {
            "type": "number",
            "minimum": 1,
            "maximum": 100000000,
            "description": "Outstanding mortgage principal. In USD."
          },
          "annualRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual note rate. In percentage points (6.5 means 6.5%).",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          },
          "termYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Repayment term. In whole years."
          },
          "options": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "principalApplication": {
                "type": "string",
                "enum": [
                  "monthly-extra",
                  "immediate-biweekly",
                  "not-applied"
                ],
                "description": "Lender posting of the extra half-payment."
              },
              "escrowTreatment": {
                "type": "string",
                "enum": [
                  "annualized",
                  "split-total"
                ],
                "description": "Escrow draft treatment."
              },
              "extraPrincipalCadence": {
                "type": "string",
                "enum": [
                  "monthly",
                  "biweekly"
                ],
                "description": "Frequency of optional extra principal."
              },
              "monthlyEscrow": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000,
                "description": "Escrow excluding mortgage insurance and other costs. In USD per month."
              },
              "monthlyMortgageInsurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000,
                "description": "Mortgage insurance. In USD per month."
              },
              "monthlyOtherCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000,
                "description": "Other recurring costs. In USD per month."
              },
              "biWeeklyPlanFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000,
                "description": "Fee per two-week draft. In USD."
              },
              "extraBiWeeklyPrincipal": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000,
                "description": "Extra principal each selected cadence. In USD."
              }
            },
            "required": [
              "principalApplication",
              "escrowTreatment"
            ]
          }
        },
        "required": [
          "loanAmount",
          "annualRate",
          "termYears",
          "options"
        ]
      },
      "input": {
        "loanAmount": 300000,
        "annualRate": 7,
        "termYears": 30,
        "options": {
          "principalApplication": "immediate-biweekly",
          "escrowTreatment": "annualized",
          "biWeeklyPlanFee": 3
        }
      },
      "output": {
        "status": "available",
        "result": {
          "monthlyPayment": 1995.9074855375,
          "biWeeklyPayment": 997.95374276875,
          "biWeeklyDraftPayment": 1000.95374276875,
          "standardMonthlyTotal": 1995.9074855375,
          "monthlyNonPrincipalCosts": 0,
          "annualStandardOutflow": 23950.88982645,
          "annualBiWeeklyOutflow": 26024.7973119875,
          "annualCashFlowIncrease": 2073.9074855375,
          "annualExtraPrincipal": 1995.9074855375,
          "annualExtraNonPrincipalCollected": 0,
          "annualPlanFees": 78,
          "totalPlanFees": 1851,
          "netInterestSavedAfterFees": 101536.92493400746,
          "monthlyTotalInterest": 418526.6947935,
          "biWeeklyTotalInterest": 315138.76985949255,
          "interestSaved": 103387.92493400746,
          "monthsShaved": 75,
          "biWeeklyPayoffMonths": 285,
          "standardPayoffMonths": 360,
          "principalApplication": "immediate-biweekly",
          "escrowTreatment": "annualized",
          "loanType": "conventional",
          "extraPrincipalCadence": "biweekly",
          "extraPrincipalAmount": 0,
          "monthlyExtraPrincipal": 0,
          "annualUserExtraPayment": 0,
          "annualUserExtraPrincipal": 0
        },
        "formulaVersion": "biweekly-mortgage-payments-htcalc-719df2c0e105",
        "units": {
          "monthlyPayment": "USD/month",
          "biWeeklyDraftPayment": "USD per two-week draft",
          "interestSaved": "USD",
          "monthsShaved": "months"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/bi-weekly"
    },
    {
      "slug": "zero-rate-cost-equivalence",
      "name": "Cost relative to zero-rate financing",
      "category": "Mortgage",
      "description": "Compare the scheduled payment, total interest and upfront equivalent against zero-rate financing for an amortizing loan or an interest-only period with a terminal balloon. This tested historical engine has no current app page.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "principal": {
            "type": "number",
            "minimum": 1,
            "maximum": 100000000,
            "description": "Loan principal. In USD."
          },
          "annualRatePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual note rate. In percentage points (6.5 means 6.5%).",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          },
          "termMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1200,
            "description": "Loan or interest-only period. In whole months."
          },
          "structure": {
            "type": "string",
            "enum": [
              "amortizing",
              "interest-only"
            ],
            "description": "Payment structure during the entered term."
          }
        },
        "required": [
          "principal",
          "annualRatePct",
          "termMonths",
          "structure"
        ]
      },
      "input": {
        "principal": 200000,
        "annualRatePct": 8,
        "termMonths": 12,
        "structure": "interest-only"
      },
      "output": {
        "status": "available",
        "result": {
          "status": "ok",
          "structure": "interest-only",
          "principal": 200000,
          "annualRatePct": 8,
          "termMonths": 12,
          "scheduledMonthlyPayment": 1333.33,
          "zeroRateMonthlyPayment": 0,
          "monthlyRateCost": 1333.33,
          "lifetimeRateCost": 16000,
          "upfrontZeroRateCost": 15327.71,
          "warnings": []
        },
        "formulaVersion": "zero-rate-cost-equivalence-htcalc-719df2c0e105",
        "units": {
          "monthlyRateCost": "USD/month",
          "lifetimeRateCost": "USD",
          "upfrontZeroRateCost": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 1
      }
    },
    {
      "slug": "cash-out-debt-consolidation",
      "name": "Cash-out refinance debt consolidation",
      "category": "Mortgage",
      "description": "Compare keeping existing mortgage and debt payments with a cash-out refinance that pays off the entered debts. Taxes, insurance, separately requested cash and upfront or financed closing costs are entered manually. The plan rounds the cash-out request to whole dollars.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "currentBalance": {
            "type": "number",
            "minimum": 1,
            "maximum": 100000000,
            "description": "Current mortgage principal. In USD."
          },
          "currentRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Current annual mortgage note rate. In percentage points (6.5 means 6.5%).",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          },
          "currentTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Existing mortgage remaining duration. In whole years."
          },
          "newRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Proposed annual mortgage note rate. In percentage points (6.5 means 6.5%).",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          },
          "newTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Proposed mortgage duration. In whole years."
          },
          "propertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000,
            "description": "Annual property taxes. In USD."
          },
          "homeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000,
            "description": "Annual homeowners insurance. In USD."
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000,
            "description": "Total closing costs. In USD."
          },
          "rollClosingCosts": {
            "type": "boolean",
            "description": "True if costs are added to the proposed balance."
          },
          "extraCash": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "Cash requested in addition to paying off debts. In USD."
          },
          "debts": {
            "type": "array",
            "minItems": 1,
            "maxItems": 8,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "card",
                    "car",
                    "student",
                    "personal",
                    "other"
                  ],
                  "description": "Debt category."
                },
                "balance": {
                  "type": "number",
                  "minimum": 1,
                  "maximum": 10000000,
                  "description": "Current payoff balance. In USD."
                },
                "monthlyPayment": {
                  "type": "number",
                  "minimum": 0.01,
                  "maximum": 1000000,
                  "description": "Minimum scheduled payment. In USD per month."
                },
                "monthsLeft": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 600,
                  "description": "Remaining installments, or zero when not supplied. In whole months."
                },
                "ratePercent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual rate. Zero is interpreted as unknown by this source; use monthsLeft for a zero-interest debt. In percentage points (6.5 means 6.5%).",
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.000001
                    }
                  ]
                }
              },
              "required": [
                "kind",
                "balance",
                "monthlyPayment",
                "monthsLeft",
                "ratePercent"
              ]
            },
            "description": "Debts to be paid off by the refinance."
          }
        },
        "required": [
          "currentBalance",
          "currentRate",
          "currentTerm",
          "newRate",
          "newTerm",
          "propertyTax",
          "homeInsurance",
          "closingCosts",
          "rollClosingCosts",
          "extraCash",
          "debts"
        ]
      },
      "input": {
        "currentBalance": 255000,
        "currentRate": 2.75,
        "currentTerm": 15,
        "propertyTax": 1800,
        "homeInsurance": 4800,
        "newRate": 4.125,
        "newTerm": 10,
        "closingCosts": 0,
        "rollClosingCosts": true,
        "extraCash": 5000,
        "debts": [
          {
            "kind": "card",
            "balance": 8800,
            "monthlyPayment": 342.2,
            "ratePercent": 0,
            "monthsLeft": 35
          },
          {
            "kind": "car",
            "balance": 26900,
            "monthlyPayment": 1024.43,
            "ratePercent": 5.38,
            "monthsLeft": 0
          },
          {
            "kind": "personal",
            "balance": 34200,
            "monthlyPayment": 962.88,
            "ratePercent": 0,
            "monthsLeft": 39
          },
          {
            "kind": "student",
            "balance": 9700,
            "monthlyPayment": 462.58,
            "ratePercent": 0.16,
            "monthsLeft": 21
          },
          {
            "kind": "car",
            "balance": 28000,
            "monthlyPayment": 531.33,
            "ratePercent": 12.85,
            "monthsLeft": 78
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "debts": [
            {
              "id": "d0",
              "kind": "card",
              "name": "",
              "balance": 8800,
              "monthlyPayment": 342.2,
              "ratePercent": 0,
              "effectiveRate": 21.849,
              "rateSource": "months",
              "firstMonthInterest": 160.23,
              "basis": "months",
              "issue": null,
              "months": 35,
              "interest": 3177,
              "firstYear": [
                342.2,
                342.2,
                342.2,
                342.2,
                342.2,
                342.2,
                342.2,
                342.2,
                342.2,
                342.2,
                342.2,
                342.2
              ],
              "enteredMonthsDiffer": null
            },
            {
              "id": "d1",
              "kind": "car",
              "name": "",
              "balance": 26900,
              "monthlyPayment": 1024.43,
              "ratePercent": 5.38,
              "effectiveRate": 5.38,
              "rateSource": "entered",
              "firstMonthInterest": 120.6,
              "basis": "rate",
              "issue": null,
              "months": 28,
              "interest": 1783.9,
              "firstYear": [
                1024.43,
                1024.43,
                1024.43,
                1024.43,
                1024.43,
                1024.43,
                1024.43,
                1024.43,
                1024.43,
                1024.43,
                1024.43,
                1024.43
              ],
              "enteredMonthsDiffer": null
            },
            {
              "id": "d2",
              "kind": "personal",
              "name": "",
              "balance": 34200,
              "monthlyPayment": 962.88,
              "ratePercent": 0,
              "effectiveRate": 5.71,
              "rateSource": "months",
              "firstMonthInterest": 162.74,
              "basis": "months",
              "issue": null,
              "months": 39,
              "interest": 3352.32,
              "firstYear": [
                962.88,
                962.88,
                962.88,
                962.88,
                962.88,
                962.88,
                962.88,
                962.88,
                962.88,
                962.88,
                962.88,
                962.88
              ],
              "enteredMonthsDiffer": null
            },
            {
              "id": "d3",
              "kind": "student",
              "name": "",
              "balance": 9700,
              "monthlyPayment": 462.58,
              "ratePercent": 0.16,
              "effectiveRate": 0.16,
              "rateSource": "entered",
              "firstMonthInterest": 1.29,
              "basis": "rate",
              "issue": null,
              "months": 22,
              "interest": 14.22,
              "firstYear": [
                462.58,
                462.58,
                462.58,
                462.58,
                462.58,
                462.58,
                462.58,
                462.58,
                462.58,
                462.58,
                462.58,
                462.58
              ],
              "enteredMonthsDiffer": null
            },
            {
              "id": "d4",
              "kind": "car",
              "name": "",
              "balance": 28000,
              "monthlyPayment": 531.33,
              "ratePercent": 12.85,
              "effectiveRate": 12.85,
              "rateSource": "entered",
              "firstMonthInterest": 299.83,
              "basis": "rate",
              "issue": null,
              "months": 79,
              "interest": 13444.14,
              "firstYear": [
                531.33,
                531.33,
                531.33,
                531.33,
                531.33,
                531.33,
                531.33,
                531.33,
                531.33,
                531.33,
                531.33,
                531.33
              ],
              "enteredMonthsDiffer": null
            }
          ],
          "debtsBalance": 107600,
          "debtsMonthly": 3323.42,
          "extraCash": 5000,
          "currentPayment": 2280.49,
          "todayMonthly": 5603.91,
          "newMonthly": 4293.65,
          "monthlyChange": 1310.26,
          "firstYearToday": 67246.86,
          "firstYearNew": 51523.8,
          "firstYearChange": 15723.06,
          "firstYearAssumed": false,
          "complete": true,
          "closingCosts": 0,
          "totals": {
            "todayInterest": 78258.91,
            "todayMonths": 180,
            "newCost": 81637.82,
            "newMonths": 120,
            "difference": -3378.91
          },
          "rateCheck": {
            "currentRate": 2.75,
            "newRate": 4.125,
            "currentBalance": 255000,
            "debtsBalance": 107600
          },
          "payNow": {
            "input": {
              "principal": 367600,
              "annualRatePercent": 4.125,
              "termMonths": 120,
              "payNowAmount": 5603.91,
              "requiredPayment": 4293.6484891188,
              "shownExtra": 0,
              "shownTotalInterest": 81637.81869425601
            },
            "loanName": "the new loan",
            "originalName": "your mortgage and debts today",
            "loanShortName": "New loan",
            "originalShortName": "Today",
            "originalRef": "today",
            "original": {
              "months": 180,
              "cost": 78258.91
            },
            "sameMoney": {
              "months": 82,
              "cost": 47295.95
            },
            "newSideCost": 0,
            "costLabel": "interest"
          },
          "interest": {
            "averageDebtRate": 8.305086,
            "combinedRate": 4.398448,
            "currentRate": 2.75,
            "newRate": 4.125,
            "newApr": 4.125,
            "thisMonth": {
              "debtsToday": 744.69,
              "debtsNew": 369.88,
              "mortgageToday": 584.38,
              "mortgageNew": 876.56,
              "otherNew": 17.19
            },
            "lifetime": {
              "debtsToday": 21771.58,
              "debtsNew": 23896.16,
              "mortgageToday": 56487.33,
              "mortgageNew": 56631.24,
              "otherNew": 1110.42,
              "closingCosts": 0
            }
          },
          "dti": null
        },
        "formulaVersion": "cash-out-debt-consolidation-htcalc-719df2c0e105",
        "units": {
          "todayMonthly": "USD/month",
          "newMonthly": "USD/month",
          "monthlyChange": "USD/month",
          "firstYearChange": "USD"
        },
        "assumptions": [],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/refinance/cash-out"
    },
    {
      "slug": "quick-calculator",
      "name": "Quick Calculator",
      "category": "Everyday math",
      "description": "Run a sequence of keypad actions with the app’s left-to-right arithmetic, memory register and formatted display.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "actions"
        ],
        "properties": {
          "actions": {
            "type": "array",
            "minItems": 1,
            "maxItems": 128,
            "description": "Keypad actions in entry order.",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "type",
                    "digit"
                  ],
                  "properties": {
                    "type": {
                      "const": "digit"
                    },
                    "digit": {
                      "type": "string",
                      "enum": [
                        "0",
                        "1",
                        "2",
                        "3",
                        "4",
                        "5",
                        "6",
                        "7",
                        "8",
                        "9"
                      ]
                    }
                  }
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "type",
                    "operator"
                  ],
                  "properties": {
                    "type": {
                      "const": "operator"
                    },
                    "operator": {
                      "type": "string",
                      "enum": [
                        "+",
                        "-",
                        "×",
                        "÷"
                      ]
                    }
                  }
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "type",
                    "value"
                  ],
                  "properties": {
                    "type": {
                      "const": "load"
                    },
                    "value": {
                      "type": "string",
                      "description": "A plain signed or unsigned decimal value without grouping separators.",
                      "minLength": 1,
                      "maxLength": 30,
                      "pattern": "^-?(?:[0-9]+(?:\\.[0-9]*)?|\\.[0-9]+)$",
                      "x-unit": "unitless"
                    }
                  }
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "type"
                  ],
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "decimal",
                        "equals",
                        "clear",
                        "toggleSign",
                        "percent",
                        "square",
                        "sqrt",
                        "reciprocal",
                        "backspace",
                        "memoryClear",
                        "memoryRecall",
                        "memoryAdd",
                        "memorySubtract"
                      ]
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "input": {
        "actions": [
          {
            "type": "digit",
            "digit": "2"
          },
          {
            "type": "operator",
            "operator": "+"
          },
          {
            "type": "digit",
            "digit": "3"
          },
          {
            "type": "operator",
            "operator": "×"
          },
          {
            "type": "digit",
            "digit": "4"
          },
          {
            "type": "equals"
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "valid": true,
          "display": "20",
          "expression": "",
          "lastExpression": "2 + 3 × 4 =",
          "pendingOperator": null,
          "memory": null,
          "clearType": "AC"
        },
        "formulaVersion": "quick-calculator-htcalc-719df2c0e105",
        "units": {
          "display": "unitless display text",
          "memory": "unitless numeric text"
        },
        "assumptions": [
          "Every request starts with a display of 0 and empty memory.",
          "Chained binary operations run from left to right. The formatted result uses at most ten fractional digits.",
          "Division by zero, a negative square root or arithmetic overflow can display Error. A subsequent digit starts a new entry."
        ],
        "warnings": [],
        "creditCost": 1
      }
    },
    {
      "slug": "quoted-refinance-alternatives",
      "name": "Compare entered refinance alternatives",
      "category": "Mortgage",
      "description": "Model ten distinct refinance scenarios using a final note rate and quoted closing costs supplied for each alternative. The supported quotes cover a lower rate, shorter term, paying the same amount, PMI removal, FHA to conventional, ARM to fixed, cash out, debt consolidation, VA IRRRL and FHA streamline. Filter by a goal or rank the entered quotes by monthly savings, lifetime savings, break-even or cash received.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "profile": {
            "type": "object",
            "properties": {
              "current": {
                "type": "object",
                "properties": {
                  "balance": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "USD"
                  },
                  "rate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 50,
                    "description": "Percent"
                  },
                  "monthlyPI": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD per month"
                  },
                  "monthsRemaining": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Whole months"
                  },
                  "originalAmount": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "USD"
                  },
                  "loanType": {
                    "type": "string",
                    "enum": [
                      "conventional",
                      "fha",
                      "va",
                      "usda",
                      "arm"
                    ]
                  },
                  "hasMI": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "balance",
                  "rate",
                  "monthlyPI",
                  "monthsRemaining",
                  "loanType",
                  "hasMI"
                ],
                "additionalProperties": false
              },
              "property": {
                "type": "object",
                "properties": {
                  "estimatedValue": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "USD"
                  },
                  "originalValue": {
                    "type": "number",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "description": "USD"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "single-family",
                      "condo",
                      "multi-unit"
                    ]
                  },
                  "occupancy": {
                    "type": "string",
                    "enum": [
                      "primary",
                      "second-home",
                      "investment"
                    ]
                  }
                },
                "required": [
                  "estimatedValue",
                  "type",
                  "occupancy"
                ],
                "additionalProperties": false
              },
              "borrower": {
                "type": "object",
                "properties": {
                  "creditTier": {
                    "type": "string",
                    "enum": [
                      "excellent",
                      "good",
                      "fair",
                      "below"
                    ]
                  },
                  "isVeteran": {
                    "type": "boolean"
                  },
                  "seasonedSixMonths": {
                    "type": "boolean"
                  },
                  "expectedYearsToStay": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 50,
                    "description": "Years"
                  },
                  "marginalTaxRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "description": "Fraction"
                  }
                },
                "required": [
                  "creditTier",
                  "isVeteran",
                  "seasonedSixMonths"
                ],
                "additionalProperties": false
              },
              "goals": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "lower-payment",
                    "pay-off-faster",
                    "cash-out",
                    "drop-mi",
                    "arm-to-fixed",
                    "consolidate-debts"
                  ]
                },
                "minItems": 0,
                "maxItems": 6
              },
              "debtsToConsolidate": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "description": {
                      "type": "string",
                      "maxLength": 64
                    },
                    "balance": {
                      "type": "number",
                      "minimum": 0.01,
                      "maximum": 1000000000,
                      "description": "USD"
                    },
                    "apr": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 50,
                      "description": "Percent"
                    },
                    "monthlyPayment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD per month"
                    }
                  },
                  "required": [
                    "description",
                    "balance",
                    "apr",
                    "monthlyPayment"
                  ],
                  "additionalProperties": false
                },
                "minItems": 0,
                "maxItems": 20
              },
              "cashOutAmount": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "USD"
              },
              "extraPrincipalPerMonth": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000,
                "description": "Additional principal per month on the current loan in USD."
              }
            },
            "required": [
              "current",
              "property",
              "borrower",
              "goals"
            ],
            "additionalProperties": false
          },
          "quotes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "mode": {
                  "type": "string",
                  "enum": [
                    "lower-rate",
                    "shorter-term",
                    "pay-same-save-more",
                    "drop-pmi",
                    "fha-to-conv",
                    "arm-to-fixed",
                    "cash-out",
                    "cash-out-consolidate",
                    "va-irrrl",
                    "fha-streamline"
                  ]
                },
                "noteRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 50,
                  "description": "Percent"
                },
                "closingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "USD"
                }
              },
              "required": [
                "mode",
                "noteRate",
                "closingCosts"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 10
          },
          "includeCurrentAlternatives": {
            "type": "boolean",
            "description": "Include the current loan and informational recast. Include extra principal when supplied."
          },
          "matchGoals": {
            "type": "boolean",
            "description": "Apply the original mortgage goal filter."
          },
          "sortBy": {
            "type": "string",
            "enum": [
              "biggest-monthly-savings",
              "biggest-lifetime-savings",
              "fastest-break-even",
              "most-cash-received"
            ],
            "description": "Use the original strategy ordering by the stated criterion."
          }
        },
        "required": [
          "profile",
          "quotes"
        ],
        "additionalProperties": false
      },
      "input": {
        "profile": {
          "current": {
            "balance": 300000,
            "rate": 7.25,
            "monthlyPI": 2229,
            "monthsRemaining": 288,
            "loanType": "conventional",
            "hasMI": true
          },
          "property": {
            "estimatedValue": 400000,
            "originalValue": 380000,
            "type": "single-family",
            "occupancy": "primary"
          },
          "borrower": {
            "creditTier": "excellent",
            "isVeteran": false,
            "seasonedSixMonths": true,
            "expectedYearsToStay": 7
          },
          "goals": [
            "lower-payment"
          ]
        },
        "quotes": [
          {
            "mode": "lower-rate",
            "noteRate": 6,
            "closingCosts": 3500
          },
          {
            "mode": "cash-out",
            "noteRate": 6.5,
            "closingCosts": 5000
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "scenarios": [
            {
              "mode": "lower-rate",
              "status": "available",
              "newRate": 6,
              "newTermYears": 24,
              "newLoanAmount": 300000,
              "newMonthlyPI": 1968,
              "newPmiMonthly": 0,
              "monthlySavings": 261,
              "lifetimeInterestSavings": 75187,
              "cashReceived": null,
              "cashToClose": 3500,
              "closingCostsEstimate": 3500,
              "breakEvenMonths": 14,
              "fiveYearNetSavings": 12160,
              "withinHorizon": true,
              "taxAdjustedSavings": null,
              "equityBefore": 100000,
              "equityAfter": 100000,
              "equityRecoveryMonths": 0,
              "pmiNaturalDropMonth": 10,
              "yearsShavedOff": null,
              "worstCaseMonthlyPI": null,
              "interestAgainstKeeping": null
            },
            {
              "mode": "cash-out",
              "status": "available",
              "newRate": 6.5,
              "newTermYears": 30,
              "newLoanAmount": 320000,
              "newMonthlyPI": 2023,
              "newPmiMonthly": 0,
              "monthlySavings": 206,
              "lifetimeInterestSavings": -25509,
              "cashReceived": 20000,
              "cashToClose": 0,
              "closingCostsEstimate": 5000,
              "breakEvenMonths": null,
              "fiveYearNetSavings": null,
              "withinHorizon": null,
              "taxAdjustedSavings": null,
              "equityBefore": 100000,
              "equityAfter": 80000,
              "equityRecoveryMonths": 59,
              "pmiNaturalDropMonth": 10,
              "yearsShavedOff": null,
              "worstCaseMonthlyPI": null,
              "interestAgainstKeeping": -66190
            }
          ]
        },
        "formulaVersion": "quoted-refinance-alternatives-htcalc-719df2c0e105",
        "units": {
          "newMonthlyPI": "USD/month",
          "newPmiMonthly": "USD/month",
          "monthlySavings": "USD/month",
          "newRate": "annual percent",
          "breakEvenMonths": "months",
          "newTermYears": "years",
          "closingCostsEstimate": "USD"
        },
        "assumptions": [
          "All quotes, including loan-specific price adjustments, come from the caller. The app’s November 2026 scenario rules determine whether the requested alternative applies. No credit decision or rate lookup is provided. The caller supplies costs in dollars. Program mortgage insurance, other than quoted costs, uses the pinned app assumptions.",
          "The original strategy worksheet rounds its displayed payment estimates to whole US dollars.",
          "Ranking follows the app’s model criteria. Recasting is informational until the servicer supplies terms."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/analyze"
    },
    {
      "slug": "refinance-drop-pmi",
      "name": "Refinance to remove PMI",
      "category": "Mortgage",
      "description": "Compare an entered refinance without PMI to the existing loan, stop avoided PMI at scheduled 78% original-value LTV, and estimate cash-cost break-even.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "currentBalance": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "USD"
          },
          "currentRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Percent"
          },
          "remainingMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months"
          },
          "currentStatementPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD per month"
          },
          "currentMonthlyPmi": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD per month"
          },
          "originalPropertyValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "USD"
          },
          "newRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Percent"
          },
          "newMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months"
          },
          "annualPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD per year"
          },
          "annualHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD per year"
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD"
          },
          "rollClosingCosts": {
            "type": "boolean"
          }
        },
        "required": [
          "currentBalance",
          "currentRate",
          "remainingMonths",
          "currentStatementPayment",
          "currentMonthlyPmi",
          "originalPropertyValue",
          "newRate",
          "newMonths",
          "annualPropertyTax",
          "annualHomeInsurance",
          "closingCosts",
          "rollClosingCosts"
        ],
        "additionalProperties": false
      },
      "input": {
        "currentBalance": 90000,
        "currentRate": 0,
        "remainingMonths": 120,
        "currentStatementPayment": 900,
        "currentMonthlyPmi": 150,
        "originalPropertyValue": 100000,
        "newRate": 0,
        "newMonths": 120,
        "annualPropertyTax": 0,
        "annualHomeInsurance": 0,
        "closingCosts": 1800,
        "rollClosingCosts": false
      },
      "output": {
        "status": "available",
        "result": {
          "currentPayment": 900,
          "newPayment": 750,
          "firstMonthSavings": 150,
          "pmiMonthsRemaining": 16,
          "totalPmiAvoided": 2400,
          "breakEvenMonths": 12
        },
        "formulaVersion": "refinance-drop-pmi-htcalc-719df2c0e105",
        "units": {
          "currentPayment": "USD/month",
          "newPayment": "USD/month",
          "firstMonthSavings": "USD/month",
          "pmiMonthsRemaining": "months",
          "totalPmiAvoided": "USD",
          "breakEvenMonths": "months"
        },
        "assumptions": [
          "Conventional scheduled automatic cancellation at 78% of original property value. A statement payment includes existing PMI and escrow. Zero requests the calculated current payment. The break-even divides cash closing costs by the initial monthly benefit."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/refinance/drop-pmi"
    },
    {
      "slug": "keep-current-mortgage-payment",
      "name": "Keep paying the old mortgage payment",
      "category": "Mortgage",
      "description": "Apply the difference between current and required payments to principal and compare the resulting payoff schedules.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "principal": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "USD"
          },
          "annualRatePercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Percent"
          },
          "termMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months"
          },
          "payNowAmount": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD per month"
          },
          "requiredPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD per month"
          },
          "shownExtra": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD per month"
          },
          "principalAndInterest": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "USD per month"
          }
        },
        "required": [
          "principal",
          "annualRatePercent",
          "termMonths",
          "payNowAmount",
          "requiredPayment"
        ],
        "additionalProperties": false
      },
      "input": {
        "principal": 1200,
        "annualRatePercent": 0,
        "termMonths": 12,
        "payNowAmount": 200,
        "requiredPayment": 100,
        "shownExtra": 0
      },
      "output": {
        "status": "available",
        "result": {
          "status": "applies",
          "payNowExtra": 100,
          "shown": {
            "months": 12,
            "totalInterest": 0
          },
          "payNow": {
            "months": 6,
            "totalInterest": 0
          },
          "interestSaved": 0,
          "monthsSooner": 6
        },
        "formulaVersion": "keep-current-mortgage-payment-htcalc-719df2c0e105",
        "units": {
          "payNowExtra": "USD/month",
          "interestSaved": "USD",
          "monthsSooner": "months"
        },
        "assumptions": [
          "Enter comparable monthly payments on the same basis. Extra dollars go to principal."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/refinance/payoff-faster"
    },
    {
      "slug": "monthly-budget-guide-scenarios",
      "name": "Monthly budget guide and spending changes",
      "category": "Personal finance",
      "description": "Compare category amounts with the printed 50/30/20 guide, test the planner’s one-month spending changes and see whether unallocated pay covers the savings gap.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "monthlyIncome": {
            "description": "Monthly take-home pay in USD. Zero supports the amounts-only view. Positive income begins at one cent.",
            "anyOf": [
              {
                "type": "number",
                "const": 0
              },
              {
                "type": "number",
                "minimum": 0.01,
                "maximum": 10000000
              }
            ]
          },
          "items": {
            "type": "array",
            "minItems": 0,
            "maxItems": 100,
            "description": "Monthly budget lines. The optional label is available to companion reports.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "maxLength": 160,
                  "description": "Caller-supplied display label."
                },
                "category": {
                  "type": "string",
                  "enum": [
                    "needs",
                    "wants",
                    "savings"
                  ],
                  "description": "Savings includes planned debt repayment."
                },
                "amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000,
                  "description": "Planned monthly USD amount."
                }
              },
              "required": [
                "category",
                "amount"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "monthlyIncome",
          "items"
        ],
        "additionalProperties": false
      },
      "input": {
        "monthlyIncome": 5000,
        "items": [
          {
            "name": "Essentials",
            "category": "needs",
            "amount": 2600
          },
          {
            "name": "Flexible spending",
            "category": "wants",
            "amount": 500
          },
          {
            "name": "Savings and debt",
            "category": "savings",
            "amount": 700
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "shown": {
            "income": 5000,
            "needs": 2600,
            "wants": 500,
            "savings": 700,
            "planned": 3800,
            "remaining": 1200,
            "shortfall": false
          },
          "score": 85,
          "recommendation": "nearly-there",
          "deviation": "undersaving",
          "categories": [
            {
              "category": "needs",
              "amount": 2600,
              "printedAmount": 2600,
              "sharePct": 52,
              "guidePct": 50,
              "printedGuide": 2500,
              "printedGap": 100,
              "standing": "close"
            },
            {
              "category": "wants",
              "amount": 500,
              "printedAmount": 500,
              "sharePct": 10,
              "guidePct": 30,
              "printedGuide": 1500,
              "printedGap": -1000,
              "standing": "under"
            },
            {
              "category": "savings",
              "amount": 700,
              "printedAmount": 700,
              "sharePct": 14.000000000000002,
              "guidePct": 20,
              "printedGuide": 1000,
              "printedGap": -300,
              "standing": "under"
            }
          ],
          "comparison": {
            "exactGuide": {
              "needs": 2500,
              "wants": 1500,
              "savings": 1000
            },
            "printedGuide": {
              "needs": 2500,
              "wants": 1500,
              "savings": 1000
            },
            "monthlyUnallocated": 0,
            "score": 100,
            "savingsChangeToGuide": 300
          },
          "scenarios": [
            {
              "change": "reduce-wants",
              "lineChanges": {
                "needs": 0,
                "wants": -100,
                "savings": 0
              },
              "remaining": 1300,
              "remainingChange": 100,
              "score": 85,
              "scoreChange": 0,
              "recommendation": "nearly-there"
            },
            {
              "change": "increase-savings",
              "lineChanges": {
                "needs": 0,
                "wants": 0,
                "savings": 100
              },
              "remaining": 1100,
              "remainingChange": -100,
              "score": 89,
              "scoreChange": 4,
              "recommendation": "nearly-there"
            },
            {
              "change": "reduce-needs",
              "lineChanges": {
                "needs": -100,
                "wants": 0,
                "savings": 0
              },
              "remaining": 1300,
              "remainingChange": 100,
              "score": 88,
              "scoreChange": 3,
              "recommendation": "nearly-there"
            },
            {
              "change": "shift-wants-to-savings",
              "lineChanges": {
                "needs": 0,
                "wants": -100,
                "savings": 100
              },
              "remaining": 1200,
              "remainingChange": 0,
              "score": 89,
              "scoreChange": 4,
              "recommendation": "nearly-there"
            }
          ],
          "reportFunding": {
            "savingsGap": 300,
            "fromRemaining": 300,
            "remainingAfter": 900
          }
        },
        "formulaVersion": "monthly-budget-guide-htcalc-749139391f46-v1",
        "units": {
          "money": "USD/month",
          "sharePct": "percent of take-home pay",
          "guidePct": "percent of take-home pay",
          "score": "points out of 100",
          "scoreChange": "points"
        },
        "assumptions": [
          "Needs and wants targets are ceilings for the score; the savings target is a floor. Whole-dollar guide amounts use largest-remainder allocation so they add up to printed income.",
          "Scenarios change one month with income held fixed. A cut requires at least $100 in its category. The wants-to-savings shift uses up to $100."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/budget"
    },
    {
      "slug": "structured-loan-estimate-comparison",
      "name": "Compare entered Loan Estimates",
      "category": "Mortgage",
      "description": "Compare disclosed APR, cash to close and scheduled outlay for comparable fixed nonballoon offers. For each offer, enter the two disclosed five-year figures to see total paid less principal paid. An incomplete disclosure returns null for that offer.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "offers": {
            "type": "array",
            "minItems": 2,
            "maxItems": 5,
            "items": {
              "type": "object",
              "properties": {
                "loanAmount": {
                  "type": "number",
                  "minimum": 0.01,
                  "maximum": 100000000
                },
                "loanTerm": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 40
                },
                "loanPurpose": {
                  "type": "string",
                  "enum": [
                    "purchase",
                    "refinance"
                  ]
                },
                "loanType": {
                  "type": "string",
                  "enum": [
                    "conventional",
                    "fha",
                    "va",
                    "usda"
                  ]
                },
                "productType": {
                  "type": "string",
                  "enum": [
                    "fixed",
                    "arm",
                    "interest-only",
                    "balloon"
                  ]
                },
                "balloonPayment": {
                  "type": "boolean"
                },
                "monthlyPI": {
                  "type": "number",
                  "minimum": 0.01,
                  "maximum": 1000000
                },
                "totalClosingCostsDI": {
                  "type": "number",
                  "minimum": -100000000,
                  "maximum": 100000000,
                  "description": "Total closing costs on the selected gross or net basis."
                },
                "closingCostsBasis": {
                  "type": "string",
                  "enum": [
                    "net",
                    "gross"
                  ]
                },
                "lenderCredits": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000,
                  "description": "Enter the positive credit amount. A net total already includes this credit."
                },
                "estimatedCashToClose": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "apr": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100
                },
                "inFiveYearsTotal": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Manually entered five-year figure from Loan Estimate page 3, in dollars."
                },
                "inFiveYearsPrincipal": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Manually entered five-year figure from Loan Estimate page 3, in dollars."
                }
              },
              "required": [
                "loanAmount",
                "loanTerm",
                "loanPurpose",
                "loanType",
                "productType",
                "balloonPayment",
                "monthlyPI",
                "totalClosingCostsDI",
                "closingCostsBasis",
                "lenderCredits",
                "estimatedCashToClose",
                "apr"
              ],
              "additionalProperties": false,
              "allOf": [
                {
                  "if": {
                    "properties": {
                      "closingCostsBasis": {
                        "const": "gross"
                      }
                    }
                  },
                  "then": {
                    "properties": {
                      "totalClosingCostsDI": {
                        "minimum": 0
                      }
                    }
                  }
                }
              ]
            }
          }
        },
        "required": [
          "offers"
        ],
        "additionalProperties": false
      },
      "input": {
        "offers": [
          {
            "loanAmount": 200000,
            "loanTerm": 30,
            "loanPurpose": "purchase",
            "loanType": "conventional",
            "productType": "fixed",
            "balloonPayment": false,
            "monthlyPI": 1200,
            "totalClosingCostsDI": 5000,
            "closingCostsBasis": "gross",
            "lenderCredits": 1000,
            "estimatedCashToClose": 34000,
            "apr": 6.125
          },
          {
            "loanAmount": 200000,
            "loanTerm": 30,
            "loanPurpose": "purchase",
            "loanType": "conventional",
            "productType": "fixed",
            "balloonPayment": false,
            "monthlyPI": 1220,
            "totalClosingCostsDI": 2500,
            "closingCostsBasis": "net",
            "lenderCredits": 800,
            "estimatedCashToClose": 32500,
            "apr": 6.25
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "comparable": true,
          "reason": null,
          "rankings": [
            {
              "category": "lowest-5yr",
              "lowestOfferIndices": [
                1
              ],
              "differenceFromRunnerUp": 300,
              "unit": "USD"
            },
            {
              "category": "lowest-life",
              "lowestOfferIndices": [
                0
              ],
              "differenceFromRunnerUp": 5700,
              "unit": "USD"
            },
            {
              "category": "lowest-cash-to-close",
              "lowestOfferIndices": [
                1
              ],
              "differenceFromRunnerUp": 1500,
              "unit": "USD"
            },
            {
              "category": "lowest-apr",
              "lowestOfferIndices": [
                0
              ],
              "differenceFromRunnerUp": 0.125,
              "unit": "percentage points"
            }
          ]
        },
        "formulaVersion": "structured-loan-estimate-comparison-htcalc-719df2c0e105",
        "units": {
          "rankings[].differenceFromRunnerUp": "USD or percentage points, specified by rankings[].unit"
        },
        "assumptions": [
          "Offer indices follow request order, starting at zero. All ties are listed.",
          "Compare the same purpose, program, term and whole-dollar loan amount. Use offers requiring cash to close (including zero).",
          "Outlay includes scheduled principal and interest plus net closing costs; excludes recurring escrow, insurance and resale proceeds.",
          "When page 3 figures are supplied, borrowing cost subtracts principal paid from total paid at displayed cents. A missing or conflicting pair yields null. Scheduled-outlay rankings retain their separate basis."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/analyze"
    },
    {
      "slug": "loan-product-payment-paths",
      "name": "Compare mortgage payment paths",
      "category": "Mortgage",
      "description": "Compare disclosed scheduled payments and upfront costs for fixed, initially fixed ARM and full-term interest-only loans.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "options": {
            "type": "array",
            "minItems": 2,
            "maxItems": 5,
            "items": {
              "type": "object",
              "properties": {
                "loanType": {
                  "type": "string",
                  "enum": [
                    "fixed",
                    "arm",
                    "interest-only"
                  ]
                },
                "loanAmount": {
                  "type": "number",
                  "minimum": 0.01,
                  "maximum": 100000000
                },
                "termYears": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 40
                },
                "monthlyPI": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000
                },
                "closingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "discountPoints": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "lenderCredits": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "armInitialMonths": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 480
                }
              },
              "required": [
                "loanType",
                "loanAmount",
                "termYears",
                "monthlyPI",
                "closingCosts",
                "discountPoints",
                "lenderCredits"
              ],
              "additionalProperties": false,
              "allOf": [
                {
                  "if": {
                    "properties": {
                      "loanType": {
                        "const": "arm"
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "armInitialMonths"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "loanType": {
                        "enum": [
                          "fixed",
                          "arm"
                        ]
                      }
                    }
                  },
                  "then": {
                    "properties": {
                      "monthlyPI": {
                        "exclusiveMinimum": 0,
                        "type": "number"
                      }
                    }
                  }
                }
              ]
            }
          },
          "horizonMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 480
          }
        },
        "required": [
          "options",
          "horizonMonths"
        ],
        "additionalProperties": false
      },
      "input": {
        "options": [
          {
            "loanType": "fixed",
            "loanAmount": 180000,
            "termYears": 20,
            "monthlyPI": 1000,
            "closingCosts": 1000,
            "discountPoints": 0,
            "lenderCredits": 0
          },
          {
            "loanType": "fixed",
            "loanAmount": 180000,
            "termYears": 20,
            "monthlyPI": 1100,
            "closingCosts": 0,
            "discountPoints": 0,
            "lenderCredits": 0
          },
          {
            "loanType": "arm",
            "loanAmount": 180000,
            "termYears": 20,
            "monthlyPI": 950,
            "closingCosts": 1000,
            "discountPoints": 0,
            "lenderCredits": 0,
            "armInitialMonths": 6
          }
        ],
        "horizonMonths": 12
      },
      "output": {
        "status": "available",
        "result": {
          "horizonMonths": 12,
          "paths": [
            {
              "optionIndex": 0,
              "upfront": 1000,
              "horizon": 13000,
              "knownThroughMonth": 240,
              "maturity": 241000
            },
            {
              "optionIndex": 1,
              "upfront": 0,
              "horizon": 13200,
              "knownThroughMonth": 240,
              "maturity": 264000
            },
            {
              "optionIndex": 2,
              "upfront": 1000,
              "horizon": null,
              "knownThroughMonth": 6,
              "maturity": null
            }
          ],
          "crossovers": [
            {
              "firstOption": 0,
              "secondOption": 1,
              "month": 10
            }
          ]
        },
        "formulaVersion": "loan-product-payment-paths-htcalc-719df2c0e105",
        "units": {
          "paths[].upfront": "USD",
          "paths[].horizon": "USD or null",
          "paths[].maturity": "USD or null",
          "paths[].knownThroughMonth": "months",
          "crossovers[].month": "months"
        },
        "assumptions": [
          "Enter scheduled P&I from the offer; for interest-only enter the monthly interest charge. Closing costs exclude separately entered dollar points and credits.",
          "Fixed denotes a fully amortizing nonballoon loan. Interest-only denotes interest for its entire term with original principal paid at maturity. ARM amounts after the supplied initial period are unknown.",
          "Crossovers are reported through the requested horizon between two known fixed or interest-only paths. Outlay excludes escrows, insurance, and equity."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/analyze"
    },
    {
      "slug": "purchase-cash-and-rate-strategies",
      "name": "Compare purchase cash strategies at quoted rates",
      "category": "Mortgage",
      "description": "Compare entered fixed-rate purchase quotes by starting payment, lifetime interest, closing equity, retained cash and a designated future FHA remodel.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "homePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100000000
          },
          "cashAvailable": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000
          },
          "reserveTarget": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000
          },
          "horizonMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 480
          },
          "horizonHomeValue": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000
          },
          "monthlyPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "monthlyHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "monthlyHoa": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "options": {
            "type": "array",
            "minItems": 2,
            "maxItems": 5,
            "items": {
              "type": "object",
              "properties": {
                "downPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "quotedAnnualRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.001
                    }
                  ]
                },
                "termYears": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 40
                },
                "closingCashCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "pointCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "lenderCredit": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "financedFees": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "monthlyMortgageInsurance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000
                },
                "mortgageInsuranceMonths": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 480
                },
                "immediateProjectCash": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "financedGovernmentFee": {
                  "maximum": 100000000,
                  "minimum": 0,
                  "type": "number"
                },
                "loanProgram": {
                  "enum": [
                    "conventional",
                    "fha",
                    "va",
                    "usda",
                    "jumbo",
                    "other"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "downPayment",
                "quotedAnnualRate",
                "termYears",
                "closingCashCosts",
                "pointCost",
                "lenderCredit",
                "financedFees",
                "monthlyMortgageInsurance",
                "mortgageInsuranceMonths",
                "immediateProjectCash"
              ],
              "additionalProperties": false
            }
          },
          "primaryFhaRemodel": {
            "additionalProperties": false,
            "properties": {
              "annualAppreciationPct": {
                "maximum": 50,
                "minimum": -50,
                "type": "number"
              },
              "optionIndex": {
                "maximum": 4,
                "minimum": 0,
                "type": "integer"
              },
              "plannedBudget": {
                "exclusiveMinimum": 0,
                "maximum": 100000000,
                "type": "number"
              }
            },
            "required": [
              "optionIndex",
              "plannedBudget"
            ],
            "type": "object"
          }
        },
        "required": [
          "homePrice",
          "cashAvailable",
          "reserveTarget",
          "horizonMonths",
          "horizonHomeValue",
          "monthlyPropertyTax",
          "monthlyHomeInsurance",
          "monthlyHoa",
          "options"
        ],
        "additionalProperties": false
      },
      "input": {
        "homePrice": 300000,
        "cashAvailable": 65000,
        "reserveTarget": 10000,
        "horizonMonths": 12,
        "horizonHomeValue": 300000,
        "monthlyPropertyTax": 250,
        "monthlyHomeInsurance": 100,
        "monthlyHoa": 50,
        "options": [
          {
            "downPayment": 60000,
            "quotedAnnualRate": 0,
            "termYears": 20,
            "closingCashCosts": 5000,
            "pointCost": 0,
            "lenderCredit": 0,
            "financedFees": 0,
            "monthlyMortgageInsurance": 0,
            "mortgageInsuranceMonths": 0,
            "immediateProjectCash": 0
          },
          {
            "downPayment": 30000,
            "quotedAnnualRate": 0,
            "termYears": 20,
            "closingCashCosts": 5000,
            "pointCost": 0,
            "lenderCredit": 1000,
            "financedFees": 0,
            "monthlyMortgageInsurance": 110,
            "mortgageInsuranceMonths": 84,
            "immediateProjectCash": 6000
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "horizonMonths": 12,
          "options": [
            {
              "optionIndex": 0,
              "principal": 240000,
              "principalAndInterest": 1000,
              "cashToClose": 65000,
              "cashAfterClosing": 0,
              "cashAfterProjects": 0,
              "reserveShortfall": 10000,
              "horizonBalance": 228000,
              "horizonEquity": 72000,
              "horizonMortgageInsurance": 0,
              "initialMonthlyHousing": 1400,
              "equityAtClosing": 60000,
              "goalEquityAtClosing": 60000,
              "lifetimeInterest": 0
            },
            {
              "optionIndex": 1,
              "principal": 270000,
              "principalAndInterest": 1125,
              "cashToClose": 34000,
              "cashAfterClosing": 31000,
              "cashAfterProjects": 25000,
              "reserveShortfall": 0,
              "horizonBalance": 256500,
              "horizonEquity": 43500,
              "horizonMortgageInsurance": 1320,
              "initialMonthlyHousing": 1635,
              "equityAtClosing": 30000,
              "goalEquityAtClosing": 30000,
              "lifetimeInterest": 0
            }
          ],
          "goalResults": {
            "lowest-payment": {
              "value": 1400,
              "optionIndices": [
                0
              ]
            },
            "lowest-cost": {
              "value": 0,
              "optionIndices": [
                0,
                1
              ]
            },
            "max-equity": {
              "value": 60000,
              "optionIndices": [
                0
              ]
            },
            "keep-cash-liquid": {
              "value": 31000,
              "optionIndices": [
                1
              ]
            },
            "plan-future-remodel": null
          }
        },
        "formulaVersion": "purchase-cash-and-rate-strategies-htcalc-719df2c0e105",
        "units": {
          "options[].principal": "USD",
          "options[].principalAndInterest": "USD/month",
          "options[].cashToClose": "USD",
          "options[].cashAfterProjects": "USD",
          "options[].reserveShortfall": "USD",
          "options[].horizonBalance": "USD",
          "options[].horizonEquity": "USD",
          "options[].horizonMortgageInsurance": "USD",
          "options[].initialMonthlyHousing": "USD/month",
          "goalResults.keep-cash-liquid.value": "USD",
          "goalResults.lowest-cost.value": "USD",
          "goalResults.lowest-payment.value": "USD/month",
          "goalResults.max-equity.value": "USD",
          "goalResults.plan-future-remodel.budgetShortfall": "USD",
          "goalResults.plan-future-remodel.cashAfterClosing": "USD",
          "goalResults.plan-future-remodel.modeled80PctLtvMonth": "months",
          "goalResults.plan-future-remodel.plannedBudget": "USD",
          "options[].cashAfterClosing": "USD",
          "options[].equityAtClosing": "USD",
          "options[].goalEquityAtClosing": "USD",
          "options[].lifetimeInterest": "USD"
        },
        "assumptions": [
          "Supply a final lender-quoted fixed rate for each down-payment and points combination, including any applicable pricing adjustments.",
          "Cash closing costs exclude separately entered points, down payment and financed fees. Apply only credits usable against the supplied cash costs and points.",
          "Level monthly mortgage insurance applies for the entered period. Horizon property value and immediate cash projects are independent assumptions. Signed equity and remaining cash preserve a shortfall.",
          "Compare caller-selected fixed quotes that can cover cash due at closing. Reserve targets and immediate projects are separately reported. Cash funding is a worksheet arithmetic test. The goal results do not establish loan approval or market availability.",
          "Goal rankings use whole-dollar initial housing payment, lifetime interest and base-loan equity, plus exact retained cash before projects. Tied options are listed in entry order. Signed equityAtClosing includes all financed fees. goalEquityAtClosing excludes the explicitly identified financed FHA upfront MIP or VA funding fee and floors equity at zero as in the app.",
          "To review a planned remodel, identify a borrower-selected primary-residence FHA quote and state the planned future budget. The planned budget is compared to cash retained at closing before projects or reserves. Use it for a future project separate from any immediate cash already entered. Optional annual appreciation estimates the 80% base-loan LTV month; that milestone is not an assurance of future refinance terms."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/analyze"
    },
    {
      "slug": "loan-estimate-closing-disclosure-fee-review",
      "name": "Review fee changes between an LE and a CD",
      "category": "Mortgage",
      "description": "Compare four entered section totals and identify changes for itemized review.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "estimate": {
            "type": "object",
            "properties": {
              "totalOriginationCharges": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "totalServicesCannotShopFor": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "totalServicesCanShopFor": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "lenderCredits": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              }
            },
            "required": [
              "totalOriginationCharges",
              "totalServicesCannotShopFor",
              "totalServicesCanShopFor",
              "lenderCredits"
            ],
            "additionalProperties": false
          },
          "closingDisclosure": {
            "type": "object",
            "properties": {
              "totalOriginationCharges": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "totalServicesCannotShopFor": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "totalServicesCanShopFor": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "lenderCredits": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              }
            },
            "required": [
              "totalOriginationCharges",
              "totalServicesCannotShopFor",
              "totalServicesCanShopFor",
              "lenderCredits"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "estimate",
          "closingDisclosure"
        ],
        "additionalProperties": false
      },
      "input": {
        "estimate": {
          "totalOriginationCharges": 1500,
          "totalServicesCannotShopFor": 200,
          "totalServicesCanShopFor": 1000,
          "lenderCredits": 500
        },
        "closingDisclosure": {
          "totalOriginationCharges": 1520,
          "totalServicesCannotShopFor": 200,
          "totalServicesCanShopFor": 1100,
          "lenderCredits": 450
        }
      },
      "output": {
        "status": "available",
        "result": {
          "sections": [
            {
              "section": "A",
              "estimate": 1500,
              "closingDisclosure": 1520,
              "adverseChange": 20,
              "reviewFlag": true
            },
            {
              "section": "lender-credits",
              "estimate": 500,
              "closingDisclosure": 450,
              "adverseChange": 50,
              "reviewFlag": true
            },
            {
              "section": "B",
              "estimate": 200,
              "closingDisclosure": 200,
              "adverseChange": 0,
              "reviewFlag": false
            },
            {
              "section": "C",
              "estimate": 1000,
              "closingDisclosure": 1100,
              "adverseChange": 100,
              "reviewFlag": false
            }
          ],
          "flaggedSectionCount": 2
        },
        "formulaVersion": "loan-estimate-closing-disclosure-fee-review-htcalc-719df2c0e105",
        "units": {
          "sections[].estimate": "USD",
          "sections[].closingDisclosure": "USD",
          "sections[].adverseChange": "USD",
          "flaggedSectionCount": "count"
        },
        "assumptions": [
          "Enter positive lender credit magnitudes. A decrease in credits increases the adverse difference.",
          "The section-level flags use the HT Calc screening thresholds. The regulatory comparison depends on individual charges, provider selection, recording fees and qualifying revisions. A compliance determination requires itemized review."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/analyze"
    },
    {
      "slug": "loan-estimate-field-and-lock-review",
      "name": "Review entered Loan Estimate figures and rate lock",
      "category": "Mortgage",
      "description": "Screen a fully amortizing fixed-rate offer for arithmetic and entry anomalies and calculate the disclosed rate lock's remaining calendar days on a supplied date.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "product": {
            "const": "fully-amortizing-fixed"
          },
          "loanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100000000
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 40
          },
          "monthlyPI": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000
          },
          "apr": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "grossClosingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000
          },
          "totalOriginationCharges": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000
          },
          "asOfDate": {
            "type": "string",
            "format": "date"
          },
          "lock": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "status": {
                    "const": "locked"
                  },
                  "expiryDate": {
                    "type": "string",
                    "format": "date"
                  }
                },
                "required": [
                  "status",
                  "expiryDate"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "status": {
                    "enum": [
                      "unlocked",
                      "unknown"
                    ]
                  }
                },
                "required": [
                  "status"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "product",
          "loanAmount",
          "interestRate",
          "loanTerm",
          "monthlyPI",
          "apr",
          "grossClosingCosts",
          "totalOriginationCharges",
          "asOfDate",
          "lock"
        ],
        "additionalProperties": false
      },
      "input": {
        "product": "fully-amortizing-fixed",
        "loanAmount": 120000,
        "interestRate": 6,
        "loanTerm": 30,
        "monthlyPI": 719.46,
        "apr": 6.1,
        "grossClosingCosts": 4000,
        "totalOriginationCharges": 1050,
        "asOfDate": "2026-11-14",
        "lock": {
          "status": "locked",
          "expiryDate": "2026-11-24"
        }
      },
      "output": {
        "status": "available",
        "result": {
          "fieldReviewCount": 0,
          "fieldReviews": [],
          "lockStatus": "locked-expiring",
          "lockDaysRemaining": 10
        },
        "formulaVersion": "loan-estimate-field-and-lock-review-htcalc-719df2c0e105",
        "units": {
          "fieldReviewCount": "count",
          "lockDaysRemaining": "calendar days"
        },
        "assumptions": [
          "Enter gross closing costs before credits. Checks use the source's fixed-rate arithmetic and document-entry thresholds. A flagged value calls for review of the underlying figure.",
          "Supply the date of review and the documented lock status. A calendar day difference does not establish the lender's expiry time or extension policy."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/mortgage/analyze"
    },
    {
      "slug": "arm-initial-period-prepayment",
      "name": "ARM prepayments through the initial rate period",
      "category": "Mortgage",
      "description": "Compare remaining debt and interest through the last fixed-rate payment when extra principal is applied each month.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "principal": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100000000
          },
          "initialAnnualRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "scheduledMonthlyPI": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000
          },
          "fixedMonthsRemaining": {
            "type": "integer",
            "minimum": 1,
            "maximum": 480
          },
          "extraMonthlyPrincipal": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000
          }
        },
        "required": [
          "principal",
          "initialAnnualRate",
          "scheduledMonthlyPI",
          "fixedMonthsRemaining",
          "extraMonthlyPrincipal"
        ],
        "additionalProperties": false
      },
      "input": {
        "principal": 12000,
        "initialAnnualRate": 12,
        "scheduledMonthlyPI": 1120,
        "fixedMonthsRemaining": 2,
        "extraMonthlyPrincipal": 200
      },
      "output": {
        "status": "available",
        "result": {
          "fixedMonthsRemaining": 2,
          "standardBalance": 9990,
          "prepaidBalance": 9588,
          "standardInterest": 230,
          "prepaidInterest": 228,
          "interestSaved": 2,
          "extraPrincipalApplied": 400,
          "standardPayments": 2,
          "prepaidPayments": 2
        },
        "formulaVersion": "arm-initial-period-prepayment-htcalc-719df2c0e105",
        "units": {
          "fixedMonthsRemaining": "months",
          "standardBalance": "USD",
          "prepaidBalance": "USD",
          "standardInterest": "USD",
          "prepaidInterest": "USD",
          "interestSaved": "USD",
          "extraPrincipalApplied": "USD",
          "standardPayments": "count",
          "prepaidPayments": "count"
        },
        "assumptions": [
          "The initial monthly P&I payment remains fixed through the entered period. Extra principal is paid alongside scheduled installments without a prepayment charge.",
          "Provide the remaining fixed months and a fully amortizing scheduled payment. The lender's future adjusted rate and payments are outside this projection."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/mortgage/analyze"
    },
    {
      "slug": "savings-plan-milestones",
      "name": "Savings plan milestones and comparisons",
      "category": "Personal finance",
      "description": "Find the first projected year a savings goal is reached, compare interest with annual deposits, and review the displayed schedule, a $100/month alternative and the app’s sensitivity grid.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "initialDeposit": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "Opening deposit in USD.",
            "multipleOf": 0.01
          },
          "monthlyContribution": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000,
            "description": "Contribution in USD per month. Daily mode distributes this across 365 periods per year.",
            "multipleOf": 0.01
          },
          "annualRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 15,
            "description": "Fixed annual nominal rate in percentage points (4.5 means 4.5%)."
          },
          "years": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Whole projection years."
          },
          "compounding": {
            "type": "string",
            "enum": [
              "monthly",
              "daily"
            ],
            "description": "Contribution and crediting cadence; interest accrues before each period-end deposit."
          },
          "goal": {
            "type": "number",
            "minimum": 0,
            "maximum": 9007199254740991,
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000,
                "description": "Shared savings goal in USD.",
                "multipleOf": 0.01
              }
            ],
            "description": "Optional USD goal. Manual goals use whole dollars. Share links can supply a goal with cents up to $100 million. Zero or omission disables the goal."
          }
        },
        "required": [
          "initialDeposit",
          "monthlyContribution",
          "annualRate",
          "years",
          "compounding"
        ],
        "additionalProperties": false
      },
      "input": {
        "initialDeposit": 5000,
        "monthlyContribution": 500,
        "annualRate": 4.5,
        "years": 10,
        "compounding": "monthly",
        "goal": 75000
      },
      "output": {
        "status": "available",
        "result": {
          "projection": {
            "finalBalance": 83434.00071898063,
            "totalContributions": 65000,
            "totalInterest": 18434.000718980635
          },
          "shown": {
            "balance": 83434,
            "contributions": 65000,
            "interest": 18434
          },
          "interestSharePercent": 22.09411098608272,
          "shownInterestSharePercent": 22,
          "schedule": [
            {
              "year": 1,
              "balance": 11355,
              "contributions": 11000,
              "interest": 355,
              "yearInterest": 355,
              "depositEquivalentMonths": 0
            },
            {
              "year": 2,
              "balance": 18002,
              "contributions": 17000,
              "interest": 1002,
              "yearInterest": 647,
              "depositEquivalentMonths": 1
            },
            {
              "year": 3,
              "balance": 24954,
              "contributions": 23000,
              "interest": 1954,
              "yearInterest": 952,
              "depositEquivalentMonths": 1
            },
            {
              "year": 4,
              "balance": 32226,
              "contributions": 29000,
              "interest": 3226,
              "yearInterest": 1272,
              "depositEquivalentMonths": 2
            },
            {
              "year": 5,
              "balance": 39832,
              "contributions": 35000,
              "interest": 4832,
              "yearInterest": 1606,
              "depositEquivalentMonths": 3
            },
            {
              "year": 6,
              "balance": 47787,
              "contributions": 41000,
              "interest": 6787,
              "yearInterest": 1955,
              "depositEquivalentMonths": 3
            },
            {
              "year": 7,
              "balance": 56108,
              "contributions": 47000,
              "interest": 9108,
              "yearInterest": 2321,
              "depositEquivalentMonths": 4
            },
            {
              "year": 8,
              "balance": 64810,
              "contributions": 53000,
              "interest": 11810,
              "yearInterest": 2702,
              "depositEquivalentMonths": 5
            },
            {
              "year": 9,
              "balance": 73913,
              "contributions": 59000,
              "interest": 14913,
              "yearInterest": 3103,
              "depositEquivalentMonths": 6
            },
            {
              "year": 10,
              "balance": 83434,
              "contributions": 65000,
              "interest": 18434,
              "yearInterest": 3521,
              "depositEquivalentMonths": 7
            }
          ],
          "milestoneYears": [
            1,
            5,
            10
          ],
          "crossoverYear": null,
          "goal": {
            "amount": 75000,
            "reachedYear": 10,
            "endingShortfall": 0
          },
          "hundredMore": {
            "monthlyContribution": 600,
            "finalBalance": 98553.80808649494,
            "extraContributions": 12000,
            "shownBalanceGain": 15120
          },
          "explanation": {
            "toolId": "savings",
            "headline": "Starting with $5,000 and adding $500 a month at 4.5%, you would have $83,434 after 10 years: $65,000 you put in and $18,434 of interest.",
            "math": [
              {
                "label": "What you put in",
                "formula": "first deposit + monthly deposit × 12 × years",
                "substituted": "$5,000 + $500 × 12 × 10",
                "result": "$65,000"
              },
              {
                "label": "How the balance grows",
                "formula": "each month: balance × (1 + rate ÷ 12) + the monthly deposit",
                "substituted": "4.5% a year, compounded monthly, for 10 years",
                "result": "$83,434"
              },
              {
                "label": "Interest earned",
                "formula": "final balance − what you put in",
                "substituted": "$83,434 − $65,000",
                "result": "$18,434"
              }
            ],
            "drivers": [
              {
                "label": "A rate 1 percentage point higher",
                "detail": "+$4,975 after 10 years",
                "delta": 4975,
                "favorable": true
              },
              {
                "label": "$100 more a month",
                "detail": "+$15,120 after 10 years",
                "delta": 15120,
                "favorable": true
              },
              {
                "label": "Saving 5 years longer",
                "detail": "+$54,581 by year 15",
                "delta": 54581,
                "favorable": true
              }
            ],
            "metrics": [
              {
                "label": "Future balance",
                "value": "$83,434",
                "hint": "after 10 years"
              },
              {
                "label": "You put in",
                "value": "$65,000"
              },
              {
                "label": "Interest earned",
                "value": "$18,434",
                "hint": "22% of the balance"
              }
            ],
            "splitsHeading": "Over the whole plan",
            "splits": [
              {
                "title": "Your balance after 10 years",
                "total": "$83,434",
                "parts": [
                  {
                    "label": "You put in",
                    "value": 65000,
                    "display": "$65,000"
                  },
                  {
                    "label": "Interest",
                    "value": 18434.000718980635,
                    "display": "$18,434"
                  }
                ]
              }
            ],
            "alternative": {
              "label": "$100 more a month",
              "current": [
                {
                  "label": "Monthly deposit",
                  "value": "$500"
                },
                {
                  "label": "Balance after 10 years",
                  "value": "$83,434"
                },
                {
                  "label": "Interest earned",
                  "value": "$18,434"
                }
              ],
              "alternative": [
                {
                  "label": "Monthly deposit",
                  "value": "$600"
                },
                {
                  "label": "Balance after 10 years",
                  "value": "$98,554"
                },
                {
                  "label": "Interest earned",
                  "value": "$21,554"
                }
              ],
              "takeaway": "Adding $100 a month puts $12,000 more in and grows the balance by $15,120."
            },
            "deepDive": {
              "sensitivity": {
                "metric": "Balance after 10 years",
                "rowAxis": "Rate",
                "columnAxis": "Monthly deposit",
                "columns": [
                  "-$100/mo",
                  "Yours",
                  "+$100/mo"
                ],
                "baseColumn": 1,
                "rows": [
                  {
                    "label": "4%",
                    "cells": [
                      "$66,354",
                      "$81,079",
                      "$95,804"
                    ],
                    "values": [
                      66354.08530228135,
                      81079.0657748289,
                      95804.0462473764
                    ],
                    "isBase": false
                  },
                  {
                    "label": "4.25%",
                    "cells": [
                      "$67,325",
                      "$82,246",
                      "$97,167"
                    ],
                    "values": [
                      67325.11663569833,
                      82245.84281282318,
                      97166.5689899479
                    ],
                    "isBase": false
                  },
                  {
                    "label": "4.5% (yours)",
                    "cells": [
                      "$68,314",
                      "$83,434",
                      "$98,554"
                    ],
                    "values": [
                      68314.19335146624,
                      83434.00071898063,
                      98553.80808649494
                    ],
                    "isBase": true
                  },
                  {
                    "label": "4.75%",
                    "cells": [
                      "$69,322",
                      "$84,644",
                      "$99,966"
                    ],
                    "values": [
                      69321.68258122665,
                      84643.96925069996,
                      99966.25592017338
                    ],
                    "isBase": false
                  },
                  {
                    "label": "5%",
                    "cells": [
                      "$70,348",
                      "$85,876",
                      "$101,404"
                    ],
                    "values": [
                      70347.95926671855,
                      85876.18721128529,
                      101404.415155852
                    ],
                    "isBase": false
                  }
                ]
              },
              "risks": [],
              "balances": [
                {
                  "label": "After 1 year",
                  "value": "$11,355"
                },
                {
                  "label": "After 5 years",
                  "value": "$39,832"
                },
                {
                  "label": "After 10 years",
                  "value": "$83,434"
                }
              ]
            },
            "note": "Assumes the same rate and deposits every year, with nothing taken out; taxes and fees are not included."
          }
        },
        "formulaVersion": "savings-plan-milestones-1.0.0",
        "units": {
          "projection, shown, schedule amount fields, goal amounts, hundredMore dollar fields": "USD",
          "interestSharePercent, shownInterestSharePercent, annualRate": "percentage points",
          "schedule.year, milestoneYears, crossoverYear, reachedYear": "end of projection year",
          "depositEquivalentMonths": "whole monthly deposits",
          "hundredMore.monthlyContribution": "USD/month"
        },
        "assumptions": [
          "Constant nominal rate and contributions, with no withdrawals, fees, taxes or inflation adjustment.",
          "Monthly mode credits interest then adds the monthly deposit. Daily mode credits interest daily then adds one 365th of the annual contribution.",
          "Milestones use rounded year-end balances, including year one if the opening deposit already covers the goal. Crossover uses the year’s displayed interest and requires positive annual deposits.",
          "Whole-dollar interest subtracts displayed contributions from displayed balance. A sensitivity cell outside the 15% rate cap is null; its formatted cell is an em dash."
        ],
        "warnings": [],
        "creditCost": 2
      },
      "calculatorPath": "/calculator/savings"
    },
    {
      "slug": "money-moves-follow-up",
      "name": "Money Moves checkup follow-up",
      "category": "Financial Hub",
      "description": "Project the monthly checkup record after completion or a seven-day snooze using an explicit action time.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "actedAt": {
            "type": "string",
            "pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3}Z$",
            "description": "Caller-supplied action time in canonical UTC with milliseconds."
          },
          "periodMonth": {
            "type": "string",
            "pattern": "^(?:19|20|21)[0-9]{2}-(?:0[1-9]|1[0-2])$"
          },
          "status": {
            "enum": [
              "completed",
              "snoozed"
            ]
          },
          "score": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100
          },
          "actionCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100
          }
        },
        "required": [
          "actedAt",
          "periodMonth",
          "status",
          "score",
          "actionCount"
        ],
        "additionalProperties": false
      },
      "input": {
        "actedAt": "2026-12-28T16:30:00.000Z",
        "periodMonth": "2026-12",
        "score": 90,
        "status": "snoozed",
        "actionCount": 3
      },
      "output": {
        "status": "available",
        "result": {
          "periodMonth": "2026-12",
          "score": 90,
          "status": "snoozed",
          "completedActionCount": 0,
          "completedAt": null,
          "snoozedUntil": "2027-01-04T16:30:00.000Z"
        },
        "formulaVersion": "money-moves-follow-up-1.0.0",
        "units": {
          "score": "checkup points out of 100",
          "completedActionCount": "actions",
          "snoozedUntil": "UTC timestamp"
        },
        "assumptions": [
          "Use the period, score and action count from the same checkup. The caller stores the returned record."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/financial-hub"
    },
    {
      "slug": "auto-refinance-comparison",
      "name": "Vehicle refinance and term comparison",
      "category": "Lending",
      "description": "Compares the old and new payments, total cost, interest, effective APR and five alternate new terms.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "currentBalance": {
            "type": "number",
            "description": "Unpaid vehicle loan balance (USD, cents).",
            "minimum": 0.01,
            "maximum": 1000000000,
            "multipleOf": 0.01
          },
          "currentRate": {
            "type": "number",
            "description": "Current APR (percentage points, up to 6 decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "currentTermRemaining": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1200,
            "description": "Term in whole months."
          },
          "newRate": {
            "type": "number",
            "description": "New note rate (percentage points, up to 6 decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "newTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1200,
            "description": "Term in whole months."
          },
          "refiCosts": {
            "type": "number",
            "description": "Costs financed with the new loan in advanced mode (USD, cents).",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01
          },
          "isAdvanced": {
            "type": "boolean",
            "description": "Include refinance costs when true (advanced). Ignore them in simple mode."
          }
        },
        "required": [
          "currentBalance",
          "currentRate",
          "currentTermRemaining",
          "newRate",
          "newTerm",
          "refiCosts",
          "isAdvanced"
        ],
        "additionalProperties": false
      },
      "input": {
        "currentBalance": 1200,
        "currentRate": 0,
        "currentTermRemaining": 12,
        "newRate": 0,
        "newTerm": 24,
        "refiCosts": 120,
        "isAdvanced": true
      },
      "output": {
        "status": "available",
        "result": {
          "actualCurrentPayment": 100,
          "newPayment": 55,
          "monthlySavings": 45,
          "totalSavings": -120,
          "interestSavings": 0,
          "breakEvenMonths": 3,
          "rateOnlyMonthlySavings": 50,
          "chartData": [
            {
              "name": "Monthly Payment",
              "Current": 100,
              "New": 55
            },
            {
              "name": "Total Interest",
              "Current": 0,
              "New": 0
            },
            {
              "name": "Total Cost",
              "Current": 1200,
              "New": 1320
            }
          ],
          "worthIt": false,
          "hasValidTerms": true,
          "extraMonths": 12,
          "newLoanAprPct": 9.323544233334037,
          "effectiveRefiCosts": 120,
          "printed": {
            "interestSavings": 0,
            "totalSavings": -120,
            "monthlyChange": 45,
            "newBalance": 1320
          },
          "termLadder": [
            {
              "term": 24,
              "newPayment": 55,
              "totalSavings": -120
            },
            {
              "term": 36,
              "newPayment": 36.6666666667,
              "totalSavings": -120
            },
            {
              "term": 48,
              "newPayment": 27.5,
              "totalSavings": -120
            },
            {
              "term": 60,
              "newPayment": 22,
              "totalSavings": -120
            },
            {
              "term": 72,
              "newPayment": 18.3333333333,
              "totalSavings": -120
            }
          ]
        },
        "formulaVersion": "auto-refinance-comparison-1.0.0",
        "units": {
          "money": "USD",
          "monthlySavings": "USD/month",
          "newLoanAprPct": "percent per year",
          "breakEvenMonths": "months"
        },
        "assumptions": [
          "Simple mode ignores costs. Advanced mode finances them. Break-even uses the rate-only payment difference before costs are financed. A zero break-even month alone does not establish a benefit."
        ],
        "warnings": [
          "The lower monthly payment costs more over the new term."
        ],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/lending/auto-refi"
    },
    {
      "slug": "commercial-mortgage-analysis",
      "name": "Commercial mortgage income and balloon analysis",
      "category": "Lending",
      "description": "Combines purchase financing, balloon and full-term costs with the annual debt-service coverage test and reconciled property report figures.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "purchasePrice": {
            "type": "number",
            "description": "Purchase price (USD).",
            "minimum": 0.01,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "downPaymentPct": {
            "type": "number",
            "description": "Cash down as a share of purchase price (percentage points, up to 6 decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "annualNOI": {
            "type": "number",
            "description": "Annual net operating income before debt service (USD/year).",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01
          },
          "ratePct": {
            "type": "number",
            "description": "Annual note rate (percentage points, up to 6 decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "amortYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Full amortization (years)."
          },
          "balloonYears": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100,
            "description": "Year of balloon, zero or a term at or beyond full amortization means fully amortizing."
          },
          "propertyType": {
            "type": "string",
            "enum": [
              "multifamily",
              "retail",
              "office",
              "industrial"
            ],
            "description": "Property label used in the report."
          }
        },
        "required": [
          "purchasePrice",
          "downPaymentPct",
          "annualNOI",
          "ratePct",
          "amortYears",
          "balloonYears"
        ],
        "additionalProperties": false
      },
      "input": {
        "purchasePrice": 1200,
        "downPaymentPct": 0,
        "annualNOI": 750,
        "ratePct": 0,
        "amortYears": 2,
        "balloonYears": 1
      },
      "output": {
        "status": "available",
        "result": {
          "monthlyPayment": 50,
          "balloonAmount": 600,
          "totalInterestUntilBalloon": 0,
          "totalInterestFullAmort": 0,
          "principal": 1200,
          "downPaymentAmount": 0,
          "ltv": 100,
          "propertyType": "multifamily",
          "annualDebtService": 600,
          "dscr": 1.25,
          "dscrStatus": "strong",
          "hasBalloon": true,
          "totalInterest": 0,
          "printed": {
            "price": 1200,
            "loan": 1200,
            "down": 0,
            "balloon": 600,
            "paidDown": 600,
            "interest": 0,
            "totalPayments": 1200,
            "annualNOI": 750,
            "annualDebtService": 600,
            "leftOver": 150
          }
        },
        "formulaVersion": "commercial-mortgage-analysis-1.0.0",
        "units": {
          "money": "USD",
          "monthlyPayment": "USD/month",
          "annualDebtService": "USD/year",
          "annualNOI": "USD/year",
          "dscr": "multiple",
          "ltv": "percent",
          "printed": "whole USD"
        },
        "assumptions": [
          "Property type is a reporting label. Income covers debt service at 1.0x and meets the modeled strong band at 1.25x."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/lending/commercial-mortgage"
    },
    {
      "slug": "business-financing-comparison",
      "name": "Business financing program comparison",
      "category": "Lending",
      "description": "Compares up to five quoted business financing programs, with coverage, fee-inclusive cost, borrowing capacity, checklist and first-year payments.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "loanAmount": {
            "type": "number",
            "description": "Gross requested principal, or SBA-backed debenture for a 504 loan (USD, cents).",
            "minimum": 0.01,
            "maximum": 1000000000,
            "multipleOf": 0.01
          },
          "originationFeePercent": {
            "type": "number",
            "description": "Origination fee financed with each loan (percentage points, up to 6 decimals).",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.000001
          },
          "monthlyRevenue": {
            "type": "number",
            "description": "Monthly business revenue (USD, cents).",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01
          },
          "monthlyExpenses": {
            "type": "number",
            "description": "Monthly operating expenses (USD, cents).",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01
          },
          "existingMonthlyDebtService": {
            "type": "number",
            "description": "Existing monthly debt payments (USD, cents).",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01
          },
          "offers": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "program": {
                      "type": "string",
                      "enum": [
                        "sba7a",
                        "sba504"
                      ],
                      "description": "SBA financing program."
                    },
                    "annualRate": {
                      "type": "number",
                      "description": "Quoted annual note rate (percentage points, up to 6 decimals).",
                      "minimum": 0,
                      "maximum": 100,
                      "multipleOf": 0.000001
                    },
                    "termYears": {
                      "type": "number",
                      "description": "Offered term in years, rounded to the nearest payment month.",
                      "minimum": 0.08333333333333333,
                      "maximum": 100
                    },
                    "amountLimit": {
                      "type": "number",
                      "description": "Offer or program amount limit (USD, cents).",
                      "minimum": 0.01,
                      "maximum": 1000000000,
                      "multipleOf": 0.01
                    },
                    "maxTermYears": {
                      "type": "number",
                      "description": "Offer or program maximum term (years).",
                      "minimum": 0.08333333333333333,
                      "maximum": 100
                    },
                    "quotedGuaranteeFee": {
                      "type": "number",
                      "description": "Total quoted upfront guarantee fee paid separately from principal (USD, cents).",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "multipleOf": 0.01
                    }
                  },
                  "required": [
                    "program",
                    "annualRate",
                    "termYears",
                    "quotedGuaranteeFee"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "program": {
                      "type": "string",
                      "enum": [
                        "term",
                        "equipment",
                        "loc"
                      ],
                      "description": "Non-SBA financing program."
                    },
                    "annualRate": {
                      "type": "number",
                      "description": "Quoted annual note rate (percentage points, up to 6 decimals).",
                      "minimum": 0,
                      "maximum": 100,
                      "multipleOf": 0.000001
                    },
                    "termYears": {
                      "type": "number",
                      "description": "Offered term in years, rounded to the nearest payment month.",
                      "minimum": 0.08333333333333333,
                      "maximum": 100
                    },
                    "amountLimit": {
                      "type": "number",
                      "description": "Offer or program amount limit (USD, cents).",
                      "minimum": 0.01,
                      "maximum": 1000000000,
                      "multipleOf": 0.01
                    },
                    "maxTermYears": {
                      "type": "number",
                      "description": "Offer or program maximum term (years).",
                      "minimum": 0.08333333333333333,
                      "maximum": 100
                    }
                  },
                  "required": [
                    "program",
                    "annualRate",
                    "termYears"
                  ],
                  "additionalProperties": false
                }
              ]
            },
            "minItems": 1,
            "maxItems": 5
          },
          "selectedOffer": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "program": {
                    "type": "string",
                    "enum": [
                      "sba7a",
                      "sba504"
                    ],
                    "description": "SBA financing program."
                  },
                  "annualRate": {
                    "type": "number",
                    "description": "Quoted annual note rate (percentage points, up to 6 decimals).",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001
                  },
                  "termYears": {
                    "type": "number",
                    "description": "Offered term in years, rounded to the nearest payment month.",
                    "minimum": 0.08333333333333333,
                    "maximum": 100
                  },
                  "amountLimit": {
                    "type": "number",
                    "description": "Offer or program amount limit (USD, cents).",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "multipleOf": 0.01
                  },
                  "maxTermYears": {
                    "type": "number",
                    "description": "Offer or program maximum term (years).",
                    "minimum": 0.08333333333333333,
                    "maximum": 100
                  },
                  "quotedGuaranteeFee": {
                    "type": "number",
                    "description": "Total quoted upfront guarantee fee paid separately from principal (USD, cents).",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "multipleOf": 0.01
                  }
                },
                "required": [
                  "program",
                  "annualRate",
                  "termYears",
                  "quotedGuaranteeFee"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "program": {
                    "type": "string",
                    "enum": [
                      "term",
                      "equipment",
                      "loc"
                    ],
                    "description": "Non-SBA financing program."
                  },
                  "annualRate": {
                    "type": "number",
                    "description": "Quoted annual note rate (percentage points, up to 6 decimals).",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001
                  },
                  "termYears": {
                    "type": "number",
                    "description": "Offered term in years, rounded to the nearest payment month.",
                    "minimum": 0.08333333333333333,
                    "maximum": 100
                  },
                  "amountLimit": {
                    "type": "number",
                    "description": "Offer or program amount limit (USD, cents).",
                    "minimum": 0.01,
                    "maximum": 1000000000,
                    "multipleOf": 0.01
                  },
                  "maxTermYears": {
                    "type": "number",
                    "description": "Offer or program maximum term (years).",
                    "minimum": 0.08333333333333333,
                    "maximum": 100
                  }
                },
                "required": [
                  "program",
                  "annualRate",
                  "termYears"
                ],
                "additionalProperties": false
              }
            ],
            "description": "Optional customized terms for the active program, independent from that program’s comparison row."
          }
        },
        "required": [
          "loanAmount",
          "originationFeePercent",
          "monthlyRevenue",
          "monthlyExpenses",
          "existingMonthlyDebtService",
          "offers"
        ],
        "additionalProperties": false
      },
      "input": {
        "loanAmount": 1200,
        "originationFeePercent": 10,
        "monthlyRevenue": 240,
        "monthlyExpenses": 100,
        "existingMonthlyDebtService": 0,
        "offers": [
          {
            "program": "sba7a",
            "annualRate": 0,
            "termYears": 1,
            "quotedGuaranteeFee": 12,
            "amountLimit": 1500,
            "maxTermYears": 2
          },
          {
            "program": "term",
            "annualRate": 0,
            "termYears": 1
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "offers": [
            {
              "program": "sba7a",
              "annualRate": 0,
              "termYears": 1,
              "monthlyPayment": 110,
              "totalInterest": 0,
              "totalCost": 1332,
              "totalFinanced": 1320,
              "totalFees": 132,
              "origFee": 120,
              "sbaFee": 12,
              "noi": 140,
              "dscr": 1.2727272727272727,
              "dscrStatus": "available",
              "qualifies": true,
              "maxLoanAtDSCR": 1221.8181818181818,
              "maxPaymentAtDSCR": 112,
              "totalDebtService": 110,
              "schedule": [
                {
                  "month": 1,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 1210
                },
                {
                  "month": 2,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 1100
                },
                {
                  "month": 3,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 990
                },
                {
                  "month": 4,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 880
                },
                {
                  "month": 5,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 770
                },
                {
                  "month": 6,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 660
                },
                {
                  "month": 7,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 550
                },
                {
                  "month": 8,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 440
                },
                {
                  "month": 9,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 330
                },
                {
                  "month": 10,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 220
                },
                {
                  "month": 11,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 110
                },
                {
                  "month": 12,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 0
                }
              ],
              "termMonths": 12,
              "loanAprPct": 19.91241410570548,
              "printed": {
                "loan": 1200,
                "origFee": 120,
                "sbaFee": 12,
                "totalFees": 132,
                "financed": 1320,
                "interest": 0,
                "totalCost": 1332,
                "noi": 140,
                "debtService": 110,
                "cushion": 30,
                "cushionAgainstCents": 30
              },
              "comparisonRow": {
                "payment": 110,
                "totalInterest": 0,
                "totalCost": 1332,
                "sbaFee": 12
              },
              "checklist": {
                "meetsCoverage": true,
                "positiveOperatingIncome": true,
                "withinAmountLimit": true,
                "withinTermLimit": true,
                "revenueCoversTwiceDebtService": true
              }
            },
            {
              "program": "term",
              "annualRate": 0,
              "termYears": 1,
              "monthlyPayment": 110,
              "totalInterest": 0,
              "totalCost": 1320,
              "totalFinanced": 1320,
              "totalFees": 120,
              "origFee": 120,
              "sbaFee": 0,
              "noi": 140,
              "dscr": 1.2727272727272727,
              "dscrStatus": "available",
              "qualifies": true,
              "maxLoanAtDSCR": 1221.8181818181818,
              "maxPaymentAtDSCR": 112,
              "totalDebtService": 110,
              "schedule": [
                {
                  "month": 1,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 1210
                },
                {
                  "month": 2,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 1100
                },
                {
                  "month": 3,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 990
                },
                {
                  "month": 4,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 880
                },
                {
                  "month": 5,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 770
                },
                {
                  "month": 6,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 660
                },
                {
                  "month": 7,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 550
                },
                {
                  "month": 8,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 440
                },
                {
                  "month": 9,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 330
                },
                {
                  "month": 10,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 220
                },
                {
                  "month": 11,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 110
                },
                {
                  "month": 12,
                  "payment": 110,
                  "principal": 110,
                  "interest": 0,
                  "balance": 0
                }
              ],
              "termMonths": 12,
              "loanAprPct": 17.97199749803545,
              "printed": {
                "loan": 1200,
                "origFee": 120,
                "sbaFee": 0,
                "totalFees": 120,
                "financed": 1320,
                "interest": 0,
                "totalCost": 1320,
                "noi": 140,
                "debtService": 110,
                "cushion": 30,
                "cushionAgainstCents": 30
              },
              "comparisonRow": {
                "payment": 110,
                "totalInterest": 0,
                "totalCost": 1320,
                "sbaFee": 0
              },
              "checklist": {
                "meetsCoverage": true,
                "positiveOperatingIncome": true,
                "withinAmountLimit": null,
                "withinTermLimit": null,
                "revenueCoversTwiceDebtService": true
              }
            }
          ],
          "selected": null
        },
        "formulaVersion": "business-financing-comparison-1.0.0",
        "units": {
          "money": "USD",
          "monthlyPayment": "USD/month",
          "noi": "USD/month",
          "loanAprPct": "annual percent",
          "dscr": "multiple",
          "schedule": "whole USD per monthly row",
          "comparisonRow": "whole USD"
        },
        "assumptions": [
          "Each offer uses its supplied rate and term. Supply the upfront fee for each SBA program, including an explicit zero for a waiver. Origination fees are financed and the guarantee fee is paid separately.",
          "For the line of credit the entire amount is drawn and paid down in equal monthly installments. Checklist limit tests require supplied program limits. Coverage is modeled at 1.25x."
        ],
        "warnings": [
          "term checklist omits unsupplied program limits."
        ],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/lending/business"
    },
    {
      "slug": "debt-payoff-plan-timeline",
      "name": "Debt payoff plan and dated account milestones",
      "category": "Lending",
      "description": "Builds an anchored payment calendar, account clear dates, the alternative waterfall and a minimums-only counterfactual.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "properties": {
          "strategy": {
            "type": "string",
            "enum": [
              "avalanche",
              "snowball"
            ],
            "description": "Waterfall for the detailed timeline."
          },
          "firstPaymentDate": {
            "type": "string",
            "format": "date",
            "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "maxLength": 10,
            "description": "Date of first scheduled payment (UTC YYYY-MM-DD, 1900–2199)."
          },
          "extraPayment": {
            "type": "number",
            "description": "Extra monthly principal budget (USD, cents).",
            "minimum": 0,
            "maximum": 1000000000,
            "multipleOf": 0.01
          },
          "debts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 40,
                  "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]*$",
                  "description": "Caller-assigned account ID, unique within the request."
                },
                "balance": {
                  "type": "number",
                  "description": "Outstanding principal (USD, cents).",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "multipleOf": 0.01
                },
                "annualRate": {
                  "type": "number",
                  "description": "Annual interest rate (percentage points, up to 6 decimals).",
                  "minimum": 0,
                  "maximum": 100,
                  "multipleOf": 0.000001
                },
                "minimumPayment": {
                  "type": "number",
                  "description": "Monthly minimum payment (USD, cents).",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "multipleOf": 0.01
                }
              },
              "required": [
                "id",
                "balance",
                "annualRate"
              ],
              "additionalProperties": false
            },
            "minItems": 0,
            "maxItems": 20
          }
        },
        "required": [
          "strategy",
          "firstPaymentDate",
          "extraPayment",
          "debts"
        ],
        "additionalProperties": false
      },
      "input": {
        "strategy": "snowball",
        "firstPaymentDate": "2027-01-31",
        "extraPayment": 25,
        "debts": [
          {
            "id": "card-a",
            "balance": 100,
            "annualRate": 0,
            "minimumPayment": 25
          },
          {
            "id": "card-b",
            "balance": 50,
            "annualRate": 0,
            "minimumPayment": 25
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "totalBalance": 150,
          "eligibleBalance": 150,
          "excludedBalance": 0,
          "numericRangeExceeded": false,
          "totalMinimumPayment": 50,
          "excludedIds": [],
          "selected": {
            "strategy": "snowball",
            "months": 2,
            "paysOff": true,
            "payoffDate": "2027-02-28",
            "interestAccrued": 0,
            "remainingBalance": 0,
            "cleared": [
              {
                "id": "card-b",
                "month": 1,
                "date": "2027-01-31"
              },
              {
                "id": "card-a",
                "month": 2,
                "date": "2027-02-28"
              }
            ]
          },
          "alternate": {
            "strategy": "avalanche",
            "months": 2,
            "paysOff": true,
            "payoffDate": "2027-02-28",
            "interestAccrued": 0,
            "remainingBalance": 0,
            "cleared": [
              {
                "id": "card-b",
                "month": 1,
                "date": "2027-01-31"
              },
              {
                "id": "card-a",
                "month": 2,
                "date": "2027-02-28"
              }
            ]
          },
          "minimumsOnly": {
            "strategy": "snowball",
            "months": 3,
            "paysOff": true,
            "payoffDate": "2027-03-31",
            "interestAccrued": 0,
            "remainingBalance": 0,
            "cleared": [
              {
                "id": "card-b",
                "month": 2,
                "date": "2027-02-28"
              },
              {
                "id": "card-a",
                "month": 3,
                "date": "2027-03-31"
              }
            ]
          },
          "schedule": [
            {
              "month": 1,
              "date": "2027-01-31",
              "totalBalance": 75,
              "accounts": [
                {
                  "id": "card-b",
                  "payment": 50,
                  "balance": 0
                },
                {
                  "id": "card-a",
                  "payment": 25,
                  "balance": 75
                }
              ]
            },
            {
              "month": 2,
              "date": "2027-02-28",
              "totalBalance": 0,
              "accounts": [
                {
                  "id": "card-a",
                  "payment": 75,
                  "balance": 0
                }
              ]
            }
          ],
          "monthsSooner": 1,
          "interestSaved": 0,
          "interestSavedIsLowerBound": false
        },
        "formulaVersion": "debt-payoff-plan-timeline-1.0.0",
        "units": {
          "money": "USD",
          "firstPaymentDate": "UTC calendar date",
          "months": "monthly payments",
          "annualRate": "percent per year",
          "interestSaved": "whole USD"
        },
        "assumptions": [
          "Each month the extra budget targets the smallest balance or highest rate. Freed minimums roll into future payments. The simulator stops at 360 months.",
          "The caller supplies the first payment date. Short months use their last day, then later months resume the original day."
        ],
        "warnings": [],
        "creditCost": 1
      },
      "calculatorPath": "/calculator/lending/debt-payoff"
    },
    {
      "slug": "consumer-loan-scenarios",
      "name": "Borrower loan schedules and two-loan comparison",
      "category": "Lending",
      "description": "Calculate monthly and annual repayment, extra principal, auto ownership costs, student deferment or ordinary business-loan coverage. Compare two named plans in the same loan family against a selected priority.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "type": "object",
        "description": "Calculate a borrower scenario. A second, same-family scenario enables named loan comparison.",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "loanType": {
                "type": "string",
                "const": "AUTO"
              },
              "a": {
                "type": "object",
                "properties": {
                  "scenarioName": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80,
                    "description": "Optional caller label; whitespace is trimmed. Defaults to Scenario A / Scenario B."
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001,
                    "description": "Annual note rate (percent, e.g. 6 for 6%)."
                  },
                  "extraPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Additional principal paid each repayment month (USD)."
                  },
                  "loanAmount": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 250000,
                    "multipleOf": 0.01,
                    "description": "Vehicle purchase price (USD)."
                  },
                  "loanTerm": {
                    "type": "integer",
                    "description": "Repayment term in whole months.",
                    "minimum": 1,
                    "maximum": 1200
                  },
                  "downPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Cash down (USD)."
                  },
                  "tradeInValue": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Trade-in allowance (USD)."
                  },
                  "amountOwedOnTrade": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Outstanding trade-in loan payoff (USD)."
                  },
                  "fees": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Financed vehicle purchase fees (USD)."
                  },
                  "salesTaxRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 20,
                    "multipleOf": 0.000001,
                    "description": "Vehicle sales tax (percent, e.g. 6 for 6%)."
                  },
                  "tradeInReducesTax": {
                    "type": "boolean",
                    "description": "Deduct trade-in from taxable purchase price. Default true."
                  },
                  "monthlyGas": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Monthly fuel cost (USD)."
                  },
                  "monthlyInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Monthly vehicle insurance (USD)."
                  },
                  "monthlyMaintenance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Monthly maintenance (USD)."
                  }
                },
                "required": [
                  "loanAmount",
                  "loanTerm",
                  "interestRate"
                ],
                "additionalProperties": false
              },
              "b": {
                "type": "object",
                "properties": {
                  "scenarioName": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80,
                    "description": "Optional caller label; whitespace is trimmed. Defaults to Scenario A / Scenario B."
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001,
                    "description": "Annual note rate (percent, e.g. 6 for 6%)."
                  },
                  "extraPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Additional principal paid each repayment month (USD)."
                  },
                  "loanAmount": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 250000,
                    "multipleOf": 0.01,
                    "description": "Vehicle purchase price (USD)."
                  },
                  "loanTerm": {
                    "type": "integer",
                    "description": "Repayment term in whole months.",
                    "minimum": 1,
                    "maximum": 1200
                  },
                  "downPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Cash down (USD)."
                  },
                  "tradeInValue": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Trade-in allowance (USD)."
                  },
                  "amountOwedOnTrade": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Outstanding trade-in loan payoff (USD)."
                  },
                  "fees": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Financed vehicle purchase fees (USD)."
                  },
                  "salesTaxRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 20,
                    "multipleOf": 0.000001,
                    "description": "Vehicle sales tax (percent, e.g. 6 for 6%)."
                  },
                  "tradeInReducesTax": {
                    "type": "boolean",
                    "description": "Deduct trade-in from taxable purchase price. Default true."
                  },
                  "monthlyGas": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Monthly fuel cost (USD)."
                  },
                  "monthlyInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Monthly vehicle insurance (USD)."
                  },
                  "monthlyMaintenance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Monthly maintenance (USD)."
                  }
                },
                "required": [
                  "loanAmount",
                  "loanTerm",
                  "interestRate"
                ],
                "additionalProperties": false
              },
              "priority": {
                "type": "string",
                "description": "Optional borrower priority. Requires a second option.",
                "enum": [
                  "lower_monthly_payment",
                  "lower_upfront_cost",
                  "lower_total_cost",
                  "faster_payoff"
                ]
              }
            },
            "required": [
              "loanType",
              "a"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "loanType": {
                "type": "string",
                "const": "PERSONAL"
              },
              "a": {
                "type": "object",
                "properties": {
                  "scenarioName": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80,
                    "description": "Optional caller label; whitespace is trimmed. Defaults to Scenario A / Scenario B."
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001,
                    "description": "Annual note rate (percent, e.g. 6 for 6%)."
                  },
                  "extraPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Additional principal paid each repayment month (USD)."
                  },
                  "loanAmount": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 100000,
                    "multipleOf": 0.01,
                    "description": "Gross personal-loan principal (USD)."
                  },
                  "loanTerm": {
                    "type": "integer",
                    "description": "Repayment term in whole months.",
                    "minimum": 1,
                    "maximum": 1200
                  },
                  "originationFee": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 20,
                    "multipleOf": 0.000001,
                    "description": "Fee withheld from original proceeds (percent, e.g. 6 for 6%)."
                  }
                },
                "required": [
                  "loanAmount",
                  "loanTerm",
                  "interestRate"
                ],
                "additionalProperties": false
              },
              "b": {
                "type": "object",
                "properties": {
                  "scenarioName": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80,
                    "description": "Optional caller label; whitespace is trimmed. Defaults to Scenario A / Scenario B."
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001,
                    "description": "Annual note rate (percent, e.g. 6 for 6%)."
                  },
                  "extraPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Additional principal paid each repayment month (USD)."
                  },
                  "loanAmount": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 100000,
                    "multipleOf": 0.01,
                    "description": "Gross personal-loan principal (USD)."
                  },
                  "loanTerm": {
                    "type": "integer",
                    "description": "Repayment term in whole months.",
                    "minimum": 1,
                    "maximum": 1200
                  },
                  "originationFee": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 20,
                    "multipleOf": 0.000001,
                    "description": "Fee withheld from original proceeds (percent, e.g. 6 for 6%)."
                  }
                },
                "required": [
                  "loanAmount",
                  "loanTerm",
                  "interestRate"
                ],
                "additionalProperties": false
              },
              "priority": {
                "type": "string",
                "description": "Optional borrower priority. Requires a second option.",
                "enum": [
                  "lower_monthly_payment",
                  "lower_upfront_cost",
                  "lower_total_cost",
                  "faster_payoff"
                ]
              }
            },
            "required": [
              "loanType",
              "a"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "loanType": {
                "type": "string",
                "const": "BUSINESS"
              },
              "a": {
                "type": "object",
                "properties": {
                  "scenarioName": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80,
                    "description": "Optional caller label; whitespace is trimmed. Defaults to Scenario A / Scenario B."
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001,
                    "description": "Annual note rate (percent, e.g. 6 for 6%)."
                  },
                  "extraPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Additional principal paid each repayment month (USD)."
                  },
                  "loanAmount": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 10000000,
                    "multipleOf": 0.01,
                    "description": "Ordinary business loan principal before fees (USD)."
                  },
                  "loanTerm": {
                    "type": "integer",
                    "description": "Repayment term in whole years.",
                    "minimum": 1,
                    "maximum": 100
                  },
                  "businessRevenue": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Monthly business revenue (USD)."
                  },
                  "businessExpenses": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Monthly operating expenses (USD)."
                  },
                  "originationFee": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 20,
                    "multipleOf": 0.000001,
                    "description": "Ordinary origination fee on original principal (percent, e.g. 6 for 6%)."
                  },
                  "financeOriginationFee": {
                    "type": "boolean",
                    "description": "Finance the origination fee. Default false deducts it from proceeds."
                  }
                },
                "required": [
                  "loanAmount",
                  "loanTerm",
                  "interestRate",
                  "businessRevenue",
                  "businessExpenses"
                ],
                "additionalProperties": false
              },
              "b": {
                "type": "object",
                "properties": {
                  "scenarioName": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80,
                    "description": "Optional caller label; whitespace is trimmed. Defaults to Scenario A / Scenario B."
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001,
                    "description": "Annual note rate (percent, e.g. 6 for 6%)."
                  },
                  "extraPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Additional principal paid each repayment month (USD)."
                  },
                  "loanAmount": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 10000000,
                    "multipleOf": 0.01,
                    "description": "Ordinary business loan principal before fees (USD)."
                  },
                  "loanTerm": {
                    "type": "integer",
                    "description": "Repayment term in whole years.",
                    "minimum": 1,
                    "maximum": 100
                  },
                  "businessRevenue": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Monthly business revenue (USD)."
                  },
                  "businessExpenses": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Monthly operating expenses (USD)."
                  },
                  "originationFee": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 20,
                    "multipleOf": 0.000001,
                    "description": "Ordinary origination fee on original principal (percent, e.g. 6 for 6%)."
                  },
                  "financeOriginationFee": {
                    "type": "boolean",
                    "description": "Finance the origination fee. Default false deducts it from proceeds."
                  }
                },
                "required": [
                  "loanAmount",
                  "loanTerm",
                  "interestRate",
                  "businessRevenue",
                  "businessExpenses"
                ],
                "additionalProperties": false
              },
              "priority": {
                "type": "string",
                "description": "Optional borrower priority. Requires a second option.",
                "enum": [
                  "lower_monthly_payment",
                  "lower_upfront_cost",
                  "lower_total_cost",
                  "faster_payoff"
                ]
              }
            },
            "required": [
              "loanType",
              "a"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "loanType": {
                "type": "string",
                "const": "STUDENT"
              },
              "a": {
                "type": "object",
                "properties": {
                  "scenarioName": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80,
                    "description": "Optional caller label; whitespace is trimmed. Defaults to Scenario A / Scenario B."
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001,
                    "description": "Annual note rate (percent, e.g. 6 for 6%)."
                  },
                  "extraPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Additional principal paid each repayment month (USD)."
                  },
                  "loanAmount": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 500000,
                    "multipleOf": 0.01,
                    "description": "Original student principal before deferment (USD)."
                  },
                  "loanTerm": {
                    "type": "integer",
                    "description": "Repayment term in whole years, excluding deferment.",
                    "minimum": 1,
                    "maximum": 100
                  },
                  "originationFee": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 10,
                    "multipleOf": 0.000001,
                    "description": "Fee withheld from initial disbursement (percent, e.g. 6 for 6%)."
                  },
                  "defermentMonths": {
                    "type": "integer",
                    "description": "Months before repayment.",
                    "minimum": 0,
                    "maximum": 120
                  },
                  "loanSubtype": {
                    "type": "string",
                    "description": "Default unsubsidized. Subsidized loans accrue no modeled deferment interest.",
                    "enum": [
                      "subsidized",
                      "unsubsidized"
                    ]
                  }
                },
                "required": [
                  "loanAmount",
                  "loanTerm",
                  "interestRate"
                ],
                "additionalProperties": false
              },
              "b": {
                "type": "object",
                "properties": {
                  "scenarioName": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80,
                    "description": "Optional caller label; whitespace is trimmed. Defaults to Scenario A / Scenario B."
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "multipleOf": 0.000001,
                    "description": "Annual note rate (percent, e.g. 6 for 6%)."
                  },
                  "extraPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100000000,
                    "multipleOf": 0.01,
                    "description": "Additional principal paid each repayment month (USD)."
                  },
                  "loanAmount": {
                    "type": "number",
                    "minimum": 1,
                    "maximum": 500000,
                    "multipleOf": 0.01,
                    "description": "Original student principal before deferment (USD)."
                  },
                  "loanTerm": {
                    "type": "integer",
                    "description": "Repayment term in whole years, excluding deferment.",
                    "minimum": 1,
                    "maximum": 100
                  },
                  "originationFee": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 10,
                    "multipleOf": 0.000001,
                    "description": "Fee withheld from initial disbursement (percent, e.g. 6 for 6%)."
                  },
                  "defermentMonths": {
                    "type": "integer",
                    "description": "Months before repayment.",
                    "minimum": 0,
                    "maximum": 120
                  },
                  "loanSubtype": {
                    "type": "string",
                    "description": "Default unsubsidized. Subsidized loans accrue no modeled deferment interest.",
                    "enum": [
                      "subsidized",
                      "unsubsidized"
                    ]
                  }
                },
                "required": [
                  "loanAmount",
                  "loanTerm",
                  "interestRate"
                ],
                "additionalProperties": false
              },
              "priority": {
                "type": "string",
                "description": "Optional borrower priority. Requires a second option.",
                "enum": [
                  "lower_monthly_payment",
                  "lower_upfront_cost",
                  "lower_total_cost",
                  "faster_payoff"
                ]
              }
            },
            "required": [
              "loanType",
              "a"
            ],
            "additionalProperties": false
          }
        ]
      },
      "input": {
        "loanType": "PERSONAL",
        "a": {
          "scenarioName": "Flexible",
          "loanAmount": 1200,
          "loanTerm": 4,
          "interestRate": 0,
          "extraPayment": 100,
          "originationFee": 2
        },
        "b": {
          "scenarioName": "Shorter",
          "loanAmount": 1200,
          "loanTerm": 2,
          "interestRate": 0
        },
        "priority": "faster_payoff"
      },
      "output": {
        "status": "available",
        "result": {
          "a": {
            "name": "Flexible",
            "state": "financed",
            "figures": {
              "monthlyPayment": 300,
              "loanAmount": 1200,
              "principal": 1200,
              "interest": 0,
              "feeFromProceeds": 24,
              "totalLoanCost": 1200,
              "trueMonthlyCost": null
            },
            "schedule": [
              {
                "month": 1,
                "interest": 0,
                "principal": 400,
                "remainingBalance": 800
              },
              {
                "month": 2,
                "interest": 0,
                "principal": 400,
                "remainingBalance": 400
              },
              {
                "month": 3,
                "interest": 0,
                "principal": 400,
                "remainingBalance": 0
              }
            ],
            "yearlySchedule": [
              {
                "year": 1,
                "totalInterest": 0,
                "totalPrincipal": 1200,
                "remainingBalance": 0
              }
            ],
            "extra": {
              "totalInterestPaidWithExtra": 0,
              "totalInterestPaidWithoutExtra": 0,
              "interestSaved": 0,
              "payoffTimeYears": 0,
              "payoffTimeMonths": 3,
              "originalPayoffYears": 0.3333333333333333,
              "timeSavedYears": 0,
              "timeSavedMonths": 1
            },
            "vehicleEquity": [],
            "netProceeds": 1176,
            "capitalizedInterest": 0,
            "vehicleCosts": null,
            "reportBaseline": {
              "months": 4,
              "interest": 0,
              "totalRepaid": 1200,
              "originationFee": 24,
              "halfPaidMonth": 2,
              "paymentSplits": [
                {
                  "month": 1,
                  "interest": 0,
                  "principal": 300,
                  "remainingBalance": 900
                },
                {
                  "month": 2,
                  "interest": 0,
                  "principal": 300,
                  "remainingBalance": 600
                },
                {
                  "month": 4,
                  "interest": 0,
                  "principal": 300,
                  "remainingBalance": 0
                }
              ],
              "upfrontTaxAndFees": 0,
              "feeTreatment": "withheld",
              "equityWindow": null
            },
            "businessCoverage": null,
            "halfPaidMonth": 2
          },
          "b": {
            "name": "Shorter",
            "state": "financed",
            "figures": {
              "monthlyPayment": 600,
              "loanAmount": 1200,
              "principal": 1200,
              "interest": 0,
              "feeFromProceeds": 0,
              "totalLoanCost": 1200,
              "trueMonthlyCost": null
            },
            "schedule": [
              {
                "month": 1,
                "interest": 0,
                "principal": 600,
                "remainingBalance": 600
              },
              {
                "month": 2,
                "interest": 0,
                "principal": 600,
                "remainingBalance": 0
              }
            ],
            "yearlySchedule": [
              {
                "year": 1,
                "totalInterest": 0,
                "totalPrincipal": 1200,
                "remainingBalance": 0
              }
            ],
            "extra": null,
            "vehicleEquity": [],
            "netProceeds": 1200,
            "capitalizedInterest": 0,
            "vehicleCosts": null,
            "reportBaseline": {
              "months": 2,
              "interest": 0,
              "totalRepaid": 1200,
              "originationFee": 0,
              "halfPaidMonth": 1,
              "paymentSplits": [
                {
                  "month": 1,
                  "interest": 0,
                  "principal": 600,
                  "remainingBalance": 600
                }
              ],
              "upfrontTaxAndFees": 0,
              "feeTreatment": "none",
              "equityWindow": null
            },
            "businessCoverage": null,
            "halfPaidMonth": 1
          },
          "comparison": {
            "tradeOffType": "trade_off",
            "priority": "faster_payoff",
            "verdictLabel": "Best fit for your priority",
            "verdictReason": "Scenario B is the better fit for a faster payoff by 1 months. This is a priority match, not a universal winner.",
            "priorityFit": "B",
            "riskComparison": "unknown",
            "horizonMonths": null,
            "breakEven": null,
            "metrics": [
              {
                "name": "monthlyDifference",
                "winner": "A",
                "delta": 200,
                "unit": "USD/month",
                "available": true,
                "materialityThreshold": 1,
                "valueA": "$400.00",
                "valueB": "$600.00",
                "formattedDelta": "$200.00"
              },
              {
                "name": "monthlyInterestDifference",
                "winner": "Tie",
                "delta": 0,
                "unit": "USD/month",
                "available": true,
                "materialityThreshold": 1,
                "valueA": "$0.00",
                "valueB": "$0.00",
                "formattedDelta": "$0.00"
              },
              {
                "name": "monthlyPrincipalDifference",
                "winner": "B",
                "delta": 300,
                "unit": "USD/month",
                "available": true,
                "materialityThreshold": 1,
                "valueA": "$300.00",
                "valueB": "$600.00",
                "formattedDelta": "$300.00"
              },
              {
                "name": "upfrontDifference",
                "winner": "Tie",
                "delta": 0,
                "unit": "USD",
                "available": true,
                "materialityThreshold": 100,
                "valueA": "$0.00",
                "valueB": "$0.00",
                "formattedDelta": "$0.00"
              },
              {
                "name": "longTermDifference",
                "winner": "Tie",
                "delta": 0,
                "unit": "USD",
                "available": true,
                "materialityThreshold": 100,
                "valueA": "$0.00",
                "valueB": "$0.00",
                "formattedDelta": "$0.00"
              },
              {
                "name": "totalLoanCostDifference",
                "winner": "Tie",
                "delta": 0,
                "unit": "USD",
                "available": true,
                "materialityThreshold": 100,
                "valueA": "$1,200.00",
                "valueB": "$1,200.00",
                "formattedDelta": "$0.00"
              },
              {
                "name": "totalPrincipalDifference",
                "winner": "Tie",
                "delta": 0,
                "unit": "USD",
                "available": true,
                "materialityThreshold": 100,
                "valueA": "$1,200.00",
                "valueB": "$1,200.00",
                "formattedDelta": "$0.00"
              },
              {
                "name": "rateDifference",
                "winner": "Tie",
                "delta": 0,
                "unit": "percentage points",
                "available": true,
                "materialityThreshold": 0.01,
                "valueA": "0.00%",
                "valueB": "0.00%",
                "formattedDelta": "0.00 pp"
              },
              {
                "name": "timeDifference",
                "winner": "B",
                "delta": 1,
                "unit": "months",
                "available": true,
                "materialityThreshold": null,
                "valueA": 3,
                "valueB": 2,
                "formattedDelta": "1 months"
              }
            ],
            "presentation": {
              "optionALabel": "Flexible",
              "optionBLabel": "Shorter",
              "selectedPriority": "faster_payoff",
              "goalLabel": "Faster payoff",
              "priorityFit": "B",
              "priorityOutcome": "Pay off 1 months sooner",
              "title": "Shorter is the stronger fit for this goal",
              "summary": "Shorter leads on faster payoff by 1 months. This ranks the selected goal only.",
              "rows": [
                {
                  "id": "payoffTiming",
                  "factor": "Payoff timing",
                  "helper": "How long the modeled balance remains outstanding",
                  "isPriority": true,
                  "optionA": {
                    "value": "3 months",
                    "detail": "Stays in debt longer by 1 months.",
                    "tone": "give-up"
                  },
                  "optionB": {
                    "value": "2 months",
                    "detail": "Pays off sooner by 1 months.",
                    "tone": "benefit"
                  }
                },
                {
                  "id": "monthlyPayment",
                  "factor": "Monthly payment",
                  "helper": "Recurring payment under the supplied assumptions",
                  "isPriority": false,
                  "optionA": {
                    "value": "$400.00",
                    "detail": "Lower monthly cost by $200.00.",
                    "tone": "benefit"
                  },
                  "optionB": {
                    "value": "$600.00",
                    "detail": "Higher monthly cost by $200.00.",
                    "tone": "give-up"
                  }
                },
                {
                  "id": "upfrontCash",
                  "factor": "Upfront cash",
                  "helper": "Cash due now, including supplied down payment and closing costs",
                  "isPriority": false,
                  "optionA": {
                    "value": "$0.00",
                    "detail": "No material difference on this factor.",
                    "tone": "neutral"
                  },
                  "optionB": {
                    "value": "$0.00",
                    "detail": "No material difference on this factor.",
                    "tone": "neutral"
                  }
                },
                {
                  "id": "lifetimeCost",
                  "factor": "Lifetime cost / interest",
                  "helper": "Modeled cost over the stated term or comparison horizon",
                  "isPriority": false,
                  "optionA": {
                    "value": "$1,200.00",
                    "detail": "No material difference on this factor.",
                    "tone": "neutral"
                  },
                  "optionB": {
                    "value": "$1,200.00",
                    "detail": "No material difference on this factor.",
                    "tone": "neutral"
                  }
                },
                {
                  "id": "breakEven",
                  "factor": "Break-even",
                  "helper": "When added upfront cash is recovered through monthly savings",
                  "isPriority": false,
                  "optionA": {
                    "value": "No crossover modeled",
                    "detail": "The supplied upfront and monthly figures do not create a usable break-even point.",
                    "tone": "neutral"
                  },
                  "optionB": {
                    "value": "No crossover modeled",
                    "detail": "The supplied upfront and monthly figures do not create a usable break-even point.",
                    "tone": "neutral"
                  }
                },
                {
                  "id": "riskAssumptions",
                  "factor": "Risk & assumptions",
                  "helper": "Loan features and estimates that can change the result",
                  "isPriority": false,
                  "optionA": {
                    "value": "Needs review",
                    "detail": "Verify rate type, fees, mortgage insurance, penalties, and expected holding period.",
                    "tone": "neutral"
                  },
                  "optionB": {
                    "value": "Needs review",
                    "detail": "Verify rate type, fees, mortgage insurance, penalties, and expected holding period.",
                    "tone": "neutral"
                  }
                }
              ],
              "optionStories": {
                "A": {
                  "benefits": [
                    "Lower monthly cost by $200.00"
                  ],
                  "giveUps": [
                    "Stays in debt longer by 1 months"
                  ],
                  "bestFitFor": [
                    "Keeping the monthly obligation lower"
                  ]
                },
                "B": {
                  "benefits": [
                    "Pays off sooner by 1 months"
                  ],
                  "giveUps": [
                    "Higher monthly cost by $200.00"
                  ],
                  "bestFitFor": [
                    "Reaching payoff sooner"
                  ]
                }
              }
            },
            "equalPaymentReport": {
              "lowerPaymentOption": "A",
              "higherPaymentOption": "B",
              "principalAndInterest": 600,
              "extraAboveRequired": 300,
              "months": 2,
              "repaymentInterest": 0,
              "lowerOptionInterestAndFees": 24,
              "higherOptionInterestAndFees": 0,
              "shownCostDifference": -24,
              "lowerCostOption": "B"
            }
          }
        },
        "formulaVersion": "consumer-loan-scenarios-htcalc-749139391f46-v1",
        "units": {
          "money": "USD",
          "monthlyPayment": "USD/month",
          "interestRate": "annual percent",
          "rateDifference": "percentage points",
          "timeDifference": "months",
          "term": "months for AUTO and PERSONAL, years for STUDENT and BUSINESS",
          "businessCoverage": "monthly USD, DSCR as a ratio",
          "schedule": "repayment month, starting after any school deferment"
        },
        "assumptions": [
          "Extra principal changes the monthly and annual payoff schedules. The base payment and the app’s auto true monthly cost exclude this optional extra.",
          "Vehicle-equity checkpoints use baseline loan balances and the app depreciation curve. They are estimates. Interest on an unsubsidized student loan during deferment is capitalized before repayment.",
          "Origination fees are withheld from personal and student proceeds. The business embed allows ordinary origination fees to be withheld or financed, and divides monthly net operating income by the required loan payment. Schedules start at repayment. A priority match uses the app’s materiality thresholds, with risk unknown."
        ],
        "warnings": [],
        "creditCost": 1
      }
    },
    {
      "slug": "supplied-rate-snapshot",
      "name": "Supplied mortgage rate snapshot",
      "category": "Mortgage rate scenarios",
      "description": "Compare up to 12 dated mortgage quotes and up to 60 caller-supplied observations using the same financed amount. Includes initial ARM payments and any supplied APR.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "minLength": 1,
            "maxLength": 48,
            "pattern": "^[\\p{L}\\p{N} .,&()'’/-]+$",
            "description": "Name of the source whose supplied rates the caller may distribute"
          },
          "asOf": {
            "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])))$"
          },
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "quotes": {
            "minItems": 1,
            "maxItems": 12,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "program": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 48,
                  "pattern": "^[\\p{L}\\p{N} .,&()'’/-]+$"
                },
                "termYears": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 50,
                  "description": "Whole years"
                },
                "noteRatePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual percent, e.g. 6.25"
                },
                "quotedAprPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual percent, e.g. 6.25"
                },
                "basis": {
                  "type": "string",
                  "enum": [
                    "observed",
                    "modeled"
                  ]
                },
                "fixedIntroMonths": {
                  "description": "For an adjustable-rate mortgage, months before the rate may reset. Omit for fixed-rate loans.",
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "program",
                "termYears",
                "noteRatePct",
                "basis"
              ],
              "additionalProperties": false
            }
          },
          "focusProgram": {
            "type": "string",
            "minLength": 1,
            "maxLength": 48,
            "pattern": "^[\\p{L}\\p{N} .,&()'’/-]+$"
          },
          "history": {
            "description": "Observed note-rate series for the focus program only; dates ascend and end at the supplied quote",
            "maxItems": 60,
            "type": "array",
            "items": {
              "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])))$"
                },
                "noteRatePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual percent, e.g. 6.25"
                }
              },
              "required": [
                "date",
                "noteRatePct"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "source",
          "asOf",
          "loanAmount",
          "quotes",
          "focusProgram"
        ],
        "additionalProperties": false
      },
      "input": {
        "source": "Example lender rate sheet",
        "asOf": "2026-11-13",
        "loanAmount": 300000,
        "quotes": [
          {
            "program": "30-year fixed",
            "termYears": 30,
            "noteRatePct": 6.25,
            "quotedAprPct": 6.42,
            "basis": "observed"
          },
          {
            "program": "5/1 adjustable",
            "termYears": 30,
            "noteRatePct": 5.875,
            "basis": "modeled",
            "fixedIntroMonths": 60
          },
          {
            "program": "15-year fixed",
            "termYears": 15,
            "noteRatePct": 5.75,
            "basis": "observed"
          }
        ],
        "focusProgram": "30-year fixed",
        "history": [
          {
            "date": "2026-11-06",
            "noteRatePct": 6.375
          },
          {
            "date": "2026-11-13",
            "noteRatePct": 6.25
          }
        ]
      },
      "output": {
        "status": "available",
        "result": {
          "source": "Example lender rate sheet",
          "asOf": "2026-11-13",
          "loanAmount": 300000,
          "focusProgram": "30-year fixed",
          "quotes": [
            {
              "program": "30-year fixed",
              "termYears": 30,
              "noteRatePct": 6.25,
              "quotedAprPct": 6.42,
              "basis": "observed",
              "monthlyPrincipalAndInterest": 1847.1516012792
            },
            {
              "program": "5/1 adjustable",
              "termYears": 30,
              "noteRatePct": 5.875,
              "basis": "modeled",
              "fixedIntroMonths": 60,
              "quotedAprPct": null,
              "monthlyPrincipalAndInterest": 1774.6132895203
            },
            {
              "program": "15-year fixed",
              "termYears": 15,
              "noteRatePct": 5.75,
              "basis": "observed",
              "quotedAprPct": null,
              "monthlyPrincipalAndInterest": 2491.230261059
            }
          ],
          "history": [
            {
              "date": "2026-11-06",
              "noteRatePct": 6.375,
              "monthlyPrincipalAndInterest": 1871.6096964874
            },
            {
              "date": "2026-11-13",
              "noteRatePct": 6.25,
              "monthlyPrincipalAndInterest": 1847.1516012792
            }
          ],
          "inputDigest": "64b80056847ecc721daf195a8142d2965e174bf22232b169f44ace6ec86b7608"
        },
        "formulaVersion": "htcalc-supplied-rate-snapshot-1.0.0",
        "creditCost": 2,
        "units": {
          "loanAmount": "USD",
          "monthlyPrincipalAndInterest": "USD per month",
          "noteRatePct": "annual percentage points",
          "quotedAprPct": "annual percentage points or null",
          "termYears": "years",
          "fixedIntroMonths": "months",
          "date": "YYYY-MM-DD"
        },
        "assumptions": [
          "Rates, APRs, observation dates and source names are supplied by the caller.",
          "Each payment amortizes the same principal at the stated note rate over the full term; an ARM payment is the initial payment.",
          "Quoted APR is a supplied figure. Payments exclude property tax, insurance, mortgage insurance and fees."
        ],
        "warnings": []
      }
    },
    {
      "slug": "explain-numbers",
      "name": "Explain my numbers",
      "category": "Calculation explanations",
      "description": "Returns the original calculator’s math, substituted figures, comparisons and available deep-dive sections, with checks against the numerical engine.",
      "sandbox": false,
      "plans": [
        "api",
        "business",
        "scale",
        "enterprise"
      ],
      "inputSchema": {
        "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
              }
            }
          }
        ]
      },
      "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
        }
      },
      "output": {
        "status": "available",
        "result": {
          "tool": "payment",
          "detail": "pro",
          "inputDigest": "17848666a1de3231328df3bd4834f42fe00f499656ebe2bdede946937dbcbcea",
          "source": {
            "module": "utils/explainNumbers/payment.ts",
            "symbol": "explainPayment",
            "template": "mortgage-payment",
            "title": "Mortgage payment",
            "calculatorPath": "/calculator/mortgage",
            "formatters": "utils/explainNumbers/formatters.ts"
          },
          "trace": {
            "type": "EXPLAIN_NUMBERS",
            "toolId": "payment",
            "headline": "Your scheduled $2,345.79 monthly payment includes $1,945.79 of principal and interest on a $300,000 loan at 6.75% for 30 years; $1,688 of the first payment is interest.",
            "metrics": [
              {
                "label": "Est. monthly payment",
                "value": "$2,345.79",
                "hint": "with tax & insurance"
              },
              {
                "label": "Total interest",
                "value": "$400,490",
                "hint": "1.33× what you borrow"
              },
              {
                "label": "Paid off in",
                "value": "30 years",
                "hint": "the full loan term"
              },
              {
                "label": "Total paid",
                "value": "$844,490",
                "hint": "loan, interest, tax & insurance"
              }
            ],
            "splits": [
              {
                "title": "The whole loan",
                "total": "$844,490",
                "parts": [
                  {
                    "label": "Borrowed",
                    "value": 300000,
                    "display": "$300,000"
                  },
                  {
                    "label": "Interest",
                    "value": 400490,
                    "display": "$400,490"
                  },
                  {
                    "label": "Tax, insurance & fees",
                    "value": 144000,
                    "display": "$144,000"
                  }
                ]
              }
            ],
            "breakdown": {
              "total": 2345.79,
              "totalDisplay": "$2,345.79",
              "pieces": [
                {
                  "key": "interest",
                  "label": "Interest",
                  "value": 1687.5,
                  "display": "$1,687.50",
                  "what": "The lender's charge for the loan: what you owe × 6.75% ÷ 12.",
                  "changes": "Shrinks every month as you owe less: about $1,442 by year 10 and $11 in the last payment.",
                  "paidTo": "lender"
                },
                {
                  "key": "principal",
                  "label": "Paying down the loan",
                  "value": 258.29,
                  "display": "$258.29",
                  "what": "Lowers what you owe. This part becomes equity: it is money you keep in the home.",
                  "changes": "Grows every month as interest shrinks: about $504 by year 10.",
                  "paidTo": "you"
                },
                {
                  "key": "tax",
                  "label": "Property tax",
                  "value": 300,
                  "display": "$300.00",
                  "what": "A twelfth of the $3,600 a year you entered, usually collected by the lender and paid for you (escrow).",
                  "changes": "Can rise when the home is reassessed or local rates change.",
                  "paidTo": "escrow"
                },
                {
                  "key": "insurance",
                  "label": "Homeowners insurance",
                  "value": 100,
                  "display": "$100.00",
                  "what": "A twelfth of the $1,200 a year you entered, usually paid from escrow.",
                  "changes": "Can change at each yearly renewal.",
                  "paidTo": "escrow"
                }
              ],
              "overTime": [
                {
                  "label": "First payment",
                  "principal": 258.29,
                  "interest": 1687.5,
                  "balance": 299741.71
                },
                {
                  "label": "Year 5",
                  "principal": 359.61,
                  "interest": 1586.18,
                  "balance": 281627.49
                },
                {
                  "label": "Year 10",
                  "principal": 503.5,
                  "interest": 1442.29,
                  "balance": 255903.8
                },
                {
                  "label": "Year 15",
                  "principal": 704.96,
                  "interest": 1240.83,
                  "balance": 219887.72
                },
                {
                  "label": "Year 20",
                  "principal": 987.02,
                  "interest": 958.77,
                  "balance": 169461.01
                },
                {
                  "label": "Year 25",
                  "principal": 1381.94,
                  "interest": 563.85,
                  "balance": 98857.82
                },
                {
                  "label": "Last payment",
                  "principal": 1940.17,
                  "interest": 10.91,
                  "balance": 0
                }
              ],
              "notes": [
                "$1,945.79 of it (principal and interest) stays the same for all 30 years; only the mix inside it changes.",
                "$400.00 is tax and insurance held in escrow; that part can go up or down.",
                "Monthly payment 238 (after 19 years 9 months): scheduled principal first exceeds interest."
              ]
            },
            "math": [
              {
                "label": "Monthly principal and interest",
                "formula": "M = P × r(1 + r)^n ÷ ((1 + r)^n − 1)",
                "substituted": "P = $300,000, r = 6.75% ÷ 12 = 0.005625, n = 360 (30 years)",
                "result": "$1,945.79"
              },
              {
                "label": "First month's interest",
                "formula": "I = P × r",
                "substituted": "$300,000 × 0.005625",
                "result": "$1,687.50"
              },
              {
                "label": "Monthly payment",
                "formula": "P&I + tax + insurance + PMI + HOA",
                "substituted": "$1,945.79 P&I + $300.00 tax + $100.00 insurance",
                "result": "$2,345.79"
              }
            ],
            "drivers": [
              {
                "label": "A rate 0.25 percentage points lower",
                "detail": "-$49.59/mo",
                "delta": -49.59,
                "favorable": true
              },
              {
                "label": "Borrowing $10,000 less",
                "detail": "-$64.86/mo",
                "delta": -64.86,
                "favorable": true
              },
              {
                "label": "Paying $100 more toward principal each month",
                "detail": "-$65,078 total interest over the loan",
                "delta": -65078,
                "favorable": true
              }
            ],
            "note": null,
            "alternative": {
              "label": "$100 more toward principal each month",
              "current": [
                {
                  "label": "Paid each month",
                  "value": "$2,345.79"
                },
                {
                  "label": "Total interest",
                  "value": "$400,490"
                },
                {
                  "label": "Paid off in",
                  "value": "30 years"
                }
              ],
              "alternative": [
                {
                  "label": "Paid each month",
                  "value": "$2,445.79"
                },
                {
                  "label": "Total interest",
                  "value": "$335,412"
                },
                {
                  "label": "Paid off in",
                  "value": "25 years 11 months"
                }
              ],
              "takeaway": "Paying $100 more toward principal each month saves $65,078 in interest and pays the loan off 4 years 1 month sooner."
            },
            "deepDive": {
              "sensitivity": {
                "metric": "Monthly payment",
                "rowAxis": "Rate",
                "columnAxis": "Amount borrowed",
                "columns": [
                  "-$20,000",
                  "Yours",
                  "+$20,000"
                ],
                "baseColumn": 1,
                "rows": [
                  {
                    "label": "6.25%",
                    "cells": [
                      "$2,124",
                      "$2,247",
                      "$2,370"
                    ],
                    "values": [
                      2124.0081611939,
                      2247.1516012792,
                      2370.2950413645003
                    ],
                    "isBase": false
                  },
                  {
                    "label": "6.5%",
                    "cells": [
                      "$2,170",
                      "$2,296",
                      "$2,423"
                    ],
                    "values": [
                      2169.7904657803,
                      2296.2040704788997,
                      2422.6176751775
                    ],
                    "isBase": false
                  },
                  {
                    "label": "6.75% (yours)",
                    "cells": [
                      "$2,216",
                      "$2,346",
                      "$2,476"
                    ],
                    "values": [
                      2216.074670391,
                      2345.7942897046,
                      2475.5139090183
                    ],
                    "isBase": true
                  },
                  {
                    "label": "7%",
                    "cells": [
                      "$2,263",
                      "$2,396",
                      "$2,529"
                    ],
                    "values": [
                      2262.8469865017,
                      2395.9074855375,
                      2528.9679845734
                    ],
                    "isBase": false
                  },
                  {
                    "label": "7.25%",
                    "cells": [
                      "$2,310",
                      "$2,447",
                      "$2,583"
                    ],
                    "values": [
                      2310.0935841573,
                      2446.5288401686003,
                      2582.9640961798
                    ],
                    "isBase": false
                  }
                ]
              },
              "risks": [
                {
                  "label": "Property tax 10% higher",
                  "detail": "+$30.00/mo · $2,375.79",
                  "value": 30,
                  "breach": false
                },
                {
                  "label": "Insurance 25% higher",
                  "detail": "+$25.00/mo · $2,370.79",
                  "value": 25,
                  "breach": false
                },
                {
                  "label": "Both at once",
                  "detail": "+$55.00/mo · $2,400.79",
                  "value": 55,
                  "breach": false
                },
                {
                  "label": "If the rate were 1 percentage point higher when you lock",
                  "detail": "+$203.45/mo · $2,549.24",
                  "value": 203.44244697249997,
                  "breach": false
                }
              ],
              "facts": [
                {
                  "label": "Each rate change of 0.125 percentage points",
                  "value": "$24.99/mo · $8,990 over the loan"
                },
                {
                  "label": "Half the monthly principal-and-interest payment, applied every two weeks",
                  "value": "$972.90 every 2 weeks. Compared with the current monthly plan, the loan costs $95,557 less in interest and payoff is 6 years 1 month sooner."
                },
                {
                  "label": "Income for this payment to be 28% of it",
                  "value": "$8,378/mo"
                }
              ],
              "tables": [
                {
                  "id": "extra-principal",
                  "title": "Paying more toward principal",
                  "note": "Same loan, same rate; only the monthly payment changes.",
                  "columns": [
                    "Each month",
                    "Paid off in",
                    "Saves"
                  ],
                  "rows": [
                    {
                      "label": "Your plan",
                      "cells": [
                        "$2,346",
                        "30 yr",
                        "—"
                      ],
                      "tag": "base"
                    },
                    {
                      "label": "+$50",
                      "cells": [
                        "$2,396",
                        "27 yr 9 mo",
                        "$35,935"
                      ]
                    },
                    {
                      "label": "+$100",
                      "cells": [
                        "$2,446",
                        "25 yr 11 mo",
                        "$65,078"
                      ]
                    },
                    {
                      "label": "+$250",
                      "cells": [
                        "$2,596",
                        "21 yr 9 mo",
                        "$127,688"
                      ]
                    },
                    {
                      "label": "+$500",
                      "cells": [
                        "$2,846",
                        "17 yr 5 mo",
                        "$189,874"
                      ]
                    }
                  ]
                },
                {
                  "id": "terms",
                  "title": "The same loan over other terms",
                  "note": "At 6.75% on $300,000, using scheduled monthly payments with no extra principal.",
                  "columns": [
                    "Each month",
                    "Total interest"
                  ],
                  "rows": [
                    {
                      "label": "10 years",
                      "cells": [
                        "$3,845",
                        "$113,367"
                      ]
                    },
                    {
                      "label": "15 years",
                      "cells": [
                        "$3,055",
                        "$177,851"
                      ]
                    },
                    {
                      "label": "20 years",
                      "cells": [
                        "$2,681",
                        "$247,463"
                      ]
                    },
                    {
                      "label": "30 years",
                      "cells": [
                        "$2,346",
                        "$400,490"
                      ],
                      "tag": "base"
                    }
                  ]
                }
              ],
              "milestones": [
                {
                  "label": "A quarter of the loan paid down",
                  "when": "after 14 years 5 months",
                  "month": 173
                },
                {
                  "label": "More of each payment goes to the loan than to interest",
                  "when": "after 19 years 9 months",
                  "month": 238
                },
                {
                  "label": "Half the loan paid down",
                  "when": "after 21 years 7 months",
                  "month": 259
                },
                {
                  "label": "Three quarters paid down",
                  "when": "after 26 years 5 months",
                  "month": 317
                },
                {
                  "label": "Paid off",
                  "when": "after 30 years",
                  "month": 360
                }
              ],
              "balances": [
                {
                  "label": "After 5 years",
                  "value": "$281,627"
                },
                {
                  "label": "After 10 years",
                  "value": "$255,904"
                },
                {
                  "label": "After 15 years",
                  "value": "$219,888"
                },
                {
                  "label": "After 20 years",
                  "value": "$169,461"
                }
              ],
              "scheduleMonths": 360,
              "yearly": {
                "rows": [
                  {
                    "year": 1,
                    "interest": 20152.309999999998,
                    "principal": 3197.17,
                    "balance": 296802.83
                  },
                  {
                    "year": 2,
                    "interest": 19929.690000000002,
                    "principal": 3419.79,
                    "balance": 293383.04
                  },
                  {
                    "year": 3,
                    "interest": 19691.56,
                    "principal": 3657.9200000000005,
                    "balance": 289725.12
                  },
                  {
                    "year": 4,
                    "interest": 19436.88,
                    "principal": 3912.6,
                    "balance": 285812.52
                  },
                  {
                    "year": 5,
                    "interest": 19164.45,
                    "principal": 4185.03,
                    "balance": 281627.49
                  },
                  {
                    "year": 6,
                    "interest": 18873.05,
                    "principal": 4476.429999999999,
                    "balance": 277151.06
                  },
                  {
                    "year": 7,
                    "interest": 18561.36,
                    "principal": 4788.12,
                    "balance": 272362.94
                  },
                  {
                    "year": 8,
                    "interest": 18227.96,
                    "principal": 5121.5199999999995,
                    "balance": 267241.42
                  },
                  {
                    "year": 9,
                    "interest": 17871.38,
                    "principal": 5478.1,
                    "balance": 261763.32
                  },
                  {
                    "year": 10,
                    "interest": 17489.96,
                    "principal": 5859.52,
                    "balance": 255903.8
                  },
                  {
                    "year": 11,
                    "interest": 17081.969999999998,
                    "principal": 6267.51,
                    "balance": 249636.29
                  },
                  {
                    "year": 12,
                    "interest": 16645.57,
                    "principal": 6703.91,
                    "balance": 242932.38
                  },
                  {
                    "year": 13,
                    "interest": 16178.8,
                    "principal": 7170.68,
                    "balance": 235761.7
                  },
                  {
                    "year": 14,
                    "interest": 15679.509999999998,
                    "principal": 7669.969999999999,
                    "balance": 228091.73
                  },
                  {
                    "year": 15,
                    "interest": 15145.470000000001,
                    "principal": 8204.010000000002,
                    "balance": 219887.72
                  },
                  {
                    "year": 16,
                    "interest": 14574.229999999998,
                    "principal": 8775.25,
                    "balance": 211112.47
                  },
                  {
                    "year": 17,
                    "interest": 13963.23,
                    "principal": 9386.25,
                    "balance": 201726.22
                  },
                  {
                    "year": 18,
                    "interest": 13309.689999999999,
                    "principal": 10039.789999999999,
                    "balance": 191686.43
                  },
                  {
                    "year": 19,
                    "interest": 12610.630000000001,
                    "principal": 10738.85,
                    "balance": 180947.58
                  },
                  {
                    "year": 20,
                    "interest": 11862.91,
                    "principal": 11486.57,
                    "balance": 169461.01
                  },
                  {
                    "year": 21,
                    "interest": 11063.119999999999,
                    "principal": 12286.36,
                    "balance": 157174.65
                  },
                  {
                    "year": 22,
                    "interest": 10207.66,
                    "principal": 13141.82,
                    "balance": 144032.83
                  },
                  {
                    "year": 23,
                    "interest": 9292.599999999999,
                    "principal": 14056.880000000001,
                    "balance": 129975.95
                  },
                  {
                    "year": 24,
                    "interest": 8313.859999999999,
                    "principal": 15035.619999999999,
                    "balance": 114940.33
                  },
                  {
                    "year": 25,
                    "interest": 7266.970000000001,
                    "principal": 16082.51,
                    "balance": 98857.82
                  },
                  {
                    "year": 26,
                    "interest": 6147.1900000000005,
                    "principal": 17202.29,
                    "balance": 81655.53
                  },
                  {
                    "year": 27,
                    "interest": 4949.41,
                    "principal": 18400.07,
                    "balance": 63255.46
                  },
                  {
                    "year": 28,
                    "interest": 3668.25,
                    "principal": 19681.230000000003,
                    "balance": 43574.23
                  },
                  {
                    "year": 29,
                    "interest": 2297.8999999999996,
                    "principal": 21051.58,
                    "balance": 22522.65
                  },
                  {
                    "year": 30,
                    "interest": 832.1200000000001,
                    "principal": 22522.65,
                    "balance": 0
                  }
                ]
              }
            },
            "dtiLine": null,
            "disclosures": [
              "Estimates from your inputs. Educational, not financial advice.",
              "Verify assumptions and final terms with the appropriate provider before making a decision."
            ]
          },
          "reconciliation": [
            {
              "label": "Monthly principal and interest",
              "actual": 1945.79,
              "expected": 1945.7942897046,
              "unit": "USD/month",
              "tolerance": 0.0050000010000000004
            },
            {
              "label": "Sensitivity: Monthly payment",
              "actual": 2345.7942897046,
              "expected": 2345.7942897046,
              "unit": "USD/month",
              "tolerance": 1e-7
            }
          ]
        },
        "formulaVersion": "htcalc-explain-numbers-1.0.0",
        "units": {
          "trace.math": "Formula, substituted amounts and formatted result as printed by the app.",
          "trace.metrics": "Source labels and printed units. Currency is USD.",
          "trace.breakdown.total": "USD/month, total modeled monthly payment.",
          "trace.breakdown.pieces[].value": "USD/month for the named payment component.",
          "trace.breakdown.overTime[].principal": "USD principal in the indicated payment.",
          "trace.breakdown.overTime[].interest": "USD interest in the indicated payment.",
          "trace.breakdown.overTime[].balance": "USD principal balance after the indicated payment.",
          "trace.deepDive.sensitivity.baseColumn": "Zero-based column index.",
          "trace.deepDive.milestones[].month": "Months since the start of the modeled schedule.",
          "trace.deepDive.scheduleMonths": "Months in the modeled schedule.",
          "trace.deepDive.yearly.rows[].year": "One-based schedule year.",
          "trace.deepDive.yearly.rows[].interest": "USD interest in the schedule year.",
          "trace.deepDive.yearly.rows[].principal": "USD principal in the schedule year.",
          "trace.deepDive.yearly.rows[].balance": "USD outstanding at the end of the schedule year.",
          "trace.splits[].parts[].value": "USD over the entire loan for borrowed principal, lifetime interest, and combined tax, insurance and fees.",
          "trace.drivers[].delta": "Rate and loan-amount rows give the signed change in scheduled payment in USD/month. The additional-principal row gives the signed change in lifetime interest in USD.",
          "trace.deepDive.sensitivity.rows[].values[]": "Scheduled monthly mortgage payment in USD/month.",
          "trace.deepDive.risks[].value": "Increase over the base monthly payment in USD/month under the stated stress.",
          "reconciliation": "Actual, expected and absolute display tolerance are in the unit named on each row."
        },
        "assumptions": [
          "Uses the entered loan amount, annual escrow costs and selected payment schedule. The displayed principal-and-interest payment is the scheduled monthly amount."
        ],
        "warnings": [],
        "creditCost": 20
      }
    }
  ],
  "reports": [
    {
      "template": "fixed-payment",
      "operation": "fixed-payment",
      "title": "Fixed payment",
      "description": "Monthly principal and interest for a fixed-rate loan.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "fixed-payment-1.0.0",
      "calculatorPath": "/calculator/mortgage"
    },
    {
      "template": "monthly-savings",
      "operation": "monthly-savings",
      "title": "Monthly savings",
      "description": "Projected ending savings, contributions and hypothetical interest.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "monthly-savings-1.0.0",
      "calculatorPath": "/calculator/savings"
    },
    {
      "template": "budget-arithmetic",
      "operation": "budget-arithmetic",
      "title": "Monthly budget",
      "description": "Monthly income, expenses, surplus and surplus ratio.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "budget-arithmetic-1.0.0",
      "calculatorPath": "/calculator/budget"
    },
    {
      "template": "amortization",
      "operation": "amortization",
      "title": "Loan amortization",
      "description": "Principal, interest and ending balance for every modeled month.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "amortization-1.0.0",
      "calculatorPath": "/calculator/mortgage"
    },
    {
      "template": "extra-payment-comparison",
      "operation": "extra-payment-comparison",
      "title": "Extra payment comparison",
      "description": "Interest and payoff comparison with month-by-month remaining balances.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "extra-payment-comparison-1.0.0",
      "calculatorPath": "/calculator/mortgage"
    },
    {
      "template": "refinance-comparison",
      "operation": "refinance-comparison",
      "title": "Refinance comparison",
      "description": "Current and proposed payments, upfront closing costs, break-even and full-term costs.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "refinance-comparison-1.0.0",
      "calculatorPath": "/calculator/mortgage/refinance"
    },
    {
      "template": "debt-payoff-comparison",
      "operation": "debt-payoff-comparison",
      "title": "Debt payoff comparison",
      "description": "Starting debts, strategy outcomes and monthly combined balances for avalanche and snowball.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "debt-payoff-1.0.0",
      "calculatorPath": "/calculator/lending/debt-payoff"
    },
    {
      "template": "cap-rate",
      "operation": "cap-rate",
      "title": "Capitalization rate",
      "description": "Annual net operating income and property value with the resulting capitalization rate.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "cap-rate-2.0.0"
    },
    {
      "template": "cash-on-cash",
      "operation": "cash-on-cash",
      "title": "Cash-on-cash return",
      "description": "Supplied annual cash flow relative to cash invested.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "cash-on-cash-2.0.0"
    },
    {
      "template": "dscr",
      "operation": "dscr",
      "title": "Debt service coverage ratio",
      "description": "Annual net operating income divided by annual debt service.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "dscr-metric-1.0.0"
    },
    {
      "template": "room-floor-plan",
      "operation": "room-floor-plan",
      "title": "Dimensioned floor plan",
      "description": "Vector drawing of the supplied normalized Room Studio scan, including wall dimensions, openings, rotated fixtures and area. Includes a measured wall and element schedule.",
      "reportVersion": "room-floor-plan-pdf-v1",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "room-floor-plan-htcalc-719df2c0e105-v1"
    },
    {
      "template": "mortgage-bridge-loan",
      "operation": "bridge-loan-carry",
      "title": "Bridge loan estimate",
      "description": "Bridge funding gap, first- or second-lien costs, monthly carry and proceeds after sale.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "bridge-loan-carry-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/bridge-loan",
      "input": {
        "currentHomeValue": 500000,
        "currentMortgageBalance": 250000,
        "newHomePurchasePrice": 400000,
        "targetDownPaymentPercent": 20,
        "newClosingCostsPercent": 3,
        "cashAvailableForPurchase": 20000,
        "maxCombinedLtvPercent": 80,
        "bridgeRate": 6,
        "bridgeTermMonths": 6,
        "originationFeePercent": 1,
        "monthlyCurrentHomeCarry": 1000,
        "newMonthlyPayment": 2000,
        "otherMonthlyObligations": 0,
        "sellingCostsPercent": 6,
        "bridgeStructure": "second-lien"
      },
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "currentHomeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "currentMortgageBalance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "newHomePurchasePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "targetDownPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent, e.g. 5 means 5%"
          },
          "newClosingCostsPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent, e.g. 5 means 5%"
          },
          "cashAvailableForPurchase": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "maxCombinedLtvPercent": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Percent"
          },
          "bridgeRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "bridgeTermMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 120,
            "description": "Whole months"
          },
          "originationFeePercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent, e.g. 5 means 5%"
          },
          "monthlyCurrentHomeCarry": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "newMonthlyPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "otherMonthlyObligations": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "sellingCostsPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent, e.g. 5 means 5%"
          },
          "bridgeStructure": {
            "type": "string",
            "enum": [
              "second-lien",
              "payoff-first-lien"
            ]
          }
        },
        "required": [
          "currentHomeValue",
          "currentMortgageBalance",
          "newHomePurchasePrice",
          "targetDownPaymentPercent",
          "newClosingCostsPercent",
          "cashAvailableForPurchase",
          "maxCombinedLtvPercent",
          "bridgeRate",
          "bridgeTermMonths",
          "originationFeePercent",
          "monthlyCurrentHomeCarry",
          "sellingCostsPercent"
        ]
      }
    },
    {
      "template": "mortgage-heloc",
      "operation": "heloc-draw-and-repayment",
      "title": "HELOC analysis",
      "description": "Draw and repayment payments, rate stress, equity cushion and fees for a positive draw over whole-year terms.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "heloc-draw-and-repayment-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/refinance/heloc",
      "input": {
        "homeValue": 450000,
        "mortgageBalance": 250000,
        "ltv": 85,
        "drawAmount": 50000,
        "interestRate": 9,
        "drawPeriod": 10,
        "repaymentPeriod": 20,
        "extraPayment": 0,
        "indexRate": 5.5,
        "rateMargin": 3.5,
        "rateCap": 18,
        "annualFee": 75,
        "closingCosts": 500
      },
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "homeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "mortgageBalance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "ltv": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Percent"
          },
          "drawAmount": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars",
            "exclusiveMinimum": 0
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "drawPeriod": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Years, rounded to the nearest month"
          },
          "repaymentPeriod": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Years, rounded to the nearest month"
          },
          "extraPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "indexRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "rateMargin": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent, e.g. 5 means 5%"
          },
          "rateCap": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "annualFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          }
        },
        "required": [
          "homeValue",
          "mortgageBalance",
          "ltv",
          "drawAmount",
          "interestRate",
          "drawPeriod",
          "repaymentPeriod",
          "extraPayment",
          "indexRate",
          "rateMargin",
          "rateCap",
          "annualFee",
          "closingCosts"
        ]
      }
    },
    {
      "template": "mortgage-heloan",
      "operation": "fixed-home-equity-loan",
      "title": "HELOAN analysis",
      "description": "Fixed home-equity installment, equity limit, net cash, fees and repayment analysis.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "fixed-home-equity-loan-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/refinance/heloan",
      "input": {
        "homeValue": 450000,
        "mortgageBalance": 250000,
        "ltv": 85,
        "loanAmount": 50000,
        "interestRate": 8.5,
        "loanTerm": 15,
        "extraPayment": 0,
        "points": 1,
        "closingCosts": 750,
        "annualIncome": 120000,
        "monthlyDebt": 1000
      },
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "homeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "mortgageBalance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "ltv": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Percent"
          },
          "loanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "extraPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "points": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent, e.g. 5 means 5%"
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "annualIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "monthlyDebt": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          }
        },
        "required": [
          "homeValue",
          "mortgageBalance",
          "ltv",
          "loanAmount",
          "interestRate",
          "loanTerm",
          "extraPayment",
          "points",
          "closingCosts",
          "annualIncome",
          "monthlyDebt"
        ]
      }
    },
    {
      "template": "mortgage-target-rate-paydown",
      "operation": "target-rate-paydown",
      "title": "Pay like a lower rate",
      "description": "Extra principal to match the supplied target rate, with monthly or biweekly figures, payoff timing, and conditional escrow and tax projections.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "target-rate-paydown-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/target-rate",
      "input": {
        "loanBalance": 300000,
        "currentRate": 7,
        "targetRate": 5.5,
        "currentMonthlyPI": 1995.9074855375
      },
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanBalance": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars",
            "exclusiveMinimum": 0
          },
          "currentRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "targetRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual rate in percent"
          },
          "currentMonthlyPI": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars per month",
            "exclusiveMinimum": 0
          },
          "remainingTermMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months"
          },
          "annualPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "annualHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "monthlyMortgageInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "monthlyHoa": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per month"
          },
          "annualEscrowGrowthRate": {
            "type": "number",
            "minimum": -50,
            "maximum": 100,
            "description": "Annual percentage change"
          },
          "homeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars",
            "exclusiveMinimum": 0
          },
          "annualHomeAppreciationRate": {
            "type": "number",
            "minimum": -50,
            "maximum": 100,
            "description": "Annual percentage change"
          },
          "pmiDropLtvPercent": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Percent",
            "exclusiveMinimum": 0
          },
          "extraStartMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months"
          },
          "annualExtraPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          },
          "oneTimePrincipalPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "includeTaxAdjustedView": {
            "type": "boolean"
          },
          "marginalTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Percent, e.g. 5 means 5%"
          },
          "itemizesDeductions": {
            "type": "boolean"
          },
          "principalOnlyConfirmed": {
            "type": "boolean"
          },
          "hasPrepaymentPenalty": {
            "type": "boolean"
          },
          "cadence": {
            "type": "string",
            "enum": [
              "monthly",
              "biweekly"
            ],
            "description": "Optional report display cadence. The solver calculates both payment amounts."
          }
        },
        "required": [
          "loanBalance",
          "currentRate",
          "targetRate"
        ],
        "oneOf": [
          {
            "required": [
              "currentMonthlyPI"
            ]
          },
          {
            "required": [
              "remainingTermMonths"
            ]
          }
        ],
        "allOf": [
          {
            "if": {
              "required": [
                "includeTaxAdjustedView"
              ],
              "properties": {
                "includeTaxAdjustedView": {
                  "const": true
                }
              }
            },
            "then": {
              "required": [
                "marginalTaxRate",
                "itemizesDeductions"
              ]
            }
          }
        ]
      }
    },
    {
      "template": "financial-hub",
      "operation": "financial-hub-profile-snapshot",
      "title": "Financial Hub snapshot",
      "description": "Dated household balance sheet, qualifying income and obligations, rated DTI and Money Moves guidance from caller-supplied records.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "financial-hub-profile-snapshot-1.0.0",
      "calculatorPath": "/financial-hub",
      "input": {
        "asOf": "2026-11-15",
        "incomeSources": [
          {
            "gross_monthly_amount": 5200,
            "qualifying_monthly_amount": 5000
          }
        ],
        "housing": {
          "status": "own_mortgaged",
          "has_escrow": true,
          "total_monthly_payment": 1200,
          "property_tax_monthly": 150,
          "hoa_fees": 50,
          "second_mortgage_payment": 50,
          "current_estimated_value": 210000,
          "purchase_price": 200000,
          "remaining_balance": 155000
        },
        "properties": [
          {
            "is_rented": true,
            "monthly_rent": 2000,
            "monthly_pi": 1000,
            "current_estimated_value": 160000,
            "mortgage_balance": 90000
          }
        ],
        "debts": [
          {
            "debt_type": "credit_card",
            "current_balance": 2000,
            "monthly_payment": 100,
            "interest_rate": 19
          }
        ],
        "assets": [
          {
            "type": "savings",
            "value": 7000,
            "asOf": "2026-11-14"
          }
        ],
        "vehicles": [
          {
            "estimatedValue": 10000,
            "loanBalance": 12000
          }
        ],
        "businesses": [
          {
            "estimatedValue": 30000,
            "liabilities": 10000
          }
        ],
        "accounts": [
          {
            "account_type": "savings",
            "current_balance": 7000,
            "legacyMirror": true,
            "mirrorAssetIndex": 0
          },
          {
            "account_type": "checking",
            "current_balance": 1000
          }
        ],
        "creditScore": 700
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "asOf": {
            "type": "string",
            "format": "date",
            "minLength": 10,
            "maxLength": 10,
            "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
            "description": "Real UTC calendar date, YYYY-MM-DD."
          },
          "incomeSources": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "gross_monthly_amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "qualifying_monthly_amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "fromAffordabilitySync": {
                  "type": "boolean"
                }
              },
              "required": [
                "gross_monthly_amount",
                "qualifying_monthly_amount"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "debts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "debt_type": {
                  "type": "string",
                  "enum": [
                    "auto",
                    "student",
                    "credit_card",
                    "personal",
                    "medical",
                    "collections",
                    "mortgage",
                    "heloc",
                    "other"
                  ]
                },
                "current_balance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "monthly_payment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "interest_rate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "multipleOf": 0.00001,
                  "description": "Annual percentage points, e.g. 6.5."
                },
                "months_remaining": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 600
                },
                "is_excluded_from_dti": {
                  "type": "boolean"
                },
                "will_pay_off": {
                  "type": "boolean"
                },
                "imputed_payment_amount": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "fromAffordabilitySync": {
                  "type": "boolean"
                },
                "balance_kind": {
                  "type": "string",
                  "enum": [
                    "verified",
                    "projected",
                    "missing"
                  ]
                },
                "freshness": {
                  "type": "string",
                  "enum": [
                    "current",
                    "refresh_recommended",
                    "incomplete"
                  ]
                },
                "requires_refresh": {
                  "type": "boolean"
                }
              },
              "required": [
                "debt_type",
                "current_balance",
                "monthly_payment"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "assets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "enum": [
                    "cash",
                    "savings",
                    "investment_brokerage",
                    "investment_retirement",
                    "crypto",
                    "vehicle",
                    "other"
                  ]
                },
                "value": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "asOf": {
                  "type": "string",
                  "format": "date",
                  "minLength": 10,
                  "maxLength": 10,
                  "pattern": "^(19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
                  "description": "Real UTC calendar date, YYYY-MM-DD."
                }
              },
              "required": [
                "type",
                "value"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "properties": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "purchase_price": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "current_estimated_value": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "mortgage_balance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "is_rented": {
                  "type": "boolean"
                },
                "monthly_rent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "qualifying_rental_income": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "monthly_pi": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "second_mortgage_payment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "property_tax_monthly": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "insurance_monthly": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                },
                "hoa_fees": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD per month."
                }
              },
              "required": [
                "current_estimated_value",
                "mortgage_balance"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "housing": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "rent",
                  "live_with_family",
                  "own_free_clear",
                  "own_mortgaged"
                ]
              },
              "has_escrow": {
                "type": "boolean"
              },
              "principal_interest": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "second_mortgage_payment": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "property_tax_monthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "home_insurance_monthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "hoa_fees": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "pmi": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "monthly_rent": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "total_monthly_payment": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD per month."
              },
              "purchase_price": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD, entered amount."
              },
              "current_estimated_value": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD, entered amount."
              },
              "remaining_balance": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000000,
                "multipleOf": 0.01,
                "description": "USD, entered amount."
              },
              "interest_rate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "multipleOf": 0.00001,
                "description": "Annual percentage points, e.g. 6.5."
              },
              "mortgage_balance_kind": {
                "type": "string",
                "enum": [
                  "verified",
                  "projected",
                  "missing"
                ]
              },
              "mortgage_balance_freshness": {
                "type": "string",
                "enum": [
                  "current",
                  "refresh_recommended",
                  "incomplete"
                ]
              }
            },
            "required": [
              "status"
            ],
            "additionalProperties": false
          },
          "accounts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "account_type": {
                  "type": "string",
                  "enum": [
                    "checking",
                    "savings",
                    "cash",
                    "credit_card",
                    "mortgage",
                    "auto_loan",
                    "student_loan",
                    "personal_loan",
                    "loan",
                    "investment",
                    "retirement",
                    "heloc",
                    "home_equity_loan",
                    "money_market",
                    "cd",
                    "crypto",
                    "property",
                    "vehicle",
                    "collectible",
                    "business_interest",
                    "other"
                  ]
                },
                "current_balance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "archived": {
                  "type": "boolean"
                },
                "legacyMirror": {
                  "type": "boolean"
                },
                "mirrorAssetIndex": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 99,
                  "description": "Zero-based index of the matching asset, if a compatibility shadow."
                },
                "projection": {
                  "type": "object",
                  "properties": {
                    "value": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 10000000000,
                      "multipleOf": 0.01,
                      "description": "USD, entered amount."
                    },
                    "observed": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 10000000000,
                      "multipleOf": 0.01,
                      "description": "USD, entered amount."
                    },
                    "observationKind": {
                      "type": "string",
                      "enum": [
                        "verified",
                        "estimated"
                      ]
                    },
                    "projected": {
                      "type": "boolean"
                    },
                    "current": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "value",
                    "observed",
                    "observationKind",
                    "projected",
                    "current"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "account_type",
                "current_balance"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "vehicles": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "estimatedValue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "loanBalance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                }
              },
              "required": [
                "estimatedValue",
                "loanBalance"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "businesses": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "estimatedValue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                },
                "liabilities": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 10000000000,
                  "multipleOf": 0.01,
                  "description": "USD, entered amount."
                }
              },
              "required": [
                "estimatedValue",
                "liabilities"
              ],
              "additionalProperties": false
            },
            "maxItems": 100
          },
          "legacyIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01,
            "description": "USD per month."
          },
          "legacyDebt": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000,
            "multipleOf": 0.01,
            "description": "USD per month."
          },
          "creditScore": {
            "type": "integer",
            "minimum": 300,
            "maximum": 850,
            "description": "User-entered score or selected band estimate; omit if unknown."
          },
          "creditIsEstimate": {
            "type": "boolean"
          },
          "activeGoals": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "home_loan_optimization",
                "debt_payoff_consistency",
                "net_worth_stability"
              ]
            },
            "maxItems": 3,
            "uniqueItems": true
          },
          "conventionalRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "multipleOf": 0.00001,
            "description": "Optional caller-supplied conventional rate (% per year) for the 36% and 43% affordability estimates; no feed is contacted."
          }
        },
        "required": [
          "asOf",
          "incomeSources",
          "debts",
          "assets",
          "properties"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "room-material-takeoff",
      "operation": "room-studio-plan-takeoff",
      "title": "Room material quantities",
      "description": "Measured room areas, pooled paint, flooring with waste, casing and trim quantities, and room dimensions from the plan takeoff.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "room-studio-v1",
      "calculatorPath": "/tools",
      "input": {
        "rooms": [
          {
            "id": "A",
            "label": "Hall",
            "unit": "ft",
            "height": 8,
            "shape": {
              "type": "rectangle",
              "width": 10,
              "depth": 12
            },
            "fixtureCount": 2,
            "openings": [
              {
                "type": "door",
                "width": 3,
                "height": 7,
                "wallIndex": 0
              },
              {
                "type": "window",
                "width": 2,
                "height": 3,
                "wallIndex": 1,
                "sillHeight": 3
              },
              {
                "type": "opening",
                "width": 2,
                "height": 7,
                "wallIndex": 2
              }
            ]
          },
          {
            "id": "B",
            "label": "Den",
            "unit": "ft",
            "height": 10,
            "shape": {
              "type": "rectangle",
              "width": 6,
              "depth": 4
            }
          }
        ]
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "rooms": {
            "type": "array",
            "description": "Rooms in caller order, each with a unique id. Shared walls count once per room face.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Caller-assigned stable room identifier, unique in the plan.",
                  "minLength": 1,
                  "maxLength": 80
                },
                "label": {
                  "type": "string",
                  "description": "Display label for the room.",
                  "minLength": 1,
                  "maxLength": 160
                },
                "unit": {
                  "type": "string",
                  "description": "Unit of every input coordinate, length, height, sill and offset in this room. Use decimal feet for feet/inches (6 ft 8 in = 6 + 8/12).",
                  "enum": [
                    "ft",
                    "m"
                  ]
                },
                "height": {
                  "type": "number",
                  "description": "Ceiling height in input units; defaults to 8 feet if omitted.",
                  "exclusiveMinimum": 0,
                  "maximum": 1000
                },
                "shape": {
                  "description": "Rectangle, right-angle perimeter walk, or measured ordered polygon.",
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "rectangle"
                        },
                        "width": {
                          "type": "number",
                          "description": "Length in room input units.",
                          "exclusiveMinimum": 0,
                          "maximum": 1000
                        },
                        "depth": {
                          "type": "number",
                          "description": "Length in room input units.",
                          "exclusiveMinimum": 0,
                          "maximum": 1000
                        }
                      },
                      "required": [
                        "type",
                        "width",
                        "depth"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "perimeter"
                        },
                        "segments": {
                          "type": "array",
                          "description": "Ordered wall lengths; start along positive X and turn after each wall.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "length": {
                                "type": "number",
                                "description": "Length in room input units.",
                                "exclusiveMinimum": 0,
                                "maximum": 1000
                              },
                              "turn": {
                                "type": "string",
                                "description": "Turn after the segment.",
                                "enum": [
                                  "left",
                                  "right"
                                ]
                              }
                            },
                            "required": [
                              "length",
                              "turn"
                            ],
                            "additionalProperties": false
                          },
                          "minItems": 3,
                          "maxItems": 64
                        }
                      },
                      "required": [
                        "type",
                        "segments"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "polygon"
                        },
                        "corners": {
                          "type": "array",
                          "description": "Ordered corners (clockwise or counterclockwise); omit the repeated final vertex. Wall i connects corner i to the next corner.",
                          "items": {
                            "type": "array",
                            "description": "Wall-start point [x,y] on the floor plane.",
                            "items": {
                              "type": "number",
                              "description": "Signed coordinate in room input units.",
                              "minimum": -1000,
                              "maximum": 1000
                            },
                            "minItems": 2,
                            "maxItems": 2
                          },
                          "minItems": 3,
                          "maxItems": 64
                        },
                        "wallHeights": {
                          "type": "array",
                          "description": "Optional per-wall heights in input units, one per corner. A zero wall height falls back to room height in the takeoff.",
                          "items": {
                            "type": "number",
                            "description": "Wall height in input units.",
                            "minimum": 0,
                            "maximum": 1000
                          },
                          "minItems": 3,
                          "maxItems": 64
                        }
                      },
                      "required": [
                        "type",
                        "corners"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "openings": {
                  "type": "array",
                  "description": "Caller-measured apertures. Missing list means none.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "description": "A hinged door, window or uncased pass-through.",
                        "enum": [
                          "door",
                          "window",
                          "opening"
                        ]
                      },
                      "wallIndex": {
                        "type": "integer",
                        "description": "Zero-based host wall index in the room.",
                        "minimum": 0,
                        "maximum": 63
                      },
                      "width": {
                        "type": "number",
                        "description": "Length in room input units.",
                        "exclusiveMinimum": 0,
                        "maximum": 1000
                      },
                      "height": {
                        "type": "number",
                        "description": "Length in room input units.",
                        "exclusiveMinimum": 0,
                        "maximum": 1000
                      },
                      "offset": {
                        "type": "number",
                        "description": "Offset from the start of the host wall in input units. Defaults to 0.",
                        "minimum": 0,
                        "maximum": 1000
                      },
                      "sillHeight": {
                        "type": "number",
                        "description": "Distance above the floor in input units. Defaults to 0. The manual wizard uses a sill only for windows.",
                        "minimum": 0,
                        "maximum": 1000
                      }
                    },
                    "required": [
                      "type",
                      "wallIndex",
                      "width",
                      "height"
                    ],
                    "additionalProperties": false
                  },
                  "minItems": 0,
                  "maxItems": 32
                },
                "fixtureCount": {
                  "type": "integer",
                  "description": "Count of caller-identified fixtures; defaults to 0.",
                  "minimum": 0,
                  "maximum": 64
                }
              },
              "required": [
                "id",
                "label",
                "unit",
                "shape"
              ],
              "additionalProperties": false
            },
            "minItems": 1,
            "maxItems": 12
          }
        },
        "required": [
          "rooms"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-biweekly-schedule",
      "operation": "biweekly-mortgage-payments",
      "title": "Biweekly mortgage payment schedule",
      "description": "Biweekly mortgage payment schedule with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "biweekly-mortgage-payments-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/bi-weekly",
      "input": {
        "loanAmount": 300000,
        "annualRate": 7,
        "termYears": 30,
        "options": {
          "principalApplication": "immediate-biweekly",
          "escrowTreatment": "annualized",
          "biWeeklyPlanFee": 3
        }
      },
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanAmount": {
            "type": "number",
            "minimum": 1,
            "maximum": 100000000,
            "description": "Outstanding mortgage principal. In USD."
          },
          "annualRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual note rate. In percentage points (6.5 means 6.5%).",
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ]
          },
          "termYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Repayment term. In whole years."
          },
          "options": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "principalApplication": {
                "type": "string",
                "enum": [
                  "monthly-extra",
                  "immediate-biweekly",
                  "not-applied"
                ],
                "description": "Lender posting of the extra half-payment."
              },
              "escrowTreatment": {
                "type": "string",
                "enum": [
                  "annualized",
                  "split-total"
                ],
                "description": "Escrow draft treatment."
              },
              "extraPrincipalCadence": {
                "type": "string",
                "enum": [
                  "monthly",
                  "biweekly"
                ],
                "description": "Frequency of optional extra principal."
              },
              "monthlyEscrow": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000,
                "description": "Escrow excluding mortgage insurance and other costs. In USD per month."
              },
              "monthlyMortgageInsurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000,
                "description": "Mortgage insurance. In USD per month."
              },
              "monthlyOtherCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000,
                "description": "Other recurring costs. In USD per month."
              },
              "biWeeklyPlanFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000,
                "description": "Fee per two-week draft. In USD."
              },
              "extraBiWeeklyPrincipal": {
                "type": "number",
                "minimum": 0,
                "maximum": 10000000,
                "description": "Extra principal each selected cadence. In USD."
              }
            },
            "required": [
              "principalApplication",
              "escrowTreatment"
            ]
          }
        },
        "required": [
          "loanAmount",
          "annualRate",
          "termYears",
          "options"
        ]
      }
    },
    {
      "template": "mortgage-reverse",
      "operation": "hecm-reverse-mortgage",
      "title": "HECM planning estimate",
      "description": "HECM planning estimate with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "hecm-reverse-mortgage-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/reverse-mortgage",
      "input": {
        "borrowerAge": 72,
        "eligibleNonBorrowingSpouseAge": 72,
        "homeValue": 500000,
        "existingMortgage": 50000,
        "expectedRate": 6,
        "otherClosingCosts": 2000,
        "repairSetAside": 3000,
        "propertyChargeSetAside": 1000,
        "servicingFeeSetAside": 500
      },
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "borrowerAge": {
            "type": "integer",
            "minimum": 62,
            "maximum": 115,
            "description": "Borrower age in years; the HUD table ends at 99"
          },
          "eligibleNonBorrowingSpouseAge": {
            "type": "integer",
            "minimum": 18,
            "maximum": 115,
            "description": "Age in years; supplied only for an eligible non-borrowing spouse"
          },
          "homeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars",
            "exclusiveMinimum": 0
          },
          "existingMortgage": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "expectedRate": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 50,
            "description": "Annual expected mortgage interest rate in percent"
          },
          "otherClosingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "repairSetAside": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "propertyChargeSetAside": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "servicingFeeSetAside": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          }
        },
        "required": [
          "borrowerAge",
          "homeValue",
          "existingMortgage",
          "expectedRate",
          "otherClosingCosts",
          "repairSetAside",
          "propertyChargeSetAside",
          "servicingFeeSetAside"
        ]
      }
    },
    {
      "template": "mortgage-cost-of-waiting",
      "operation": "purchase-cost-of-waiting",
      "title": "Cost of waiting",
      "description": "Cost of waiting with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "purchase-cost-of-waiting-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/cost-of-waiting",
      "input": {
        "currentHomePrice": 300000,
        "downPaymentPct": 20,
        "currentInterestRate": 6,
        "yearsToWait": 2,
        "annualPriceAppreciation": 3,
        "expectedRateChange": 0.5,
        "loanTermYears": 30,
        "monthlyRentWhileWaiting": 1500,
        "annualSavingsRate": 6000
      },
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "currentHomePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars",
            "exclusiveMinimum": 0
          },
          "downPaymentPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "currentInterestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual note rate in percent; 6 means 6%"
          },
          "yearsToWait": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30,
            "description": "Years to wait"
          },
          "annualPriceAppreciation": {
            "type": "number",
            "minimum": -50,
            "maximum": 50,
            "description": "Annual home price change in percent"
          },
          "expectedRateChange": {
            "type": "number",
            "minimum": -30,
            "maximum": 30,
            "description": "Future note-rate change, in percentage points"
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "monthlyRentWhileWaiting": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "annualSavingsRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars per year"
          }
        },
        "required": [
          "currentHomePrice",
          "downPaymentPct",
          "currentInterestRate",
          "yearsToWait",
          "annualPriceAppreciation",
          "expectedRateChange",
          "loanTermYears",
          "monthlyRentWhileWaiting",
          "annualSavingsRate"
        ]
      }
    },
    {
      "template": "mortgage-true-rate",
      "operation": "mortgage-true-rate",
      "title": "Cost-adjusted mortgage rate",
      "description": "Cost-adjusted mortgage rate with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "mortgage-true-rate-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/true-rate/conventional",
      "input": {
        "loanProgram": "conventional",
        "loanPurpose": "purchase",
        "homeValue": 300000,
        "loanAmount": 240000,
        "piPayment": 1438.92,
        "pmiPayment": 0,
        "remainingTermYears": 30,
        "currentRate": 6,
        "upfrontCosts": 1000,
        "discountPoints": 1,
        "lenderCredits": 400,
        "programFee": 0,
        "pmiCancellationMode": "auto78",
        "insuranceDurationMode": "auto",
        "pmiBasisValue": 300000,
        "fhaOriginalLtv": 80,
        "fhaOriginalTermYears": 30,
        "vaFundingFeeUse": "manual",
        "vaDownPaymentPercent": 20,
        "usdaAnnualFeeRate": 0.35,
        "programFeeTreatment": "paidUpfront",
        "holdingPeriodYears": 5
      },
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanProgram": {
            "type": "string",
            "enum": [
              "conventional",
              "fha",
              "va",
              "usda"
            ]
          },
          "loanPurpose": {
            "type": "string",
            "enum": [
              "purchase",
              "rateTermRefinance",
              "cashOutRefinance",
              "streamlineRefinance"
            ]
          },
          "homeValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars",
            "exclusiveMinimum": 0
          },
          "loanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars",
            "exclusiveMinimum": 0
          },
          "piPayment": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100000000,
            "description": "Scheduled principal and interest in US dollars per month",
            "exclusiveMinimum": 0
          },
          "pmiPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "remainingTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Years remaining, including fractional years"
          },
          "currentRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Annual note rate in percent; 6 means 6%"
          },
          "upfrontCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "discountPoints": {
            "type": "number",
            "minimum": 0,
            "maximum": 25,
            "description": "Discount points as a percent of the loan"
          },
          "lenderCredits": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "programFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "pmiCancellationMode": {
            "type": "string",
            "enum": [
              "auto78",
              "request80",
              "fullTerm"
            ]
          },
          "insuranceDurationMode": {
            "type": "string",
            "enum": [
              "auto",
              "elevenYears",
              "fullTerm"
            ]
          },
          "pmiBasisValue": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "Positive US dollars",
            "exclusiveMinimum": 0
          },
          "fhaOriginalLtv": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100,
            "description": "Original loan-to-value in percent"
          },
          "fhaOriginalTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "vaFundingFeeUse": {
            "type": "string",
            "enum": [
              "first",
              "subsequent",
              "irrrl",
              "exempt",
              "manual"
            ]
          },
          "vaDownPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "usdaAnnualFeeRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 5 means 5%"
          },
          "programFeeTreatment": {
            "type": "string",
            "enum": [
              "financed",
              "paidUpfront",
              "includedInBalance"
            ]
          },
          "holdingPeriodYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Holding period, in years"
          }
        },
        "required": [
          "loanProgram",
          "loanPurpose",
          "homeValue",
          "loanAmount",
          "piPayment",
          "pmiPayment",
          "remainingTermYears",
          "currentRate",
          "upfrontCosts",
          "discountPoints",
          "lenderCredits",
          "holdingPeriodYears",
          "programFee",
          "programFeeTreatment",
          "pmiCancellationMode",
          "insuranceDurationMode",
          "pmiBasisValue"
        ]
      }
    },
    {
      "template": "auto-loan-payment",
      "operation": "auto-accelerated-payoff",
      "title": "Car loan payoff options",
      "description": "Car loan payoff options with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "auto-accelerated-payoff-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/lending",
      "input": {
        "balance": 18500,
        "aprPct": 7.9,
        "monthsLeft": 48,
        "currentPayment": 450.77,
        "extraMonthly": 50,
        "lumpSum": 1000,
        "roundTo": 50
      },
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "chosen": {
            "type": "string",
            "enum": [
              "extra",
              "lump",
              "round",
              "biweekly"
            ],
            "description": "Payoff plan shown on page one. Defaults to extra monthly principal."
          },
          "aprPct": {
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ],
            "description": "Annual car loan rate. In percentage points (6.5 means 6.5%).",
            "maximum": 100,
            "minimum": 0,
            "type": "number"
          },
          "balance": {
            "description": "Outstanding car loan balance. In USD.",
            "maximum": 10000000,
            "minimum": 0.01,
            "type": "number"
          },
          "currentPayment": {
            "description": "Current scheduled principal and interest. In USD per month.",
            "maximum": 1000000,
            "minimum": 0.01,
            "type": "number"
          },
          "extraMonthly": {
            "description": "Additional recurring principal. In USD per month.",
            "maximum": 1000000,
            "minimum": 0,
            "type": "number"
          },
          "lumpSum": {
            "description": "One-time payment applied now. In USD.",
            "maximum": 10000000,
            "minimum": 0,
            "type": "number"
          },
          "monthsLeft": {
            "description": "Current remaining loan term. In whole months.",
            "maximum": 120,
            "minimum": 1,
            "type": "integer"
          },
          "roundTo": {
            "description": "Payment rounding increment in USD.",
            "enum": [
              25,
              50,
              100
            ],
            "type": "integer"
          }
        },
        "required": [
          "balance",
          "aprPct",
          "monthsLeft",
          "currentPayment",
          "extraMonthly",
          "lumpSum",
          "roundTo"
        ],
        "type": "object"
      }
    },
    {
      "template": "household-monthly-budget",
      "operation": "monthly-budget-plan",
      "title": "Monthly budget plan",
      "description": "Monthly budget plan with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "monthly-budget-plan-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/budget",
      "input": {
        "monthlyIncome": 6000,
        "items": [
          {
            "amount": 3000,
            "category": "needs"
          },
          {
            "amount": 1800,
            "category": "wants"
          },
          {
            "amount": 1200,
            "category": "savings"
          }
        ]
      },
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "items": {
            "description": "Entered monthly budget lines.",
            "items": {
              "additionalProperties": false,
              "properties": {
                "amount": {
                  "description": "Amount attributed to this category. In USD per month.",
                  "maximum": 10000000,
                  "minimum": 0,
                  "type": "number"
                },
                "category": {
                  "description": "Budget category.",
                  "enum": [
                    "needs",
                    "wants",
                    "savings"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "amount",
                "category"
              ],
              "type": "object"
            },
            "maxItems": 100,
            "minItems": 0,
            "type": "array"
          },
          "monthlyIncome": {
            "description": "Monthly available income. In USD per month.",
            "maximum": 100000000,
            "minimum": 0.01,
            "type": "number"
          }
        },
        "required": [
          "monthlyIncome",
          "items"
        ],
        "type": "object"
      }
    },
    {
      "template": "savings-projection",
      "operation": "savings-growth-projection",
      "title": "Savings projection",
      "description": "Savings projection with the calculator’s supporting assumptions and breakdown. Monthly and daily compounding support up to 100 years. Set an optional savings goal to see the first year it is reached or the remaining shortfall.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "savings-growth-projection-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/savings",
      "input": {
        "initialDeposit": 5000,
        "monthlyContribution": 500,
        "annualRate": 4.5,
        "years": 10,
        "compounding": "monthly"
      },
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "annualRate": {
            "anyOf": [
              {
                "const": 0
              },
              {
                "minimum": 0.000001
              }
            ],
            "description": "Nominal annual savings rate. In percentage points (6.5 means 6.5%).",
            "maximum": 15,
            "minimum": 0,
            "type": "number"
          },
          "compounding": {
            "description": "Calculation frequency.",
            "enum": [
              "monthly",
              "daily"
            ],
            "type": "string"
          },
          "initialDeposit": {
            "description": "Opening savings balance. In USD.",
            "maximum": 100000000,
            "minimum": 0,
            "type": "number"
          },
          "monthlyContribution": {
            "description": "Monthly deposits. In USD per month.",
            "maximum": 10000000,
            "minimum": 0,
            "type": "number"
          },
          "years": {
            "description": "Projection horizon. In whole years.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "goal": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Optional savings goal in USD. Zero or omission disables the goal."
          }
        },
        "required": [
          "initialDeposit",
          "monthlyContribution",
          "annualRate",
          "years",
          "compounding"
        ],
        "type": "object"
      }
    },
    {
      "template": "room-studio-room-takeoff",
      "operation": "room-studio-room-takeoff",
      "title": "Room material takeoff",
      "description": "Flooring, wall paint and trim from one measured room.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "room-studio-v1",
      "input": {
        "room": {
          "id": "A",
          "label": "Hall",
          "unit": "ft",
          "height": 8,
          "shape": {
            "type": "rectangle",
            "width": 10,
            "depth": 12
          },
          "fixtureCount": 2,
          "openings": [
            {
              "type": "door",
              "width": 3,
              "height": 7,
              "wallIndex": 0
            },
            {
              "type": "window",
              "width": 2,
              "height": 3,
              "wallIndex": 1,
              "sillHeight": 3
            },
            {
              "type": "opening",
              "width": 2,
              "height": 7,
              "wallIndex": 2
            }
          ]
        }
      }
    },
    {
      "template": "room-studio-material-cost",
      "operation": "room-studio-material-cost",
      "title": "Room material cost worksheet",
      "description": "Unit pricing, selected materials, labor allocation and contingency budget.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "room-studio-v1",
      "input": {
        "rooms": [
          {
            "id": "A",
            "label": "Hall",
            "unit": "ft",
            "height": 8,
            "shape": {
              "type": "rectangle",
              "width": 10,
              "depth": 12
            },
            "fixtureCount": 2,
            "openings": [
              {
                "type": "door",
                "width": 3,
                "height": 7,
                "wallIndex": 0
              },
              {
                "type": "window",
                "width": 2,
                "height": 3,
                "wallIndex": 1,
                "sillHeight": 3
              },
              {
                "type": "opening",
                "width": 2,
                "height": 7,
                "wallIndex": 2
              }
            ]
          },
          {
            "id": "B",
            "label": "Den",
            "unit": "ft",
            "height": 10,
            "shape": {
              "type": "rectangle",
              "width": 6,
              "depth": 4
            }
          }
        ],
        "prices": [
          {
            "roomId": "A",
            "material": "flooring",
            "unitCost": 2.5,
            "selected": true
          },
          {
            "roomId": "A",
            "material": "wall-paint",
            "unitCost": 0.5,
            "selected": true
          },
          {
            "roomId": "A",
            "material": "ceiling-paint",
            "unitCost": 2,
            "selected": false
          },
          {
            "roomId": "A",
            "material": "baseboard",
            "unitCost": 1,
            "selected": true
          },
          {
            "roomId": "A",
            "material": "door-casing",
            "unitCost": 1,
            "selected": true
          },
          {
            "roomId": "A",
            "material": "window-casing",
            "unitCost": 1,
            "selected": true
          },
          {
            "roomId": "B",
            "material": "flooring",
            "unitCost": 2,
            "selected": true
          }
        ]
      }
    },
    {
      "template": "room-studio-plan-adjustment",
      "operation": "room-studio-plan-adjustment",
      "title": "Adjusted plan quantities",
      "description": "Measurements after the supplied calibration and wall snapping.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "room-studio-v1",
      "input": {
        "rooms": [
          {
            "id": "control",
            "label": "Control",
            "unit": "m",
            "height": 2,
            "shape": {
              "type": "rectangle",
              "width": 4,
              "depth": 3
            }
          }
        ],
        "snap": true,
        "calibration": {
          "roomId": "control",
          "wallIndex": 0,
          "enteredLength": 4
        }
      }
    },
    {
      "template": "auto-purchase-financing",
      "operation": "auto-purchase-financing",
      "title": "Vehicle purchase financing",
      "description": "Vehicle purchase costs, contractual payment, amortization and illustrative vehicle depreciation.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "auto-purchase-financing-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/lending/auto",
      "input": {
        "params": {
          "loanAmount": 35000,
          "interestRate": 6,
          "loanTerm": 60,
          "downPayment": 3000,
          "tradeInValue": 5000,
          "amountOwedOnTrade": 2000,
          "salesTaxRate": 6,
          "fees": 500,
          "tradeInReducesTax": true
        },
        "loanType": "AUTO"
      }
    },
    {
      "template": "personal-loan-proceeds",
      "operation": "personal-loan-proceeds",
      "title": "Personal loan proceeds",
      "description": "Monthly repayment, withheld origination fees and cash received.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "personal-loan-proceeds-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/lending/personal",
      "input": {
        "params": {
          "loanAmount": 15000,
          "interestRate": 10,
          "loanTerm": 36,
          "originationFee": 2
        },
        "loanType": "PERSONAL"
      }
    },
    {
      "template": "student-loan-deferment",
      "operation": "student-loan-deferment",
      "title": "Student loan deferment",
      "description": "Disbursement, deferred interest and scheduled repayment on the supplied student loan.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "student-loan-deferment-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/lending/student",
      "input": {
        "params": {
          "loanAmount": 20000,
          "interestRate": 5.5,
          "loanTerm": 10,
          "originationFee": 1.057,
          "defermentMonths": 48,
          "loanSubtype": "unsubsidized"
        },
        "loanType": "STUDENT"
      }
    },
    {
      "template": "auto-offer-comparison",
      "operation": "auto-offer-comparison",
      "title": "Vehicle financing offers",
      "description": "Compare the supplied offers, including each rate, fee treatment and total cost.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "auto-offer-comparison-htcalc-719df2c0e105",
      "input": {
        "offers": [
          {
            "id": 1,
            "lender": "Bank A",
            "loanAmount": 30000,
            "rate": 5.9,
            "term": 60,
            "fees": 0,
            "feeTreatment": "financed"
          },
          {
            "id": 2,
            "lender": "Credit Union",
            "loanAmount": 30000,
            "rate": 4.5,
            "term": 60,
            "fees": 250,
            "feeTreatment": "financed"
          },
          {
            "id": 3,
            "lender": "Online Lender",
            "loanAmount": 30000,
            "rate": 6.9,
            "term": 72,
            "fees": 0,
            "feeTreatment": "financed"
          }
        ]
      }
    },
    {
      "template": "auto-rebate-comparison",
      "operation": "auto-rebate-comparison",
      "title": "Vehicle rebate comparison",
      "description": "Compare a quoted promotional rate with a cash rebate and alternate financing.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "auto-rebate-comparison-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/lending/auto",
      "input": {
        "price": 35000,
        "downPayment": 1750,
        "promoAprPct": 0,
        "promoTermMonths": 60,
        "rebate": 3000,
        "bankAprPct": 6.5,
        "bankTermMonths": 60
      }
    },
    {
      "template": "vehicle-equity",
      "operation": "vehicle-equity",
      "title": "Vehicle equity",
      "description": "Vehicle value less its supplied loan balance.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "vehicle-equity-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/lending",
      "input": {
        "carValue": 15000,
        "balance": 18500
      }
    },
    {
      "template": "auto-refinance-break-even",
      "operation": "auto-refinance-break-even",
      "title": "Auto refinance break-even",
      "description": "Track cumulative payment savings against refinance costs, including interest on the fees.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "auto-refinance-break-even-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/lending/auto-refi",
      "input": {
        "currentBalance": 25000,
        "currentRate": 8.5,
        "currentTermRemaining": 48,
        "newRate": 5.9,
        "newTerm": 48,
        "refiCosts": 500
      }
    },
    {
      "template": "business-loan-cash-flow",
      "operation": "business-loan-cash-flow",
      "title": "Business loan cash flow",
      "description": "Supplied term-loan pricing, business coverage and first-year repayment rows.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "business-loan-cash-flow-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/lending/business",
      "input": {
        "loanAmount": 250000,
        "annualRate": 8.5,
        "termYears": 10,
        "originationFeePercent": 2,
        "hasSbaGuaranteeFee": false,
        "monthlyRevenue": 80000,
        "monthlyExpenses": 55000,
        "existingMonthlyDebtService": 2000
      }
    },
    {
      "template": "commercial-mortgage-balloon",
      "operation": "commercial-mortgage-balloon",
      "title": "Commercial mortgage balloon",
      "description": "Payment and balance due at the stated balloon date, with full-amortization interest.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "commercial-mortgage-balloon-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/lending/commercial-mortgage",
      "input": {
        "principal": 120000,
        "ratePct": 0,
        "amortYears": 10,
        "balloonYears": 4
      }
    },
    {
      "template": "income-frequency-breakdown",
      "operation": "income-frequency-breakdown",
      "title": "Monthly income breakdown",
      "description": "Convert entered pay periods to comparable monthly income.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "income-frequency-breakdown-htcalc-719df2c0e105",
      "calculatorPath": "/financial-hub",
      "input": {
        "items": [
          {
            "amount": 26,
            "frequency": "hourly",
            "hoursPerWeek": 40
          },
          {
            "amount": 1300,
            "frequency": "weekly",
            "hoursPerWeek": 40
          }
        ]
      }
    },
    {
      "template": "debt-balance-as-of",
      "operation": "debt-balance-as-of",
      "title": "Debt balance as of a date",
      "description": "Dated recorded or estimated debt balance, pending payment dates and projected payoff.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "debt-balance-as-of-htcalc-719df2c0e105",
      "calculatorPath": "/financial-hub",
      "input": {
        "debt": {
          "id": "example-car",
          "debt_type": "auto",
          "description": "Car",
          "current_balance": 14000,
          "interest_rate": 6.9,
          "monthly_payment": 420,
          "details": {
            "statement_date": "2026-09-24",
            "tracking": {
              "live": true,
              "due_day": 15,
              "start_balance": 14000,
              "started_on": "2026-09-24"
            }
          }
        },
        "today": "2026-10-15"
      }
    },
    {
      "template": "debt-portfolio-as-of",
      "operation": "debt-portfolio-as-of",
      "title": "Debt portfolio as of a date",
      "description": "Combined supplied debt payments, balances and projected debt-free date.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "debt-portfolio-as-of-htcalc-719df2c0e105",
      "calculatorPath": "/financial-hub",
      "input": {
        "debts": [
          {
            "id": "example-car",
            "debt_type": "auto",
            "description": "Car",
            "current_balance": 14000,
            "interest_rate": 6.9,
            "monthly_payment": 420,
            "details": {
              "statement_date": "2026-09-24",
              "tracking": {
                "live": true,
                "due_day": 15,
                "start_balance": 14000,
                "started_on": "2026-09-24"
              }
            }
          },
          {
            "id": "example-card",
            "debt_type": "credit_card",
            "description": "Card",
            "current_balance": 3100,
            "interest_rate": 24.99,
            "monthly_payment": 95,
            "details": {
              "statement_date": "2026-09-10",
              "tracking": {
                "live": true,
                "due_day": 1,
                "start_balance": 3100,
                "started_on": "2026-09-10"
              }
            }
          }
        ],
        "today": "2026-09-24"
      }
    },
    {
      "template": "credit-card-interest-rate-estimate",
      "operation": "credit-card-interest-rate-estimate",
      "title": "Estimated credit card interest rate",
      "description": "Annualized estimate from the charged interest and average of two statement balances.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "credit-card-interest-rate-estimate-htcalc-719df2c0e105",
      "calculatorPath": "/financial-hub",
      "input": {
        "previousBalance": 3000,
        "currentBalance": 3200,
        "interestCharged": 62
      }
    },
    {
      "template": "remaining-loan-payments",
      "operation": "remaining-loan-payments",
      "title": "Remaining loan payments",
      "description": "Whole monthly installments estimated from the outstanding principal, annual rate and payment.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "remaining-loan-payments-htcalc-719df2c0e105",
      "calculatorPath": "/financial-hub",
      "input": {
        "balance": 1200,
        "payment": 100,
        "aprPercent": 0
      }
    },
    {
      "template": "investment-land-contract-v1",
      "operation": "investor-land-contract",
      "title": "Land contract",
      "description": "Land contract with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "land-contract-2.0.0",
      "calculatorPath": "/calculator/investment/land-contract",
      "input": {
        "asOfDate": "2026-10-16",
        "startDate": "2026-10-16",
        "salePrice": 280000,
        "downPayment": 40000,
        "amortizationMonths": 360,
        "balloonMonths": 60,
        "monthlyTaxesInsurance": 325,
        "monthlyServicingFee": 10,
        "underlyingBalance": 0,
        "underlyingMonthlyPayment": 0,
        "extraMonthlyPrincipal": 0,
        "lumpSums": [],
        "terms": {
          "mode": "payment",
          "annualRatePct": 7
        },
        "reader": "seller"
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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])))$"
          },
          "startDate": {
            "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])))$"
          },
          "salePrice": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 10000000000
          },
          "downPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "amortizationMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600
          },
          "balloonMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600
          },
          "monthlyTaxesInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "monthlyServicingFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "underlyingBalance": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "underlyingMonthlyPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "extraMonthlyPrincipal": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "lumpSums": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "month": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 600
                },
                "amount": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 10000000000
                }
              },
              "required": [
                "month",
                "amount"
              ],
              "additionalProperties": false
            }
          },
          "terms": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "const": "payment"
                  },
                  "annualRatePct": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100
                  }
                },
                "required": [
                  "mode",
                  "annualRatePct"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "const": "rate"
                  },
                  "targetTotalMonthlyPayment": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 10000000000
                  }
                },
                "required": [
                  "mode",
                  "targetTotalMonthlyPayment"
                ],
                "additionalProperties": false
              }
            ]
          },
          "reader": {
            "type": "string",
            "enum": [
              "seller",
              "buyer"
            ]
          }
        },
        "required": [
          "asOfDate",
          "startDate",
          "salePrice",
          "downPayment",
          "amortizationMonths",
          "balloonMonths",
          "monthlyTaxesInsurance",
          "monthlyServicingFee",
          "underlyingBalance",
          "underlyingMonthlyPayment",
          "extraMonthlyPrincipal",
          "lumpSums",
          "terms",
          "reader"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-portfolio-v1",
      "operation": "investor-portfolio",
      "title": "Portfolio statement",
      "description": "Portfolio statement with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "portfolio-ledger-1.0.0-marketplace.1",
      "calculatorPath": "/calculator/investment/portfolio",
      "input": {
        "asOfDate": "2026-10-16",
        "staleAfterDays": 120,
        "appreciationRatePct": 3,
        "properties": [
          {
            "id": "unit-a",
            "label": "Property A",
            "market": "North district",
            "type": "duplex",
            "valueCents": 45000000,
            "valuationAsOf": "2026-10-01",
            "debtAsOf": "2026-10-01",
            "firstMortgageCents": 28000000,
            "monthlyDebtPaymentCents": 180000,
            "monthlyRentCents": 320000,
            "monthlyTaxesCents": 40000,
            "monthlyInsuranceCents": 15000,
            "monthlyHoaCents": 0
          }
        ]
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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])))$"
          },
          "staleAfterDays": {
            "type": "integer",
            "minimum": 1,
            "maximum": 730
          },
          "appreciationRatePct": {
            "type": "number",
            "minimum": -99,
            "maximum": 100
          },
          "properties": {
            "minItems": 1,
            "maxItems": 40,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "label": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "market": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "type": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "valueCents": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "valuationAsOf": {
                  "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])))$"
                },
                "debtAsOf": {
                  "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])))$"
                },
                "firstMortgageCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "secondMortgageCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "monthlyDebtPaymentCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "monthlyRentCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "monthlyTaxesCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "monthlyInsuranceCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "monthlyHoaCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                }
              },
              "required": [
                "id",
                "label",
                "market",
                "type",
                "valueCents",
                "valuationAsOf",
                "debtAsOf"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "asOfDate",
          "staleAfterDays",
          "appreciationRatePct",
          "properties"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-wholesale-70-v1",
      "operation": "investor-wholesale-quick",
      "title": "Wholesale 70% offer",
      "description": "Wholesale 70% offer with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 10,
      "standaloneCalculation": true,
      "formulaVersion": "investor-wholesale-quick-1.0.0",
      "calculatorPath": "/calculator/investment/wholesale-quick",
      "input": {
        "arv": 250000,
        "repairCosts": 35000,
        "assignmentFee": 10000
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "arv": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 10000000000,
            "description": "Estimated after-repair value in USD"
          },
          "repairCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "assignmentFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "customOffer": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          }
        },
        "required": [
          "arv",
          "repairCosts",
          "assignmentFee"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-str-v1",
      "operation": "investor-str-owned",
      "title": "Short-term rental",
      "description": "Short-term rental with the calculator’s supporting assumptions and breakdown. Set legalStatus to permitted and provide marketSourceName and marketSourceAsOf for the nightly rate and occupancy assumptions. Use a source date on or before asOfDate.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-str-owned-1.0.0",
      "calculatorPath": "/calculator/investment/airbnb-analysis",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "purchasePrice": 200000,
          "downPayment": 40000,
          "closingCosts": 4000,
          "repairCosts": 5000,
          "furnitureCost": 10000,
          "interestRate": 6.5,
          "loanTerm": 30,
          "dailyRentalRate": 150,
          "dailyCleaningFee": 0,
          "additionalGuestFee": 0,
          "airbnbExperiences": 0,
          "laundryRevenue": 0,
          "additionalRevenue": 0,
          "occupancyRate": 70,
          "propertyTax": 250,
          "insurance": 120,
          "trash": 0,
          "utilities": 150,
          "internet": 80,
          "hoaFees": 0,
          "cleanerExpense": 300,
          "lawnSnow": 50,
          "otherExpenses": 0,
          "maintenanceRate": 5,
          "vacancyRate": 0,
          "managementRate": 20,
          "airbnbServiceFeeRate": 3
        },
        "monthlyLTRRent": 0,
        "annualPermitCost": 0,
        "lodgingTaxPct": 0,
        "legalStatus": "permitted",
        "marketSourceName": "Caller-supplied nightly rent observations",
        "marketSourceAsOf": "2026-10-16",
        "seasonalProfile": "uniform"
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "furnitureCost": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanTerm": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "dailyRentalRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "dailyCleaningFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "additionalGuestFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "airbnbExperiences": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "laundryRevenue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "additionalRevenue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "occupancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyTax": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "trash": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "utilities": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "internet": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "hoaFees": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "cleanerExpense": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "lawnSnow": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maintenanceRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "managementRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "airbnbServiceFeeRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "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
          },
          "annualPermitCost": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "lodgingTaxPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "legalStatus": {
            "type": "string",
            "enum": [
              "permitted",
              "prohibited",
              "unknown"
            ]
          },
          "marketSourceName": {
            "type": "string",
            "maxLength": 120,
            "pattern": "^[^<>\\u0000-\\u001f]*$"
          },
          "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
      }
    },
    {
      "template": "investment-arv-v1",
      "operation": "investor-arv-comparables",
      "title": "Comparable sales and after-repair value",
      "description": "Comparable sales and after-repair value with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-arv-comparables-1.0.0",
      "calculatorPath": "/calculator/investment/arv",
      "input": {
        "asOfDate": "2026-10-16",
        "compsSubjectSqft": 1400,
        "comps": [
          {
            "id": "A",
            "address": "Comparable A",
            "salePrice": 210000,
            "sqft": 1400,
            "saleDate": "2026-08-15",
            "distanceMiles": 1
          },
          {
            "id": "B",
            "address": "Comparable B",
            "salePrice": 225000,
            "sqft": 1500,
            "saleDate": "2026-09-22",
            "distanceMiles": 2
          },
          {
            "id": "C",
            "address": "Comparable C",
            "salePrice": 234000,
            "sqft": 1500,
            "saleDate": "2026-09-08",
            "distanceMiles": 3
          }
        ],
        "compSourceName": "Caller-supplied comparable sales",
        "compSourceAsOf": "2026-10-16",
        "scenario": {
          "purchasePrice": 180000,
          "repairCosts": 40000,
          "afterRepairValue": 310000,
          "holdingCostsPerMonth": 1500,
          "holdingPeriodMonths": 6,
          "sellingCostsPct": 8
        },
        "arvRulePercent": 70
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
          },
          "comps": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "address": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "salePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "sqft": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "beds": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "baths": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "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
                },
                "notes": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                }
              },
              "required": [
                "id",
                "salePrice",
                "sqft"
              ],
              "additionalProperties": false
            }
          },
          "compSourceName": {
            "type": "string",
            "maxLength": 120,
            "pattern": "^[^<>\\u0000-\\u001f]*$"
          },
          "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
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "afterRepairValue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingCostsPerMonth": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingPeriodMonths": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "sellingCostsPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              }
            },
            "required": [
              "purchasePrice",
              "repairCosts",
              "afterRepairValue",
              "holdingCostsPerMonth",
              "holdingPeriodMonths",
              "sellingCostsPct"
            ],
            "additionalProperties": false
          },
          "arvRulePercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          }
        },
        "required": [
          "asOfDate",
          "compsSubjectSqft",
          "comps",
          "compSourceName",
          "compSourceAsOf",
          "scenario",
          "arvRulePercent"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-cap-rate-v1",
      "operation": "investor-cap-rate-model",
      "title": "Capitalization rate",
      "description": "Capitalization rate with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 10,
      "standaloneCalculation": true,
      "formulaVersion": "cap-rate-2.0.0",
      "calculatorPath": "/calculator/investment/cap-rate",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "propertyPrice": 350000,
          "grossRentalIncome": 36000,
          "vacancyRate": 5,
          "operatingExpenses": 8000,
          "otherIncome": 0,
          "recurringCapex": 0,
          "noiDirect": 26200,
          "useDirectNoi": true,
          "includeRecurringCapexInNoi": false,
          "propertySubtype": "single-family-rental",
          "capRateLowPct": 5,
          "capRateHighPct": 8
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "grossRentalIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "operatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "recurringCapex": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "noiDirect": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "useDirectNoi": {
                "type": "boolean"
              },
              "includeRecurringCapexInNoi": {
                "type": "boolean"
              },
              "propertySubtype": {
                "type": "string",
                "maxLength": 120,
                "pattern": "^[^<>\\u0000-\\u001f]*$"
              },
              "capRateLowPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "capRateHighPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              }
            },
            "required": [
              "propertyPrice",
              "grossRentalIncome",
              "vacancyRate",
              "operatingExpenses",
              "otherIncome",
              "recurringCapex",
              "noiDirect",
              "useDirectNoi",
              "includeRecurringCapexInNoi",
              "propertySubtype",
              "capRateLowPct",
              "capRateHighPct"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-cash-on-cash-v1",
      "operation": "investor-cash-on-cash-model",
      "title": "Cash-on-cash return",
      "description": "Cash-on-cash return with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 10,
      "standaloneCalculation": true,
      "formulaVersion": "cash-on-cash-2.0.0",
      "calculatorPath": "/calculator/investment/cash-on-cash",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "purchasePrice": 300000,
          "downPaymentPct": 25,
          "closingCosts": 8000,
          "annualRentalIncome": 36000,
          "vacancyRate": 5,
          "capExReservePct": 10,
          "annualOperatingExpenses": 10800,
          "annualMortgagePayment": 0,
          "interestRate": 7,
          "loanTermYears": 30,
          "useAutoMortgage": true,
          "rentGrowthRate": 3,
          "expenseGrowthRate": 2,
          "projectionYears": 5
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "downPaymentPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "annualRentalIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "capExReservePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "annualOperatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "annualMortgagePayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanTermYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              },
              "useAutoMortgage": {
                "type": "boolean"
              },
              "rentGrowthRate": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "expenseGrowthRate": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "projectionYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              }
            },
            "required": [
              "purchasePrice",
              "downPaymentPct",
              "closingCosts",
              "annualRentalIncome",
              "vacancyRate",
              "capExReservePct",
              "annualOperatingExpenses",
              "annualMortgagePayment",
              "interestRate",
              "loanTermYears",
              "useAutoMortgage",
              "rentGrowthRate",
              "expenseGrowthRate",
              "projectionYears"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-commercial-v1",
      "operation": "investor-commercial",
      "title": "Commercial property underwriting",
      "description": "Commercial property underwriting with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-commercial-1.0.0",
      "calculatorPath": "/calculator/investment/commercial",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "purchasePrice": 1500000,
          "downPayment": 375000,
          "interestRate": 7,
          "loanTerm": 5,
          "amortizationYears": 25,
          "closingCosts": 30000,
          "repairCosts": 50000,
          "grossPotentialIncome": 240000,
          "vacancyRate": 8,
          "propertyTaxes": 18000,
          "insurance": 4500,
          "propertyManagement": 8,
          "maintenance": 12000,
          "otherExpenses": 3000,
          "capRateBasis": "purchase",
          "marketCapRate": 7,
          "numberOfUnits": 1
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanTerm": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "amortizationYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              },
              "grossPotentialIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyTaxes": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maintenance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyManagement": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "marketCapRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "numberOfUnits": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "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
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanTerm": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "amortizationYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              },
              "grossPotentialIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyTaxes": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maintenance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyManagement": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "marketCapRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "numberOfUnits": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "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
      }
    },
    {
      "template": "investment-commercial-compare-v1",
      "operation": "investor-commercial",
      "title": "Commercial property comparison",
      "description": "Commercial property comparison with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-commercial-1.0.0",
      "calculatorPath": "/calculator/investment/commercial",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "purchasePrice": 1500000,
          "downPayment": 375000,
          "interestRate": 7,
          "loanTerm": 5,
          "amortizationYears": 25,
          "closingCosts": 30000,
          "repairCosts": 50000,
          "grossPotentialIncome": 240000,
          "vacancyRate": 8,
          "propertyTaxes": 18000,
          "insurance": 4500,
          "propertyManagement": 8,
          "maintenance": 12000,
          "otherExpenses": 3000,
          "capRateBasis": "purchase",
          "marketCapRate": 7,
          "numberOfUnits": 1
        },
        "scenarioB": {
          "purchasePrice": 1500000,
          "downPayment": 375000,
          "interestRate": 7,
          "loanTerm": 5,
          "amortizationYears": 25,
          "closingCosts": 30000,
          "repairCosts": 50000,
          "grossPotentialIncome": 264000,
          "vacancyRate": 8,
          "propertyTaxes": 18000,
          "insurance": 4500,
          "propertyManagement": 8,
          "maintenance": 12000,
          "otherExpenses": 3000,
          "capRateBasis": "purchase",
          "marketCapRate": 7,
          "numberOfUnits": 1
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanTerm": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "amortizationYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              },
              "grossPotentialIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyTaxes": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maintenance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyManagement": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "marketCapRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "numberOfUnits": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "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
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanTerm": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "amortizationYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              },
              "grossPotentialIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyTaxes": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maintenance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyManagement": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "marketCapRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "numberOfUnits": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "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",
          "scenarioB"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-deal-screener-v1",
      "operation": "investor-deal-screener",
      "title": "Property buy-box screen",
      "description": "Property buy-box screen with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 10,
      "standaloneCalculation": true,
      "formulaVersion": "deal-screener-buy-box-1.0.0",
      "calculatorPath": "/calculator/investment/deal-screener",
      "input": {
        "scenario": {
          "purchasePrice": 200000,
          "monthlyRent": 2000,
          "estimatedRepairs": 0
        },
        "criteria": {
          "monthlyOperatingExpenses": 600,
          "annualDebtService": 14400,
          "minRentToPricePct": 1,
          "maxGrm": 12,
          "minMonthlyCashFlow": 0,
          "minDscr": 1.25
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "scenario": {
            "type": "object",
            "properties": {
              "purchasePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "estimatedRepairs": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "required": [
              "purchasePrice",
              "monthlyRent",
              "estimatedRepairs"
            ],
            "additionalProperties": false
          },
          "criteria": {
            "type": "object",
            "properties": {
              "monthlyOperatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "annualDebtService": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "minRentToPricePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "maxGrm": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "minMonthlyCashFlow": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "minDscr": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "required": [
              "monthlyOperatingExpenses",
              "annualDebtService",
              "minRentToPricePct",
              "maxGrm",
              "minMonthlyCashFlow",
              "minDscr"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "scenario",
          "criteria"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-cost-segregation-v1",
      "operation": "investor-cost-segregation",
      "title": "Cost segregation planning",
      "description": "Cost segregation planning with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "rules-workflows-1.1.0",
      "calculatorPath": "/calculator/investment/cost-segregation",
      "input": {
        "asOfDate": "2026-10-16",
        "isAdvanced": false,
        "landPct": 15,
        "buildingPct": 55,
        "landImprovePct": 12,
        "personalPropPct": 18,
        "totalBasis": 500000,
        "stateRuleEnabled": false,
        "stateJurisdiction": "",
        "stateVersion": "",
        "stateSourceUrl": "",
        "stateEffectiveDate": "2026-01-01",
        "stateExpiresOn": "2026-12-31",
        "stateConforms": true,
        "stateBonusPct": 0,
        "acquisitionDate": "2026-01-01",
        "bindingContractDate": "",
        "placedInServiceDate": "2026-01-01",
        "taxYearStartDate": "2026-01-01",
        "taxYearEndDate": "2026-12-31",
        "acquisitionPath": "purchase",
        "businessUse": true,
        "relatedParty": false,
        "propertyType": "residential",
        "otherAssetsKnown": true,
        "bonusElection": "automatic",
        "passiveActivity": true,
        "passiveIncome": 35000,
        "specialAllowance": 0,
        "taxRate": 37,
        "dispositionEnabled": false,
        "disposition": {
          "amountRealized": 0,
          "allocatedGainFiveYear": 0,
          "allocatedGainSevenYear": 0,
          "allocatedGainFifteenYear": 0,
          "allocatedGainBuilding": 0,
          "depreciationTakenFiveYear": 0,
          "depreciationTakenSevenYear": 0,
          "depreciationTakenFifteenYear": 0,
          "depreciationTakenBuilding": 0
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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"
          },
          "isAdvanced": {
            "type": "boolean"
          },
          "landPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "buildingPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "landImprovePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "personalPropPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "totalBasis": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "stateRuleEnabled": {
            "type": "boolean"
          },
          "stateJurisdiction": {
            "type": "string",
            "maxLength": 120,
            "pattern": "^[^<>\\u0000-\\u001f]*$"
          },
          "stateVersion": {
            "type": "string",
            "maxLength": 120,
            "pattern": "^[^<>\\u0000-\\u001f]*$"
          },
          "stateSourceUrl": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 400,
                "format": "uri"
              },
              {
                "type": "string",
                "const": ""
              }
            ]
          },
          "stateEffectiveDate": {
            "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])))$"
          },
          "stateExpiresOn": {
            "type": "string",
            "maxLength": 120,
            "pattern": "^[^<>\\u0000-\\u001f]*$"
          },
          "stateConforms": {
            "type": "boolean"
          },
          "stateBonusPct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "acquisitionDate": {
            "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])))$"
          },
          "bindingContractDate": {
            "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": ""
              }
            ]
          },
          "placedInServiceDate": {
            "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])))$"
          },
          "taxYearStartDate": {
            "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])))$"
          },
          "taxYearEndDate": {
            "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])))$"
          },
          "acquisitionPath": {
            "type": "string",
            "enum": [
              "purchase",
              "construction",
              "like-kind",
              "gift",
              "inheritance"
            ]
          },
          "businessUse": {
            "type": "boolean"
          },
          "relatedParty": {
            "type": "boolean"
          },
          "propertyType": {
            "type": "string",
            "enum": [
              "residential",
              "nonresidential"
            ]
          },
          "otherAssetsKnown": {
            "type": "boolean"
          },
          "bonusElection": {
            "type": "string",
            "enum": [
              "automatic",
              "section-168-k-10-40",
              "opt-out"
            ]
          },
          "passiveActivity": {
            "type": "boolean"
          },
          "passiveIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "specialAllowance": {
            "type": "number",
            "minimum": -1000000000000,
            "maximum": 1000000000000
          },
          "taxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "dispositionEnabled": {
            "type": "boolean"
          },
          "disposition": {
            "type": "object",
            "properties": {
              "amountRealized": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "allocatedGainFiveYear": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "allocatedGainSevenYear": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "allocatedGainFifteenYear": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "allocatedGainBuilding": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "depreciationTakenFiveYear": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "depreciationTakenSevenYear": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "depreciationTakenFifteenYear": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "depreciationTakenBuilding": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "required": [
              "amountRealized",
              "allocatedGainFiveYear",
              "allocatedGainSevenYear",
              "allocatedGainFifteenYear",
              "allocatedGainBuilding",
              "depreciationTakenFiveYear",
              "depreciationTakenSevenYear",
              "depreciationTakenFifteenYear",
              "depreciationTakenBuilding"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "isAdvanced",
          "landPct",
          "buildingPct",
          "landImprovePct",
          "personalPropPct",
          "totalBasis",
          "stateRuleEnabled",
          "stateJurisdiction",
          "stateVersion",
          "stateSourceUrl",
          "stateEffectiveDate",
          "stateExpiresOn",
          "stateConforms",
          "stateBonusPct",
          "acquisitionDate",
          "bindingContractDate",
          "placedInServiceDate",
          "taxYearStartDate",
          "taxYearEndDate",
          "acquisitionPath",
          "businessUse",
          "relatedParty",
          "propertyType",
          "otherAssetsKnown",
          "bonusElection",
          "passiveActivity",
          "passiveIncome",
          "specialAllowance",
          "taxRate",
          "dispositionEnabled",
          "disposition"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-dscr-refinance-v1",
      "operation": "investor-dscr-refi",
      "title": "DSCR refinance timing",
      "description": "DSCR refinance timing with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "dscr-refi-2.0.0",
      "calculatorPath": "/calculator/investment/dscr-refi",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "currentValue": 600000,
          "annualNoi": 48000,
          "currentDebt": 330000,
          "currentAnnualDebtService": 27600,
          "maxLtvPct": 75,
          "targetDscr": 1.25,
          "newRatePct": 7.5,
          "amortizationYears": 30,
          "closingCostPct": 2,
          "appraisalRentLimitedNoi": 48000,
          "qualifyingRatePct": 7.5,
          "interestOnlyMonths": 0,
          "fixedClosingCosts": 0,
          "prepaymentPenalty": 0,
          "reserveMonths": 6,
          "acquiredDate": "2025-10-16",
          "requestedClosingDate": "2026-10-16",
          "analysisDate": "2026-10-16",
          "seasoningMonths": 6,
          "npvHorizonMonths": 60,
          "discountRatePct": 8
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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": {
              "currentValue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "annualNoi": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "currentDebt": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "currentAnnualDebtService": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maxLtvPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "targetDscr": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "newRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "amortizationYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              },
              "closingCostPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "appraisalRentLimitedNoi": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "qualifyingRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "interestOnlyMonths": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "fixedClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "prepaymentPenalty": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "reserveMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600
              },
              "acquiredDate": {
                "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])))$"
              },
              "requestedClosingDate": {
                "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])))$"
              },
              "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])))$"
              },
              "seasoningMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600
              },
              "npvHorizonMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600
              },
              "discountRatePct": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              }
            },
            "required": [
              "currentValue",
              "annualNoi",
              "currentDebt",
              "currentAnnualDebtService",
              "maxLtvPct",
              "targetDscr",
              "newRatePct",
              "amortizationYears",
              "closingCostPct",
              "appraisalRentLimitedNoi",
              "qualifyingRatePct",
              "interestOnlyMonths",
              "fixedClosingCosts",
              "prepaymentPenalty",
              "reserveMonths",
              "acquiredDate",
              "requestedClosingDate",
              "analysisDate",
              "seasoningMonths",
              "npvHorizonMonths",
              "discountRatePct"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-hard-money-v1",
      "operation": "investor-hard-money",
      "title": "Hard money financing",
      "description": "Hard money financing with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "hard-money-2.0.0",
      "calculatorPath": "/calculator/investment/hard-money",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "purchasePrice": 200000,
          "ltvPercent": 70,
          "interestRate": 12,
          "loanTermMonths": 12,
          "points": 2,
          "rehabBudget": 50000,
          "rehabLtvPercent": 100,
          "afterRepairValue": 320000,
          "ltcPercent": 90,
          "ltarvPercent": 70,
          "rehabDrawMonth": 1,
          "payoffMonth": 12,
          "minimumInterestMonths": 3,
          "extensionFeePerMonth": 0,
          "exitFeePct": 0,
          "pointsBasis": "funded"
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "ltvPercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanTermMonths": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "points": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "rehabBudget": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "rehabLtvPercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "afterRepairValue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "ltcPercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "ltarvPercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "rehabDrawMonth": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "payoffMonth": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "minimumInterestMonths": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "extensionFeePerMonth": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "exitFeePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "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
      }
    },
    {
      "template": "investment-dscr-thresholds-v1",
      "operation": "investor-dscr-thresholds",
      "title": "DSCR thresholds",
      "description": "DSCR thresholds with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 10,
      "standaloneCalculation": true,
      "formulaVersion": "lender-qualifier-2.0.0",
      "calculatorPath": "/calculator/investment/dscr-deep-dive",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "method": "commercial-noi-debt-service",
          "rentalIncome": 2500,
          "operatingExpenses": 400,
          "mortgagePayment": 1200,
          "propertyTax": 250,
          "insurance": 150,
          "hoa": 0,
          "appraisalMarketRent": 0,
          "appraisalRentCapPct": 100
        },
        "lenderThresholds": [
          {
            "name": "Conventional",
            "min": 1.25,
            "note": "1.25 minimum"
          },
          {
            "name": "DSCR Loan",
            "min": 1,
            "note": "1.00 reference (some programs may allow less)"
          },
          {
            "name": "Commercial",
            "min": 1.35,
            "note": "1.35 minimum"
          },
          {
            "name": "SBA",
            "min": 1.15,
            "note": "1.15 minimum"
          },
          {
            "name": "Hard Money",
            "min": 1,
            "note": "1.00 minimum"
          }
        ]
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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": {
              "method": {
                "type": "string",
                "enum": [
                  "residential-gross-rent-pitia",
                  "commercial-noi-debt-service"
                ]
              },
              "rentalIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "operatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "mortgagePayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyTax": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "hoa": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "appraisalMarketRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "appraisalRentCapPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              }
            },
            "required": [
              "method",
              "rentalIncome",
              "operatingExpenses",
              "mortgagePayment",
              "propertyTax",
              "insurance",
              "hoa",
              "appraisalMarketRent",
              "appraisalRentCapPct"
            ],
            "additionalProperties": false
          },
          "lenderThresholds": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "min": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "note": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                }
              },
              "required": [
                "name",
                "min",
                "note"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "asOfDate",
          "scenario",
          "lenderThresholds"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-dscr-v1",
      "operation": "investor-dscr-loan",
      "title": "DSCR loan analysis",
      "description": "DSCR loan analysis with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "dscr-loan-2.1.0",
      "calculatorPath": "/calculator/investment/dscr",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "grossMonthlyRent": 3000,
          "monthlyOperatingExpenses": 900,
          "lenderDscr": 1.25,
          "interestRate": 8,
          "loanTerm": 30,
          "extraPayment": 0,
          "loanAmount": 300000,
          "monthlyTaxes": 250,
          "monthlyInsurance": 125,
          "monthlyHoa": 0,
          "ioPeriodMonths": 0,
          "prepayScheduleString": "",
          "dscrMode": "owner",
          "sellYear": 2,
          "propertyValue": 400000,
          "maxLtvPct": 75,
          "appraisalMarketRent": 3000,
          "appraisalRentCapPct": 100,
          "debtSizingMethod": "amortizing",
          "analysisDate": "2026-10-16"
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "monthlyOperatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "lenderDscr": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanTerm": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "extraPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanAmount": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "monthlyTaxes": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyInsurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyHoa": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "ioPeriodMonths": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "prepayScheduleString": {
                "type": "string",
                "maxLength": 120,
                "pattern": "^[^<>\\u0000-\\u001f]*$"
              },
              "dscrMode": {
                "type": "string",
                "enum": [
                  "owner",
                  "lender"
                ]
              },
              "sellYear": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "propertyValue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maxLtvPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "appraisalMarketRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "appraisalRentCapPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "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
      }
    },
    {
      "template": "investment-irr-v1",
      "operation": "investor-irr",
      "title": "Dated investment returns",
      "description": "Dated investment returns with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "irr-2.1.0",
      "calculatorPath": "/calculator/investment/irr",
      "input": {
        "asOfDate": "2026-10-16",
        "initialInvestment": 100000,
        "cashFlows": [
          {
            "year": 1,
            "date": "2027-10-16",
            "amount": 12000,
            "label": "Net receipts"
          },
          {
            "year": 2,
            "date": "2028-10-16",
            "amount": 125000,
            "label": "Sale and receipts"
          }
        ],
        "startDate": "2026-10-16",
        "discountRate": 8,
        "financeRate": 7,
        "reinvestRate": 4,
        "dayCount": "ACT/365F"
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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"
          },
          "initialInvestment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "cashFlows": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "year": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000
                },
                "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
                },
                "label": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                }
              },
              "required": [
                "year",
                "date",
                "amount",
                "label"
              ],
              "additionalProperties": false
            }
          },
          "startDate": {
            "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])))$"
          },
          "discountRate": {
            "type": "number",
            "minimum": -1000000000000,
            "maximum": 1000000000000
          },
          "financeRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "reinvestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "dayCount": {
            "type": "string",
            "enum": [
              "ACT/365F",
              "ACT/360",
              "30/360US",
              "ACT/ACT-ISDA"
            ]
          }
        },
        "required": [
          "asOfDate",
          "initialInvestment",
          "cashFlows",
          "startDate",
          "discountRate",
          "financeRate",
          "reinvestRate",
          "dayCount"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-rehab-scope-v1",
      "operation": "investor-rehab-scope",
      "title": "Rehabilitation scope and contingency",
      "description": "Rehabilitation scope and contingency with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-rehab-scope-1.0.0",
      "calculatorPath": "/calculator/investment/rehab-scope",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "demolition": 8000,
          "exterior": 22000,
          "interior": 45000,
          "mechanicals": 30000,
          "permitsAndDesign": 5000,
          "contingencyPct": 15,
          "monthlyCarryingCost": 3000,
          "projectMonths": 5,
          "overrunStressPct": 20
        },
        "costSourceName": "Caller-supplied regional quotes",
        "costSourceAsOf": "2026-10-16"
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "exterior": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interior": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "mechanicals": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "permitsAndDesign": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "contingencyPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "monthlyCarryingCost": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "projectMonths": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "overrunStressPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "required": [
              "demolition",
              "exterior",
              "interior",
              "mechanicals",
              "permitsAndDesign",
              "contingencyPct",
              "monthlyCarryingCost",
              "projectMonths",
              "overrunStressPct"
            ],
            "additionalProperties": false
          },
          "costSourceName": {
            "type": "string",
            "maxLength": 120,
            "pattern": "^[^<>\\u0000-\\u001f]*$"
          },
          "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
      }
    },
    {
      "template": "investment-1031-exchange-v1",
      "operation": "investor-1031-exchange",
      "title": "1031 exchange",
      "description": "1031 exchange with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "rules-workflows-1.2.0",
      "calculatorPath": "/calculator/investment/1031-exchange",
      "input": {
        "asOfDate": "2026-10-16",
        "transferDate": "2026-07-01",
        "identificationDate": "2026-07-20",
        "replacementReceivedDate": "2026-09-15",
        "returnDueDate": "2027-04-15",
        "relinquished": {
          "salePrice": 500000,
          "originalPurchasePrice": 300000,
          "improvements": 25000,
          "totalDepreciation": 50000,
          "sellingExpenses": 30000,
          "mortgageBalance": 200000
        },
        "replacement": {
          "purchasePrice": 600000,
          "acquisitionCosts": 10000,
          "mortgageAmount": 250000,
          "cashReinvested": 270000
        },
        "relatedParty": false,
        "relatedPartyDispositionDate": "",
        "taxRate": 20,
        "depreciationRecaptureRate": 25,
        "stateTaxRate": 5
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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"
          },
          "transferDate": {
            "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])))$"
          },
          "identificationDate": {
            "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": ""
              }
            ]
          },
          "replacementReceivedDate": {
            "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": ""
              }
            ]
          },
          "returnDueDate": {
            "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": ""
              }
            ]
          },
          "relinquished": {
            "type": "object",
            "properties": {
              "salePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "originalPurchasePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "improvements": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "totalDepreciation": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "sellingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "mortgageBalance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "required": [
              "salePrice",
              "originalPurchasePrice",
              "improvements",
              "totalDepreciation",
              "sellingExpenses",
              "mortgageBalance"
            ],
            "additionalProperties": false
          },
          "replacement": {
            "type": "object",
            "properties": {
              "purchasePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "acquisitionCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "mortgageAmount": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "cashReinvested": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "required": [
              "purchasePrice",
              "acquisitionCosts",
              "mortgageAmount",
              "cashReinvested"
            ],
            "additionalProperties": false
          },
          "relatedParty": {
            "type": "boolean"
          },
          "relatedPartyDispositionDate": {
            "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": ""
              }
            ]
          },
          "taxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "depreciationRecaptureRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "stateTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          }
        },
        "required": [
          "asOfDate",
          "transferDate",
          "identificationDate",
          "replacementReceivedDate",
          "returnDueDate",
          "relinquished",
          "replacement",
          "relatedParty",
          "relatedPartyDispositionDate",
          "taxRate",
          "depreciationRecaptureRate",
          "stateTaxRate"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-strategy-comparison-v1",
      "operation": "investor-compare-strategies",
      "title": "Property strategy comparison",
      "description": "Property strategy comparison with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "compare-strategies-2.0.0/property-comparison-cash-1.1.0",
      "calculatorPath": "/calculator/investment/compare",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "purchasePrice": 200000,
          "monthlyRent": 1500,
          "rehabCosts": 15000,
          "arv": 250000,
          "downPaymentPct": 20,
          "interestRate": 7,
          "closingCostsPct": 3,
          "vacancyRate": 5,
          "operatingExpensePct": 40,
          "holdingPeriod": 6,
          "monthlyHoldingCosts": 1500,
          "sellingCostsPct": 8,
          "refiLTV": 75,
          "refiRate": 7,
          "assignmentFee": 10000,
          "investorProfitPct": 30,
          "comparisonStartDate": "2026-10-16",
          "comparisonHorizonYears": 5,
          "discountRatePct": 8,
          "comparisonObjective": "npv"
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "monthlyRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "rehabCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "arv": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "downPaymentPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "closingCostsPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "operatingExpensePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "holdingPeriod": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "monthlyHoldingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "sellingCostsPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "refiLTV": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "refiRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "assignmentFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "investorProfitPct": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "comparisonStartDate": {
                "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])))$"
              },
              "comparisonHorizonYears": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "discountRatePct": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "comparisonObjective": {
                "type": "string",
                "enum": [
                  "irr",
                  "npv",
                  "equity-multiple",
                  "balanced"
                ]
              }
            },
            "required": [
              "purchasePrice",
              "monthlyRent",
              "rehabCosts",
              "arv",
              "downPaymentPct",
              "interestRate",
              "closingCostsPct",
              "vacancyRate",
              "operatingExpensePct",
              "holdingPeriod",
              "monthlyHoldingCosts",
              "sellingCostsPct",
              "refiLTV",
              "refiRate",
              "assignmentFee",
              "investorProfitPct",
              "comparisonStartDate",
              "comparisonHorizonYears",
              "discountRatePct",
              "comparisonObjective"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-rental-v1",
      "operation": "investor-rental-analysis",
      "title": "Rental property pro forma",
      "description": "Rental property pro forma with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-rental-analysis-1.0.0",
      "calculatorPath": "/calculator/investment/rental",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "propertyType": "single_family",
          "purchasePrice": 200000,
          "downPayment": 40000,
          "interestRate": 6.5,
          "loanTerm": 30,
          "closingCosts": 4000,
          "renovationCosts": 0,
          "repairCosts": 0,
          "totalRent": 0,
          "monthlyRentPerUnit": 1500,
          "numberOfUnits": 1,
          "otherIncome": 0,
          "vacancyRate": 5,
          "propertyTax": 2400,
          "insurance": 1200,
          "maintenance": 1200,
          "propertyManagement": 0,
          "hoaFees": 0,
          "utilities": 0,
          "otherExpenses": 0,
          "lenderDscr": 1.25,
          "pmi": 0
        },
        "occupancyMode": "investment",
        "projectionAssumptions": {
          "appreciation": 3,
          "rentGrowth": 3,
          "expenseGrowth": 2
        },
        "projectionYears": 5,
        "rentalWorkflow": {
          "unitScheduleEnabled": false,
          "units": [
            {
              "id": "unit-1",
              "monthlyRent": 1500,
              "leaseStart": "2026-10-16"
            }
          ],
          "capexEvents": [],
          "turnoverEvents": [],
          "taxEvents": [],
          "refinanceEvents": [],
          "saleEnabled": false,
          "sale": {
            "date": "2026-10-16",
            "grossProceeds": 0,
            "sellingCosts": 0
          },
          "actuals": []
        },
        "analysisMode": "advanced"
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanTerm": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "renovationCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "landValuePercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "totalRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyTax": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maintenance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyManagement": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "hoaFees": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "utilities": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "lenderDscr": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyType": {
                "type": "string",
                "maxLength": 120,
                "pattern": "^[^<>\\u0000-\\u001f]*$"
              },
              "pmi": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "ltcgBracketPct": {
                "anyOf": [
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 20
                  },
                  {
                    "type": "number",
                    "const": 15
                  }
                ]
              },
              "applyNiit": {
                "type": "boolean"
              },
              "discountRatePct": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "numberOfUnits": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "monthlyRentPerUnit": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "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
              },
              "rentGrowth": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "expenseGrowth": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              }
            },
            "required": [
              "appreciation",
              "rentGrowth",
              "expenseGrowth"
            ],
            "additionalProperties": false
          },
          "projectionYears": {
            "anyOf": [
              {
                "type": "number",
                "const": 30
              },
              {
                "type": "number",
                "const": 5
              },
              {
                "type": "number",
                "const": 10
              }
            ]
          },
          "rentalWorkflow": {
            "type": "object",
            "properties": {
              "unitScheduleEnabled": {
                "type": "boolean"
              },
              "units": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "monthlyRent": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000
                    },
                    "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": "^[^<>\\u0000-\\u001f]*$"
                    }
                  },
                  "required": [
                    "id",
                    "monthlyRent",
                    "leaseStart"
                  ],
                  "additionalProperties": false
                }
              },
              "capexEvents": {
                "maxItems": 120,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "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
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    }
                  },
                  "required": [
                    "id",
                    "date",
                    "amount",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "turnoverEvents": {
                "maxItems": 120,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "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
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    }
                  },
                  "required": [
                    "id",
                    "date",
                    "amount",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "taxEvents": {
                "maxItems": 120,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "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
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    }
                  },
                  "required": [
                    "id",
                    "date",
                    "amount",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "refinanceEvents": {
                "maxItems": 120,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "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
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    }
                  },
                  "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
                  },
                  "sellingCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  }
                },
                "required": [
                  "date",
                  "grossProceeds",
                  "sellingCosts"
                ],
                "additionalProperties": false
              },
              "actuals": {
                "maxItems": 120,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "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
                    },
                    "operatingExpensesPaid": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000
                    },
                    "capitalPaid": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000
                    }
                  },
                  "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
      }
    },
    {
      "template": "investment-house-hack-v1",
      "operation": "investor-house-hacking",
      "title": "Owner-occupied rental analysis",
      "description": "Owner-occupied rental analysis with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-house-hacking-1.0.0",
      "calculatorPath": "/calculator/investment/rental",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "propertyType": "single_family",
          "purchasePrice": 200000,
          "downPayment": 40000,
          "interestRate": 6.5,
          "loanTerm": 30,
          "closingCosts": 4000,
          "renovationCosts": 0,
          "repairCosts": 0,
          "totalRent": 0,
          "monthlyRentPerUnit": 1500,
          "numberOfUnits": 2,
          "otherIncome": 0,
          "vacancyRate": 5,
          "propertyTax": 2400,
          "insurance": 1200,
          "maintenance": 1200,
          "propertyManagement": 0,
          "hoaFees": 0,
          "utilities": 0,
          "otherExpenses": 0,
          "lenderDscr": 1.25,
          "pmi": 0
        },
        "occupancyMode": "primary",
        "projectionAssumptions": {
          "appreciation": 3,
          "rentGrowth": 3,
          "expenseGrowth": 2
        },
        "projectionYears": 5,
        "rentalWorkflow": {
          "unitScheduleEnabled": false,
          "units": [
            {
              "id": "unit-1",
              "monthlyRent": 1500,
              "leaseStart": "2026-10-16"
            }
          ],
          "capexEvents": [],
          "turnoverEvents": [],
          "taxEvents": [],
          "refinanceEvents": [],
          "saleEnabled": false,
          "sale": {
            "date": "2026-10-16",
            "grossProceeds": 0,
            "sellingCosts": 0
          },
          "actuals": []
        },
        "analysisMode": "advanced"
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanTerm": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "renovationCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "landValuePercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "totalRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyTax": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maintenance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyManagement": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "hoaFees": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "utilities": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "lenderDscr": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyType": {
                "type": "string",
                "maxLength": 120,
                "pattern": "^[^<>\\u0000-\\u001f]*$"
              },
              "pmi": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "ltcgBracketPct": {
                "anyOf": [
                  {
                    "type": "number",
                    "const": 0
                  },
                  {
                    "type": "number",
                    "const": 20
                  },
                  {
                    "type": "number",
                    "const": 15
                  }
                ]
              },
              "applyNiit": {
                "type": "boolean"
              },
              "discountRatePct": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "numberOfUnits": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "monthlyRentPerUnit": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "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",
            "const": "primary"
          },
          "projectionAssumptions": {
            "type": "object",
            "properties": {
              "appreciation": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "rentGrowth": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "expenseGrowth": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              }
            },
            "required": [
              "appreciation",
              "rentGrowth",
              "expenseGrowth"
            ],
            "additionalProperties": false
          },
          "projectionYears": {
            "anyOf": [
              {
                "type": "number",
                "const": 30
              },
              {
                "type": "number",
                "const": 5
              },
              {
                "type": "number",
                "const": 10
              }
            ]
          },
          "rentalWorkflow": {
            "type": "object",
            "properties": {
              "unitScheduleEnabled": {
                "type": "boolean"
              },
              "units": {
                "maxItems": 100,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "monthlyRent": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000
                    },
                    "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": "^[^<>\\u0000-\\u001f]*$"
                    }
                  },
                  "required": [
                    "id",
                    "monthlyRent",
                    "leaseStart"
                  ],
                  "additionalProperties": false
                }
              },
              "capexEvents": {
                "maxItems": 120,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "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
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    }
                  },
                  "required": [
                    "id",
                    "date",
                    "amount",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "turnoverEvents": {
                "maxItems": 120,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "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
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    }
                  },
                  "required": [
                    "id",
                    "date",
                    "amount",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "taxEvents": {
                "maxItems": 120,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "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
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    }
                  },
                  "required": [
                    "id",
                    "date",
                    "amount",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "refinanceEvents": {
                "maxItems": 120,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "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
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    }
                  },
                  "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
                  },
                  "sellingCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  }
                },
                "required": [
                  "date",
                  "grossProceeds",
                  "sellingCosts"
                ],
                "additionalProperties": false
              },
              "actuals": {
                "maxItems": 120,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "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
                    },
                    "operatingExpensesPaid": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000
                    },
                    "capitalPaid": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000
                    }
                  },
                  "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
      }
    },
    {
      "template": "investment-exit-strategy-v1",
      "operation": "investor-exit-strategy",
      "title": "Investment exit strategies",
      "description": "Investment exit strategies with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "exit-strategy-3.0.0",
      "calculatorPath": "/calculator/investment/exit-strategy",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "currentValue": 500000,
          "mortgageBalance": 310000,
          "adjustedBasis": 360000,
          "monthlyCashFlow": 450,
          "currentMonthlyDebtService": 2100,
          "currentRatePct": 6.5,
          "currentRateSet": true,
          "refiRatePct": 7,
          "refiTermYears": 30,
          "refiCashFlowManual": false,
          "refiMonthlyCashFlow": 250,
          "annualAppreciationPct": 3,
          "annualRentGrowthPct": 2,
          "sellingCostPct": 7,
          "capitalGainsTaxPct": 20,
          "refiLtvPct": 75,
          "refiClosingCostPct": 2,
          "exchangeDownPaymentPct": 25,
          "holdYears": 5,
          "reinvestmentRatePct": 5
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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": {
              "currentValue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "mortgageBalance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "adjustedBasis": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyCashFlow": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "currentMonthlyDebtService": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "currentRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "currentRateSet": {
                "type": "boolean"
              },
              "refiRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "refiTermYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              },
              "refiCashFlowManual": {
                "type": "boolean"
              },
              "refiMonthlyCashFlow": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "annualAppreciationPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "annualRentGrowthPct": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "sellingCostPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "capitalGainsTaxPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "refiLtvPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "refiClosingCostPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "exchangeDownPaymentPct": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "holdYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              },
              "reinvestmentRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              }
            },
            "required": [
              "currentValue",
              "mortgageBalance",
              "adjustedBasis",
              "monthlyCashFlow",
              "currentMonthlyDebtService",
              "currentRatePct",
              "currentRateSet",
              "refiRatePct",
              "refiTermYears",
              "refiCashFlowManual",
              "refiMonthlyCashFlow",
              "annualAppreciationPct",
              "annualRentGrowthPct",
              "sellingCostPct",
              "capitalGainsTaxPct",
              "refiLtvPct",
              "refiClosingCostPct",
              "exchangeDownPaymentPct",
              "holdYears",
              "reinvestmentRatePct"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-operating-stress-v1",
      "operation": "investor-operating-stress",
      "title": "Operating expense and vacancy stress",
      "description": "Operating expense and vacancy stress with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "stress-correlated-simulation-1.1.0",
      "calculatorPath": "/calculator/investment/stress-test",
      "input": {
        "scenario": {
          "monthlyRent": 2600,
          "operatingExpenses": 450,
          "insurance": 150,
          "hoa": 100,
          "maintenanceReserve": 200,
          "debtService": 1500,
          "vacancyPct": 5,
          "vacancyShockPct": 15,
          "expenseIncreasePct": 20,
          "rentDropPct": 5,
          "reserveMonths": 6
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "scenario": {
            "type": "object",
            "properties": {
              "monthlyRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "operatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "hoa": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maintenanceReserve": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "debtService": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "vacancyShockPct": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "expenseIncreasePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "rentDropPct": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "reserveMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600
              }
            },
            "required": [
              "monthlyRent",
              "operatingExpenses",
              "insurance",
              "hoa",
              "maintenanceReserve",
              "debtService",
              "vacancyPct",
              "vacancyShockPct",
              "expenseIncreasePct",
              "rentDropPct",
              "reserveMonths"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-lease-up-v1",
      "operation": "investor-lease-up",
      "title": "Lease-up and vacancy reserve",
      "description": "Lease-up and vacancy reserve with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 10,
      "standaloneCalculation": true,
      "formulaVersion": "lease-up-2.0.0",
      "calculatorPath": "/calculator/investment/lease-up",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "totalUnits": 12,
          "occupiedUnits": 7,
          "targetRentPerUnit": 1450,
          "fixedMonthlyExpenses": 4200,
          "debtService": 6500,
          "unitsLeasedPerMonth": 2,
          "concessionPerNewLease": 500,
          "targetOccupancyPct": 92,
          "firstMonthProration": 0.5
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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": {
              "totalUnits": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "occupiedUnits": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "targetRentPerUnit": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "fixedMonthlyExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "debtService": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "unitsLeasedPerMonth": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "concessionPerNewLease": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "targetOccupancyPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "firstMonthProration": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "required": [
              "totalUnits",
              "occupiedUnits",
              "targetRentPerUnit",
              "fixedMonthlyExpenses",
              "debtService",
              "unitsLeasedPerMonth",
              "concessionPerNewLease",
              "targetOccupancyPct",
              "firstMonthProration"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-rent-renewal-v1",
      "operation": "investor-rent-renewal",
      "title": "Renewal and turnover",
      "description": "Renewal and turnover with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 10,
      "standaloneCalculation": true,
      "formulaVersion": "rent-renewal-expected-value-1.0.0",
      "calculatorPath": "/calculator/investment/rent-renewal",
      "input": {
        "scenario": {
          "currentRent": 1800,
          "marketRent": 2050,
          "renewalIncreasePct": 6,
          "turnoverCost": 2500,
          "vacancyMonths": 1,
          "concessionMonths": 0.5,
          "renewalConcessionMonths": 0,
          "retentionProbabilityPct": 70
        },
        "certification": {
          "legalMaxIncreasePct": 6,
          "annualRentGrowthPct": 0,
          "horizonYears": 1,
          "jurisdictionStatus": "supported",
          "calculationDate": "2026-10-16",
          "calculationTimeZone": "UTC",
          "legalSourceName": "Example supplied rent rule",
          "legalSourceAsOf": "2026-10-16",
          "compSourceName": "",
          "compSourceAsOf": "",
          "manualCompOverride": true
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "scenario": {
            "type": "object",
            "properties": {
              "currentRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "marketRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "renewalIncreasePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "turnoverCost": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyMonths": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "concessionMonths": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "renewalConcessionMonths": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "retentionProbabilityPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              }
            },
            "required": [
              "currentRent",
              "marketRent",
              "renewalIncreasePct",
              "turnoverCost",
              "vacancyMonths",
              "concessionMonths",
              "renewalConcessionMonths",
              "retentionProbabilityPct"
            ],
            "additionalProperties": false
          },
          "certification": {
            "type": "object",
            "properties": {
              "legalMaxIncreasePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "annualRentGrowthPct": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "horizonYears": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "jurisdictionStatus": {
                "type": "string",
                "enum": [
                  "unknown",
                  "supported"
                ]
              },
              "calculationDate": {
                "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])))$"
              },
              "calculationTimeZone": {
                "type": "string",
                "const": "UTC"
              },
              "legalSourceName": {
                "type": "string",
                "maxLength": 120,
                "pattern": "^[^<>\\u0000-\\u001f]*$"
              },
              "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": ""
                  }
                ]
              },
              "compSourceName": {
                "type": "string",
                "maxLength": 120,
                "pattern": "^[^<>\\u0000-\\u001f]*$"
              },
              "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": ""
                  }
                ]
              },
              "manualCompOverride": {
                "type": "boolean"
              }
            },
            "required": [
              "legalMaxIncreasePct",
              "annualRentGrowthPct",
              "horizonYears",
              "jurisdictionStatus",
              "calculationDate",
              "calculationTimeZone",
              "legalSourceName",
              "legalSourceAsOf",
              "compSourceName",
              "compSourceAsOf",
              "manualCompOverride"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "scenario",
          "certification"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-tax-reassessment-v1",
      "operation": "investor-tax-reassessment",
      "title": "Property tax reassessment",
      "description": "Property tax reassessment with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 10,
      "standaloneCalculation": true,
      "formulaVersion": "rules-workflows-1.1.0",
      "calculatorPath": "/calculator/investment/tax-reassessment",
      "input": {
        "asOfDate": "2026-10-16",
        "authority": {
          "transferDate": "2026-10-16",
          "jurisdiction": "Example district",
          "version": "example-1",
          "sourceUrl": "https://example.org/assessment-rule",
          "effectiveDate": "2026-01-01",
          "expiresOn": "2026-12-31",
          "capResetsOnTransfer": true,
          "reassessmentTrigger": "transfer"
        },
        "scenario": {
          "currentAssessedValue": 220000,
          "currentAnnualTax": 4400,
          "purchasePrice": 360000,
          "assessmentRatioPct": 100,
          "millageRate": 20,
          "annualAssessmentCapPct": 0,
          "exemptionAmount": 0,
          "specialAssessmentAnnual": 0,
          "reassessmentDelayDays": 0,
          "appealWindowDays": 35
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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"
          },
          "authority": {
            "type": "object",
            "properties": {
              "transferDate": {
                "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])))$"
              },
              "jurisdiction": {
                "type": "string",
                "maxLength": 120,
                "pattern": "^[^<>\\u0000-\\u001f]*$"
              },
              "version": {
                "type": "string",
                "maxLength": 120,
                "pattern": "^[^<>\\u0000-\\u001f]*$"
              },
              "sourceUrl": {
                "anyOf": [
                  {
                    "type": "string",
                    "maxLength": 400,
                    "format": "uri"
                  },
                  {
                    "type": "string",
                    "const": ""
                  }
                ]
              },
              "effectiveDate": {
                "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])))$"
              },
              "expiresOn": {
                "type": "string",
                "maxLength": 120,
                "pattern": "^[^<>\\u0000-\\u001f]*$"
              },
              "capResetsOnTransfer": {
                "type": "boolean"
              },
              "reassessmentTrigger": {
                "type": "string",
                "enum": [
                  "construction",
                  "transfer",
                  "annual",
                  "none"
                ]
              }
            },
            "required": [
              "transferDate",
              "jurisdiction",
              "version",
              "sourceUrl",
              "effectiveDate",
              "expiresOn",
              "capResetsOnTransfer",
              "reassessmentTrigger"
            ],
            "additionalProperties": false
          },
          "scenario": {
            "type": "object",
            "properties": {
              "currentAssessedValue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "currentAnnualTax": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "purchasePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "assessmentRatioPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "millageRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "annualAssessmentCapPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "exemptionAmount": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "specialAssessmentAnnual": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "reassessmentDelayDays": {
                "type": "number",
                "minimum": 0,
                "maximum": 3650
              },
              "appealWindowDays": {
                "type": "number",
                "minimum": 0,
                "maximum": 3650
              }
            },
            "required": [
              "currentAssessedValue",
              "currentAnnualTax",
              "purchasePrice",
              "assessmentRatioPct",
              "millageRate",
              "annualAssessmentCapPct",
              "exemptionAmount",
              "specialAssessmentAnnual",
              "reassessmentDelayDays",
              "appealWindowDays"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "authority",
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-partner-waterfall-v1",
      "operation": "investor-partner-waterfall",
      "title": "Partner distributions and waterfall",
      "description": "Partner distributions and waterfall with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "rules-workflows-1.1.0",
      "calculatorPath": "/calculator/investment/partner-waterfall",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "startDate": "2026-01-01",
          "investorCapital": 200000,
          "sponsorCapital": 25000,
          "annualCashFlow": 18000,
          "saleProfit": 310000,
          "holdYears": 4,
          "preferredReturnPct": 8,
          "investorSplitPct": 70,
          "sponsorCatchUpPct": 0,
          "clawbackSponsorProfitSharePct": 30,
          "preferredReturnCompounds": false,
          "returnCapitalFirst": true,
          "enableClawback": false
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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": {
              "startDate": {
                "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])))$"
              },
              "investorCapital": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "sponsorCapital": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "annualCashFlow": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "saleProfit": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "holdYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              },
              "preferredReturnPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "investorSplitPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "sponsorCatchUpPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "clawbackSponsorProfitSharePct": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "preferredReturnCompounds": {
                "type": "boolean"
              },
              "returnCapitalFirst": {
                "type": "boolean"
              },
              "enableClawback": {
                "type": "boolean"
              }
            },
            "required": [
              "startDate",
              "investorCapital",
              "sponsorCapital",
              "annualCashFlow",
              "saleProfit",
              "holdYears",
              "preferredReturnPct",
              "investorSplitPct",
              "sponsorCatchUpPct",
              "clawbackSponsorProfitSharePct",
              "preferredReturnCompounds",
              "returnCapitalFirst",
              "enableClawback"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-str-arbitrage-v1",
      "operation": "investor-str-arbitrage",
      "title": "Short-term rental arbitrage",
      "description": "Short-term rental arbitrage with the calculator’s supporting assumptions and breakdown. Set landlordApproval to true and legalStatus to permitted. Supply the actual lease and operating assumptions for the property.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-str-arbitrage-1.0.0",
      "calculatorPath": "/calculator/investment/airbnb-arbitrage",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "firstMonthRent": 2500,
          "securityDeposit": 2500,
          "furnitureCost": 8000,
          "businessSetupCost": 1500,
          "dailyRentalRate": 200,
          "dailyCleaningFee": 0,
          "additionalGuestFee": 0,
          "airbnbExperiences": 0,
          "laundryRevenue": 0,
          "additionalRevenue": 0,
          "occupancyRate": 70,
          "monthlyRent": 2500,
          "rentersInsurance": 45,
          "trash": 0,
          "utilities": 180,
          "internet": 80,
          "cleanerExpense": 300,
          "lawnSnow": 50,
          "otherExpenses": 0,
          "maintenanceRate": 3,
          "managementRate": 20,
          "airbnbServiceFeeRate": 3
        },
        "lodgingTaxPct": 0,
        "landlordApproval": true,
        "legalStatus": "permitted"
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "securityDeposit": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "furnitureCost": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "businessSetupCost": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "dailyRentalRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "dailyCleaningFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "additionalGuestFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "airbnbExperiences": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "laundryRevenue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "additionalRevenue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "occupancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "rentersInsurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "trash": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "utilities": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "internet": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "cleanerExpense": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "lawnSnow": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maintenanceRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "managementRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "airbnbServiceFeeRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "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
          },
          "landlordApproval": {
            "type": "boolean"
          },
          "legalStatus": {
            "type": "string",
            "enum": [
              "permitted",
              "prohibited",
              "unknown"
            ]
          }
        },
        "required": [
          "asOfDate",
          "scenario",
          "lodgingTaxPct",
          "landlordApproval",
          "legalStatus"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-wholesale-v1",
      "operation": "investor-wholesale",
      "title": "Wholesale assignment statement",
      "description": "Wholesale assignment statement with the calculator’s supporting assumptions and breakdown. Set jurisdictionStatus to supported and supply legalSourceName and legalSourceAsOf for the jurisdiction and asOfDate. Include the transaction terms for every scenario being compared.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-wholesale-1.0.0",
      "calculatorPath": "/calculator/investment/wholesale",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "askingPrice": 160000,
          "arv": 300000,
          "repairCosts": 30000,
          "assignmentFee": 10000,
          "investorProfitPercentage": 30,
          "closingCosts": 5000,
          "holdingCosts": 2000
        },
        "wholesaleWorkflow": {
          "path": "assignment",
          "costOverridesEnabled": false,
          "earnestDepositAtRisk": 0,
          "inspectionAndTitleCosts": 5000,
          "assignmentClosingCosts": 0,
          "purchaseClosingCosts": 5000,
          "resaleClosingCosts": 5000,
          "transactionalFundingRatePct": 0
        },
        "jurisdictionStatus": "supported",
        "legalSourceName": "Illustrative transaction terms supplied by caller",
        "legalSourceAsOf": "2026-10-16"
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "arv": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "assignmentFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "investorProfitPercentage": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "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
              },
              "inspectionAndTitleCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "assignmentClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "purchaseClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "resaleClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "transactionalFundingRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              }
            },
            "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]*$"
          },
          "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
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "arv": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "assignmentFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "askingPrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "investorProfitPercentage": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "holdingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "required": [
              "closingCosts",
              "repairCosts",
              "arv",
              "assignmentFee",
              "askingPrice",
              "investorProfitPercentage",
              "holdingCosts"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "scenario",
          "wholesaleWorkflow",
          "jurisdictionStatus",
          "legalSourceName",
          "legalSourceAsOf"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-wholesale-compare-v1",
      "operation": "investor-wholesale",
      "title": "Wholesale scenario comparison",
      "description": "Wholesale scenario comparison with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-wholesale-1.0.0",
      "calculatorPath": "/calculator/investment/wholesale",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "askingPrice": 160000,
          "arv": 300000,
          "repairCosts": 30000,
          "assignmentFee": 10000,
          "investorProfitPercentage": 30,
          "closingCosts": 5000,
          "holdingCosts": 2000
        },
        "wholesaleWorkflow": {
          "path": "assignment",
          "costOverridesEnabled": false,
          "earnestDepositAtRisk": 0,
          "inspectionAndTitleCosts": 5000,
          "assignmentClosingCosts": 0,
          "purchaseClosingCosts": 5000,
          "resaleClosingCosts": 5000,
          "transactionalFundingRatePct": 0
        },
        "jurisdictionStatus": "supported",
        "legalSourceName": "Illustrative transaction terms supplied by caller",
        "legalSourceAsOf": "2026-10-16",
        "scenarioB": {
          "askingPrice": 160000,
          "arv": 330000,
          "repairCosts": 30000,
          "assignmentFee": 10000,
          "investorProfitPercentage": 30,
          "closingCosts": 5000,
          "holdingCosts": 2000
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "arv": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "assignmentFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "investorProfitPercentage": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "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
              },
              "inspectionAndTitleCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "assignmentClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "purchaseClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "resaleClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "transactionalFundingRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              }
            },
            "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]*$"
          },
          "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": {
              "askingPrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "arv": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "assignmentFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "investorProfitPercentage": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "required": [
              "askingPrice",
              "arv",
              "repairCosts",
              "assignmentFee",
              "investorProfitPercentage",
              "closingCosts",
              "holdingCosts"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "asOfDate",
          "scenario",
          "wholesaleWorkflow",
          "jurisdictionStatus",
          "legalSourceName",
          "legalSourceAsOf",
          "scenarioB"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-fix-and-flip-v1",
      "operation": "investor-fix-and-flip",
      "title": "Fix and flip project",
      "description": "Fix and flip project with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-fix-and-flip-1.0.0",
      "calculatorPath": "/calculator/investment/fix-and-flip",
      "input": {
        "scenario": {
          "purchasePrice": 200000,
          "downPayment": 10000,
          "interestRate": 9,
          "loanPoints": 2,
          "purchaseClosingCosts": 6000,
          "rehabCosts": 30000,
          "holdingPeriod": 6,
          "monthlyHoldingCosts": 500,
          "salePrice": 320000,
          "sellingCosts": 19200
        },
        "flipWorkflow": {
          "rehabScheduleEnabled": false,
          "rehabItems": [
            {
              "id": "initial-rehab",
              "amount": 30000,
              "startMonth": 1,
              "durationMonths": 6,
              "dependsOn": []
            }
          ],
          "extensionTermsEnabled": false,
          "extensionStartsMonth": 7,
          "monthlyExtensionFee": 0,
          "annualDefaultRatePct": 9,
          "distributionsEnabled": false,
          "salePriceDistribution": {
            "min": 288000,
            "mode": 320000,
            "max": 352000
          },
          "delayDistributionMonths": {
            "min": 0,
            "mode": 1,
            "max": 3
          },
          "simulationSeed": 20260813,
          "simulationSamples": 750
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "scenario": {
            "type": "object",
            "properties": {
              "purchasePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanPoints": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "purchaseClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "rehabCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingPeriod": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "monthlyHoldingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "salePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "sellingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "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": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "amount": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000
                    },
                    "startMonth": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000
                    },
                    "durationMonths": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 600
                    },
                    "dependsOn": {
                      "maxItems": 120,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^[^<>\\u0000-\\u001f]*$"
                      }
                    }
                  },
                  "required": [
                    "id",
                    "amount",
                    "startMonth",
                    "durationMonths",
                    "dependsOn"
                  ],
                  "additionalProperties": false
                }
              },
              "extensionTermsEnabled": {
                "type": "boolean"
              },
              "extensionStartsMonth": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyExtensionFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "annualDefaultRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "distributionsEnabled": {
                "type": "boolean"
              },
              "salePriceDistribution": {
                "type": "object",
                "properties": {
                  "min": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  },
                  "mode": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  },
                  "max": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  }
                },
                "required": [
                  "min",
                  "mode",
                  "max"
                ],
                "additionalProperties": false
              },
              "delayDistributionMonths": {
                "type": "object",
                "properties": {
                  "min": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  },
                  "mode": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  },
                  "max": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  }
                },
                "required": [
                  "min",
                  "mode",
                  "max"
                ],
                "additionalProperties": false
              },
              "simulationSeed": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "simulationSamples": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2000
              }
            },
            "required": [
              "rehabScheduleEnabled",
              "rehabItems",
              "extensionTermsEnabled",
              "extensionStartsMonth",
              "monthlyExtensionFee",
              "annualDefaultRatePct",
              "distributionsEnabled",
              "salePriceDistribution",
              "delayDistributionMonths",
              "simulationSeed",
              "simulationSamples"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "scenario",
          "flipWorkflow"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-brrrr-v1",
      "operation": "investor-brrrr",
      "title": "BRRRR refinance",
      "description": "BRRRR refinance with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-brrrr-1.0.0",
      "calculatorPath": "/calculator/investment/brrrr",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "purchasePrice": 150000,
          "purchaseDownPayment": 7500,
          "purchaseClosingCosts": 4500,
          "rehabCosts": 25000,
          "monthlyRent": 2000,
          "monthlyOperatingExpenses": 600,
          "arv": 250000,
          "refiLTV": 75,
          "refiClosingCosts": 5000,
          "refiInterestRate": 7.5,
          "refiLoanTerm": 30,
          "salePrice": 250000,
          "sellingCosts": 15000,
          "rehabDurationMonths": 3,
          "stabilizationMonths": 2,
          "acquisitionInterestRate": 10,
          "holdingTaxesMonthly": 200,
          "holdingInsuranceMonthly": 100,
          "holdingUtilitiesMonthly": 150,
          "holdingHoaMonthly": 0,
          "stabilizationPmMonthly": 0
        },
        "brrrrWorkflow": {
          "drawScheduleEnabled": false,
          "rehabDraws": [
            {
              "id": "initial-rehab",
              "month": 1,
              "amount": 25000,
              "label": "Initial rehab draw"
            }
          ],
          "refinanceOverridesEnabled": false,
          "requiredDscr": 1.25,
          "programLoanCap": 250000,
          "seasoningMonths": 5,
          "stabilizationProbabilityPct": 100,
          "minimumStabilizationProbabilityPct": 70,
          "prepaymentPenalty": 0,
          "saleFallbackEnabled": false,
          "saleFallback": {
            "date": "2026-10-16",
            "grossProceeds": 250000,
            "sellingCosts": 15000
          }
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "rehabCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "arv": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "purchaseDownPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "purchaseClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "refiLTV": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "refiClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyOperatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "refiInterestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "refiLoanTerm": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "rehabDurationMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600
              },
              "stabilizationMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600
              },
              "acquisitionInterestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingTaxesMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingInsuranceMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingUtilitiesMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingHoaMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "stabilizationPmMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "requiredDscr": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "programLoanCap": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "salePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "sellingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "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": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "month": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000
                    },
                    "amount": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    }
                  },
                  "required": [
                    "id",
                    "month",
                    "amount",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "refinanceOverridesEnabled": {
                "type": "boolean"
              },
              "requiredDscr": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "programLoanCap": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "seasoningMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600
              },
              "stabilizationProbabilityPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "minimumStabilizationProbabilityPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "prepaymentPenalty": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "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
                  },
                  "sellingCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  }
                },
                "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
      }
    },
    {
      "template": "investment-equity-miner-v1",
      "operation": "investor-equity-miner",
      "title": "Property equity opportunities",
      "description": "Property equity opportunities with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 10,
      "standaloneCalculation": true,
      "formulaVersion": "investor-equity-miner-1.0.0",
      "calculatorPath": "/calculator/investment/equity-miner",
      "input": {
        "properties": [
          {
            "id": "property-a",
            "address": "Property A",
            "currentValue": 450000,
            "mortgageBalance": 280000,
            "monthlyPayment": 1850,
            "interestRate": 6.5,
            "originalPurchasePrice": 350000,
            "purchaseDate": "2020-06-15"
          }
        ],
        "assumedRates": {
          "conventional30Y": 6.75,
          "helocRate": 8.5
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "properties": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "address": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "currentValue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "mortgageBalance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "monthlyPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "interestRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "originalPurchasePrice": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "purchaseDate": {
                  "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": [
                "id",
                "address",
                "currentValue",
                "mortgageBalance",
                "monthlyPayment",
                "interestRate",
                "originalPurchasePrice",
                "purchaseDate"
              ],
              "additionalProperties": false
            }
          },
          "assumedRates": {
            "type": "object",
            "properties": {
              "conventional30Y": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "helocRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "required": [
              "conventional30Y",
              "helocRate"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "properties",
          "assumedRates"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-rent-vs-sell-v1",
      "operation": "investor-rent-vs-sell",
      "title": "Rent or sell",
      "description": "Rent or sell with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-rent-vs-sell-1.0.0",
      "calculatorPath": "/calculator/investment/rent-vs-sell",
      "input": {
        "scenario": {
          "currentValue": 400000,
          "outstandingLoan": 250000,
          "monthlyRent": 2800,
          "monthlyExpenses": 700,
          "monthlyPITI": 1600,
          "currentLoanRatePct": 6.5,
          "monthlyPrincipalAndInterest": 1580,
          "yearsOwned": 5,
          "costBasis": 280000,
          "capitalGainsTaxRate": 0.2,
          "appreciationRate": 0.04,
          "rentGrowthRate": 0.03,
          "holdingPeriod": 10,
          "sellingCostsRate": 0.07,
          "reinvestmentRate": 0.05,
          "expenseGrowthRate": 0.025
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "scenario": {
            "type": "object",
            "properties": {
              "currentValue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "outstandingLoan": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyPITI": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "currentLoanRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "monthlyPrincipalAndInterest": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "yearsOwned": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "costBasis": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "capitalGainsTaxRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "appreciationRate": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "rentGrowthRate": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "holdingPeriod": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "sellingCostsRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "reinvestmentRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "expenseGrowthRate": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              }
            },
            "required": [
              "currentValue",
              "outstandingLoan",
              "monthlyRent",
              "monthlyExpenses",
              "monthlyPITI",
              "currentLoanRatePct",
              "monthlyPrincipalAndInterest",
              "yearsOwned",
              "costBasis",
              "capitalGainsTaxRate",
              "appreciationRate",
              "rentGrowthRate",
              "holdingPeriod",
              "sellingCostsRate",
              "reinvestmentRate",
              "expenseGrowthRate"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-1031-deadlines-v1",
      "operation": "investor-1031-deadlines",
      "title": "1031 exchange deadlines",
      "description": "1031 exchange deadlines with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 10,
      "standaloneCalculation": true,
      "formulaVersion": "investor-1031-deadlines-1.0.0",
      "calculatorPath": "/calculator/investment/1031-tracker",
      "input": {
        "asOfDate": "2026-10-16",
        "saleDate": "2026-10-01",
        "taxReturnDueDate": "2027-04-15",
        "properties": [
          {
            "id": "A",
            "name": "Candidate A",
            "estimatedValue": 250000
          }
        ]
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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"
          },
          "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])))$"
          },
          "taxReturnDueDate": {
            "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": ""
              }
            ]
          },
          "properties": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "name": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "estimatedValue": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                }
              },
              "required": [
                "id",
                "name",
                "estimatedValue"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "asOfDate",
          "saleDate",
          "taxReturnDueDate",
          "properties"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-land-contract-audit-v1",
      "operation": "investor-land-contract",
      "title": "Land Contract Analysis",
      "description": "Land Contract Analysis with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "land-contract-2.0.0",
      "calculatorPath": "/calculator/investment/land-contract",
      "input": {
        "asOfDate": "2026-10-16",
        "startDate": "2026-10-16",
        "salePrice": 280000,
        "downPayment": 40000,
        "amortizationMonths": 360,
        "balloonMonths": 60,
        "monthlyTaxesInsurance": 325,
        "monthlyServicingFee": 10,
        "underlyingBalance": 0,
        "underlyingMonthlyPayment": 0,
        "extraMonthlyPrincipal": 0,
        "lumpSums": [],
        "terms": {
          "mode": "payment",
          "annualRatePct": 7
        },
        "reader": "seller"
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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])))$"
          },
          "startDate": {
            "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])))$"
          },
          "salePrice": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 10000000000
          },
          "downPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "amortizationMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600
          },
          "balloonMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600
          },
          "monthlyTaxesInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "monthlyServicingFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "underlyingBalance": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "underlyingMonthlyPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "extraMonthlyPrincipal": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000000
          },
          "lumpSums": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "month": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 600
                },
                "amount": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 10000000000
                }
              },
              "required": [
                "month",
                "amount"
              ],
              "additionalProperties": false
            }
          },
          "terms": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "const": "payment"
                  },
                  "annualRatePct": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100
                  }
                },
                "required": [
                  "mode",
                  "annualRatePct"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "const": "rate"
                  },
                  "targetTotalMonthlyPayment": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 10000000000
                  }
                },
                "required": [
                  "mode",
                  "targetTotalMonthlyPayment"
                ],
                "additionalProperties": false
              }
            ]
          },
          "reader": {
            "type": "string",
            "const": "seller"
          },
          "preset": {
            "type": "string",
            "enum": [
              "quick-summary",
              "detailed-analysis",
              "amortization-included",
              "full-investor-report"
            ],
            "description": "Optional original investor report layout. Amortization Included requires a source loan schedule or complete debt terms. Full Investor Report includes the material available for the scenario."
          }
        },
        "required": [
          "asOfDate",
          "startDate",
          "salePrice",
          "downPayment",
          "amortizationMonths",
          "balloonMonths",
          "monthlyTaxesInsurance",
          "monthlyServicingFee",
          "underlyingBalance",
          "underlyingMonthlyPayment",
          "extraMonthlyPrincipal",
          "lumpSums",
          "terms",
          "reader"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-portfolio-audit-v1",
      "operation": "investor-portfolio",
      "title": "Portfolio Analysis",
      "description": "Portfolio Analysis with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "portfolio-ledger-1.0.0-marketplace.1",
      "calculatorPath": "/calculator/investment/portfolio",
      "input": {
        "asOfDate": "2026-10-16",
        "staleAfterDays": 120,
        "appreciationRatePct": 3,
        "properties": [
          {
            "id": "unit-a",
            "label": "Property A",
            "market": "North district",
            "type": "duplex",
            "valueCents": 45000000,
            "valuationAsOf": "2026-10-01",
            "debtAsOf": "2026-10-01",
            "firstMortgageCents": 28000000,
            "monthlyDebtPaymentCents": 180000,
            "monthlyRentCents": 320000,
            "monthlyTaxesCents": 40000,
            "monthlyInsuranceCents": 15000,
            "monthlyHoaCents": 0
          }
        ]
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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])))$"
          },
          "staleAfterDays": {
            "type": "integer",
            "minimum": 1,
            "maximum": 730
          },
          "appreciationRatePct": {
            "type": "number",
            "minimum": -99,
            "maximum": 100
          },
          "properties": {
            "minItems": 1,
            "maxItems": 40,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "label": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "market": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "type": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "valueCents": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "valuationAsOf": {
                  "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])))$"
                },
                "debtAsOf": {
                  "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])))$"
                },
                "firstMortgageCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "secondMortgageCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "monthlyDebtPaymentCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "monthlyRentCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "monthlyTaxesCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "monthlyInsuranceCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                },
                "monthlyHoaCents": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 10000000000000,
                  "description": "USD cents"
                }
              },
              "required": [
                "id",
                "label",
                "market",
                "type",
                "valueCents",
                "valuationAsOf",
                "debtAsOf"
              ],
              "additionalProperties": false
            }
          },
          "preset": {
            "type": "string",
            "enum": [
              "quick-summary",
              "detailed-analysis",
              "amortization-included",
              "full-investor-report"
            ],
            "description": "Optional original investor report layout. Amortization Included requires a source loan schedule or complete debt terms. Full Investor Report includes the material available for the scenario."
          }
        },
        "required": [
          "asOfDate",
          "staleAfterDays",
          "appreciationRatePct",
          "properties"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-cap-rate-audit-v1",
      "operation": "investor-cap-rate-model",
      "title": "Cap Rate Analysis",
      "description": "Cap Rate Analysis with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 10,
      "standaloneCalculation": true,
      "formulaVersion": "cap-rate-2.0.0",
      "calculatorPath": "/calculator/investment/cap-rate",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "propertyPrice": 350000,
          "grossRentalIncome": 36000,
          "vacancyRate": 5,
          "operatingExpenses": 8000,
          "otherIncome": 0,
          "recurringCapex": 0,
          "noiDirect": 26200,
          "useDirectNoi": true,
          "includeRecurringCapexInNoi": false,
          "propertySubtype": "single-family-rental",
          "capRateLowPct": 5,
          "capRateHighPct": 8
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "grossRentalIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "operatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "recurringCapex": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "noiDirect": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "useDirectNoi": {
                "type": "boolean"
              },
              "includeRecurringCapexInNoi": {
                "type": "boolean"
              },
              "propertySubtype": {
                "type": "string",
                "maxLength": 120,
                "pattern": "^[^<>\\u0000-\\u001f]*$"
              },
              "capRateLowPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "capRateHighPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              }
            },
            "required": [
              "propertyPrice",
              "grossRentalIncome",
              "vacancyRate",
              "operatingExpenses",
              "otherIncome",
              "recurringCapex",
              "noiDirect",
              "useDirectNoi",
              "includeRecurringCapexInNoi",
              "propertySubtype",
              "capRateLowPct",
              "capRateHighPct"
            ],
            "additionalProperties": false
          },
          "preset": {
            "type": "string",
            "enum": [
              "quick-summary",
              "detailed-analysis",
              "amortization-included",
              "full-investor-report"
            ],
            "description": "Optional original investor report layout. Amortization Included requires a source loan schedule or complete debt terms. Full Investor Report includes the material available for the scenario."
          }
        },
        "required": [
          "asOfDate",
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-commercial-audit-v1",
      "operation": "investor-commercial",
      "title": "Commercial Underwriting",
      "description": "Commercial Underwriting with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-commercial-1.0.0",
      "calculatorPath": "/calculator/investment/commercial",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "purchasePrice": 1500000,
          "downPayment": 375000,
          "interestRate": 7,
          "loanTerm": 5,
          "amortizationYears": 25,
          "closingCosts": 30000,
          "repairCosts": 50000,
          "grossPotentialIncome": 240000,
          "vacancyRate": 8,
          "propertyTaxes": 18000,
          "insurance": 4500,
          "propertyManagement": 8,
          "maintenance": 12000,
          "otherExpenses": 3000,
          "capRateBasis": "purchase",
          "marketCapRate": 7,
          "numberOfUnits": 1
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanTerm": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "amortizationYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              },
              "grossPotentialIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyTaxes": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maintenance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyManagement": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "marketCapRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "numberOfUnits": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "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
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanTerm": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "otherExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "vacancyRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "amortizationYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              },
              "grossPotentialIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyTaxes": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maintenance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyManagement": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "marketCapRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "numberOfUnits": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "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
          },
          "preset": {
            "type": "string",
            "enum": [
              "quick-summary",
              "detailed-analysis",
              "amortization-included",
              "full-investor-report"
            ],
            "description": "Optional original investor report layout. Amortization Included requires a source loan schedule or complete debt terms. Full Investor Report includes the material available for the scenario."
          }
        },
        "required": [
          "asOfDate",
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-dscr-refinance-audit-v1",
      "operation": "investor-dscr-refi",
      "title": "DSCR Refinance",
      "description": "DSCR Refinance with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "dscr-refi-2.0.0",
      "calculatorPath": "/calculator/investment/dscr-refi",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "currentValue": 600000,
          "annualNoi": 48000,
          "currentDebt": 330000,
          "currentAnnualDebtService": 27600,
          "maxLtvPct": 75,
          "targetDscr": 1.25,
          "newRatePct": 7.5,
          "amortizationYears": 30,
          "closingCostPct": 2,
          "appraisalRentLimitedNoi": 48000,
          "qualifyingRatePct": 7.5,
          "interestOnlyMonths": 0,
          "fixedClosingCosts": 0,
          "prepaymentPenalty": 0,
          "reserveMonths": 6,
          "acquiredDate": "2025-10-16",
          "requestedClosingDate": "2026-10-16",
          "analysisDate": "2026-10-16",
          "seasoningMonths": 6,
          "npvHorizonMonths": 60,
          "discountRatePct": 8
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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": {
              "currentValue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "annualNoi": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "currentDebt": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "currentAnnualDebtService": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maxLtvPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "targetDscr": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "newRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "amortizationYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              },
              "closingCostPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "appraisalRentLimitedNoi": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "qualifyingRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "interestOnlyMonths": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "fixedClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "prepaymentPenalty": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "reserveMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600
              },
              "acquiredDate": {
                "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])))$"
              },
              "requestedClosingDate": {
                "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])))$"
              },
              "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])))$"
              },
              "seasoningMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600
              },
              "npvHorizonMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600
              },
              "discountRatePct": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              }
            },
            "required": [
              "currentValue",
              "annualNoi",
              "currentDebt",
              "currentAnnualDebtService",
              "maxLtvPct",
              "targetDscr",
              "newRatePct",
              "amortizationYears",
              "closingCostPct",
              "appraisalRentLimitedNoi",
              "qualifyingRatePct",
              "interestOnlyMonths",
              "fixedClosingCosts",
              "prepaymentPenalty",
              "reserveMonths",
              "acquiredDate",
              "requestedClosingDate",
              "analysisDate",
              "seasoningMonths",
              "npvHorizonMonths",
              "discountRatePct"
            ],
            "additionalProperties": false
          },
          "preset": {
            "type": "string",
            "enum": [
              "quick-summary",
              "detailed-analysis",
              "amortization-included",
              "full-investor-report"
            ],
            "description": "Optional original investor report layout. Amortization Included requires a source loan schedule or complete debt terms. Full Investor Report includes the material available for the scenario."
          }
        },
        "required": [
          "asOfDate",
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-dscr-thresholds-audit-v1",
      "operation": "investor-dscr-thresholds",
      "title": "DSCR Coverage Thresholds",
      "description": "DSCR Coverage Thresholds with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 10,
      "standaloneCalculation": true,
      "formulaVersion": "lender-qualifier-2.0.0",
      "calculatorPath": "/calculator/investment/dscr-deep-dive",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "method": "commercial-noi-debt-service",
          "rentalIncome": 2500,
          "operatingExpenses": 400,
          "mortgagePayment": 1200,
          "propertyTax": 250,
          "insurance": 150,
          "hoa": 0,
          "appraisalMarketRent": 0,
          "appraisalRentCapPct": 100
        },
        "lenderThresholds": [
          {
            "name": "Conventional",
            "min": 1.25,
            "note": "1.25 minimum"
          },
          {
            "name": "DSCR Loan",
            "min": 1,
            "note": "1.00 reference (some programs may allow less)"
          },
          {
            "name": "Commercial",
            "min": 1.35,
            "note": "1.35 minimum"
          },
          {
            "name": "SBA",
            "min": 1.15,
            "note": "1.15 minimum"
          },
          {
            "name": "Hard Money",
            "min": 1,
            "note": "1.00 minimum"
          }
        ]
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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": {
              "method": {
                "type": "string",
                "enum": [
                  "residential-gross-rent-pitia",
                  "commercial-noi-debt-service"
                ]
              },
              "rentalIncome": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "operatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "mortgagePayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "propertyTax": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "insurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "hoa": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "appraisalMarketRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "appraisalRentCapPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              }
            },
            "required": [
              "method",
              "rentalIncome",
              "operatingExpenses",
              "mortgagePayment",
              "propertyTax",
              "insurance",
              "hoa",
              "appraisalMarketRent",
              "appraisalRentCapPct"
            ],
            "additionalProperties": false
          },
          "lenderThresholds": {
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                },
                "min": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "note": {
                  "type": "string",
                  "maxLength": 120,
                  "pattern": "^[^<>\\u0000-\\u001f]*$"
                }
              },
              "required": [
                "name",
                "min",
                "note"
              ],
              "additionalProperties": false
            }
          },
          "preset": {
            "type": "string",
            "enum": [
              "quick-summary",
              "detailed-analysis",
              "amortization-included",
              "full-investor-report"
            ],
            "description": "Optional original investor report layout. Amortization Included requires a source loan schedule or complete debt terms. Full Investor Report includes the material available for the scenario."
          }
        },
        "required": [
          "asOfDate",
          "scenario",
          "lenderThresholds"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-dscr-audit-v1",
      "operation": "investor-dscr-loan",
      "title": "DSCR Loan Analysis",
      "description": "DSCR Loan Analysis with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "dscr-loan-2.1.0",
      "calculatorPath": "/calculator/investment/dscr",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "grossMonthlyRent": 3000,
          "monthlyOperatingExpenses": 900,
          "lenderDscr": 1.25,
          "interestRate": 8,
          "loanTerm": 30,
          "extraPayment": 0,
          "loanAmount": 300000,
          "monthlyTaxes": 250,
          "monthlyInsurance": 125,
          "monthlyHoa": 0,
          "ioPeriodMonths": 0,
          "prepayScheduleString": "",
          "dscrMode": "owner",
          "sellYear": 2,
          "propertyValue": 400000,
          "maxLtvPct": 75,
          "appraisalMarketRent": 3000,
          "appraisalRentCapPct": 100,
          "debtSizingMethod": "amortizing",
          "analysisDate": "2026-10-16"
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "monthlyOperatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "lenderDscr": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanTerm": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "extraPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanAmount": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "monthlyTaxes": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyInsurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyHoa": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "ioPeriodMonths": {
                "type": "number",
                "minimum": 0,
                "maximum": 600
              },
              "prepayScheduleString": {
                "type": "string",
                "maxLength": 120,
                "pattern": "^[^<>\\u0000-\\u001f]*$"
              },
              "dscrMode": {
                "type": "string",
                "enum": [
                  "owner",
                  "lender"
                ]
              },
              "sellYear": {
                "type": "integer",
                "minimum": 0,
                "maximum": 10000
              },
              "propertyValue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "maxLtvPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "appraisalMarketRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "appraisalRentCapPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "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
          },
          "preset": {
            "type": "string",
            "enum": [
              "quick-summary",
              "detailed-analysis",
              "amortization-included",
              "full-investor-report"
            ],
            "description": "Optional original investor report layout. Amortization Included requires a source loan schedule or complete debt terms. Full Investor Report includes the material available for the scenario."
          }
        },
        "required": [
          "asOfDate",
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-1031-exchange-audit-v1",
      "operation": "investor-1031-exchange",
      "title": "1031 Exchange",
      "description": "1031 Exchange with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "rules-workflows-1.2.0",
      "calculatorPath": "/calculator/investment/1031-exchange",
      "input": {
        "asOfDate": "2026-10-16",
        "transferDate": "2026-07-01",
        "identificationDate": "2026-07-20",
        "replacementReceivedDate": "2026-09-15",
        "returnDueDate": "2027-04-15",
        "relinquished": {
          "salePrice": 500000,
          "originalPurchasePrice": 300000,
          "improvements": 25000,
          "totalDepreciation": 50000,
          "sellingExpenses": 30000,
          "mortgageBalance": 200000
        },
        "replacement": {
          "purchasePrice": 600000,
          "acquisitionCosts": 10000,
          "mortgageAmount": 250000,
          "cashReinvested": 270000
        },
        "relatedParty": false,
        "relatedPartyDispositionDate": "",
        "taxRate": 20,
        "depreciationRecaptureRate": 25,
        "stateTaxRate": 5
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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"
          },
          "transferDate": {
            "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])))$"
          },
          "identificationDate": {
            "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": ""
              }
            ]
          },
          "replacementReceivedDate": {
            "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": ""
              }
            ]
          },
          "returnDueDate": {
            "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": ""
              }
            ]
          },
          "relinquished": {
            "type": "object",
            "properties": {
              "salePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "originalPurchasePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "improvements": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "totalDepreciation": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "sellingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "mortgageBalance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "required": [
              "salePrice",
              "originalPurchasePrice",
              "improvements",
              "totalDepreciation",
              "sellingExpenses",
              "mortgageBalance"
            ],
            "additionalProperties": false
          },
          "replacement": {
            "type": "object",
            "properties": {
              "purchasePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "acquisitionCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "mortgageAmount": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "cashReinvested": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "required": [
              "purchasePrice",
              "acquisitionCosts",
              "mortgageAmount",
              "cashReinvested"
            ],
            "additionalProperties": false
          },
          "relatedParty": {
            "type": "boolean"
          },
          "relatedPartyDispositionDate": {
            "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": ""
              }
            ]
          },
          "taxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "depreciationRecaptureRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "stateTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000000
          },
          "preset": {
            "type": "string",
            "enum": [
              "quick-summary",
              "detailed-analysis",
              "amortization-included",
              "full-investor-report"
            ],
            "description": "Optional original investor report layout. Amortization Included requires a source loan schedule or complete debt terms. Full Investor Report includes the material available for the scenario."
          }
        },
        "required": [
          "asOfDate",
          "transferDate",
          "identificationDate",
          "replacementReceivedDate",
          "returnDueDate",
          "relinquished",
          "replacement",
          "relatedParty",
          "relatedPartyDispositionDate",
          "taxRate",
          "depreciationRecaptureRate",
          "stateTaxRate"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-partner-waterfall-audit-v1",
      "operation": "investor-partner-waterfall",
      "title": "Partner Waterfall",
      "description": "Partner Waterfall with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "rules-workflows-1.1.0",
      "calculatorPath": "/calculator/investment/partner-waterfall",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "startDate": "2026-01-01",
          "investorCapital": 200000,
          "sponsorCapital": 25000,
          "annualCashFlow": 18000,
          "saleProfit": 310000,
          "holdYears": 4,
          "preferredReturnPct": 8,
          "investorSplitPct": 70,
          "sponsorCatchUpPct": 0,
          "clawbackSponsorProfitSharePct": 30,
          "preferredReturnCompounds": false,
          "returnCapitalFirst": true,
          "enableClawback": false
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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": {
              "startDate": {
                "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])))$"
              },
              "investorCapital": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "sponsorCapital": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "annualCashFlow": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "saleProfit": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "holdYears": {
                "type": "integer",
                "minimum": 0,
                "maximum": 50
              },
              "preferredReturnPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "investorSplitPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "sponsorCatchUpPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "clawbackSponsorProfitSharePct": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "preferredReturnCompounds": {
                "type": "boolean"
              },
              "returnCapitalFirst": {
                "type": "boolean"
              },
              "enableClawback": {
                "type": "boolean"
              }
            },
            "required": [
              "startDate",
              "investorCapital",
              "sponsorCapital",
              "annualCashFlow",
              "saleProfit",
              "holdYears",
              "preferredReturnPct",
              "investorSplitPct",
              "sponsorCatchUpPct",
              "clawbackSponsorProfitSharePct",
              "preferredReturnCompounds",
              "returnCapitalFirst",
              "enableClawback"
            ],
            "additionalProperties": false
          },
          "preset": {
            "type": "string",
            "enum": [
              "quick-summary",
              "detailed-analysis",
              "amortization-included",
              "full-investor-report"
            ],
            "description": "Optional original investor report layout. Amortization Included requires a source loan schedule or complete debt terms. Full Investor Report includes the material available for the scenario."
          }
        },
        "required": [
          "asOfDate",
          "scenario"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-wholesale-audit-v1",
      "operation": "investor-wholesale",
      "title": "Wholesale Assignment",
      "description": "Wholesale Assignment with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-wholesale-1.0.0",
      "calculatorPath": "/calculator/investment/wholesale",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "askingPrice": 160000,
          "arv": 300000,
          "repairCosts": 30000,
          "assignmentFee": 10000,
          "investorProfitPercentage": 30,
          "closingCosts": 5000,
          "holdingCosts": 2000
        },
        "wholesaleWorkflow": {
          "path": "assignment",
          "costOverridesEnabled": false,
          "earnestDepositAtRisk": 0,
          "inspectionAndTitleCosts": 5000,
          "assignmentClosingCosts": 0,
          "purchaseClosingCosts": 5000,
          "resaleClosingCosts": 5000,
          "transactionalFundingRatePct": 0
        },
        "jurisdictionStatus": "supported",
        "legalSourceName": "Illustrative transaction terms supplied by caller",
        "legalSourceAsOf": "2026-10-16"
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "arv": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "assignmentFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "investorProfitPercentage": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "closingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "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
              },
              "inspectionAndTitleCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "assignmentClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "purchaseClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "resaleClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "transactionalFundingRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              }
            },
            "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]*$"
          },
          "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
              },
              "repairCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "arv": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "assignmentFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "askingPrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "investorProfitPercentage": {
                "type": "number",
                "minimum": -1000000000000,
                "maximum": 1000000000000
              },
              "holdingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "required": [
              "closingCosts",
              "repairCosts",
              "arv",
              "assignmentFee",
              "askingPrice",
              "investorProfitPercentage",
              "holdingCosts"
            ],
            "additionalProperties": false
          },
          "preset": {
            "type": "string",
            "enum": [
              "quick-summary",
              "detailed-analysis",
              "amortization-included",
              "full-investor-report"
            ],
            "description": "Optional original investor report layout. Amortization Included requires a source loan schedule or complete debt terms. Full Investor Report includes the material available for the scenario."
          }
        },
        "required": [
          "asOfDate",
          "scenario",
          "wholesaleWorkflow",
          "jurisdictionStatus",
          "legalSourceName",
          "legalSourceAsOf"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-fix-and-flip-audit-v1",
      "operation": "investor-fix-and-flip",
      "title": "Fix and Flip Analysis",
      "description": "Fix and Flip Analysis with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-fix-and-flip-1.0.0",
      "calculatorPath": "/calculator/investment/fix-and-flip",
      "input": {
        "scenario": {
          "purchasePrice": 200000,
          "downPayment": 10000,
          "interestRate": 9,
          "loanPoints": 2,
          "purchaseClosingCosts": 6000,
          "rehabCosts": 30000,
          "holdingPeriod": 6,
          "monthlyHoldingCosts": 500,
          "salePrice": 320000,
          "sellingCosts": 19200
        },
        "flipWorkflow": {
          "rehabScheduleEnabled": false,
          "rehabItems": [
            {
              "id": "initial-rehab",
              "amount": 30000,
              "startMonth": 1,
              "durationMonths": 6,
              "dependsOn": []
            }
          ],
          "extensionTermsEnabled": false,
          "extensionStartsMonth": 7,
          "monthlyExtensionFee": 0,
          "annualDefaultRatePct": 9,
          "distributionsEnabled": false,
          "salePriceDistribution": {
            "min": 288000,
            "mode": 320000,
            "max": 352000
          },
          "delayDistributionMonths": {
            "min": 0,
            "mode": 1,
            "max": 3
          },
          "simulationSeed": 20260813,
          "simulationSamples": 750
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "scenario": {
            "type": "object",
            "properties": {
              "purchasePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "downPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "loanPoints": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "purchaseClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "rehabCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingPeriod": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "monthlyHoldingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "salePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "sellingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "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": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "amount": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000
                    },
                    "startMonth": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000
                    },
                    "durationMonths": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 600
                    },
                    "dependsOn": {
                      "maxItems": 120,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "maxLength": 120,
                        "pattern": "^[^<>\\u0000-\\u001f]*$"
                      }
                    }
                  },
                  "required": [
                    "id",
                    "amount",
                    "startMonth",
                    "durationMonths",
                    "dependsOn"
                  ],
                  "additionalProperties": false
                }
              },
              "extensionTermsEnabled": {
                "type": "boolean"
              },
              "extensionStartsMonth": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyExtensionFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "annualDefaultRatePct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "distributionsEnabled": {
                "type": "boolean"
              },
              "salePriceDistribution": {
                "type": "object",
                "properties": {
                  "min": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  },
                  "mode": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  },
                  "max": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  }
                },
                "required": [
                  "min",
                  "mode",
                  "max"
                ],
                "additionalProperties": false
              },
              "delayDistributionMonths": {
                "type": "object",
                "properties": {
                  "min": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  },
                  "mode": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  },
                  "max": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  }
                },
                "required": [
                  "min",
                  "mode",
                  "max"
                ],
                "additionalProperties": false
              },
              "simulationSeed": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "simulationSamples": {
                "type": "integer",
                "minimum": 1,
                "maximum": 2000
              }
            },
            "required": [
              "rehabScheduleEnabled",
              "rehabItems",
              "extensionTermsEnabled",
              "extensionStartsMonth",
              "monthlyExtensionFee",
              "annualDefaultRatePct",
              "distributionsEnabled",
              "salePriceDistribution",
              "delayDistributionMonths",
              "simulationSeed",
              "simulationSamples"
            ],
            "additionalProperties": false
          },
          "preset": {
            "type": "string",
            "enum": [
              "quick-summary",
              "detailed-analysis",
              "amortization-included",
              "full-investor-report"
            ],
            "description": "Optional original investor report layout. Amortization Included requires a source loan schedule or complete debt terms. Full Investor Report includes the material available for the scenario."
          }
        },
        "required": [
          "scenario",
          "flipWorkflow"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "investment-brrrr-audit-v1",
      "operation": "investor-brrrr",
      "title": "BRRRR Refinance",
      "description": "BRRRR Refinance with the calculator’s supporting assumptions and breakdown.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "investor-brrrr-1.0.0",
      "calculatorPath": "/calculator/investment/brrrr",
      "input": {
        "asOfDate": "2026-10-16",
        "scenario": {
          "purchasePrice": 150000,
          "purchaseDownPayment": 7500,
          "purchaseClosingCosts": 4500,
          "rehabCosts": 25000,
          "monthlyRent": 2000,
          "monthlyOperatingExpenses": 600,
          "arv": 250000,
          "refiLTV": 75,
          "refiClosingCosts": 5000,
          "refiInterestRate": 7.5,
          "refiLoanTerm": 30,
          "salePrice": 250000,
          "sellingCosts": 15000,
          "rehabDurationMonths": 3,
          "stabilizationMonths": 2,
          "acquisitionInterestRate": 10,
          "holdingTaxesMonthly": 200,
          "holdingInsuranceMonthly": 100,
          "holdingUtilitiesMonthly": 150,
          "holdingHoaMonthly": 0,
          "stabilizationPmMonthly": 0
        },
        "brrrrWorkflow": {
          "drawScheduleEnabled": false,
          "rehabDraws": [
            {
              "id": "initial-rehab",
              "month": 1,
              "amount": 25000,
              "label": "Initial rehab draw"
            }
          ],
          "refinanceOverridesEnabled": false,
          "requiredDscr": 1.25,
          "programLoanCap": 250000,
          "seasoningMonths": 5,
          "stabilizationProbabilityPct": 100,
          "minimumStabilizationProbabilityPct": 70,
          "prepaymentPenalty": 0,
          "saleFallbackEnabled": false,
          "saleFallback": {
            "date": "2026-10-16",
            "grossProceeds": 250000,
            "sellingCosts": 15000
          }
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "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
              },
              "rehabCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "arv": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "purchaseDownPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "purchaseClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "refiLTV": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "refiClosingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "monthlyOperatingExpenses": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "refiInterestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "refiLoanTerm": {
                "type": "number",
                "minimum": 0,
                "maximum": 50
              },
              "rehabDurationMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600
              },
              "stabilizationMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600
              },
              "acquisitionInterestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingTaxesMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingInsuranceMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingUtilitiesMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "holdingHoaMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "stabilizationPmMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "requiredDscr": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "programLoanCap": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "salePrice": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "sellingCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              }
            },
            "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": "^[^<>\\u0000-\\u001f]*$"
                    },
                    "month": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000000
                    },
                    "amount": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000
                    },
                    "label": {
                      "type": "string",
                      "maxLength": 120,
                      "pattern": "^[^<>\\u0000-\\u001f]*$"
                    }
                  },
                  "required": [
                    "id",
                    "month",
                    "amount",
                    "label"
                  ],
                  "additionalProperties": false
                }
              },
              "refinanceOverridesEnabled": {
                "type": "boolean"
              },
              "requiredDscr": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "programLoanCap": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "seasoningMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 600
              },
              "stabilizationProbabilityPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "minimumStabilizationProbabilityPct": {
                "type": "number",
                "minimum": 0,
                "maximum": 100
              },
              "prepaymentPenalty": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000000
              },
              "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
                  },
                  "sellingCosts": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000000
                  }
                },
                "required": [
                  "date",
                  "grossProceeds",
                  "sellingCosts"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "drawScheduleEnabled",
              "rehabDraws",
              "refinanceOverridesEnabled",
              "requiredDscr",
              "programLoanCap",
              "seasoningMonths",
              "stabilizationProbabilityPct",
              "minimumStabilizationProbabilityPct",
              "prepaymentPenalty",
              "saleFallbackEnabled",
              "saleFallback"
            ],
            "additionalProperties": false
          },
          "preset": {
            "type": "string",
            "enum": [
              "quick-summary",
              "detailed-analysis",
              "amortization-included",
              "full-investor-report"
            ],
            "description": "Optional original investor report layout. Amortization Included requires a source loan schedule or complete debt terms. Full Investor Report includes the material available for the scenario."
          }
        },
        "required": [
          "asOfDate",
          "scenario",
          "brrrrWorkflow"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "purchase-cash-and-rate-strategies",
      "operation": "purchase-cash-and-rate-strategies",
      "title": "Quoted purchase offers",
      "description": "Quoted purchase offers using caller-supplied prices and a settled numerical comparison.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "purchase-cash-and-rate-strategies-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/analyze",
      "input": {
        "pricing": {
          "source": "Illustrative quote sheet",
          "owner": "Example Planning Group",
          "asOf": "2026-11-14",
          "ownership": "caller-owned"
        },
        "scenario": {
          "homePrice": 300000,
          "cashAvailable": 65000,
          "reserveTarget": 10000,
          "horizonMonths": 12,
          "horizonHomeValue": 300000,
          "monthlyPropertyTax": 250,
          "monthlyHomeInsurance": 100,
          "monthlyHoa": 50,
          "options": [
            {
              "downPayment": 60000,
              "quotedAnnualRate": 0,
              "termYears": 20,
              "closingCashCosts": 5000,
              "pointCost": 0,
              "lenderCredit": 0,
              "financedFees": 0,
              "monthlyMortgageInsurance": 0,
              "mortgageInsuranceMonths": 0,
              "immediateProjectCash": 0
            },
            {
              "downPayment": 30000,
              "quotedAnnualRate": 0,
              "termYears": 20,
              "closingCashCosts": 5000,
              "pointCost": 0,
              "lenderCredit": 1000,
              "financedFees": 0,
              "monthlyMortgageInsurance": 110,
              "mortgageInsuranceMonths": 84,
              "immediateProjectCash": 6000
            }
          ]
        }
      },
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "scenario",
          "pricing"
        ],
        "properties": {
          "scenario": {
            "type": "object",
            "properties": {
              "homePrice": {
                "type": "number",
                "minimum": 0.01,
                "maximum": 100000000
              },
              "cashAvailable": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "reserveTarget": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "horizonMonths": {
                "type": "integer",
                "minimum": 0,
                "maximum": 480
              },
              "horizonHomeValue": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "monthlyPropertyTax": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000
              },
              "monthlyHomeInsurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000
              },
              "monthlyHoa": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000
              },
              "options": {
                "type": "array",
                "minItems": 2,
                "maxItems": 5,
                "items": {
                  "type": "object",
                  "properties": {
                    "downPayment": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100000000
                    },
                    "quotedAnnualRate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "anyOf": [
                        {
                          "const": 0
                        },
                        {
                          "minimum": 0.001
                        }
                      ]
                    },
                    "termYears": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 40
                    },
                    "closingCashCosts": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100000000
                    },
                    "pointCost": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100000000
                    },
                    "lenderCredit": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100000000
                    },
                    "financedFees": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100000000
                    },
                    "monthlyMortgageInsurance": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000
                    },
                    "mortgageInsuranceMonths": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 480
                    },
                    "immediateProjectCash": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100000000
                    },
                    "financedGovernmentFee": {
                      "maximum": 100000000,
                      "minimum": 0,
                      "type": "number"
                    },
                    "loanProgram": {
                      "enum": [
                        "conventional",
                        "fha",
                        "va",
                        "usda",
                        "jumbo",
                        "other"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "downPayment",
                    "quotedAnnualRate",
                    "termYears",
                    "closingCashCosts",
                    "pointCost",
                    "lenderCredit",
                    "financedFees",
                    "monthlyMortgageInsurance",
                    "mortgageInsuranceMonths",
                    "immediateProjectCash"
                  ],
                  "additionalProperties": false
                }
              },
              "primaryFhaRemodel": {
                "additionalProperties": false,
                "properties": {
                  "annualAppreciationPct": {
                    "maximum": 50,
                    "minimum": -50,
                    "type": "number"
                  },
                  "optionIndex": {
                    "maximum": 4,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "plannedBudget": {
                    "exclusiveMinimum": 0,
                    "maximum": 100000000,
                    "type": "number"
                  }
                },
                "required": [
                  "optionIndex",
                  "plannedBudget"
                ],
                "type": "object"
              }
            },
            "required": [
              "homePrice",
              "cashAvailable",
              "reserveTarget",
              "horizonMonths",
              "horizonHomeValue",
              "monthlyPropertyTax",
              "monthlyHomeInsurance",
              "monthlyHoa",
              "options"
            ],
            "additionalProperties": false
          },
          "pricing": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object",
            "properties": {
              "source": {
                "type": "string",
                "minLength": 1,
                "maxLength": 48,
                "pattern": "^[^<>\\p{Cc}]+$",
                "description": "Name of the supplied price sheet or quote set."
              },
              "owner": {
                "type": "string",
                "minLength": 1,
                "maxLength": 48,
                "pattern": "^[^<>\\p{Cc}]+$",
                "description": "Owner of the quoted pricing."
              },
              "asOf": {
                "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": "Effective date of the price sheet or quotes."
              },
              "ownership": {
                "type": "string",
                "enum": [
                  "caller-owned",
                  "authorized-for-report-use"
                ],
                "description": "Caller declaration covering use of the pricing in this report."
              }
            },
            "required": [
              "source",
              "owner",
              "asOf",
              "ownership"
            ],
            "additionalProperties": false
          }
        }
      }
    },
    {
      "template": "quoted-refinance-alternatives",
      "operation": "quoted-refinance-alternatives",
      "title": "Quoted refinance alternatives",
      "description": "Quoted refinance alternatives using caller-supplied prices and a settled numerical comparison.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "quoted-refinance-alternatives-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/analyze",
      "input": {
        "pricing": {
          "source": "Illustrative quote sheet",
          "owner": "Example Planning Group",
          "asOf": "2026-11-14",
          "ownership": "caller-owned"
        },
        "scenario": {
          "profile": {
            "current": {
              "balance": 300000,
              "rate": 7.25,
              "monthlyPI": 2229,
              "monthsRemaining": 288,
              "loanType": "conventional",
              "hasMI": true
            },
            "property": {
              "estimatedValue": 400000,
              "originalValue": 380000,
              "type": "single-family",
              "occupancy": "primary"
            },
            "borrower": {
              "creditTier": "excellent",
              "isVeteran": false,
              "seasonedSixMonths": true,
              "expectedYearsToStay": 7
            },
            "goals": [
              "lower-payment"
            ]
          },
          "quotes": [
            {
              "mode": "lower-rate",
              "noteRate": 6,
              "closingCosts": 3500
            },
            {
              "mode": "cash-out",
              "noteRate": 6.5,
              "closingCosts": 5000
            }
          ]
        }
      },
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "scenario",
          "pricing"
        ],
        "properties": {
          "scenario": {
            "type": "object",
            "properties": {
              "profile": {
                "type": "object",
                "properties": {
                  "current": {
                    "type": "object",
                    "properties": {
                      "balance": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 1000000000,
                        "description": "USD"
                      },
                      "rate": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 50,
                        "description": "Percent"
                      },
                      "monthlyPI": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "USD per month"
                      },
                      "monthsRemaining": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 600,
                        "description": "Whole months"
                      },
                      "originalAmount": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 1000000000,
                        "description": "USD"
                      },
                      "loanType": {
                        "type": "string",
                        "enum": [
                          "conventional",
                          "fha",
                          "va",
                          "usda",
                          "arm"
                        ]
                      },
                      "hasMI": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "balance",
                      "rate",
                      "monthlyPI",
                      "monthsRemaining",
                      "loanType",
                      "hasMI"
                    ],
                    "additionalProperties": false
                  },
                  "property": {
                    "type": "object",
                    "properties": {
                      "estimatedValue": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 1000000000,
                        "description": "USD"
                      },
                      "originalValue": {
                        "type": "number",
                        "minimum": 0.01,
                        "maximum": 1000000000,
                        "description": "USD"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "single-family",
                          "condo",
                          "multi-unit"
                        ]
                      },
                      "occupancy": {
                        "type": "string",
                        "enum": [
                          "primary",
                          "second-home",
                          "investment"
                        ]
                      }
                    },
                    "required": [
                      "estimatedValue",
                      "type",
                      "occupancy"
                    ],
                    "additionalProperties": false
                  },
                  "borrower": {
                    "type": "object",
                    "properties": {
                      "creditTier": {
                        "type": "string",
                        "enum": [
                          "excellent",
                          "good",
                          "fair",
                          "below"
                        ]
                      },
                      "isVeteran": {
                        "type": "boolean"
                      },
                      "seasonedSixMonths": {
                        "type": "boolean"
                      },
                      "expectedYearsToStay": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 50,
                        "description": "Years"
                      },
                      "marginalTaxRate": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1,
                        "description": "Fraction"
                      }
                    },
                    "required": [
                      "creditTier",
                      "isVeteran",
                      "seasonedSixMonths"
                    ],
                    "additionalProperties": false
                  },
                  "goals": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "lower-payment",
                        "pay-off-faster",
                        "cash-out",
                        "drop-mi",
                        "arm-to-fixed",
                        "consolidate-debts"
                      ]
                    },
                    "minItems": 0,
                    "maxItems": 6
                  },
                  "debtsToConsolidate": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "description": {
                          "type": "string",
                          "maxLength": 64
                        },
                        "balance": {
                          "type": "number",
                          "minimum": 0.01,
                          "maximum": 1000000000,
                          "description": "USD"
                        },
                        "apr": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 50,
                          "description": "Percent"
                        },
                        "monthlyPayment": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1000000000,
                          "description": "USD per month"
                        }
                      },
                      "required": [
                        "description",
                        "balance",
                        "apr",
                        "monthlyPayment"
                      ],
                      "additionalProperties": false
                    },
                    "minItems": 0,
                    "maxItems": 20
                  },
                  "cashOutAmount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "USD"
                  },
                  "extraPrincipalPerMonth": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 10000000,
                    "description": "Additional principal per month on the current loan in USD."
                  }
                },
                "required": [
                  "current",
                  "property",
                  "borrower",
                  "goals"
                ],
                "additionalProperties": false
              },
              "quotes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "mode": {
                      "type": "string",
                      "enum": [
                        "lower-rate",
                        "shorter-term",
                        "pay-same-save-more",
                        "drop-pmi",
                        "fha-to-conv",
                        "arm-to-fixed",
                        "cash-out",
                        "cash-out-consolidate",
                        "va-irrrl",
                        "fha-streamline"
                      ]
                    },
                    "noteRate": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 50,
                      "description": "Percent"
                    },
                    "closingCosts": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "USD"
                    }
                  },
                  "required": [
                    "mode",
                    "noteRate",
                    "closingCosts"
                  ],
                  "additionalProperties": false
                },
                "minItems": 1,
                "maxItems": 10
              },
              "includeCurrentAlternatives": {
                "type": "boolean",
                "description": "Include the current loan and informational recast. Include extra principal when supplied."
              },
              "matchGoals": {
                "type": "boolean",
                "description": "Apply the original mortgage goal filter."
              },
              "sortBy": {
                "type": "string",
                "enum": [
                  "biggest-monthly-savings",
                  "biggest-lifetime-savings",
                  "fastest-break-even",
                  "most-cash-received"
                ],
                "description": "Use the original strategy ordering by the stated criterion."
              }
            },
            "required": [
              "profile",
              "quotes"
            ],
            "additionalProperties": false
          },
          "pricing": {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object",
            "properties": {
              "source": {
                "type": "string",
                "minLength": 1,
                "maxLength": 48,
                "pattern": "^[^<>\\p{Cc}]+$",
                "description": "Name of the supplied price sheet or quote set."
              },
              "owner": {
                "type": "string",
                "minLength": 1,
                "maxLength": 48,
                "pattern": "^[^<>\\p{Cc}]+$",
                "description": "Owner of the quoted pricing."
              },
              "asOf": {
                "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": "Effective date of the price sheet or quotes."
              },
              "ownership": {
                "type": "string",
                "enum": [
                  "caller-owned",
                  "authorized-for-report-use"
                ],
                "description": "Caller declaration covering use of the pricing in this report."
              }
            },
            "required": [
              "source",
              "owner",
              "asOf",
              "ownership"
            ],
            "additionalProperties": false
          }
        }
      }
    },
    {
      "template": "mortgage-apr",
      "operation": "prepare-mortgage-apr",
      "title": "Mortgage APR",
      "description": "Mortgage APR prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-apr-1.0.0",
      "calculatorPath": "/calculator/mortgage/apr",
      "input": {
        "loanAmount": 300000,
        "interestRate": 6.25,
        "loanTermYears": 30,
        "closingCosts": 5100
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "closingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          }
        },
        "required": [
          "loanAmount",
          "interestRate",
          "loanTermYears",
          "closingCosts"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-rent-vs-buy",
      "operation": "prepare-mortgage-rent-vs-buy",
      "title": "Rent versus buy",
      "description": "Rent versus buy prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-rent-vs-buy-1.0.0",
      "calculatorPath": "/calculator/mortgage/rent-vs-buy",
      "input": {
        "homePrice": 475000,
        "downPaymentPercent": 5,
        "mortgageRate": 6.75,
        "loanTermYears": 30,
        "propertyTaxRate": 1.1,
        "annualInsurance": 1662,
        "maintenanceRate": 1,
        "hoaMonthly": 0,
        "closingCostRate": 3,
        "sellingCostRate": 6,
        "homeAppreciationRate": 3.5,
        "monthlyRent": 2650,
        "annualRentIncrease": 3,
        "rentersInsuranceMonthly": 25,
        "investmentReturnRate": 7,
        "timeHorizonYears": 10
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "homePrice": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "downPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "mortgageRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "propertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "annualInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "maintenanceRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "hoaMonthly": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "closingCostRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "sellingCostRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "homeAppreciationRate": {
            "type": "number",
            "minimum": -50,
            "maximum": 50,
            "description": "Signed percentage points (−1 means a decrease of one point)."
          },
          "monthlyRent": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "annualRentIncrease": {
            "type": "number",
            "minimum": -50,
            "maximum": 50,
            "description": "Signed percentage points (−1 means a decrease of one point)."
          },
          "rentersInsuranceMonthly": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "investmentReturnRate": {
            "type": "number",
            "minimum": -50,
            "maximum": 50,
            "description": "Signed percentage points (−1 means a decrease of one point)."
          },
          "timeHorizonYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50
          }
        },
        "required": [
          "homePrice",
          "downPaymentPercent",
          "mortgageRate",
          "loanTermYears",
          "propertyTaxRate",
          "annualInsurance",
          "maintenanceRate",
          "hoaMonthly",
          "closingCostRate",
          "sellingCostRate",
          "homeAppreciationRate",
          "monthlyRent",
          "annualRentIncrease",
          "rentersInsuranceMonthly",
          "investmentReturnRate",
          "timeHorizonYears"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-seller-net",
      "operation": "prepare-mortgage-seller-net",
      "title": "Seller net sheet",
      "description": "Seller net sheet prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-seller-net-1.0.0",
      "calculatorPath": "/calculator/mortgage/seller-net",
      "input": {
        "salePrice": 450000,
        "mortgageBalance": 280000,
        "commissionPercent": 5,
        "titleInsurance": 0,
        "titleInsurancePaidByBuyer": false,
        "transferTaxPercent": 0.1,
        "attorneyFees": 500,
        "hoaTransferFee": 0,
        "outstandingLiens": 0,
        "repairsConcessions": 1200,
        "proratedPropertyTax": 900
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "salePrice": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "mortgageBalance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "commissionPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "titleInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "titleInsurancePaidByBuyer": {
            "type": "boolean"
          },
          "transferTaxPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "attorneyFees": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "hoaTransferFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "outstandingLiens": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "repairsConcessions": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "proratedPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          }
        },
        "required": [
          "salePrice",
          "mortgageBalance",
          "commissionPercent",
          "titleInsurance",
          "titleInsurancePaidByBuyer",
          "transferTaxPercent",
          "attorneyFees",
          "hoaTransferFee",
          "outstandingLiens",
          "repairsConcessions",
          "proratedPropertyTax"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-income-required",
      "operation": "prepare-mortgage-income-required",
      "title": "Income required",
      "description": "Income required prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-income-required-1.0.0",
      "calculatorPath": "/calculator/mortgage/income-required",
      "input": {
        "program": "conventional",
        "homePrice": 400000,
        "downPaymentPercent": 10,
        "interestRate": 6.75,
        "loanTermYears": 30,
        "annualPropertyTaxRate": 1.2,
        "annualInsurance": 1600,
        "monthlyHOA": 100,
        "monthlyDebts": 500,
        "targetDTI": 43
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "program": {
            "type": "string",
            "enum": [
              "conventional",
              "fha",
              "va",
              "usda"
            ]
          },
          "homePrice": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "downPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "annualPropertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "annualInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "monthlyHOA": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "monthlyDebts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "targetDTI": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          }
        },
        "required": [
          "program",
          "homePrice",
          "downPaymentPercent",
          "interestRate",
          "loanTermYears",
          "annualPropertyTaxRate",
          "annualInsurance",
          "monthlyHOA",
          "monthlyDebts",
          "targetDTI"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-fha-mip",
      "operation": "prepare-mortgage-fha-mip",
      "title": "FHA mortgage insurance",
      "description": "FHA mortgage insurance prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-fha-mip-1.0.0",
      "calculatorPath": "/calculator/mortgage/fha-mip",
      "input": {
        "loanAmount": 300000,
        "ltv": 96.5,
        "interestRate": 6.5,
        "loanTerm": 30,
        "upfrontMipFinanced": true
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "ltv": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "upfrontMipFinanced": {
            "type": "boolean"
          }
        },
        "required": [
          "loanAmount",
          "ltv",
          "interestRate",
          "loanTerm",
          "upfrontMipFinanced"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-usda-guarantee-fee",
      "operation": "prepare-mortgage-usda-guarantee-fee",
      "title": "USDA guarantee fee",
      "description": "USDA guarantee fee prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-usda-guarantee-fee-1.0.0",
      "calculatorPath": "/calculator/mortgage/usda",
      "input": {
        "homePrice": 250000,
        "loanAmount": 250000,
        "interestRate": 6.5,
        "loanTermYears": 30,
        "upfrontFeeTreatment": "financed",
        "financedUpfrontFeePercent": 100
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "homePrice": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "upfrontFeeTreatment": {
            "type": "string",
            "enum": [
              "financed",
              "partial",
              "paid_upfront"
            ]
          },
          "financedUpfrontFeePercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          }
        },
        "required": [
          "homePrice",
          "loanAmount",
          "interestRate",
          "loanTermYears",
          "upfrontFeeTreatment",
          "financedUpfrontFeePercent"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-va-funding-fee",
      "operation": "prepare-mortgage-va-funding-fee",
      "title": "VA funding fee",
      "description": "VA funding fee prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-va-funding-fee-1.0.0",
      "calculatorPath": "/calculator/mortgage/va-fee",
      "input": {
        "loanAmount": 300000,
        "downPaymentPercent": 0,
        "fundingFeeFinanced": true,
        "isFirstTimeUse": true,
        "isDisabilityExempt": false,
        "reserveOrNationalGuard": false,
        "loanPurpose": "purchase"
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "downPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "fundingFeeFinanced": {
            "type": "boolean"
          },
          "isFirstTimeUse": {
            "type": "boolean"
          },
          "isDisabilityExempt": {
            "type": "boolean"
          },
          "reserveOrNationalGuard": {
            "type": "boolean"
          },
          "loanPurpose": {
            "type": "string",
            "enum": [
              "purchase",
              "cashOutRefinance",
              "streamlineRefinance",
              "rateTermRefinance",
              "nadlPurchase",
              "nadlRefinance",
              "manufacturedHome",
              "assumption",
              "vendee"
            ]
          }
        },
        "required": [
          "loanAmount",
          "downPaymentPercent",
          "fundingFeeFinanced",
          "isFirstTimeUse",
          "isDisabilityExempt",
          "reserveOrNationalGuard",
          "loanPurpose"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-points-buydown",
      "operation": "prepare-mortgage-points-buydown",
      "title": "Mortgage points buydown",
      "description": "Mortgage points buydown prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-points-buydown-1.0.0",
      "calculatorPath": "/calculator/mortgage/points-buydown",
      "input": {
        "loanAmount": 400000,
        "baselineRate": 6.875,
        "buydownRate": 6.5,
        "buydownCost": 6000,
        "expectedHoldYears": 7,
        "loanTermYears": 30
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "baselineRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "buydownRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "buydownCost": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "expectedHoldYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "loanTermYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          }
        },
        "required": [
          "loanAmount",
          "baselineRate",
          "buydownRate",
          "buydownCost",
          "expectedHoldYears",
          "loanTermYears"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-refinance-lower-payment",
      "operation": "prepare-mortgage-refinance-lower-payment",
      "title": "Refinance payment comparison",
      "description": "Refinance payment comparison prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-refinance-lower-payment-1.0.0",
      "calculatorPath": "/calculator/mortgage/refinance/lower-payment",
      "input": {
        "balance": 250000,
        "rate": 7,
        "years": 25,
        "newRate": 6.25,
        "newYears": 30,
        "costs": 4500,
        "roll": false,
        "value": 400000,
        "annualPropertyTax": 3600,
        "annualHomeInsurance": 1475
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "balance": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "rate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "years": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "newRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "newYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "costs": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "roll": {
            "type": "boolean",
            "description": "Roll closing costs into the new loan."
          },
          "value": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "Current property value in USD."
          },
          "annualPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "annualHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          }
        },
        "required": [
          "balance",
          "rate",
          "years",
          "newRate",
          "newYears",
          "costs",
          "roll",
          "value",
          "annualPropertyTax",
          "annualHomeInsurance"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-refinance-payoff-faster",
      "operation": "prepare-mortgage-refinance-lower-payment",
      "title": "Shorter-term refinance",
      "description": "Shorter-term refinance prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-refinance-lower-payment-1.0.0",
      "calculatorPath": "/calculator/mortgage/refinance/payoff-faster",
      "input": {
        "balance": 250000,
        "rate": 7,
        "years": 25,
        "newRate": 6.25,
        "newYears": 15,
        "costs": 4500,
        "roll": false,
        "value": 400000,
        "annualPropertyTax": 3600,
        "annualHomeInsurance": 1475
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "balance": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "rate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "years": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "newRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "newYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "costs": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "roll": {
            "type": "boolean",
            "description": "Roll closing costs into the new loan."
          },
          "value": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "Current property value in USD."
          },
          "annualPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "annualHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          }
        },
        "required": [
          "balance",
          "rate",
          "years",
          "newRate",
          "newYears",
          "costs",
          "roll",
          "value",
          "annualPropertyTax",
          "annualHomeInsurance"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-refinance-drop-pmi",
      "operation": "prepare-mortgage-refinance-drop-pmi",
      "title": "Refinance and mortgage insurance",
      "description": "Refinance and mortgage insurance prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-refinance-drop-pmi-1.0.0",
      "calculatorPath": "/calculator/mortgage/refinance/drop-pmi",
      "input": {
        "balance": 252000,
        "rate": 7,
        "years": 25,
        "newRate": 6.25,
        "newYears": 30,
        "costs": 4500,
        "roll": false,
        "value": 320000,
        "annualPropertyTax": 3600,
        "annualHomeInsurance": 1475,
        "pmi": 128
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "balance": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "rate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "years": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "newRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "newYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "costs": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "roll": {
            "type": "boolean",
            "description": "Roll closing costs into the new loan."
          },
          "value": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "Current property value in USD."
          },
          "annualPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "annualHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "pmi": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "Current monthly private mortgage insurance in USD."
          }
        },
        "required": [
          "balance",
          "rate",
          "years",
          "newRate",
          "newYears",
          "costs",
          "roll",
          "value",
          "annualPropertyTax",
          "annualHomeInsurance",
          "pmi"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-cash-out",
      "operation": "prepare-mortgage-cash-out",
      "title": "Cash-out refinance",
      "description": "Cash-out refinance prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-cash-out-1.0.0",
      "calculatorPath": "/calculator/mortgage/refinance/cash-out",
      "input": {
        "balance": 250000,
        "rate": 7,
        "years": 25,
        "newRate": 6.25,
        "newYears": 30,
        "costs": 4500,
        "roll": false,
        "value": 400000,
        "annualPropertyTax": 3600,
        "annualHomeInsurance": 1475,
        "cash": 40000
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "balance": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "rate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "years": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "newRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "newYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "costs": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "roll": {
            "type": "boolean",
            "description": "Roll closing costs into the new loan."
          },
          "value": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "Current property value in USD."
          },
          "annualPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "annualHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "cash": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "Cash to take out in USD."
          }
        },
        "required": [
          "balance",
          "rate",
          "years",
          "newRate",
          "newYears",
          "costs",
          "roll",
          "value",
          "annualPropertyTax",
          "annualHomeInsurance",
          "cash"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-cash-out-debt-payoff",
      "operation": "prepare-mortgage-cash-out-debt-payoff",
      "title": "Cash-out debt payoff",
      "description": "Cash-out debt payoff prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-cash-out-debt-payoff-1.0.0",
      "calculatorPath": "/calculator/mortgage/refinance/cash-out",
      "input": {
        "current": {
          "balance": 280000,
          "rate": 7.25,
          "months": 336
        },
        "newRate": 6.75,
        "newYears": 25,
        "costs": 8000,
        "value": 500000,
        "annualPropertyTax": 4950,
        "annualHomeInsurance": 1575,
        "monthlyIncome": 8000,
        "otherDebtsMonthly": 0,
        "debts": [
          {
            "kind": "car",
            "balance": 22000,
            "monthlyPayment": 536.05,
            "monthsLeft": 48,
            "ratePercent": 0
          }
        ]
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "current": {
            "type": "object",
            "properties": {
              "balance": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000000000,
                "description": "US dollars, greater than zero."
              },
              "rate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "months": {
                "type": "integer",
                "minimum": 1,
                "maximum": 600,
                "description": "Whole months of payments."
              }
            },
            "required": [
              "balance",
              "rate",
              "months"
            ],
            "additionalProperties": false
          },
          "newRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "newYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "costs": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "value": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "annualPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "annualHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "monthlyIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "otherDebtsMonthly": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "debts": {
            "minItems": 1,
            "maxItems": 8,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "card",
                    "car",
                    "student",
                    "personal",
                    "other"
                  ]
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 24,
                  "pattern": "^[^<>\\p{Cc}]+$",
                  "description": "Short plain-text scenario label."
                },
                "balance": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars, greater than zero."
                },
                "monthlyPayment": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars, greater than zero."
                },
                "monthsLeft": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 600
                },
                "ratePercent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Percentage points (6.5 means 6.5%)."
                }
              },
              "required": [
                "kind",
                "balance",
                "monthlyPayment",
                "monthsLeft",
                "ratePercent"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "current",
          "newRate",
          "newYears",
          "costs",
          "value",
          "annualPropertyTax",
          "annualHomeInsurance",
          "monthlyIncome",
          "otherDebtsMonthly",
          "debts"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-bank-statement-estimate",
      "operation": "prepare-mortgage-bank-statement-estimate",
      "title": "Bank-statement affordability estimate",
      "description": "Bank-statement affordability estimate prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-bank-statement-estimate-1.0.0",
      "calculatorPath": "/calculator/mortgage/affordability",
      "input": {
        "months": 12,
        "completeHistory": true,
        "treatment": "business",
        "recentDeposits": 240000,
        "recentExcluded": 40000,
        "priorDeposits": 0,
        "priorExcluded": 0,
        "expensePercent": 35,
        "ownershipPercent": 100,
        "useLowerRecent": true,
        "otherMonthlyIncome": 0,
        "monthlyDebts": 700,
        "downPaymentCash": 60000,
        "interestRate": 8,
        "loanTerm": 30,
        "targetDti": 43,
        "maxLtv": 80,
        "loanLimit": 0,
        "propertyTaxRate": 1.1,
        "insuranceRate": 0.35,
        "monthlyHoa": 0,
        "otherMonthlyHousing": 0,
        "reserveMonths": 6,
        "postClosingReserves": 30000
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "months": {
            "anyOf": [
              {
                "type": "number",
                "const": 12
              },
              {
                "type": "number",
                "const": 24
              }
            ]
          },
          "completeHistory": {
            "type": "boolean",
            "const": true
          },
          "treatment": {
            "type": "string",
            "enum": [
              "business",
              "personal-distributions"
            ]
          },
          "recentDeposits": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "recentExcluded": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "priorDeposits": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "priorExcluded": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "expensePercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "ownershipPercent": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "useLowerRecent": {
            "type": "boolean"
          },
          "otherMonthlyIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "monthlyDebts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "downPaymentCash": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 50,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "targetDti": {
            "type": "number",
            "minimum": 1,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "maxLtv": {
            "type": "number",
            "minimum": 1,
            "maximum": 99.9,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "loanLimit": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "propertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "insuranceRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "monthlyHoa": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "otherMonthlyHousing": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "reserveMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 60
          },
          "postClosingReserves": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          }
        },
        "required": [
          "months",
          "completeHistory",
          "treatment",
          "recentDeposits",
          "recentExcluded",
          "priorDeposits",
          "priorExcluded",
          "expensePercent",
          "ownershipPercent",
          "useLowerRecent",
          "otherMonthlyIncome",
          "monthlyDebts",
          "downPaymentCash",
          "interestRate",
          "loanTerm",
          "targetDti",
          "maxLtv",
          "loanLimit",
          "propertyTaxRate",
          "insuranceRate",
          "monthlyHoa",
          "otherMonthlyHousing",
          "reserveMonths",
          "postClosingReserves"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-dti-optimizer",
      "operation": "prepare-mortgage-dti-optimizer",
      "title": "Debt-to-income payoff comparison",
      "description": "Debt-to-income payoff comparison prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-dti-optimizer-1.0.0",
      "calculatorPath": "/calculator/mortgage/dti-optimizer",
      "input": {
        "monthlyIncome": 8000,
        "housingPayment": 2000,
        "debts": [
          {
            "description": "Car loan",
            "balance": 11500,
            "monthlyPayment": 400,
            "willPayOff": true
          }
        ]
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "monthlyIncome": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "housingPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "debts": {
            "maxItems": 24,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64,
                  "pattern": "^[^<>\\p{Cc}]+$",
                  "description": "Short plain-text scenario label."
                },
                "balance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "monthlyPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "willPayOff": {
                  "type": "boolean"
                }
              },
              "required": [
                "description",
                "balance",
                "monthlyPayment",
                "willPayOff"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "monthlyIncome",
          "housingPayment",
          "debts"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-payment",
      "operation": "prepare-mortgage-payment",
      "title": "Mortgage payment",
      "description": "Mortgage payment prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-payment-1.0.0",
      "calculatorPath": "/calculator/mortgage",
      "input": {
        "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
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "propertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Annual property tax in dollars."
          },
          "homeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Annual home insurance in dollars."
          },
          "hoaFees": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Monthly HOA dues in dollars."
          },
          "estimatedValue": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Property value in dollars. Zero omits the valuation."
          },
          "useEstimatedPmi": {
            "type": "boolean"
          },
          "extraPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Extra principal each month."
          },
          "payoffFrequency": {
            "type": "string",
            "enum": [
              "monthly",
              "biweekly"
            ]
          },
          "yearlyExtra": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "oneTimeExtra": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "oneTimeExtraMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months of payments."
          }
        },
        "required": [
          "loanAmount",
          "interestRate",
          "loanTerm",
          "propertyTax",
          "homeInsurance",
          "hoaFees",
          "estimatedValue",
          "useEstimatedPmi",
          "extraPayment",
          "payoffFrequency",
          "yearlyExtra",
          "oneTimeExtra",
          "oneTimeExtraMonth"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-payment-comparison",
      "operation": "prepare-mortgage-payment-comparison",
      "title": "Mortgage payment comparison",
      "description": "Mortgage payment comparison prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-payment-comparison-1.0.0",
      "calculatorPath": "/calculator/mortgage",
      "input": {
        "labelA": "30 years",
        "labelB": "20 years",
        "a": {
          "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
        },
        "b": {
          "loanAmount": 300000,
          "interestRate": 6.25,
          "loanTerm": 20,
          "propertyTax": 3600,
          "homeInsurance": 1200,
          "hoaFees": 0,
          "estimatedValue": 400000,
          "useEstimatedPmi": false,
          "extraPayment": 0,
          "payoffFrequency": "monthly",
          "yearlyExtra": 0,
          "oneTimeExtra": 0,
          "oneTimeExtraMonth": 12
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "labelA": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "pattern": "^[^<>\\p{Cc}]+$",
            "description": "Short plain-text scenario label."
          },
          "labelB": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "pattern": "^[^<>\\p{Cc}]+$",
            "description": "Short plain-text scenario label."
          },
          "a": {
            "type": "object",
            "properties": {
              "loanAmount": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000000000,
                "description": "US dollars, greater than zero."
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "loanTerm": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Whole years of payments."
              },
              "propertyTax": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Annual property tax in dollars."
              },
              "homeInsurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Annual home insurance in dollars."
              },
              "hoaFees": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Monthly HOA dues in dollars."
              },
              "estimatedValue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Property value in dollars. Zero omits the valuation."
              },
              "useEstimatedPmi": {
                "type": "boolean"
              },
              "extraPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Extra principal each month."
              },
              "payoffFrequency": {
                "type": "string",
                "enum": [
                  "monthly",
                  "biweekly"
                ]
              },
              "yearlyExtra": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "oneTimeExtra": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "oneTimeExtraMonth": {
                "type": "integer",
                "minimum": 1,
                "maximum": 600,
                "description": "Whole months of payments."
              }
            },
            "required": [
              "loanAmount",
              "interestRate",
              "loanTerm",
              "propertyTax",
              "homeInsurance",
              "hoaFees",
              "estimatedValue",
              "useEstimatedPmi",
              "extraPayment",
              "payoffFrequency",
              "yearlyExtra",
              "oneTimeExtra",
              "oneTimeExtraMonth"
            ],
            "additionalProperties": false
          },
          "b": {
            "type": "object",
            "properties": {
              "loanAmount": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000000000,
                "description": "US dollars, greater than zero."
              },
              "interestRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "loanTerm": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Whole years of payments."
              },
              "propertyTax": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Annual property tax in dollars."
              },
              "homeInsurance": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Annual home insurance in dollars."
              },
              "hoaFees": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Monthly HOA dues in dollars."
              },
              "estimatedValue": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Property value in dollars. Zero omits the valuation."
              },
              "useEstimatedPmi": {
                "type": "boolean"
              },
              "extraPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Extra principal each month."
              },
              "payoffFrequency": {
                "type": "string",
                "enum": [
                  "monthly",
                  "biweekly"
                ]
              },
              "yearlyExtra": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "oneTimeExtra": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "oneTimeExtraMonth": {
                "type": "integer",
                "minimum": 1,
                "maximum": 600,
                "description": "Whole months of payments."
              }
            },
            "required": [
              "loanAmount",
              "interestRate",
              "loanTerm",
              "propertyTax",
              "homeInsurance",
              "hoaFees",
              "estimatedValue",
              "useEstimatedPmi",
              "extraPayment",
              "payoffFrequency",
              "yearlyExtra",
              "oneTimeExtra",
              "oneTimeExtraMonth"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "labelA",
          "labelB",
          "a",
          "b"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-loan-type-comparison",
      "operation": "prepare-mortgage-loan-type-comparison",
      "title": "Loan type comparison",
      "description": "Loan type comparison prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-loan-type-comparison-1.0.0",
      "calculatorPath": "/calculator/mortgage/analyze",
      "input": {
        "options": [
          {
            "productName": "30-year fixed",
            "loanAmount": 300000,
            "interestRate": 6.75,
            "termYears": 30,
            "loanType": "fixed",
            "discountPoints": 0,
            "closingCosts": 4000,
            "lenderCredits": 0
          },
          {
            "productName": "15-year fixed",
            "loanAmount": 300000,
            "interestRate": 6,
            "termYears": 15,
            "loanType": "fixed",
            "discountPoints": 0,
            "closingCosts": 4000,
            "lenderCredits": 0
          }
        ]
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "options": {
            "minItems": 2,
            "maxItems": 4,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "productName": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64,
                  "pattern": "^[^<>\\p{Cc}]+$",
                  "description": "Short plain-text scenario label."
                },
                "loanAmount": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars, greater than zero."
                },
                "interestRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Percentage points (6.5 means 6.5%)."
                },
                "termYears": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 50,
                  "description": "Whole years of payments."
                },
                "loanType": {
                  "type": "string",
                  "enum": [
                    "fixed",
                    "arm",
                    "interest-only"
                  ]
                },
                "armInitialMonths": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 600,
                  "description": "Whole months of payments."
                },
                "armAdjustmentCap": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Percentage points (6.5 means 6.5%)."
                },
                "armLifetimeCap": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Percentage points (6.5 means 6.5%)."
                },
                "discountPoints": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "closingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "lenderCredits": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                }
              },
              "required": [
                "productName",
                "loanAmount",
                "interestRate",
                "termYears",
                "loanType",
                "discountPoints",
                "closingCosts",
                "lenderCredits"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "options"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-renovation",
      "operation": "prepare-mortgage-renovation",
      "title": "Renovation project analysis",
      "description": "Renovation project analysis prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-renovation-1.0.0",
      "calculatorPath": "/calculator/mortgage/project",
      "input": {
        "projectName": "Kitchen renovation",
        "budget": 28000,
        "contingencyRate": 10,
        "items": [
          {
            "name": "Cabinets",
            "category": "Materials",
            "estimatedCost": 12000,
            "materialCost": 12000,
            "laborCost": 0,
            "actualCost": 11850,
            "isCompleted": true
          },
          {
            "name": "Installation",
            "category": "Labor",
            "estimatedCost": 7300,
            "materialCost": 0,
            "laborCost": 7300,
            "actualCost": 0,
            "isCompleted": false
          }
        ]
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "pattern": "^[^<>\\p{Cc}]+$",
            "description": "Short plain-text scenario label."
          },
          "budget": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "contingencyRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "items": {
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64,
                  "pattern": "^[^<>\\p{Cc}]+$",
                  "description": "Short plain-text scenario label."
                },
                "category": {
                  "type": "string",
                  "enum": [
                    "Materials",
                    "Labor",
                    "Services",
                    "Permits",
                    "Other"
                  ]
                },
                "estimatedCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "materialCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "laborCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "actualCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "isCompleted": {
                  "type": "boolean"
                }
              },
              "required": [
                "name",
                "category",
                "estimatedCost",
                "materialCost",
                "laborCost",
                "actualCost",
                "isCompleted"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "projectName",
          "budget",
          "contingencyRate",
          "items"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-renovation-contractor-quote",
      "operation": "prepare-mortgage-renovation",
      "title": "Contractor renovation quote",
      "description": "Contractor renovation quote prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-renovation-1.0.0",
      "calculatorPath": "/calculator/mortgage/project",
      "input": {
        "projectName": "Cabinet replacement",
        "budget": 16000,
        "contingencyRate": 5,
        "items": [
          {
            "name": "Cabinets",
            "category": "Materials",
            "estimatedCost": 10000,
            "materialCost": 10000,
            "laborCost": 0,
            "actualCost": 0,
            "isCompleted": false
          },
          {
            "name": "Installation",
            "category": "Labor",
            "estimatedCost": 3000,
            "materialCost": 0,
            "laborCost": 3000,
            "actualCost": 0,
            "isCompleted": false
          }
        ],
        "quote": {
          "markupRate": 10,
          "taxRate": 6,
          "taxMaterialsOnly": true,
          "discountType": "fixed",
          "discountAmount": 0,
          "depositPercent": 20,
          "milestones": [
            {
              "name": "Cabinets delivered",
              "percent": 35
            }
          ]
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "projectName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "pattern": "^[^<>\\p{Cc}]+$",
            "description": "Short plain-text scenario label."
          },
          "budget": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "contingencyRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "items": {
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64,
                  "pattern": "^[^<>\\p{Cc}]+$",
                  "description": "Short plain-text scenario label."
                },
                "category": {
                  "type": "string",
                  "enum": [
                    "Materials",
                    "Labor",
                    "Services",
                    "Permits",
                    "Other"
                  ]
                },
                "estimatedCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "materialCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "laborCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "actualCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "isCompleted": {
                  "type": "boolean"
                }
              },
              "required": [
                "name",
                "category",
                "estimatedCost",
                "materialCost",
                "laborCost",
                "actualCost",
                "isCompleted"
              ],
              "additionalProperties": false
            }
          },
          "quote": {
            "type": "object",
            "properties": {
              "markupRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "taxRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "taxMaterialsOnly": {
                "type": "boolean"
              },
              "discountType": {
                "type": "string",
                "enum": [
                  "percent",
                  "fixed"
                ]
              },
              "discountAmount": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Percent of the marked-up subtotal or a fixed discount in USD, according to discountType."
              },
              "depositPercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "milestones": {
                "maxItems": 24,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64,
                      "pattern": "^[^<>\\p{Cc}]+$",
                      "description": "Short plain-text scenario label."
                    },
                    "percent": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Percentage points (6.5 means 6.5%)."
                    }
                  },
                  "required": [
                    "name",
                    "percent"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "markupRate",
              "taxRate",
              "taxMaterialsOnly",
              "discountType",
              "discountAmount",
              "depositPercent",
              "milestones"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "projectName",
          "budget",
          "contingencyRate",
          "items",
          "quote"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-purchase",
      "operation": "prepare-mortgage-purchase",
      "title": "Mortgage purchase analysis",
      "description": "Mortgage purchase analysis prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-purchase-1.0.0",
      "calculatorPath": "/calculator/mortgage/purchase",
      "input": {
        "program": "fha",
        "homePrice": 350000,
        "interestRate": 6.5,
        "downPaymentPercent": 3.5,
        "loanTerm": 30,
        "propertyTaxRate": 1.1,
        "insuranceRate": 0.35
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "program": {
            "type": "string",
            "enum": [
              "conventional",
              "fha",
              "va"
            ]
          },
          "homePrice": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "downPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "exclusiveMaximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "propertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "insuranceRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "annualIncome": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "monthlyDebts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "closingState": {
            "description": "US state abbreviation for the optional illustrative 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
      }
    },
    {
      "template": "mortgage-true-rate-comparison",
      "operation": "prepare-mortgage-true-rate-comparison",
      "title": "Cost-adjusted rate comparison",
      "description": "Cost-adjusted rate comparison prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-true-rate-comparison-1.0.0",
      "calculatorPath": "/calculator/mortgage/true-rate/conventional",
      "input": {
        "a": {
          "loanProgram": "conventional",
          "loanPurpose": "purchase",
          "homeValue": 350000,
          "loanAmount": 280000,
          "piPayment": 1770,
          "pmiPayment": 145,
          "remainingTermYears": 28,
          "currentRate": 0,
          "upfrontCosts": 1300,
          "discountPoints": 0,
          "lenderCredits": 0,
          "holdingPeriodYears": 5,
          "programFee": 0,
          "programFeeTreatment": "paidUpfront",
          "pmiCancellationMode": "auto78",
          "insuranceDurationMode": "auto",
          "pmiBasisValue": 350000
        },
        "b": {
          "loanProgram": "conventional",
          "loanPurpose": "purchase",
          "homeValue": 350000,
          "loanAmount": 280000,
          "piPayment": 1810,
          "pmiPayment": 145,
          "remainingTermYears": 28,
          "currentRate": 0,
          "upfrontCosts": 1300,
          "discountPoints": 1,
          "lenderCredits": 0,
          "holdingPeriodYears": 5,
          "programFee": 0,
          "programFeeTreatment": "paidUpfront",
          "pmiCancellationMode": "auto78",
          "insuranceDurationMode": "auto",
          "pmiBasisValue": 350000
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "a": {
            "type": "object",
            "properties": {
              "loanProgram": {
                "type": "string",
                "enum": [
                  "conventional",
                  "fha",
                  "va",
                  "usda"
                ]
              },
              "loanPurpose": {
                "type": "string",
                "enum": [
                  "purchase",
                  "rateTermRefinance",
                  "cashOutRefinance",
                  "streamlineRefinance"
                ]
              },
              "homeValue": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000000000,
                "description": "US dollars, greater than zero."
              },
              "loanAmount": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000000000,
                "description": "US dollars, greater than zero."
              },
              "piPayment": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000000000,
                "description": "Monthly P&I quoted or paid on this mortgage in USD."
              },
              "pmiPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "remainingTermYears": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Whole years of payments."
              },
              "currentRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Note rate in percent; zero asks the engine to infer it from P&I."
              },
              "upfrontCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "discountPoints": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "lenderCredits": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "holdingPeriodYears": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Whole years of payments."
              },
              "programFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "programFeeTreatment": {
                "type": "string",
                "enum": [
                  "financed",
                  "paidUpfront",
                  "includedInBalance"
                ]
              },
              "pmiCancellationMode": {
                "type": "string",
                "enum": [
                  "auto78",
                  "request80",
                  "fullTerm"
                ]
              },
              "insuranceDurationMode": {
                "type": "string",
                "enum": [
                  "auto",
                  "elevenYears",
                  "fullTerm"
                ]
              },
              "pmiBasisValue": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000000000,
                "description": "US dollars, greater than zero."
              },
              "fhaOriginalLtv": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "fhaOriginalTermYears": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Whole years of payments."
              },
              "vaFundingFeeUse": {
                "type": "string",
                "enum": [
                  "first",
                  "subsequent",
                  "irrrl",
                  "exempt",
                  "manual"
                ]
              },
              "vaDownPaymentPercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "usdaAnnualFeeRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              }
            },
            "required": [
              "loanProgram",
              "loanPurpose",
              "homeValue",
              "loanAmount",
              "piPayment",
              "pmiPayment",
              "remainingTermYears",
              "currentRate",
              "upfrontCosts",
              "discountPoints",
              "lenderCredits",
              "holdingPeriodYears",
              "programFee",
              "programFeeTreatment",
              "pmiCancellationMode",
              "insuranceDurationMode",
              "pmiBasisValue"
            ],
            "additionalProperties": false
          },
          "b": {
            "type": "object",
            "properties": {
              "loanProgram": {
                "type": "string",
                "enum": [
                  "conventional",
                  "fha",
                  "va",
                  "usda"
                ]
              },
              "loanPurpose": {
                "type": "string",
                "enum": [
                  "purchase",
                  "rateTermRefinance",
                  "cashOutRefinance",
                  "streamlineRefinance"
                ]
              },
              "homeValue": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000000000,
                "description": "US dollars, greater than zero."
              },
              "loanAmount": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000000000,
                "description": "US dollars, greater than zero."
              },
              "piPayment": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000000000,
                "description": "Monthly P&I quoted or paid on this mortgage in USD."
              },
              "pmiPayment": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "remainingTermYears": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Whole years of payments."
              },
              "currentRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Note rate in percent; zero asks the engine to infer it from P&I."
              },
              "upfrontCosts": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "discountPoints": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "lenderCredits": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "holdingPeriodYears": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Whole years of payments."
              },
              "programFee": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "programFeeTreatment": {
                "type": "string",
                "enum": [
                  "financed",
                  "paidUpfront",
                  "includedInBalance"
                ]
              },
              "pmiCancellationMode": {
                "type": "string",
                "enum": [
                  "auto78",
                  "request80",
                  "fullTerm"
                ]
              },
              "insuranceDurationMode": {
                "type": "string",
                "enum": [
                  "auto",
                  "elevenYears",
                  "fullTerm"
                ]
              },
              "pmiBasisValue": {
                "type": "number",
                "exclusiveMinimum": 0,
                "maximum": 1000000000,
                "description": "US dollars, greater than zero."
              },
              "fhaOriginalLtv": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "fhaOriginalTermYears": {
                "type": "integer",
                "minimum": 1,
                "maximum": 50,
                "description": "Whole years of payments."
              },
              "vaFundingFeeUse": {
                "type": "string",
                "enum": [
                  "first",
                  "subsequent",
                  "irrrl",
                  "exempt",
                  "manual"
                ]
              },
              "vaDownPaymentPercent": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "usdaAnnualFeeRate": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              }
            },
            "required": [
              "loanProgram",
              "loanPurpose",
              "homeValue",
              "loanAmount",
              "piPayment",
              "pmiPayment",
              "remainingTermYears",
              "currentRate",
              "upfrontCosts",
              "discountPoints",
              "lenderCredits",
              "holdingPeriodYears",
              "programFee",
              "programFeeTreatment",
              "pmiCancellationMode",
              "insuranceDurationMode",
              "pmiBasisValue"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "a",
          "b"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-true-rate-program-comparison",
      "operation": "prepare-mortgage-true-rate-comparison",
      "title": "True Rate comparison by loan program",
      "description": "True Rate comparison by loan program prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-true-rate-comparison-1.0.0",
      "calculatorPath": "/calculator/mortgage/true-rate/conventional",
      "input": {
        "quotes": [
          {
            "loanProgram": "conventional",
            "loanPurpose": "purchase",
            "homeValue": 350000,
            "loanAmount": 280000,
            "piPayment": 1770,
            "pmiPayment": 145,
            "remainingTermYears": 28,
            "currentRate": 0,
            "upfrontCosts": 1300,
            "discountPoints": 0,
            "lenderCredits": 0,
            "holdingPeriodYears": 5,
            "programFee": 0,
            "programFeeTreatment": "paidUpfront",
            "pmiCancellationMode": "auto78",
            "insuranceDurationMode": "auto",
            "pmiBasisValue": 350000
          },
          {
            "loanProgram": "fha",
            "loanPurpose": "purchase",
            "homeValue": 350000,
            "loanAmount": 280000,
            "piPayment": 1780,
            "pmiPayment": 120,
            "remainingTermYears": 28,
            "currentRate": 6.25,
            "upfrontCosts": 1300,
            "discountPoints": 0,
            "lenderCredits": 0,
            "holdingPeriodYears": 5,
            "programFee": 4900,
            "programFeeTreatment": "financed",
            "pmiCancellationMode": "auto78",
            "insuranceDurationMode": "auto",
            "pmiBasisValue": 350000,
            "fhaOriginalLtv": 80,
            "fhaOriginalTermYears": 30
          }
        ]
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "quotes": {
            "minItems": 2,
            "maxItems": 4,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "loanProgram": {
                  "type": "string",
                  "enum": [
                    "conventional",
                    "fha",
                    "va",
                    "usda"
                  ]
                },
                "loanPurpose": {
                  "type": "string",
                  "enum": [
                    "purchase",
                    "rateTermRefinance",
                    "cashOutRefinance",
                    "streamlineRefinance"
                  ]
                },
                "homeValue": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars, greater than zero."
                },
                "loanAmount": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars, greater than zero."
                },
                "piPayment": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 1000000000,
                  "description": "Monthly P&I quoted or paid on this mortgage in USD."
                },
                "pmiPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "remainingTermYears": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 50,
                  "description": "Whole years of payments."
                },
                "currentRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Note rate in percent; zero asks the engine to infer it from P&I."
                },
                "upfrontCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "discountPoints": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Percentage points (6.5 means 6.5%)."
                },
                "lenderCredits": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "holdingPeriodYears": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 50,
                  "description": "Whole years of payments."
                },
                "programFee": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "programFeeTreatment": {
                  "type": "string",
                  "enum": [
                    "financed",
                    "paidUpfront",
                    "includedInBalance"
                  ]
                },
                "pmiCancellationMode": {
                  "type": "string",
                  "enum": [
                    "auto78",
                    "request80",
                    "fullTerm"
                  ]
                },
                "insuranceDurationMode": {
                  "type": "string",
                  "enum": [
                    "auto",
                    "elevenYears",
                    "fullTerm"
                  ]
                },
                "pmiBasisValue": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars, greater than zero."
                },
                "fhaOriginalLtv": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Percentage points (6.5 means 6.5%)."
                },
                "fhaOriginalTermYears": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 50,
                  "description": "Whole years of payments."
                },
                "vaFundingFeeUse": {
                  "type": "string",
                  "enum": [
                    "first",
                    "subsequent",
                    "irrrl",
                    "exempt",
                    "manual"
                  ]
                },
                "vaDownPaymentPercent": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Percentage points (6.5 means 6.5%)."
                },
                "usdaAnnualFeeRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Percentage points (6.5 means 6.5%)."
                }
              },
              "required": [
                "loanProgram",
                "loanPurpose",
                "homeValue",
                "loanAmount",
                "piPayment",
                "pmiPayment",
                "remainingTermYears",
                "currentRate",
                "upfrontCosts",
                "discountPoints",
                "lenderCredits",
                "holdingPeriodYears",
                "programFee",
                "programFeeTreatment",
                "pmiCancellationMode",
                "insuranceDurationMode",
                "pmiBasisValue"
              ],
              "additionalProperties": false
            },
            "description": "One priced loan per program, with a common balance, home value and holding period."
          }
        },
        "required": [
          "quotes"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-loan-estimate-comparison",
      "operation": "prepare-mortgage-loan-estimate-comparison",
      "title": "Loan Estimate comparison",
      "description": "Loan Estimate comparison prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-loan-estimate-comparison-1.0.0",
      "calculatorPath": "/calculator/mortgage/analyze",
      "input": {
        "offers": [
          {
            "lenderName": "First quote",
            "loanAmount": 300000,
            "interestRate": 6.5,
            "monthlyPI": 1896.2,
            "loanTerm": 30,
            "loanType": "Conventional",
            "loanPurpose": "Purchase",
            "productType": "Fixed Rate",
            "balloonPayment": false,
            "estimatedCashToClose": 40000,
            "loanCostsD": 4600,
            "closingCostsJ": 8500
          },
          {
            "lenderName": "Second quote",
            "loanAmount": 300000,
            "interestRate": 6.25,
            "monthlyPI": 1847.15,
            "loanTerm": 30,
            "loanType": "Conventional",
            "loanPurpose": "Purchase",
            "productType": "Fixed Rate",
            "balloonPayment": false,
            "estimatedCashToClose": 40000,
            "loanCostsD": 7200,
            "closingCostsJ": 11100
          }
        ]
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "offers": {
            "minItems": 1,
            "maxItems": 3,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "lenderName": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64,
                  "pattern": "^[^<>\\p{Cc}]+$",
                  "description": "Short plain-text scenario label."
                },
                "loanAmount": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars, greater than zero."
                },
                "interestRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Percentage points (6.5 means 6.5%)."
                },
                "monthlyPI": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 1000000000,
                  "description": "Disclosed monthly principal and interest, in USD."
                },
                "loanTerm": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 50,
                  "description": "Whole years of payments."
                },
                "loanType": {
                  "type": "string",
                  "enum": [
                    "Conventional",
                    "FHA",
                    "VA",
                    "USDA"
                  ]
                },
                "loanPurpose": {
                  "type": "string",
                  "enum": [
                    "Purchase",
                    "Refinance"
                  ]
                },
                "productType": {
                  "type": "string",
                  "enum": [
                    "Fixed Rate",
                    "Adjustable Rate",
                    "Interest Only"
                  ]
                },
                "balloonPayment": {
                  "type": "boolean"
                },
                "estimatedEscrow": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "pmi": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "estimatedCashToClose": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "lenderCredits": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "loanCostsD": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "servicesCanShopC": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "originationA": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "closingCostsJ": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "apr": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Percentage points (6.5 means 6.5%)."
                },
                "inFiveYearsTotal": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                },
                "inFiveYearsPrincipal": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars; enter zero when this cost is absent."
                }
              },
              "required": [
                "lenderName",
                "loanAmount",
                "interestRate",
                "monthlyPI",
                "loanTerm",
                "loanType",
                "loanPurpose",
                "productType",
                "balloonPayment"
              ],
              "additionalProperties": false,
              "description": "Manually transcribed Loan Estimate. All optional figures come from the lender disclosure. Omit a line if it is unavailable."
            }
          }
        },
        "required": [
          "offers"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-affordability",
      "operation": "prepare-mortgage-affordability",
      "title": "Mortgage affordability",
      "description": "Mortgage affordability prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-affordability-1.0.0",
      "calculatorPath": "/calculator/mortgage/affordability",
      "input": {
        "baseMonthlyIncome": 8500,
        "monthlyDebts": 650,
        "loanProgram": "conventional",
        "interestRate": 6.5,
        "loanTerm": 30,
        "propertyTaxRate": 1.1,
        "insuranceRate": 0.35,
        "targetDti": 43,
        "downPaymentMode": "percent",
        "downPaymentPercent": 10,
        "downPaymentCash": 0
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "baseMonthlyIncome": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "monthlyDebts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "loanProgram": {
            "type": "string",
            "enum": [
              "conventional",
              "fha",
              "va",
              "usda"
            ]
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "propertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "insuranceRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "targetDti": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "downPaymentMode": {
            "type": "string",
            "enum": [
              "percent",
              "cash"
            ]
          },
          "downPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "exclusiveMaximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "downPaymentCash": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "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": "Percentage points (6.5 means 6.5%)."
              },
              "fha": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "va": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "usda": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              }
            },
            "required": [
              "conventional",
              "fha",
              "va",
              "usda"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "baseMonthlyIncome",
          "monthlyDebts",
          "loanProgram",
          "interestRate",
          "loanTerm",
          "propertyTaxRate",
          "insuranceRate",
          "targetDti",
          "downPaymentMode",
          "downPaymentPercent",
          "downPaymentCash"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-affordability-advanced",
      "operation": "prepare-mortgage-affordability",
      "title": "Advanced affordability",
      "description": "Advanced affordability prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-affordability-1.0.0",
      "calculatorPath": "/calculator/mortgage/affordability",
      "input": {
        "baseMonthlyIncome": 8500,
        "monthlyDebts": 650,
        "loanProgram": "conventional",
        "interestRate": 6.5,
        "loanTerm": 30,
        "propertyTaxRate": 1.1,
        "insuranceRate": 0.35,
        "targetDti": 43,
        "downPaymentMode": "percent",
        "downPaymentPercent": 10,
        "downPaymentCash": 0,
        "incomeHistory": {
          "rule": "fannie",
          "commission": {
            "lastYear": 17000,
            "priorYear": 22000
          },
          "retirementMonthly": 0,
          "includeMortgageInsurance": true
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "baseMonthlyIncome": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "monthlyDebts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "loanProgram": {
            "type": "string",
            "enum": [
              "conventional",
              "fha",
              "va",
              "usda"
            ]
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "propertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "insuranceRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "targetDti": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "downPaymentMode": {
            "type": "string",
            "enum": [
              "percent",
              "cash"
            ]
          },
          "downPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "exclusiveMaximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "downPaymentCash": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "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": "Percentage points (6.5 means 6.5%)."
              },
              "fha": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "va": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "usda": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              }
            },
            "required": [
              "conventional",
              "fha",
              "va",
              "usda"
            ],
            "additionalProperties": false
          },
          "incomeHistory": {
            "type": "object",
            "properties": {
              "rule": {
                "type": "string",
                "enum": [
                  "fannie",
                  "freddie"
                ]
              },
              "selfEmployment": {
                "type": "object",
                "properties": {
                  "lastYear": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars; enter zero when this cost is absent."
                  },
                  "priorYear": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars; enter zero when this cost is absent."
                  },
                  "ytd": {
                    "type": "object",
                    "properties": {
                      "amount": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "US dollars; enter zero when this cost is absent."
                      },
                      "monthsElapsed": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 12
                      }
                    },
                    "required": [
                      "amount",
                      "monthsElapsed"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "lastYear",
                  "priorYear"
                ],
                "additionalProperties": false
              },
              "commission": {
                "type": "object",
                "properties": {
                  "lastYear": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars; enter zero when this cost is absent."
                  },
                  "priorYear": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars; enter zero when this cost is absent."
                  },
                  "ytd": {
                    "type": "object",
                    "properties": {
                      "amount": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "US dollars; enter zero when this cost is absent."
                      },
                      "monthsElapsed": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 12
                      }
                    },
                    "required": [
                      "amount",
                      "monthsElapsed"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "lastYear",
                  "priorYear"
                ],
                "additionalProperties": false
              },
              "bonus": {
                "type": "object",
                "properties": {
                  "lastYear": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars; enter zero when this cost is absent."
                  },
                  "priorYear": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars; enter zero when this cost is absent."
                  },
                  "ytd": {
                    "type": "object",
                    "properties": {
                      "amount": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "US dollars; enter zero when this cost is absent."
                      },
                      "monthsElapsed": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 12
                      }
                    },
                    "required": [
                      "amount",
                      "monthsElapsed"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "lastYear",
                  "priorYear"
                ],
                "additionalProperties": false
              },
              "retirementMonthly": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "includeMortgageInsurance": {
                "type": "boolean"
              },
              "pmiRateOverride": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              }
            },
            "required": [
              "rule",
              "retirementMonthly",
              "includeMortgageInsurance"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "baseMonthlyIncome",
          "monthlyDebts",
          "loanProgram",
          "interestRate",
          "loanTerm",
          "propertyTaxRate",
          "insuranceRate",
          "targetDti",
          "downPaymentMode",
          "downPaymentPercent",
          "downPaymentCash",
          "incomeHistory"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-affordability-rental",
      "operation": "prepare-mortgage-affordability",
      "title": "Affordability with rental income",
      "description": "Affordability with rental income prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-affordability-1.0.0",
      "calculatorPath": "/calculator/mortgage/affordability/rental",
      "input": {
        "baseMonthlyIncome": 8500,
        "monthlyDebts": 650,
        "loanProgram": "conventional",
        "interestRate": 6.5,
        "loanTerm": 30,
        "propertyTaxRate": 1.1,
        "insuranceRate": 0.35,
        "targetDti": 43,
        "downPaymentMode": "percent",
        "downPaymentPercent": 10,
        "downPaymentCash": 0,
        "rental": {
          "units": 2,
          "otherUnitsRent": 1250,
          "owned": [
            {
              "label": "Existing rental",
              "monthlyRent": 1900,
              "monthlyPitia": 1550
            }
          ]
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "baseMonthlyIncome": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars, greater than zero."
          },
          "monthlyDebts": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "loanProgram": {
            "type": "string",
            "enum": [
              "conventional",
              "fha",
              "va",
              "usda"
            ]
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years of payments."
          },
          "propertyTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "insuranceRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "targetDti": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "downPaymentMode": {
            "type": "string",
            "enum": [
              "percent",
              "cash"
            ]
          },
          "downPaymentPercent": {
            "type": "number",
            "minimum": 0,
            "exclusiveMaximum": 100,
            "description": "Percentage points (6.5 means 6.5%)."
          },
          "downPaymentCash": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars; enter zero when this cost is absent."
          },
          "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": "Percentage points (6.5 means 6.5%)."
              },
              "fha": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "va": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              },
              "usda": {
                "type": "number",
                "minimum": 0,
                "maximum": 100,
                "description": "Percentage points (6.5 means 6.5%)."
              }
            },
            "required": [
              "conventional",
              "fha",
              "va",
              "usda"
            ],
            "additionalProperties": false
          },
          "rental": {
            "type": "object",
            "properties": {
              "units": {
                "anyOf": [
                  {
                    "type": "number",
                    "const": 1
                  },
                  {
                    "type": "number",
                    "const": 2
                  },
                  {
                    "type": "number",
                    "const": 3
                  },
                  {
                    "type": "number",
                    "const": 4
                  }
                ]
              },
              "otherUnitsRent": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "owned": {
                "maxItems": 15,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "label": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64,
                      "pattern": "^[^<>\\p{Cc}]+$",
                      "description": "Short plain-text scenario label."
                    },
                    "monthlyRent": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "US dollars; enter zero when this cost is absent."
                    },
                    "monthlyPitia": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1000000000,
                      "description": "US dollars; enter zero when this cost is absent."
                    }
                  },
                  "required": [
                    "label",
                    "monthlyRent",
                    "monthlyPitia"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "units",
              "otherUnitsRent",
              "owned"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "baseMonthlyIncome",
          "monthlyDebts",
          "loanProgram",
          "interestRate",
          "loanTerm",
          "propertyTaxRate",
          "insuranceRate",
          "targetDti",
          "downPaymentMode",
          "downPaymentPercent",
          "downPaymentCash",
          "rental"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-purchase-strategies-quoted",
      "operation": "prepare-mortgage-purchase-strategies-quoted",
      "title": "Purchase strategies using supplied quotes",
      "description": "Purchase strategies using supplied quotes prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-purchase-strategies-quoted-1.0.0",
      "calculatorPath": "/calculator/mortgage/analyze",
      "input": {
        "quoteOwner": "Example Planning Group",
        "quoteRights": "caller-owned",
        "quoteSource": "Illustrative purchase quotes",
        "quoteDate": "2026-11-14",
        "horizonYears": 7,
        "quotedRates": {
          "max-down": 6.25,
          "one-point": 6.125,
          "no-points": 6.5,
          "minimum-down": 6.75,
          "fha-remodel": 6.25,
          "arm-prepay": 6,
          "va-zero-down": 6.25,
          "split-reserve": 6.5
        },
        "profile": {
          "property": {
            "purchasePrice": 400000,
            "type": "single-family",
            "occupancy": "primary"
          },
          "cashAvailable": 120000,
          "reservePreference": "standard",
          "borrower": {
            "creditTier": "good",
            "isVeteran": false,
            "isRural": false,
            "expectedYearsToStay": 7
          },
          "goals": [
            "lowest-cost"
          ]
        },
        "sortKey": "lowest-total-cost",
        "eligibleOnly": false
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "quoteOwner": {
            "type": "string",
            "minLength": 1,
            "maxLength": 48,
            "pattern": "^[^<>\\p{Cc}]+$",
            "description": "Owner of the quoted pricing."
          },
          "quoteRights": {
            "type": "string",
            "enum": [
              "caller-owned",
              "authorized-for-report-use"
            ],
            "description": "Caller declaration covering use of the pricing in this report."
          },
          "quoteSource": {
            "type": "string",
            "minLength": 1,
            "maxLength": 48,
            "pattern": "^[^<>\\p{Cc}]+$",
            "description": "Name of the supplied price sheet or quote set."
          },
          "quoteDate": {
            "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": "Effective calendar date of the supplied offers."
          },
          "horizonYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Years the borrower expects to keep the loan."
          },
          "quotedRates": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "enum": [
                "max-down",
                "one-point",
                "no-points",
                "minimum-down",
                "fha-remodel",
                "arm-prepay",
                "va-zero-down",
                "split-reserve"
              ]
            },
            "additionalProperties": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Percentage points (6.5 means 6.5%)."
            },
            "description": "Final annual rate in percent for each modeled option. Enter the one-point and no-points quotes separately."
          },
          "profile": {
            "type": "object",
            "properties": {
              "property": {
                "type": "object",
                "properties": {
                  "purchasePrice": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars, greater than zero."
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "single-family",
                      "condo",
                      "multi-unit"
                    ]
                  },
                  "occupancy": {
                    "type": "string",
                    "enum": [
                      "primary",
                      "second-home",
                      "investment"
                    ]
                  },
                  "estimatedRemodelBudget": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars; enter zero when this cost is absent."
                  }
                },
                "required": [
                  "purchasePrice",
                  "type",
                  "occupancy"
                ],
                "additionalProperties": false
              },
              "cashAvailable": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "reservePreference": {
                "type": "string",
                "enum": [
                  "minimal",
                  "standard",
                  "generous"
                ]
              },
              "borrower": {
                "type": "object",
                "properties": {
                  "creditTier": {
                    "type": "string",
                    "enum": [
                      "excellent",
                      "good",
                      "fair",
                      "below"
                    ]
                  },
                  "isVeteran": {
                    "type": "boolean"
                  },
                  "isRural": {
                    "type": "boolean"
                  },
                  "expectedYearsToStay": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 50,
                    "description": "Whole years of payments."
                  }
                },
                "required": [
                  "creditTier",
                  "isVeteran",
                  "isRural",
                  "expectedYearsToStay"
                ],
                "additionalProperties": false
              },
              "goals": {
                "maxItems": 5,
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "lowest-payment",
                    "lowest-cost",
                    "max-equity",
                    "keep-cash-liquid",
                    "plan-future-remodel"
                  ]
                }
              }
            },
            "required": [
              "property",
              "cashAvailable",
              "reservePreference",
              "borrower",
              "goals"
            ],
            "additionalProperties": false
          },
          "sortKey": {
            "type": "string",
            "enum": [
              "lowest-monthly",
              "lowest-total-cost",
              "lowest-cash-used",
              "most-equity-at-closing"
            ]
          },
          "eligibleOnly": {
            "type": "boolean"
          }
        },
        "required": [
          "quoteOwner",
          "quoteRights",
          "quoteSource",
          "quoteDate",
          "horizonYears",
          "quotedRates",
          "profile",
          "sortKey",
          "eligibleOnly"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-refinance-strategies-quoted",
      "operation": "prepare-mortgage-refinance-strategies-quoted",
      "title": "Refinance strategies using supplied quotes",
      "description": "Refinance strategies using supplied quotes prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-refinance-strategies-quoted-1.0.0",
      "calculatorPath": "/calculator/mortgage/analyze",
      "input": {
        "quoteOwner": "Example Planning Group",
        "quoteRights": "caller-owned",
        "quoteSource": "Illustrative refinance quotes",
        "quoteDate": "2026-11-14",
        "horizonYears": 7,
        "quotedRates": {
          "lower-rate": 6.25,
          "shorter-term": 5.875,
          "pay-same": 6.25,
          "cash-out": 6.75,
          "drop-pmi": 6.375,
          "fha-to-conventional": 6.5,
          "arm-to-fixed": 6.5,
          "va-irrrl": 6,
          "fha-streamline": 6,
          "cash-out-consolidate": 6.75
        },
        "profile": {
          "current": {
            "balance": 280000,
            "rate": 7.5,
            "monthlyPI": 2150,
            "monthsRemaining": 336,
            "loanType": "conventional",
            "hasMI": true
          },
          "property": {
            "estimatedValue": 400000,
            "originalValue": 350000,
            "type": "single-family",
            "occupancy": "primary"
          },
          "borrower": {
            "creditTier": "good",
            "isVeteran": false,
            "seasonedSixMonths": true
          },
          "goals": [
            "lower-payment"
          ],
          "cashOutAmount": 25000
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "quoteOwner": {
            "type": "string",
            "minLength": 1,
            "maxLength": 48,
            "pattern": "^[^<>\\p{Cc}]+$",
            "description": "Owner of the quoted pricing."
          },
          "quoteRights": {
            "type": "string",
            "enum": [
              "caller-owned",
              "authorized-for-report-use"
            ],
            "description": "Caller declaration covering use of the pricing in this report."
          },
          "quoteSource": {
            "type": "string",
            "minLength": 1,
            "maxLength": 48,
            "pattern": "^[^<>\\p{Cc}]+$",
            "description": "Name of the supplied price sheet or quote set."
          },
          "quoteDate": {
            "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": "Effective calendar date of the supplied offers."
          },
          "horizonYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Years the borrower expects to keep the loan."
          },
          "quotedRates": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "enum": [
                "lower-rate",
                "shorter-term",
                "pay-same",
                "cash-out",
                "drop-pmi",
                "fha-to-conventional",
                "arm-to-fixed",
                "va-irrrl",
                "fha-streamline",
                "cash-out-consolidate"
              ]
            },
            "additionalProperties": {
              "type": "number",
              "minimum": 0,
              "maximum": 100,
              "description": "Percentage points (6.5 means 6.5%)."
            },
            "description": "Final annual rate in percent for each refinance path considered, including applicable cash-out pricing."
          },
          "profile": {
            "type": "object",
            "properties": {
              "current": {
                "type": "object",
                "properties": {
                  "balance": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars, greater than zero."
                  },
                  "rate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Percentage points (6.5 means 6.5%)."
                  },
                  "monthlyPI": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars, greater than zero."
                  },
                  "monthsRemaining": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Whole months of payments."
                  },
                  "originalAmount": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars, greater than zero."
                  },
                  "loanType": {
                    "type": "string",
                    "enum": [
                      "conventional",
                      "fha",
                      "va",
                      "usda",
                      "arm"
                    ]
                  },
                  "hasMI": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "balance",
                  "rate",
                  "monthlyPI",
                  "monthsRemaining",
                  "loanType",
                  "hasMI"
                ],
                "additionalProperties": false
              },
              "property": {
                "type": "object",
                "properties": {
                  "estimatedValue": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars, greater than zero."
                  },
                  "originalValue": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars, greater than zero."
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "single-family",
                      "condo",
                      "multi-unit"
                    ]
                  },
                  "occupancy": {
                    "type": "string",
                    "enum": [
                      "primary",
                      "second-home",
                      "investment"
                    ]
                  },
                  "zipCode": {
                    "description": "Optional five-digit ZIP used for the regional closing estimate.",
                    "type": "string",
                    "pattern": "^\\d{5}$"
                  }
                },
                "required": [
                  "estimatedValue",
                  "type",
                  "occupancy"
                ],
                "additionalProperties": false
              },
              "borrower": {
                "type": "object",
                "properties": {
                  "creditTier": {
                    "type": "string",
                    "enum": [
                      "excellent",
                      "good",
                      "fair",
                      "below"
                    ]
                  },
                  "isVeteran": {
                    "type": "boolean"
                  },
                  "seasonedSixMonths": {
                    "type": "boolean"
                  },
                  "marginalTaxRate": {
                    "description": "Optional marginal tax fraction, e.g. 0.22.",
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  }
                },
                "required": [
                  "creditTier",
                  "isVeteran",
                  "seasonedSixMonths"
                ],
                "additionalProperties": false
              },
              "goals": {
                "maxItems": 6,
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "lower-payment",
                    "pay-off-faster",
                    "cash-out",
                    "drop-mi",
                    "arm-to-fixed",
                    "consolidate-debts"
                  ]
                }
              },
              "debtsToConsolidate": {
                "maxItems": 8,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "description": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64,
                      "pattern": "^[^<>\\p{Cc}]+$",
                      "description": "Short plain-text scenario label."
                    },
                    "balance": {
                      "type": "number",
                      "exclusiveMinimum": 0,
                      "maximum": 1000000000,
                      "description": "US dollars, greater than zero."
                    },
                    "apr": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100,
                      "description": "Percentage points (6.5 means 6.5%)."
                    },
                    "monthlyPayment": {
                      "type": "number",
                      "exclusiveMinimum": 0,
                      "maximum": 1000000000,
                      "description": "US dollars, greater than zero."
                    }
                  },
                  "required": [
                    "description",
                    "balance",
                    "apr",
                    "monthlyPayment"
                  ],
                  "additionalProperties": false
                }
              },
              "cashOutAmount": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              },
              "extraPrincipalPerMonth": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "US dollars; enter zero when this cost is absent."
              }
            },
            "required": [
              "current",
              "property",
              "borrower",
              "goals"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "quoteOwner",
          "quoteRights",
          "quoteSource",
          "quoteDate",
          "horizonYears",
          "quotedRates",
          "profile"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "debt-payoff-plan",
      "operation": "prepare-debt-payoff-plan",
      "title": "Debt payoff plan",
      "description": "Debt payoff plan prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-debt-payoff-plan-1.0.0",
      "calculatorPath": "/calculator/lending/debt-payoff",
      "input": {
        "debts": [
          {
            "name": "Credit card",
            "balance": 3500,
            "interest": 19,
            "minPayment": 120
          },
          {
            "name": "Car loan",
            "balance": 7400,
            "interest": 6,
            "minPayment": 240
          }
        ],
        "extraPayment": 100,
        "strategy": "avalanche"
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "debts": {
            "minItems": 1,
            "maxItems": 20,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 48,
                  "pattern": "^[\\p{L}\\p{N} .,&()'’/-]+$",
                  "description": "Short account category without identifiers"
                },
                "balance": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 1000000000,
                  "description": "US dollars"
                },
                "interest": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual percent, e.g. 6.25"
                },
                "minPayment": {
                  "type": "number",
                  "exclusiveMinimum": 0,
                  "maximum": 1000000000,
                  "description": "Required monthly minimum in USD"
                }
              },
              "required": [
                "name",
                "balance",
                "interest",
                "minPayment"
              ],
              "additionalProperties": false
            }
          },
          "extraPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Additional monthly payment shared across debts"
          },
          "strategy": {
            "type": "string",
            "enum": [
              "avalanche",
              "snowball"
            ]
          }
        },
        "required": [
          "debts",
          "extraPayment",
          "strategy"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "auto-refinance",
      "operation": "prepare-auto-refinance",
      "title": "Auto refinance comparison",
      "description": "Auto refinance comparison prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-auto-refinance-1.0.0",
      "calculatorPath": "/calculator/lending/auto-refi",
      "input": {
        "currentBalance": 22000,
        "currentRate": 8,
        "currentTermRemaining": 50,
        "newRate": 5,
        "newTerm": 48,
        "refiCosts": 250
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "currentBalance": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "currentRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual percent, e.g. 6.25"
          },
          "currentTermRemaining": {
            "type": "integer",
            "minimum": 1,
            "maximum": 240,
            "description": "Number of monthly payments"
          },
          "newRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual percent, e.g. 6.25"
          },
          "newTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 240,
            "description": "Number of monthly payments"
          },
          "refiCosts": {
            "description": "Costs rolled into the new loan, in USD. Omit for the simple fee-free comparison.",
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          }
        },
        "required": [
          "currentBalance",
          "currentRate",
          "currentTermRemaining",
          "newRate",
          "newTerm"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "business-loan",
      "operation": "prepare-business-loan",
      "title": "Business loan analysis",
      "description": "Business loan analysis prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-business-loan-1.0.0",
      "calculatorPath": "/calculator/lending/business",
      "input": {
        "program": "sba7a",
        "loanAmount": 250000,
        "rate": 8.5,
        "termYears": 10,
        "originationFee": 2,
        "monthlyRevenue": 45000,
        "monthlyExpenses": 20000,
        "existingDebt": 2000
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "program": {
            "type": "string",
            "enum": [
              "sba7a",
              "sba504",
              "term",
              "equipment",
              "loc"
            ]
          },
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "rate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual percent, e.g. 6.25"
          },
          "termYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "originationFee": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Origination fee as a percentage of principal"
          },
          "monthlyRevenue": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "monthlyExpenses": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "existingDebt": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Existing monthly debt payments in USD"
          }
        },
        "required": [
          "program",
          "loanAmount",
          "rate",
          "termYears",
          "originationFee",
          "monthlyRevenue",
          "monthlyExpenses",
          "existingDebt"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "commercial-mortgage",
      "operation": "prepare-commercial-mortgage",
      "title": "Commercial mortgage analysis",
      "description": "Commercial mortgage analysis prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-commercial-mortgage-1.0.0",
      "calculatorPath": "/calculator/lending/commercial-mortgage",
      "input": {
        "propertyType": "Multifamily",
        "purchasePrice": 1500000,
        "downPaymentPct": 25,
        "annualNOI": 120000,
        "ratePct": 7,
        "amortYears": 25,
        "balloonYears": 5
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "propertyType": {
            "type": "string",
            "enum": [
              "Multifamily",
              "Retail",
              "Office",
              "Industrial"
            ]
          },
          "purchasePrice": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "downPaymentPct": {
            "type": "number",
            "minimum": 0,
            "exclusiveMaximum": 100,
            "description": "Annual percent, e.g. 6.25"
          },
          "annualNOI": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "ratePct": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual percent, e.g. 6.25"
          },
          "amortYears": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "balloonYears": {
            "type": "integer",
            "minimum": 0,
            "maximum": 50,
            "description": "0 for no balloon"
          }
        },
        "required": [
          "propertyType",
          "purchasePrice",
          "downPaymentPct",
          "annualNOI",
          "ratePct",
          "amortYears",
          "balloonYears"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "car-loan",
      "operation": "prepare-car-loan",
      "title": "Car loan",
      "description": "Car loan prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-car-loan-1.0.0",
      "calculatorPath": "/calculator/lending/auto",
      "input": {
        "loanAmount": 35000,
        "interestRate": 7,
        "loanTerm": 60,
        "downPayment": 2500,
        "tradeInValue": 2000,
        "amountOwedOnTrade": 0,
        "tradeInReducesTax": true,
        "salesTaxRate": 6,
        "fees": 500,
        "monthlyInsurance": 120,
        "monthlyGas": 180,
        "monthlyMaintenance": 50
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "Vehicle purchase price before tax/trade-in, USD"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual percent, e.g. 6.25"
          },
          "extraPayment": {
            "description": "Additional principal per month in USD",
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Number of monthly payments"
          },
          "downPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "tradeInValue": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "amountOwedOnTrade": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "tradeInReducesTax": {
            "type": "boolean"
          },
          "salesTaxRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual percent, e.g. 6.25"
          },
          "fees": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "monthlyInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "monthlyGas": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "monthlyMaintenance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          }
        },
        "required": [
          "loanAmount",
          "interestRate",
          "loanTerm",
          "downPayment",
          "tradeInValue",
          "amountOwedOnTrade",
          "tradeInReducesTax",
          "salesTaxRate",
          "fees",
          "monthlyInsurance",
          "monthlyGas",
          "monthlyMaintenance"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "personal-loan",
      "operation": "prepare-personal-loan",
      "title": "Personal loan",
      "description": "Personal loan prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-personal-loan-1.0.0",
      "calculatorPath": "/calculator/lending/personal",
      "input": {
        "loanAmount": 10000,
        "interestRate": 10.5,
        "loanTerm": 36,
        "originationFee": 1
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual percent, e.g. 6.25"
          },
          "extraPayment": {
            "description": "Additional principal per month in USD",
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Number of monthly payments"
          },
          "originationFee": {
            "type": "number",
            "minimum": 0,
            "exclusiveMaximum": 100,
            "description": "Percentage withheld from proceeds"
          }
        },
        "required": [
          "loanAmount",
          "interestRate",
          "loanTerm",
          "originationFee"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "student-loan",
      "operation": "prepare-student-loan",
      "title": "Student loan",
      "description": "Student loan prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-student-loan-1.0.0",
      "calculatorPath": "/calculator/lending/student",
      "input": {
        "loanAmount": 20000,
        "interestRate": 5.8,
        "loanTerm": 10,
        "originationFee": 1.057,
        "defermentMonths": 6,
        "loanSubtype": "unsubsidized"
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual percent, e.g. 6.25"
          },
          "extraPayment": {
            "description": "Additional principal per month in USD",
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "originationFee": {
            "type": "number",
            "minimum": 0,
            "exclusiveMaximum": 100,
            "description": "Annual percent, e.g. 6.25"
          },
          "defermentMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 120
          },
          "loanSubtype": {
            "type": "string",
            "enum": [
              "subsidized",
              "unsubsidized"
            ]
          }
        },
        "required": [
          "loanAmount",
          "interestRate",
          "loanTerm",
          "originationFee",
          "defermentMonths",
          "loanSubtype"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "business-embed-loan",
      "operation": "prepare-business-embed-loan",
      "title": "Business financing illustration",
      "description": "Business financing illustration prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-business-embed-loan-1.0.0",
      "calculatorPath": "/calculator/lending/business",
      "input": {
        "loanAmount": 100000,
        "interestRate": 8,
        "loanTerm": 5,
        "originationFee": 1,
        "financeOriginationFee": false,
        "businessRevenue": 30000,
        "businessExpenses": 15000
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual percent, e.g. 6.25"
          },
          "extraPayment": {
            "description": "Additional principal per month in USD",
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "originationFee": {
            "type": "number",
            "minimum": 0,
            "exclusiveMaximum": 100,
            "description": "Annual percent, e.g. 6.25"
          },
          "financeOriginationFee": {
            "type": "boolean"
          },
          "businessRevenue": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Monthly revenue in USD"
          },
          "businessExpenses": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Monthly expenses in USD"
          }
        },
        "required": [
          "loanAmount",
          "interestRate",
          "loanTerm",
          "originationFee",
          "financeOriginationFee",
          "businessRevenue",
          "businessExpenses"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "mortgage-embed-loan",
      "operation": "prepare-mortgage-embed-loan",
      "title": "Mortgage payment illustration",
      "description": "Mortgage payment illustration prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-mortgage-embed-loan-1.0.0",
      "calculatorPath": "/calculator/mortgage",
      "input": {
        "loanAmount": 350000,
        "interestRate": 6,
        "loanTerm": 30,
        "downPayment": 70000,
        "propertyTax": 3600,
        "homeInsurance": 1200,
        "pmi": 0
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "Purchase price in USD"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual percent, e.g. 6.25"
          },
          "extraPayment": {
            "description": "Additional principal per month in USD",
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "downPayment": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "propertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Annual property tax in USD"
          },
          "homeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "Annual insurance in USD"
          },
          "pmi": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Annual PMI percent"
          }
        },
        "required": [
          "loanAmount",
          "interestRate",
          "loanTerm",
          "downPayment",
          "propertyTax",
          "homeInsurance",
          "pmi"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "lending-compare",
      "operation": "prepare-lending-compare",
      "title": "Two loan offers compared",
      "description": "Two loan offers compared prepared from validated scenario inputs by the original HT Calc report builder. Set kind to AUTO, PERSONAL, STUDENT, BUSINESS or MORTGAGE. Supply the two offers in the form for that loan type.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-lending-compare-1.0.0",
      "calculatorPath": "/tools",
      "input": {
        "kind": "PERSONAL",
        "a": {
          "loanAmount": 10000,
          "interestRate": 10.5,
          "loanTerm": 36,
          "originationFee": 0
        },
        "b": {
          "loanAmount": 10000,
          "interestRate": 9,
          "loanTerm": 60,
          "originationFee": 0
        }
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "AUTO"
              },
              "a": {
                "type": "object",
                "properties": {
                  "loanAmount": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "Vehicle purchase price before tax/trade-in, USD"
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "extraPayment": {
                    "description": "Additional principal per month in USD",
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  "loanTerm": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Number of monthly payments"
                  },
                  "downPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "tradeInValue": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "amountOwedOnTrade": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "tradeInReducesTax": {
                    "type": "boolean"
                  },
                  "salesTaxRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "fees": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "monthlyInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "monthlyGas": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "monthlyMaintenance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  }
                },
                "required": [
                  "loanAmount",
                  "interestRate",
                  "loanTerm",
                  "downPayment",
                  "tradeInValue",
                  "amountOwedOnTrade",
                  "tradeInReducesTax",
                  "salesTaxRate",
                  "fees",
                  "monthlyInsurance",
                  "monthlyGas",
                  "monthlyMaintenance"
                ],
                "additionalProperties": false
              },
              "b": {
                "type": "object",
                "properties": {
                  "loanAmount": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "Vehicle purchase price before tax/trade-in, USD"
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "extraPayment": {
                    "description": "Additional principal per month in USD",
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  "loanTerm": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Number of monthly payments"
                  },
                  "downPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "tradeInValue": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "amountOwedOnTrade": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "tradeInReducesTax": {
                    "type": "boolean"
                  },
                  "salesTaxRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "fees": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "monthlyInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "monthlyGas": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "monthlyMaintenance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  }
                },
                "required": [
                  "loanAmount",
                  "interestRate",
                  "loanTerm",
                  "downPayment",
                  "tradeInValue",
                  "amountOwedOnTrade",
                  "tradeInReducesTax",
                  "salesTaxRate",
                  "fees",
                  "monthlyInsurance",
                  "monthlyGas",
                  "monthlyMaintenance"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "kind",
              "a",
              "b"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "PERSONAL"
              },
              "a": {
                "type": "object",
                "properties": {
                  "loanAmount": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "extraPayment": {
                    "description": "Additional principal per month in USD",
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  "loanTerm": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Number of monthly payments"
                  },
                  "originationFee": {
                    "type": "number",
                    "minimum": 0,
                    "exclusiveMaximum": 100,
                    "description": "Percentage withheld from proceeds"
                  }
                },
                "required": [
                  "loanAmount",
                  "interestRate",
                  "loanTerm",
                  "originationFee"
                ],
                "additionalProperties": false
              },
              "b": {
                "type": "object",
                "properties": {
                  "loanAmount": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "extraPayment": {
                    "description": "Additional principal per month in USD",
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  "loanTerm": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 600,
                    "description": "Number of monthly payments"
                  },
                  "originationFee": {
                    "type": "number",
                    "minimum": 0,
                    "exclusiveMaximum": 100,
                    "description": "Percentage withheld from proceeds"
                  }
                },
                "required": [
                  "loanAmount",
                  "interestRate",
                  "loanTerm",
                  "originationFee"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "kind",
              "a",
              "b"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "STUDENT"
              },
              "a": {
                "type": "object",
                "properties": {
                  "loanAmount": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "extraPayment": {
                    "description": "Additional principal per month in USD",
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  "loanTerm": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 50,
                    "description": "Whole years"
                  },
                  "originationFee": {
                    "type": "number",
                    "minimum": 0,
                    "exclusiveMaximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "defermentMonths": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 120
                  },
                  "loanSubtype": {
                    "type": "string",
                    "enum": [
                      "subsidized",
                      "unsubsidized"
                    ]
                  }
                },
                "required": [
                  "loanAmount",
                  "interestRate",
                  "loanTerm",
                  "originationFee",
                  "defermentMonths",
                  "loanSubtype"
                ],
                "additionalProperties": false
              },
              "b": {
                "type": "object",
                "properties": {
                  "loanAmount": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "extraPayment": {
                    "description": "Additional principal per month in USD",
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  "loanTerm": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 50,
                    "description": "Whole years"
                  },
                  "originationFee": {
                    "type": "number",
                    "minimum": 0,
                    "exclusiveMaximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "defermentMonths": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 120
                  },
                  "loanSubtype": {
                    "type": "string",
                    "enum": [
                      "subsidized",
                      "unsubsidized"
                    ]
                  }
                },
                "required": [
                  "loanAmount",
                  "interestRate",
                  "loanTerm",
                  "originationFee",
                  "defermentMonths",
                  "loanSubtype"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "kind",
              "a",
              "b"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "BUSINESS"
              },
              "a": {
                "type": "object",
                "properties": {
                  "loanAmount": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "extraPayment": {
                    "description": "Additional principal per month in USD",
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  "loanTerm": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 50,
                    "description": "Whole years"
                  },
                  "originationFee": {
                    "type": "number",
                    "minimum": 0,
                    "exclusiveMaximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "financeOriginationFee": {
                    "type": "boolean"
                  },
                  "businessRevenue": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Monthly revenue in USD"
                  },
                  "businessExpenses": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Monthly expenses in USD"
                  }
                },
                "required": [
                  "loanAmount",
                  "interestRate",
                  "loanTerm",
                  "originationFee",
                  "financeOriginationFee",
                  "businessRevenue",
                  "businessExpenses"
                ],
                "additionalProperties": false
              },
              "b": {
                "type": "object",
                "properties": {
                  "loanAmount": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "extraPayment": {
                    "description": "Additional principal per month in USD",
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  "loanTerm": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 50,
                    "description": "Whole years"
                  },
                  "originationFee": {
                    "type": "number",
                    "minimum": 0,
                    "exclusiveMaximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "financeOriginationFee": {
                    "type": "boolean"
                  },
                  "businessRevenue": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Monthly revenue in USD"
                  },
                  "businessExpenses": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Monthly expenses in USD"
                  }
                },
                "required": [
                  "loanAmount",
                  "interestRate",
                  "loanTerm",
                  "originationFee",
                  "financeOriginationFee",
                  "businessRevenue",
                  "businessExpenses"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "kind",
              "a",
              "b"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "const": "MORTGAGE"
              },
              "a": {
                "type": "object",
                "properties": {
                  "loanAmount": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "Purchase price in USD"
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "extraPayment": {
                    "description": "Additional principal per month in USD",
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  "loanTerm": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 50,
                    "description": "Whole years"
                  },
                  "downPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "propertyTax": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Annual property tax in USD"
                  },
                  "homeInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Annual insurance in USD"
                  },
                  "pmi": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual PMI percent"
                  }
                },
                "required": [
                  "loanAmount",
                  "interestRate",
                  "loanTerm",
                  "downPayment",
                  "propertyTax",
                  "homeInsurance",
                  "pmi"
                ],
                "additionalProperties": false
              },
              "b": {
                "type": "object",
                "properties": {
                  "loanAmount": {
                    "type": "number",
                    "exclusiveMinimum": 0,
                    "maximum": 1000000000,
                    "description": "Purchase price in USD"
                  },
                  "interestRate": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual percent, e.g. 6.25"
                  },
                  "extraPayment": {
                    "description": "Additional principal per month in USD",
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000
                  },
                  "loanTerm": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 50,
                    "description": "Whole years"
                  },
                  "downPayment": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "US dollars"
                  },
                  "propertyTax": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Annual property tax in USD"
                  },
                  "homeInsurance": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Annual insurance in USD"
                  },
                  "pmi": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 100,
                    "description": "Annual PMI percent"
                  }
                },
                "required": [
                  "loanAmount",
                  "interestRate",
                  "loanTerm",
                  "downPayment",
                  "propertyTax",
                  "homeInsurance",
                  "pmi"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "kind",
              "a",
              "b"
            ],
            "additionalProperties": false
          }
        ]
      }
    },
    {
      "template": "supplied-rental-ledger",
      "operation": "prepare-supplied-rental-ledger",
      "title": "Rental cash ledger",
      "description": "Rental cash ledger prepared from validated scenario inputs by the original HT Calc report builder.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-supplied-rental-ledger-1.0.0",
      "calculatorPath": "/calculator/investment/tracker",
      "input": {
        "year": 2026,
        "properties": [
          {
            "months": [
              {
                "month": 10,
                "rentReceived": 1450,
                "lateFeesReceived": 0,
                "otherReceipts": {
                  "laundry": 50,
                  "storage": 0,
                  "parking": 75,
                  "fees": 0,
                  "other": 0
                },
                "expenses": [
                  {
                    "date": "2026-10-08",
                    "category": "Repairs",
                    "amount": 325.75
                  }
                ]
              }
            ]
          }
        ]
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "year": {
            "type": "integer",
            "minimum": 1900,
            "maximum": 2200
          },
          "properties": {
            "minItems": 1,
            "maxItems": 10,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "months": {
                  "minItems": 1,
                  "maxItems": 12,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "month": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 12
                      },
                      "rentReceived": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "multipleOf": 0.01,
                        "description": "US dollars"
                      },
                      "lateFeesReceived": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "multipleOf": 0.01,
                        "description": "US dollars"
                      },
                      "otherReceipts": {
                        "type": "object",
                        "properties": {
                          "laundry": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 1000000000,
                            "multipleOf": 0.01,
                            "description": "US dollars"
                          },
                          "storage": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 1000000000,
                            "multipleOf": 0.01,
                            "description": "US dollars"
                          },
                          "parking": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 1000000000,
                            "multipleOf": 0.01,
                            "description": "US dollars"
                          },
                          "fees": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 1000000000,
                            "multipleOf": 0.01,
                            "description": "US dollars"
                          },
                          "other": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 1000000000,
                            "multipleOf": 0.01,
                            "description": "US dollars"
                          }
                        },
                        "required": [
                          "laundry",
                          "storage",
                          "parking",
                          "fees",
                          "other"
                        ],
                        "additionalProperties": false
                      },
                      "expenses": {
                        "maxItems": 25,
                        "type": "array",
                        "items": {
                          "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])))$"
                            },
                            "amount": {
                              "type": "number",
                              "exclusiveMinimum": 0,
                              "maximum": 1000000000,
                              "multipleOf": 0.01,
                              "description": "US dollars"
                            },
                            "category": {
                              "type": "string",
                              "enum": [
                                "Advertising",
                                "Auto & Travel",
                                "Cleaning & Maintenance",
                                "Commissions",
                                "Insurance",
                                "Legal & Professional",
                                "Management Fees",
                                "Mortgage Interest",
                                "Other Interest",
                                "Repairs",
                                "Supplies",
                                "Taxes",
                                "Utilities",
                                "Other"
                              ]
                            }
                          },
                          "required": [
                            "date",
                            "amount",
                            "category"
                          ],
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "month",
                      "rentReceived",
                      "lateFeesReceived",
                      "otherReceipts",
                      "expenses"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "months"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "year",
          "properties"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "doc-hub-checklist",
      "operation": "prepare-doc-hub-checklist",
      "title": "HT Calc Document Checklist",
      "description": "An anonymous package checklist showing each required or optional document and its caller-declared availability. Omitted requirements are marked missing.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "prepare-doc-hub-checklist-1.0.0",
      "input": {
        "packageType": "mortgage-purchase",
        "items": []
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "packageType": {
                "type": "string",
                "const": "mortgage-purchase"
              },
              "createdAt": {
                "description": "Checklist timestamp; defaults to the preparation time.",
                "type": "string",
                "format": "date-time",
                "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])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "items": {
                "maxItems": 9,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "requirementId": {
                      "type": "string",
                      "enum": [
                        "photo-id",
                        "pay-stubs",
                        "w2",
                        "tax-returns",
                        "bank-statements",
                        "gift-letter",
                        "purchase-agreement",
                        "insurance-declaration",
                        "property-tax-bill"
                      ]
                    },
                    "markedAvailable": {
                      "type": "boolean",
                      "description": "Availability reported by the caller."
                    }
                  },
                  "required": [
                    "requirementId",
                    "markedAvailable"
                  ],
                  "additionalProperties": false
                },
                "description": "Status-only entries. Omitted requirements are missing. An empty array is valid."
              }
            },
            "required": [
              "packageType",
              "items"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "packageType": {
                "type": "string",
                "const": "mortgage-refinance"
              },
              "createdAt": {
                "description": "Checklist timestamp; defaults to the preparation time.",
                "type": "string",
                "format": "date-time",
                "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])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "items": {
                "maxItems": 10,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "requirementId": {
                      "type": "string",
                      "enum": [
                        "photo-id",
                        "pay-stubs",
                        "w2",
                        "tax-returns",
                        "bank-statements",
                        "gift-letter",
                        "mortgage-statement",
                        "purchase-agreement",
                        "insurance-declaration",
                        "property-tax-bill"
                      ]
                    },
                    "markedAvailable": {
                      "type": "boolean",
                      "description": "Availability reported by the caller."
                    }
                  },
                  "required": [
                    "requirementId",
                    "markedAvailable"
                  ],
                  "additionalProperties": false
                },
                "description": "Status-only entries. Omitted requirements are missing. An empty array is valid."
              }
            },
            "required": [
              "packageType",
              "items"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "packageType": {
                "type": "string",
                "const": "cash-out-refi"
              },
              "createdAt": {
                "description": "Checklist timestamp; defaults to the preparation time.",
                "type": "string",
                "format": "date-time",
                "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])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "items": {
                "maxItems": 11,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "requirementId": {
                      "type": "string",
                      "enum": [
                        "photo-id",
                        "pay-stubs",
                        "w2",
                        "tax-returns",
                        "bank-statements",
                        "gift-letter",
                        "mortgage-statement",
                        "home-value-support",
                        "purchase-agreement",
                        "insurance-declaration",
                        "property-tax-bill"
                      ]
                    },
                    "markedAvailable": {
                      "type": "boolean",
                      "description": "Availability reported by the caller."
                    }
                  },
                  "required": [
                    "requirementId",
                    "markedAvailable"
                  ],
                  "additionalProperties": false
                },
                "description": "Status-only entries. Omitted requirements are missing. An empty array is valid."
              }
            },
            "required": [
              "packageType",
              "items"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "packageType": {
                "type": "string",
                "const": "heloc-heloan"
              },
              "createdAt": {
                "description": "Checklist timestamp; defaults to the preparation time.",
                "type": "string",
                "format": "date-time",
                "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])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "items": {
                "maxItems": 7,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "requirementId": {
                      "type": "string",
                      "enum": [
                        "photo-id",
                        "pay-stubs",
                        "w2",
                        "tax-returns",
                        "mortgage-statement",
                        "insurance-declaration",
                        "property-tax-bill"
                      ]
                    },
                    "markedAvailable": {
                      "type": "boolean",
                      "description": "Availability reported by the caller."
                    }
                  },
                  "required": [
                    "requirementId",
                    "markedAvailable"
                  ],
                  "additionalProperties": false
                },
                "description": "Status-only entries. Omitted requirements are missing. An empty array is valid."
              }
            },
            "required": [
              "packageType",
              "items"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "packageType": {
                "type": "string",
                "const": "auto-loan"
              },
              "createdAt": {
                "description": "Checklist timestamp; defaults to the preparation time.",
                "type": "string",
                "format": "date-time",
                "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])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "items": {
                "maxItems": 5,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "requirementId": {
                      "type": "string",
                      "enum": [
                        "photo-id",
                        "proof-of-income",
                        "proof-of-residence",
                        "proof-of-insurance",
                        "vehicle-information"
                      ]
                    },
                    "markedAvailable": {
                      "type": "boolean",
                      "description": "Availability reported by the caller."
                    }
                  },
                  "required": [
                    "requirementId",
                    "markedAvailable"
                  ],
                  "additionalProperties": false
                },
                "description": "Status-only entries. Omitted requirements are missing. An empty array is valid."
              }
            },
            "required": [
              "packageType",
              "items"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "packageType": {
                "type": "string",
                "const": "personal-loan"
              },
              "createdAt": {
                "description": "Checklist timestamp; defaults to the preparation time.",
                "type": "string",
                "format": "date-time",
                "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])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "items": {
                "maxItems": 4,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "requirementId": {
                      "type": "string",
                      "enum": [
                        "photo-id",
                        "proof-of-income",
                        "proof-of-residence",
                        "debt-statements"
                      ]
                    },
                    "markedAvailable": {
                      "type": "boolean",
                      "description": "Availability reported by the caller."
                    }
                  },
                  "required": [
                    "requirementId",
                    "markedAvailable"
                  ],
                  "additionalProperties": false
                },
                "description": "Status-only entries. Omitted requirements are missing. An empty array is valid."
              }
            },
            "required": [
              "packageType",
              "items"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "packageType": {
                "type": "string",
                "const": "business-loan"
              },
              "createdAt": {
                "description": "Checklist timestamp; defaults to the preparation time.",
                "type": "string",
                "format": "date-time",
                "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])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "items": {
                "maxItems": 6,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "requirementId": {
                      "type": "string",
                      "enum": [
                        "photo-id",
                        "business-tax-returns",
                        "personal-tax-returns",
                        "profit-loss",
                        "balance-sheet",
                        "business-license"
                      ]
                    },
                    "markedAvailable": {
                      "type": "boolean",
                      "description": "Availability reported by the caller."
                    }
                  },
                  "required": [
                    "requirementId",
                    "markedAvailable"
                  ],
                  "additionalProperties": false
                },
                "description": "Status-only entries. Omitted requirements are missing. An empty array is valid."
              }
            },
            "required": [
              "packageType",
              "items"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "packageType": {
                "type": "string",
                "const": "dscr-investment"
              },
              "createdAt": {
                "description": "Checklist timestamp; defaults to the preparation time.",
                "type": "string",
                "format": "date-time",
                "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])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "items": {
                "maxItems": 5,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "requirementId": {
                      "type": "string",
                      "enum": [
                        "photo-id",
                        "purchase-agreement",
                        "lease-rent-roll",
                        "insurance-declaration",
                        "property-tax-bill"
                      ]
                    },
                    "markedAvailable": {
                      "type": "boolean",
                      "description": "Availability reported by the caller."
                    }
                  },
                  "required": [
                    "requirementId",
                    "markedAvailable"
                  ],
                  "additionalProperties": false
                },
                "description": "Status-only entries. Omitted requirements are missing. An empty array is valid."
              }
            },
            "required": [
              "packageType",
              "items"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "packageType": {
                "type": "string",
                "const": "bridge-hard-money"
              },
              "createdAt": {
                "description": "Checklist timestamp; defaults to the preparation time.",
                "type": "string",
                "format": "date-time",
                "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])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
              },
              "items": {
                "maxItems": 5,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "requirementId": {
                      "type": "string",
                      "enum": [
                        "photo-id",
                        "purchase-agreement",
                        "scope-of-work",
                        "exit-strategy",
                        "proof-of-funds"
                      ]
                    },
                    "markedAvailable": {
                      "type": "boolean",
                      "description": "Availability reported by the caller."
                    }
                  },
                  "required": [
                    "requirementId",
                    "markedAvailable"
                  ],
                  "additionalProperties": false
                },
                "description": "Status-only entries. Omitted requirements are missing. An empty array is valid."
              }
            },
            "required": [
              "packageType",
              "items"
            ],
            "additionalProperties": false
          }
        ]
      }
    },
    {
      "template": "supplied-rate-snapshot",
      "operation": "prepare-supplied-rate-snapshot",
      "title": "Supplied mortgage rate snapshot",
      "description": "Compare up to 12 dated mortgage quotes and up to 60 caller-supplied observations using the same financed amount. Includes initial ARM payments and any supplied APR.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": false,
      "formulaVersion": "htcalc-supplied-rate-snapshot-1.0.0",
      "calculatorPath": "/rate-tracker",
      "input": {
        "source": "Example lender rate sheet",
        "asOf": "2026-11-13",
        "loanAmount": 300000,
        "quotes": [
          {
            "program": "30-year fixed",
            "termYears": 30,
            "noteRatePct": 6.25,
            "quotedAprPct": 6.42,
            "basis": "observed"
          },
          {
            "program": "5/1 adjustable",
            "termYears": 30,
            "noteRatePct": 5.875,
            "basis": "modeled",
            "fixedIntroMonths": 60
          },
          {
            "program": "15-year fixed",
            "termYears": 15,
            "noteRatePct": 5.75,
            "basis": "observed"
          }
        ],
        "focusProgram": "30-year fixed",
        "history": [
          {
            "date": "2026-11-06",
            "noteRatePct": 6.375
          },
          {
            "date": "2026-11-13",
            "noteRatePct": 6.25
          }
        ]
      },
      "inputSchema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "minLength": 1,
            "maxLength": 48,
            "pattern": "^[\\p{L}\\p{N} .,&()'’/-]+$",
            "description": "Name of the source whose supplied rates the caller may distribute"
          },
          "asOf": {
            "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])))$"
          },
          "loanAmount": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "quotes": {
            "minItems": 1,
            "maxItems": 12,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "program": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 48,
                  "pattern": "^[\\p{L}\\p{N} .,&()'’/-]+$"
                },
                "termYears": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 50,
                  "description": "Whole years"
                },
                "noteRatePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual percent, e.g. 6.25"
                },
                "quotedAprPct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual percent, e.g. 6.25"
                },
                "basis": {
                  "type": "string",
                  "enum": [
                    "observed",
                    "modeled"
                  ]
                },
                "fixedIntroMonths": {
                  "description": "For an adjustable-rate mortgage, months before the rate may reset. Omit for fixed-rate loans.",
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "program",
                "termYears",
                "noteRatePct",
                "basis"
              ],
              "additionalProperties": false
            }
          },
          "focusProgram": {
            "type": "string",
            "minLength": 1,
            "maxLength": 48,
            "pattern": "^[\\p{L}\\p{N} .,&()'’/-]+$"
          },
          "history": {
            "description": "Observed note-rate series for the focus program only; dates ascend and end at the supplied quote",
            "maxItems": 60,
            "type": "array",
            "items": {
              "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])))$"
                },
                "noteRatePct": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "description": "Annual percent, e.g. 6.25"
                }
              },
              "required": [
                "date",
                "noteRatePct"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "source",
          "asOf",
          "loanAmount",
          "quotes",
          "focusProgram"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "manual-lender-offer-comparison",
      "operation": "structured-loan-estimate-comparison",
      "title": "Entered Loan Estimates side by side",
      "description": "Disclosed terms, cash requirements and comparable scheduled outlay across two to five offers. Optional disclosed five-year total paid and principal paid show the borrowing cost for each complete offer.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "structured-loan-estimate-comparison-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/analyze",
      "input": {
        "offers": [
          {
            "loanAmount": 200000,
            "loanTerm": 30,
            "loanPurpose": "purchase",
            "loanType": "conventional",
            "productType": "fixed",
            "balloonPayment": false,
            "monthlyPI": 1200,
            "totalClosingCostsDI": 5000,
            "closingCostsBasis": "gross",
            "lenderCredits": 1000,
            "estimatedCashToClose": 34000,
            "apr": 6.125
          },
          {
            "loanAmount": 200000,
            "loanTerm": 30,
            "loanPurpose": "purchase",
            "loanType": "conventional",
            "productType": "fixed",
            "balloonPayment": false,
            "monthlyPI": 1220,
            "totalClosingCostsDI": 2500,
            "closingCostsBasis": "net",
            "lenderCredits": 800,
            "estimatedCashToClose": 32500,
            "apr": 6.25
          }
        ]
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "offers": {
            "type": "array",
            "minItems": 2,
            "maxItems": 5,
            "items": {
              "type": "object",
              "properties": {
                "loanAmount": {
                  "type": "number",
                  "minimum": 0.01,
                  "maximum": 100000000
                },
                "loanTerm": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 40
                },
                "loanPurpose": {
                  "type": "string",
                  "enum": [
                    "purchase",
                    "refinance"
                  ]
                },
                "loanType": {
                  "type": "string",
                  "enum": [
                    "conventional",
                    "fha",
                    "va",
                    "usda"
                  ]
                },
                "productType": {
                  "type": "string",
                  "enum": [
                    "fixed",
                    "arm",
                    "interest-only",
                    "balloon"
                  ]
                },
                "balloonPayment": {
                  "type": "boolean"
                },
                "monthlyPI": {
                  "type": "number",
                  "minimum": 0.01,
                  "maximum": 1000000
                },
                "totalClosingCostsDI": {
                  "type": "number",
                  "minimum": -100000000,
                  "maximum": 100000000,
                  "description": "Total closing costs on the selected gross or net basis."
                },
                "closingCostsBasis": {
                  "type": "string",
                  "enum": [
                    "net",
                    "gross"
                  ]
                },
                "lenderCredits": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000,
                  "description": "Enter the positive credit amount. A net total already includes this credit."
                },
                "estimatedCashToClose": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "apr": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100
                },
                "inFiveYearsTotal": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Manually entered five-year figure from Loan Estimate page 3, in dollars."
                },
                "inFiveYearsPrincipal": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000,
                  "description": "Manually entered five-year figure from Loan Estimate page 3, in dollars."
                }
              },
              "required": [
                "loanAmount",
                "loanTerm",
                "loanPurpose",
                "loanType",
                "productType",
                "balloonPayment",
                "monthlyPI",
                "totalClosingCostsDI",
                "closingCostsBasis",
                "lenderCredits",
                "estimatedCashToClose",
                "apr"
              ],
              "additionalProperties": false,
              "allOf": [
                {
                  "if": {
                    "properties": {
                      "closingCostsBasis": {
                        "const": "gross"
                      }
                    }
                  },
                  "then": {
                    "properties": {
                      "totalClosingCostsDI": {
                        "minimum": 0
                      }
                    }
                  }
                }
              ]
            }
          }
        },
        "required": [
          "offers"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "manual-loan-product-paths",
      "operation": "loan-product-payment-paths",
      "title": "Scheduled mortgage payment paths",
      "description": "Entered fixed, ARM and interest-only payment paths, known outlay and crossovers through the requested horizon.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "loan-product-payment-paths-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/analyze",
      "input": {
        "options": [
          {
            "loanType": "fixed",
            "loanAmount": 180000,
            "termYears": 20,
            "monthlyPI": 1000,
            "closingCosts": 1000,
            "discountPoints": 0,
            "lenderCredits": 0
          },
          {
            "loanType": "fixed",
            "loanAmount": 180000,
            "termYears": 20,
            "monthlyPI": 1100,
            "closingCosts": 0,
            "discountPoints": 0,
            "lenderCredits": 0
          },
          {
            "loanType": "arm",
            "loanAmount": 180000,
            "termYears": 20,
            "monthlyPI": 950,
            "closingCosts": 1000,
            "discountPoints": 0,
            "lenderCredits": 0,
            "armInitialMonths": 6
          }
        ],
        "horizonMonths": 12
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "options": {
            "type": "array",
            "minItems": 2,
            "maxItems": 5,
            "items": {
              "type": "object",
              "properties": {
                "loanType": {
                  "type": "string",
                  "enum": [
                    "fixed",
                    "arm",
                    "interest-only"
                  ]
                },
                "loanAmount": {
                  "type": "number",
                  "minimum": 0.01,
                  "maximum": 100000000
                },
                "termYears": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 40
                },
                "monthlyPI": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000
                },
                "closingCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "discountPoints": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "lenderCredits": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "armInitialMonths": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 480
                }
              },
              "required": [
                "loanType",
                "loanAmount",
                "termYears",
                "monthlyPI",
                "closingCosts",
                "discountPoints",
                "lenderCredits"
              ],
              "additionalProperties": false,
              "allOf": [
                {
                  "if": {
                    "properties": {
                      "loanType": {
                        "const": "arm"
                      }
                    }
                  },
                  "then": {
                    "required": [
                      "armInitialMonths"
                    ]
                  }
                },
                {
                  "if": {
                    "properties": {
                      "loanType": {
                        "enum": [
                          "fixed",
                          "arm"
                        ]
                      }
                    }
                  },
                  "then": {
                    "properties": {
                      "monthlyPI": {
                        "exclusiveMinimum": 0,
                        "type": "number"
                      }
                    }
                  }
                }
              ]
            }
          },
          "horizonMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 480
          }
        },
        "required": [
          "options",
          "horizonMonths"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "manual-purchase-cash-strategies",
      "operation": "purchase-cash-and-rate-strategies",
      "title": "Purchase cash strategies at quoted rates",
      "description": "Compare cash to close, reserve shortfalls, project cash and equity under the supplied fixed-rate offers.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "purchase-cash-and-rate-strategies-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/analyze",
      "input": {
        "homePrice": 300000,
        "cashAvailable": 65000,
        "reserveTarget": 10000,
        "horizonMonths": 12,
        "horizonHomeValue": 300000,
        "monthlyPropertyTax": 250,
        "monthlyHomeInsurance": 100,
        "monthlyHoa": 50,
        "options": [
          {
            "downPayment": 60000,
            "quotedAnnualRate": 0,
            "termYears": 20,
            "closingCashCosts": 5000,
            "pointCost": 0,
            "lenderCredit": 0,
            "financedFees": 0,
            "monthlyMortgageInsurance": 0,
            "mortgageInsuranceMonths": 0,
            "immediateProjectCash": 0
          },
          {
            "downPayment": 30000,
            "quotedAnnualRate": 0,
            "termYears": 20,
            "closingCashCosts": 5000,
            "pointCost": 0,
            "lenderCredit": 1000,
            "financedFees": 0,
            "monthlyMortgageInsurance": 110,
            "mortgageInsuranceMonths": 84,
            "immediateProjectCash": 6000
          }
        ]
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "homePrice": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100000000
          },
          "cashAvailable": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000
          },
          "reserveTarget": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000
          },
          "horizonMonths": {
            "type": "integer",
            "minimum": 0,
            "maximum": 480
          },
          "horizonHomeValue": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000
          },
          "monthlyPropertyTax": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "monthlyHomeInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "monthlyHoa": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "options": {
            "type": "array",
            "minItems": 2,
            "maxItems": 5,
            "items": {
              "type": "object",
              "properties": {
                "downPayment": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "quotedAnnualRate": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100,
                  "anyOf": [
                    {
                      "const": 0
                    },
                    {
                      "minimum": 0.001
                    }
                  ]
                },
                "termYears": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 40
                },
                "closingCashCosts": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "pointCost": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "lenderCredit": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "financedFees": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "monthlyMortgageInsurance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000
                },
                "mortgageInsuranceMonths": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 480
                },
                "immediateProjectCash": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000
                },
                "financedGovernmentFee": {
                  "maximum": 100000000,
                  "minimum": 0,
                  "type": "number"
                },
                "loanProgram": {
                  "enum": [
                    "conventional",
                    "fha",
                    "va",
                    "usda",
                    "jumbo",
                    "other"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "downPayment",
                "quotedAnnualRate",
                "termYears",
                "closingCashCosts",
                "pointCost",
                "lenderCredit",
                "financedFees",
                "monthlyMortgageInsurance",
                "mortgageInsuranceMonths",
                "immediateProjectCash"
              ],
              "additionalProperties": false
            }
          },
          "primaryFhaRemodel": {
            "additionalProperties": false,
            "properties": {
              "annualAppreciationPct": {
                "maximum": 50,
                "minimum": -50,
                "type": "number"
              },
              "optionIndex": {
                "maximum": 4,
                "minimum": 0,
                "type": "integer"
              },
              "plannedBudget": {
                "exclusiveMinimum": 0,
                "maximum": 100000000,
                "type": "number"
              }
            },
            "required": [
              "optionIndex",
              "plannedBudget"
            ],
            "type": "object"
          }
        },
        "required": [
          "homePrice",
          "cashAvailable",
          "reserveTarget",
          "horizonMonths",
          "horizonHomeValue",
          "monthlyPropertyTax",
          "monthlyHomeInsurance",
          "monthlyHoa",
          "options"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "manual-le-cd-fee-review",
      "operation": "loan-estimate-closing-disclosure-fee-review",
      "title": "Loan Estimate and Closing Disclosure fee review",
      "description": "Compare four entered section totals and identify changes that warrant itemized review.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "loan-estimate-closing-disclosure-fee-review-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/analyze",
      "input": {
        "estimate": {
          "totalOriginationCharges": 1500,
          "totalServicesCannotShopFor": 200,
          "totalServicesCanShopFor": 1000,
          "lenderCredits": 500
        },
        "closingDisclosure": {
          "totalOriginationCharges": 1520,
          "totalServicesCannotShopFor": 200,
          "totalServicesCanShopFor": 1100,
          "lenderCredits": 450
        }
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "estimate": {
            "type": "object",
            "properties": {
              "totalOriginationCharges": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "totalServicesCannotShopFor": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "totalServicesCanShopFor": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "lenderCredits": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              }
            },
            "required": [
              "totalOriginationCharges",
              "totalServicesCannotShopFor",
              "totalServicesCanShopFor",
              "lenderCredits"
            ],
            "additionalProperties": false
          },
          "closingDisclosure": {
            "type": "object",
            "properties": {
              "totalOriginationCharges": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "totalServicesCannotShopFor": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "totalServicesCanShopFor": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              },
              "lenderCredits": {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000
              }
            },
            "required": [
              "totalOriginationCharges",
              "totalServicesCannotShopFor",
              "totalServicesCanShopFor",
              "lenderCredits"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "estimate",
          "closingDisclosure"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "manual-le-field-lock-review",
      "operation": "loan-estimate-field-and-lock-review",
      "title": "Loan Estimate field and rate-lock review",
      "description": "Entered fixed-rate figures, field review messages, and the lock position on the review date.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 1,
      "standaloneCalculation": true,
      "formulaVersion": "loan-estimate-field-and-lock-review-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/analyze",
      "input": {
        "product": "fully-amortizing-fixed",
        "loanAmount": 120000,
        "interestRate": 6,
        "loanTerm": 30,
        "monthlyPI": 719.46,
        "apr": 6.1,
        "grossClosingCosts": 4000,
        "totalOriginationCharges": 1050,
        "asOfDate": "2026-11-14",
        "lock": {
          "status": "locked",
          "expiryDate": "2026-11-24"
        }
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "product": {
            "const": "fully-amortizing-fixed"
          },
          "loanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100000000
          },
          "interestRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 40
          },
          "monthlyPI": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000
          },
          "apr": {
            "type": "number",
            "minimum": 0,
            "maximum": 100
          },
          "grossClosingCosts": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000
          },
          "totalOriginationCharges": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000
          },
          "asOfDate": {
            "type": "string",
            "format": "date"
          },
          "lock": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "status": {
                    "const": "locked"
                  },
                  "expiryDate": {
                    "type": "string",
                    "format": "date"
                  }
                },
                "required": [
                  "status",
                  "expiryDate"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "status": {
                    "enum": [
                      "unlocked",
                      "unknown"
                    ]
                  }
                },
                "required": [
                  "status"
                ],
                "additionalProperties": false
              }
            ]
          }
        },
        "required": [
          "product",
          "loanAmount",
          "interestRate",
          "loanTerm",
          "monthlyPI",
          "apr",
          "grossClosingCosts",
          "totalOriginationCharges",
          "asOfDate",
          "lock"
        ],
        "additionalProperties": false
      }
    },
    {
      "template": "manual-le-apr-check",
      "operation": "loan-estimate-apr-check",
      "title": "Loan Estimate APR check",
      "description": "Compare the computed APR with the disclosed figure and show the terms and insurance periods used.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "loan-estimate-apr-check-htcalc-719df2c0e105",
      "calculatorPath": "/calculator/mortgage/analyze",
      "input": {
        "loanAmount": 200000,
        "monthlyPI": 1264.14,
        "loanTerm": 30,
        "interestRate": 6.5,
        "productType": "Fixed Rate",
        "balloonPayment": false,
        "monthlyMortgageInsurance": 0,
        "totalOriginationCharges": 0,
        "upfrontMIP": 0,
        "prepaidInterest": 0,
        "projectedPayments": [
          {
            "period": "Years 1–30",
            "mortgageInsurance": 0
          }
        ],
        "apr": 6.5
      },
      "inputSchema": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "loanAmount": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "monthlyPI": {
            "type": "number",
            "minimum": 0.01,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "loanTerm": {
            "type": "integer",
            "minimum": 1,
            "maximum": 50,
            "description": "Whole years"
          },
          "interestRate": {
            "type": "number",
            "minimum": 0.001,
            "maximum": 50,
            "description": "Annual note rate in percent"
          },
          "productType": {
            "type": "string",
            "const": "Fixed Rate"
          },
          "balloonPayment": {
            "type": "boolean",
            "const": false
          },
          "monthlyMortgageInsurance": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "US dollars per month"
          },
          "mortgageInsuranceMonths": {
            "type": "integer",
            "minimum": 1,
            "maximum": 600,
            "description": "Whole months"
          },
          "totalOriginationCharges": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "upfrontMIP": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "prepaidInterest": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000,
            "description": "US dollars"
          },
          "projectedPayments": {
            "type": "array",
            "minItems": 0,
            "maxItems": 50,
            "items": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "period": {
                  "type": "string",
                  "maxLength": 20,
                  "pattern": "^Years?\\s+[1-9]\\d?(?:\\s*[-–]\\s*[1-9]\\d?)?$"
                },
                "mortgageInsurance": {
                  "type": "number",
                  "minimum": 0,
                  "maximum": 100000000,
                  "description": "US dollars per month"
                }
              },
              "required": [
                "period",
                "mortgageInsurance"
              ]
            }
          },
          "apr": {
            "type": "number",
            "minimum": 0,
            "maximum": 100,
            "description": "Percent; 6.5 means 6.5%"
          }
        },
        "required": [
          "loanAmount",
          "monthlyPI",
          "loanTerm",
          "interestRate",
          "productType",
          "balloonPayment",
          "monthlyMortgageInsurance",
          "totalOriginationCharges",
          "upfrontMIP",
          "prepaidInterest",
          "projectedPayments"
        ]
      }
    },
    {
      "template": "explain-numbers",
      "operation": "explain-numbers",
      "title": "Explain my numbers",
      "description": "Returns the original calculator’s math, substituted figures, comparisons and available deep-dive sections, with checks against the numerical engine.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 20,
      "standaloneCalculation": true,
      "formulaVersion": "htcalc-explain-numbers-1.0.0",
      "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
        }
      },
      "inputSchema": {
        "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
              }
            }
          }
        ]
      }
    },
    {
      "template": "savings-plan-milestones",
      "operation": "savings-plan-milestones",
      "title": "Savings goal and milestones",
      "description": "Goal status, annual balances, contribution alternatives and milestone interest from the supplied savings plan.",
      "reportVersion": "1.0.0",
      "plans": [
        "business",
        "scale",
        "enterprise"
      ],
      "creditCost": 2,
      "standaloneCalculation": true,
      "formulaVersion": "savings-plan-milestones-1.0.0",
      "calculatorPath": "/calculator/savings",
      "input": {
        "initialDeposit": 5000,
        "monthlyContribution": 500,
        "annualRate": 4.5,
        "years": 10,
        "compounding": "monthly",
        "goal": 75000
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "initialDeposit": {
            "type": "number",
            "minimum": 0,
            "maximum": 100000000,
            "description": "Opening deposit in USD.",
            "multipleOf": 0.01
          },
          "monthlyContribution": {
            "type": "number",
            "minimum": 0,
            "maximum": 10000000,
            "description": "Contribution in USD per month. Daily mode distributes this across 365 periods per year.",
            "multipleOf": 0.01
          },
          "annualRate": {
            "type": "number",
            "minimum": 0,
            "maximum": 15,
            "description": "Fixed annual nominal rate in percentage points (4.5 means 4.5%)."
          },
          "years": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "description": "Whole projection years."
          },
          "compounding": {
            "type": "string",
            "enum": [
              "monthly",
              "daily"
            ],
            "description": "Contribution and crediting cadence; interest accrues before each period-end deposit."
          },
          "goal": {
            "type": "number",
            "minimum": 0,
            "maximum": 9007199254740991,
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "number",
                "minimum": 0,
                "maximum": 100000000,
                "description": "Shared savings goal in USD.",
                "multipleOf": 0.01
              }
            ],
            "description": "Optional USD goal. Manual goals use whole dollars. Share links can supply a goal with cents up to $100 million. Zero or omission disables the goal."
          }
        },
        "required": [
          "initialDeposit",
          "monthlyContribution",
          "annualRate",
          "years",
          "compounding"
        ],
        "additionalProperties": false
      }
    }
  ]
}
