# app.phlogiston.community.modAction

> 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.modAction)
- [Documentation](https://lexicon.garden/lexicon/did:plc:a3fsoszyvzozh3b5yubhe52b/app.phlogiston.community.modAction/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:a3fsoszyvzozh3b5yubhe52b/app.phlogiston.community.modAction/examples)

## Definitions

### `app.phlogiston.community.modAction`

**Type**: `record`

An append-only moderation action in a community view. V0 understands removal only.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `action` | `string` | Yes |  |
| `actor` | `string` (did) | Yes |  |
| `admission` | `ref` → `com.atproto.repo.strongRef` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `reason` | `string` | No | Optional explanatory text; it does not determine authority or state. |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An append-only moderation action in a community view. V0 understands removal only.",
      "key": "any",
      "record": {
        "properties": {
          "action": {
            "knownValues": [
              "remove"
            ],
            "type": "string"
          },
          "actor": {
            "format": "did",
            "type": "string"
          },
          "admission": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "reason": {
            "description": "Optional explanatory text; it does not determine authority or state.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "action",
          "admission",
          "subject",
          "actor",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.phlogiston.community.modAction",
  "lexicon": 1
}
```
