PostHog · Schema
NotebookCollabSave
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| client_id | string | Unique identifier for the client session. |
| version | integer | The collab version the client's steps are based on. |
| steps | array | List of ProseMirror step JSON objects to apply. |
| content | object | The resulting ProseMirror document after applying the steps locally. |
| text_content | string | Plain text for search indexing. |
| title | string | Updated notebook title. |
| cursor_head | integer | ProseMirror cursor head position after applying steps. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/NotebookCollabSave",
"title": "NotebookCollabSave",
"type": "object",
"properties": {
"client_id": {
"type": "string",
"description": "Unique identifier for the client session."
},
"version": {
"type": "integer",
"description": "The collab version the client's steps are based on."
},
"steps": {
"type": "array",
"items": {},
"description": "List of ProseMirror step JSON objects to apply."
},
"content": {
"description": "The resulting ProseMirror document after applying the steps locally."
},
"text_content": {
"type": "string",
"default": "",
"description": "Plain text for search indexing."
},
"title": {
"type": "string",
"description": "Updated notebook title."
},
"cursor_head": {
"type": "integer",
"nullable": true,
"description": "ProseMirror cursor head position after applying steps."
}
},
"required": [
"client_id",
"content",
"steps",
"version"
]
}