app.bivri.notif.getNotifications

lexicons.bivri.app

Schema Diff

+7 -1

From

CID
bafyreifmny5npjs...
Indexed At
2026-09-05 15:18 UTC
View this version

To

CID
bafyreibpvgbtdh7...
Indexed At
2026-09-07 07:09 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 2 non-breaking changes.

Non-Breaking Changes (2)
  • AddedVertex AddedVertex { vertex_id: "app.bivri.notif.getNotifications#notificationView.commissionId" }
  • AddedEdge AddedEdge { src: "app.bivri.notif.getNotifications#notificationView", tgt: "app.bivri.notif.getNotifications#notificationView.commissionId", kind: "prop", name: Some("commissionId") }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "app.bivri.notif.getNotifications#notificationView.commissionId" }

Additional Notes

  • Non-breaking: AddedEdge { src: "app.bivri.notif.getNotifications#notificationView", tgt: "app.bivri.notif.getNotifications#notificationView.commissionId", kind: "prop", name: Some("commissionId") }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 5
      "output": {
6 6
        "encoding": "application/json",
7 7
        "schema": {
8 8
          "properties": {
9 9
            "cursor": {
10 10
              "type": "string"
11 11
            },
12 12
            "notifications": {
13 13
              "items": {
14 14
                "ref": "#notificationView",
15 15
                "type": "ref"
16 16
              },
17 17
              "type": "array"
18 18
            }
19 19
          },
20 20
          "required": [
21 21
            "notifications"
22 22
          ],
23 23
          "type": "object"
24 24
        }
25 25
      },
26 26
      "parameters": {
27 27
        "properties": {
28 28
          "cursor": {
29 29
            "type": "string"
30 30
          },
31 31
          "limit": {
32 32
            "default": 50,
33 33
            "maximum": 100,
34 34
            "minimum": 1,
35 35
            "type": "integer"
36 36
          }
37 37
        },
38 38
        "type": "params"
39 39
      },
40 40
      "type": "query"
41 41
    },
42 42
    "notificationView": {
43 43
      "properties": {
44 +
        "commissionId": {
45 +
          "description": "The Bivri-local commission identifier for commission notifications. A commission is not an AT Protocol repository record.",
46 +
          "maxLength": 36,
47 +
          "minLength": 36,
48 +
          "type": "string"
49 +
        },
44 50
        "createdAt": {
45 51
          "format": "datetime",
46 52
          "type": "string"
47 53
        },
48 54
        "id": {
49 55
          "type": "integer"
50 56
        },
51 57
        "indexedAt": {
52 58
          "format": "datetime",
53 59
          "type": "string"
54 60
        },
55 61
        "isRead": {
56 62
          "type": "boolean"
57 63
        },
58 64
        "reason": {
59 65
          "knownValues": [
60 66
            "like",
61 67
            "comment",
62 68
            "follow",
63 69
            "commission_request",
64 70
            "commission_message",
65 71
            "commission_status"
66 72
          ],
67 73
          "type": "string"
68 74
        },
69 75
        "sender": {
70 76
          "ref": "app.bivri.actor.defs#profileView",
71 77
          "type": "ref"
72 78
        },
73 79
        "subjectUri": {
74 -
          "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.",
80 +
          "description": "The related AT Protocol record URI, when present. Bivri-local commissions use commissionId instead.",
75 81
          "format": "at-uri",
76 82
          "type": "string"
77 83
        }
78 84
      },
79 85
      "required": [
80 86
        "id",
81 87
        "reason",
82 88
        "isRead",
83 89
        "sender",
84 90
        "createdAt",
85 91
        "indexedAt"
86 92
      ],
87 93
      "type": "object"
88 94
    }
89 95
  },
90 96
  "description": "Get the authenticated member's notifications, paginated by cursor.",
91 97
  "id": "app.bivri.notif.getNotifications",
92 98
  "lexicon": 1
93 99
}

Compare Other Versions

Lexicon Garden

@