Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

workflow / workflow maximum closed build profit

An agent that selects optional artifact builds needs its claimed maximum net benefit checked while every chosen build brings all of its declared prerequisite builds into the selected set.

POST https://detect.halowerk.com/v1/workflow/workflow-maximum-closed-build-profit

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "profits": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": -1000000,
            "maximum": 1000000
          },
          "minItems": 1,
          "maxItems": 64
        },
        "requires": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 63
            },
            "minItems": 2,
            "maxItems": 2
          },
          "minItems": 0,
          "maxItems": 512
        },
        "claimed_profit": {
          "type": "integer",
          "minimum": 0,
          "maximum": 64000000
        }
      },
      "required": [
        "profits",
        "requires",
        "claimed_profit"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "profits": [
      0,
      -7,
      3,
      4,
      1
    ],
    "requires": [
      [
        4,
        0
      ],
      [
        1,
        3
      ],
      [
        4,
        0
      ]
    ],
    "claimed_profit": 8
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →