community.lexicon.calendar.searchEvents

lexicons.lexicon.community

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

Validate Record

Validate a record against community.lexicon.calendar.searchEvents

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:mtr7qrqtcyseedx3jyr5o7db
CID
bafyreigz4ap4qtl4sidzqtn6iprybtpo6nvsn2pbdonpqbem5uao3viuke
Indexed At
2026-07-26 19:06 UTC
AT-URI
at://did:plc:mtr7qrqtcyseedx3jyr5o7db/com.atproto.lexicon.schema/community.lexicon.calendar.searchEvents

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@