+43
lexicons/io/atcr/repo/page.json
+43
lexicons/io/atcr/repo/page.json
···
1
+
{
2
+
"lexicon": 1,
3
+
"id": "io.atcr.repo.page",
4
+
"defs": {
5
+
"main": {
6
+
"type": "record",
7
+
"description": "Repository page metadata including description and avatar. Users can edit this directly in their PDS to customize their repository page.",
8
+
"key": "any",
9
+
"record": {
10
+
"type": "object",
11
+
"required": ["repository", "createdAt", "updatedAt"],
12
+
"properties": {
13
+
"repository": {
14
+
"type": "string",
15
+
"description": "The name of the repository (e.g., 'myapp'). Must match the rkey.",
16
+
"maxLength": 256
17
+
},
18
+
"description": {
19
+
"type": "string",
20
+
"description": "Markdown README/description content for the repository page.",
21
+
"maxLength": 100000
22
+
},
23
+
"avatar": {
24
+
"type": "blob",
25
+
"description": "Repository avatar/icon image.",
26
+
"accept": ["image/png", "image/jpeg", "image/webp"],
27
+
"maxSize": 1000000
28
+
},
29
+
"createdAt": {
30
+
"type": "string",
31
+
"format": "datetime",
32
+
"description": "Record creation timestamp"
33
+
},
34
+
"updatedAt": {
35
+
"type": "string",
36
+
"format": "datetime",
37
+
"description": "Record last updated timestamp"
38
+
}
39
+
}
40
+
}
41
+
}
42
+
}
43
+
}