{ "lexicon": 1, "id": "com.example.getProfile", "defs": { "main": { "type": "query", "parameters": { "type": "params", "required": [ "actor" ], "properties": { "actor": { "type": "string", "format": "at-identifier" } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": [ "profiles" ], "properties": { "profiles": { "type": "array", "items": { "type": "ref", "ref": "#profileEntry" } } } } } }, "profileEntry": { "type": "object", "required": [ "did" ], "properties": { "did": { "type": "string", "format": "did" }, "handle": { "type": "string" }, "uri": { "type": "string", "format": "at-uri" }, "cid": { "type": "string", "format": "cid" }, "value": { "type": "ref", "ref": "app.bsky.actor.profile#main" }, "collection": { "type": "string", "format": "nsid" }, "rkey": { "type": "string" } } } } }