app.didpic.feed.defs
Schema Diff
+14 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 8 non-breaking changes.
Non-Breaking Changes (8)
- AddedVertex AddedVertex { vertex_id: "app.didpic.feed.defs#commentView.facets" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.feed.defs#commentView.facets:items" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.feed.defs#postView.facets" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.feed.defs#postView.facets:items" }
- AddedEdge AddedEdge { src: "app.didpic.feed.defs#commentView", tgt: "app.didpic.feed.defs#commentView.facets", kind: "prop", name: Some("facets") }
- AddedEdge AddedEdge { src: "app.didpic.feed.defs#commentView.facets", tgt: "app.didpic.feed.defs#commentView.facets:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "app.didpic.feed.defs#postView", tgt: "app.didpic.feed.defs#postView.facets", kind: "prop", name: Some("facets") }
- AddedEdge AddedEdge { src: "app.didpic.feed.defs#postView.facets", tgt: "app.didpic.feed.defs#postView.facets:items", kind: "items", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.didpic.feed.defs#commentView.facets" }AddedVertex { vertex_id: "app.didpic.feed.defs#commentView.facets:items" }AddedVertex { vertex_id: "app.didpic.feed.defs#postView.facets" }AddedVertex { vertex_id: "app.didpic.feed.defs#postView.facets:items" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.didpic.feed.defs#commentView", tgt: "app.didpic.feed.defs#commentView.facets", kind: "prop", name: Some("facets") }
- Non-breaking: AddedEdge { src: "app.didpic.feed.defs#commentView.facets", tgt: "app.didpic.feed.defs#commentView.facets:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "app.didpic.feed.defs#postView", tgt: "app.didpic.feed.defs#postView.facets", kind: "prop", name: Some("facets") }
- Non-breaking: AddedEdge { src: "app.didpic.feed.defs#postView.facets", tgt: "app.didpic.feed.defs#postView.facets:items", kind: "items", name: None }
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
+
"facets": {
56
+
"type": "array",
57
+
"items": {
58
+
"ref": "app.didpic.richtext.facet",
59
+
"type": "ref"
60
+
}
61
+
},
55
62
"imageCid": {
56
63
"type": "string",
57
64
"format": "cid"
58
65
},
59
66
"createdAt": {
60
67
"type": "string",
61
68
"format": "datetime"
62
69
},
63
70
"indexedAt": {
64
71
"type": "string",
65
72
"format": "datetime"
66
73
},
67
74
"likeCount": {
68
75
"type": "integer",
69
76
"minimum": 0
70
77
},
71
78
"viewerLike": {
72
79
"type": "string",
73
80
"format": "at-uri",
74
81
"description": "URI of the viewer's like record on this post, if any."
75
82
},
76
83
"aspectRatio": {
77
84
"ref": "app.didpic.feed.post#aspectRatio",
78
85
"type": "ref"
79
86
},
80
87
"commentCount": {
81
88
"type": "integer",
82
89
"minimum": 0
83
90
}
84
91
}
85
92
},
86
93
"commentView": {
87
94
"type": "object",
88
95
"required": [
89
96
"uri",
90
97
"cid",
91
98
"author",
92
99
"text",
93
100
"createdAt",
94
101
"indexedAt"
95
102
],
96
103
"properties": {
97
104
"cid": {
98
105
"type": "string",
99
106
"format": "cid"
100
107
},
101
108
"uri": {
102
109
"type": "string",
103
110
"format": "at-uri"
104
111
},
105
112
"text": {
106
113
"type": "string"
107
114
},
108
115
"author": {
109
116
"ref": "app.didpic.actor.defs#profileBasic",
110
117
"type": "ref"
111
118
},
119
+
"facets": {
120
+
"type": "array",
121
+
"items": {
122
+
"ref": "app.didpic.richtext.facet",
123
+
"type": "ref"
124
+
}
125
+
},
112
126
"parent": {
113
127
"ref": "com.atproto.repo.strongRef",
114
128
"type": "ref",
115
129
"description": "If this comment is a reply, the comment it replies to."
116
130
},
117
131
"replies": {
118
132
"type": "array",
119
133
"items": {
120
134
"ref": "app.didpic.feed.defs#commentView",
121
135
"type": "ref"
122
136
},
123
137
"description": "Capped inline preview of replies. Fetch the remainder via feed.getCommentReplies."
124
138
},
125
139
"createdAt": {
126
140
"type": "string",
127
141
"format": "datetime"
128
142
},
129
143
"indexedAt": {
130
144
"type": "string",
131
145
"format": "datetime"
132
146
},
133
147
"likeCount": {
134
148
"type": "integer",
135
149
"minimum": 0
136
150
},
137
151
"replyCount": {
138
152
"type": "integer",
139
153
"minimum": 0
140
154
},
141
155
"viewerLike": {
142
156
"type": "string",
143
157
"format": "at-uri",
144
158
"description": "URI of the viewer's like record on this comment, if any."
145
159
}
146
160
}
147
161
}
148
162
},
149
163
"$type": "com.atproto.lexicon.schema",
150
164
"lexicon": 1
151
165
}