{"$defs":{"ARVCompInput":{"properties":{"address":{"description":"Comp property address","title":"Address","type":"string"},"sale_price":{"description":"Comp sale price ($)","exclusiveMinimum":0,"title":"Sale Price","type":"number"}},"required":["address","sale_price"],"title":"ARVCompInput","type":"object"}},"example":{"address":"742 Evergreen Terrace, Charleston, SC 29403","annual_interest":0.12,"arv_cap_pct":0.75,"buy_closing_pct":0.015,"comps":[{"address":"738 Evergreen Terrace, Charleston, SC","sale_price":285000},{"address":"801 Oak St, Charleston, SC","sale_price":292000},{"address":"655 Pine Ave, Charleston, SC","sale_price":278000}],"contingency_pct":0.1,"desired_profit":30000,"hold_months":6,"lender_points":0.02,"ltc_cap_pct":0.9,"monthly_expenses":700,"repair_cost":42000,"sell_closing_pct":0.08},"properties":{"address":{"description":"Subject property address","title":"Address","type":"string"},"comps":{"description":"2-5 recent comparable sales used to estimate After-Repair Value (ARV). Equal weighted — simple average of all comp sale prices.","items":{"$ref":"#/$defs/ARVCompInput"},"maxItems":5,"minItems":1,"title":"Comps","type":"array"},"repair_cost":{"description":"Estimated cost of repairs ($) — materials and labor","exclusiveMinimum":0,"title":"Repair Cost","type":"number"},"contingency_pct":{"default":0.1,"description":"Contingency buffer on repair cost. Default 10%.","maximum":0.5,"minimum":0,"title":"Contingency Pct","type":"number"},"hold_months":{"default":6,"description":"Expected hold period in months. Default 6 months.","maximum":36,"minimum":1,"title":"Hold Months","type":"integer"},"monthly_expenses":{"default":0.0,"description":"Combined monthly carrying costs — property taxes, insurance, utilities ($). Default $0.","minimum":0,"title":"Monthly Expenses","type":"number"},"lender_points":{"default":0.02,"description":"Origination points as % of loan e.g. 0.02 = 2 points. Default 2%.","maximum":0.1,"minimum":0,"title":"Lender Points","type":"number"},"annual_interest":{"default":0.12,"description":"Annual interest rate on hard money loan. Default 12%.","exclusiveMaximum":0.3,"exclusiveMinimum":0,"title":"Annual Interest","type":"number"},"buy_closing_pct":{"default":0.015,"description":"Buyer closing costs as % of purchase price. Default 1.5%.","maximum":0.05,"minimum":0,"title":"Buy Closing Pct","type":"number"},"sell_closing_pct":{"default":0.08,"description":"Seller closing costs as % of After-Repair Value (ARV) — agent commissions, title, transfer taxes. Default 8%.","maximum":0.15,"minimum":0,"title":"Sell Closing Pct","type":"number"},"desired_profit":{"default":20000,"description":"Minimum acceptable net profit ($). Engine solves for the maximum purchase price that delivers this profit.","exclusiveMinimum":0,"title":"Desired Profit","type":"number"},"arv_cap_pct":{"anyOf":[{"maximum":1.0,"minimum":0,"type":"number"},{"type":"null"}],"default":0.75,"description":"Max loan as % of ARV. e.g. 0.75 = 75%%. Omit (null) to disable this cap.","title":"Arv Cap Pct"},"ltc_cap_pct":{"anyOf":[{"maximum":1.0,"minimum":0,"type":"number"},{"type":"null"}],"default":0.9,"description":"Max loan as % of purchase + repairs. e.g. 0.90 = 90%%. Omit (null) to disable this cap.","title":"Ltc Cap Pct"},"purchase_date":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"default":null,"description":"Expected close date (YYYY-MM-DD). Used for the XIRR IRR calculation (ACT/365); exit date = month-end, hold_months later. Defaults to today.","title":"Purchase Date"}},"required":["address","comps","repair_cost"],"title":"FixFlipRequest","type":"object"}