Monorepo for Tangled
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 "star-count"
50 ]
51 }
52 },
53 "bluesky": {
54 "type": "boolean",
55 "description": "Include link to this account on Bluesky."
56 },
57 "location": {
58 "type": "string",
59 "description": "Free-form location text.",
60 "maxGraphemes": 40,
61 "maxLength": 400
62 },
63 "pinnedRepositories": {
64 "type": "array",
65 "description": "Any ATURI, it is up to appviews to validate these fields.",
66 "minLength": 0,
67 "maxLength": 6,
68 "items": {
69 "type": "string",
70 "format": "at-uri"
71 }
72 },
73 "pronouns": {
74 "type": "string",
75 "description": "Preferred gender pronouns.",
76 "maxLength": 40
77 }
78 }
79 }
80 }
81 }
82}