{ "lexicon": 1, "id": "sh.weaver.graph.getBookmarkedBy", "defs": { "main": { "type": "query", "description": "Get users who bookmarked a resource.", "parameters": { "type": "params", "required": [ "subject" ], "properties": { "cursor": { "type": "string" }, "limit": { "type": "integer", "default": 50, "minimum": 1, "maximum": 100 }, "subject": { "type": "string", "format": "at-uri" } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "uri", "bookmarks" ], "properties": { "bookmarks": { "type": "array", "items": { "type": "object", "required": [ "actor", "createdAt" ], "properties": { "actor": { "type": "ref", "ref": "sh.weaver.actor.defs#profileViewBasic" }, "createdAt": { "type": "string", "format": "datetime" } } } }, "cid": { "type": "string", "format": "cid" }, "cursor": { "type": "string" }, "uri": { "type": "string", "format": "at-uri" } } } } } } }