gyeokguk
Determine your Saju chart's governing structure based on classical Myeongli rules. Input birth date, time, and gender to receive the named pattern, body strength, and favorable element.
Instructions
Gyeokguk (格局, chart structure/pattern) determination. Reads the chart's governing structure from the day-master and month-branch by classical Myeongli rules. Returns the named pattern with its true/quasi grade (e.g. 편인격 · 가격), the body strength (신강/신약), supporting sub-patterns (e.g. 식상생재), the favorable element (yongshin), and the five-element distribution behind the judgment. Use for 'what is my gyeokguk', 'what's my chart pattern / structure', '내 격국이 뭐야'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| birth | Yes | Birth date & time, 12 digits YYYYMMDDHHMM (e.g. 199001151030). Use 1230 for unknown time. | |
| gender | Yes | Gender — 0: female, 1: male (CAFE convention). | |
| name | No | Optional name. Affects some engine outputs; omit to use the default. | |
| is_lunar | No | Optional. true if the birth date is a lunar-calendar date (default false = solar). | |
| is_leap_year | No | Optional. true if the lunar birth month is a leap month (윤달). Only meaningful with is_lunar=true. | |
| option1 | No | Optional Rat-hour (자시) rule — 0: Ya-jasi/야자시 (default), 1: Jo-jasi/조자시. | |
| option2 | No | Optional year-pillar season basis — 0: Ipchun/입춘 (default, standard practice), -1: Dongji/동지. | |
| loc | No | Optional birthplace region ID for overseas births (24Plus world-city ID). Omit for Korea. | |
| time_unknown | No | Optional. true if the birth time is unknown — the chart header marks the hour pillar as estimated. Pair with HHMM=1230. |