full diff

com.getorbyt.notification.defs

getorbyt.com +1 −1
From
bafyreiass6ol6u4w665seupt72kdnnhvycyqcjtehmt7wnjhud73ahdgy4 indexed 2026-11-02 17:41 UTC View this version
To
bafyreiawiyjvghpmf6ta6rljzknslb47xabyqorog6nblakqchqad2cbsa indexed 2026-11-04 13:04 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "display": {
55 "description": "A server-written Activity row.",
66 "properties": {
77 "badge": {
88 "description": "What sits on the lead image's corner: the author's face, up to three faces from `authors`, or the Community's art. Absent means nothing.",
99 "knownValues": [
1010 "author",
1111 "authors",
1212 "community"
1313 ],
1414 "type": "string"
1515 },
1616 "lead": {
1717 "description": "Whose image leads the row, and whose name heads it: the author's face and handle, or the Community's art and `/name`. The row comes from whoever the reader would say it came from.",
1818 "knownValues": [
1919 "author",
2020 "community"
2121 ],
2222 "type": "string"
2323 },
2424 "link": {
2525 "description": "What tapping the row opens, as an `orbyt://` link.",
2626 "format": "uri",
2727 "type": "string"
2828 },
2929 "links": {
3030 "description": "Spans of `text` that open something of their own.",
3131 "items": {
3232 "ref": "#displayLink",
3333 "type": "ref"
3434 },
3535 "maxLength": 8,
3636 "type": "array"
3737 },
3838 "text": {
3939 "description": "The sentence after the row's heading, such as `spotlight.orbyt.video and 2 others joined`.",
4040 "maxGraphemes": 300,
4141 "maxLength": 600,
4242 "type": "string"
4343 }
4444 },
4545 "required": [
4646 "lead",
4747 "text",
4848 "link"
4949 ],
5050 "type": "object"
5151 },
5252 "displayLink": {
5353 "description": "A span of display text, by UTF-8 byte offsets as rich text facets count them, and what it opens.",
5454 "properties": {
5555 "byteEnd": {
5656 "minimum": 0,
5757 "type": "integer"
5858 },
5959 "byteStart": {
6060 "minimum": 0,
6161 "type": "integer"
6262 },
6363 "uri": {
6464 "format": "uri",
6565 "type": "string"
6666 }
6767 },
6868 "required": [
6969 "byteStart",
7070 "byteEnd",
7171 "uri"
7272 ],
7373 "type": "object"
7474 },
7575 "notificationView": {
7676 "description": "One Orbyt activity item. Computed when read from Orbyt records and Community service state, never stored.",
7777 "properties": {
7878 "author": {
7979 "ref": "com.getorbyt.actor.defs#profileView",
8080 "type": "ref"
8181 },
8282 "authors": {
8383 "description": "The newest distinct authors of a gathered item, newest first; the first is `author`. Absent when the item has one author.",
8484 "items": {
8585 "ref": "com.getorbyt.actor.defs#profileView",
8686 "type": "ref"
8787 },
8888 "maxLength": 3,
8989 "type": "array"
9090 },
9191 "community": {
9292 "description": "The Community a `community*` reason is about. Absent for other reasons, and absent when the Community can no longer be shown.",
9393 "ref": "com.getorbyt.community.defs#view",
9494 "type": "ref"
9595 },
9696 "count": {
9797 "description": "How many events this item gathers: the joins to one Community in one day, the open reports on one post, or the messages in one Modmail thread. Absent means one. `author` and `indexedAt` are the newest event's.",
9898 "minimum": 1,
9999 "type": "integer"
100100 },
101101 "display": {
102102 "description": "How the row reads, written by the service so wording, grouping and destinations change without a client release. A client that understands it draws the row from it and keeps its own per-reason wording only for items without one.",
103103 "ref": "#display",
104104 "type": "ref"
105105 },
106106 "indexedAt": {
107107 "format": "datetime",
108108 "type": "string"
109109 },
110110 "isRead": {
111111 "type": "boolean"
112112 },
113113 "note": {
114114 "description": "For a `send` item that gathers one send: the note its sender wrote, so the video can show it when opened.",
115115 "maxGraphemes": 150,
116116 "maxLength": 600,
117117 "type": "string"
118118 },
119119 "reason": {
120 "description": "`follow`: the author followed the viewer on Orbyt. `followImport`: the author's follow came from importing their network follows, so the network never announced it; clients may group these. `friendJoined`: an account the viewer follows on the connected network joined Orbyt. `communityJoined`: the author joined a Community the viewer administers. `communityPostRemoved`: the author, a moderator, removed the viewer's post from a Community; it stays listed while the post is removed. `communityReport`: the author reported a post in a Community the viewer moderates; it stays listed while the report is open. `communityTransferOffered`: the author offered the viewer ownership of a Community; it stays listed while the offer is pending. `communityModmail`: the author, a member, wrote to the mod team of a Community where the viewer holds manage-mail; it stays listed while the thread is open. `communityModmailReply`: the mod team of a Community answered the viewer's Modmail; the author is the Community's own account, because the reply speaks for the team. `communityAnnouncement`: the mod team of a Community the viewer belongs to set or changed its announcement since the viewer joined; the author is the Community's own account, and it stays listed while the announcement does. `send`: the author sent the viewer a video; the item's record is the post, and the sends of one author in one day are one item. `sendReaction`: the author reacted to a video the viewer sent them. `sendWatched`: the author first looped a video the viewer sent them. A client that mirrors follows to the network may leave out `follow`, which the network already reports. A client renders a reason it does not recognise generically or skips it.",
120 "description": "`follow` (legacy): the author followed the viewer with the deprecated Orbyt follow. `followImport` (legacy): the author's follow came from importing their network follows, so the network never announced it; clients may group these. `friendJoined`: an account the viewer follows on the connected network joined Orbyt. `communityJoined`: the author joined a Community the viewer administers. `communityPostRemoved`: the author, a moderator, removed the viewer's post from a Community; it stays listed while the post is removed. `communityReport`: the author reported a post in a Community the viewer moderates; it stays listed while the report is open. `communityTransferOffered`: the author offered the viewer ownership of a Community; it stays listed while the offer is pending. `communityModmail`: the author, a member, wrote to the mod team of a Community where the viewer holds manage-mail; it stays listed while the thread is open. `communityModmailReply`: the mod team of a Community answered the viewer's Modmail; the author is the Community's own account, because the reply speaks for the team. `communityAnnouncement`: the mod team of a Community the viewer belongs to set or changed its announcement since the viewer joined; the author is the Community's own account, and it stays listed while the announcement does. `send`: the author sent the viewer a video; the item's record is the post, and the sends of one author in one day are one item. `sendReaction`: the author reacted to a video the viewer sent them. `sendWatched`: the author first looped a video the viewer sent them. A client that mirrors follows to the network may leave out `follow`, which the network already reports. A client renders a reason it does not recognise generically or skips it.",
121121 "knownValues": [
122122 "follow",
123123 "followImport",
124124 "friendJoined",
125125 "communityJoined",
126126 "communityPostRemoved",
127127 "communityReport",
128128 "communityTransferOffered",
129129 "communityModmail",
130130 "communityModmailReply",
131131 "communityAnnouncement",
132132 "send",
133133 "sendReaction",
134134 "sendWatched"
135135 ],
136136 "type": "string"
137137 },
138138 "uri": {
139139 "description": "The record behind the item: the follow record; for `friendJoined` the joining account's repository (`at://<did>`); for `communityJoined` the membership record; for `communityPostRemoved` and `communityReport` the post; for `communityTransferOffered`, `communityModmail`, `communityModmailReply` and `communityAnnouncement` the Community; for `send`, `sendReaction` and `sendWatched` the post sent.",
140140 "format": "at-uri",
141141 "type": "string"
142142 }
143143 },
144144 "required": [
145145 "uri",
146146 "reason",
147147 "author",
148148 "isRead",
149149 "indexedAt"
150150 ],
151151 "type": "object"
152152 }
153153 },
154154 "id": "com.getorbyt.notification.defs",
155155 "lexicon": 1
156156}

Compare other versions