forum.barazo.interaction.vote

barazo.forum

Documentation

Record containing a directional vote on a forum topic or reply.

main record

Record containing a directional vote on a forum topic or reply.

Record Key tid Timestamp-based ID

Properties

community string did Required

DID of the community where this vote was cast. Immutable origin identifier.

createdAt string datetime Required

Client-declared timestamp when this vote was originally created.

direction string Required

Vote direction. Start upvote-only; 'down' can be added later without breaking change.

Known values: up
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "direction",
      "community",
      "createdAt"
    ],
    "properties": {
      "subject": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "The topic or reply being voted on."
      },
      "community": {
        "type": "string",
        "format": "did",
        "description": "DID of the community where this vote was cast. Immutable origin identifier."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Client-declared timestamp when this vote was originally created."
      },
      "direction": {
        "type": "string",
        "description": "Vote direction. Start upvote-only; 'down' can be added later without breaking change.",
        "knownValues": [
          "up"
        ]
      }
    }
  },
  "description": "Record containing a directional vote on a forum topic or reply."
}

Lexicon Garden

@