{"openapi":"3.1.0","info":{"title":"Rival64 public trivia guide catalogue","version":"1.0.0","description":"Search official Rival64 guides or read a full Hebrew trivia article without an account. v1 URLs are stable. Additive changes keep v1; incompatible changes use a new major-version path.","contact":{"name":"Rival64","url":"https://rival64.com/contact.html"}},"externalDocs":{"description":"Developer quickstart and live example","url":"https://rival64.com/developers"},"servers":[{"url":"https://rival64.com"}],"security":[],"tags":[{"name":"Guides","description":"Public Hebrew articles and sample quizzes."}],"paths":{"/guides/v1/guides":{"get":{"operationId":"searchGuides","summary":"Search and list official trivia guides","description":"Returns Hebrew articles whose subject matches the query. Omit q to browse the entire catalogue. Follow next when another page is available.","tags":["Guides"],"parameters":[{"name":"q","in":"query","required":false,"description":"Hebrew or English keyword, e.g. כדורגל or football.","schema":{"type":"string","maxLength":120}},{"name":"limit","in":"query","required":false,"description":"Maximum number of entries per page.","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}},{"name":"offset","in":"query","required":false,"description":"Zero-based position in the ordered result set.","schema":{"type":"integer","minimum":0,"default":0}}],"responses":{"200":{"description":"A page of guides.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuideList"}}}},"400":{"description":"The request could not be completed. Check code and message.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/guides/v1/guides/{slug}":{"get":{"operationId":"getGuide","summary":"Read a complete Rival64 trivia guide in Hebrew","description":"Use a slug returned by searchGuides. Returns the article as Markdown and links to its HTML and Markdown representations.","tags":["Guides"],"parameters":[{"name":"slug","in":"path","required":true,"description":"Identifier returned in a guide entry, such as cinema-quiz.","schema":{"type":"string"}}],"responses":{"200":{"description":"The requested guide including its Markdown content.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuideArticle"}}}},"404":{"description":"The request could not be completed. Check code and message.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Guide":{"type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"htmlUrl":{"type":"string","format":"uri"},"markdownUrl":{"type":"string","format":"uri"}},"required":["slug","title","description","htmlUrl","markdownUrl"],"additionalProperties":false},"GuideArticle":{"type":"object","properties":{"slug":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"htmlUrl":{"type":"string","format":"uri"},"markdownUrl":{"type":"string","format":"uri"},"markdown":{"type":"string"}},"required":["slug","title","description","htmlUrl","markdownUrl","markdown"],"additionalProperties":false},"Error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":false},"GuideList":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Guide"}},"total":{"type":"integer","minimum":0},"next":{"type":["string","null"],"format":"uri"}},"required":["items","total","next"],"additionalProperties":false}}}}