# cc.coffeencode.comment

> Published by [coffeencode.cc](https://lexicon.garden/identity/did:plc:z7hzwpuv5ytin56wecfxa4mx)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.comment)
- [Documentation](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.comment/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.comment/examples)

## Definitions

### `cc.coffeencode.comment`

**Type**: `record`

A comment on a Coffee & Code story or to another comment.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `reply` | `ref` → `#reply` | No |  |
| `subject` | `ref` → `#subject` | Yes |  |
| `text` | `string` | Yes |  |

### `cc.coffeencode.comment#reply`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `parent` | `ref` → `#subject` | Yes |  |

### `cc.coffeencode.comment#subject`

**Type**: `object`

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

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A comment on a Coffee & Code story or to another comment.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "reply": {
            "ref": "#reply",
            "type": "ref"
          },
          "subject": {
            "ref": "#subject",
            "type": "ref"
          },
          "text": {
            "maxGraphemes": 3000,
            "maxLength": 3000,
            "type": "string"
          }
        },
        "required": [
          "subject",
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "reply": {
      "properties": {
        "parent": {
          "ref": "#subject",
          "type": "ref"
        }
      },
      "required": [
        "parent"
      ],
      "type": "object"
    },
    "subject": {
      "properties": {
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri"
      ],
      "type": "object"
    }
  },
  "id": "cc.coffeencode.comment",
  "lexicon": 1
}
```
