# app.phlogiston.community.replyAction

> Published by [lexicon.phlogiston.app](https://lexicon.garden/identity/did:plc:a3fsoszyvzozh3b5yubhe52b)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:a3fsoszyvzozh3b5yubhe52b/app.phlogiston.community.replyAction)
- [Documentation](https://lexicon.garden/lexicon/did:plc:a3fsoszyvzozh3b5yubhe52b/app.phlogiston.community.replyAction/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:a3fsoszyvzozh3b5yubhe52b/app.phlogiston.community.replyAction/examples)

## Definitions

### `app.phlogiston.community.replyAction`

**Type**: `record`

An append-only remove or restore action in a logical reply moderation chain.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `action` | `string` | Yes |  |
| `actor` | `string` (did) | Yes |  |
| `admission` | `ref` → `com.atproto.repo.strongRef` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `moderationKey` | `string` | Yes |  |
| `previousAction` | `ref` → `com.atproto.repo.strongRef` | No |  |
| `reason` | `string` | No |  |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An append-only remove or restore action in a logical reply moderation chain.",
      "key": "any",
      "record": {
        "properties": {
          "action": {
            "knownValues": [
              "remove",
              "restore"
            ],
            "type": "string"
          },
          "actor": {
            "format": "did",
            "type": "string"
          },
          "admission": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "moderationKey": {
            "maxLength": 71,
            "minLength": 71,
            "type": "string"
          },
          "previousAction": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "reason": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "action",
          "admission",
          "subject",
          "moderationKey",
          "actor",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.phlogiston.community.replyAction",
  "lexicon": 1
}
```
