net.alternativeproto.vote
A user vote on a submission to AlternativeProto. Each user may cast one vote per submission.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | alternativeproto.net |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.directionNo maxLength, maxGraphemes or format limits this string.
{
"$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
}