social.grain.group.defs

Repository @grain.social did:plc:e7rftrdyz5e2rw4y6ocszew2 namespace authority
Details · defs
Kinddefs
Authoritygroup.grain.social
Commit rev3n2wtnzptkbbo
Indexed

Showing version bafyreie33vrf2uba6npfvysubidzjhwmwrlddpmixa67matewvhsgazz7e. Show the latest

#galleryItem

object

Properties

alt

string

cid

requiredstring · cid

Blob CID. Fetch through the space, never the CDN.

did

requiredstring · did

Repo holding the photo, and its blob.

position

requiredinteger

uri

requiredstring

Space URI of the photo record.

#galleryRecord

object

Properties

createdAt

string · datetime

title

requiredstring

uri

requiredstring · at-uri

#groupRef

object

Properties

did

requiredstring · did

handle

requiredstring

item

requiredstring · at-uri

The social.grain.group.item that pools this gallery.

#groupView

object

Properties

avatar

string · uri

did

requiredstring · did

handle

requiredstring

How to get in, from the group's public profile.

  • knownValues: open | request | invite

lastActivityAt

string · datetime

When the pool last changed.

Submissions awaiting review. Only present for a viewer acting as the group.

poolCount

integer

Galleries in the pool.

rules

array
itemsref
Reference

url

string · uri

The group's own site, from its opensocial profile. Where the group is actually run.

Reference

#photoInput

object

Properties

alt

string

photo

requiredblob
  • maxSize: 1000000
  • accept: image/*

#poolAuthor

object

Properties

avatar

string

The avatar drawn small, 144 pixels square, for faces in lines and lists.

did

requiredstring · did

handle

string

#poolComment

object

Properties

author

requiredref
Reference

createdAt

string · datetime

facets

array
itemsref

replyTo

string · at-uri

rkey

requiredstring

text

requiredstring

uri

requiredstring · at-uri

#poolFeedItem

object

Properties

avatar

string

The author's Grain profile picture, a public record of their own.

The author's Grain profile picture drawn small, 144 pixels square, for faces in lines and lists.

createdAt

string · datetime

did

requiredstring · did

Whose gallery it is.

favCount

integer

group

requiredstring · did

Whose pool it is in.

handle

string

items

requiredarray
itemsref
Reference

photoCount

requiredinteger

rkey

requiredstring

space

requiredstring

title

requiredstring

uri

string · at-uri

What a favourite or a comment names.

viewerFav

string

#poolGallery

object

Properties

avatar

string

The author's Grain profile picture, a public record of their own.

The author's Grain profile picture drawn small, 144 pixels square, for faces in lines and lists.

Reference

createdAt

string · datetime

did

requiredstring · did

Whose gallery it is.

favCount

integer

handle

string

photoCount

requiredinteger

rkey

requiredstring

space

requiredstring

title

requiredstring

uri

string · at-uri

What a favourite or a comment names.

viewerFav

string

#rule

object

Properties

text

string

title

requiredstring

uri

requiredstring · at-uri

#submissionState

object

Properties

item

string · at-uri

The group's item record, once accepted.

status

requiredstring
  • knownValues: pending | accepted | declined

uri

requiredstring · at-uri

The submission record.

#submissionView

object

Properties

cid

requiredstring · cid

createdAt

requiredstring · datetime

group

requiredstring · did

uri

requiredstring · at-uri

#viewerState

object

Properties

acting

boolean

The viewer is signed in as this group, so may accept and remove.

member

boolean

The viewer has accepted membership of this group, as their own PDS lists it. A claim, not access: the host decides that.

The viewer's standing for the gallery named in the request, if one was.

Reference

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A gallery in a group's pool. Written into the group's own repo by whoever is acting as it; the gallery itself stays in its author's repo. Accept a submission by creating one of these, remove from the pool by deleting it.

  • A member offering one of their own galleries to a group's pool. Lives in the member's repo; the group answers with a social.grain.group.item.

  • Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests.

  • One gallery from a group's pool, read from the repo that holds it through a credential the group's host issues.

  • One gallery from a group's pool, read from the repo that holds it through a credential the group's host issues.