org.simocracy.notificationSeen

Singleton record per user tracking when they last viewed their notifications. Written to the user's PDS with rkey 'self'.

Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritysimocracy.org
Indexed
cid bafyreigwvlubf3chho7wb4pd3kxatx6byutaqjve4wagbtbjqkj5csrlge

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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"
    }
  },
  "id": "org.simocracy.notificationSeen",
  "lexicon": 1
}