Skip to content
HALOWERK

Agriwerk

field hay swath rake pass plan

Group ordered supplied hay swaths into minimum contiguous rake passes under declared reach and mass limits.

POST https://agri.halowerk.com/v1/field-hay-swath-rake-pass-plan

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
working_width_mnumberYes
max_kg_per_mnumberYes
swathsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "working_width_m": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1000000
    },
    "max_kg_per_m": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 1000000
    },
    "swaths": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "maxLength": 64,
            "minLength": 1
          },
          "x_m": {
            "type": "number",
            "minimum": -1000000,
            "maximum": 1000000
          },
          "kg_per_m": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000
          }
        },
        "required": [
          "id",
          "x_m",
          "kg_per_m"
        ],
        "additionalProperties": false
      },
      "maxItems": 100,
      "minItems": 1
    }
  },
  "required": [
    "working_width_m",
    "max_kg_per_m",
    "swaths"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "working_width_m": 3,
  "max_kg_per_m": 3,
  "swaths": [
    {
      "id": "swath_1",
      "x_m": 0,
      "kg_per_m": 1
    },
    {
      "id": "swath_2",
      "x_m": 2,
      "kg_per_m": 1
    },
    {
      "id": "swath_3",
      "x_m": 4,
      "kg_per_m": 1
    },
    {
      "id": "swath_4",
      "x_m": 6,
      "kg_per_m": 1
    }
  ]
}

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