app.bivri.feed.defs
Schema Diff
+35 -0
Compatibility Analysis
Breaking Changes Detected
4 breaking changes, 7 non-breaking changes.
Breaking Changes (4)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "app.bivri.feed.defs#draftView", src: "app.bivri.feed.defs#draftView", tgt: "app.bivri.feed.defs#draftView.updatedAt", kind: "prop", name: Some("updatedAt") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "app.bivri.feed.defs#draftView", src: "app.bivri.feed.defs#draftView", tgt: "app.bivri.feed.defs#draftView.creatorDid", kind: "prop", name: Some("creatorDid") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "app.bivri.feed.defs#draftView", src: "app.bivri.feed.defs#draftView", tgt: "app.bivri.feed.defs#draftView.id", kind: "prop", name: Some("id") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "app.bivri.feed.defs#draftView", src: "app.bivri.feed.defs#draftView", tgt: "app.bivri.feed.defs#draftView.createdAt", kind: "prop", name: Some("createdAt") }
Non-Breaking Changes (7)
- AddedVertex AddedVertex { vertex_id: "app.bivri.feed.defs#draftView" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.feed.defs#draftView.clientDid" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.feed.defs#draftView.createdAt" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.feed.defs#draftView.creatorDid" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.feed.defs#draftView.id" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.feed.defs#draftView.updatedAt" }
- AddedEdge AddedEdge { src: "app.bivri.feed.defs#draftView", tgt: "app.bivri.feed.defs#draftView.clientDid", kind: "prop", name: Some("clientDid") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.bivri.feed.defs#draftView" }AddedVertex { vertex_id: "app.bivri.feed.defs#draftView.clientDid" }AddedVertex { vertex_id: "app.bivri.feed.defs#draftView.createdAt" }AddedVertex { vertex_id: "app.bivri.feed.defs#draftView.creatorDid" }AddedVertex { vertex_id: "app.bivri.feed.defs#draftView.id" }AddedVertex { vertex_id: "app.bivri.feed.defs#draftView.updatedAt" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "app.bivri.feed.defs#draftView", src: "app.bivri.feed.defs#draftView", tgt: "app.bivri.feed.defs#draftView.updatedAt", kind: "prop", name: Some("updatedAt") }
- Breaking: RequiredEdgeAdded { vertex_id: "app.bivri.feed.defs#draftView", src: "app.bivri.feed.defs#draftView", tgt: "app.bivri.feed.defs#draftView.creatorDid", kind: "prop", name: Some("creatorDid") }
- Breaking: RequiredEdgeAdded { vertex_id: "app.bivri.feed.defs#draftView", src: "app.bivri.feed.defs#draftView", tgt: "app.bivri.feed.defs#draftView.id", kind: "prop", name: Some("id") }
- Breaking: RequiredEdgeAdded { vertex_id: "app.bivri.feed.defs#draftView", src: "app.bivri.feed.defs#draftView", tgt: "app.bivri.feed.defs#draftView.createdAt", kind: "prop", name: Some("createdAt") }
- Non-breaking: AddedEdge { src: "app.bivri.feed.defs#draftView", tgt: "app.bivri.feed.defs#draftView.clientDid", kind: "prop", name: Some("clientDid") }
1
1
{
2
2
"id": "app.bivri.feed.defs",
3
3
"defs": {
4
+
"draftView": {
5
+
"type": "object",
6
+
"required": [
7
+
"id",
8
+
"creatorDid",
9
+
"createdAt",
10
+
"updatedAt"
11
+
],
12
+
"properties": {
13
+
"id": {
14
+
"type": "string",
15
+
"maxLength": 36,
16
+
"description": "Bivri-owned identifier for this unpublished Draft. It is not an AT URI or record key."
17
+
},
18
+
"clientDid": {
19
+
"type": "string",
20
+
"format": "did",
21
+
"description": "DID of the commissioning client when this Draft is a private delivery."
22
+
},
23
+
"createdAt": {
24
+
"type": "string",
25
+
"format": "datetime"
26
+
},
27
+
"updatedAt": {
28
+
"type": "string",
29
+
"format": "datetime"
30
+
},
31
+
"creatorDid": {
32
+
"type": "string",
33
+
"format": "did",
34
+
"description": "DID of the creator who owns the Draft."
35
+
}
36
+
},
37
+
"description": "Private Draft metadata visible only to the Draft's Parties. Draft bytes are deliberately excluded and use a separate authorized path."
38
+
},
4
39
"mediaView": {
5
40
"type": "object",
6
41
"required": [
7
42
"thumb",
8
43
"fullsize",
9
44
"alt"
10
45
],
11
46
"properties": {
12
47
"alt": {
13
48
"type": "string",
14
49
"description": "Alternative text describing the image for members who cannot see it."
15
50
},
16
51
"thumb": {
17
52
"type": "string",
18
53
"format": "uri",
19
54
"description": "URL of the thumbnail-sized image."
20
55
},
21
56
"fullsize": {
22
57
"type": "string",
23
58
"format": "uri",
24
59
"description": "URL of the full-sized image."
25
60
},
26
61
"aspectRatio": {
27
62
"ref": "app.bivri.feed.defs#aspectRatio",
28
63
"type": "ref"
29
64
}
30
65
},
31
66
"description": "Image as the AppView resolved it. Carries fetchable URLs in place of the record's blob reference."
32
67
},
33
68
"artworkView": {
34
69
"type": "object",
35
70
"required": [
36
71
"uri",
37
72
"cid",
38
73
"author",
39
74
"title",
40
75
"media",
41
76
"createdAt"
42
77
],
43
78
"properties": {
44
79
"cid": {
45
80
"type": "string",
46
81
"format": "cid"
47
82
},
48
83
"uri": {
49
84
"type": "string",
50
85
"format": "at-uri"
51
86
},
52
87
"tags": {
53
88
"type": "array",
54
89
"items": {
55
90
"type": "string"
56
91
}
57
92
},
58
93
"langs": {
59
94
"type": "array",
60
95
"items": {
61
96
"type": "string",
62
97
"format": "language"
63
98
}
64
99
},
65
100
"media": {
66
101
"type": "array",
67
102
"items": {
68
103
"ref": "app.bivri.feed.defs#mediaView",
69
104
"type": "ref"
70
105
}
71
106
},
72
107
"title": {
73
108
"type": "string"
74
109
},
75
110
"author": {
76
111
"ref": "app.bivri.actor.defs#profileViewBasic",
77
112
"type": "ref"
78
113
},
79
114
"labels": {
80
115
"refs": [
81
116
"com.atproto.label.defs#selfLabels"
82
117
],
83
118
"type": "union",
84
119
"description": "Self-label values the author declared on the artwork record. Author metadata, not platform moderation decisions."
85
120
},
86
121
"createdAt": {
87
122
"type": "string",
88
123
"format": "datetime"
89
124
},
90
125
"indexedAt": {
91
126
"type": "string",
92
127
"format": "datetime"
93
128
},
94
129
"likeCount": {
95
130
"type": "integer"
96
131
},
97
132
"viewCount": {
98
133
"type": "integer"
99
134
},
100
135
"description": {
101
136
"type": "string"
102
137
},
103
138
"commentCount": {
104
139
"type": "integer"
105
140
},
106
141
"bookmarkCount": {
107
142
"type": "integer"
108
143
}
109
144
}
110
145
},
111
146
"aspectRatio": {
112
147
"type": "object",
113
148
"required": [
114
149
"width",
115
150
"height"
116
151
],
117
152
"properties": {
118
153
"width": {
119
154
"type": "integer",
120
155
"minimum": 1
121
156
},
122
157
"height": {
123
158
"type": "integer",
124
159
"minimum": 1
125
160
}
126
161
},
127
162
"description": "Width-to-height ratio of an image. A ratio, not an absolute pixel size."
128
163
},
129
164
"commentView": {
130
165
"type": "object",
131
166
"required": [
132
167
"uri",
133
168
"cid",
134
169
"author",
135
170
"content",
136
171
"createdAt"
137
172
],
138
173
"properties": {
139
174
"cid": {
140
175
"type": "string",
141
176
"format": "cid"
142
177
},
143
178
"uri": {
144
179
"type": "string",
145
180
"format": "at-uri"
146
181
},
147
182
"author": {
148
183
"ref": "app.bivri.actor.defs#profileViewBasic",
149
184
"type": "ref"
150
185
},
151
186
"parent": {
152
187
"ref": "com.atproto.repo.strongRef",
153
188
"type": "ref"
154
189
},
155
190
"content": {
156
191
"type": "string"
157
192
},
158
193
"subject": {
159
194
"ref": "com.atproto.repo.strongRef",
160
195
"type": "ref"
161
196
},
162
197
"createdAt": {
163
198
"type": "string",
164
199
"format": "datetime"
165
200
},
166
201
"likeCount": {
167
202
"type": "integer"
168
203
}
169
204
}
170
205
}
171
206
},
172
207
"$type": "com.atproto.lexicon.schema",
173
208
"lexicon": 1,
174
209
"description": "Feed view type definitions"
175
210
}