{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Opaque pagination cursor; absent when no further reactions are known.",
              "type": "string"
            },
            "reactions": {
              "items": {
                "ref": "com.livtet.defs#reactionView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "reactions"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Opaque pagination cursor.",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "description": "Maximum number of reaction records to return.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "subject": {
            "description": "AT-URI of the review whose reactions to list, in `community.lexicon.media.book.review` or `buzz.bookhive.book`.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "subject"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "List the emoji reactions to one review, most recent first. `subject` must name a review: a `community.lexicon.media.book.review` record, or the `buzz.bookhive.book` record a reader's review lives in. Any other record is `InvalidRequest` — the reaction bar under a review is the only thing this query serves. Club reactions are deliberately absent: they live inside the club's space, under the club's own access rule, and are read through it rather than through a public index.",
  "id": "com.livtet.listReactions",
  "lexicon": 1
}
