Skip to content
HALOWERK

Govwerk

governance quorum rule outcomes

Return quorum and approval outcomes with explicit eligible-weight, abstention and tie conventions.

POST https://gov.halowerk.com/v1/governance-quorum-rule-outcomes

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
tallyobjectYes
ruleobjectYes
Show full input schema
{
  "type": "object",
  "properties": {
    "tally": {
      "type": "object",
      "properties": {
        "eligible": {
          "$ref": "#/$defs/s0"
        },
        "support": {
          "$ref": "#/$defs/s0"
        },
        "against": {
          "$ref": "#/$defs/s0"
        },
        "abstain": {
          "$ref": "#/$defs/s0"
        }
      },
      "required": [
        "eligible",
        "support",
        "against",
        "abstain"
      ],
      "additionalProperties": false
    },
    "rule": {
      "type": "object",
      "properties": {
        "quorum_fraction": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "approval_fraction": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "abstain_counts": {
          "type": "boolean"
        },
        "approval_inclusive": {
          "type": "boolean"
        }
      },
      "required": [
        "quorum_fraction",
        "approval_fraction",
        "abstain_counts",
        "approval_inclusive"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "tally",
    "rule"
  ],
  "additionalProperties": false,
  "$id": "urn:h:w3:J2:input",
  "$defs": {
    "s0": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000000000
    }
  }
}

Open original schema

Published input example

{
  "tally": {
    "eligible": 100,
    "support": 40,
    "against": 20,
    "abstain": 10
  },
  "rule": {
    "quorum_fraction": 0.5,
    "approval_fraction": 0.5,
    "abstain_counts": true,
    "approval_inclusive": false
  }
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’