app.didpic.feed.defs
Schema Diff
+5 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "app.didpic.feed.defs#postView.editedAt" }
- AddedEdge AddedEdge { src: "app.didpic.feed.defs#postView", tgt: "app.didpic.feed.defs#postView.editedAt", kind: "prop", name: Some("editedAt") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.didpic.feed.defs#postView.editedAt" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.didpic.feed.defs#postView", tgt: "app.didpic.feed.defs#postView.editedAt", kind: "prop", name: Some("editedAt") }
1
1
{
2
2
"id": "app.didpic.feed.defs",
3
3
"defs": {
4
4
"likeView": {
5
5
"type": "object",
6
6
"required": [
7
7
"actor",
8
8
"createdAt",
9
9
"indexedAt"
10
10
],
11
11
"properties": {
12
12
"actor": {
13
13
"ref": "app.didpic.actor.defs#profileBasic",
14
14
"type": "ref"
15
15
},
16
16
"createdAt": {
17
17
"type": "string",
18
18
"format": "datetime"
19
19
},
20
20
"indexedAt": {
21
21
"type": "string",
22
22
"format": "datetime"
23
23
}
24
24
}
25
25
},
26
26
"postView": {
27
27
"type": "object",
28
28
"required": [
29
29
"uri",
30
30
"cid",
31
31
"author",
32
32
"imageCid",
33
33
"createdAt",
34
34
"indexedAt"
35
35
],
36
36
"properties": {
37
37
"alt": {
38
38
"type": "string"
39
39
},
40
40
"cid": {
41
41
"type": "string",
42
42
"format": "cid"
43
43
},
44
44
"uri": {
45
45
"type": "string",
46
46
"format": "at-uri"
47
47
},
48
48
"text": {
49
49
"type": "string"
50
50
},
51
51
"author": {
52
52
"ref": "app.didpic.actor.defs#profileBasic",
53
53
"type": "ref"
54
54
},
55
55
"facets": {
56
56
"type": "array",
57
57
"items": {
58
58
"ref": "app.didpic.richtext.facet",
59
59
"type": "ref"
60
60
}
61
61
},
62
+
"editedAt": {
63
+
"type": "string",
64
+
"format": "datetime",
65
+
"description": "Set when the post has been edited at least once via putRecord. Absent for never-edited posts. Clients render an Edited badge when present."
66
+
},
62
67
"imageCid": {
63
68
"type": "string",
64
69
"format": "cid"
65
70
},
66
71
"createdAt": {
67
72
"type": "string",
68
73
"format": "datetime"
69
74
},
70
75
"indexedAt": {
71
76
"type": "string",
72
77
"format": "datetime"
73
78
},
74
79
"likeCount": {
75
80
"type": "integer",
76
81
"minimum": 0
77
82
},
78
83
"viewerLike": {
79
84
"type": "string",
80
85
"format": "at-uri",
81
86
"description": "URI of the viewer's like record on this post, if any."
82
87
},
83
88
"aspectRatio": {
84
89
"ref": "app.didpic.feed.post#aspectRatio",
85
90
"type": "ref"
86
91
},
87
92
"commentCount": {
88
93
"type": "integer",
89
94
"minimum": 0
90
95
}
91
96
}
92
97
},
93
98
"commentView": {
94
99
"type": "object",
95
100
"required": [
96
101
"uri",
97
102
"cid",
98
103
"author",
99
104
"text",
100
105
"createdAt",
101
106
"indexedAt"
102
107
],
103
108
"properties": {
104
109
"cid": {
105
110
"type": "string",
106
111
"format": "cid"
107
112
},
108
113
"uri": {
109
114
"type": "string",
110
115
"format": "at-uri"
111
116
},
112
117
"text": {
113
118
"type": "string"
114
119
},
115
120
"author": {
116
121
"ref": "app.didpic.actor.defs#profileBasic",
117
122
"type": "ref"
118
123
},
119
124
"facets": {
120
125
"type": "array",
121
126
"items": {
122
127
"ref": "app.didpic.richtext.facet",
123
128
"type": "ref"
124
129
}
125
130
},
126
131
"parent": {
127
132
"ref": "com.atproto.repo.strongRef",
128
133
"type": "ref",
129
134
"description": "If this comment is a reply, the comment it replies to."
130
135
},
131
136
"replies": {
132
137
"type": "array",
133
138
"items": {
134
139
"ref": "app.didpic.feed.defs#commentView",
135
140
"type": "ref"
136
141
},
137
142
"description": "Capped inline preview of replies. Fetch the remainder via feed.getCommentReplies."
138
143
},
139
144
"createdAt": {
140
145
"type": "string",
141
146
"format": "datetime"
142
147
},
143
148
"indexedAt": {
144
149
"type": "string",
145
150
"format": "datetime"
146
151
},
147
152
"likeCount": {
148
153
"type": "integer",
149
154
"minimum": 0
150
155
},
151
156
"replyCount": {
152
157
"type": "integer",
153
158
"minimum": 0
154
159
},
155
160
"viewerLike": {
156
161
"type": "string",
157
162
"format": "at-uri",
158
163
"description": "URI of the viewer's like record on this comment, if any."
159
164
}
160
165
}
161
166
}
162
167
},
163
168
"$type": "com.atproto.lexicon.schema",
164
169
"lexicon": 1
165
170
}