{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List comments on an event via app.zeens.eventComment, newest-first by createdAt. Returns a flat list (each carrying its optional parent ref) so the client can thread organiser replies. Each comment is hydrated with the author's profile and its own like_count + the viewer's like state.",
      "output": {
        "encoding": "application/json"
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "event": {
            "description": "AT-URI of the parent app.zeens.event record.",
            "format": "at-uri",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "viewer": {
            "description": "Viewer DID, used to report viewer.like per comment.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "event"
        ],
        "type": "params"
      },
      "target_collection": "app.zeens.eventComment",
      "type": "query"
    }
  },
  "id": "app.zeens.getEventComments",
  "lexicon": 1
}
