{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-assay-results-archive-schema.json",
  "title": "AssayResultsArchive",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/benchling-assay-results-api-openapi.yml#/components/schemas/AssayResultsArchive",
  "additionalProperties": false,
  "allOf": [
    {
      "$ref": "#/$defs/AssayResultIdsRequest"
    },
    {
      "properties": {
        "reason": {
          "description": "The reason for archiving the provided results. Accepted reasons may differ based on tenant configuration",
          "enum": [
            "Made in error",
            "Archived",
            "Other"
          ],
          "type": "string"
        }
      },
      "type": "object"
    }
  ],
  "$defs": {
    "AssayResultIdsRequest": {
      "additionalProperties": false,
      "properties": {
        "assayResultIds": {
          "items": {
            "format": "uuid",
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "assayResultIds"
      ],
      "type": "object"
    }
  }
}