com.getorbyt.community.createReport

getorbyt.com

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Creates a private Community-moderator report for a linked post. Requires authenticated service authorization.",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "CommunityNotFound"
        },
        {
          "name": "PostNotFound"
        },
        {
          "name": "RateLimitExceeded"
        },
        {
          "name": "InvalidRequest"
        },
        {
          "name": "RuleNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "community": {
              "format": "at-uri",
              "type": "string"
            },
            "details": {
              "description": "Anything the reporter wants moderators to know.",
              "maxLength": 2000,
              "type": "string"
            },
            "post": {
              "format": "at-uri",
              "type": "string"
            },
            "reason": {
              "description": "Human-readable reason, shown by builds that do not read reasonType.",
              "maxLength": 2000,
              "minLength": 1,
              "type": "string"
            },
            "reasonType": {
              "knownValues": [
                "rule",
                "spam",
                "harassment",
                "unsafe",
                "other"
              ],
              "type": "string"
            },
            "ruleIndex": {
              "description": "With reasonType rule: the position of the broken rule in the Community's rules.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "community",
            "post",
            "reason"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "created": {
              "type": "boolean"
            },
            "report": {
              "ref": "com.getorbyt.community.defs#reportView",
              "type": "ref"
            }
          },
          "required": [
            "report",
            "created"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "com.getorbyt.community.createReport",
  "lexicon": 1
}

Validate Record

Validate a record against com.getorbyt.community.createReport

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

Metadata

DID
did:plc:2xrqztnmzlckb3xfuuukupso
CID
bafyreibyzyfahaycn3pvfvucxvxop7e5ljfpfvietn7kn52a2fzhiidfzu
Indexed At
2026-10-04 14:54 UTC
AT-URI
at://did:plc:2xrqztnmzlckb3xfuuukupso/com.atproto.lexicon.schema/com.getorbyt.community.createReport

Version History (2 versions)

Referenced Schemas (1)

Similar Lexicons

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

  • Submit a moderation report regarding an atproto account or record. Implemented by moderation services (with PDS proxying), and requires auth.

  • Report content for moderation review. Requires authentication. Duplicate reports from the same user for the same content are idempotent.

  • Submit a user-initiated report on a post, reply, or actor account. The reporter DID is read from the authenticated principal. Reports are dedupe-forever on (reporter, subject): a duplicate submission returns the existin…

  • The moderation queue grouped by post: each reported post once, with how many reports it has and why, newest report first. Requires manage-reports.

  • Resolves one Community report by removing its post or dismissing the report. Requires authenticated moderator authorization.

Lexicon Garden

@