{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-dropdown-update-schema.json",
  "title": "DropdownUpdate",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/benchling-dropdowns-api-openapi.yml#/components/schemas/DropdownUpdate",
  "additionalProperties": false,
  "properties": {
    "options": {
      "description": "Options to set for the dropdown",
      "items": {
        "$ref": "#/$defs/DropdownOptionUpdate"
      },
      "type": "array"
    }
  },
  "required": [
    "options"
  ],
  "type": "object",
  "$defs": {
    "DropdownOptionUpdate": {
      "properties": {
        "id": {
          "description": "ID of the dropdown option to update, omitted if creating a new option.",
          "pattern": "^sfs_\\w+",
          "type": "string"
        },
        "name": {
          "description": "Name of the dropdown option.",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    }
  }
}