chat.yakka.server.info
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "A server's own presentation. Authority-written into its directory space (ADR 0006), one per server, which is why the key is literal.\n\nNamed `server.info` rather than `server` because `chat.yakka.server` is already the *space type* of a directory space (`Yakka.Lexicons.SpaceTypes.directory/0`). Reusing the NSID for a collection would leave two different things spelled the same, and this record is the exact analogue of `chat.yakka.channel.info` anyway: the presentation of a space, written by whoever holds authority over it.",
5
+
"description": "A server's own presentation. Authority-written into its directory space (ADR 0006), one per server, which is why the key is literal.\n\nNamed `server.info` rather than `server` because `chat.yakka.server` is already the *space type* of a directory space. Reusing the NSID for a collection would leave two different things spelled the same, and this record is the exact analogue of `chat.yakka.channel.info` anyway: the presentation of a space, written by whoever holds authority over it.",
6
6
"key": "literal:self",
7
7
"record": {
8
8
"properties": {
9
9
"createdAt": {
10
10
"format": "datetime",
11
11
"type": "string"
12
12
},
13
13
"description": {
14
14
"maxGraphemes": 256,
15
15
"maxLength": 2048,
16
16
"type": "string"
17
17
},
18
18
"glyph": {
19
19
"accept": [
20
20
"image/png",
21
21
"image/jpeg",
22
22
"image/webp"
23
23
],
24
24
"description": "The server's icon, as a blob in the directory space. A blob rather than a URL because the image is the server's own data and must travel with it — a URL would make presentation depend on a host outside the protocol.",
25
25
"maxSize": 1000000,
26
26
"type": "blob"
27
27
},
28
28
"name": {
29
29
"maxGraphemes": 64,
30
30
"maxLength": 512,
31
31
"type": "string"
32
32
},
33
33
"tint": {
34
34
"description": "Fallback colour, paired with initials derived from the name when there is no glyph. Presentational only.",
35
35
"maxLength": 32,
36
36
"type": "string"
37
37
}
38
38
},
39
39
"required": [
40
40
"name",
41
41
"createdAt"
42
42
],
43
43
"type": "object"
44
44
},
45
45
"type": "record"
46
46
}
47
47
},
48
48
"id": "chat.yakka.server.info",
49
49
"lexicon": 1
50
50
}