{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/3dpack-ing/json-schema/3dpack-ing-best-boxes-response-schema.json",
  "title": "Calculation Output",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/3dpack-ing-openapi.json#/components/schemas/BestBoxesResponse",
  "required": [
    "ContainerDimensions",
    "ItemsPut",
    "Quantity",
    "RemainingVolume"
  ],
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "ContainerDimensions": {
        "maxLength": 25,
        "minLength": 5,
        "type": "string"
      },
      "Quantity": {
        "maximum": 1000,
        "minimum": 0,
        "type": "integer"
      },
      "RemainingVolume": {
        "minimum": 0,
        "type": "integer",
        "format": "int64"
      },
      "ItemsPut": {
        "type": "array",
        "items": {
          "required": [
            "Item",
            "Coord"
          ],
          "type": "object",
          "properties": {
            "Item": {
              "required": [
                "Height",
                "Width",
                "Length",
                "Quantity",
                "TagOrColor",
                "ContainerIndex"
              ],
              "type": "object",
              "properties": {
                "Height": {
                  "maximum": 19999,
                  "minimum": 1,
                  "type": "integer"
                },
                "Width": {
                  "maximum": 19999,
                  "minimum": 1,
                  "type": "integer"
                },
                "Length": {
                  "maximum": 19999,
                  "minimum": 1,
                  "type": "integer"
                },
                "Quantity": {
                  "type": "integer",
                  "default": 1
                },
                "TagOrColor": {
                  "minLength": 1,
                  "type": "string"
                },
                "ContainerIndex": {
                  "minimum": 0,
                  "type": "integer"
                }
              }
            },
            "Coord": {
              "required": [
                "X",
                "Y",
                "Z"
              ],
              "type": "object",
              "properties": {
                "X": {
                  "maximum": 19999,
                  "minimum": 0,
                  "type": "integer"
                },
                "Y": {
                  "maximum": 19999,
                  "minimum": 0,
                  "type": "integer"
                },
                "Z": {
                  "maximum": 19999,
                  "minimum": 0,
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    }
  }
}