us.off-the-clock.defs

Details · defs
Kinddefs
Authorityoff-the-clock.us
Commit rev3mzwk7jsmnvy4
Indexed

Showing version bafyreihokjp7nfkjwe4ihbhttfsizlhjixaejhj7t6f5hjseme2lggzou4. Show the latest

#bookmarkPreview

object

What a bookmark's card shows of its page: from the member's own us.off-the-clock.bookmark.preview under the bookmark's key while it is no older than the bookmark's current version (source record), else from the AppView's own cached fetch (source appview). Absent when neither has one.

Properties

fetchedAt

string · datetime

When the page was fetched: the sidecar's createdAt, or the AppView's fetch time.

host

requiredstring
  • maxLength: 512

image

string · uri

A signed, expiring URL of the preview's image.

imageAlt

string

record

unknown

The sidecar record itself, for source record.

siteName

string

source

requiredstring
  • maxLength: 32
  • knownValues: record | appview

title

string

url

requiredstring · uri

#bookmarkView

object

A community.lexicon.bookmarks.bookmark, with the host of its subject, its tags and the preview its card shows (D47).

Properties

cid

requiredstring · cid

host

requiredstring

The subject's host, lower-cased, www. kept.

  • maxLength: 512

indexedAt

requiredstring · datetime

labels

array

Labels from the community's admins: on the record, its author, or its blobs. shadow never appears; those records are not shown.

itemsref
Reference

record

requiredunknown

tags

requiredarray

The bookmark's tags as written.

itemsstring
  • maxLength: 320

uri

requiredstring · at-uri

The record's counting content warnings, the author's first, then the community's oldest first; present only while content-warning counts on the record and a warning counts beside it (LEX-77).

#documentImage

object

Properties

alt

string

cid

requiredstring · cid

url

requiredstring · uri

#documentView

object

A site.standard.document in a space (D89): its record, its canonical URL under its space's publication, signed URLs of its cover, body and images, and the reply, like and repost counts a post carries.

Properties

canonicalUrl

requiredstring · uri

The publication's url plus the document's path.

cid

requiredstring · cid

contentUrl

string · uri

Signed URL of the markdown blob.

coverImage

string · uri

Signed image URL.

images

array

Signed URLs of the images the body names as cid:<cid>.

itemsref
Reference

indexedAt

requiredstring · datetime

labels

array
itemsref

likeCount

integer

publishedAt

requiredstring · datetime
  • minimum: 1

record

requiredunknown

replyCount

integer

tags

array
itemsstring

title

requiredstring

updatedAt

string · datetime

uri

requiredstring · at-uri
Reference

The record's counting content warnings, the author's first, then the community's oldest first; present only while content-warning counts on the record and a warning counts beside it (LEX-77).

#eventView

object

A community.lexicon.calendar.event.

Properties

cid

requiredstring · cid

going

array

Up to three members whose latest RSVP is going, oldest first.

  • maxLength: 3

indexedAt

requiredstring · datetime

labels

array

Labels from the community's admins: on the record, its author, or its blobs. shadow never appears; those records are not shown.

itemsref

mapUrl

string · uri

A signed, expiring map of the first ten places, when the AppView has a map provider.

places

array

The located places, in the order of locations.

itemsref
Reference

record

requiredunknown

rsvpCounts

requiredref
Reference

uri

requiredstring · at-uri

The viewer's own RSVP status, a community.lexicon.calendar.rsvp status token.

viewerRsvpUri

string · at-uri

The viewer's latest RSVP to the event, so a change updates it in place.

The record's counting content warnings, the author's first, then the community's oldest first; present only while content-warning counts on the record and a warning counts beside it (LEX-77).

#feedInfo

object

A feed of one pair as members see it, from its us.off-the-clock.feed.generator record (RD-8).

Properties

default

requiredboolean

The feed the pair's space record names as defaultFeed.

displayName

requiredstring

rkey

requiredstring · record-key

sort

requiredstring
  • knownValues: newest | startsAt

text

requiredstring

view

string

How the feed is shown: cards (the default) or wall, a media wall of its posts' images and video (D93). Selects nothing.

  • maxLength: 64
  • knownValues: cards | wall

#listingView

object

