tech.tokimeki.forum.vote

tokimeki.blue

Documentation

An upvote on a thread or a message. Written into the voter's own repo within the space. The record's existence is the vote; delete it to withdraw. rkey is derived from the subject URI ('v' + base32lower(sha256(uri))[0:26]) so one voter holds at most one vote per subject across edits of that subject.

main record

An upvote on a thread or a message. Written into the voter's own repo within the space. The record's existence is the vote; delete it to withdraw. rkey is derived from the subject URI ('v' + base32lower(sha256(uri))[0:26]) so one voter holds at most one vote per subject across edits of that subject.

Record Key any Any valid record key

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

subject ref com.atproto.repo.strongRef Required

The tech.tokimeki.forum.thread or tech.tokimeki.forum.message being voted on. The cid records the version that was voted on.

View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "createdAt"
    ],
    "properties": {
      "subject": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "The tech.tokimeki.forum.thread or tech.tokimeki.forum.message being voted on. The cid records the version that was voted on."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "An upvote on a thread or a message. Written into the voter's own repo within the space. The record's existence is the vote; delete it to withdraw. rkey is derived from the subject URI ('v' + base32lower(sha256(uri))[0:26]) so one voter holds at most one vote per subject across edits of that subject."
}

Lexicon Garden

@