{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-sample-groups-status-update-schema.json",
  "title": "SampleGroupsStatusUpdate",
  "description": "Specification to update status of sample groups on the request which were executed.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/benchling-legacy-requests-api-openapi.yml#/components/schemas/SampleGroupsStatusUpdate",
  "additionalProperties": false,
  "properties": {
    "sampleGroups": {
      "items": {
        "$ref": "#/$defs/SampleGroupStatusUpdate"
      },
      "type": "array"
    }
  },
  "required": [
    "sampleGroups"
  ],
  "type": "object",
  "$defs": {
    "SampleGroupStatus": {
      "description": "Status of a sample group",
      "enum": [
        "IN_PROGRESS",
        "COMPLETED",
        "FAILED"
      ],
      "type": "string"
    },
    "SampleGroupStatusUpdate": {
      "properties": {
        "sampleGroupId": {
          "description": "The string id of the sample group",
          "type": "string"
        },
        "status": {
          "$ref": "#/$defs/SampleGroupStatus"
        }
      },
      "required": [
        "sampleGroupId",
        "status"
      ],
      "type": "object"
    }
  }
}