app.bivri.notif.getNotifications

lexicons.bivri.app

Schema Diff

+11 -1

From

CID
bafyreifaj2yuhtk...
Indexed At
2026-08-04 07:17 UTC
View this version

To

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

Compatibility Analysis

Breaking Changes Detected

1 breaking change, 2 non-breaking changes.

Breaking Changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "app.bivri.notif.getNotifications#notificationView.reason", sort: "knownValues", old_value: "[\"like\",\"comment\",\"follow\"]", new_value: "[\"like\",\"comment\",\"follow\",\"commission_request\",\"commission_message\",\"commission_status\"]" }
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" }

Constraint Changes

  • ConstraintTightened ConstraintTightened { vertex_id: "app.bivri.notif.getNotifications#notificationView.reason", sort: "knownValues", old_value: "[\"like\",\"comment\",\"follow\"]", new_value: "[\"like\",\"comment\",\"follow\",\"commission_request\",\"commission_message\",\"commission_status\"]" }

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 -
            "follow"
68 +
            "follow",
69 +
            "commission_request",
70 +
            "commission_message",
71 +
            "commission_status"
63 72
          ],
64 73
          "type": "string"
65 74
        },
66 75
        "sender": {
67 76
          "ref": "app.bivri.actor.defs#profileView",
68 77
          "type": "ref"
69 78
        },
70 79
        "subjectUri": {
80 +
          "description": "The related AT Protocol record URI, when present. Bivri-local commissions use commissionId instead.",
71 81
          "format": "at-uri",
72 82
          "type": "string"
73 83
        }
74 84
      },
75 85
      "required": [
76 86
        "id",
77 87
        "reason",
78 88
        "isRead",
79 89
        "sender",
80 90
        "createdAt",
81 91
        "indexedAt"
82 92
      ],
83 93
      "type": "object"
84 94
    }
85 95
  },
86 96
  "description": "Get the authenticated member's notifications, paginated by cursor.",
87 97
  "id": "app.bivri.notif.getNotifications",
88 98
  "lexicon": 1
89 99
}

Compare Other Versions

Lexicon Garden

@