com.atproto.moderation.createReport

atproto-lexicons.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Submit a moderation report regarding an atproto account or record. Implemented by moderation services (with PDS proxying), and requires auth.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "modTool": {
              "ref": "#modTool",
              "type": "ref"
            },
            "reason": {
              "description": "Additional context about the content and violation.",
              "maxGraphemes": 2000,
              "maxLength": 20000,
              "type": "string"
            },
            "reasonType": {
              "description": "Indicates the broad category of violation the report is for.",
              "ref": "com.atproto.moderation.defs#reasonType",
              "type": "ref"
            },
            "subject": {
              "refs": [
                "com.atproto.admin.defs#repoRef",
                "com.atproto.repo.strongRef"
              ],
              "type": "union"
            }
          },
          "required": [
            "reasonType",
            "subject"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "createdAt": {
              "format": "datetime",
              "type": "string"
            },
            "id": {
              "type": "integer"
            },
            "reason": {
              "maxGraphemes": 2000,
              "maxLength": 20000,
              "type": "string"
            },
            "reasonType": {
              "ref": "com.atproto.moderation.defs#reasonType",
              "type": "ref"
            },
            "reportedBy": {
              "format": "did",
              "type": "string"
            },
            "subject": {
              "refs": [
                "com.atproto.admin.defs#repoRef",
                "com.atproto.repo.strongRef"
              ],
              "type": "union"
            }
          },
          "required": [
            "id",
            "reasonType",
            "subject",
            "reportedBy",
            "createdAt"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    },
    "modTool": {
      "description": "Moderation tool information for tracing the source of the action",
      "properties": {
        "meta": {
          "description": "Additional arbitrary metadata about the source",
          "type": "unknown"
        },
        "name": {
          "description": "Name/identifier of the source (e.g., 'bsky-app/android', 'bsky-web/chrome')",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    }
  },
  "id": "com.atproto.moderation.createReport",
  "lexicon": 1
}

Validate Record

Validate a record against com.atproto.moderation.createReport

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:6msi3pj7krzih5qxqtryxlzw
CID
bafyreib5kl3klngngi47k7nx2g2bmrg2roj52q3dobvuf73kr3exvn73n4
Indexed At
2026-02-18 18:56 UTC
AT-URI
at://did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.lexicon.schema/com.atproto.moderation.createReport

Referenced Schemas (2)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@