HMP / docs /schemas /vote.json
GitHub Action
Sync from GitHub with Git LFS
2c3dd0c
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://hypercortex.org/schemas/consensus_vote.json",
"title": "ConsensusVote",
"description": "Represents a vote on a proposal within the Mesh consensus mechanism.",
"version": "1.0",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier of the vote event."
},
"proposal_id": {
"type": "string",
"description": "ID of the proposal this vote applies to."
},
"agent_id": {
"type": "string",
"description": "ID of the agent who cast the vote."
},
"vote": {
"type": "string",
"description": "Vote decision by the agent.",
"enum": ["yes", "no", "abstain"]
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 1,
"description": "Confidence score associated with this vote (0.0 - 1.0)."
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the vote was cast (ISO 8601 format)."
}
},
"required": ["id", "proposal_id", "agent_id", "vote", "confidence", "timestamp"],
"additionalProperties": false
}