Skip to content
HALOWERK

Propwerk

building finish pack rounding

Compare pooled versus per-room finish-pack purchases under supplied area and waste assumptions.

POST https://prop.halowerk.com/v1/building-finish-pack-rounding

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
pack_m2numberYes
roomsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "pack_m2": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1000000
    },
    "rooms": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 48,
            "minLength": 1
          },
          "area_m2": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          },
          "waste_fraction": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          }
        },
        "required": [
          "id",
          "area_m2",
          "waste_fraction"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "pack_m2",
    "rooms"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "pack_m2": 3,
  "rooms": [
    {
      "id": "A",
      "area_m2": 4,
      "waste_fraction": 0
    },
    {
      "id": "B",
      "area_m2": 4,
      "waste_fraction": 0
    }
  ]
}

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