social.grain.story.defs

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

Showing version bafyreicwuvx34ngsdxkq7evezs5v2qyill46g3tvhd2nwp3iprde2fx55a. Show the latest

#storyAuthor

object

Properties

lastViewedAt

string · datetime

createdAt of the newest of this author's live stories the requesting account has watched. Compare against latestAt to tell whether the viewer is caught up. Only present for an authenticated viewer who has watched at least one.

latestAt

requiredstring · datetime

storyCount

requiredinteger

How many of this author's live stories the requesting account has not watched. Only present for an authenticated viewer.

#storyView

object

Properties

cid

requiredstring · cid

createdAt

requiredstring · datetime

expired

boolean

Whether the story has passed its 24-hour window.

fullsize

requiredstring · uri

URL of the story image drawn for a screen, 1440 pixels wide.

labels

array
itemsref

Formatted location label for display.

thumb

requiredstring · uri

Thumbnail URL for the story image.

uri

requiredstring · at-uri
Reference

#viewerState

object

Metadata about the requesting account's relationship with the story.

Properties

fav

string · at-uri

viewed

boolean

Whether the requesting account has watched this story. Only present when true.

Similar lexicons

semantic match

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

  • Get authors who have active stories (posted within the last 24 hours).

  • A story: a photo or video posted to an account's stories.

  • org.swappulse.story

    record not from the namespace authority

    An ephemeral 24-hour story, mirrored to AT Protocol as a real org.swappulse.story record. Stories expire client-side after 24 hours; the PDS record remains for audit but the AppView filters expired stories from feeds.

  • app.kalangitan.feed.story

    record not from the namespace authority

    An ephemeral story: visible until expiresAt, then hidden and eligible for deletion. Location is required. Belongs to exactly one persona via profileUri. For a gated persona this record lives inside the persona's Space; Spaces provide access control, not confidentiality.