# cc.coffeencode.comment

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

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.comment)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.comment/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:z7hzwpuv5ytin56wecfxa4mx/cc.coffeencode.comment/analytics)

## Record (`cc.coffeencode.comment`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `reply` (ref)
  - Reference: `#reply`
- `subject` (ref, required)
  - Reference: `#subject`
- `text` (string, required)
  - Constraints: maxLength: 3000, maxGraphemes: 3000

## #reply (`cc.coffeencode.comment#reply`)

Type: object

### Properties

- `parent` (ref, required)
  - Reference: `#subject`

## #subject (`cc.coffeencode.comment#subject`)

Type: object

### Properties

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

## 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
}
```
