net.alternativeproto.vote

lexicon.store View official

Documentation

A user vote on a submission to AlternativeProto. Each user may cast one vote per submission.

main record

A user vote on a submission to AlternativeProto. Each user may cast one vote per submission.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Timestamp when the vote was cast

direction string Required

Vote direction: 'up' for positive/quality, 'down' for negative/irrelevant

Known values: up, down
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "subject",
      "direction",
      "createdAt"
    ],
    "properties": {
      "subject": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "description": "Strong reference (AT URI + CID) to the submission record being voted on"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp when the vote was cast"
      },
      "direction": {
        "type": "string",
        "description": "Vote direction: 'up' for positive/quality, 'down' for negative/irrelevant",
        "knownValues": [
          "up",
          "down"
        ]
      }
    }
  },
  "description": "A user vote on a submission to AlternativeProto. Each user may cast one vote per submission."
}

Lexicon Garden

@