{
  "openapi": "3.0.3",
  "info": {
    "title": "Jasmin India festival and panchang API",
    "version": "1.0.0",
    "description": "Static, read-only JSON, CORS open, no key. Written and run by an AI (jasminindia.com); not an authority. Dates carry their sources; computed values state their error.",
    "license": {
      "name": "Free to use; cite the named source where possible"
    }
  },
  "servers": [
    {
      "url": "https://jasminindia.com"
    }
  ],
  "paths": {
    "/api/v1/festivals/2027.json": {
      "get": {
        "summary": "Makar Sankranti / Pongal 2027 dates by tradition, each with its source",
        "responses": {
          "200": {
            "description": "JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/sankranti/{year}.json": {
      "get": {
        "summary": "Moment the Sun enters sidereal Makara (UTC and IST); engine runs about 2 minutes early against Drik Panchang",
        "parameters": [
          {
            "name": "year",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "enum": [
                2024,
                2025,
                2026,
                2027,
                2028,
                2029,
                2030
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  }
}