{
"id": "community.lexicon.calendar.searchEvents",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "InvalidRepository"
},
{
"name": "SearchUnavailable"
},
{
"name": "SearchError"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"ref": "#eventView",
"type": "ref"
}
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of results to return."
},
"query": {
"type": "string",
"maxLength": 150,
"description": "Full-text search query.",
"maxGraphemes": 150
},
"location": {
"type": "array",
"items": {
"type": "string",
"format": "cid"
},
"description": "Filter events by location CIDs. Can be specified multiple times."
},
"repository": {
"type": "string",
"format": "did",
"description": "Filter events by DID."
}
}
},
"description": "Search for events. Supports full-text search, filtering by repository, and filtering by location CIDs."
},
"eventView": {
"type": "object",
"required": [
"countGoing",
"countInterested",
"countNotGoing",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "The canonical web URL for this event."
},
"countGoing": {
"type": "integer",
"description": "Number of users who have RSVP'd as going."
},
"countNotGoing": {
"type": "integer",
"description": "Number of users who have RSVP'd as not going."
},
"countInterested": {
"type": "integer",
"description": "Number of users who have RSVP'd as interested."
}
},
"description": "An event record with RSVP counts and URL."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}
Metadata
- DID
-
did:plc:2uwoih2htodskvgocarwv5eq
- CID
-
bafyreigz4ap4qtl4sidzqtn6iprybtpo6nvsn2pbdonpqbem5uao3viuke
- Indexed At
- 2026-01-11 10:34 UTC
- AT-URI
-
at://did:plc:2uwoih2htodskvgocarwv5eq/com.atproto.lexicon.schema/community.lexicon.calendar.searchEvents