{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Threads in a board sorted by latest activity, with reply counts and author info.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "board": {
              "type": "unknown"
            },
            "cursor": {
              "type": "string"
            },
            "threads": {
              "items": {
                "type": "unknown"
              },
              "type": "array"
            }
          },
          "required": [
            "threads"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "board": {
            "format": "at-uri",
            "type": "string"
          },
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 25,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "q": {
            "description": "Case-insensitive literal substring to match against topic titles.",
            "maxGraphemes": 200,
            "maxLength": 2000,
            "type": "string"
          },
          "tag": {
            "description": "Case-insensitive exact tag match.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          }
        },
        "required": [
          "board"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.atmobb.discussion.getBoardThreads",
  "lexicon": 1
}
