atproto blogging
1{
2 "lexicon": 1,
3 "id": "sh.weaver.actor.profile",
4 "defs": {
5 "main": {
6 "type": "record",
7 "description": "A declaration of a Weaver account profile.",
8 "key": "literal:self",
9 "record": {
10 "type": "object",
11 "properties": {
12 "avatar": {
13 "type": "blob",
14 "description": "Small image to be displayed next to posts from account. AKA, 'profile picture'",
15 "accept": [
16 "image/png",
17 "image/jpeg"
18 ],
19 "maxSize": 1000000
20 },
21 "banner": {
22 "type": "blob",
23 "description": "Larger horizontal image to display behind profile view.",
24 "accept": [
25 "image/png",
26 "image/jpeg"
27 ],
28 "maxSize": 1000000
29 },
30 "bluesky": {
31 "type": "boolean",
32 "description": "Include link to this account on Bluesky."
33 },
34 "createdAt": {
35 "type": "string",
36 "format": "datetime"
37 },
38 "description": {
39 "type": "string",
40 "description": "Free-form profile description text.",
41 "maxLength": 10240,
42 "maxGraphemes": 1024
43 },
44 "displayName": {
45 "type": "string",
46 "maxLength": 640,
47 "maxGraphemes": 64
48 },
49 "labels": {
50 "type": "union",
51 "description": "Self-label values, specific to the application, on the overall account.",
52 "refs": [
53 "com.atproto.label.defs#selfLabels"
54 ]
55 },
56 "links": {
57 "type": "array",
58 "items": {
59 "type": "string",
60 "description": "Any URI, intended for social profiles or websites, can be used to link DIDs/AT-URIs too.",
61 "format": "uri"
62 },
63 "minLength": 0,
64 "maxLength": 5
65 },
66 "location": {
67 "type": "string",
68 "description": "Free-form location text.",
69 "maxLength": 400,
70 "maxGraphemes": 40
71 },
72 "pinned": {
73 "type": "ref",
74 "description": "Notebooks or other records pinned for display.",
75 "ref": "sh.weaver.actor.defs#pinnedList"
76 },
77 "pronouns": {
78 "type": "ref",
79 "description": "Pronouns to use in user-generated content.",
80 "ref": "sh.weaver.actor.defs#pronounsList"
81 },
82 "streamplace": {
83 "type": "boolean",
84 "description": "Include link to this account on stream.place."
85 },
86 "tangled": {
87 "type": "boolean",
88 "description": "Include link to this account on Tangled."
89 }
90 }
91 }
92 }
93 }
94}