{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Browse the publication directory with topic filter, sort, and cursor pagination.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "app.standard-reader.defs#cursorPagePublications",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "maxLength": 8192,
            "type": "string"
          },
          "limit": {
            "default": 24,
            "maximum": 60,
            "minimum": 1,
            "type": "integer"
          },
          "q": {
            "maxLength": 256,
            "type": "string"
          },
          "sort": {
            "default": "readers",
            "knownValues": [
              "readers",
              "active",
              "az"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "topic": {
            "maxLength": 128,
            "type": "string"
          }
        },
        "required": [],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.standard-reader.getPublications",
  "lexicon": 1
}
