{
"id": "org.simocracy.notificationSeen",
"defs": {
"main": {
"key": "literal:self",
"type": "record",
"record": {
"type": "object",
"required": [
"seenAt",
"createdAt"
],
"properties": {
"seenAt": {
"type": "string",
"format": "datetime",
"description": "When the user last opened /notifications"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "When this record was first created"
}
}
},
"description": "Singleton record per user tracking when they last viewed their notifications. Written to the user's PDS with rkey 'self'."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}