Benchling · Schema

SimpleNotePart

Simple note parts include the following types: - 'text': plain text - 'code': preformatted code block - 'list_bullet': one "line" of a bulleted list - 'list_number': one "line" of a numbered list

Life SciencesBiotechR&DMolecular BiologyLaboratory Information ManagementElectronic Lab NotebookAssay ManagementInventory ManagementSequence ManagementExperiment WorkflowsRESTWebhooks
View JSON Schema on GitHub

JSON Schema

SimpleNotePart.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/benchling/json-schema/SimpleNotePart.json",
  "title": "SimpleNotePart",
  "allOf": [
    {
      "$ref": "#/components/schemas/BaseNotePart"
    },
    {
      "properties": {
        "links": {
          "description": "Array of links referenced in text via an @-mention, hyperlink, or the drag-n-dropped preview attached to the note.\n",
          "items": {
            "$ref": "#/components/schemas/EntryLink"
          },
          "type": "array"
        },
        "text": {
          "description": "The textual contents of the note.",
          "type": "string"
        },
        "type": {
          "enum": [
            "text",
            "code",
            "list_bullet",
            "list_number"
          ],
          "type": "string"
        }
      },
      "type": "object"
    }
  ],
  "description": "Simple note parts include the following types: - 'text': plain text - 'code': preformatted code block - 'list_bullet': one \"line\" of a bulleted list - 'list_number': one \"line\" of a numbered list\n"
}