A us.off-the-clock.listing in a space (LST-3, D97): its record and fields, signed URLs of its photos (the thumbnail from its image set when there is one), and the reply, like and repost counts a post carries.

Properties

cid

requiredstring · cid

createdAt

requiredstring · datetime

facets

array
itemsref

images

array

Signed URLs: thumb for cards and tiles, fullsize the view.

  • maxLength: 10
itemsref

indexedAt

requiredstring · datetime

labels

array
itemsref

likeCount

integer

record

requiredunknown

replyCount

integer

space

requiredstring

The content space's key: the pair's TID.

  • maxLength: 512

status

requiredstring
  • knownValues: available | claimed

text

string

title

requiredstring

updatedAt

string · datetime

uri

requiredstring · at-uri
Reference

The record's counting content warnings, the author's first, then the community's oldest first; present only while content-warning counts on the record and a warning counts beside it (LEX-77).

#notificationView

object

Notifications of one kind about one subject within a day, newest first.

Properties

actors

requiredarray
  • maxLength: 3

count

requiredinteger
  • minimum: 1

isRead

requiredboolean

kind

requiredstring
  • knownValues: like | repost | reply | quote | mention | rsvp | event-status | vote

latestAt

requiredstring · datetime

#place

object

A place a post's text names (a place facet, LEX-41) or an event's located location, as cards and drawers show it.

Properties

latitude

requiredstring

WGS84, a decimal string as written.

longitude

requiredstring

WGS84, a decimal string as written.

name

requiredstring

The label the pin and the list show.

url

string · uri

The place's identifier link: the OpenStreetMap element, or a Foursquare page.

#policyView

object

A space's current policy (LEX-50, D49): the record, a signed URL of its Markdown body, when it was set, and the viewer's acceptance of this version or of an earlier one.

Properties

accepted

requiredboolean

acceptedAt

string · datetime

bodyUrl

string · uri

The body blob, served signed and expiring like an image.

cid

requiredstring · cid

previousAcceptedAt

string · datetime

When the viewer accepted an earlier version, if their newest acceptance names one.

record

requiredunknown

The us.off-the-clock.community.policy record.

setAt

requiredstring · datetime

The time in the record's TID.

uri

requiredstring · at-uri

#postView

object

An app.bsky.feed.post in a community space, its image URLs signed for that space.

Properties

cid

requiredstring · cid

embed

union

The post's embed. A quoted post's app.bsky.embed.record#viewRecord also carries warnings, an array of #warningView, the quoted post's counting content warnings as its own view would carry them (LEX-77); that Bluesky lexicon does not declare the field, and its object admits it.

indexedAt

requiredstring · datetime

labels

array

Labels from the community's admins: on the record, its author, or its blobs. shadow never appears; those records are not shown.

itemsref

likeCount

integer

linked

array

The public posts the post links, backfilled from their authors' PDSes, in the order the links appear (D51). A failed or pending backfill is left out, so the link card stands.

itemsref
Reference

mapUrl

string · uri

A signed, expiring map of the first ten places, when the AppView has a map provider.

parent

union

In a feed: the post, poll, document, listing or review a reply answers, when the viewer can see it. It carries no parent of its own.

For a reply whose parent the viewer can see: the parent's author.

places

array

The places the text names, in text order.

itemsref
Reference

quoteCount

integer

In a feed: the repost this post appears for.

record

requiredunknown

replyCount

integer

uri

requiredstring · at-uri
Reference

The record's counting content warnings, the author's first, then the community's oldest first; present only while content-warning counts on the record and a warning counts beside it (LEX-77).

#postViewerState

object

The viewer's own engagement with a post.

Properties

canQuote

boolean

False when the author's postgate turns quoting off, for everyone but the author.

For the post's author: the quotes their postgate detaches.

itemsstring · at-uri

like

string · at-uri

The viewer's like of the post.

For the post's author: whose own postgate turns quoting off.

repost

string · at-uri

The viewer's repost of the post.

#profileView

object

A member's us.off-the-clock.community.profile; only the handle when they have none.

Properties

avatar

string · uri

did

requiredstring · did
  • maxLength: 640

handle

requiredstring · handle

header

string · uri

labels

array

