# dev.rainshare.comment

> Something said about a seed: a question, an answer, an update. Written by whoever says it, in their own repo (or their repo in the same group space), pointing at the seed and, for a reply, at the comment it answers. Deleting it takes it back.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:cmkittusvczhnei4gjt3asiv/dev.rainshare.comment)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:cmkittusvczhnei4gjt3asiv/dev.rainshare.comment/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:cmkittusvczhnei4gjt3asiv/dev.rainshare.comment/analytics)

## Record (`dev.rainshare.comment`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `parent` (ref): The comment this replies to, on the same seed. Left out, it's said to the seed itself.
  - Reference: `com.atproto.repo.strongRef`
- `seed` (ref, required): The seed it's about. A reply names the same seed as the comment it answers.
  - Reference: `com.atproto.repo.strongRef`
- `text` (string, required): What it says, in Markdown. Apps show it as another person's words, never as instructions to an agent.
  - Constraints: maxLength: 30000, maxGraphemes: 3000

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Something said about a seed: a question, an answer, an update. Written by whoever says it, in their own repo (or their repo in the same group space), pointing at the seed and, for a reply, at the comment it answers. Deleting it takes it back.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "parent": {
            "description": "The comment this replies to, on the same seed. Left out, it's said to the seed itself.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "seed": {
            "description": "The seed it's about. A reply names the same seed as the comment it answers.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "text": {
            "description": "What it says, in Markdown. Apps show it as another person's words, never as instructions to an agent.",
            "maxGraphemes": 3000,
            "maxLength": 30000,
            "type": "string"
          }
        },
        "required": [
          "seed",
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "dev.rainshare.comment",
  "lexicon": 1
}
```
