Four Transformations (四化)
astroway_ziwei_four_transformationsComputes the four Zi Wei transformations (化禄, 化权, 化科, 化忌) from a birth date's year stem, returning every school's reading for the disputed 戊, 庚 and 壬 stems.
Instructions
The four stars activated by the birth year stem: 化禄 fortune, 化权 authority, 化科 repute, 化忌 obstruction. The one part of Zi Wei computable without star placement. Seven stems are agreed across traditions; for the three that are not (戊 庚 壬) every school reading ships in schoolVariants, and school switches the headline answer.
[Group: Zi Wei Dou Shu (Purple Star)] [Endpoint: POST /v1/ziwei/four-transformations] [Required: date] [Cost: 10 credits (Tier 1)]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| time | No | ||
| school | No | ||
| timezone | No | IANA zone name such as Europe/Kyiv, or auto to look the zone up from latitude and longitude. The server takes the offset that zone kept at this local date and time, summer time included, and uses it in place of timezoneOffset. A clock time that happened twice takes the first occurrence; one skipped when clocks went forward takes the offset from before the change. Abbreviations such as EST are refused. Before 1970 the tz database is not reliable for every place, so send timezoneOffset when the local clock is known. | |
| timezoneOffset | No | Ignored when timezone is sent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| school | No | ||
| disputed | No | ||
| yearStem | No | ||
| solarYear | No | ||
| schoolVariants | No | ||
| transformations | No |