# app.lovesky.moderation.createReport

> Published by [toddlambert.com](https://lexicon.garden/identity/did:plc:r5pj64joaywqnvk2obembpt7)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:r5pj64joaywqnvk2obembpt7/app.lovesky.moderation.createReport)
- [Documentation](https://lexicon.garden/lexicon/did:plc:r5pj64joaywqnvk2obembpt7/app.lovesky.moderation.createReport/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:r5pj64joaywqnvk2obembpt7/app.lovesky.moderation.createReport/examples)

## Definitions

### `app.lovesky.moderation.createReport`

**Type**: `procedure`

Report an account to Lovesky's moderators. Reports are private; the subject is never told who reported them.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `convoId` | `string` | No | The conversation the report is about, if any. |
| `details` | `string` | No |  |
| `reason` | `string` | Yes |  |
| `subject` | `string` (did) | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | `string` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Report an account to Lovesky's moderators. Reports are private; the subject is never told who reported them.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "convoId": {
              "description": "The conversation the report is about, if any.",
              "type": "string"
            },
            "details": {
              "maxGraphemes": 2000,
              "maxLength": 20000,
              "type": "string"
            },
            "reason": {
              "knownValues": [
                "spam",
                "harassment",
                "fake",
                "underage",
                "inappropriate",
                "other"
              ],
              "maxLength": 64,
              "type": "string"
            },
            "subject": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "subject",
            "reason"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "id": {
              "type": "string"
            }
          },
          "required": [
            "id"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.lovesky.moderation.createReport",
  "lexicon": 1
}
```
