Lexicon

This page describes the lexicon defined and used by pmsky

PMsky defines two main record types: labels, and votes. The former is heavily based on the definition in use by ATproto itself here.

Proposals

// social.pmsky.proposal

These records closely mirror that of an Atproto Label, defined in com.atproto.label.defs#label. They have a subject, which is another record they apply to, and a value, which is the text of the proposal itself. There is also a type, which determines which type of proposal the record is. The two current types of labels are POST_LABEL and ALLOWED_USER, respectively referring to a label on a bsky post and whitelisting a user to the pmsky platform.

See the full definition here: https://github.com/pmsky-social/app/blob/main/lexicons/proposal.json

Votes

// social.pmsky.vote

Votes are similar to labels, in that they have a subject they apply to. They also have a value, which is either 1 or -1.

See the full definition here: https://github.com/pmsky-social/app/blob/main/lexicons/vote.json

Last updated