{
"id": "space.ziran.presence",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"doc",
"at"
],
"properties": {
"at": {
"type": "string",
"format": "datetime",
"description": "Time of the author's most recent liveness refresh."
},
"doc": {
"type": "string",
"format": "tid",
"description": "rkey of the space.ziran.doc record the author has open."
}
}
},
"description": "Liveness beacon, written by any member into their own repo while they have the document open (rkey = the doc's rkey; refreshed by putRecord roughly every minute). Peers treat the author as present while the timestamp is recent."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}