app.didpic.notification.defs
Schema Diff
+2 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "app.didpic.notification.defs",
3
3
"defs": {
4
4
"notificationView": {
5
5
"type": "object",
6
6
"required": [
7
7
"id",
8
8
"reason",
9
9
"author",
10
10
"recordUri",
11
11
"recordCid",
12
12
"count",
13
13
"isRead",
14
14
"createdAt",
15
15
"indexedAt"
16
16
],
17
17
"properties": {
18
18
"id": {
19
19
"type": "string"
20
20
},
21
21
"post": {
22
22
"ref": "app.didpic.feed.defs#postView",
23
23
"type": "ref",
24
24
"description": "Hydrated post view for reasons that involve a post."
25
25
},
26
26
"count": {
27
27
"type": "integer",
28
28
"minimum": 1,
29
29
"description": "Number of records collapsed into this notification. Always 1 except for likes."
30
30
},
31
31
"author": {
32
32
"ref": "app.didpic.actor.defs#profileBasic",
33
33
"type": "ref"
34
34
},
35
35
"isRead": {
36
36
"type": "boolean"
37
37
},
38
38
"reason": {
39
39
"type": "string",
40
40
"knownValues": [
41
41
"like",
42
42
"comment",
43
43
"reply",
44
-
"follow"
44
+
"follow",
45
+
"subscribed-post"
45
46
]
46
47
},
47
48
"comment": {
48
49
"ref": "app.didpic.feed.defs#commentView",
49
50
"type": "ref",
50
51
"description": "Hydrated comment view when the subject is a comment."
51
52
},
52
53
"postUri": {
53
54
"type": "string",
54
55
"format": "at-uri",
55
56
"description": "Thread-root post URI for post-context reasons. Absent for follow."
56
57
},
57
58
"createdAt": {
58
59
"type": "string",
59
60
"format": "datetime"
60
61
},
61
62
"indexedAt": {
62
63
"type": "string",
63
64
"format": "datetime"
64
65
},
65
66
"recordCid": {
66
67
"type": "string",
67
68
"format": "cid"
68
69
},
69
70
"recordUri": {
70
71
"type": "string",
71
72
"format": "at-uri"
72
73
},
73
74
"subjectCid": {
74
75
"type": "string",
75
76
"format": "cid"
76
77
},
77
78
"subjectUri": {
78
79
"type": "string",
79
80
"format": "at-uri",
80
81
"description": "URI of the target record. Post for post-likes and top-level comments, comment for comment-likes and replies. Absent for follow."
81
82
}
82
83
}
83
84
}
84
85
},
85
86
"$type": "com.atproto.lexicon.schema",
86
87
"lexicon": 1
87
88
}