at.eptss.voteResult
Aggregate (anonymous) vote result for one candidate in one round, published by the organizer after voting closes. Individual scores are never published. The candidate is a strongRef to its at.eptss.track — one shape for a song across the whole system, not an embedded copy that goes stale. Integers only (count + total; clients divide) because DAG-CBOR forbids floats. The scale is self-describing: distribution has (scaleMax - scaleMin + 1) buckets, distribution[0] = count of scaleMin scores.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | eptss.at |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Aggregate (anonymous) vote result for one candidate in one round, published by the organizer after voting closes. Individual scores are never published. The candidate is a strongRef to its at.eptss.track — one shape for a song across the whole system, not an embedded copy that goes stale. Integers only (count + total; clients divide) because DAG-CBOR forbids floats. The scale is self-describing: distribution has (scaleMax - scaleMin + 1) buckets, distribution[0] = count of scaleMin scores.",
"key": "any",
"record": {
"properties": {
"count": {
"description": "Number of ballots that scored this candidate.",
"minimum": 0,
"type": "integer"
},
"distribution": {
"items": {
"minimum": 0,
"type": "integer"
},
"minLength": 1,
"type": "array"
},
"ledger": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"publishedAt": {
"format": "datetime",
"type": "string"
},
"round": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"scaleMax": {
"type": "integer"
},
"scaleMin": {
"minimum": 0,
"type": "integer"
},
"total": {
"description": "Sum of all scores for this candidate. Average = total / count.",
"minimum": 0,
"type": "integer"
},
"track": {
"description": "The at.eptss.track this result scores.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
}
},
"required": [
"round",
"ledger",
"track",
"count",
"total",
"scaleMin",
"scaleMax",
"distribution",
"publishedAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "at.eptss.voteResult",
"lexicon": 1
}