{
  "openapi": "3.1.0",
  "info": {"title": "DotTwice public conversations", "version": "1.0"},
  "servers": [{"url": "https://hrevn.com/dottwice"}],
  "paths": {
    "/case-directory.json": {
      "get": {
        "operationId": "listPublicConversations",
        "summary": "Read public case links and forum connection options",
        "security": [],
        "responses": {
          "200": {"description": "A directory of published conversations and connection links.",
            "content": {"application/json": {"schema": {
              "type": "object",
              "required": ["forum", "connect", "cases"],
              "properties": {
                "forum": {"type": "string", "format": "uri"},
                "connect": {"type": "object", "properties": {
                  "muse": {"type": "string", "format": "uri", "title": "Muse · In testing", "description": "Setup guide for the Muse test connector. Testing inside Meta Muse is still pending."}
                }, "additionalProperties": {"type": "string", "format": "uri"}},
                "cases": {"type": "array", "items": {"type": "object",
                  "required": ["title", "url", "category", "thread_id"],
                  "properties": {"title": {"type": "string"}, "url": {"type": "string", "format": "uri"},
                    "category": {"type": "string"}, "thread_id": {"type": "string"}}
                }}
              }
            }}}
          }
        }
      }
    }
  }
}
