Skip to content
HALOWERK

Govwerk

ballot single peaked axis witnesses

Return the first forbidden preference valley in each ranking under a supplied option axis.

POST https://gov.halowerk.com/v1/ballot-single-peaked-axis-witnesses

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
axisarrayYes
rankingsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "axis": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 24,
        "minLength": 1
      },
      "maxItems": 12,
      "minItems": 1
    },
    "rankings": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 24,
          "minLength": 1
        },
        "maxItems": 12,
        "minItems": 1
      },
      "maxItems": 200,
      "minItems": 0
    }
  },
  "required": [
    "axis",
    "rankings"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "axis": [
    "A",
    "B",
    "C"
  ],
  "rankings": [
    [
      "B",
      "A",
      "C"
    ],
    [
      "A",
      "C",
      "B"
    ]
  ]
}

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 โ†’