Off the Clock Docs

Developers

Lexicons and records

Off the Clock's own schemas live under us.off-the-clock and are published as records by the community identity.

Publishing and resolution

Draft outline

Every schema is a com.atproto.lexicon.schema record under @off-the-clock.us, keyed by NSID; _lexicon TXT records for off-the-clock.us and its admin, bookmark, community, embed, feed, polls, and push subdomains name the community DID. Republish us.off-the-clock.community when a collection is added.

Space types

NSIDWhat it is
us.off-the-clock.managementA pair's management half, and self for the community
us.off-the-clock.communityA pair's content half
us.off-the-clock.draftsA member's own drafts space

Off the Clock's records

NSIDKindWhat it is
us.off-the-clock.bookmark.previewrecordWhat 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
us.off-the-clock.community.feedrecordWhat a feed selects, in a pair's management space and over that pair's content space alone
us.off-the-clock.community.labelrecordA label an admin applies
us.off-the-clock.community.membershiprecordGrants a member access to spaces
us.off-the-clock.community.membershipAcceptancerecordA person's acceptance of their invitation to the community, written by them in the default pair's content space (D60)
us.off-the-clock.community.pinrecordA pin a pair's admin writes in the pair's management space: the subject, a post or an event in the pair's content space, is shown above the feed on the space's default view
us.off-the-clock.community.policyrecordA space's policy, which members accept before they read or write anything else there
us.off-the-clock.community.policyAcceptancerecordA member's acceptance of a space's policy, in the same content space
us.off-the-clock.community.profilerecordA member's profile within the community, written to the default pair's content space (D18, D34)
us.off-the-clock.community.spacerecordA space pair's name, default feed, and whether it is the default pair
us.off-the-clock.community.spaceProfilerecordA space's public face in the space directory (D50): the community identity's record in the default pair's content space, keyed by the space's own key (its pair's TID), so a space has at most one
us.off-the-clock.draftrecordAn unfinished post or event, kept in the member's drafts space until they post it (D43)
us.off-the-clock.feed.generatorrecordA feed's name and description, as members see them
us.off-the-clock.polls.pollrecordA question a member asks a content space, with two to ten options that members answer with us.off-the-clock.polls.vote records
us.off-the-clock.polls.voterecordA member's answer to a us.off-the-clock.polls.poll in the same space

Shared lexicons it writes

Draft outline

app.bsky.feed.post, .like, .repost, .postgate; community.lexicon.calendar.event and .rsvp; community.lexicon.bookmarks.bookmark; embeds app.bsky.embed.* plus us.off-the-clock.embed.audio, .video, .mixed.

A record, end to end

Draft outline

One example post record in a content space, with its AT-URI (deck: "data-content").