A vote on a statement in the Polis-style deliberation system
Record Key
tid
Timestamp-based ID
Properties
createdAt
string
datetime
Required
Timestamp when the vote was created
poll
ref
#pollRef
Required
Reference to the poll this vote belongs to
subject
ref
#statementRef
Required
Reference to the statement being voted on
value
string
Required
The vote value
Allowed:
agree, disagree, passView raw schema
{
"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"
}