Labels from the community's admins: on the record, its author, or its blobs. shadow never appears; those records are not shown.

itemsref

record

unknown

The us.off-the-clock.community.profile record itself; absent when the member has none.

text

string
  • maxLength: 25600

The viewer's relationship to this member: only muted is set, and only for the viewer who muted them (D90).

The record's counting content warnings, the author's first, then the community's oldest first; present only while content-warning counts on the record and a warning counts beside it (LEX-77).

#publicAuthor

object

Properties

avatar

string · uri

did

requiredstring · did
  • maxLength: 640
  • maxGraphemes: 64

handle

requiredstring · handle

#publicMention

object

Properties

did

requiredstring · did

handle

requiredstring · handle

#publicPostView

object

A public app.bsky.feed.post a member's post links, fetched from its author's PDS alone (D51). A withheld or gone view carries url, provider, status and fetchedAt and nothing of the record.

Properties

Reference

cid

string · cid

fetchedAt

requiredstring · datetime

images

array

The record's images, signed URLs of the AppView's cached copies.

itemsref

labels

array

The record's self-label values.

itemsstring
  • maxLength: 128

The handles the record's mention facets resolve to now.

itemsref
Reference

provider

requiredref
Reference

The post it quotes, one level down.

record

unknown

The app.bsky.feed.post as its author's PDS gave it.

status

requiredstring

gone: the PDS has no such record or account; withheld: it carries !no-unauthenticated; failed: five attempts did not fetch it.

  • enum: ok | gone | withheld | failed

uri

string · at-uri

url

requiredstring · uri

The link as the member wrote it; for a quoted post, its page on the provider.

#publicProvider

object

Properties

host

requiredstring

A configured public host, or empty for an at:// link with none configured.

name

requiredstring

#publicQuotedPostView

object

The post a #publicPostView quotes: the same, without a quote of its own.

Properties

Reference

cid

string · cid

fetchedAt

requiredstring · datetime

images

array

The record's images, signed URLs of the AppView's cached copies.

itemsref

labels

array

The record's self-label values.

itemsstring
  • maxLength: 128

The handles the record's mention facets resolve to now.

itemsref
Reference

provider

requiredref
Reference

record

unknown

The app.bsky.feed.post as its author's PDS gave it.

status

requiredstring

gone: the PDS has no such record or account; withheld: it carries !no-unauthenticated; failed: five attempts did not fetch it.

  • enum: ok | gone | withheld | failed

uri

string · at-uri

url

requiredstring · uri

The link as the member wrote it; for a quoted post, its page on the provider.

#recordView

object

Any record without a view of its own.

Properties

cid

requiredstring · cid

collection

requiredstring · nsid

indexedAt

requiredstring · datetime

labels

array

Labels from the community's admins: on the record, its author, or its blobs. shadow never appears; those records are not shown.

itemsref

uri

requiredstring · at-uri

value

requiredunknown

The record's counting content warnings, the author's first, then the community's oldest first; present only while content-warning counts on the record and a warning counts beside it (LEX-77).

#reviewView

object

A us.off-the-clock.review in a space (REV-3, D99): its record and fields, signed URLs of its photos (the thumbnail from its image set when there is one), and the reply and like counts a post carries.

Properties

cid

requiredstring · cid

createdAt

requiredstring · datetime

facets

array
itemsref

images

array

Signed URLs: thumb for cards, fullsize the view.

  • maxLength: 10
itemsref

indexedAt

requiredstring · datetime

labels

array
itemsref

likeCount

integer

rating

requiredinteger
  • minimum: 1
  • maximum: 10

record

requiredunknown

replyCount

integer

space

requiredstring

The content space's key: the pair's TID.

  • maxLength: 512

subject

requiredstring

text

requiredstring

title

requiredstring

updatedAt

string · datetime

uri

requiredstring · at-uri
Reference

The record's counting content warnings, the author's first, then the community's oldest first; present only while content-warning counts on the record and a warning counts beside it (LEX-77).

#rsvpCounts

object

Each member's latest RSVP, counted by status.

Properties

going

requiredinteger

interested

requiredinteger

notgoing

requiredinteger

#rsvpView

object

A community.lexicon.calendar.rsvp.

Properties

cid

