tangled
alpha
login
or
join now
moth11.net
/
88x31
0
fork
atom
tiny 88x31 lexicon for atproto
0
fork
atom
overview
issues
pulls
pipelines
add lexicons
moth11.net
1 month ago
40d3cc92
43aa3af5
+72
2 changed files
expand all
collapse all
unified
split
lexicons
store
88x31
button.json
like.json
+46
lexicons/store/88x31/button.json
···
1
1
+
{
2
2
+
"lexicon": 1,
3
3
+
"$type": "com.atproto.lexicon.schema",
4
4
+
"id": "store.88x31.button",
5
5
+
"defs": {
6
6
+
"main": {
7
7
+
"type": "record",
8
8
+
"description": "Record containing an 88x31 button.",
9
9
+
"key": "tid",
10
10
+
"record": {
11
11
+
"type": "object",
12
12
+
"required": ["blob", "postedAt"],
13
13
+
"properties": {
14
14
+
"blob": {
15
15
+
"type": "blob",
16
16
+
"accept": ["image/*"],
17
17
+
"maxSize": 1000000,
18
18
+
},
19
19
+
"alt": {
20
20
+
"type": "string",
21
21
+
"maxLength": 3000,
22
22
+
"maxGraphemes": 300,
23
23
+
"description": "Alt text description of the button, for accessibility.",
24
24
+
},
25
25
+
"title": {
26
26
+
"type": "string",
27
27
+
"maxLength": 3000,
28
28
+
"maxGraphemes": 300,
29
29
+
"description": "Title text description of the button, for flavor.",
30
30
+
},
31
31
+
"href": {
32
32
+
"type": "string",
33
33
+
"maxLength": 3000,
34
34
+
"maxGraphemes": 300,
35
35
+
"description": "Hypertext reference (link) for the button.",
36
36
+
},
37
37
+
"postedAt": {
38
38
+
"type": "string",
39
39
+
"format": "datetime",
40
40
+
"description": "Client-declared timestamp when this button was originally created."
41
41
+
}
42
42
+
}
43
43
+
}
44
44
+
}
45
45
+
}
46
46
+
}
+26
lexicons/store/88x31/like.json
···
1
1
+
{
2
2
+
"lexicon": 1,
3
3
+
"$type": "com.atproto.lexicon.schema",
4
4
+
"id": "store.88x31.like",
5
5
+
"defs": {
6
6
+
"main": {
7
7
+
"type": "record",
8
8
+
"description": "Record declaring a 'like' of a piece of an 88x31 button.",
9
9
+
"key": "tid",
10
10
+
"record": {
11
11
+
"type": "object",
12
12
+
"required": ["subject", "createdAt"],
13
13
+
"properties": {
14
14
+
"subject": {
15
15
+
"type": "ref",
16
16
+
"ref": "com.atproto.repo.strongRef",
17
17
+
},
18
18
+
"createdAt": {
19
19
+
"type": "string",
20
20
+
"format": "datetime",
21
21
+
}
22
22
+
}
23
23
+
}
24
24
+
}
25
25
+
}
26
26
+
}