tools.ozone.inbox.defs

Details · defs
Kinddefs
Authorityinbox.ozone.tools
Commit rev3n2oxkuxysv2f
Indexed

Showing version bafyreigvobc4sl6noja3onf23qe52tbm4jkhg5bsfzeghefgykgf73mlea. Show the latest

#accountPreview

object

Current account information, when available; this is not a snapshot of the account at the time of the action.

Properties

handle

string · handle

profile

unknown

Raw app.bsky.actor.profile record, when available.

#actionView

object

A single moderation action taken against a subject.

Properties

createdAt

requiredstring · datetime

expiresAt

string · datetime

id

requiredinteger

Action ID (moderation event ID).

labels

array

Label values, for labelApplied/labelRemoved.

itemsstring

Policies applied by a takedown action.

itemsref
Reference

reversedAt

string · datetime

scope

string
  • knownValues: network | app | labelOnly

type

requiredstring

Public action type.

#appealView

object

The state of the viewer's appeal against the actions on a subject.

Properties

appealableUntil

string · datetime

appealedAt

string · datetime

outcome

string

Decision on a resolved appeal.

  • knownValues: approved | denied

resolvedAt

string · datetime

When the appeal's report was closed.

state

requiredstring
  • knownValues: none | pending | resolved | superseded | expired

#enforcementView

object

The current enforcement state of a subject.

Properties

expiresAt

string · datetime

labels

array

Active label values on the subject, excluding negated and expired labels.

itemsstring

scope

string
  • knownValues: network | app | labelOnly

state

requiredstring
  • knownValues: none | labeled | removed | suspended | takendown

#notification

object

Properties

createdAt

requiredstring · datetime

id

requiredinteger

isRead

requiredboolean

reason

requiredstring
  • knownValues: reportResolved | reportReopened | actionTaken | actionReversed | appealResolved | standingChanged

#notificationPreferences

object

Push notification preferences by moderation notification category. These preferences do not hide in-app inbox activity. Each category defaults to enabled.

Properties

account

requiredboolean

Notify about moderation actions against the account or its content, action reversals, appeal outcomes, and standing changes. Label application and removal are controlled by labels.

labels

requiredboolean

Notify when labels are applied to or removed from the account or its content (labelApplied and labelRemoved actions).

reports

requiredboolean

Notify about outcomes of reports filed by the account (reportResolved and reportReopened).

#policyView

object

Properties

displayName

requiredstring

key

requiredstring

#reportRef

object

Reference to a report by its report table ID, as used by getReport and Ozone's report detail page.

Properties

reportId

requiredinteger

status

string
  • knownValues: pending | resolved

#reportsSummary

object

Aggregate view of reports filed against this subject. Deliberately carries no report IDs, no count, and no reporter identities.

Properties

firstReportedOn

requiredstring · datetime

Day of the earliest report, truncated to midnight UTC. Render as a date; the time component is not meaningful.

lastReportedOn

requiredstring · datetime

Day of the most recent report, truncated to midnight UTC. Render as a date; the time component is not meaningful.

reasonTypes

requiredarray

Distinct reason types reported, deduplicated and unordered. Excludes reasonAppeal.

itemsstring

#standingRef

object

Properties

  • knownValues: good | warning | atRisk

standing

requiredstring
  • knownValues: good | warning | atRisk

#subjectRef

object

Properties

actionId

integer

Decision captured when an appealResolved notification was created. Omitted when the outcome is unknown.

  • knownValues: approved | denied

#subjectView

object

A subject belonging to the viewer that has moderation actions against it.

Properties

Reference
itemsstring
  • knownValues: appeal

createdAt

requiredstring · datetime

enforcement

requiredref
Reference

isRead

requiredboolean
Reference

src

requiredstring · did

DID of the moderation service that took the actions.

updatedAt

requiredstring · datetime

#subjectViewDetail

object

A subject with a page of its action history and an aggregate report summary. Follow cursor to retrieve older actions; enforcement and appeal describe the current subject state on every page.

Properties

Best-effort current profile information for an account subject.

Reference

actions

requiredarray

A page of action history, most recent first. Reversal timestamps include changes outside this page.

  • maxLength: 100
itemsref
Reference
Reference
itemsstring
  • knownValues: appeal

createdAt

requiredstring · datetime

cursor

string

Cursor for the next page of action history. Omitted when no older actions remain.

enforcement

requiredref
Reference

isRead

requiredboolean

record

unknown

Raw record JSON for the subject, when the subject is a record and the record is available.

Omitted when the subject has never been reported, e.g. proactive enforcement.

Reference

src

requiredstring · did

updatedAt

requiredstring · datetime

Similar lexicons

semantic match

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

  • Logs account status related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.

  • Get a moderation report submitted by the authenticated account to this moderation service.

  • List moderation reports submitted by the authenticated account to this moderation service.

  • AppView projection of a moderation_audit row. The audit log is append-only and never purged; entries survive hard-deletion of the actor account.

  • Recent activity in a Community, so its page can show the people in it and not only its counts.