{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-custom-entities-archive-schema.json",
  "title": "CustomEntitiesArchive",
  "description": "The request body for archiving custom entities.\n",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/benchling-custom-entities-api-openapi.yml#/components/schemas/CustomEntitiesArchive",
  "additionalProperties": false,
  "properties": {
    "customEntityIds": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "reason": {
      "$ref": "#/$defs/EntityArchiveReason"
    }
  },
  "required": [
    "reason",
    "customEntityIds"
  ],
  "type": "object",
  "$defs": {
    "EntityArchiveReason": {
      "description": "The reason for archiving the provided entities. Accepted reasons may differ based on tenant configuration.\n",
      "enum": [
        "Made in error",
        "Retired",
        "Expended",
        "Shipped",
        "Contaminated",
        "Expired",
        "Missing",
        "Other"
      ],
      "type": "string"
    }
  }
}