This repository has no description
1{
2 "lexicon": 1,
3 "id": "sh.tangled.actor.defs",
4 "defs": {
5 "profileViewBasic": {
6 "type": "object",
7 "required": ["did", "handle"],
8 "properties": {
9 "did": { "type": "string", "format": "did" },
10 "handle": { "type": "string", "format": "handle" },
11 "avatar": { "type": "string", "format": "uri" },
12 "viewer": { "type": "ref", "ref": "#viewerState" }
13 }
14 },
15 "profileViewDetailed": {
16 "type": "object",
17 "description": "profileViewBaisc + follow counts",
18 "required": ["did", "handle"],
19 "properties": {
20 "did": { "type": "string", "format": "did" },
21 "handle": { "type": "string", "format": "handle" },
22 "avatar": { "type": "string", "format": "uri" },
23 "followersCount": { "type": "integer" },
24 "followsCount": { "type": "integer" },
25 "viewer": { "type": "ref", "ref": "#viewerState" }
26 }
27 },
28 "viewerState": {
29 "type": "object",
30 "description": "Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.",
31 "properties": {
32 "following": { "type": "string", "format": "at-uri" },
33 "followedBy": { "type": "string", "format": "at-uri" }
34 }
35 }
36 }
37}