app.bivri.notif.getNotifications

lexicons.bivri.app

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "notifications": {
              "items": {
                "ref": "#notificationView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "notifications"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    },
    "notificationView": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "id": {
          "type": "integer"
        },
        "indexedAt": {
          "format": "datetime",
          "type": "string"
        },
        "isRead": {
          "type": "boolean"
        },
        "reason": {
          "knownValues": [
            "like",
            "comment",
            "follow",
            "commission_request",
            "commission_message",
            "commission_status"
          ],
          "type": "string"
        },
        "sender": {
          "ref": "app.bivri.actor.defs#profileView",
          "type": "ref"
        },
        "subjectUri": {
          "description": "What the notification points at. An Artwork's record URI for `like` and `comment`; absent for `follow`, whose sender is the subject. The three `commission_*` reasons carry `bivri://commission/<id>` — a commission is Bivri-local, not a repository record, and this format was published before one existed, so it cannot narrow; treat the scheme prefix as the discriminator.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "id",
        "reason",
        "isRead",
        "sender",
        "createdAt",
        "indexedAt"
      ],
      "type": "object"
    }
  },
  "description": "Get the authenticated member's notifications, paginated by cursor.",
  "id": "app.bivri.notif.getNotifications",
  "lexicon": 1
}

Validate Record

Validate a record against app.bivri.notif.getNotifications

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:uqat5a7hrbww3snbbinxgwah
CID
bafyreifmny5npjs4c3jmrprymgdyjvzb5llzmp4nhks2gmnzv26f3rltle
Indexed At
2026-09-05 15:18 UTC
AT-URI
at://did:plc:uqat5a7hrbww3snbbinxgwah/com.atproto.lexicon.schema/app.bivri.notif.getNotifications

Version History (3 versions)

Referenced Schemas (1)

Similar Lexicons

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

Lexicon Garden

@