app.didpic.moderation.createReport

lexicons.didpic.app

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "File a moderation report against an account, a record, or a hashtag.",
      "errors": [
        {
          "name": "InvalidRequest"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "reason": {
              "maxLength": 2000,
              "type": "string"
            },
            "reasonType": {
              "enum": [
                "spam",
                "violation",
                "illegal",
                "harassment",
                "sexual",
                "other"
              ],
              "type": "string"
            },
            "subjectCid": {
              "format": "cid",
              "type": "string"
            },
            "subjectDid": {
              "format": "did",
              "type": "string"
            },
            "subjectProfileMediaCid": {
              "description": "Blob CID of the reported avatar/banner.",
              "format": "cid",
              "type": "string"
            },
            "subjectProfileMediaKind": {
              "description": "When the report is over a profile image, which one.",
              "enum": [
                "avatar",
                "banner"
              ],
              "type": "string"
            },
            "subjectTag": {
              "description": "Hashtag name (without leading #).",
              "maxGraphemes": 64,
              "maxLength": 640,
              "type": "string"
            },
            "subjectUri": {
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "reasonType"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "createdAt": {
              "format": "datetime",
              "type": "string"
            },
            "id": {
              "type": "integer"
            }
          },
          "required": [
            "id",
            "createdAt"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.didpic.moderation.createReport",
  "lexicon": 1
}

Validate Record

Validate a record against app.didpic.moderation.createReport

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:an2jtp4jgkkbtmwfzhpbxawd
CID
bafyreie4cydx5kje5dgy5f3fy6rl3blkabrvnelr32d5a2czglx6k5r5ei
Indexed At
2026-06-06 05:04 UTC
AT-URI
at://did:plc:an2jtp4jgkkbtmwfzhpbxawd/com.atproto.lexicon.schema/app.didpic.moderation.createReport

Version History (5 versions)

Similar Lexicons

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

  • app.lovesky.moderation.createReport procedurenot from the namespace authority

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

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

  • 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…

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

  • Appeal a moderation decision on the authenticated user's own account or content.

Lexicon Garden

@