Monorepo for Tangled
tangled.org
1{
2 "lexicon": 1,
3 "id": "sh.tangled.actor.profile",
4 "defs": {
5 "main": {
6 "type": "record",
7 "description": "A declaration of a Tangled account profile.",
8 "key": "literal:self",
9 "record": {
10 "type": "object",
11 "required": ["bluesky"],
12 "properties": {
13 "avatar": {
14 "type": "blob",
15 "description": "Small image to be displayed next to posts from account. AKA, 'profile picture'",
16 "accept": ["image/png", "image/jpeg"],
17 "maxSize": 1000000
18 },
19 "description": {
20 "type": "string",
21 "description": "Free-form profile description text.",
22 "maxGraphemes": 256,
23 "maxLength": 2560
24 },
25 "links": {
26 "type": "array",
27 "minLength": 0,
28 "maxLength": 5,
29 "items": {
30 "type": "string",
31 "description": "Any URI, intended for social profiles or websites, can be used to link DIDs/AT-URIs too.",
32 "format": "uri"
33 }
34 },
35 "stats": {
36 "type": "array",
37 "minLength": 0,
38 "maxLength": 2,
39 "items": {
40 "type": "string",
41 "description": "Vanity stats.",
42 "enum": [
43 "merged-pull-request-count",
44 "closed-pull-request-count",
45 "open-pull-request-count",
46 "open-issue-count",
47 "closed-issue-count",
48 "repository-count"
49 ]
50 }
51 },
52 "bluesky": {
53 "type": "boolean",
54 "description": "Include link to this account on Bluesky."
55 },
56 "location": {
57 "type": "string",
58 "description": "Free-form location text.",
59 "maxGraphemes": 40,
60 "maxLength": 400
61 },
62 "pinnedRepositories": {
63 "type": "array",
64 "description": "Any ATURI, it is up to appviews to validate these fields.",
65 "minLength": 0,
66 "maxLength": 6,
67 "items": {
68 "type": "string",
69 "format": "at-uri"
70 }
71 },
72 "pronouns": {
73 "type": "string",
74 "description": "Preferred gender pronouns.",
75 "maxLength": 40
76 }
77 }
78 }
79 }
80 }
81}