{ "lexicon": 1, "id": "sh.weaver.graph.getActorBookmarks", "defs": { "main": { "type": "query", "description": "Get resources an actor has bookmarked.", "parameters": { "type": "params", "required": ["actor"], "properties": { "actor": { "type": "string", "format": "at-identifier" }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 50 }, "cursor": { "type": "string" } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": ["bookmarks"], "properties": { "bookmarks": { "type": "array", "items": { "type": "object", "required": ["subject", "createdAt"], "properties": { "subject": { "type": "union", "refs": [ "sh.weaver.notebook.defs#notebookView", "sh.weaver.notebook.defs#entryView" ] }, "note": { "type": "string" }, "createdAt": { "type": "string", "format": "datetime" } } } }, "cursor": { "type": "string" } } } } } } }