{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-blob-create-schema.json",
  "title": "BlobCreate",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/benchling-blobs-api-openapi.yml#/components/schemas/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"
}