{
 "openapi": "3.1.0",
 "info": {
  "title": "Grand Temples data",
  "version": "1.0.0",
  "description": "Read-only data behind https://grandtemples.com: South India temples (darshan hours, dress, phone rules, official tickets), temple tours, and occasions with dated, sourced festival days. Static JSON, no key needed. Each fact carries facts.sourceUrl, sourceType (official | reported | unverified), verifiedOn and recheckBy. Past recheckBy, a fact may be out of date. Confirm with the temple before you travel."
 },
 "servers": [
  {
   "url": "https://grandtemples.com"
  }
 ],
 "paths": {
  "/data/temples.json": {
   "get": {
    "summary": "All temples with their sourced facts",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "required": [
          "site",
          "updated",
          "note",
          "temples"
         ],
         "properties": {
          "site": {
           "type": "string"
          },
          "updated": {
           "type": "string",
           "format": "date"
          },
          "note": {
           "type": "string"
          },
          "temples": {
           "type": "array",
           "items": {
            "type": "object",
            "required": [
             "slug",
             "url"
            ],
            "properties": {
             "slug": {
              "type": "string"
             },
             "url": {
              "type": "string",
              "format": "uri"
             }
            }
           }
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/data/occasions.json": {
   "get": {
    "summary": "Occasions: rituals, vows and festival dates, each date with its source",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "required": [
          "site",
          "updated",
          "note",
          "occasions"
         ],
         "properties": {
          "site": {
           "type": "string"
          },
          "updated": {
           "type": "string",
           "format": "date"
          },
          "note": {
           "type": "string"
          },
          "occasions": {
           "type": "array",
           "items": {
            "type": "object",
            "required": [
             "slug",
             "url"
            ],
            "properties": {
             "slug": {
              "type": "string"
             },
             "url": {
              "type": "string",
              "format": "uri"
             }
            }
           }
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/data/tours.json": {
   "get": {
    "summary": "Temple tours: the temples in order, days and bases",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "required": [
          "site",
          "updated",
          "note",
          "tours"
         ],
         "properties": {
          "site": {
           "type": "string"
          },
          "updated": {
           "type": "string",
           "format": "date"
          },
          "note": {
           "type": "string"
          },
          "tours": {
           "type": "array",
           "items": {
            "type": "object",
            "required": [
             "slug",
             "url"
            ],
            "properties": {
             "slug": {
              "type": "string"
             },
             "url": {
              "type": "string",
              "format": "uri"
             }
            }
           }
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/feed.xml": {
   "get": {
    "summary": "Dated updates (RSS)",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/rss+xml": {}
      }
     }
    }
   }
  },
  "/llms.txt": {
   "get": {
    "summary": "Index of every page for AI tools",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {}
      }
     }
    }
   }
  },
  "/llms-full.txt": {
   "get": {
    "summary": "Every page in full, as Markdown",
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "text/plain": {}
      }
     }
    }
   }
  }
 }
}
