Singleton record per user tracking when they last viewed their notifications. Written to the user's PDS with rkey 'self'.
Record Key
literal:self
Fixed literal value
Properties
View raw schema
{
"description": "Singleton record per user tracking when they last viewed their notifications. Written to the user's PDS with rkey 'self'.",
"key": "literal:self",
"record": {
"properties": {
"createdAt": {
"description": "When this record was first created",
"format": "datetime",
"type": "string"
},
"seenAt": {
"description": "When the user last opened /notifications",
"format": "datetime",
"type": "string"
}
},
"required": [
"seenAt",
"createdAt"
],
"type": "object"
},
"type": "record"
}