{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/benchling/json-schema/BarcodeValidationResult.json",
  "title": "BarcodeValidationResult",
  "properties": {
    "barcode": {
      "description": "Barcode to validate.",
      "type": "string"
    },
    "isValid": {
      "description": "Whether the barcode is valid.",
      "type": "boolean"
    },
    "message": {
      "description": "If barcode is not valid, a message string explaining the error.",
      "nullable": true,
      "type": "string"
    }
  },
  "type": "object"
}