art.xxc.chat.message
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "art.xxc.chat.message",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"encryptedContent",
11
11
"roomId",
12
12
"iv",
13
13
"createdAt"
14
14
],
15
15
"properties": {
16
16
"iv": {
17
17
"type": "string",
18
18
"maxLength": 24,
19
19
"description": "Initialization vector for AES-GCM (base64 encoded)"
20
20
},
21
21
"roomId": {
22
22
"type": "string",
23
23
"maxLength": 64,
24
24
"description": "Identifier for chat room (e.g., 'main')"
25
25
},
26
26
"authTag": {
27
27
"type": "string",
28
28
"maxLength": 32,
29
29
"description": "Authentication tag for GCM mode (base64 encoded)"
30
30
},
31
31
"replyTo": {
32
32
"type": "string",
33
33
"format": "at-uri",
34
34
"description": "Optional: AT-URI of message being replied to"
35
35
},
36
36
"createdAt": {
37
37
"type": "string",
38
38
"format": "datetime",
39
39
"description": "Timestamp when message was created"
40
40
},
41
41
"encryptedContent": {
42
42
"type": "string",
43
43
"maxLength": 10000,
44
44
"description": "AES-256-GCM encrypted message content (base64 encoded)"
45
45
},
46
46
"encryptionVersion": {
47
47
"type": "string",
48
48
"description": "Encryption scheme version (currently v1: HKDF + AAD)"
49
49
}
50
50
}
51
51
},
52
-
"description": "Encrypted chat message for XX-C chat room"
52
+
"description": "Encrypted chat message for XX C chat room"
53
53
}
54
54
},
55
55
"$type": "com.atproto.lexicon.schema",
56
56
"lexicon": 1
57
57
}