Scratch space for learning atproto app development
1{
2 "lexicon": 1,
3 "id": "app.bsky.actor.profile",
4 "defs": {
5 "main": {
6 "type": "record",
7 "description": "A declaration of a Bluesky account profile.",
8 "key": "literal:self",
9 "record": {
10 "type": "object",
11 "properties": {
12 "displayName": {
13 "type": "string",
14 "maxGraphemes": 64,
15 "maxLength": 640
16 },
17 "description": {
18 "type": "string",
19 "description": "Free-form profile description text.",
20 "maxGraphemes": 256,
21 "maxLength": 2560
22 },
23 "avatar": {
24 "type": "blob",
25 "description": "Small image to be displayed next to posts from account. AKA, 'profile picture'",
26 "accept": ["image/png", "image/jpeg"],
27 "maxSize": 1000000
28 },
29 "banner": {
30 "type": "blob",
31 "description": "Larger horizontal image to display behind profile view.",
32 "accept": ["image/png", "image/jpeg"],
33 "maxSize": 1000000
34 },
35 "labels": {
36 "type": "union",
37 "description": "Self-label values, specific to the Bluesky application, on the overall account.",
38 "refs": ["com.atproto.label.defs#selfLabels"]
39 },
40 "joinedViaStarterPack": {
41 "type": "ref",
42 "ref": "com.atproto.repo.strongRef"
43 },
44 "createdAt": { "type": "string", "format": "datetime" }
45 }
46 }
47 }
48 }
49}