pub.chive.governance.listVotes

chive.pub

{
  "id": "pub.chive.governance.listVotes",
  "defs": {
    "main": {
      "type": "query",
      "errors": [],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "votes",
            "total"
          ],
          "properties": {
            "total": {
              "type": "integer",
              "description": "Total number of votes"
            },
            "votes": {
              "type": "array",
              "items": {
                "ref": "#voteView",
                "type": "ref"
              },
              "description": "List of votes"
            },
            "cursor": {
              "type": "string",
              "description": "Cursor for next page"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "proposalId"
        ],
        "properties": {
          "limit": {
            "type": "integer",
            "default": 100,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of results to return"
          },
          "cursor": {
            "type": "string",
            "description": "Pagination cursor for next page"
          },
          "proposalId": {
            "type": "string",
            "description": "Proposal identifier"
          }
        }
      },
      "description": "List votes for a specific governance proposal"
    },
    "voteView": {
      "type": "object",
      "required": [
        "id",
        "uri",
        "cid",
        "proposalUri",
        "voterDid",
        "voterRole",
        "vote",
        "weight",
        "createdAt"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Vote identifier"
        },
        "cid": {
          "type": "string",
          "description": "Content identifier"
        },
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "Vote AT-URI"
        },
        "vote": {
          "type": "string",
          "description": "Vote value",
          "knownValues": [
            "approve",
            "reject",
            "abstain",
            "request-changes"
          ]
        },
        "weight": {
          "type": "integer",
          "maximum": 1000,
          "minimum": 0,
          "description": "Weighted vote value (scaled by 1000 for 0.0-1.0 range)"
        },
        "voterDid": {
          "type": "string",
          "format": "did",
          "description": "Voter DID"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime",
          "description": "Vote timestamp"
        },
        "rationale": {
          "type": "string",
          "description": "Vote rationale"
        },
        "voterName": {
          "type": "string",
          "description": "Voter display name"
        },
        "voterRole": {
          "type": "string",
          "description": "Voter governance role",
          "knownValues": [
            "community-member",
            "reviewer",
            "domain-expert",
            "administrator"
          ]
        },
        "proposalUri": {
          "type": "string",
          "format": "at-uri",
          "description": "Proposal AT-URI"
        }
      },
      "description": "View of a vote on a proposal"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.governance.listVotes

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:7natp5xae72bddaqlkef2t4e
CID
bafyreidasu4s7t6why4ccrhhslbtqrgpw365hpilnttkqqp3e7xv6ic4la
Indexed At
2026-05-04 17:29 UTC
AT-URI
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.governance.listVotes

Lexicon Garden

@