tools.ozone.inbox.getReport

ozone-lexicons.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get a moderation report submitted by the authenticated account to this moderation service.",
      "errors": [
        {
          "description": "No report was found, or the authenticated account did not submit it.",
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "report": {
              "ref": "#reportView",
              "type": "ref"
            },
            "resolution": {
              "description": "Present only when the report is resolved.",
              "ref": "#resolutionView",
              "type": "ref"
            }
          },
          "required": [
            "report"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "description": "Reporter to preview. Defaults to the authenticated account; another account requires an active moderator, triage, or admin credential.",
            "format": "did",
            "type": "string"
          },
          "id": {
            "description": "Report ID (report table ID), as returned by listReports.",
            "type": "integer"
          }
        },
        "required": [
          "id"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "reportView": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "id": {
          "description": "Report ID (report table ID), used by Ozone's report detail page.",
          "type": "integer"
        },
        "reason": {
          "maxGraphemes": 2000,
          "maxLength": 20000,
          "type": "string"
        },
        "reasonType": {
          "description": "The exact fully-qualified reason NSID submitted with and stored on the report.",
          "type": "string"
        },
        "record": {
          "description": "Raw record JSON for the subject, when the subject is a record and the record is available.",
          "type": "unknown"
        },
        "src": {
          "description": "DID of the moderation service that received the report.",
          "format": "did",
          "type": "string"
        },
        "status": {
          "knownValues": [
            "pending",
            "resolved"
          ],
          "type": "string"
        },
        "subject": {
          "refs": [
            "com.atproto.admin.defs#repoRef",
            "com.atproto.repo.strongRef",
            "chat.bsky.convo.defs#messageRef",
            "chat.bsky.convo.defs#convoRef"
          ],
          "type": "union"
        },
        "updatedAt": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "src",
        "id",
        "reasonType",
        "subject",
        "status",
        "createdAt",
        "updatedAt"
      ],
      "type": "object"
    },
    "resolutionView": {
      "properties": {
        "actionTaken": {
          "description": "Public action associated with this report's resolution. See the public action vocabulary table.",
          "type": "string"
        },
        "outcome": {
          "knownValues": [
            "actionTaken",
            "noAction",
            "other"
          ],
          "type": "string"
        },
        "resolvedAt": {
          "format": "datetime",
          "type": "string"
        },
        "scope": {
          "knownValues": [
            "network",
            "app",
            "labelOnly"
          ],
          "type": "string"
        }
      },
      "required": [
        "outcome",
        "resolvedAt"
      ],
      "type": "object"
    }
  },
  "id": "tools.ozone.inbox.getReport",
  "lexicon": 1
}

Validate Record

Validate a record against tools.ozone.inbox.getReport

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

Metadata

DID
did:plc:33dt5kftu3jq2h5h4jjlqezt
CID
bafyreibtitryqubnwyxbebb6w6l3i2giykls6cder6vysg6g6e2gwz7obi
Indexed At
2026-10-07 18:19 UTC
AT-URI
at://did:plc:33dt5kftu3jq2h5h4jjlqezt/com.atproto.lexicon.schema/tools.ozone.inbox.getReport

Referenced Schemas (3)

Similar Lexicons

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

Lexicon Garden

@