{
  "openapi": "3.0.3",
  "info": {
    "title": "SHASWAT GYAN Public API",
    "version": "1.0",
    "description": "Public endpoints for calendar and chart calculations, the Gita reader and location lookup. Inputs shown by Try it out are examples. Dates use YYYY-MM-DD, local times use HH:mm, and UTC offsets are decimal hours."
  },
  "servers": [
    {
      "url": "https://api.shaswatgyan.org/api/public/v1",
      "description": "Dedicated API host"
    },
    {
      "url": "https://shaswatgyan.org/api/public/v1",
      "description": "Main site API"
    }
  ],
  "tags": [
    {
      "name": "Service"
    },
    {
      "name": "Panchang"
    },
    {
      "name": "Kundli"
    },
    {
      "name": "Reading"
    },
    {
      "name": "Lookup"
    }
  ],
  "paths": {
    "/health": {
      "get": {
        "tags": [
          "Service"
        ],
        "summary": "Check health",
        "description": "Reports the API version and the server’s current UTC time.",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Health"
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/panchang": {
      "get": {
        "tags": [
          "Panchang"
        ],
        "summary": "Calculate a daily Panchang",
        "description": "Calculates sunrise, sunset, lunar rise and set, the five Panchang elements, and traditional time windows. Date-times are UTC. Rise or set may be null for the Moon.",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "description": "Local Gregorian date",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "example": "2026-12-03"
          },
          {
            "name": "lat",
            "in": "query",
            "description": "Latitude in decimal degrees",
            "required": true,
            "schema": {
              "type": "number",
              "minimum": -90,
              "maximum": 90
            },
            "example": 28.6139
          },
          {
            "name": "lon",
            "in": "query",
            "description": "Longitude in decimal degrees",
            "required": true,
            "schema": {
              "type": "number",
              "minimum": -180,
              "maximum": 180
            },
            "example": 77.209
          },
          {
            "name": "tz",
            "in": "query",
            "description": "UTC offset in hours on the requested date",
            "required": true,
            "schema": {
              "type": "number",
              "minimum": -14,
              "maximum": 14
            },
            "example": 5.5
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Panchang"
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/muhurat-events": {
      "get": {
        "tags": [
          "Panchang"
        ],
        "summary": "List Muhurat event types",
        "description": "The available event IDs are returned with display labels.",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "label"
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/muhurat": {
      "get": {
        "tags": [
          "Panchang"
        ],
        "summary": "Find Muhurat windows",
        "description": "Searches for candidate local dates using the selected event’s rules. A valid search may return an empty array. Times are serialized in UTC.",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "description": "Local Gregorian date",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "example": "2026-12-03"
          },
          {
            "name": "lat",
            "in": "query",
            "description": "Latitude in decimal degrees",
            "required": true,
            "schema": {
              "type": "number",
              "minimum": -90,
              "maximum": 90
            },
            "example": 28.6139
          },
          {
            "name": "lon",
            "in": "query",
            "description": "Longitude in decimal degrees",
            "required": true,
            "schema": {
              "type": "number",
              "minimum": -180,
              "maximum": 180
            },
            "example": 77.209
          },
          {
            "name": "tz",
            "in": "query",
            "description": "UTC offset in hours on the requested date",
            "required": true,
            "schema": {
              "type": "number",
              "minimum": -14,
              "maximum": 14
            },
            "example": 5.5
          },
          {
            "name": "event",
            "in": "query",
            "description": "Event ID from /muhurat-events",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "griha"
          },
          {
            "name": "days",
            "in": "query",
            "description": "Number of dates to search. Default 60. Searches are capped at 180 dates.",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 180,
              "default": 60
            },
            "example": 7
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Muhurat"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/rashifal": {
      "get": {
        "tags": [
          "Panchang"
        ],
        "summary": "Read Rashifal",
        "description": "Returns an entry with interpretations for each zodiac sign. When omitted, the API uses the current time.",
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "description": "Date to calculate",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "example": "2026-12-03"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "sign": {
                        "type": "string"
                      },
                      "index": {
                        "type": "integer"
                      },
                      "score": {
                        "type": "number"
                      },
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "additionalProperties": true
                        }
                      }
                    },
                    "required": [
                      "sign",
                      "index",
                      "score",
                      "items"
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/kundli": {
      "post": {
        "tags": [
          "Kundli"
        ],
        "summary": "Calculate a Kundli",
        "description": "Submit a local birth date and time with coordinates and UTC offset. Returns chart data and additional astrological calculations.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Birth"
              },
              "example": {
                "name": "Example",
                "date": "2000-01-01",
                "time": "12:00",
                "lat": 28.6139,
                "lon": 77.209,
                "tz": 5.5,
                "place": "New Delhi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "kundli": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "ashtakavarga": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "shadbala": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "jaimini": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "kpLagna": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "transits": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "varshaphala": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  },
                  "required": [
                    "kundli",
                    "ashtakavarga",
                    "shadbala",
                    "jaimini",
                    "kpLagna",
                    "transits",
                    "varshaphala"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/chart-context": {
      "post": {
        "tags": [
          "Kundli"
        ],
        "summary": "Build chart context",
        "description": "Returns a chart context as a string for use by first-party integrations.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Birth"
              },
              "example": {
                "name": "Example",
                "date": "2000-01-01",
                "time": "12:00",
                "lat": 28.6139,
                "lon": 77.209,
                "tz": 5.5,
                "place": "New Delhi"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "context": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "context"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/match": {
      "post": {
        "tags": [
          "Kundli"
        ],
        "summary": "Match two Kundlis",
        "description": "Submit two birth records under boy and girl. The response contains the computed match details.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "boy": {
                    "$ref": "#/components/schemas/Birth"
                  },
                  "girl": {
                    "$ref": "#/components/schemas/Birth"
                  }
                },
                "required": [
                  "boy",
                  "girl"
                ]
              },
              "example": {
                "boy": {
                  "name": "Example",
                  "date": "2000-01-01",
                  "time": "12:00",
                  "lat": 28.6139,
                  "lon": 77.209,
                  "tz": 5.5,
                  "place": "New Delhi"
                },
                "girl": {
                  "name": "Example 2",
                  "date": "2001-02-02",
                  "time": "14:05",
                  "lat": 28.6139,
                  "lon": 77.209,
                  "tz": 5.5,
                  "place": "New Delhi"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/numerology": {
      "post": {
        "tags": [
          "Kundli"
        ],
        "summary": "Calculate numerology",
        "description": "Returns number calculations for a name and birth date.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "maxLength": 100
                  },
                  "dob": {
                    "type": "string",
                    "format": "date"
                  }
                },
                "required": [
                  "name",
                  "dob"
                ]
              },
              "example": {
                "name": "Example",
                "dob": "2000-01-01"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/gita/chapters": {
      "get": {
        "tags": [
          "Reading"
        ],
        "summary": "List Bhagavad Gita chapters",
        "description": "Returns metadata for the available Gita chapters.",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Chapter"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/gita/chapter": {
      "get": {
        "tags": [
          "Reading"
        ],
        "summary": "Read a Bhagavad Gita chapter",
        "description": "Returns chapter metadata and its verses.",
        "parameters": [
          {
            "name": "c",
            "in": "query",
            "description": "Chapter number",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 18
            },
            "example": 2
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "chapter": {
                      "$ref": "#/components/schemas/Chapter"
                    },
                    "verses": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Verse"
                      }
                    }
                  },
                  "required": [
                    "chapter",
                    "verses"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/gita/search": {
      "get": {
        "tags": [
          "Reading"
        ],
        "summary": "Search Bhagavad Gita verses",
        "description": "Search by word, phrase or verse reference.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Search text or verse reference",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 300
            },
            "example": "2.47"
          },
          {
            "name": "k",
            "in": "query",
            "description": "Maximum results, capped at 30",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 30,
              "default": 10
            },
            "example": 3
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Verse"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/cities": {
      "get": {
        "tags": [
          "Lookup"
        ],
        "summary": "Find places by name",
        "description": "Returns up to 12 matches. Use at least two characters.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Place name or prefix",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 2
            },
            "example": "Delhi"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/City"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/baby-names": {
      "get": {
        "tags": [
          "Lookup"
        ],
        "summary": "Find names by Nakshatra",
        "description": "Returns naming syllables and names in the public API’s catalog.",
        "parameters": [
          {
            "name": "nakshatra",
            "in": "query",
            "description": "Zero-based Nakshatra index. Ashwini is 0.",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 26,
              "default": 0
            },
            "example": 0
          },
          {
            "name": "pada",
            "in": "query",
            "description": "Pada number. Omit to include all four.",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 4
            },
            "example": 1
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "syllables": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "names": {
                      "type": "array",
                      "items": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "minItems": 3,
                        "maxItems": 3,
                        "description": "Tuple: name, gender code (M or F), and meaning."
                      }
                    }
                  },
                  "required": [
                    "syllables",
                    "names"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid or unsupported request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "500": {
            "description": "Server or calculation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          },
          "issues": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "required": [
          "error"
        ]
      },
      "Health": {
        "type": "object",
        "properties": {
          "ok": {
            "type": "boolean"
          },
          "version": {
            "type": "string"
          },
          "time": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "ok",
          "version",
          "time"
        ]
      },
      "Birth": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 100
          },
          "date": {
            "type": "string",
            "format": "date"
          },
          "time": {
            "type": "string",
            "pattern": "^[0-9]{2}:[0-9]{2}$",
            "description": "Local HH:mm"
          },
          "lat": {
            "type": "number",
            "minimum": -90,
            "maximum": 90
          },
          "lon": {
            "type": "number",
            "minimum": -180,
            "maximum": 180
          },
          "tz": {
            "type": "number",
            "minimum": -14,
            "maximum": 14
          },
          "place": {
            "type": "string",
            "maxLength": 200
          }
        },
        "required": [
          "date",
          "time",
          "lat",
          "lon",
          "tz"
        ]
      },
      "Panchang": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "tz": {
            "type": "number"
          },
          "sunrise": {
            "type": "string",
            "format": "date-time"
          },
          "sunset": {
            "type": "string",
            "format": "date-time"
          },
          "moonrise": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "moonset": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "tithi": {
            "type": "object",
            "properties": {
              "index": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "paksha": {
                "type": "string"
              },
              "end": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "index",
              "name",
              "paksha",
              "end"
            ]
          },
          "nakshatra": {
            "type": "object",
            "properties": {
              "index": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "name_dev": {
                "type": "string"
              },
              "lord": {
                "type": "string"
              },
              "end": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "index",
              "name",
              "name_dev",
              "lord",
              "end"
            ]
          },
          "yoga": {
            "type": "object",
            "properties": {
              "index": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "end": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "index",
              "name",
              "end"
            ]
          },
          "karana": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "auspicious": {
                "type": "boolean"
              }
            },
            "required": [
              "name",
              "auspicious"
            ]
          },
          "vara": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "name_dev": {
                "type": "string"
              },
              "lord": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "name_dev",
              "lord"
            ]
          },
          "masa": {
            "type": "object",
            "properties": {
              "lunar": {
                "type": "string"
              },
              "ritu": {
                "type": "string"
              },
              "ayana": {
                "type": "string"
              },
              "sunSign": {
                "type": "string"
              },
              "moonSign": {
                "type": "string"
              }
            },
            "required": [
              "lunar",
              "ritu",
              "ayana",
              "sunSign",
              "moonSign"
            ]
          },
          "rahuKaal": {
            "type": "object",
            "properties": {
              "start": {
                "type": "string",
                "format": "date-time"
              },
              "end": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "start",
              "end"
            ]
          },
          "yamaganda": {
            "type": "object",
            "properties": {
              "start": {
                "type": "string",
                "format": "date-time"
              },
              "end": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "start",
              "end"
            ]
          },
          "gulika": {
            "type": "object",
            "properties": {
              "start": {
                "type": "string",
                "format": "date-time"
              },
              "end": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "start",
              "end"
            ]
          },
          "abhijit": {
            "type": "object",
            "properties": {
              "start": {
                "type": "string",
                "format": "date-time"
              },
              "end": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "start",
              "end"
            ]
          },
          "brahmaMuhurat": {
            "type": "object",
            "properties": {
              "start": {
                "type": "string",
                "format": "date-time"
              },
              "end": {
                "type": "string",
                "format": "date-time"
              }
            },
            "required": [
              "start",
              "end"
            ]
          },
          "choghadiya": {
            "type": "object",
            "properties": {
              "day": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                }
              },
              "night": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            },
            "required": [
              "day",
              "night"
            ]
          },
          "festivals": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "date",
          "tz",
          "sunrise",
          "sunset",
          "moonrise",
          "moonset",
          "tithi",
          "nakshatra",
          "yoga",
          "karana",
          "vara",
          "masa",
          "rahuKaal",
          "yamaganda",
          "gulika",
          "abhijit",
          "brahmaMuhurat",
          "choghadiya",
          "festivals"
        ]
      },
      "Muhurat": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "weekday": {
            "type": "string"
          },
          "tithi": {
            "type": "string"
          },
          "nakshatra": {
            "type": "string"
          },
          "yoga": {
            "type": "string"
          },
          "window": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date-time"
            }
          },
          "rahu": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date-time"
            }
          }
        },
        "required": [
          "date",
          "weekday",
          "tithi",
          "nakshatra",
          "yoga",
          "window",
          "rahu"
        ]
      },
      "Chapter": {
        "type": "object",
        "properties": {
          "n": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "sa": {
            "type": "string"
          },
          "tl": {
            "type": "string"
          },
          "meaning": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "summary_hi": {
            "type": "string"
          },
          "count": {
            "type": "integer"
          }
        },
        "required": [
          "n",
          "title",
          "sa",
          "tl",
          "meaning",
          "summary",
          "summary_hi",
          "count"
        ]
      },
      "Verse": {
        "type": "object",
        "properties": {
          "c": {
            "type": "integer"
          },
          "v": {
            "type": "integer"
          },
          "sa": {
            "type": "string"
          },
          "tl": {
            "type": "string"
          },
          "wm": {
            "type": "string"
          },
          "en": {
            "type": "string"
          },
          "hi": {
            "type": "string"
          }
        },
        "required": [
          "c",
          "v",
          "sa",
          "tl",
          "en",
          "hi"
        ]
      },
      "City": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lon": {
            "type": "number"
          },
          "country": {
            "type": "string"
          },
          "admin": {
            "type": "string"
          },
          "population": {
            "type": "integer"
          }
        },
        "required": [
          "name",
          "lat",
          "lon",
          "country",
          "admin",
          "population"
        ]
      }
    }
  }
}
