net.alternativeproto.vote

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

Details · record, key tid
Kindrecord
Record keytid
Authorityalternativeproto.net
Indexed
cid bafyreifqjjujr7bi5dipj44fh5csmjpi34cn56mntt2zic754vchlfcur4

Checks

Valid
  • unlimited-string defs.main.record.properties.directionNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A user vote on a submission to AlternativeProto. Each user may cast one vote per submission.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Timestamp when the vote was cast",
            "format": "datetime",
            "type": "string"
          },
          "direction": {
            "description": "Vote direction: 'up' for positive/quality, 'down' for negative/irrelevant",
            "knownValues": [
              "up",
              "down"
            ],
            "type": "string"
          },
          "subject": {
            "description": "Strong reference (AT URI + CID) to the submission record being voted on",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "direction",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "net.alternativeproto.vote",
  "lexicon": 1
}