full diff

social.grain.group.defs

grain.social +12 −0
From
bafyreiazkrkjgiowzqzrbvc63x3aoh4ogymqv7lsxkrvbcl5nm5gdsw5wu indexed 2026-11-19 01:43 UTC View this version
To
bafyreie33vrf2uba6npfvysubidzjhwmwrlddpmixa67matewvhsgazz7e indexed 2026-11-23 00:09 UTC View this version

Compatibility

backward compatible Backward compatible. 6 non-breaking changes.

Non-breaking changes (6)
  • AddedVertex AddedVertex { vertex_id: "social.grain.group.defs#poolAuthor.avatarThumb" }
  • AddedVertex AddedVertex { vertex_id: "social.grain.group.defs#poolFeedItem.avatarThumb" }
  • AddedVertex AddedVertex { vertex_id: "social.grain.group.defs#poolGallery.avatarThumb" }
  • AddedEdge AddedEdge { src: "social.grain.group.defs#poolAuthor", tgt: "social.grain.group.defs#poolAuthor.avatarThumb", kind: "prop", name: Some("avatarThumb") }
  • AddedEdge AddedEdge { src: "social.grain.group.defs#poolFeedItem", tgt: "social.grain.group.defs#poolFeedItem.avatarThumb", kind: "prop", name: Some("avatarThumb") }
  • AddedEdge AddedEdge { src: "social.grain.group.defs#poolGallery", tgt: "social.grain.group.defs#poolGallery.avatarThumb", kind: "prop", name: Some("avatarThumb") }

Migration guidance

Added

  • AddedVertex { vertex_id: "social.grain.group.defs#poolAuthor.avatarThumb" }
  • AddedVertex { vertex_id: "social.grain.group.defs#poolFeedItem.avatarThumb" }
  • AddedVertex { vertex_id: "social.grain.group.defs#poolGallery.avatarThumb" }

