{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/benchling/json-schema/LocationsArchive.json",
  "title": "LocationsArchive",
  "additionalProperties": false,
  "properties": {
    "locationIds": {
      "description": "Array of location IDs",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "reason": {
      "description": "Reason that locations are being archived.\n",
      "enum": [
        "Made in error",
        "Retired",
        "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": [
    "locationIds",
    "reason"
  ],
  "type": "object"
}