Raw schema
{
"type": "object",
"properties": {
"birthData": {
"type": "object",
"required": [
"date",
"timezone",
"latitude",
"longitude"
],
"properties": {
"date": {
"type": "string",
"format": "date",
"description": "YYYY-MM-DD"
},
"time": {
"type": "string",
"pattern": "^\\d{2}:\\d{2}(:\\d{2})?$",
"description": "24-hour HH:MM or HH:MM:SS, local to `timezone`. Omit if unknown: house-dependent detail is then reduced."
},
"timezone": {
"type": "string",
"description": "IANA timezone of the birthplace, e.g. Asia/Kolkata."
},
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
}
},
"description": "The person's birth data: date, local time (omit if unknown), IANA timezone, latitude and longitude."
},
"includeDasha": {
"type": "boolean",
"default": true,
"description": "Include the Vimśottarī daśā periods in the chart response. Default true."
},
"western": {
"type": "boolean",
"default": true,
"description": "Set false to omit the modern Western block."
},
"location": {
"type": "object",
"description": "Both coordinates or neither: a half-filled location is refused, never defaulted.",
"required": [
"latitude",
"longitude"
],
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"orbDegrees": {
"type": "number",
"default": 3,
"maximum": 15
}
}
},
"divisionals": {
"type": "array",
"items": {
"type": "string",
"enum": [
"d1",
"d2",
"d3",
"d4",
"d7",
"d9",
"d10",
"d12",
"d16",
"d20",
"d24",
"d27",
"d30",
"d40",
"d45",
"d60"
]
},
"default": [
"d9",
"d10"
],
"description": "Divisional charts (vargas) to include: any of the sixteen ṣoḍaśavarga. Default d9 (navāṁśa) and d10 (daśāṁśa); send [] for none. Each returns its ascendant and every graha's sign, degree and house within the varga, by the Parāśari formulas."
}
},
"required": [
"birthData"
]
}