chat.yakka.server.info
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "chat.yakka.server.info",
3
3
"defs": {
4
4
"main": {
5
5
"key": "literal:self",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"name",
11
11
"createdAt"
12
12
],
13
13
"properties": {
14
14
"name": {
15
15
"type": "string",
16
16
"maxLength": 512,
17
17
"maxGraphemes": 64
18
18
},
19
19
"tint": {
20
20
"type": "string",
21
21
"maxLength": 32,
22
22
"description": "Fallback colour, paired with initials derived from the name when there is no glyph. Presentational only."
23
23
},
24
24
"glyph": {
25
25
"type": "blob",
26
26
"accept": [
27
27
"image/png",
28
28
"image/jpeg",
29
29
"image/webp"
30
30
],
31
31
"maxSize": 1000000,
32
32
"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."
33
33
},
34
34
"createdAt": {
35
35
"type": "string",
36
36
"format": "datetime"
37
37
},
38
38
"description": {
39
39
"type": "string",
40
40
"maxLength": 2048,
41
41
"maxGraphemes": 256
42
42
}
43
43
}
44
44
},
45
-
"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."
45
+
"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."
46
46
}
47
47
},
48
48
"$type": "com.atproto.lexicon.schema",
49
49
"lexicon": 1
50
50
}