Skip to content
HALOWERK

Bürowerk

roster rotation fairness

Return weighted allocation disparity of declared duty categories across anonymous resource pools.

POST https://buero.halowerk.com/v1/roster-rotation-fairness

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
poolsarrayYes
assignmentsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "pools": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "team": {
            "type": "string",
            "pattern": "^pool_[A-Z0-9_]{1,24}$"
          },
          "weight": {
            "type": "number",
            "minimum": 1e-06,
            "maximum": 1000000
          }
        },
        "required": [
          "team",
          "weight"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    },
    "assignments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "team": {
            "type": "string",
            "pattern": "^pool_[A-Z0-9_]{1,24}$"
          },
          "category": {
            "type": "string",
            "maxLength": 32,
            "minLength": 1
          }
        },
        "required": [
          "team",
          "category"
        ],
        "additionalProperties": false
      },
      "maxItems": 1000,
      "minItems": 0
    }
  },
  "required": [
    "pools",
    "assignments"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "pools": [
    {
      "team": "pool_A",
      "weight": 1
    },
    {
      "team": "pool_B",
      "weight": 1
    }
  ],
  "assignments": [
    {
      "team": "pool_A",
      "category": "night"
    },
    {
      "team": "pool_A",
      "category": "night"
    }
  ]
}

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 →