PMsky
  • Welcome
  • Getting Started
    • Why Peer Moderation?
    • How does it work?
    • Who's building this?
    • Request Access
    • Provide Feedback
  • Getting Technical
    • Lexicon
    • Privacy
    • Trust & Safety
Powered by GitBook
On this page
  • Proposals
  • Votes
Edit on GitHub
  1. Getting Technical

Lexicon

This page describes the lexicon defined and used by pmsky

PreviousProvide FeedbackNextPrivacy

Last updated 2 months ago

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

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:

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:

here
https://github.com/pmsky-social/app/blob/main/lexicons/proposal.json
https://github.com/pmsky-social/app/blob/main/lexicons/vote.json