# at.blueharbor.channel

> Published by [toddlambert.com](https://lexicon.garden/identity/did:plc:r5pj64joaywqnvk2obembpt7)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:r5pj64joaywqnvk2obembpt7/at.blueharbor.channel)
- [Documentation](https://lexicon.garden/lexicon/did:plc:r5pj64joaywqnvk2obembpt7/at.blueharbor.channel/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:r5pj64joaywqnvk2obembpt7/at.blueharbor.channel/examples)

## Definitions

### `at.blueharbor.channel`

**Type**: `record`

A channel within a harbor. Written by the harbor owner; points at the harbor record. Text channels also host an ad-hoc call; voice channels are call-first.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `kind` | `string` | No |  |
| `name` | `string` | Yes |  |
| `topic` | `string` | No |  |
| `harbor` | `string` (at-uri) | Yes |  |
| `position` | `integer` | No |  |
| `readOnly` | `boolean` | No | Announcement channel: only the harbor owner can post; everyone can read. |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "at.blueharbor.channel",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "harbor",
          "name",
          "createdAt"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "knownValues": [
              "text",
              "voice"
            ]
          },
          "name": {
            "type": "string",
            "maxLength": 640,
            "maxGraphemes": 64
          },
          "topic": {
            "type": "string",
            "maxLength": 3000,
            "maxGraphemes": 300
          },
          "harbor": {
            "type": "string",
            "format": "at-uri"
          },
          "position": {
            "type": "integer",
            "minimum": 0
          },
          "readOnly": {
            "type": "boolean",
            "description": "Announcement channel: only the harbor owner can post; everyone can read."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "A channel within a harbor. Written by the harbor owner; points at the harbor record. Text channels also host an ad-hoc call; voice channels are call-first."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
