Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

commerce / commerce minimum cost bundle cover

An agent that selects paid capability bundles for an autonomous task needs whether its proposed bundle set covers every explicit requirement at the exact minimum total supplied cost.

POST https://detect.halowerk.com/v1/commerce/commerce-minimum-cost-bundle-cover

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "features": {
          "type": "integer",
          "minimum": 0,
          "maximum": 12
        },
        "needed": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 11
          },
          "minItems": 0,
          "maxItems": 12
        },
        "bundles": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "features": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 11
                },
                "minItems": 0,
                "maxItems": 12
              },
              "cost": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000
              }
            },
            "required": [
              "features",
              "cost"
            ],
            "additionalProperties": false
          },
          "minItems": 0,
          "maxItems": 32
        },
        "claimed_bundles": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 31
          },
          "minItems": 0,
          "maxItems": 32
        }
      },
      "required": [
        "features",
        "needed",
        "bundles",
        "claimed_bundles"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "features": 2,
    "needed": [
      0,
      1
    ],
    "bundles": [
      {
        "features": [
          0
        ],
        "cost": 2
      },
      {
        "features": [
          1
        ],
        "cost": 2
      },
      {
        "features": [
          0,
          1
        ],
        "cost": 3
      }
    ],
    "claimed_bundles": [
      2
    ]
  }
}

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 →