{"title":"Calculate entrance pada","fields":[{"key":"plot.width","name":"width","group":"plot","kind":"number","required":true,"description":"East-west extent of a rectangular plot, in the unit given. Send this with depth for a rectangle, or send polygon instead.","min":0,"example":30},{"key":"plot.depth","name":"depth","group":"plot","kind":"number","required":true,"description":"North-south extent of a rectangular plot, in the unit given. Send this with width for a rectangle, or send polygon instead.","min":0,"example":40},{"key":"plot.unit","name":"unit","group":"plot","kind":"tiles","required":false,"description":"Unit the plot dimensions are given in. Every distance the response returns is in this same unit. The mandala projection is scale free, so this affects the areas and the marma size and nothing else.","enum":["feet","metres"],"default":"feet","example":"feet"},{"key":"facing","name":"facing","kind":"tiles","required":true,"description":"Direction the front of the house looks out toward, one of the eight compass sectors. Case and punctuation are folded, so north-east, northeast and NorthEast all resolve. Send this or facingDegrees, never both.","enum":["North","Northeast","East","Southeast","South","Southwest","West","Northwest"],"example":"North"},{"key":"facingDegrees","name":"facingDegrees","kind":"number","required":false,"description":"Direction the front of the house looks out toward, as a compass bearing in degrees clockwise from true north, measured looking OUT from the building. The same convention the feng shui facing endpoints use, so a bearing works unchanged across the two domains. Send this or facing, never both.","min":0,"max":360,"example":15,"fold":true},{"key":"door.x","name":"x","group":"door","kind":"number","required":false,"description":"Distance east of the plot origin, in the same unit as the plot. The x axis runs east.","example":15,"fold":true},{"key":"door.y","name":"y","group":"door","kind":"number","required":false,"description":"Distance north of the plot origin, in the same unit as the plot. The y axis runs north.","example":0,"fold":true},{"key":"doorPosition","name":"doorPosition","kind":"number","required":true,"description":"Where the main door sits along the facing side, as a fraction from 0 to 1 measured from the corner the chapter starts that side at: the north-east for an east facing, the south-east for a south facing, the south-west for a west facing and the north-west for a north facing. The side carries 8 padas, so to aim at pada n of 8 send its midpoint, (n - 0.5) / 8: 0.0625 for the first pada, 0.4375 for the fourth, 0.9375 for the eighth. The response names the pada the fraction resolved to in ordinalOnSide. Requires a cardinal facing, since an intercardinal facing names no single side. Send this or door, never both.","min":0,"max":1,"example":0.4},{"key":"grid","name":"grid","kind":"tiles","required":false,"description":"Which division of the ground to read: 81-pada is the Paramasayika of Brihat Samhita 53.42, the grid the chapter numbers and names every devata on, and 64-pada is the Manduka of 53.55, for which the chapter gives structure only and no devata names. Defaults to 81-pada.","enum":["81-pada","64-pada"],"default":"81-pada","example":"81-pada","fold":true}],"hasLang":true,"requiredAnyOf":[["facing","doorPosition"],["facing","door"],["facingDegrees","doorPosition"],["facingDegrees","door"]],"groups":[{"key":"plot","label":"Plot"},{},{"key":"door","label":"Door","fold":true}],"opensOnLoad":false}