id string, required- Life area id: career, knowledge, family, wealth, fame, love, children, helpful-people or health. Always English, whatever the lang parameter says, so it stays safe to compare against in code. Use nameLocalized for anything a reader sees.
name string, required- Display name of the life area. Always English, whatever the lang parameter says. Use nameLocalized for anything a reader sees.
nameLocalized string- Life area name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat name exactly. Never compare against this value.
number number, required- Lo Shu number of the palace, 1 to 9. This is the same number the flying stars use, so a chart palace and a Bagua sector line up by it.
palace string, required- Palace of the Lo Shu grid: one of the eight compass sectors, or Center for the ninth. Always English, safe to compare against.
direction string- Compass sector of the palace, taken from the trigram that sits there. Absent on the centre palace, which has no direction.
element string, required- Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
colors array of string, required- Colours of the phase this sector carries, for activating it. Derived from the element rather than assigned per sector, so they cannot disagree with the element beside them.
trigram object- The Later Heaven trigram of the sector, which is the arrangement every compass reading and every flying star chart uses. Absent on the centre palace.
trigram.number number, required- Trigram number, 1 to 8, the same identifier the I-Ching trigram endpoints use. It is a lookup key, not a ranking.
trigram.chinese string, required- Chinese character for the trigram. Data, identical in every language.
trigram.english string, required- English name of the trigram, byte identical to the English value the I-Ching trigram endpoints publish for this number. Always English here, whatever the lang parameter says, so it stays safe to compare against. Use nameLocalized for anything a reader sees.
trigram.nameLocalized string- Trigram name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat english exactly. Never compare against this value.
trigram.pinyin string, required- Tone-marked pinyin for the trigram. Data, identical in every language.
trigram.symbol string, required- Unicode trigram symbol, for rendering a Bagua diagram without an icon set.
trigram.binary string, required- Three lines bottom to top, 1 for yang and 0 for yin. The Eight Mansions classification of any sector is decided by which of these three lines differ from your own trigram.
trigram.element string, required- Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
trigram.elementLocalized string- Five phase name in the requested language, for display only. Present only when lang is set to a language other than English. Never compare against this value.
trigram.direction string, required- Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
trigram.directionLocalized string- Compass sector in the requested language, for display only, the same word the composed readings use. Present only when lang is set to a language other than English. Never compare against this value.
trigram.familyMember string, required- Family role of the trigram. Read alongside an affliction to know which member of the household a sector points at. Always English, and it carries no localized sibling: no vocabulary this package ships names the eight family roles.
earlierHeavenTrigram object- The trigram that sits in this direction under the Earlier Heaven arrangement, read for the symbolic relation between opposite sectors. A different question from the Later Heaven trigram, not a competing answer. Absent on the centre palace.
earlierHeavenTrigram.number number, required- Trigram number, 1 to 8, the same identifier the I-Ching trigram endpoints use. It is a lookup key, not a ranking.
earlierHeavenTrigram.chinese string, required- Chinese character for the trigram. Data, identical in every language.
earlierHeavenTrigram.english string, required- English name of the trigram, byte identical to the English value the I-Ching trigram endpoints publish for this number. Always English here, whatever the lang parameter says, so it stays safe to compare against. Use nameLocalized for anything a reader sees.
earlierHeavenTrigram.nameLocalized string- Trigram name in the requested language, for display only. Present only when lang is set to a language other than English, since in English it would repeat english exactly. Never compare against this value.
earlierHeavenTrigram.pinyin string, required- Tone-marked pinyin for the trigram. Data, identical in every language.
earlierHeavenTrigram.symbol string, required- Unicode trigram symbol, for rendering a Bagua diagram without an icon set.
earlierHeavenTrigram.binary string, required- Three lines bottom to top, 1 for yang and 0 for yin. The Eight Mansions classification of any sector is decided by which of these three lines differ from your own trigram.
earlierHeavenTrigram.element string, required- Five phase of this entry: Wood, Fire, Earth, Metal or Water. Always English so it stays safe to compare against and to key styling on. The full cycles live on the Chinese astrology elements endpoint.
earlierHeavenTrigram.elementLocalized string- Five phase name in the requested language, for display only. Present only when lang is set to a language other than English. Never compare against this value.
earlierHeavenTrigram.direction string, required- Compass sector, one of North, Northeast, East, Southeast, South, Southwest, West, Northwest. Always English, whatever the lang parameter says, so it stays safe to compare against in code and against the same value on the I-Ching trigram endpoints.
earlierHeavenTrigram.directionLocalized string- Compass sector in the requested language, for display only, the same word the composed readings use. Present only when lang is set to a language other than English. Never compare against this value.
earlierHeavenTrigram.familyMember string, required- Family role of the trigram. Read alongside an affliction to know which member of the household a sector points at. Always English, and it carries no localized sibling: no vocabulary this package ships names the eight family roles.
focus string, required- What this sector governs, in a few words.
meaning string, required- What the sector governs and how to work with it.