{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Notify of a record change for immediate indexing. Fetches the record from the user's PDS and indexes (or deletes) it.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"uri": {
"description": "Single AT URI to fetch and index",
"format": "at-uri",
"type": "string"
},
"uris": {
"description": "Batch of AT URIs to fetch and index (max 25)",
"items": {
"format": "at-uri",
"type": "string"
},
"maxLength": 25,
"type": "array"
}
},
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"deleted": {
"description": "Number of records deleted (not found on PDS)",
"type": "integer"
},
"errors": {
"description": "Errors for individual URIs that could not be processed",
"items": {
"type": "string"
},
"type": "array"
},
"indexed": {
"description": "Number of records created or updated",
"type": "integer"
}
},
"required": [
"indexed",
"deleted"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "rsvp.atmo.notifyOfUpdate",
"lexicon": 1
}