# network.sharedcomputer.chat.conversationRef

> Published by [sharedcomputer.network](https://lexicon.garden/identity/did:plc:n4mzxx6z4ehnswc7znswtfr2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:n4mzxx6z4ehnswc7znswtfr2/network.sharedcomputer.chat.conversationRef)
- [Documentation](https://lexicon.garden/lexicon/did:plc:n4mzxx6z4ehnswc7znswtfr2/network.sharedcomputer.chat.conversationRef/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:n4mzxx6z4ehnswc7znswtfr2/network.sharedcomputer.chat.conversationRef/examples)

## Definitions

### `network.sharedcomputer.chat.conversationRef`

**Type**: `record`

The conversation index, stored in the user's settings space. Its record key is the conversation's space key. Clients must update it whenever they change the conversation.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `conversation` | `string` (space-ref) | Yes | The conversation's space URI. |
| `sealed` | `ref` → `network.sharedcomputer.chat.defs#encryptedContent` | No | When the conversation is encrypted, holds title and tags. Those fields are then left out of the record. |
| `tags` | `array` | No | The user's tags for organizing their chats. |
| `title` | `string` | No | Copy of the title in the conversation's info record. |
| `updatedAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The conversation index, stored in the user's settings space. Its record key is the conversation's space key. Clients must update it whenever they change the conversation.",
      "key": "tid",
      "record": {
        "properties": {
          "conversation": {
            "description": "The conversation's space URI.",
            "format": "space-ref",
            "maxLength": 1024,
            "type": "string"
          },
          "sealed": {
            "description": "When the conversation is encrypted, holds title and tags. Those fields are then left out of the record.",
            "ref": "network.sharedcomputer.chat.defs#encryptedContent",
            "type": "ref"
          },
          "tags": {
            "description": "The user's tags for organizing their chats.",
            "items": {
              "maxGraphemes": 64,
              "maxLength": 640,
              "type": "string"
            },
            "maxLength": 32,
            "type": "array"
          },
          "title": {
            "description": "Copy of the title in the conversation's info record.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "conversation",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "network.sharedcomputer.chat.conversationRef",
  "lexicon": 1
}
```
