# computer.localnetwork.moderation.decision

> A staff decision on a moderation request. Written only by the root account.

- Kind: record
- Record key: tid
- Authority: moderation.localnetwork.computer
- Lexicon: 1
- Published by [localnetwork.computer](https://lexicon.garden/identity/did:plc:d42l64gsczg6qh2vo243xv5l), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.moderation.decision)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.moderation.decision/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.moderation.decision/analytics)

## Record (`computer.localnetwork.moderation.decision`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `decidedBy` (string · did, required)
- `listing` (string · at-uri): The listing an approved list request made, like a computer.localnetwork.listing.profile record.
- `outcome` (string, required)
  - Constraints: maxLength: 32, knownValues: approved | rejected | changesRequested
- `project` (string · at-uri)
- `projectRevision` (integer)
  - Constraints: minimum: 1
- `reason` (string)
  - Constraints: maxLength: 10000, maxGraphemes: 1000
- `request` (string · at-uri, required)
- `requestCid` (string · cid)
- `requester` (string · did, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A staff decision on a moderation request. Written only by the root account.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "decidedBy": {
            "format": "did",
            "type": "string"
          },
          "listing": {
            "description": "The listing an approved list request made, like a computer.localnetwork.listing.profile record.",
            "format": "at-uri",
            "type": "string"
          },
          "outcome": {
            "knownValues": [
              "approved",
              "rejected",
              "changesRequested"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "project": {
            "format": "at-uri",
            "type": "string"
          },
          "projectRevision": {
            "minimum": 1,
            "type": "integer"
          },
          "reason": {
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "request": {
            "format": "at-uri",
            "type": "string"
          },
          "requestCid": {
            "format": "cid",
            "type": "string"
          },
          "requester": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "request",
          "requester",
          "outcome",
          "decidedBy",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "computer.localnetwork.moderation.decision",
  "lexicon": 1
}
```
