{
  "openapi": "3.1.0",
  "info": {
    "title": "AstroNest Developer API",
    "version": "1.0.0",
    "summary": "Vedic (Jyotiṣa) birth charts, life periods, readings, compatibility and timing, computed by a deterministic Jyotish engine.",
    "description": "**Ephemeris built in.** Raw positions (Sun to Pluto, mean and true nodes), ascendant and house cusps, ayanamsa values, sunrise and sunset, and position series come from AstroNest’s own engine, built on NASA JPL’s DE440 ephemeris, on the same key and credits as the readings: no Swiss Ephemeris licence or second ephemeris API is needed. Coverage 1800–2149 UTC; asteroids and fixed stars are not covered.\n\nStateless: every request carries its inputs inline (birth data, or a moment and place for the Ephemeris operations) and nothing is stored. Responses carry qualitative confidence, never raw scores, rule identifiers or internal methodology.\n\n**Credits.** Every successful (2xx) call spends a fixed number of credits (`x-credits` on each operation), with two exceptions for the Ephemeris operations: positions, angles, ayanamsa and sunrise cost 0.1 credit each, billed as 1 credit per started block of 10 calls per account (`x-billing`), and `/v1/ephemeris/series` spends 1 credit per started 100 points. Non-2xx responses are not charged. Every account gets 100 free live credits once, valid for 60 days from its first live key (they do not renew), spent first; beyond that, prepaid packs bought in the developer portal (Starter 1,000 / $49, Builder 5,000 / $199, Growth 15,000 / $499). Paid credits do not expire. All keys on an account share one balance.\n\n**Sandbox keys** (`astro_sandbox_…`) are free, with no time limit: the request is validated exactly as in live, then a fixed sample response is returned (the example request on each operation) with `sandbox: true`, `usage.units_charged: 0` and an `X-AstroNest-Sandbox: true` header. Your birth data is checked but not used. Use a live key (`astro_live_…`) for real readings.\n\n**Limits.** 120 requests a minute per account, and 2 at once (5 after any purchase). Live keys and purchases require accepting the beta terms at https://www.astronest.ai/developers#terms and a verified email address.\n\n**Keys are secret.** Call the API from your server, never from a browser: the API sends no CORS headers.\n\nSymbolic interpretation only. Not medical, legal, financial, or psychological advice.",
    "termsOfService": "https://www.astronest.ai/developers#terms",
    "contact": {
      "name": "AstroNest developer support",
      "url": "https://www.astronest.ai/developer#support"
    },
    "license": {
      "name": "Proprietary. Use is governed by the AstroNest Developer API beta terms.",
      "url": "https://www.astronest.ai/developers#terms"
    }
  },
  "servers": [
    {
      "url": "https://www.astronest.ai/api/developer",
      "description": "Production"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Calculation",
      "description": "Deterministic computation. No language model is called."
    },
    {
      "name": "Interpretation",
      "description": "Deterministic readings in classical Vedic methodology. No language model is called."
    },
    {
      "name": "Narrated",
      "description": "Readings voiced by a language model, grounded in the deterministic verdict. Slower (tens of seconds)."
    },
    {
      "name": "Ephemeris",
      "description": "Raw astronomical positions from AstroNest’s own engine, built on NASA JPL’s DE440 ephemeris: no Swiss Ephemeris licence or other astrology API needed. Deterministic, about a millisecond per position, no language model. One key scope (`ephemeris`) covers all five operations."
    }
  ],
  "paths": {
    "/v1/chart": {
      "post": {
        "operationId": "getChart",
        "tags": [
          "Calculation"
        ],
        "summary": "Natal chart (kundli)",
        "description": "Sidereal chart: ascendant, the nine grahas, twelve houses, yogas and the life-period (daśā) timeline. A modern Western block is added unless `western` is false. With `location`, also astrocartography lines at that place and the chart's own frame relocated there. Includes two classical sub-charts by default; ask for any of the others with `divisionals`.",
        "x-credits": 1,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "birthData"
                ],
                "properties": {
                  "birthData": {
                    "$ref": "#/components/schemas/BirthData",
                    "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 life-period (daśā) timeline in the chart response. Default true."
                  },
                  "western": {
                    "type": "boolean",
                    "default": true,
                    "description": "Set false to omit the modern Western block."
                  },
                  "location": {
                    "$ref": "#/components/schemas/Location"
                  },
                  "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": "Classical sub-charts to include, by value. Default `d9` and `d10`; send [] for none. Each returns its ascendant and every graha's sign, degree and house within that sub-chart."
                  }
                }
              },
              "example": {
                "birthData": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Chart",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChartResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "x-when": "Use this when the user wants their birth chart (kundli): ascendant, planets in signs and houses, yogas, the current planetary periods, or one of the classical sub-charts."
      }
    },
    "/v1/dasha": {
      "post": {
        "operationId": "getDasha",
        "tags": [
          "Calculation"
        ],
        "summary": "Life-period timeline (planetary periods)",
        "x-credits": 1,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "birthData"
                ],
                "properties": {
                  "birthData": {
                    "$ref": "#/components/schemas/BirthData",
                    "description": "The person's birth data: date, local time (omit if unknown), IANA timezone, latitude and longitude."
                  },
                  "depth": {
                    "type": "string",
                    "enum": [
                      "antardasha",
                      "pratyantardasha"
                    ],
                    "default": "antardasha",
                    "description": "Timeline depth. 'pratyantardasha' nests the pratyantardaśās under each antardaśā (about ten times larger). The current periods always include the running pratyantardaśā."
                  }
                }
              },
              "example": {
                "birthData": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Daśā timeline",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DashaResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "description": "The current periods include the running pratyantardaśā; send depth 'pratyantardasha' for the full timeline at that level.",
        "x-when": "Use this when the user asks which planetary period (daśā) they are in, when it ends, or which periods are coming."
      }
    },
    "/v1/guidance": {
      "post": {
        "operationId": "getGuidance",
        "tags": [
          "Interpretation"
        ],
        "summary": "Guidance for the running daśā periods",
        "description": "Plain-language guidance cards for each running daśā level (mahādaśā, antardaśā, …) at `referenceDate` (default: now).",
        "x-credits": 3,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "birthData"
                ],
                "properties": {
                  "birthData": {
                    "$ref": "#/components/schemas/BirthData",
                    "description": "The person's birth data: date, local time (omit if unknown), IANA timezone, latitude and longitude."
                  },
                  "referenceDate": {
                    "type": "string",
                    "description": "ISO date or datetime. Defaults to now."
                  }
                }
              },
              "example": {
                "birthData": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Guidance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GuidanceResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "x-when": "Use this when the user asks how to conduct themselves in the period they are in: what to do and what to take care with, each with its classical reason. Guidance, not prediction."
      }
    },
    "/v1/techniques": {
      "post": {
        "operationId": "getTechniques",
        "tags": [
          "Calculation"
        ],
        "summary": "Classical techniques for a chart",
        "description": "The computed classical working for a chart, no model: strength scores for each planet and house, point tables for transit support, further life-period timelines with the periods running at `referenceDate`, the full planetary-period ladder, the annual chart for the year running at `referenceDate`, house-cusp and ruling-planet tables, classical yogas, special ascendants and aspects, the natal pañcāṅga, house lords with planetary aspects, Manglik (Kuja doṣa) with its exceptions, and what would change under another ayanāṁśa. Each section is `{computed: true, data}` or `{computed: false, reason}` — a technique that cannot be computed for this chart (for example without a birth time) says why and the rest still return. No verdicts, scores or lifespan figures.",
        "x-credits": 3,
        "x-when": "Use this when the user or an astrologer asks for a specific classical computation — planetary strength, transit point tables, another life-period timeline, the annual chart, house cusps, a named yoga, the birth pañcāṅga, Manglik, house lords and aspects — rather than for a reading. Pass `sections` to fetch only what is needed.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "birthData"
                ],
                "properties": {
                  "birthData": {
                    "$ref": "#/components/schemas/BirthData",
                    "description": "The person's birth data: date, local time (omit if unknown), IANA timezone, latitude and longitude."
                  },
                  "referenceDate": {
                    "type": "string",
                    "description": "ISO date or datetime for the running periods and the annual chart's year. Defaults to now."
                  },
                  "residence": {
                    "type": "object",
                    "description": "Where the person lives; the annual chart is cast for this place. Defaults to the birthplace.",
                    "required": [
                      "latitude",
                      "longitude"
                    ],
                    "properties": {
                      "latitude": {
                        "type": "number"
                      },
                      "longitude": {
                        "type": "number"
                      },
                      "label": {
                        "type": "string"
                      }
                    }
                  },
                  "sections": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "shadbala",
                        "ashtakavarga",
                        "dashas",
                        "vimshottari",
                        "karakamsa",
                        "argala",
                        "yogas",
                        "nabhasa",
                        "specialLagnas",
                        "bhavaChalit",
                        "panchanga",
                        "kp",
                        "houseLords",
                        "kuja",
                        "ayanamsha",
                        "varshaphal"
                      ]
                    },
                    "description": "Return only these sections. Default: all."
                  }
                }
              },
              "example": {
                "birthData": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209
                },
                "sections": [
                  "shadbala",
                  "dashas",
                  "panchanga"
                ],
                "referenceDate": "2026-10-14T00:00:00Z"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Classical techniques",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TechniquesResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/v1/prashna": {
      "post": {
        "operationId": "getPrashna",
        "tags": [
          "Interpretation"
        ],
        "summary": "Praśna (horary): a question, a deal, or a horary number",
        "description": "The chart of the moment and place a question is asked, read on classical praśna rules, no model. Always: the praśna lagna and its lord, the Moon, the house of the matter asked about, the classical rules that apply (recovery from illness for a health question; recovery of a lost article when the question names one), and the further classical rules that held on this chart, each with its reference and the chart facts that made it hold. With `deal`: the deal praśna — significators (lagna lord = you, 7th = the other side, 10th = the undertaking, 11th = gain), their planetary contacts, the grounds for and against, and an ordered verdict (perfects, perfects after obstacles, contested, delayed, delayed and contested, not perfected); add `birthData` for the natal commitment calendar beside it, never blended with it. With `horaryNumber` (1–249): the horary table — house cusps for the moment that number rises, planets at the moment of judgment, their ruling lords, and the ruling planets; no judgment is asserted from it. Rules about caste, prenatal sex or death timing are withheld and counted.",
        "x-credits": 3,
        "x-when": "Use this when the user asks a specific question and wants it answered from the moment of asking rather than from a birth chart — \"will this deal close?\", \"will I recover?\", \"will I find what I lost?\" — or when an astrologer gives a horary number 1–249. Send where the user is as `place`; it is never defaulted.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "place"
                ],
                "properties": {
                  "place": {
                    "type": "object",
                    "required": [
                      "latitude",
                      "longitude",
                      "timezone"
                    ],
                    "description": "Where the question is asked. Required: a praśna cast at the wrong longitude is a different chart.",
                    "properties": {
                      "latitude": {
                        "type": "number"
                      },
                      "longitude": {
                        "type": "number"
                      },
                      "timezone": {
                        "type": "string",
                        "description": "IANA zone, e.g. Asia/Kolkata"
                      },
                      "label": {
                        "type": "string"
                      }
                    }
                  },
                  "askedAt": {
                    "type": "string",
                    "description": "The instant the question was asked, ISO 8601 with Z or an offset. Default: now. Send this or askedAtLocal, not both."
                  },
                  "askedAtLocal": {
                    "type": "string",
                    "description": "The wall clock at the place when the question was asked, YYYY-MM-DDTHH:mm, read in place.timezone."
                  },
                  "question": {
                    "type": "string",
                    "maxLength": 500,
                    "description": "The question in the user's words. Gates the lost-article dictum; it does not choose the domain."
                  },
                  "domain": {
                    "type": "string",
                    "enum": [
                      "health",
                      "money",
                      "family",
                      "business",
                      "property",
                      "children",
                      "education",
                      "legal",
                      "partnerships",
                      "relationship",
                      "marriage",
                      "lineage",
                      "spirituality",
                      "career",
                      "reputation",
                      "travel"
                    ],
                    "description": "What the question is about: picks the house of the matter and scopes the classical rules. With a deal and no domain, the deal's own."
                  },
                  "deal": {
                    "type": "object",
                    "required": [
                      "label",
                      "kind"
                    ],
                    "description": "Read the question as one deal (the deal praśna).",
                    "properties": {
                      "label": {
                        "type": "string",
                        "maxLength": 120
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "contract",
                          "pitch",
                          "partnership",
                          "sale",
                          "hire",
                          "loan",
                          "lease",
                          "investment"
                        ]
                      },
                      "signingDate": {
                        "type": "string",
                        "description": "YYYY-MM-DD, when it is to be signed, if not now. The natal cross-check reads this date."
                      }
                    }
                  },
                  "birthData": {
                    "$ref": "#/components/schemas/BirthData",
                    "description": "Only with `deal`, and with a birth time: the querent's natal commitment calendar is set beside the praśna for the signing date."
                  },
                  "horaryNumber": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 249,
                    "description": "A horary number (1–249): adds the horary table."
                  }
                }
              },
              "example": {
                "place": {
                  "latitude": 28.6139,
                  "longitude": 77.209,
                  "timezone": "Asia/Kolkata",
                  "label": "New Delhi"
                },
                "askedAt": "2026-10-14T10:30:00+05:30",
                "question": "Will the supply contract with Northwind be signed?",
                "deal": {
                  "label": "Northwind supply contract",
                  "kind": "contract",
                  "signingDate": "2026-11-02"
                },
                "birthData": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209
                },
                "horaryNumber": 108
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Praśna reading",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrashnaResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/v1/interpret": {
      "post": {
        "operationId": "interpretDomain",
        "tags": [
          "Interpretation"
        ],
        "summary": "Reading of one life area",
        "description": "Deterministic reading of one life area: the verdict, the factors for and against it, timing windows, a cross-check of the verdict, and the classical texts it is grounded in. Every layer is declared as present, computed_empty, not_covered or failed, so nothing is silently missing. No language model is called: the same chart always gets the same reading.",
        "x-credits": 5,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "birthData",
                  "domain"
                ],
                "properties": {
                  "birthData": {
                    "$ref": "#/components/schemas/BirthData",
                    "description": "The person's birth data: date, local time (omit if unknown), IANA timezone, latitude and longitude."
                  },
                  "domain": {
                    "$ref": "#/components/schemas/Domain",
                    "description": "Life area to read, e.g. career, marriage, finance or health."
                  }
                }
              },
              "example": {
                "birthData": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209
                },
                "domain": "career"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Reading",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InterpretResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "x-when": "Use this when the user asks what their chart says about one area of life (career, marriage, finance, health, property, children, education, travel, legal and others) and a reproducible verdict with its reasons and sources is wanted. Prefer it to get_forecast when no written narrative is needed."
      }
    },
    "/v1/life-reading": {
      "post": {
        "operationId": "getLifeReading",
        "tags": [
          "Interpretation"
        ],
        "summary": "Whole-life reading",
        "x-when": "Use this when the user wants their life as a whole: which life areas (marriage, children, career, business, money, property, family, travel, education, spirituality, health) are in focus when, across past and future, and where life stands now.",
        "description": "The life's chapters (each mahādaśā in plain words, with dates and ages) and eleven life areas, each with the planets that govern it on this chart, every governing period past and future with why that planet governs it — each marked `primary` (the area is in focus) or `also` (the period only touches it) — and what is in focus now and next. Past periods are included, so the reading can be tested against a life already lived; send `recorded` events to place them on the timeline. Health is read only as periods to give extra care, never as illness or lifespan. Deterministic: no language model is called. The birth time is required. The full reading is large; pass `areas` to return only the life areas you need.",
        "x-credits": 10,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "birthData"
                ],
                "properties": {
                  "birthData": {
                    "$ref": "#/components/schemas/BirthData",
                    "description": "The person's birth data. The time is required: every period depends on the rising sign."
                  },
                  "recorded": {
                    "type": "array",
                    "maxItems": 100,
                    "description": "Optional dated life events to place on the timeline.",
                    "items": {
                      "type": "object",
                      "required": [
                        "type",
                        "date"
                      ],
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "marriage",
                            "relationship_end",
                            "loss_or_separation",
                            "child_birth",
                            "child_loss",
                            "job_start",
                            "job_loss",
                            "business_start",
                            "education_start",
                            "education_end",
                            "property_event",
                            "relocation",
                            "legal_event",
                            "health_period",
                            "other"
                          ]
                        },
                        "date": {
                          "type": "string",
                          "format": "date"
                        },
                        "certainty": {
                          "type": "string",
                          "enum": [
                            "exact",
                            "approximate",
                            "year"
                          ],
                          "default": "approximate"
                        }
                      }
                    }
                  },
                  "areas": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "enum": [
                        "relationship",
                        "children",
                        "education",
                        "career",
                        "business",
                        "money",
                        "property",
                        "family",
                        "travel",
                        "spirituality",
                        "health"
                      ]
                    },
                    "description": "Optional: only these life areas (default all eleven). The full reading is large, so an AI agent answering about one area should pass it here."
                  }
                }
              },
              "example": {
                "birthData": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209
                },
                "areas": [
                  "career",
                  "relationship"
                ],
                "recorded": [
                  {
                    "type": "job_start",
                    "date": "2012-07-01",
                    "certainty": "exact"
                  },
                  {
                    "type": "marriage",
                    "date": "2018-11-25",
                    "certainty": "exact"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Life reading",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LifeReadingResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/v1/domain-timeline": {
      "post": {
        "operationId": "getDomainTimeline",
        "tags": [
          "Interpretation"
        ],
        "summary": "Life-area timeline",
        "x-when": "Use this when the user asks about one area of life — when marriage, children, career, money, property or another area is in focus, or what a given stretch of years holds for it.",
        "description": "One life area across the whole life: the planets that govern it on this chart, every period that bears on it (past and future, with dates, ages and why that planet governs it), each marked `primary` when the area is in focus or `also` when the period only touches it, and what is in focus now and next, in plain words. Pass `window` to get only the periods that overlap a date range. It is the same reading as the whole-life reading, cut to one area, so the two never disagree. Health is read only as periods to give extra care, never as illness or lifespan. Deterministic: no language model is called. The birth time is required.",
        "x-credits": 3,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "birthData",
                  "area"
                ],
                "properties": {
                  "birthData": {
                    "$ref": "#/components/schemas/BirthData",
                    "description": "The person's birth data. The time is required: every period depends on the rising sign."
                  },
                  "area": {
                    "type": "string",
                    "enum": [
                      "relationship",
                      "children",
                      "education",
                      "career",
                      "business",
                      "money",
                      "property",
                      "family",
                      "travel",
                      "spirituality",
                      "health"
                    ],
                    "description": "The life area."
                  },
                  "window": {
                    "type": "object",
                    "required": [
                      "from",
                      "to"
                    ],
                    "properties": {
                      "from": {
                        "type": "string",
                        "format": "date"
                      },
                      "to": {
                        "type": "string",
                        "format": "date"
                      }
                    },
                    "description": "Optional: only periods overlapping this date range (YYYY-MM-DD). Default: the whole life."
                  }
                }
              },
              "example": {
                "birthData": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209
                },
                "area": "relationship",
                "window": {
                  "from": "2026-01-01",
                  "to": "2031-12-31"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Life-area timeline",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DomainTimelineResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/v1/relationship": {
      "post": {
        "operationId": "getRelationshipReading",
        "tags": [
          "Interpretation"
        ],
        "summary": "Relationship reading (non-marital)",
        "description": "Reads the bond the way the classical method reads it: the houses that govern this kind of bond and their lords in each chart, the natural significators, whose planets fall in whose governing houses, and whether that reach runs both ways, plus the running periods in each chart that engage the bond. A bond meter (strong tie, workable or strained) is computed by a stated convention and returned with every point it is built from; it is not a classical score, since the texts give no arithmetic for a business or sibling match. Deterministic: no language model is called. Both birth times are required. For marriage, use the compatibility tool.",
        "x-credits": 8,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "type",
                  "a",
                  "b"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "enum": [
                      "business",
                      "sibling",
                      "parent_child",
                      "friend"
                    ],
                    "description": "The bond. For marriage, call /v1/compatibility."
                  },
                  "a": {
                    "$ref": "#/components/schemas/Partner",
                    "description": "First person: birth data (time required) plus optional name."
                  },
                  "b": {
                    "$ref": "#/components/schemas/Partner",
                    "description": "Second person: birth data (time required) plus optional name."
                  }
                }
              },
              "example": {
                "type": "business",
                "a": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209,
                  "name": "A"
                },
                "b": {
                  "date": "1991-11-03",
                  "time": "06:10",
                  "timezone": "Asia/Kolkata",
                  "latitude": 19.076,
                  "longitude": 72.8777,
                  "name": "B"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Relationship reading",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RelationshipResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "x-when": "Use this when the user asks how two people get on in a bond other than marriage — business partners, siblings, a parent and child, or friends."
      }
    },
    "/v1/venture-timing": {
      "post": {
        "operationId": "getVentureTiming",
        "tags": [
          "Interpretation"
        ],
        "summary": "Venture timing: when to commit, which business",
        "x-when": "Use this when the user asks when to start, launch, sign, borrow or expand a business, or which line of business their chart supports.",
        "description": "A calendar of the coming months in four labels — commit (sign, open, launch), build (keep building; commit only what can be undone), guarded (low fixed cost; no lease, no borrowing) and hold (no new fixed commitments) — each window with the daśā period running and the slow transits of Saturn and Jupiter over it, and the reasons. Describe the businesses being weighed in `ventures` and each is ranked on how strongly the chart supports it and whether the coming periods carry it, with the grounds, its best coming period, and a caution when it needs premises during a hold; name none and the full catalogue of business types is ranked. A ranking of chart support, never a probability of success. Deterministic: no language model is called. The birth time is required.",
        "x-credits": 10,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "birthData"
                ],
                "properties": {
                  "birthData": {
                    "$ref": "#/components/schemas/BirthData",
                    "description": "The person's birth data. The time is required: every period depends on the rising sign."
                  },
                  "ventures": {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 10,
                    "items": {
                      "type": "string",
                      "minLength": 3,
                      "maxLength": 200
                    },
                    "description": "Optional: the businesses being weighed, each described by what it does (\"software for accountants\", \"a café with a leased storefront\"). A brand name alone cannot be placed and is returned as unclassified. Omit to rank the whole catalogue."
                  },
                  "months": {
                    "type": "integer",
                    "minimum": 6,
                    "maximum": 72,
                    "default": 36,
                    "description": "How far ahead the calendar runs, and the horizon each venture's period support is averaged over."
                  }
                }
              },
              "example": {
                "birthData": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209
                },
                "ventures": [
                  "software and data platform for businesses",
                  "a restaurant in a leased storefront",
                  "OneDot"
                ],
                "months": 36
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Venture timing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VentureTimingResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/v1/gem-assessment": {
      "post": {
        "operationId": "assessGemstone",
        "tags": [
          "Interpretation"
        ],
        "summary": "Gemstone assessment",
        "x-when": "Use this when the user asks whether they should wear a particular gemstone (blue sapphire, emerald, pukhraj, a crystal), or whether a stone they wear suits their chart.",
        "description": "Answers the prescription, not the future: which planet the stone strengthens, what that planet owns from this ascendant, whether a classical rule (a dusthāna or kendrādhipati lordship, a māraka) argues against strengthening it, and whether the reason is permanent or lasts only as long as the running period. Returns a verdict — well_founded, period_bound, no_ground, contraindicated or unrecognised — with every ground for and against, the planet's capacity at its degree, when the chart puts the planet in scope, the stones the sources hold apart from it (checked against `alsoWearing`), and wearing detail (finger, metal, day, weight, with the book it comes from) only when the chart gives a reason to wear it. When the source states a caution about the stone, the response says so and names the book. A word that covers several stones (\"sapphire\") is answered with the candidates. Nothing here predicts what a stone does. Deterministic: no language model is called. The birth time is required.",
        "x-credits": 5,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "birthData",
                  "gem"
                ],
                "properties": {
                  "birthData": {
                    "$ref": "#/components/schemas/BirthData",
                    "description": "The person's birth data. The time is required: every period depends on the rising sign."
                  },
                  "gem": {
                    "type": "string",
                    "minLength": 2,
                    "maxLength": 60,
                    "description": "One stone, in English or by its Indian name: \"yellow sapphire\", \"pukhraj\", \"emerald\", \"moonstone\"."
                  },
                  "alsoWearing": {
                    "type": "array",
                    "maxItems": 9,
                    "items": {
                      "type": "string"
                    },
                    "description": "Optional: stones already worn. When the chart puts the planet in scope, a pairing the sources hold apart is reported as a conflict."
                  }
                }
              },
              "example": {
                "birthData": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209
                },
                "gem": "blue sapphire",
                "alsoWearing": [
                  "ruby"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Gemstone assessment",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GemAssessmentResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/v1/compatibility": {
      "post": {
        "operationId": "getCompatibility",
        "tags": [
          "Interpretation"
        ],
        "summary": "Marriage compatibility: the full reading",
        "description": "Both charts read together for marriage. The 36-point Aṣṭakūṭa (guna milan) is one input: the verdict names the governing factor and says when it outweighs the score. Also returned: each chart's marital promise, sustainability and happiness, progeny, Manglik reckoned from the lagna, the Moon and Venus with mutual cancellation, a joint marriage-timing window, synastry, and caveats where an uncertain birth time would change the reading. Deterministic: no language model is called. Each partner is a BirthData object plus optional `name` and `gender`.",
        "x-credits": 12,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "a",
                  "b"
                ],
                "properties": {
                  "a": {
                    "$ref": "#/components/schemas/Partner",
                    "description": "First partner: birth data plus optional name and gender."
                  },
                  "b": {
                    "$ref": "#/components/schemas/Partner",
                    "description": "Second partner: birth data plus optional name and gender."
                  },
                  "referenceDateIso": {
                    "type": "string",
                    "description": "ISO date the reading is anchored to. Defaults to now."
                  }
                }
              },
              "example": {
                "a": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209,
                  "name": "A"
                },
                "b": {
                  "date": "1991-11-03",
                  "time": "06:10",
                  "timezone": "Asia/Kolkata",
                  "latitude": 19.076,
                  "longitude": 72.8777,
                  "name": "B"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Compatibility reading",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompatibilityResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "x-when": "Use this when the user asks whether two people are a good match for marriage and wants the full reading, not only a score. For the fast 36-point score with Manglik alone, use get_guna_milan."
      }
    },
    "/v1/guna-milan": {
      "post": {
        "operationId": "getGunaMilan",
        "tags": [
          "Calculation"
        ],
        "summary": "Guna Milan (36-point Aṣṭakūṭa) and Manglik",
        "description": "The classical Aṣṭakūṭa match for a pair (all eight kūṭas, with the Bhakoot and Nāḍī doṣas) and Manglik for both charts reckoned from the lagna, the Moon and Venus, with mutual cancellation. The same engine as /v1/compatibility, without the full reading: the score is one input, and /v1/compatibility reads each chart's marital promise, timing and doṣas on top of it. Deterministic, no language model.",
        "x-credits": 2,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "a",
                  "b"
                ],
                "properties": {
                  "a": {
                    "$ref": "#/components/schemas/Partner",
                    "description": "First partner: birth data plus optional name and gender."
                  },
                  "b": {
                    "$ref": "#/components/schemas/Partner",
                    "description": "Second partner: birth data plus optional name and gender."
                  }
                }
              },
              "example": {
                "a": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209,
                  "name": "A"
                },
                "b": {
                  "date": "1991-11-03",
                  "time": "06:10",
                  "timezone": "Asia/Kolkata",
                  "latitude": 19.076,
                  "longitude": 72.8777,
                  "name": "B"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Guna Milan and Manglik",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GunaMilanResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "x-when": "Use this when the user asks for the guna milan / kundli matching score (out of 36), or whether either person is Manglik."
      }
    },
    "/v1/muhurta": {
      "post": {
        "operationId": "findMuhurta",
        "tags": [
          "Interpretation"
        ],
        "summary": "Auspicious windows (muhūrta) in a date range",
        "description": "Scans each day in the range and ranks windows for the subject. The pañcāṅga is computed for `eventPlace`, never defaulted to the birthplace.",
        "x-credits": 10,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "subject",
                  "eventPlace",
                  "rangeStart",
                  "rangeEnd"
                ],
                "properties": {
                  "subject": {
                    "$ref": "#/components/schemas/BirthData",
                    "description": "Birth data of the person the event is for; windows are ranked against their chart."
                  },
                  "subjectName": {
                    "type": "string",
                    "description": "Optional name of the subject, used only in the response text."
                  },
                  "eventPlace": {
                    "type": "object",
                    "required": [
                      "latitude",
                      "longitude",
                      "timezone"
                    ],
                    "properties": {
                      "latitude": {
                        "type": "number",
                        "minimum": -90,
                        "maximum": 90
                      },
                      "longitude": {
                        "type": "number",
                        "minimum": -180,
                        "maximum": 180
                      },
                      "timezone": {
                        "type": "string",
                        "description": "IANA timezone"
                      },
                      "label": {
                        "type": "string"
                      }
                    },
                    "description": "Where the event will happen: latitude, longitude and IANA timezone. The pañcāṅga is computed here, never at the birthplace."
                  },
                  "rangeStart": {
                    "type": "string",
                    "format": "date",
                    "description": "First date to search, YYYY-MM-DD."
                  },
                  "rangeEnd": {
                    "type": "string",
                    "format": "date",
                    "description": "Last date to search, YYYY-MM-DD."
                  },
                  "eventId": {
                    "type": "string",
                    "description": "Event type identifier, if known."
                  },
                  "freeText": {
                    "type": "string",
                    "description": "The event described in words, when there is no eventId."
                  },
                  "timeOfDay": {
                    "type": "string",
                    "description": "Local time (HH:MM) at which each day is evaluated. Default: local sunrise."
                  },
                  "topN": {
                    "type": "integer",
                    "minimum": 1,
                    "description": "How many ranked windows to return. Default 5."
                  }
                }
              },
              "example": {
                "subject": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209
                },
                "eventPlace": {
                  "latitude": 19.076,
                  "longitude": 72.8777,
                  "timezone": "Asia/Kolkata",
                  "label": "Mumbai"
                },
                "freeText": "signing a lease",
                "rangeStart": "2026-11-01",
                "rangeEnd": "2026-11-15"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Ranked windows",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MuhurtaResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "x-when": "Use this when the user asks for an auspicious date or time (muhūrta) to do something, such as a wedding, launch, move or purchase, within a date range at a given place."
      }
    },
    "/v1/forecast": {
      "post": {
        "operationId": "getForecast",
        "tags": [
          "Narrated"
        ],
        "summary": "Written answer about what lies ahead",
        "description": "The interpret verdict for `domain`, voiced as a narrative answer to `question` by a language model grounded in the classical statements for the domain. Expect tens of seconds; set a client timeout of at least 90 s.",
        "x-credits": 8,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "birthData",
                  "domain",
                  "question"
                ],
                "properties": {
                  "birthData": {
                    "$ref": "#/components/schemas/BirthData",
                    "description": "The person's birth data: date, local time (omit if unknown), IANA timezone, latitude and longitude."
                  },
                  "domain": {
                    "$ref": "#/components/schemas/Domain",
                    "description": "Life area the question is about, e.g. career, marriage, finance or health."
                  },
                  "question": {
                    "type": "string",
                    "minLength": 1,
                    "description": "The question in plain language, e.g. \"What does the next year hold for my career?\""
                  }
                }
              },
              "example": {
                "birthData": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209
                },
                "domain": "career",
                "question": "How will the next year unfold for my work?"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Forecast",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ForecastResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          },
          "502": {
            "$ref": "#/components/responses/NarrationFailed"
          }
        },
        "x-when": "Use this when the user asks an open question about what lies ahead in one area of life and wants a written answer. It takes tens of seconds; for a fast, structured verdict use interpret_domain."
      }
    },
    "/v1/timing/resolve": {
      "post": {
        "operationId": "resolveTiming",
        "tags": [
          "Narrated"
        ],
        "summary": "Is this a good time? (decision timing)",
        "description": "The interpret verdict for `domain`, voiced by a language model as an answer to a decision `question`, read at `targetDate` (or the start of `dateRange`, or today when neither is sent): the verdict, the running daśā and eventTiming are taken at that day. A malformed or pre-birth date is refused with 400 (`invalid_target_date`, `invalid_date_range`). Expect tens of seconds; set a client timeout of at least 90 s.",
        "x-credits": 7,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "birthData",
                  "domain",
                  "question"
                ],
                "properties": {
                  "birthData": {
                    "$ref": "#/components/schemas/BirthData",
                    "description": "The person's birth data: date, local time (omit if unknown), IANA timezone, latitude and longitude."
                  },
                  "domain": {
                    "$ref": "#/components/schemas/Domain",
                    "description": "Life area the decision is about, e.g. career, marriage, finance or health."
                  },
                  "question": {
                    "type": "string",
                    "minLength": 1,
                    "description": "The decision question in plain language, e.g. \"Is this a good time to change jobs?\""
                  },
                  "targetDate": {
                    "type": "string",
                    "format": "date",
                    "description": "Optional date the decision is about, YYYY-MM-DD. The verdict is read at this day. Takes precedence over `dateRange`."
                  },
                  "dateRange": {
                    "type": "object",
                    "required": [
                      "start",
                      "end"
                    ],
                    "properties": {
                      "start": {
                        "type": "string",
                        "format": "date"
                      },
                      "end": {
                        "type": "string",
                        "format": "date"
                      }
                    },
                    "description": "Optional period the decision is about: start and end dates, YYYY-MM-DD. The verdict is read at `start`; `end` must not precede it."
                  }
                }
              },
              "example": {
                "birthData": {
                  "date": "1990-05-12",
                  "time": "14:35",
                  "timezone": "Asia/Kolkata",
                  "latitude": 28.6139,
                  "longitude": 77.209
                },
                "domain": "career",
                "question": "Should I accept the offer?",
                "targetDate": "2026-11-15"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Timing",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TimingResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          },
          "502": {
            "$ref": "#/components/responses/NarrationFailed"
          }
        },
        "x-when": "Use this when the user asks whether now, or a particular date or range, is a good time for a decision such as changing jobs, marrying or investing. It takes tens of seconds."
      }
    },
    "/v1/ephemeris/positions": {
      "post": {
        "operationId": "getEphemerisPositions",
        "tags": [
          "Ephemeris"
        ],
        "summary": "Positions at a moment",
        "description": "Sun, Moon, planets and lunar nodes at one moment: longitude, latitude, distance, speed and retrograde flag, with sign, and nakṣatra and its quarter when sidereal. `equatorial: true` adds apparent right ascension and declination.",
        "x-credits": 0.1,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "datetime"
                ],
                "properties": {
                  "datetime": {
                    "$ref": "#/components/schemas/EphemerisDateTime"
                  },
                  "bodies": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EphemerisBody"
                    },
                    "description": "Default: all twelve."
                  },
                  "zodiac": {
                    "$ref": "#/components/schemas/Zodiac",
                    "description": "sidereal (default) or tropical."
                  },
                  "ayanamsa": {
                    "$ref": "#/components/schemas/Ayanamsa"
                  },
                  "equatorial": {
                    "type": "boolean",
                    "default": false,
                    "description": "Also return apparent right ascension and declination. Default false."
                  }
                }
              },
              "example": {
                "datetime": "2026-10-06T06:00:00Z",
                "bodies": [
                  "Sun",
                  "Moon",
                  "Mars",
                  "Jupiter",
                  "Saturn",
                  "TrueNode"
                ],
                "zodiac": "sidereal",
                "ayanamsa": "lahiri"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Positions at a moment",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EphemerisPositionsResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "x-billing": "1 credit per started block of 10 calls, counted per account across positions, angles, ayanamsa and sunrise (the call that opens a block is charged 1 credit and reports usage.units_charged 1; the next nine report 0). Failed calls do not count.",
        "x-when": "Use this when you need where the Sun, Moon and planets are at a moment (sidereal or tropical), not a reading."
      }
    },
    "/v1/ephemeris/angles": {
      "post": {
        "operationId": "getEphemerisAngles",
        "tags": [
          "Ephemeris"
        ],
        "summary": "Ascendant, MC and house cusps",
        "description": "Ascendant, midheaven and twelve cusps for a moment and place. Placidus is undefined beyond the polar circles at some moments; the call then returns 422 houses_undefined_at_latitude.",
        "x-credits": 0.1,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "datetime",
                  "latitude",
                  "longitude"
                ],
                "properties": {
                  "datetime": {
                    "$ref": "#/components/schemas/EphemerisDateTime"
                  },
                  "latitude": {
                    "type": "number",
                    "minimum": -90,
                    "maximum": 90,
                    "description": "Geographic latitude in decimal degrees, north positive."
                  },
                  "longitude": {
                    "type": "number",
                    "minimum": -180,
                    "maximum": 180,
                    "description": "East positive."
                  },
                  "houseSystem": {
                    "type": "string",
                    "enum": [
                      "whole_sign",
                      "equal",
                      "placidus"
                    ],
                    "default": "whole_sign",
                    "description": "House system for the cusps: whole_sign (default), equal or placidus."
                  },
                  "zodiac": {
                    "$ref": "#/components/schemas/Zodiac",
                    "description": "sidereal (default) or tropical."
                  },
                  "ayanamsa": {
                    "$ref": "#/components/schemas/Ayanamsa"
                  }
                }
              },
              "example": {
                "datetime": "1990-05-12T14:35:00+05:30",
                "latitude": 28.6139,
                "longitude": 77.209,
                "houseSystem": "placidus"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Ascendant, MC and house cusps",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EphemerisAnglesResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "422": {
            "$ref": "#/components/responses/Unprocessable"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "x-billing": "1 credit per started block of 10 calls, counted per account across positions, angles, ayanamsa and sunrise (the call that opens a block is charged 1 credit and reports usage.units_charged 1; the next nine report 0). Failed calls do not count.",
        "x-when": "Use this when you need the ascendant, midheaven or house cusps for a moment and place."
      }
    },
    "/v1/ephemeris/ayanamsa": {
      "post": {
        "operationId": "getEphemerisAyanamsa",
        "tags": [
          "Ephemeris"
        ],
        "summary": "Ayanamsa values",
        "description": "The ayanāṁśa (the sidereal offset) at a moment, for each supported ayanāṁśa (mean, without nutation).",
        "x-credits": 0.1,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "datetime"
                ],
                "properties": {
                  "datetime": {
                    "$ref": "#/components/schemas/EphemerisDateTime"
                  }
                }
              },
              "example": {
                "datetime": "2026-10-06T00:00:00Z"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Ayanamsa values",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EphemerisAyanamsaResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "x-billing": "1 credit per started block of 10 calls, counted per account across positions, angles, ayanamsa and sunrise (the call that opens a block is charged 1 credit and reports usage.units_charged 1; the next nine report 0). Failed calls do not count.",
        "x-when": "Use this when you need an ayanamsa value at a moment."
      }
    },
    "/v1/ephemeris/sunrise": {
      "post": {
        "operationId": "getEphemerisSunrise",
        "tags": [
          "Ephemeris"
        ],
        "summary": "Sunrise and sunset",
        "description": "Sunrise, sunset and the next sunrise for a local date and place: upper limb at the sea-level horizon with 36.6′ refraction. The Vedic day runs from sunrise to the next sunrise.",
        "x-credits": 0.1,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "date",
                  "timezone",
                  "latitude",
                  "longitude"
                ],
                "properties": {
                  "date": {
                    "type": "string",
                    "format": "date",
                    "description": "Local calendar date, YYYY-MM-DD."
                  },
                  "timezone": {
                    "type": "string",
                    "description": "IANA name, e.g. Asia/Kolkata. Defines the local day."
                  },
                  "latitude": {
                    "type": "number",
                    "minimum": -90,
                    "maximum": 90,
                    "description": "Geographic latitude in decimal degrees, north positive."
                  },
                  "longitude": {
                    "type": "number",
                    "minimum": -180,
                    "maximum": 180,
                    "description": "East positive."
                  }
                }
              },
              "example": {
                "date": "2026-10-06",
                "timezone": "Asia/Kolkata",
                "latitude": 28.6139,
                "longitude": 77.209
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Sunrise and sunset",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EphemerisSunriseResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "x-billing": "1 credit per started block of 10 calls, counted per account across positions, angles, ayanamsa and sunrise (the call that opens a block is charged 1 credit and reports usage.units_charged 1; the next nine report 0). Failed calls do not count.",
        "x-when": "Use this when you need sunrise and sunset for a date and place, or where the Vedic day begins."
      }
    },
    "/v1/ephemeris/series": {
      "post": {
        "operationId": "getEphemerisSeries",
        "tags": [
          "Ephemeris"
        ],
        "summary": "Positions over a range",
        "description": "Positions from start to end (inclusive) every stepMinutes, for transit tables and station finding. At most 1,000 points (too_many_points beyond). A 365-point daily table costs 4 credits.",
        "x-credits": 1,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "start",
                  "end",
                  "stepMinutes"
                ],
                "properties": {
                  "start": {
                    "$ref": "#/components/schemas/EphemerisDateTime"
                  },
                  "end": {
                    "$ref": "#/components/schemas/EphemerisDateTime"
                  },
                  "stepMinutes": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 525600,
                    "description": "Minutes between points (1 to 525,600). At most 1,000 points per call."
                  },
                  "bodies": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/EphemerisBody"
                    },
                    "description": "Default: all twelve."
                  },
                  "zodiac": {
                    "$ref": "#/components/schemas/Zodiac",
                    "description": "sidereal (default) or tropical."
                  },
                  "ayanamsa": {
                    "$ref": "#/components/schemas/Ayanamsa"
                  }
                }
              },
              "example": {
                "start": "2026-10-01T00:00:00Z",
                "end": "2026-10-10T00:00:00Z",
                "stepMinutes": 1440,
                "bodies": [
                  "Mercury",
                  "Venus"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Positions over a range",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EphemerisSeriesResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "402": {
            "$ref": "#/components/responses/CreditsExhausted"
          },
          "403": {
            "$ref": "#/components/responses/InsufficientScope"
          },
          "429": {
            "$ref": "#/components/responses/ConcurrencyLimit"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        },
        "x-when": "Use this when you need planetary positions across a range of dates, for a transit table or to find when a planet changes sign or stations."
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "An API key from the developer portal: `astro_live_<48 hex>` or `astro_sandbox_<48 hex>`."
      }
    },
    "schemas": {
      "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
          }
        }
      },
      "Partner": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BirthData"
          },
          {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "gender": {
                "type": "string",
                "enum": [
                  "male",
                  "female"
                ]
              }
            }
          }
        ]
      },
      "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",
            "description": "Orb as a ground distance in degrees of great-circle arc (1 degree = about 111 km at any latitude). Widened for an approximate birth time; no lines for an unknown one.",
            "default": 3,
            "maximum": 15
          }
        }
      },
      "Domain": {
        "type": "string",
        "enum": [
          "career",
          "business",
          "finance",
          "children",
          "property",
          "education",
          "travel",
          "spirituality",
          "lineage",
          "reputation",
          "partnerships",
          "legal",
          "family",
          "marriage",
          "health"
        ]
      },
      "Usage": {
        "type": "object",
        "required": [
          "units_charged",
          "remaining_credits"
        ],
        "properties": {
          "units_charged": {
            "type": "integer",
            "description": "Credits this call spent."
          },
          "remaining_credits": {
            "type": "integer",
            "description": "Your one-time free credits left plus the paid balance, after this call."
          }
        }
      },
      "Envelope": {
        "type": "object",
        "required": [
          "requestId",
          "engineVersion",
          "timestamp",
          "usage",
          "disclaimer"
        ],
        "properties": {
          "requestId": {
            "type": "string",
            "description": "Quote this in any support request."
          },
          "engineVersion": {
            "type": "string",
            "const": "astro-nest-v1-public"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "usage": {
            "$ref": "#/components/schemas/Usage"
          },
          "disclaimer": {
            "type": "string"
          },
          "sandbox": {
            "type": "boolean",
            "description": "Present and true only on sandbox-key responses: a fixed sample, not computed from your request."
          },
          "sandboxNote": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          }
        }
      },
      "Planet": {
        "type": "object",
        "properties": {
          "planet": {
            "type": "string"
          },
          "sign": {
            "type": "string"
          },
          "house": {
            "type": "integer"
          },
          "degree": {
            "type": "number",
            "description": "Degree within the sign."
          },
          "longitude": {
            "type": "number",
            "description": "Sidereal longitude, 0–360."
          },
          "retrograde": {
            "type": "boolean"
          },
          "nakshatra": {
            "type": [
              "string",
              "null"
            ]
          },
          "pada": {
            "type": [
              "integer",
              "null"
            ]
          },
          "dignity": {
            "type": [
              "string",
              "null"
            ]
          },
          "combust": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Combustion (astaṅgata): true when the graha is within its orb of the Sun (Moon 12°, Mars 17°, Mercury 14° or 12° retrograde, Jupiter 11°, Venus 10° or 8° retrograde, Saturn 15°). null where it does not apply: the Sun, Rahu, Ketu and the outer planets. Natal chart only; sub-chart planets omit it."
          },
          "combustion": {
            "type": [
              "object",
              "null"
            ],
            "description": "Present only when `combust` is true.",
            "properties": {
              "distanceFromSun": {
                "type": "number",
                "description": "Angular distance from the Sun, degrees."
              },
              "orb": {
                "type": "number",
                "description": "The combustion orb applied, degrees."
              },
              "deep": {
                "type": "boolean",
                "description": "Within half the orb."
              }
            }
          }
        }
      },
      "House": {
        "type": "object",
        "properties": {
          "house": {
            "type": "integer"
          },
          "sign": {
            "type": "string"
          },
          "degree": {
            "type": "number"
          },
          "lord": {
            "type": "string"
          }
        }
      },
      "DashaPeriod": {
        "type": "object",
        "properties": {
          "planet": {
            "type": "string"
          },
          "start": {
            "type": "string"
          },
          "end": {
            "type": "string"
          },
          "level": {
            "type": "string",
            "enum": [
              "mahadasha",
              "antardasha",
              "pratyantardasha"
            ]
          },
          "antardashas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashaPeriod"
            }
          },
          "pratyantardashas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DashaPeriod"
            },
            "description": "On each antardaśā when depth is 'pratyantardasha'."
          }
        }
      },
      "CurrentDasha": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "mahadasha": {
            "type": "string"
          },
          "mahadashaEnd": {
            "type": "string"
          },
          "antardasha": {
            "type": [
              "string",
              "null"
            ]
          },
          "antardashaEnd": {
            "type": [
              "string",
              "null"
            ]
          },
          "pratyantardasha": {
            "type": [
              "string",
              "null"
            ],
            "description": "The running pratyantardaśā."
          },
          "pratyantardashaEnd": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "ChartResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "domain": {
                "type": "string",
                "const": "core_chart"
              },
              "computationId": {
                "type": "string",
                "description": "SHA-256 of every input that changes the result (birth date, time, coordinates, timezone, frame, daśā switch and depth, the `divisionals` requested): identical inputs give the same id, different requests never share one, and it never exposes the birth data."
              },
              "ascendant": {
                "type": "object",
                "properties": {
                  "sign": {
                    "type": "string"
                  },
                  "degree": {
                    "type": "number"
                  },
                  "nakshatra": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Nakṣatra of the sidereal ascendant."
                  },
                  "pada": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "description": "Quarter (1–4) of the ascendant's nakṣatra."
                  }
                }
              },
              "planets": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Planet"
                }
              },
              "houses": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/House"
                }
              },
              "aspects": {
                "type": "array",
                "description": "The five Ptolemaic majors by degree with orbs — a Western construction, not Vedic graha dṛṣṭi.",
                "items": {
                  "type": "object",
                  "properties": {
                    "planet1": {
                      "type": "string"
                    },
                    "planet2": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "orb": {
                      "type": "number"
                    },
                    "applying": {
                      "type": "boolean"
                    }
                  }
                }
              },
              "yogas": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Yoga"
                }
              },
              "dasha": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "current": {
                    "$ref": "#/components/schemas/CurrentDasha"
                  },
                  "timeline": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/DashaPeriod"
                    }
                  }
                }
              },
              "divisionals": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DivisionalChart"
                },
                "description": "The classical sub-charts requested (default `d9` and `d10`)."
              },
              "western": {
                "type": "object",
                "additionalProperties": true,
                "description": "Modern Western techniques, published alongside the Jyotiṣa engine and not part of it. Every object carries `tradition: \"western\"` and `classical: false`."
              },
              "relocation": {
                "type": "object",
                "additionalProperties": true,
                "description": "Present when `location` was sent: this chart's own frame recomputed for that place."
              }
            }
          }
        ]
      },
      "DashaResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "domain": {
                "type": "string",
                "const": "dasha"
              },
              "computationId": {
                "type": "string"
              },
              "current": {
                "$ref": "#/components/schemas/CurrentDasha"
              },
              "timeline": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DashaPeriod"
                }
              }
            }
          }
        ]
      },
      "GuidanceCard": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "headline": {
            "type": "string"
          },
          "because": {
            "type": "string"
          },
          "do": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "takeCare": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "areas": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "why": {
            "type": "string"
          },
          "cancelled": {
            "type": "boolean"
          }
        }
      },
      "GuidanceResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "domain": {
                "type": "string",
                "const": "lifestyle_guidance"
              },
              "contentVersion": {
                "type": "string"
              },
              "referenceDate": {
                "type": "string"
              },
              "levels": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "level": {
                      "type": "string",
                      "enum": [
                        "chapter",
                        "period",
                        "stretch"
                      ],
                      "description": "chapter = mahādaśā, period = antardaśā, stretch = pratyantardaśā."
                    },
                    "planet": {
                      "type": "string"
                    },
                    "start": {
                      "type": "string"
                    },
                    "end": {
                      "type": "string"
                    },
                    "heading": {
                      "type": "string"
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "cards": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/GuidanceCard"
                      }
                    }
                  }
                }
              },
              "relation": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/GuidanceCard"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "formedNotRunning": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Yogas formed in the chart whose periods are not running now."
              },
              "healthNote": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        ]
      },
      "TimingWindow": {
        "type": "object",
        "properties": {
          "period": {
            "type": "string"
          },
          "tone": {
            "type": "string",
            "enum": [
              "favorable",
              "cautionary",
              "neutral"
            ]
          },
          "description": {
            "type": "string"
          }
        }
      },
      "EventTiming": {
        "type": "object",
        "properties": {
          "eventType": {
            "type": "string"
          },
          "significators": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "status": {
            "type": "string",
            "enum": [
              "occurred_or_overdue",
              "current",
              "upcoming",
              "unknown"
            ]
          },
          "window": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "ageStart": {
                "type": "number"
              },
              "ageEnd": {
                "type": "number"
              },
              "startYear": {
                "type": "integer"
              },
              "endYear": {
                "type": "integer"
              },
              "level": {
                "type": "string"
              },
              "coActivation": {
                "type": "boolean"
              }
            }
          },
          "note": {
            "type": "string"
          }
        }
      },
      "CorpusResolution": {
        "type": "object",
        "description": "How the classical evidence on this chart leans, as counts. Never source names on this surface.",
        "properties": {
          "positions": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "domain": {
                  "type": "string"
                },
                "configuration": {
                  "type": "string"
                },
                "verdict": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "enum": [
                    "support",
                    "challenge",
                    "mixed",
                    null
                  ]
                },
                "abstention": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "corroboratingSources": {
                  "type": "integer"
                },
                "dissentingSources": {
                  "type": "integer"
                },
                "withdrawnSources": {
                  "type": "integer"
                },
                "uncheckedExceptions": {
                  "type": "integer"
                }
              }
            }
          },
          "coverage": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "domain": {
                  "type": "string"
                },
                "considered": {
                  "type": "integer"
                },
                "matched": {
                  "type": "integer"
                }
              }
            }
          },
          "withheldCount": {
            "type": "integer"
          }
        }
      },
      "ReadingFields": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "confidenceTier": {
            "type": "string",
            "enum": [
              "high",
              "medium",
              "low"
            ]
          },
          "timingPattern": {
            "type": "string",
            "enum": [
              "favorable",
              "cautionary",
              "mixed",
              "unclear"
            ]
          },
          "keyInsights": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "cautionNotes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "timingWindows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimingWindow"
            }
          },
          "practicalContext": {
            "type": "string"
          },
          "classicalSources": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Titles of the classical texts the domain is grounded in. Omitted until validated."
          },
          "eventTiming": {
            "$ref": "#/components/schemas/EventTiming"
          },
          "corpusResolution": {
            "$ref": "#/components/schemas/CorpusResolution"
          }
        }
      },
      "InterpretResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "$ref": "#/components/schemas/ReadingFields"
          },
          {
            "type": "object",
            "properties": {
              "methodAgreement": {
                "type": "object",
                "properties": {
                  "methodsConsulted": {
                    "type": "integer"
                  },
                  "methodsThatSpoke": {
                    "type": "integer"
                  },
                  "methodsAgreeing": {
                    "type": "integer"
                  },
                  "verdictContested": {
                    "type": "boolean",
                    "description": "True when the methods read the opposite way to this response's verdict."
                  }
                }
              },
              "coverage": {
                "type": "object",
                "description": "Whether each optional block was computed. `computed_empty` means it ran and found nothing; `failed` means it did not run.",
                "properties": {
                  "methodAgreement": {
                    "$ref": "#/components/schemas/CoverageState"
                  },
                  "corpusResolution": {
                    "$ref": "#/components/schemas/CoverageState"
                  },
                  "classicalSources": {
                    "$ref": "#/components/schemas/CoverageState"
                  },
                  "eventTiming": {
                    "$ref": "#/components/schemas/CoverageState"
                  }
                }
              },
              "readingWindow": {
                "type": "object",
                "properties": {
                  "referenceDate": {
                    "type": "string",
                    "format": "date"
                  },
                  "timezone": {
                    "type": "string"
                  }
                }
              }
            }
          }
        ]
      },
      "CoverageState": {
        "type": "string",
        "enum": [
          "present",
          "computed_empty",
          "not_covered",
          "failed"
        ]
      },
      "ForecastResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "$ref": "#/components/schemas/ReadingFields"
          },
          {
            "type": "object",
            "properties": {
              "summary": {
                "type": "string",
                "description": "The narrated answer."
              },
              "directAnswer": {
                "type": "string"
              },
              "scenarios": {
                "type": "object",
                "properties": {
                  "mostLikely": {
                    "type": "string"
                  },
                  "favorable": {
                    "type": "string"
                  },
                  "difficult": {
                    "type": "string"
                  }
                }
              }
            }
          }
        ]
      },
      "TimingResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ForecastResponse"
          },
          {
            "type": "object",
            "properties": {
              "decisionQuestion": {
                "type": "string"
              },
              "exactDateAssessment": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "referenceDate": {
                "type": "string",
                "format": "date",
                "description": "The day the verdict, the daśā reading and eventTiming are anchored to: `targetDate` when sent, else `dateRange.start`, else the day of the call."
              }
            }
          }
        ]
      },
      "Error": {
        "type": "object",
        "required": [
          "error",
          "message",
          "statusCode"
        ],
        "properties": {
          "error": {
            "type": "string",
            "description": "Machine-readable code."
          },
          "message": {
            "type": "string"
          },
          "requestId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Null on authentication failures, which are rejected before an id is assigned."
          },
          "statusCode": {
            "type": "integer"
          }
        }
      },
      "CompatibilityResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "required": [
              "compatibility"
            ],
            "properties": {
              "compatibility": {
                "type": "object",
                "description": "Both charts read together. Every field is a plain-language reading or a classical count; no internal scores or rule identifiers.",
                "properties": {
                  "generatedAtIso": {
                    "type": "string"
                  },
                  "chartA": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "birth": {
                        "type": "string"
                      }
                    }
                  },
                  "chartB": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "birth": {
                        "type": "string"
                      }
                    }
                  },
                  "verdict": {
                    "type": "object",
                    "properties": {
                      "classification": {
                        "type": "string"
                      },
                      "plainLabel": {
                        "type": "string"
                      },
                      "governingFactor": {
                        "type": "string"
                      },
                      "scoreVsAnalysis": {
                        "type": "string"
                      },
                      "whereAligned": {
                        "type": "string"
                      },
                      "whereItTakesWork": {
                        "type": "string"
                      },
                      "plainly": {
                        "type": "string"
                      }
                    }
                  },
                  "gunaMilan": {
                    "type": "object",
                    "description": "Aṣṭakūṭa (36-point) matching.",
                    "properties": {
                      "totalGunas": {
                        "type": "number"
                      },
                      "kutas": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "score": {
                              "type": "number"
                            },
                            "max": {
                              "type": "number"
                            },
                            "note": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "bhakootDosha": {
                        "$ref": "#/components/schemas/Dosha"
                      },
                      "nadiDosha": {
                        "$ref": "#/components/schemas/Dosha"
                      },
                      "interpretation": {
                        "type": "string"
                      }
                    }
                  },
                  "sustainability": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  "happiness": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  "promise": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  "progeny": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  "timing": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "synastryOverlay": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  "synastryCrossTriggers": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "from": {
                          "type": "string"
                        },
                        "onto": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "valence": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "jaimini": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  "birthTimeCaveats": {
                    "type": "array",
                    "description": "Whether each lagna sits near a sign boundary, so a small birth-time error would change it.",
                    "items": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  "method": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "corpusResolution": {
                    "type": "object",
                    "properties": {
                      "a": {
                        "oneOf": [
                          {
                            "$ref": "#/components/schemas/CorpusResolution"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "b": {
                        "oneOf": [
                          {
                            "$ref": "#/components/schemas/CorpusResolution"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "Dosha": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "present": {
            "type": "boolean"
          },
          "cancelled": {
            "type": "boolean"
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "MuhurtaResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "required": [
              "muhurta"
            ],
            "properties": {
              "muhurta": {
                "type": "object",
                "properties": {
                  "event": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "hint": {
                        "type": "string"
                      },
                      "matchedFromText": {
                        "type": "boolean"
                      },
                      "freeText": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "eventPlaceLabel": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "rangeStart": {
                    "type": "string"
                  },
                  "rangeEnd": {
                    "type": "string"
                  },
                  "daysEvaluated": {
                    "type": "integer"
                  },
                  "windows": {
                    "type": "object",
                    "properties": {
                      "bestSuitability": {
                        "type": "string"
                      },
                      "suitabilityDistribution": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "integer"
                        }
                      },
                      "avoidDates": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "topWindows": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "rank": {
                              "type": "integer"
                            },
                            "date": {
                              "type": "string",
                              "format": "date"
                            },
                            "suitability": {
                              "type": "string",
                              "enum": [
                                "excellent",
                                "good",
                                "neutral",
                                "poor",
                                "avoid"
                              ]
                            },
                            "strengthSummary": {
                              "type": "string"
                            },
                            "keyPositives": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "keyNegatives": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "factors": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "avoidReasons": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "recommendations": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "hora": {
                              "type": "object",
                              "properties": {
                                "lord": {
                                  "type": "string"
                                },
                                "favorable": {
                                  "type": [
                                    "boolean",
                                    "null"
                                  ]
                                }
                              }
                            },
                            "tara": {
                              "type": "object",
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "sentiment": {
                                  "type": "string"
                                }
                              }
                            },
                            "chandraBala": {
                              "type": "string"
                            },
                            "panchapakshi": {
                              "type": "object",
                              "properties": {
                                "activity": {
                                  "type": "string"
                                },
                                "favorable": {
                                  "type": [
                                    "boolean",
                                    "null"
                                  ]
                                }
                              }
                            },
                            "combustWarning": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "classicalSources": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Titles of the muhūrta texts consulted. Titles only."
                  },
                  "warnings": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        ]
      },
      "EphemerisDateTime": {
        "type": "string",
        "format": "date-time",
        "description": "ISO 8601 with Z or an explicit offset, between 1800-01-02 and 2149-12-31 UTC. A time without a zone is refused (invalid_datetime).",
        "example": "2026-10-06T06:00:00Z"
      },
      "EphemerisBody": {
        "type": "string",
        "enum": [
          "Sun",
          "Moon",
          "Mercury",
          "Venus",
          "Mars",
          "Jupiter",
          "Saturn",
          "Uranus",
          "Neptune",
          "Pluto",
          "MeanNode",
          "TrueNode"
        ],
        "description": "MeanNode and TrueNode are Rāhu (mean or true); Ketu is the node + 180°. Every AstroNest chart, reading and timing endpoint uses the mean node."
      },
      "Zodiac": {
        "type": "string",
        "enum": [
          "sidereal",
          "tropical"
        ],
        "default": "sidereal"
      },
      "Ayanamsa": {
        "type": "string",
        "enum": [
          "lahiri",
          "raman",
          "krishnamurti",
          "fagan_bradley"
        ],
        "default": "lahiri",
        "description": "Sidereal only."
      },
      "EphemerisSource": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "coverage": {
            "type": "string"
          }
        }
      },
      "Placement": {
        "type": "object",
        "properties": {
          "sign": {
            "type": "string"
          },
          "signNumber": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12
          },
          "degreeInSign": {
            "type": "number"
          },
          "nakshatra": {
            "type": "string",
            "description": "Sidereal only."
          },
          "nakshatraNumber": {
            "type": "integer",
            "minimum": 1,
            "maximum": 27
          },
          "pada": {
            "type": "integer",
            "minimum": 1,
            "maximum": 4
          }
        }
      },
      "ZodiacInfo": {
        "type": "object",
        "properties": {
          "zodiac": {
            "$ref": "#/components/schemas/Zodiac"
          },
          "ayanamsa": {
            "$ref": "#/components/schemas/Ayanamsa"
          },
          "ayanamsaValue": {
            "type": "number",
            "description": "Degrees; mean ayanamsa at the moment (sidereal only)."
          }
        }
      },
      "EphemerisPosition": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Placement"
          },
          {
            "type": "object",
            "properties": {
              "body": {
                "$ref": "#/components/schemas/EphemerisBody"
              },
              "longitude": {
                "type": "number",
                "description": "Degrees [0, 360) in the requested zodiac."
              },
              "latitude": {
                "type": "number"
              },
              "distanceAu": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Null for the nodes."
              },
              "speed": {
                "type": "number",
                "description": "Degrees per day in longitude; negative = retrograde."
              },
              "retrograde": {
                "type": "boolean"
              },
              "rightAscension": {
                "type": "number",
                "description": "With equatorial: true. Apparent, of date, degrees."
              },
              "declination": {
                "type": "number",
                "description": "With equatorial: true."
              }
            }
          }
        ]
      },
      "EphemerisPositionsResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "$ref": "#/components/schemas/ZodiacInfo"
          },
          {
            "type": "object",
            "properties": {
              "datetime": {
                "type": "string",
                "format": "date-time"
              },
              "julianDayUT": {
                "type": "number"
              },
              "positions": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/EphemerisPosition"
                }
              },
              "ephemeris": {
                "$ref": "#/components/schemas/EphemerisSource"
              }
            }
          }
        ]
      },
      "EphemerisAnglesResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "$ref": "#/components/schemas/ZodiacInfo"
          },
          {
            "type": "object",
            "properties": {
              "datetime": {
                "type": "string",
                "format": "date-time"
              },
              "latitude": {
                "type": "number"
              },
              "longitude": {
                "type": "number"
              },
              "houseSystem": {
                "type": "string",
                "enum": [
                  "whole_sign",
                  "equal",
                  "placidus"
                ]
              },
              "ascendant": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Placement"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "longitude": {
                        "type": "number"
                      }
                    }
                  }
                ]
              },
              "midheaven": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Placement"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "longitude": {
                        "type": "number"
                      }
                    }
                  }
                ]
              },
              "cusps": {
                "type": "array",
                "minItems": 12,
                "maxItems": 12,
                "items": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Placement"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "longitude": {
                          "type": "number"
                        },
                        "house": {
                          "type": "integer"
                        }
                      }
                    }
                  ]
                }
              },
              "ephemeris": {
                "$ref": "#/components/schemas/EphemerisSource"
              }
            }
          }
        ]
      },
      "EphemerisAyanamsaResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "datetime": {
                "type": "string",
                "format": "date-time"
              },
              "note": {
                "type": "string"
              },
              "values": {
                "type": "object",
                "additionalProperties": {
                  "type": "number"
                }
              },
              "ephemeris": {
                "$ref": "#/components/schemas/EphemerisSource"
              }
            }
          }
        ]
      },
      "EphemerisSunriseResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "properties": {
              "date": {
                "type": "string",
                "format": "date"
              },
              "timezone": {
                "type": "string"
              },
              "latitude": {
                "type": "number"
              },
              "longitude": {
                "type": "number"
              },
              "convention": {
                "type": "string"
              },
              "sunrise": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "utc": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "local": {
                    "type": "string",
                    "description": "HH:MM:SS in the requested timezone"
                  }
                }
              },
              "sunset": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "utc": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "local": {
                    "type": "string",
                    "description": "HH:MM:SS in the requested timezone"
                  }
                }
              },
              "nextSunrise": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "utc": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "local": {
                    "type": "string",
                    "description": "HH:MM:SS in the requested timezone"
                  }
                }
              },
              "dayLengthMinutes": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "note": {
                "type": "string",
                "description": "Present when the Sun does not rise or set (polar day or night); those fields are null."
              },
              "ephemeris": {
                "$ref": "#/components/schemas/EphemerisSource"
              }
            }
          }
        ]
      },
      "EphemerisSeriesResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "$ref": "#/components/schemas/ZodiacInfo"
          },
          {
            "type": "object",
            "properties": {
              "start": {
                "type": "string",
                "format": "date-time"
              },
              "stepMinutes": {
                "type": "integer"
              },
              "pointCount": {
                "type": "integer"
              },
              "bodies": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/EphemerisBody"
                }
              },
              "points": {
                "type": "array",
                "items": {
                  "type": "object",
                  "description": "datetime, plus one key per requested body: longitude, latitude, speed, retrograde and the placement.",
                  "properties": {
                    "datetime": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "additionalProperties": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Placement"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "longitude": {
                            "type": "number"
                          },
                          "latitude": {
                            "type": "number"
                          },
                          "speed": {
                            "type": "number"
                          },
                          "retrograde": {
                            "type": "boolean"
                          }
                        }
                      }
                    ]
                  }
                }
              },
              "ephemeris": {
                "$ref": "#/components/schemas/EphemerisSource"
              }
            }
          }
        ]
      },
      "Manglik": {
        "type": "object",
        "description": "Manglik (Kuja doṣa) for one chart, reckoned from the lagna, the Moon and Venus. A reckoning with house null was not computed — never read it as clean. Classical exceptions are applied and named: whole-chart ones in cancelledBy (Mars in Leo or Aquarius; in its own sign or exalted, or exalted in the marriage sub-chart; conjunct Jupiter or the Moon; Jupiter or Venus in the ascendant), per-house ones on the reckoning as exemptBy.",
        "properties": {
          "present": {
            "type": "boolean"
          },
          "strength": {
            "type": "string",
            "enum": [
              "none",
              "partial",
              "strong"
            ]
          },
          "mitigations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "note": {
            "type": "string"
          },
          "reckonings": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "from": {
                  "type": "string",
                  "enum": [
                    "lagna",
                    "Moon",
                    "Venus"
                  ]
                },
                "house": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "present": {
                  "type": "boolean"
                },
                "strength": {
                  "type": "string",
                  "enum": [
                    "none",
                    "partial",
                    "strong"
                  ]
                },
                "exemptBy": {
                  "type": "string",
                  "description": "Set when Mars stands in a doṣa house but its sign exempts it there (2nd Gemini/Virgo, 4th Aries/Scorpio, 7th Capricorn/Cancer, 8th Sagittarius/Pisces, 12th Taurus/Libra) — the stated reason, with its sources."
                }
              }
            }
          },
          "cancelledBy": {
            "type": "array",
            "description": "Classical exceptions (parihāra) that cancel the doṣa for this chart, each with the texts that state it. When any applies, present is false — the reckonings still show where Mars stands.",
            "items": {
              "type": "object",
              "properties": {
                "rule": {
                  "type": "string"
                },
                "sources": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      },
      "GunaMilanResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "required": [
              "gunaMilan",
              "manglik"
            ],
            "properties": {
              "partners": {
                "type": "object",
                "properties": {
                  "a": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "birth": {
                        "type": "string"
                      },
                      "moonNakshatra": {
                        "type": "string"
                      },
                      "moonSign": {
                        "type": "string"
                      }
                    }
                  },
                  "b": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "birth": {
                        "type": "string"
                      },
                      "moonNakshatra": {
                        "type": "string"
                      },
                      "moonSign": {
                        "type": "string"
                      }
                    }
                  }
                }
              },
              "roles": {
                "type": "object",
                "description": "Which partner was read as the groom (Varṇa is counted from the groom).",
                "properties": {
                  "groom": {
                    "type": "string",
                    "enum": [
                      "a",
                      "b"
                    ]
                  },
                  "bride": {
                    "type": "string",
                    "enum": [
                      "a",
                      "b"
                    ]
                  },
                  "basis": {
                    "type": "string"
                  }
                }
              },
              "gunaMilan": {
                "type": "object",
                "description": "Aṣṭakūṭa (36-point) matching.",
                "properties": {
                  "totalGunas": {
                    "type": "number"
                  },
                  "kutas": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "score": {
                          "type": "number"
                        },
                        "max": {
                          "type": "number"
                        },
                        "note": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "bhakootDosha": {
                    "$ref": "#/components/schemas/Dosha"
                  },
                  "nadiDosha": {
                    "$ref": "#/components/schemas/Dosha"
                  },
                  "interpretation": {
                    "type": "string"
                  }
                }
              },
              "manglik": {
                "type": "object",
                "properties": {
                  "a": {
                    "$ref": "#/components/schemas/Manglik"
                  },
                  "b": {
                    "$ref": "#/components/schemas/Manglik"
                  },
                  "cancelled": {
                    "type": "boolean",
                    "description": "True when the doṣa is neutralised across the pair (both Manglik, or the one present is self-mitigated)."
                  },
                  "reason": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "points": {
                    "type": "object",
                    "nullable": true,
                    "description": "The graded Kuja doṣa comparison (a points table reckoned from the lagna): a weighing of how evenly the two charts carry the doṣa — never a cancellation. variation = |A − B| ÷ the smaller total (null when one chart carries none and the other some); balanced = variation ≤ 0.25. Symmetric: no gendered threshold.",
                    "properties": {
                      "variation": {
                        "type": "number",
                        "nullable": true,
                        "example": 0.5
                      },
                      "balanced": {
                        "type": "boolean"
                      },
                      "heavier": {
                        "type": "string",
                        "enum": [
                          "A",
                          "B"
                        ],
                        "nullable": true
                      },
                      "note": {
                        "type": "string"
                      }
                    }
                  },
                  "pointsTotals": {
                    "type": "object",
                    "nullable": true,
                    "description": "Each chart's Kuja points total (lagna reckoning).",
                    "properties": {
                      "a": {
                        "type": "number",
                        "nullable": true
                      },
                      "b": {
                        "type": "number",
                        "nullable": true
                      }
                    }
                  }
                }
              },
              "note": {
                "type": "string"
              }
            }
          }
        ]
      },
      "DivisionalChart": {
        "type": "object",
        "description": "One classical sub-chart. Houses count whole-sign from its own ascendant. Nakṣatra, quarter and dignity are natal concepts and are null here.",
        "properties": {
          "division": {
            "type": "string",
            "description": "Which sub-chart this is: one of the `divisionals` values."
          },
          "ascendant": {
            "type": "object",
            "properties": {
              "sign": {
                "type": "string"
              },
              "degree": {
                "type": "number"
              }
            }
          },
          "planets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "planet": {
                  "type": "string"
                },
                "sign": {
                  "type": "string"
                },
                "house": {
                  "type": "integer"
                },
                "degree": {
                  "type": "number"
                },
                "longitude": {
                  "type": "number"
                },
                "retrograde": {
                  "type": "boolean"
                },
                "nakshatra": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "pada": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "dignity": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          }
        }
      },
      "Yoga": {
        "type": "object",
        "description": "A yoga formed in this chart. AstroNest does not rank yogas: there is no strength or score, only whether it is formed and what it rests on.",
        "properties": {
          "name": {
            "type": "string"
          },
          "englishName": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "planets": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "houses": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "basis": {
            "type": "string",
            "description": "What the yoga rests on in this chart, e.g. \"Jupiter and Moon in kendra from each other\"."
          },
          "strength": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "strong",
              "moderate",
              "weak",
              null
            ],
            "deprecated": true,
            "description": "Always null: AstroNest does not rank yogas. Read basis instead."
          },
          "classicalSource": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      },
      "LifeReadingResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "required": [
              "chapters",
              "areas"
            ],
            "properties": {
              "domain": {
                "type": "string",
                "const": "life_reading"
              },
              "horizon": {
                "type": "object",
                "properties": {
                  "until": {
                    "type": "string"
                  },
                  "years": {
                    "type": "number"
                  }
                }
              },
              "summary": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Where the life stands now, in everyday words."
              },
              "chapters": {
                "type": "array",
                "description": "The life's chapters: each mahādaśā with its dates, ages and what it stands for.",
                "items": {
                  "type": "object",
                  "properties": {
                    "lord": {
                      "type": "string"
                    },
                    "from": {
                      "type": "string"
                    },
                    "to": {
                      "type": "string"
                    },
                    "ageFrom": {
                      "type": "integer"
                    },
                    "ageTo": {
                      "type": "integer"
                    },
                    "runningNow": {
                      "type": "boolean"
                    },
                    "past": {
                      "type": "boolean"
                    },
                    "words": {
                      "type": "string"
                    }
                  }
                }
              },
              "areas": {
                "type": "array",
                "description": "Eleven life areas, each with what governs it and every period, past and future.",
                "items": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "label": {
                      "type": "string"
                    },
                    "about": {
                      "type": "string"
                    },
                    "governedBy": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "now": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "next": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "periods": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "chain": {
                            "type": "string",
                            "description": "Mahādaśā / antardaśā, e.g. \"Saturn / Venus\"."
                          },
                          "lord": {
                            "type": "string"
                          },
                          "from": {
                            "type": "string"
                          },
                          "to": {
                            "type": "string"
                          },
                          "ageFrom": {
                            "type": "integer"
                          },
                          "ageTo": {
                            "type": "integer"
                          },
                          "because": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Why this planet governs the area on this chart, e.g. \"lord of the 7th\"."
                          },
                          "runningNow": {
                            "type": "boolean"
                          },
                          "past": {
                            "type": "boolean"
                          },
                          "words": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "focus": {
                            "type": "string",
                            "enum": [
                              "primary",
                              "also"
                            ],
                            "description": "primary: the area is in focus (the period lord rules or occupies the area's primary house, or is its natural significator; a node acts for its sign lord). also: the period only touches the area through a wider significator. `now`, `next` and the summary use primary periods only."
                          },
                          "classical": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The classical grounds behind the period, in plain words: the chapter (mahādaśā) lord, the period lord's nakṣatra (star) lord and its full aspect, where they bear on this area. Not repeated in `words`."
                          },
                          "care": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Health only, in-focus periods only: the body areas the tradition links to the period and the matching check-up. Not repeated in `words`."
                          }
                        }
                      }
                    },
                    "shownFromAge": {
                      "type": "integer",
                      "description": "Periods before this age are not shown for the area."
                    },
                    "classicalSources": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Titles of the classical books the area draws on."
                    }
                  }
                }
              },
              "recorded": {
                "type": "array",
                "description": "Your recorded events, each with the chapter and period running when it happened and the areas it belongs to.",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ]
      },
      "DomainTimelineResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "required": [
              "area"
            ],
            "properties": {
              "domain": {
                "type": "string",
                "const": "domain_timeline"
              },
              "window": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "from": {
                    "type": "string"
                  },
                  "to": {
                    "type": "string"
                  }
                },
                "description": "The window asked for, or null for the whole life."
              },
              "area": {
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "about": {
                    "type": "string"
                  },
                  "governedBy": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "now": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "next": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "periods": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "chain": {
                          "type": "string",
                          "description": "Mahādaśā / antardaśā, e.g. \"Saturn / Venus\"."
                        },
                        "lord": {
                          "type": "string"
                        },
                        "from": {
                          "type": "string"
                        },
                        "to": {
                          "type": "string"
                        },
                        "ageFrom": {
                          "type": "integer"
                        },
                        "ageTo": {
                          "type": "integer"
                        },
                        "because": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "Why this planet governs the area on this chart, e.g. \"lord of the 7th\"."
                        },
                        "runningNow": {
                          "type": "boolean"
                        },
                        "past": {
                          "type": "boolean"
                        },
                        "words": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "focus": {
                          "type": "string",
                          "enum": [
                            "primary",
                            "also"
                          ],
                          "description": "primary: the area is in focus (the period lord rules or occupies the area's primary house, or is its natural significator; a node acts for its sign lord). also: the period only touches the area through a wider significator. `now`, `next` and the summary use primary periods only."
                        },
                        "classical": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "The classical grounds behind the period, in plain words: the chapter (mahādaśā) lord, the period lord's nakṣatra (star) lord and its full aspect, where they bear on this area. Not repeated in `words`."
                        },
                        "care": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "Health only, in-focus periods only: the body areas the tradition links to the period and the matching check-up. Not repeated in `words`."
                        }
                      }
                    }
                  },
                  "shownFromAge": {
                    "type": "integer",
                    "description": "Periods before this age are not shown for the area."
                  }
                },
                "description": "The life area: what governs it, and every period (within the window, if one was given)."
              }
            }
          }
        ]
      },
      "RelationshipResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "required": [
              "type",
              "bond",
              "sides",
              "reciprocity"
            ],
            "properties": {
              "domain": {
                "type": "string",
                "const": "relationship"
              },
              "type": {
                "type": "string"
              },
              "typeLabel": {
                "type": "string"
              },
              "bond": {
                "type": "object",
                "description": "The bond meter, with every point it is built from.",
                "properties": {
                  "tier": {
                    "type": "string",
                    "enum": [
                      "strong",
                      "workable",
                      "strained"
                    ]
                  },
                  "label": {
                    "type": "string"
                  },
                  "points": {
                    "type": "integer",
                    "minimum": -3,
                    "maximum": 3
                  },
                  "how": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "convention": {
                    "type": "string",
                    "description": "The stated rule the meter follows."
                  }
                }
              },
              "sides": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "lagna": {
                      "type": "string"
                    },
                    "houses": {
                      "type": "array",
                      "description": "The houses that govern this bond in this chart.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "house": {
                            "type": "integer"
                          },
                          "means": {
                            "type": "string"
                          },
                          "sign": {
                            "type": "string"
                          },
                          "lord": {
                            "type": "string"
                          },
                          "lordHouse": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "lordDignity": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "occupants": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "karakas": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "planet": {
                            "type": "string"
                          },
                          "sign": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "house": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "dignity": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      }
                    },
                    "active": {
                      "type": "array",
                      "description": "Running periods in this chart that engage the bond.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "level": {
                            "type": "string"
                          },
                          "lord": {
                            "type": "string"
                          },
                          "startIso": {
                            "type": "string"
                          },
                          "endIso": {
                            "type": "string"
                          },
                          "role": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "caveat": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              },
              "contacts": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "One person's planet in a house that governs the bond in the other's chart."
              },
              "reciprocity": {
                "type": "object",
                "properties": {
                  "aOntoB": {
                    "type": "integer"
                  },
                  "bOntoA": {
                    "type": "integer"
                  },
                  "mutual": {
                    "type": "boolean"
                  }
                }
              },
              "scopeNote": {
                "type": "string"
              }
            }
          }
        ]
      },
      "VentureTimingResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "required": [
              "calendar",
              "ventures"
            ],
            "properties": {
              "domain": {
                "type": "string",
                "const": "venture_timing"
              },
              "horizonMonths": {
                "type": "integer"
              },
              "calendar": {
                "type": "object",
                "properties": {
                  "transitsRead": {
                    "type": "boolean",
                    "description": "False when the transit timeline was unavailable and the calendar ran on the daśā periods alone."
                  },
                  "windows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "from": {
                          "type": "string"
                        },
                        "to": {
                          "type": "string"
                        },
                        "mahadasha": {
                          "type": "string"
                        },
                        "antardasha": {
                          "type": "string"
                        },
                        "label": {
                          "type": "string",
                          "enum": [
                            "commit",
                            "build",
                            "guarded",
                            "hold"
                          ]
                        },
                        "meaning": {
                          "type": "string"
                        },
                        "peak": {
                          "type": "boolean",
                          "description": "Jupiter crossing a natal lord of wealth inside a commit or build window."
                        },
                        "reasons": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "ventures": {
                "type": "object",
                "properties": {
                  "catalogue": {
                    "type": "boolean",
                    "description": "True when no ventures were named and the whole catalogue was ranked."
                  },
                  "scoring": {
                    "type": "string",
                    "description": "How rank, promise and support are computed."
                  },
                  "ranked": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "label": {
                          "type": "string"
                        },
                        "archetypes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "model": {
                          "type": "string",
                          "enum": [
                            "service",
                            "product",
                            "capex"
                          ]
                        },
                        "houses": {
                          "type": "array",
                          "items": {
                            "type": "integer"
                          }
                        },
                        "karakas": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "rank": {
                          "type": "integer"
                        },
                        "promise": {
                          "type": "integer"
                        },
                        "support": {
                          "type": "integer"
                        },
                        "carriedNowBy": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "nextWindow": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "mahadasha": {
                              "type": "string"
                            },
                            "antardasha": {
                              "type": "string"
                            },
                            "from": {
                              "type": "string"
                            },
                            "to": {
                              "type": "string"
                            }
                          }
                        },
                        "grounds": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "caution": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      }
                    }
                  },
                  "unclassified": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Ventures the catalogue could not place from their description — declared, not ranked."
                  }
                }
              }
            }
          }
        ]
      },
      "GemAssessmentResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/Envelope"
          },
          {
            "type": "object",
            "required": [
              "verdict",
              "headline",
              "grounds",
              "against",
              "notModelled"
            ],
            "properties": {
              "domain": {
                "type": "string",
                "const": "gem_assessment"
              },
              "asked": {
                "type": "string"
              },
              "gem": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "graha": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "lagna": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "verdict": {
                "type": "string",
                "enum": [
                  "well_founded",
                  "period_bound",
                  "no_ground",
                  "contraindicated",
                  "unrecognised"
                ]
              },
              "headline": {
                "type": "string"
              },
              "grounds": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Everything arguing for, each a checkable statement about ownership or period."
              },
              "against": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Everything arguing against, including stones the sources hold apart from this one."
              },
              "wear": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "until": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "note": {
                    "type": "string"
                  }
                },
                "description": "How long the reason lasts."
              },
              "capacity": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "avastha": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "critical": {
                    "type": "boolean"
                  },
                  "impaired": {
                    "type": "boolean"
                  },
                  "note": {
                    "type": "string"
                  }
                },
                "description": "What the planet's degree says about its capacity to deliver."
              },
              "guidance": {
                "type": [
                  "object",
                  "null"
                ],
                "description": "Wearing detail, only when the chart gives a reason to wear the stone.",
                "properties": {
                  "finger": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "metal": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "day": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "weight": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "source": {
                    "type": "string",
                    "description": "The book the detail was read from (title)."
                  },
                  "mantraNamed": {
                    "type": "boolean"
                  },
                  "caution": {
                    "type": "object",
                    "properties": {
                      "stated": {
                        "type": "boolean"
                      },
                      "source": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "note": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "description": "Whether the source states a caution about wearing the stone, and where to read it."
                  }
                }
              },
              "guidanceWithheld": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Why the wearing detail is absent, when it is."
              },
              "notModelled": {
                "type": "string",
                "description": "Stated on every assessment: nothing here predicts what a stone does."
              }
            }
          }
        ]
      },
      "TechniquesResponse": {
        "type": "object",
        "required": [
          "requestId",
          "domain",
          "referenceDate",
          "techniques"
        ],
        "properties": {
          "requestId": {
            "type": "string"
          },
          "engineVersion": {
            "type": "string"
          },
          "timestamp": {
            "type": "string"
          },
          "usage": {
            "$ref": "#/components/schemas/Usage"
          },
          "disclaimer": {
            "type": "string"
          },
          "domain": {
            "type": "string",
            "enum": [
              "classical_techniques"
            ]
          },
          "referenceDate": {
            "type": "string"
          },
          "techniques": {
            "type": "object",
            "description": "One entry per requested section. `dashas` holds the further life-period timelines, each a section.",
            "properties": {
              "shadbala": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "ashtakavarga": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "dashas": {
                "type": "object",
                "additionalProperties": {
                  "type": "object",
                  "description": "{computed: true, data} or {computed: false, reason}",
                  "properties": {
                    "computed": {
                      "type": "boolean"
                    },
                    "data": {},
                    "reason": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "computed"
                  ]
                }
              },
              "vimshottari": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "karakamsa": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "argala": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "yogas": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "nabhasa": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "specialLagnas": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "bhavaChalit": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "panchanga": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "kp": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "houseLords": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "kuja": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "ayanamsha": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              },
              "varshaphal": {
                "type": "object",
                "description": "{computed: true, data} or {computed: false, reason}",
                "properties": {
                  "computed": {
                    "type": "boolean"
                  },
                  "data": {},
                  "reason": {
                    "type": "string"
                  }
                },
                "required": [
                  "computed"
                ]
              }
            }
          }
        }
      },
      "PrashnaResponse": {
        "type": "object",
        "required": [
          "requestId",
          "domain",
          "askedAt",
          "place",
          "prashna",
          "method"
        ],
        "properties": {
          "requestId": {
            "type": "string"
          },
          "engineVersion": {
            "type": "string"
          },
          "timestamp": {
            "type": "string"
          },
          "usage": {
            "$ref": "#/components/schemas/Usage"
          },
          "disclaimer": {
            "type": "string"
          },
          "domain": {
            "type": "string",
            "enum": [
              "prashna"
            ]
          },
          "askedAt": {
            "type": "string",
            "description": "The instant the chart was cast for (UTC)."
          },
          "place": {
            "type": "object",
            "properties": {
              "latitude": {
                "type": "number"
              },
              "longitude": {
                "type": "number"
              },
              "timezone": {
                "type": "string"
              },
              "label": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "question": {
            "type": [
              "string",
              "null"
            ]
          },
          "prashna": {
            "type": "object",
            "required": [
              "lagna",
              "lagnaLord",
              "moonHouse",
              "findings"
            ],
            "properties": {
              "lagna": {
                "type": "string"
              },
              "lagnaLord": {
                "type": "string"
              },
              "moonHouse": {
                "type": "integer"
              },
              "matterHouse": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "domain": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "findings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "because"
                  ],
                  "properties": {
                    "quote": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The classical line verbatim; null for a chart fact."
                    },
                    "source": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "holds": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "because": {
                      "type": "string"
                    }
                  }
                }
              },
              "bookRules": {
                "type": [
                  "object",
                  "null"
                ],
                "description": "Further classical praśna rules that held on this chart.",
                "properties": {
                  "held": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "principle": {
                          "type": "string"
                        },
                        "source": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "direction": {
                          "type": "string",
                          "enum": [
                            "support",
                            "challenge",
                            "mixed"
                          ]
                        },
                        "because": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "scope": {
                          "type": "string",
                          "enum": [
                            "match",
                            "universal"
                          ]
                        }
                      }
                    }
                  },
                  "considered": {
                    "type": "integer"
                  },
                  "withheld": {
                    "type": "integer",
                    "description": "Rules withheld on subject grounds (caste, prenatal sex, death timing)."
                  }
                }
              }
            }
          },
          "deal": {
            "type": [
              "object",
              "null"
            ],
            "description": "The deal praśna, when `deal` was sent: deal, lagna, moon (with its last and next planetary contacts and void of course), significators, contacts, grounds, verdict, natalCrossCheck (null without birthData), notEncoded, method.",
            "properties": {
              "verdict": {
                "type": "object",
                "properties": {
                  "label": {
                    "type": "string",
                    "enum": [
                      "perfects",
                      "perfects_after_obstacles",
                      "contested",
                      "delayed",
                      "delayed_contested",
                      "not_perfected"
                    ]
                  },
                  "meaning": {
                    "type": "string"
                  },
                  "line": {
                    "type": "string"
                  },
                  "gain": {
                    "type": "string",
                    "enum": [
                      "indicated",
                      "not_indicated",
                      "unsettled"
                    ]
                  },
                  "gainLine": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "kpHorary": {
            "type": [
              "object",
              "null"
            ],
            "description": "The horary table, when `horaryNumber` was sent: {computed: true, data: {horaryNumber, cuspMomentIso, judgmentMomentIso, latitudeValidated, cusps, planets, rulingPlanets, notComputed}} or {computed: false, reason}.",
            "properties": {
              "computed": {
                "type": "boolean"
              },
              "data": {},
              "reason": {
                "type": "string"
              }
            }
          },
          "method": {
            "type": "string"
          }
        }
      }
    },
    "responses": {
      "BadRequest": {
        "description": "Invalid request. Codes: invalid_json, missing_birthdata, invalid_birthdata, invalid_timezone, invalid_coordinates, missing_required_field, invalid_domain, invalid_reference_date, invalid_range, no_days_evaluable. Not charged.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "missing_api_key, invalid_api_key, revoked_key or expired_key. Not charged.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "CreditsExhausted": {
        "description": "credits_exhausted: the one-time free credits are used or have expired (60 days from the first live key) and the paid balance is too low for this call; buy a credit pack in the developer portal. key_credit_limit_reached: this key has reached the monthly credit limit set on it in the portal (resets on the 1st, UTC). Never charged.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "InsufficientScope": {
        "description": "insufficient_scope: the key is not scoped for this endpoint. Not charged.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Unprocessable": {
        "description": "chart_integrity_failed, dasha_failed or guidance_failed: the birth data could not produce a valid result. Not charged.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "ConcurrencyLimit": {
        "description": "rate_limited (over 120 requests a minute for this account) or concurrency_limit (too many requests at once). Retry-After says when to retry. Not charged.",
        "headers": {
          "Retry-After": {
            "schema": {
              "type": "integer"
            }
          },
          "X-RateLimit-Limit": {
            "schema": {
              "type": "integer"
            }
          },
          "X-RateLimit-Remaining": {
            "schema": {
              "type": "integer"
            }
          },
          "X-RateLimit-Reset": {
            "schema": {
              "type": "integer"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "NarrationFailed": {
        "description": "narration_failed: the language model did not return a reading. Not charged.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "ServerError": {
        "description": "Our error. Not charged.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    }
  }
}
