art.xx-c.chat.message
Encrypted chat message for XX C chat room
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | chat.xx-c.art |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.encryptionVersionNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Encrypted chat message for XX C chat room",
"key": "tid",
"record": {
"properties": {
"authTag": {
"description": "Authentication tag for GCM mode (base64 encoded)",
"maxLength": 32,
"type": "string"
},
"createdAt": {
"description": "Timestamp when message was created",
"format": "datetime",
"type": "string"
},
"encryptedContent": {
"description": "AES-256-GCM encrypted message content (base64 encoded)",
"maxLength": 10000,
"type": "string"
},
"encryptionVersion": {
"description": "Encryption scheme version (currently v1: HKDF + AAD)",
"type": "string"
},
"iv": {
"description": "Initialization vector for AES-GCM (base64 encoded)",
"maxLength": 24,
"type": "string"
},
"replyTo": {
"description": "Optional: AT-URI of message being replied to",
"format": "at-uri",
"type": "string"
},
"roomId": {
"description": "Identifier for chat room (e.g., 'main')",
"maxLength": 64,
"type": "string"
}
},
"required": [
"encryptedContent",
"roomId",
"iv",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "art.xx-c.chat.message",
"lexicon": 1
}