requiredstring · cid

event

union

The event it answers, or the event's tombstone when it is gone.

indexedAt

requiredstring · datetime

labels

array

Labels from the community's admins: on the record, its author, or its blobs. shadow never appears; those records are not shown.

itemsref

record

requiredunknown

uri

requiredstring · at-uri

The record's counting content warnings, the author's first, then the community's oldest first; present only while content-warning counts on the record and a warning counts beside it (LEX-77).

#spacePolicy

object

A space's current policy as listSpaces names it: whether the viewer has accepted this version.

Properties

accepted

requiredboolean

acceptedAt

string · datetime

When the viewer accepted this version.

cid

requiredstring · cid

summary

requiredstring

uri

requiredstring · at-uri

#spaceProfileView

object

A space's profile as listSpaces carries it, with signed images (LEX-51, D50).

Properties

avatar

requiredstring · uri

description

requiredstring

displayName

requiredstring

facets

array
itemsref

header

requiredstring · uri

#spaceView

object

A registered pair as members see it, from its us.off-the-clock.community.space record (RD-21).

Properties

The kinds of records the space takes beyond posts, which it always takes, in the order event, poll, bookmark, document, listing, review: every kind for a pair with no settings record (SCT-8, D98).

  • maxLength: 6
itemsstring
  • maxLength: 64
  • knownValues: event | poll | bookmark | document | listing | review

default

requiredboolean

The default pair: what D5 and D18 call general.

defaultFeed

requiredstring · record-key

displayName

requiredstring

The members holding its content space, the community identity included.

  • minimum: 0

The member list is for the pair's admins; memberCount is left out for anyone else.

Everyone in the community reads (read), or reads and writes (write), the space without a member entry. Left out for a private space.

  • knownValues: read | write

The space's current policy, when it has one (RD-33).

Reference

The space's profile in the directory, when it has one (RD-34).

Reference

publication

string · at-uri

The space's current site.standard.publication: the community identity's newest in its content half (D89).

tid

requiredstring · tid

A pair's TID (D33).

Whether the viewer can write the pair's content space.

#threadViewDocument

object

A document as a thread's node (DOC-8): the head of the thread getRecord answers for a document, with its replies, and the top of a reply's parent chain. It has no parent, since a document replies to nothing.

#threadViewListing

object

A listing as a thread's node (LST-5): the head of the thread getRecord answers for a listing, with its replies, and the top of a reply's parent chain. It has no parent, since a listing replies to nothing.

#threadViewReview

object

A review as a thread's node (REV-5): the head of the thread getRecord answers for a review, with its replies, and the top of a reply's parent chain. It has no parent, since a review replies to nothing.

#tombstoneView

object

A post, event or poll a view refers to that is not there (D46): deleted by its author, or withheld from the viewer or never indexed. It carries nothing of the record but its URI, its collection and, when deleted, the time. It stands as a thread's gone node, a quoted post, an RSVP's event, and getRecord's item for a deleted post with replies or event with RSVPs.

Properties

collection

requiredstring · nsid

deletedAt

string · datetime

When the AppView saw the deletion; set for deleted only.

reason

requiredstring

deleted: the author deleted it and something still refers to it. unavailable: it is withheld from this viewer or was never indexed; no further reason is given.

  • enum: deleted | unavailable

replies

array

In a thread only, for a deleted anchor: the replies below it.

uri

requiredstring · at-uri

#warningView

object

One content warning beside a record's content-warning label (D101): the types and note of a us.off-the-clock.content.warning, and whether its author or the community wrote it.

Properties

from

requiredstring

author for the record's author's own, community for an admin's or automod's.

  • maxLength: 64
  • knownValues: author | community

note

string
  • maxLength: 3000
  • maxGraphemes: 300

types

array
  • maxLength: 12
itemsstring
  • maxLength: 64

Similar lexicons

semantic match

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

  • What a bookmarked page says about itself, kept beside the bookmark by the member's own client: under the record key of its community.lexicon.bookmarks.bookmark, in the same space and repository, so a reader with either record can fetch the other. It is derived from a fetch of the page and rewritten under the same key when refreshed; a page with no usable image gets none.

  • An article as shown in feed rows and search results (metadata only).