Backfill in-progress. Some lexicons and records may be missing or incomplete.

com.atproto.moderation.createReport

atproto-lexicons.bsky.social

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

Referenced Schemas (2)

Lexicon Garden

@