id string, required- Identifier of the devata, lower case transliteration. Always English, safe to compare against. Indra appears twice in the chapter, on the east perimeter and on the inner ring, so those two carry the ids indra-outer and indra-inner, which are ours: no source read for this package prints a distinguishing name for either.
name string, required- Display name of the devata. A Sanskrit proper noun: romanised with the diacritics the transliteration carries in every language, and written in Devanagari as the Sanskrit text prints it when lang is hi. Compare on id, never on this.
class string enum, required- Which ring of the mandala the devata belongs to: perimeter for the outer 32, innerRing for the eight around Brahma, innerCorner for the four on the inner diagonals, center for Brahma alone. 32 plus 8 plus 4 plus 1 is 45. Always English. One of
perimeter, innerRing, innerCorner, center. group string- How many squares the devata holds under 53.49 to 50: padika for one, dvipada for two, tripada for three. Absent for Brahma, whom those verses leave outside the scheme while enumerating 44 devatas.
side string- Which side of the perimeter the devata sits on. Present only on the outer 32, which are the ones the verses enumerate side by side.
quadrant string- Which quarter of the mandala the devata occupies, where it sits in one. Absent for a devata spread along a side rather than gathered in a corner.
squares array of number, required- Which of the 81 squares the devata holds. The verses name one square per devata and fix the pada count of each, and the remaining squares follow from that count: a dvipada takes its named square plus the one a step inward, a tripada the three cell cardinal run of the second ring.
cells array of object, required- The same squares as row and column pairs, which is what you draw with. The corners of the grid are 1 north-east, 9 south-east, 73 north-west and 81 south-west.
cells[].rowFromNorth number, required- Row of the grid, 1 at the northern edge and 9 at the southern one.
cells[].columnFromWest number, required- Column of the grid, 1 at the western edge and 9 at the eastern one.
padaCount number, required- How many squares the devata holds: one, two or three for the 44 enumerated devatas, and nine for Brahma.
entrancePada number- The entrance pada this devata governs, 1 to 32. Present only on the outer 32, since only a perimeter square can hold a main door.
role string, required- What the devata holds, as a sentence composed from the sourced structure. There is deliberately no meaning field: no source read for this package gives a devata a meaning, and inventing one would be unsourced content on a route that sells a citation per verdict. Translated in place when lang is set.
verses array of string, required- Which verses of chapter 53 place this devata and fix its pada count, so a report can print the citation.
note string- Where the sources disagree or contradict themselves about this row, and where Brahma sits outside the pada-count scheme. Present on the six rows that carry a recorded divergence: the two Indras, the north-east and south-east corner devatas where the Manasara differs from the Brihat Samhita, Prthvidhara, whom the chapter places on two different squares in two different verses, and Brahma. Original prose, translated in place when lang is set.
source object, required- Where a verdict comes from: a chapter and verse of a named public-domain edition, or the literal convention with the practice it rests on. Every verdict in this domain carries one.
source.text string, required- The primary text this verdict rests on, or the literal value convention where no verse states the rule. Always English, safe to compare against.
source.chapter number- Chapter of the primary text. Absent on a convention, which has no chapter to cite.
source.verse string- Verse or verse range inside the chapter. Absent on a convention. A range is written with a hyphen, as in 115-117.
source.translation string- Translator of the edition the verse was read in. Absent on a convention.
source.year number- Publication year of that edition. Absent on a convention.
source.publicDomain boolean- Whether the cited edition is in the public domain. True on the 1884 Brihat Samhita edition, whose verses are quoted. False on the 1933 Manasara edition behind the Ayadi formulas, from which only the multipliers, divisors and names are taken, never a sentence.
source.basis string- Why a convention rule says what it says. Present only when text is convention, and it names the tradition the rule comes from rather than a verse.