at.eptss.voteResult

eptss.at

{
  "id": "at.eptss.voteResult",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "round",
          "ledger",
          "track",
          "count",
          "total",
          "scaleMin",
          "scaleMax",
          "distribution",
          "publishedAt"
        ],
        "properties": {
          "count": {
            "type": "integer",
            "minimum": 0,
            "description": "Number of ballots that scored this candidate."
          },
          "round": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "total": {
            "type": "integer",
            "minimum": 0,
            "description": "Sum of all scores for this candidate. Average = total / count."
          },
          "track": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "The at.eptss.track this result scores."
          },
          "ledger": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "scaleMax": {
            "type": "integer"
          },
          "scaleMin": {
            "type": "integer",
            "minimum": 0
          },
          "publishedAt": {
            "type": "string",
            "format": "datetime"
          },
          "distribution": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0
            },
            "minLength": 1
          }
        }
      },
      "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."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against at.eptss.voteResult

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:pf6izdjdonyd46isl3txwu4g
CID
bafyreic5d66pvqi62wvyh7gpfyzwfxrmoxpeyz2csyqidtrm3likp4sryi
Indexed At
2026-08-10 04:16 UTC
AT-URI
at://did:plc:pf6izdjdonyd46isl3txwu4g/com.atproto.lexicon.schema/at.eptss.voteResult

Version History (2 versions)

Lexicon Garden

@