Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

commerce / commerce newsvendor order certificate

An agent that chooses one stock order against an explicit demand mass table needs whether the claimed integer quantity minimizes the exact overage and shortage cost.

POST https://detect.halowerk.com/v1/commerce/commerce-newsvendor-order-certificate

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "demand": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "quantity": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000
              },
              "weight": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000
              }
            },
            "required": [
              "quantity",
              "weight"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "maxItems": 128
        },
        "overage_cost": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "shortage_cost": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        },
        "claimed_quantity": {
          "type": "integer",
          "minimum": 0,
          "maximum": 1000000
        }
      },
      "required": [
        "demand",
        "overage_cost",
        "shortage_cost",
        "claimed_quantity"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "demand": [
      {
        "quantity": 1,
        "weight": 1
      }
    ],
    "overage_cost": 1,
    "shortage_cost": 1,
    "claimed_quantity": 1
  }
}

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 →