{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-dropdown-schema.json",
  "title": "Dropdown",
  "description": "Dropdowns are registry-wide enums. Use dropdowns to standardize on spelling and naming conventions, especially for important metadata like resistance markers.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/benchling-dropdowns-api-openapi.yml#/components/schemas/Dropdown",
  "allOf": [
    {
      "$ref": "#/$defs/DropdownSummary"
    },
    {
      "properties": {
        "archiveRecord": {
          "allOf": [
            {
              "$ref": "#/$defs/ArchiveRecord"
            }
          ]
        },
        "options": {
          "description": "Array of dropdown options",
          "items": {
            "$ref": "#/$defs/DropdownOption"
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  ],
  "$defs": {
    "ArchiveRecord": {
      "properties": {
        "reason": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "DropdownOption": {
      "properties": {
        "archiveRecord": {
          "allOf": [
            {
              "$ref": "#/$defs/ArchiveRecord"
            }
          ]
        },
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "DropdownSummary": {
      "properties": {
        "id": {
          "description": "ID of the dropdown",
          "type": "string"
        },
        "name": {
          "description": "Name of the dropdown",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}