# at.colocate.moderation

> Published by [colocate.at](https://lexicon.garden/identity/did:plc:5q2ni46yjdcgf3baqd5e4prs)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:5q2ni46yjdcgf3baqd5e4prs/at.colocate.moderation)
- [Documentation](https://lexicon.garden/lexicon/did:plc:5q2ni46yjdcgf3baqd5e4prs/at.colocate.moderation/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:5q2ni46yjdcgf3baqd5e4prs/at.colocate.moderation/examples)

## Definitions

### `at.colocate.moderation`

**Type**: `record`

**Key**: `tid`

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

## Raw Schema

```json
{
  "id": "at.colocate.moderation",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "action",
          "createdAt"
        ],
        "properties": {
          "action": {
            "type": "string",
            "knownValues": [
              "hide",
              "restore"
            ]
          },
          "reason": {
            "type": "string",
            "maxLength": 5000,
            "maxGraphemes": 500
          },
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
