{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-boxes-archive-schema.json",
  "title": "BoxesArchive",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/benchling-boxes-api-openapi.yml#/components/schemas/BoxesArchive",
  "additionalProperties": false,
  "properties": {
    "boxIds": {
      "description": "Array of box IDs",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "reason": {
      "description": "Reason that boxes are being archived.\n",
      "enum": [
        "Made in error",
        "Retired",
        "Expended",
        "Shipped",
        "Contaminated",
        "Expired",
        "Missing",
        "Other"
      ],
      "type": "string"
    },
    "shouldRemoveBarcodes": {
      "description": "Remove barcodes. Removing barcodes from archived inventory that contain items will also remove barcodes from the contained items.\n",
      "type": "boolean"
    }
  },
  "required": [
    "boxIds",
    "reason"
  ],
  "type": "object"
}