fyi.opensocial.board.vote

lexicons.opensocial.fyi

Documentation

One member's answer to a poll: their own record, in their own repo in the board's space, like an RSVP. Keyed by the thread's key, so voting again overwrites rather than adds. Everyone who can read the space can read the votes: a group poll, not a secret ballot.

main record

One member's answer to a poll: their own record, in their own repo in the board's space, like an RSVP. Keyed by the thread's key, so voting again overwrites rather than adds. Everyone who can read the space can read the votes: a group poll, not a secret ballot.

Record Key any Any valid record key

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

option string Required

The key of the option they picked.

maxLength: 64 bytes
View raw schema
{
  "description": "One member's answer to a poll: their own record, in their own repo in the board's space, like an RSVP. Keyed by the thread's key, so voting again overwrites rather than adds. Everyone who can read the space can read the votes: a group poll, not a secret ballot.",
  "key": "any",
  "record": {
    "properties": {
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "option": {
        "description": "The key of the option they picked.",
        "maxLength": 64,
        "type": "string"
      },
      "thread": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref"
      }
    },
    "required": [
      "thread",
      "option",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@