prototypey.org - atproto lexicon typescript toolkit - mirror https://github.com/tylersayshi/prototypey
1{
2 "lexicon": 1,
3 "id": "app.bsky.actor.defs",
4 "defs": {
5 "profileViewBasic": {
6 "type": "object",
7 "properties": {
8 "did": {
9 "type": "string",
10 "required": true,
11 "format": "did"
12 },
13 "handle": {
14 "type": "string",
15 "required": true,
16 "format": "handle"
17 },
18 "displayName": {
19 "type": "string",
20 "maxGraphemes": 64,
21 "maxLength": 640
22 },
23 "pronouns": {
24 "type": "string"
25 },
26 "avatar": {
27 "type": "string",
28 "format": "uri"
29 },
30 "associated": {
31 "type": "ref",
32 "ref": "#profileAssociated"
33 },
34 "viewer": {
35 "type": "ref",
36 "ref": "#viewerState"
37 },
38 "labels": {
39 "type": "array",
40 "items": {
41 "type": "ref",
42 "ref": "com.atproto.label.defs#label"
43 }
44 },
45 "createdAt": {
46 "type": "string",
47 "format": "datetime"
48 },
49 "verification": {
50 "type": "ref",
51 "ref": "#verificationState"
52 },
53 "status": {
54 "type": "ref",
55 "ref": "#statusView"
56 }
57 },
58 "required": ["did", "handle"]
59 },
60 "viewerState": {
61 "type": "object",
62 "properties": {
63 "muted": {
64 "type": "boolean"
65 },
66 "mutedByList": {
67 "type": "ref",
68 "ref": "app.bsky.graph.defs#listViewBasic"
69 },
70 "blockedBy": {
71 "type": "boolean"
72 },
73 "blocking": {
74 "type": "string",
75 "format": "at-uri"
76 },
77 "blockingByList": {
78 "type": "ref",
79 "ref": "app.bsky.graph.defs#listViewBasic"
80 },
81 "following": {
82 "type": "string",
83 "format": "at-uri"
84 },
85 "followedBy": {
86 "type": "string",
87 "format": "at-uri"
88 },
89 "knownFollowers": {
90 "type": "ref",
91 "ref": "#knownFollowers"
92 },
93 "activitySubscription": {
94 "type": "ref",
95 "ref": "app.bsky.notification.defs#activitySubscription"
96 }
97 }
98 }
99 }
100}