Benchling · Schema

BlobCreate

Life SciencesBiotechR&DMolecular BiologyLaboratory Information ManagementElectronic Lab NotebookAssay ManagementInventory ManagementSequence ManagementExperiment WorkflowsRESTWebhooks

Properties

Name Type Description
data64 string base64 encoded file contents
md5 string The MD5 hash of the blob part. Note: this should be the hash of the raw data of the blob part, not the hash of the base64 encoding.
mimeType string eg. application/jpeg
name string Name of the blob
type string One of RAW_FILE or VISUALIZATION. If VISUALIZATION, the blob may be displayed as an image preview.
View JSON Schema on GitHub

JSON Schema

BlobCreate.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/benchling/json-schema/BlobCreate.json",
  "title": "BlobCreate",
  "additionalProperties": false,
  "properties": {
    "data64": {
      "description": "base64 encoded file contents",
      "format": "byte",
      "type": "string"
    },
    "md5": {
      "description": "The MD5 hash of the blob part. Note: this should be the hash of the raw data of the blob part, not the hash of the base64 encoding.\n",
      "type": "string"
    },
    "mimeType": {
      "default": "application/octet-stream",
      "description": "eg. application/jpeg",
      "maxLength": 100,
      "type": "string"
    },
    "name": {
      "description": "Name of the blob",
      "maxLength": 1000,
      "type": "string"
    },
    "type": {
      "description": "One of RAW_FILE or VISUALIZATION. If VISUALIZATION, the blob may be displayed as an image preview.\n",
      "enum": [
        "RAW_FILE",
        "VISUALIZATION"
      ],
      "type": "string"
    }
  },
  "required": [
    "name",
    "type",
    "data64",
    "md5"
  ],
  "type": "object"
}