scot.comhairle.testingPolisVoteV1

stuartlynn.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A vote on a statement in the Polis-style deliberation system",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Timestamp when the vote was created",
            "format": "datetime",
            "type": "string"
          },
          "poll": {
            "description": "Reference to the poll this vote belongs to",
            "ref": "#pollRef",
            "type": "ref"
          },
          "subject": {
            "description": "Reference to the statement being voted on",
            "ref": "#statementRef",
            "type": "ref"
          },
          "value": {
            "description": "The vote value",
            "enum": [
              "agree",
              "disagree",
              "pass"
            ],
            "type": "string"
          }
        },
        "required": [
          "value",
          "subject",
          "poll",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "pollRef": {
      "description": "Reference to a poll record",
      "properties": {
        "cid": {
          "description": "Content identifier of the poll record",
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "description": "AT-URI of the poll record",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid"
      ],
      "type": "object"
    },
    "statementRef": {
      "description": "Reference to a statement record",
      "properties": {
        "cid": {
          "description": "Content identifier of the statement record",
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "description": "AT-URI of the statement record",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid"
      ],
      "type": "object"
    }
  },
  "id": "scot.comhairle.testingPolisVoteV1",
  "lexicon": 1
}

Validate Record

Validate a record against scot.comhairle.testingPolisVoteV1

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:bigr55vtitf7uxcfxrzknj2s
CID
bafyreig22ygxzfkxiuojx2gnkfmkoyqb226hvvrq2b3tm7drc4m7hno6la
Indexed At
2026-07-26 20:06 UTC
AT-URI
at://did:plc:bigr55vtitf7uxcfxrzknj2s/com.atproto.lexicon.schema/scot.comhairle.testingPolisVoteV1

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@