# at.ellich.chat.message

- Kind: record
- Record key: tid
- Authority: chat.ellich.at
- Lexicon: 1
- Published by [brittanyellich.com](https://lexicon.garden/identity/did:plc:4hodhjl2kposuchzvpiviwps), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:4hodhjl2kposuchzvpiviwps/at.ellich.chat.message)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:4hodhjl2kposuchzvpiviwps/at.ellich.chat.message/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:4hodhjl2kposuchzvpiviwps/at.ellich.chat.message/analytics)

## Record (`at.ellich.chat.message`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `mentions` (array)
  - Constraints: maxLength: 30
  - `items` (string · did)
- `replyTo` (ref)
  - Reference: `lex:at.ellich.chat.message#strongRef`
- `text` (string, required)
  - Constraints: minLength: 1, maxLength: 16000

## #strongRef (`at.ellich.chat.message#strongRef`)

Type: object

### Properties

- `cid` (string · cid, required)
- `uri` (string · at-uri, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "mentions": {
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 30,
            "type": "array"
          },
          "replyTo": {
            "ref": "lex:at.ellich.chat.message#strongRef",
            "type": "ref"
          },
          "text": {
            "maxLength": 16000,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "text",
          "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.message",
  "lexicon": 1
}
```
