{ "lexicon": 1, "id": "sh.weaver.notebook.getContinueReading", "defs": { "main": { "type": "query", "description": "Get notebooks the user is currently reading, sorted by most recent activity.", "parameters": { "type": "params", "properties": { "limit": { "type": "integer", "minimum": 1, "maximum": 20, "default": 10 } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": ["items"], "properties": { "items": { "type": "array", "items": { "type": "object", "required": ["notebook", "progress", "nextEntry"], "properties": { "notebook": { "type": "ref", "ref": "sh.weaver.notebook.defs#notebookView" }, "progress": { "type": "ref", "ref": "sh.weaver.notebook.defs#readingProgress" }, "currentEntry": { "type": "ref", "ref": "sh.weaver.notebook.defs#entryView", "description": "Where the user left off." }, "nextEntry": { "type": "ref", "ref": "sh.weaver.notebook.defs#entryView", "description": "The next entry to read (if any)." }, "entriesRemaining": { "type": "integer" } } } } } } } } } }