realestate.kr_dti
Calculates the Korean DTI ratio from monthly debt payment and monthly income, then checks whether it falls within the applicable regulatory limit for the given year and region.
Instructions
DTI(총부채상환비율 = 월 원리금 상환액 / 월 소득, 원 단위 문자열)를 계산하고 한도 이내인지 판정한다. 소수 4자리 HALF_EVEN 반올림, 규제지역 40%, 규제지역 외 수도권(아파트 담보) 60%, 수도권 외 비규제지역은 한도 없음(cap 이 null, within_cap 은 true). 오용 예: 연간 금액을 월 금액 자리에 입력.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| as_of | No | ||
| is_regulated | Yes | ||
| monthly_income | Yes | ||
| is_capital_area | No | ||
| include_proposed | No | ||
| monthly_debt_payment | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | Yes | ||
| dti | Yes | ||
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| within_cap | Yes | ||
| policy_sha256 | Yes | ||
| policy_source | Yes | ||
| policy_status | Yes | ||
| policy_version | Yes | 적용된 정책 문서의 식별 정보 | |
| policy_audit_id | Yes | ||
| policy_citations | Yes | 정책의 근거 조문 | |
| policy_effective_to | Yes | ||
| policy_effective_date | Yes |