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 "pinnedRepositoryDids": {
64 "type": "array",
65 "minLength": 0,
66 "maxLength": 6,
67 "items": {
68 "type": "string",
69 "format": "did"
70 }
71 },
72 "pinnedRepositories": {
73 "type": "array",
74 "description": "Any ATURI, it is up to appviews to validate these fields.",
75 "minLength": 0,
76 "maxLength": 6,
77 "items": {
78 "type": "string",
79 "format": "at-uri"
80 }
81 },
82 "pronouns": {
83 "type": "string",
84 "description": "Preferred gender pronouns.",
85 "maxLength": 40
86 }
87 }
88 }
89 }
90 }
91}