at main 32 lines 919 B view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.collab.getResourceParticipants", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get all participants (owner + collaborators) for a resource.", 8 "parameters": { 9 "type": "params", 10 "required": ["resource"], 11 "properties": { 12 "resource": { "type": "string", "format": "at-uri" } 13 } 14 }, 15 "output": { 16 "encoding": "application/json", 17 "schema": { 18 "type": "object", 19 "required": ["owner", "participants"], 20 "properties": { 21 "owner": { "type": "ref", "ref": "sh.weaver.actor.defs#profileViewBasic" }, 22 "participants": { 23 "type": "array", 24 "items": { "type": "ref", "ref": "sh.weaver.actor.defs#profileViewBasic" } 25 }, 26 "viewerCanEdit": { "type": "boolean" } 27 } 28 } 29 } 30 } 31 } 32}