{ "$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" ] }