app.tempomusic.notification.defs
Details · defs
| Kind | defs |
|---|---|
| Authority | notification.tempomusic.app |
| Indexed |
Showing version bafyreihkr3euuq4ho77m5w5wx5g3qlc2emy75chq64ylhmwx5tl2rdwlem. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"notificationView": {
"description": "A single notification surfaced to the recipient. Server-projected from indexed like, reply and post records; recipients are scoped server-side from the viewer parameter.",
"properties": {
"author": {
"description": "The actor whose action produced this notification.",
"ref": "app.tempomusic.feed.defs#authorView",
"type": "ref"
},
"cid": {
"format": "cid",
"type": "string"
},
"indexedAt": {
"description": "Timestamp at which the AppView indexed the source record.",
"format": "datetime",
"type": "string"
},
"isRead": {
"description": "Server-computed from indexedAt and the recipient's stored seenAt; true when this notification predates seenAt.",
"type": "boolean"
},
"reason": {
"description": "Why this notification was produced. knownValues is informational; clients should accept unknown values and skip them.",
"knownValues": [
"post-liked",
"post-replied",
"reply-liked",
"post-mentioned",
"reply-mentioned"
],
"maxLength": 100,
"type": "string"
},
"reasonSubject": {
"description": "AT-URI of the post or reply that was acted upon (the recipient's own record). Matches Bluesky's reasonSubject semantics. Absent for mentions: the source record is the subject.",
"format": "at-uri",
"type": "string"
},
"record": {
"description": "The underlying app.tempomusic.feed.like, app.tempomusic.feed.reply or app.tempomusic.feed.post record carried verbatim with its $type discriminator. Lexicon-typed as unknown to match the AT Protocol convention for embedded records.",
"type": "unknown"
},
"subjectRootUri": {
"description": "AT-URI of the root post for navigation. For post-liked / post-replied this equals reasonSubject; for reply-liked this is the root post the liked reply hangs off, letting clients open the right thread without a second lookup. For post-mentioned this is the source post itself; for reply-mentioned the root post of the thread the source reply belongs to.",
"format": "at-uri",
"type": "string"
},
"uri": {
"description": "AT-URI of the source record (the like, reply or post) that produced this notification.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid",
"author",
"reason",
"record",
"isRead",
"indexedAt"
],
"type": "object"
}
},
"id": "app.tempomusic.notification.defs",
"lexicon": 1
}