# at.ellich.chat.context

> Published by [brittanyellich.com](https://lexicon.garden/identity/did:plc:4hodhjl2kposuchzvpiviwps)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4hodhjl2kposuchzvpiviwps/at.ellich.chat.context)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4hodhjl2kposuchzvpiviwps/at.ellich.chat.context/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4hodhjl2kposuchzvpiviwps/at.ellich.chat.context/examples)

## Definitions

### `at.ellich.chat.context`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `kind` | `string` | Yes |  |
| `replaces` | `ref` → `lex:at.ellich.chat.context#strongRef` | No |  |
| `text` | `string` | Yes |  |
| `title` | `string` | Yes |  |

### `at.ellich.chat.context#strongRef`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "kind": {
            "enum": [
              "note",
              "decision",
              "summary"
            ],
            "type": "string"
          },
          "replaces": {
            "ref": "lex:at.ellich.chat.context#strongRef",
            "type": "ref"
          },
          "text": {
            "maxLength": 64000,
            "minLength": 1,
            "type": "string"
          },
          "title": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "title",
          "text",
          "kind",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "strongRef": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid"
      ],
      "type": "object"
    }
  },
  "id": "at.ellich.chat.context",
  "lexicon": 1
}
```
