# net.wireservice.comment

> Published by [wireservice.net](https://lexicon.garden/identity/did:plc:lktj64hp7lc3fzuf6iyy7lwj)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.comment)
- [Documentation](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.comment/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:lktj64hp7lc3fzuf6iyy7lwj/net.wireservice.comment/examples)

## Definitions

### `net.wireservice.comment`

**Type**: `record`

An editorial comment on a draft, stored in the publication's private staff space. Written by the publication's DID on behalf of the author.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `anchor` | `string` | No | Identifier of the component the comment refers to, if any. |
| `author` | `string` (did) | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `parent` | `string` (at-uri) | No | AT URI of the comment this replies to. |
| `resolved` | `boolean` | No |  |
| `subject` | `string` (at-uri) | Yes | AT URI of the net.wireservice.draft being discussed. |
| `text` | `string` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An editorial comment on a draft, stored in the publication's private staff space. Written by the publication's DID on behalf of the author.",
      "key": "tid",
      "record": {
        "properties": {
          "anchor": {
            "description": "Identifier of the component the comment refers to, if any.",
            "maxLength": 256,
            "type": "string"
          },
          "author": {
            "format": "did",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "parent": {
            "description": "AT URI of the comment this replies to.",
            "format": "at-uri",
            "type": "string"
          },
          "resolved": {
            "type": "boolean"
          },
          "subject": {
            "description": "AT URI of the net.wireservice.draft being discussed.",
            "format": "at-uri",
            "type": "string"
          },
          "text": {
            "maxGraphemes": 10000,
            "maxLength": 100000,
            "type": "string"
          }
        },
        "required": [
          "subject",
          "author",
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "net.wireservice.comment",
  "lexicon": 1
}
```