Notes

  • Non-breaking: AddedEdge { src: "social.grain.group.defs#poolAuthor", tgt: "social.grain.group.defs#poolAuthor.avatarThumb", kind: "prop", name: Some("avatarThumb") }
  • Non-breaking: AddedEdge { src: "social.grain.group.defs#poolFeedItem", tgt: "social.grain.group.defs#poolFeedItem.avatarThumb", kind: "prop", name: Some("avatarThumb") }
  • Non-breaking: AddedEdge { src: "social.grain.group.defs#poolGallery", tgt: "social.grain.group.defs#poolGallery.avatarThumb", kind: "prop", name: Some("avatarThumb") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "galleryItem": {
55 "properties": {
66 "alt": {
77 "type": "string"
88 },
99 "aspectRatio": {
1010 "ref": "social.grain.defs#aspectRatio",
1111 "type": "ref"
1212 },
1313 "cid": {
1414 "description": "Blob CID. Fetch through the space, never the CDN.",
1515 "format": "cid",
1616 "type": "string"
1717 },
1818 "did": {
1919 "description": "Repo holding the photo, and its blob.",
2020 "format": "did",
2121 "type": "string"
2222 },
2323 "position": {
2424 "type": "integer"
2525 },
2626 "uri": {
2727 "description": "Space URI of the photo record.",
2828 "type": "string"
2929 }
3030 },
3131 "required": [
3232 "uri",
3333 "did",
3434 "cid",
3535 "position"
3636 ],
3737 "type": "object"
3838 },
3939 "galleryRecord": {
4040 "properties": {
4141 "createdAt": {
4242 "format": "datetime",
4343 "type": "string"
4444 },
4545 "description": {
4646 "type": "string"
4747 },
4848 "title": {
4949 "type": "string"
5050 },
5151 "uri": {
5252 "format": "at-uri",
5353 "type": "string"
5454 }
5555 },
5656 "required": [
5757 "uri",
5858 "title"
5959 ],
6060 "type": "object"
6161 },
6262 "groupRef": {
6363 "properties": {
6464 "did": {
6565 "format": "did",
6666 "type": "string"
6767 },
6868 "displayName": {
6969 "type": "string"
7070 },
7171 "handle": {
7272 "type": "string"
7373 },
7474 "item": {
7575 "description": "The social.grain.group.item that pools this gallery.",
7676 "format": "at-uri",
7777 "type": "string"
7878 }
7979 },
8080 "required": [
8181 "did",
8282 "handle",
8383 "item"
8484 ],
8585 "type": "object"
8686 },
8787 "groupView": {
8888 "properties": {
8989 "avatar": {
9090 "format": "uri",
9191 "type": "string"
9292 },
9393 "description": {
9494 "type": "string"
9595 },
9696 "did": {
9797 "format": "did",
9898 "type": "string"
9999 },
100100 "displayName": {
101101 "type": "string"
102102 },
103103 "handle": {
104104 "type": "string"
105105 },
106106 "joinPolicy": {
107107 "description": "How to get in, from the group's public profile.",
108108 "knownValues": [
109109 "open",
110110 "request",
111111 "invite"
112112 ],
113113 "type": "string"
114114 },
115115 "lastActivityAt": {
116116 "description": "When the pool last changed.",
117117 "format": "datetime",
118118 "type": "string"
119119 },
120120 "pendingCount": {
121121 "description": "Submissions awaiting review. Only present for a viewer acting as the group.",
122122 "type": "integer"
123123 },
124124 "poolCount": {
125125 "description": "Galleries in the pool.",
126126 "type": "integer"
127127 },
128128 "rules": {
129129 "items": {
130130 "ref": "#rule",
131131 "type": "ref"
132132 },
133133 "type": "array"
134134 },
135135 "url": {
136136 "description": "The group's own site, from its opensocial profile. Where the group is actually run.",
137137 "format": "uri",
138138 "type": "string"
139139 },
140140 "viewer": {
141141 "ref": "#viewerState",
142142 "type": "ref"
143143 }
144144 },
145145 "required": [
146146 "did",
147147 "handle"
148148 ],
149149 "type": "object"
150150 },
151151 "photoInput": {
152152 "properties": {
153153 "alt": {
154154 "type": "string"
155155 },
156156 "aspectRatio": {
157157 "ref": "social.grain.defs#aspectRatio",
158158 "type": "ref"
159159 },
160160 "photo": {
161161 "accept": [
162162 "image/*"
163163 ],
164164 "maxSize": 1000000,
165165 "type": "blob"
166166 }
167167 },
168168 "required": [
169169 "photo",
170170 "aspectRatio"
171171 ],
172172 "type": "object"
173173 },
174174 "poolAuthor": {
175175 "properties": {
176176 "avatar": {
177177 "type": "string"
178178 },
179 "avatarThumb": {
180 "description": "The avatar drawn small, 144 pixels square, for faces in lines and lists.",
181 "type": "string"
182 },
179183 "did": {
180184 "format": "did",
181185 "type": "string"
182186 },
183187 "displayName": {
184188 "type": "string"
185189 },
186190 "handle": {
187191 "type": "string"
188192 }
189193 },
190194 "required": [
191195 "did"
192196 ],
193197 "type": "object"
194198 },
195199 "poolComment": {
196200 "properties": {
197201 "author": {
198202 "ref": "#poolAuthor",
199203 "type": "ref"
200204 },
201205 "createdAt": {
202206 "format": "datetime",
203207 "type": "string"
204208 },
205209 "facets": {
206210 "items": {
207211 "ref": "app.bsky.richtext.facet",
208212 "type": "ref"
209213 },
210214 "type": "array"
211215 },
212216 "replyTo": {
213217 "format": "at-uri",
214218 "type": "string"
215219 },
216220 "rkey": {
217221 "type": "string"
218222 },
219223 "text": {
220224 "type": "string"
221225 },
222226 "uri": {
223227 "format": "at-uri",
224228 "type": "string"
225229 }
226230 },
227231 "required": [
228232 "uri",
229233 "rkey",
230234 "text",
231235 "author"
232236 ],
233237 "type": "object"
234238 },
235239 "poolFeedItem": {
236240 "properties": {
237241 "avatar": {
238242 "description": "The author's Grain profile picture, a public record of their own.",
239243 "type": "string"
240244 },
245 "avatarThumb": {
246 "description": "The author's Grain profile picture drawn small, 144 pixels square, for faces in lines and lists.",
247 "type": "string"
248 },
241249 "commentCount": {
242250 "type": "integer"
243251 },
244252 "createdAt": {
245253 "format": "datetime",
246254 "type": "string"
247255 },
248256 "description": {
249257 "type": "string"
250258 },
251259 "did": {
252260 "description": "Whose gallery it is.",
253261 "format": "did",
254262 "type": "string"
255263 },
256264 "displayName": {
257265 "type": "string"
258266 },
259267 "favCount": {
260268 "type": "integer"
261269 },
262270 "group": {
263271 "description": "Whose pool it is in.",
264272 "format": "did",
265273 "type": "string"
266274 },
267275 "handle": {
268276 "type": "string"
269277 },
270278 "items": {
271279 "items": {
272280 "ref": "#galleryItem",
273281 "type": "ref"
274282 },
275283 "type": "array"
276284 },
277285 "photoCount": {
278286 "type": "integer"
279287 },
280288 "rkey": {
281289 "type": "string"
282290 },
283291 "space": {
284292 "type": "string"
285293 },
286294 "title": {
287295 "type": "string"
288296 },
289297 "uri": {
290298 "description": "What a favourite or a comment names.",
291299 "format": "at-uri",
292300 "type": "string"
293301 },
294302 "viewerFav": {
295303 "type": "string"
296304 }
297305 },
298306 "required": [
299307 "space",
300308 "group",
301309 "did",
302310 "rkey",
303311 "title",
304312 "photoCount",
305313 "items"
306314 ],
307315 "type": "object"
308316 },
309317 "poolGallery": {
310318 "properties": {
311319 "avatar": {
312320 "description": "The author's Grain profile picture, a public record of their own.",
313321 "type": "string"
314322 },
323 "avatarThumb": {
324 "description": "The author's Grain profile picture drawn small, 144 pixels square, for faces in lines and lists.",
325 "type": "string"
326 },
315327 "commentCount": {
316328 "type": "integer"
317329 },
318330 "cover": {
319331 "ref": "#galleryItem",
320332 "type": "ref"
321333 },
322334 "createdAt": {
323335 "format": "datetime",
324336 "type": "string"
325337 },
326338 "description": {
327339 "type": "string"
328340 },
329341 "did": {
330342 "description": "Whose gallery it is.",
331343 "format": "did",
332344 "type": "string"
333345 },
334346 "displayName": {
335347 "type": "string"
336348 },
337349 "favCount": {
338350 "type": "integer"
339351 },
340352 "handle": {
341353 "type": "string"
342354 },
343355 "photoCount": {
344356 "type": "integer"
345357 },
346358 "rkey": {
347359 "type": "string"
348360 },
349361 "space": {
350362 "type": "string"
351363 },
352364 "title": {
353365 "type": "string"
354366 },
355367 "uri": {
356368 "description": "What a favourite or a comment names.",
357369 "format": "at-uri",
358370 "type": "string"
359371 },
360372 "viewerFav": {
361373 "type": "string"
362374 }
363375 },
364376 "required": [
365377 "space",
366378 "did",
367379 "rkey",
368380 "title",
369381 "photoCount"
370382 ],
371383 "type": "object"
372384 },
373385 "rule": {
374386 "properties": {
375387 "text": {
376388 "type": "string"
377389 },
378390 "title": {
379391 "type": "string"
380392 },
381393 "uri": {
382394 "format": "at-uri",
383395 "type": "string"
384396 }
385397 },
386398 "required": [
387399 "uri",
388400 "title"
389401 ],
390402 "type": "object"
391403 },
392404 "submissionState": {
393405 "properties": {
394406 "item": {
395407 "description": "The group's item record, once accepted.",
396408 "format": "at-uri",
397409 "type": "string"
398410 },
399411 "status": {
400412 "knownValues": [
401413 "pending",
402414 "accepted",
403415 "declined"
404416 ],
405417 "type": "string"
406418 },
407419 "uri": {
408420 "description": "The submission record.",
409421 "format": "at-uri",
410422 "type": "string"
411423 }
412424 },
413425 "required": [
414426 "uri",
415427 "status"
416428 ],
417429 "type": "object"
418430 },
419431 "submissionView": {
420432 "properties": {
421433 "cid": {
422434 "format": "cid",
423435 "type": "string"
424436 },
425437 "createdAt": {
426438 "format": "datetime",
427439 "type": "string"
428440 },
429441 "gallery": {
430442 "ref": "social.grain.gallery.defs#galleryView",
431443 "type": "ref"
432444 },
433445 "group": {
434446 "format": "did",
435447 "type": "string"
436448 },
437449 "uri": {
438450 "format": "at-uri",
439451 "type": "string"
440452 }
441453 },
442454 "required": [
443455 "uri",
444456 "cid",
445457 "group",
446458 "gallery",
447459 "createdAt"
448460 ],
449461 "type": "object"
450462 },
451463 "viewerState": {
452464 "properties": {
453465 "acting": {
454466 "description": "The viewer is signed in as this group, so may accept and remove.",
455467 "type": "boolean"
456468 },
457469 "member": {
458470 "description": "The viewer has accepted membership of this group, as their own PDS lists it. A claim, not access: the host decides that.",
459471 "type": "boolean"
460472 },
461473 "submission": {
462474 "description": "The viewer's standing for the gallery named in the request, if one was.",
463475 "ref": "#submissionState",
464476 "type": "ref"
465477 }
466478 },
467479 "type": "object"
468480 }
469481 },
470482 "id": "social.grain.group.defs",
471483 "lexicon": 1
472484}

Compare other versions