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