realestate.kr_subscription_score
Calculates Korea's housing subscription points for homeless period, dependents, and savings contributions, applying spouse conversion and point caps to return a total score.
Instructions
주택공급에 관한 규칙 별표 1의 청약 가점제 점수(무주택기간 32, 부양가족 35, 청약저축 가입기간 17, 합계 84점)를 계산한다. 기간은 입주자모집공고일 현재 개월 수 정수, 부양가족은 인원 정수로 넣는다. 배우자 가입기간은 50%로 환산해 3점 한도로 합산하고 저축 점수는 17점 한도다. 주택 소유 세대나 만 30세 미만 미혼은 homeless_period_applicable=false 로 0점이다. 만 나이 전체를 무주택기간으로 넣는 것은 오용이며 30세 또는 혼인신고일부터 센다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| as_of | No | ||
| dependents | Yes | ||
| savings_months | Yes | ||
| homeless_months | Yes | ||
| include_proposed | No | ||
| spouse_savings_months | No | ||
| homeless_period_applicable | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) | |
| total_points | Yes | ||
| policy_sha256 | Yes | ||
| policy_source | Yes | ||
| policy_status | Yes | ||
| policy_version | Yes | 적용된 정책 문서의 식별 정보 | |
| savings_points | Yes | ||
| homeless_points | Yes | ||
| policy_audit_id | Yes | ||
| max_total_points | Yes | ||
| policy_citations | Yes | 정책의 근거 조문 | |
| dependents_points | Yes | ||
| policy_effective_to | Yes | ||
| savings_total_points | Yes | ||
| policy_effective_date | Yes | ||
| spouse_savings_points | Yes |