app.tempomusic.notification.getUnreadCount

lexicons.tempomusic.fan

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Count of unread notifications for the requesting viewer. The viewer DID is read from the service-auth JWT (`iss` claim) — no `?viewer=` query parameter.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "count": {
              "description": "Number of notifications with indexedAt strictly newer than the recipient's stored seenAt (all notifications when seenAt is unset).",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "count"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "reasons": {
            "description": "Reasons to include. Absent → post-liked, post-replied, reply-liked (the reasons that predate mentions, so clients unaware of newer reasons never receive a record they cannot decode). Unknown values are ignored; an empty set after filtering yields a count of 0.",
            "items": {
              "maxLength": 100,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.tempomusic.notification.getUnreadCount",
  "lexicon": 1
}

Validate Record

Validate a record against app.tempomusic.notification.getUnreadCount

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:pxsuqmultto34oks44m2lgxm
CID
bafyreia3rlbjzegmzdn5mxwukbdkiohjwhac6d73jokjzsldcunbapyoum
Indexed At
2026-09-28 23:39 UTC
AT-URI
at://did:plc:pxsuqmultto34oks44m2lgxm/com.atproto.lexicon.schema/app.tempomusic.notification.getUnreadCount

Version History (2 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@