scot.comhairle.testingPolisVoteV1

lexicon.store View official

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

Validate Record

Validate a record against scot.comhairle.testingPolisVoteV1

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:web:lexicon.store
CID
bafyreig22ygxzfkxiuojx2gnkfmkoyqb226hvvrq2b3tm7drc4m7hno6la
Indexed At
2026-03-20 15:55 UTC
AT-URI
at://did:web:lexicon.store/com.atproto.lexicon.schema/scot.comhairle.testingPolisVoteV1

Lexicon Garden

@