{ "lexicon": 1, "id": "sh.weaver.notebook.getChapter", "defs": { "main": { "type": "query", "description": "Get a chapter with its entries.", "parameters": { "type": "params", "required": ["chapter"], "properties": { "chapter": { "type": "string", "format": "at-uri" }, "entryLimit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 50 }, "entryCursor": { "type": "string" } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": ["chapter", "entries"], "properties": { "chapter": { "type": "ref", "ref": "sh.weaver.notebook.defs#chapterView" }, "entries": { "type": "array", "items": { "type": "ref", "ref": "sh.weaver.notebook.defs#chapterEntryView" } }, "entryCursor": { "type": "string" } } } }, "errors": [ { "name": "ChapterNotFound" } ] } } }