{"ok":true,"tool":"pragmatic.get_calculator_schema.v1","result":{"calculator":{"slug":"qualification","title":"Mortgage Qualification","description":"Test a target mortgage against income, debts, housing costs, and lender qualification rules.","category":"qualification","url":"https://pragmatic.mortgage/calculators/qualification","inputSchema":{"type":"object","properties":{"mortgageAmount":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$"}]},"contractRatePercent":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$"}]},"amortization":{"type":"object","properties":{"years":{"type":"integer","minimum":0,"maximum":40},"months":{"type":"integer","minimum":0,"maximum":11}},"required":["years","months"],"additionalProperties":false},"purchasePrice":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$"}]},"shelter":{"type":"object","properties":{"taxesAnnual":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$"}]},"heatMonthly":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$"}]},"condoFeesMonthly":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$"}]},"insuranceMonthly":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$"}]}},"required":["taxesAnnual","heatMonthly"],"additionalProperties":false},"otherDebtsMonthly":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$"}]},"grossIncomeAnnual":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$"}]},"otherIncomeAnnual":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$"}]},"targets":{"type":"object","properties":{"maxGds":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$"}]},"maxTds":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$"}]}},"additionalProperties":false,"default":{}},"osfiFloorPercent":{"anyOf":[{"type":"number"},{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$"}]},"paymentFrequency":{"type":"string","enum":["monthly","semi_monthly","biweekly","accelerated_biweekly","weekly","accelerated_weekly"],"default":"monthly"}},"required":["mortgageAmount","contractRatePercent","amortization","shelter","otherDebtsMonthly","grossIncomeAnnual"],"additionalProperties":false}}}}