{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List the ATProto RSVPs to an event, hydrated with each responder's profile. Zeens members are surfaced first. Returns raw rsvp records only; email RSVPs and organiser approval/waitlist state live in PocketBase and are merged in by the SvelteKit layer.",
      "output": {
        "encoding": "application/json"
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "event": {
            "description": "AT-URI of the app.zeens.event record.",
            "format": "at-uri",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "status": {
            "description": "Optional filter on RSVP status.",
            "knownValues": [
              "going",
              "interested"
            ],
            "type": "string"
          }
        },
        "required": [
          "event"
        ],
        "type": "params"
      },
      "target_collection": "app.zeens.rsvp",
      "type": "query"
    }
  },
  "id": "app.zeens.getEventRsvps",
  "lexicon": 1
}
