# radio.4000.chat.message

> A message in the public chat room of a radio. Lives in the sender's repo.

- Kind: record
- Record key: tid
- Authority: chat.4000.radio
- Lexicon: 1
- Published by [4000.radio](https://lexicon.garden/identity/did:plc:hd34khf6wifegm23c2u3cv2d), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:hd34khf6wifegm23c2u3cv2d/radio.4000.chat.message)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:hd34khf6wifegm23c2u3cv2d/radio.4000.chat.message/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:hd34khf6wifegm23c2u3cv2d/radio.4000.chat.message/analytics)

## Record (`radio.4000.chat.message`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `subject` (string · did, required): The radio whose room this is.
- `text` (string, required)
  - Constraints: maxLength: 3000, maxGraphemes: 300
- `track` (string · at-uri): A radio.4000.track record the message is about, like the one playing as it was sent.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A message in the public chat room of a radio. Lives in the sender's repo.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "description": "The radio whose room this is.",
            "format": "did",
            "type": "string"
          },
          "text": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "track": {
            "description": "A radio.4000.track record the message is about, like the one playing as it was sent.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "subject",
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "radio.4000.chat.message",
  "lexicon": 1
}
```
