Skip to content
HALOWERK

Creatorwerk

print gangrun quantity ledger

Find a minimum-sheet integer gang run covering supplied job targets with up to3 declared sheet patterns.

POST https://creator.halowerk.com/v1/print-gangrun-quantity-ledger

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
jobsarrayYes
targetsarrayYes
patternsarrayYes
max_total_sheetsintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "jobs": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 64,
        "minLength": 1
      },
      "maxItems": 6,
      "minItems": 1
    },
    "targets": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1000000
      },
      "maxItems": 6,
      "minItems": 1
    },
    "patterns": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "yields": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000
            },
            "maxItems": 6,
            "minItems": 1
          }
        },
        "required": [
          "id",
          "yields"
        ],
        "additionalProperties": false
      },
      "maxItems": 3,
      "minItems": 1
    },
    "max_total_sheets": {
      "type": "integer",
      "minimum": 1,
      "maximum": 30
    }
  },
  "required": [
    "jobs",
    "targets",
    "patterns",
    "max_total_sheets"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "jobs": [
    "leaflet_A",
    "leaflet_B"
  ],
  "targets": [
    10,
    10
  ],
  "patterns": [
    {
      "id": "two_A_one_B",
      "yields": [
        2,
        1
      ]
    },
    {
      "id": "one_A_two_B",
      "yields": [
        1,
        2
      ]
    }
  ],
  "max_total_sheets": 20
}

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