realestate.kr_dsr
Calculate Korea’s DSR from annual debt payment and income, then determine whether it meets bank (40%) or non-bank (50%) limits, with optional regional stress-rate guidance.
Instructions
DSR(총부채원리금상환비율 = 연간 원리금 상환액 / 연간 소득, 원 단위 문자열)을 계산하고 한도 이내인지 판정한다. 소수 4자리 HALF_EVEN 반올림, 한도는 은행권 40%, 2금융권(is_nonbank) 50%. mortgage_region 을 주면 스트레스 금리 하한을 반환하지만 상환액에 가산해 주지는 않는다. 오용 예: 월 상환액과 연 소득을 섞어 입력.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| as_of | No | ||
| is_nonbank | No | ||
| annual_income | Yes | ||
| mortgage_region | No | ||
| include_proposed | No | ||
| annual_debt_payment | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | Yes | ||
| dsr | 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 | 정책의 근거 조문 | |
| stress_rate_floor | Yes | ||
| policy_effective_to | Yes | ||
| policy_effective_date | Yes |