Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm
1{
2 "lexicon": 1,
3 "id": "com.bad-example.identity.resolveMiniDoc",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "like com.atproto.identity.resolveIdentity but instead of the full didDoc it returns an atproto-relevant subset",
8 "parameters": {
9 "type": "params",
10 "required": [
11 "identifier"
12 ],
13 "properties": {
14 "identifier": {
15 "type": "string",
16 "format": "at-identifier",
17 "description": "handle or DID to resolve"
18 }
19 }
20 },
21 "output": {
22 "encoding": "application/json",
23 "schema": {
24 "type": "object",
25 "required": [
26 "did",
27 "handle",
28 "pds",
29 "signing_key"
30 ],
31 "properties": {
32 "did": {
33 "type": "string",
34 "format": "did",
35 "description": "DID, bi-directionally verified if a handle was provided in the query"
36 },
37 "handle": {
38 "type": "string",
39 "format": "handle",
40 "description": "the validated handle of the account or 'handle.invalid' if the handle did not bi-directionally match the DID document"
41 },
42 "pds": {
43 "type": "string",
44 "format": "uri",
45 "description": "the identity's PDS URL"
46 },
47 "signing_key": {
48 "type": "string",
49 "description": "the atproto signing key publicKeyMultibase"
50 }
51 }
52 }
53 }
54 }
55 }
56}