# tools.ozone.report.defs

- Kind: defs
- Authority: report.ozone.tools
- Lexicon: 1
- Published by [ozone-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:33dt5kftu3jq2h5h4jjlqezt), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.report.defs)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.report.defs/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:33dt5kftu3jq2h5h4jjlqezt/tools.ozone.report.defs/analytics)

## #assignmentActivity (`tools.ozone.report.defs#assignmentActivity`)

Type: object

Activity recording a moderator being assigned to a report.

### Properties

- `previousStatus` (string): The report's status before this activity. Populated automatically from the report row; not required in input.
  - Constraints: knownValues: open | closed | escalated | queued | assigned

## #assignmentView (`tools.ozone.report.defs#assignmentView`)

Type: object

### Properties

- `did` (string · did, required)
- `endAt` (string · datetime)
- `id` (integer, required)
- `moderator` (ref): The moderator assigned to this report
  - Reference: `tools.ozone.team.defs#member`
- `queue` (ref)
  - Reference: `tools.ozone.queue.defs#queueView`
- `reportId` (integer, required)
- `startAt` (string · datetime, required)

## #closeActivity (`tools.ozone.report.defs#closeActivity`)

Type: object

Activity recording a report being closed.

### Properties

- `previousStatus` (string): The report's status before this activity. Populated automatically from the report row; not required in input.
  - Constraints: knownValues: open | closed | escalated | queued | assigned

## #escalationActivity (`tools.ozone.report.defs#escalationActivity`)

Type: object

Activity recording a report being escalated.

### Properties

- `previousStatus` (string): The report's status before this activity. Populated automatically from the report row; not required in input.
  - Constraints: knownValues: open | closed | escalated | queued | assigned

## #historicalStats (`tools.ozone.report.defs#historicalStats`)

Type: object

A single daily snapshot of report statistics for a calendar date.

### Properties

- `acknowledgedCount` (integer): Number of closures whose last report action is not label, tag, or takedown during this day.
- `actionRate` (integer): Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer.
- `actionedCount` (integer): Number of closures whose last report action is label, tag, or takedown during this day.
- `ahtDurationSec` (integer): Sum of report assignment-to-close seconds for this day's samples.
- `ahtSampleCount` (integer): Number of assigned closed-report samples in ahtDurationSec.
- `avgHandlingTimeSec` (integer): Average handling time in seconds from report assignment to close.
- `avgResolutionTimeSec` (integer): Average resolution time in seconds from report creation to close.
- `closedCount` (integer): Number of close transitions during this day.
- `closureTargetMetCount` (integer): Reports whose closure meets their closure target.
  - Constraints: minimum: 0
- `closureTargetMetRate` (integer): Percent of reports meeting their closure target.
  - Constraints: minimum: 0, maximum: 100
- `closureTargetMissedCount` (integer): Reports whose closure exceeds their closure target.
  - Constraints: minimum: 0
- `closureTargetOverdueCount` (integer): Unmuted pending reports past their closure target at the snapshot time.
  - Constraints: minimum: 0
- `computedAt` (string · datetime): When this snapshot was last computed.
- `date` (string, required): The calendar date this snapshot covers (YYYY-MM-DD).
- `escalatedCount` (integer): Number of reports escalated during this day.
- `inboundCount` (integer): Reports received during this day.
- `labelActionCount` (integer): Closures whose last report action is a label event during this day.
- `pendingCount` (integer): Number of unmuted reports not closed at the end of this UTC day, or at computation time for the current day.
- `resolutionDurationSec` (integer): Sum of report creation-to-close seconds for this day's samples.
- `resolutionSampleCount` (integer): Number of closed-report samples in resolutionDurationSec.
- `tagActionCount` (integer): Closures whose last report action is a tag event during this day.
- `takedownActionCount` (integer): Closures whose last report action is a takedown event during this day.

## #liveStats (`tools.ozone.report.defs#liveStats`)

Type: object

Live statistics for reports for the current calendar day, filterable by queue, moderator, or report type.

### Properties

- `acknowledgedCount` (integer): Number of closures whose last report action is not label, tag, or takedown.
- `actionRate` (integer): Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer.
- `actionedCount` (integer): Number of closures whose last report action is label, tag, or takedown.
- `ahtDurationSec` (integer): Sum of report assignment-to-close seconds.
- `ahtSampleCount` (integer): Number of assigned closed-report samples in ahtDurationSec.
- `avgHandlingTimeSec` (integer): Average handling time in seconds from report assignment to close.
- `avgResolutionTimeSec` (integer): Average resolution time in seconds from report creation to close.
- `closedCount` (integer): Number of close transitions.
- `closureTargetMetCount` (integer): Reports whose closure meets their closure target.
  - Constraints: minimum: 0
- `closureTargetMetRate` (integer): Percent of reports meeting their closure target.
  - Constraints: minimum: 0, maximum: 100
- `closureTargetMissedCount` (integer): Reports whose closure exceeds their closure target.
  - Constraints: minimum: 0
- `closureTargetOverdueCount` (integer): Unmuted pending reports past their closure target.
  - Constraints: minimum: 0
- `escalatedCount` (integer): Number of reports escalated.
- `inboundCount` (integer): Reports received.
- `labelActionCount` (integer): Closures whose last report action is a label event.
- `lastUpdated` (string · datetime): When these statistics were last computed.
- `pendingCount` (integer): Number of unmuted reports currently not closed.
- `resolutionDurationSec` (integer): Sum of report creation-to-close seconds.
- `resolutionSampleCount` (integer): Number of closed-report samples in resolutionDurationSec.
- `tagActionCount` (integer): Closures whose last report action is a tag event.
- `takedownActionCount` (integer): Closures whose last report action is a takedown event.

## #noteActivity (`tools.ozone.report.defs#noteActivity`)

Type: object

Activity recording a note on a report. Use internalNote for moderator-only notes or publicNote for reporter-visible notes (or both).

### Properties


## #queueActivity (`tools.ozone.report.defs#queueActivity`)

Type: object

Activity recording a report being routed to a queue.

### Properties

- `previousStatus` (string): The report's status before this activity. Populated automatically from the report row; not required in input.
  - Constraints: knownValues: open | closed | escalated | queued | assigned

## #reasonAppeal (`tools.ozone.report.defs#reasonAppeal`)

Type: token

Appeal a previously taken moderation action

## #reasonChildSafetyCSAM (`tools.ozone.report.defs#reasonChildSafetyCSAM`)

Type: token

Child sexual abuse material (CSAM). These reports will be sent only be sent to the application's Moderation Authority.

## #reasonChildSafetyGroom (`tools.ozone.report.defs#reasonChildSafetyGroom`)

Type: token

Grooming or predatory behavior. These reports will be sent only be sent to the application's Moderation Authority.

## #reasonChildSafetyHarassment (`tools.ozone.report.defs#reasonChildSafetyHarassment`)

Type: token

Harassment or bullying of minors

## #reasonChildSafetyOther (`tools.ozone.report.defs#reasonChildSafetyOther`)

Type: token

Other child safety. These reports will be sent only be sent to the application's Moderation Authority.

## #reasonChildSafetyPrivacy (`tools.ozone.report.defs#reasonChildSafetyPrivacy`)

Type: token

Privacy violation involving a minor

## #reasonHarassmentDoxxing (`tools.ozone.report.defs#reasonHarassmentDoxxing`)

Type: token

Doxxing

## #reasonHarassmentHateSpeech (`tools.ozone.report.defs#reasonHarassmentHateSpeech`)

Type: token

Hate speech

## #reasonHarassmentOther (`tools.ozone.report.defs#reasonHarassmentOther`)

Type: token

Other harassing or hateful content

## #reasonHarassmentTargeted (`tools.ozone.report.defs#reasonHarassmentTargeted`)

Type: token

Targeted harassment

## #reasonHarassmentTroll (`tools.ozone.report.defs#reasonHarassmentTroll`)

Type: token

Trolling

## #reasonMisleadingBot (`tools.ozone.report.defs#reasonMisleadingBot`)

Type: token

Fake account or bot

## #reasonMisleadingElections (`tools.ozone.report.defs#reasonMisleadingElections`)

Type: token

False information about elections

## #reasonMisleadingImpersonation (`tools.ozone.report.defs#reasonMisleadingImpersonation`)

Type: token

Impersonation

## #reasonMisleadingOther (`tools.ozone.report.defs#reasonMisleadingOther`)

Type: token

Other misleading content

## #reasonMisleadingScam (`tools.ozone.report.defs#reasonMisleadingScam`)

Type: token

Scam

## #reasonMisleadingSpam (`tools.ozone.report.defs#reasonMisleadingSpam`)

Type: token

Spam

## #reasonOther (`tools.ozone.report.defs#reasonOther`)

Type: token

An issue not included in these options

## #reasonRuleBanEvasion (`tools.ozone.report.defs#reasonRuleBanEvasion`)

Type: token

Banned user returning

## #reasonRuleOther (`tools.ozone.report.defs#reasonRuleOther`)

Type: token

Other

## #reasonRuleProhibitedSales (`tools.ozone.report.defs#reasonRuleProhibitedSales`)

Type: token

Promoting or selling prohibited items or services

## #reasonRuleSiteSecurity (`tools.ozone.report.defs#reasonRuleSiteSecurity`)

Type: token

Hacking or system attacks

## #reasonSelfHarmContent (`tools.ozone.report.defs#reasonSelfHarmContent`)

Type: token

Content promoting or depicting self-harm

## #reasonSelfHarmED (`tools.ozone.report.defs#reasonSelfHarmED`)

Type: token

Eating disorders

## #reasonSelfHarmOther (`tools.ozone.report.defs#reasonSelfHarmOther`)

Type: token

Other dangerous content

## #reasonSelfHarmStunts (`tools.ozone.report.defs#reasonSelfHarmStunts`)

Type: token

Dangerous challenges or activities

## #reasonSelfHarmSubstances (`tools.ozone.report.defs#reasonSelfHarmSubstances`)

Type: token

Dangerous substances or drug abuse

## #reasonSexualAbuseContent (`tools.ozone.report.defs#reasonSexualAbuseContent`)

Type: token

Adult sexual abuse content

## #reasonSexualAnimal (`tools.ozone.report.defs#reasonSexualAnimal`)

Type: token

Animal sexual abuse

## #reasonSexualDeepfake (`tools.ozone.report.defs#reasonSexualDeepfake`)

Type: token

Deepfake adult content

## #reasonSexualNCII (`tools.ozone.report.defs#reasonSexualNCII`)

Type: token

Non-consensual intimate imagery

## #reasonSexualOther (`tools.ozone.report.defs#reasonSexualOther`)

Type: token

Other sexual violence content

## #reasonSexualUnlabeled (`tools.ozone.report.defs#reasonSexualUnlabeled`)

Type: token

Unlabelled adult content

## #reasonType (`tools.ozone.report.defs#reasonType`)

Type: string

Constraints: knownValues: tools.ozone.report.defs#reasonAppeal | tools.ozone.report.defs#reasonOther | tools.ozone.report.defs#reasonViolenceAnimal | tools.ozone.report.defs#reasonViolenceThreats | tools.ozone.report.defs#reasonViolenceGraphicContent | tools.ozone.report.defs#reasonViolenceGlorification | tools.ozone.report.defs#reasonViolenceExtremistContent | tools.ozone.report.defs#reasonViolenceTrafficking | tools.ozone.report.defs#reasonViolenceOther | tools.ozone.report.defs#reasonSexualAbuseContent | tools.ozone.report.defs#reasonSexualNCII | tools.ozone.report.defs#reasonSexualDeepfake | tools.ozone.report.defs#reasonSexualAnimal | tools.ozone.report.defs#reasonSexualUnlabeled | tools.ozone.report.defs#reasonSexualOther | tools.ozone.report.defs#reasonChildSafetyCSAM | tools.ozone.report.defs#reasonChildSafetyGroom | tools.ozone.report.defs#reasonChildSafetyPrivacy | tools.ozone.report.defs#reasonChildSafetyHarassment | tools.ozone.report.defs#reasonChildSafetyOther | tools.ozone.report.defs#reasonHarassmentTroll | tools.ozone.report.defs#reasonHarassmentTargeted | tools.ozone.report.defs#reasonHarassmentHateSpeech | tools.ozone.report.defs#reasonHarassmentDoxxing | tools.ozone.report.defs#reasonHarassmentOther | tools.ozone.report.defs#reasonMisleadingBot | tools.ozone.report.defs#reasonMisleadingImpersonation | tools.ozone.report.defs#reasonMisleadingSpam | tools.ozone.report.defs#reasonMisleadingScam | tools.ozone.report.defs#reasonMisleadingElections | tools.ozone.report.defs#reasonMisleadingOther | tools.ozone.report.defs#reasonRuleSiteSecurity | tools.ozone.report.defs#reasonRuleProhibitedSales | tools.ozone.report.defs#reasonRuleBanEvasion | tools.ozone.report.defs#reasonRuleOther | tools.ozone.report.defs#reasonSelfHarmContent | tools.ozone.report.defs#reasonSelfHarmED | tools.ozone.report.defs#reasonSelfHarmStunts | tools.ozone.report.defs#reasonSelfHarmSubstances | tools.ozone.report.defs#reasonSelfHarmOther

## #reasonViolenceAnimal (`tools.ozone.report.defs#reasonViolenceAnimal`)

Type: token

Animal welfare violations

## #reasonViolenceExtremistContent (`tools.ozone.report.defs#reasonViolenceExtremistContent`)

Type: token

Extremist content. These reports will be sent only be sent to the application's Moderation Authority.

## #reasonViolenceGlorification (`tools.ozone.report.defs#reasonViolenceGlorification`)

Type: token

Glorification of violence

## #reasonViolenceGraphicContent (`tools.ozone.report.defs#reasonViolenceGraphicContent`)

Type: token

Graphic violent content

## #reasonViolenceOther (`tools.ozone.report.defs#reasonViolenceOther`)

Type: token

Other violent content

## #reasonViolenceThreats (`tools.ozone.report.defs#reasonViolenceThreats`)

Type: token

Threats or incitement

## #reasonViolenceTrafficking (`tools.ozone.report.defs#reasonViolenceTrafficking`)

Type: token

Human trafficking

## #reopenActivity (`tools.ozone.report.defs#reopenActivity`)

Type: object

Activity recording a closed report being reopened. Only valid when the report is in 'closed' status.

### Properties

- `previousStatus` (string): The report's status before this activity. Populated automatically from the report row; not required in input.
  - Constraints: knownValues: open | closed | escalated | queued | assigned

## #reportActivityView (`tools.ozone.report.defs#reportActivityView`)

Type: object

A single activity entry on a report.

### Properties

- `activity` (union, required): The typed activity object describing what occurred.
  - One of: `#queueActivity`, `#assignmentActivity`, `#unassignmentActivity`, `#escalationActivity`, `#closeActivity`, `#reopenActivity`, `#noteActivity`
- `createdAt` (string · datetime, required): When this activity was created
- `createdBy` (string · did, required): DID of the actor who created this activity, or the service DID for automated activities.
- `id` (integer, required): Activity ID
- `internalNote` (string): Optional moderator-only note. Not visible to reporters.
- `isAutomated` (boolean, required): True if this activity was created by an automated process (e.g. queue router) rather than a direct human action.
- `meta` (unknown): Extensible JSON payload for loose activity-specific metadata (e.g. assignmentId).
- `moderator` (ref): Full member record of the moderator who created this activity
  - Reference: `tools.ozone.team.defs#member`
- `publicNote` (string): Optional public note, potentially visible to the reporter.
- `report` (ref): Full view of the report this activity belongs to.
  - Reference: `#reportView`
- `reportId` (integer, required): ID of the report this activity belongs to

## #reportAssignment (`tools.ozone.report.defs#reportAssignment`)

Type: object

Information about the moderator currently assigned to a report.

### Properties

- `assignedAt` (string · datetime, required): When the report was assigned
- `did` (string · did, required): DID of the assigned moderator
- `moderator` (ref): Full member record of the assigned moderator
  - Reference: `tools.ozone.team.defs#member`

## #reportView (`tools.ozone.report.defs#reportView`)

Type: object

### Properties

- `actionEventIds` (array): Array of moderation event IDs representing actions taken on this report, in append order (most recently linked event last)
  - `items` (integer)
- `actionNote` (string): Note sent to reporter when report was actioned
- `actions` (array): Optional: expanded action events
  - `items` (ref)
    - Reference: `tools.ozone.moderation.defs#modEventView`
- `assignment` (ref): Information about moderator currently assigned to this report (if any)
  - Reference: `#reportAssignment`
- `comment` (string): Comment provided by the reporter
- `createdAt` (string · datetime, required): When the report was created
- `eventId` (integer, required): ID of the moderation event that created this report
- `id` (integer, required): Report ID
- `isAutomated` (boolean): Whether this report was emitted by automated tooling.
  - Constraints: default: false
- `isMuted` (boolean): Whether this report is muted. A report is muted if the reporter was muted or the subject was muted at the time the report was created.
- `priorityLevel` (string): Priority level assigned to the report.
- `priorityScore` (integer): Report priority score. Higher scores have higher priority.
  - Constraints: minimum: 0, maximum: 100
- `priorityTargetMet` (boolean): Whether the current closure occurred within the report's snapshotted target.
- `priorityTargetMinutes` (integer): Target resolution duration in minutes.
  - Constraints: minimum: 1, maximum: 2147483647
- `queue` (ref): The queue this report is assigned to (if any)
  - Reference: `tools.ozone.queue.defs#queueView`
- `queuedAt` (string · datetime): When the report was assigned to its current queue
- `relatedReportCount` (integer): Number of other pending reports on the same subject
- `reportType` (ref, required): Type of report
  - Reference: `com.atproto.moderation.defs#reasonType`
- `reportedBy` (string · did, required): DID of the user who made the report
- `reporter` (ref, required): Full subject view of the reporter account
  - Reference: `tools.ozone.moderation.defs#subjectView`
- `resolutionTimeSec` (integer): Time from report creation to its last closure.
  - Constraints: minimum: 0
- `status` (string, required): Current status of the report
  - Constraints: knownValues: open | closed | escalated | queued | assigned
- `subject` (ref, required): The subject that was reported with full details
  - Reference: `tools.ozone.moderation.defs#subjectView`
- `subjectStatus` (ref): Current status of the reported subject
  - Reference: `tools.ozone.moderation.defs#subjectStatusView`
- `updatedAt` (string · datetime): When the report was last updated

## #unassignmentActivity (`tools.ozone.report.defs#unassignmentActivity`)

Type: object

Activity recording a moderator being unassigned from a report.

### Properties

- `nextStatus` (string): The report's status immediately after the moderator was unassigned. May equal previousStatus if unassignment did not change the report's status, or be absent on older activities.
  - Constraints: knownValues: open | closed | escalated | queued | assigned
- `previousStatus` (string): The report's status immediately before the moderator was unassigned. May be absent on older activities.
  - Constraints: knownValues: open | closed | escalated | queued | assigned

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "assignmentActivity": {
      "description": "Activity recording a moderator being assigned to a report.",
      "properties": {
        "previousStatus": {
          "description": "The report's status before this activity. Populated automatically from the report row; not required in input.",
          "knownValues": [
            "open",
            "closed",
            "escalated",
            "queued",
            "assigned"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "assignmentView": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "endAt": {
          "format": "datetime",
          "type": "string"
        },
        "id": {
          "type": "integer"
        },
        "moderator": {
          "description": "The moderator assigned to this report",
          "ref": "tools.ozone.team.defs#member",
          "type": "ref"
        },
        "queue": {
          "ref": "tools.ozone.queue.defs#queueView",
          "type": "ref"
        },
        "reportId": {
          "type": "integer"
        },
        "startAt": {
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "id",
        "did",
        "reportId",
        "startAt"
      ],
      "type": "object"
    },
    "closeActivity": {
      "description": "Activity recording a report being closed.",
      "properties": {
        "previousStatus": {
          "description": "The report's status before this activity. Populated automatically from the report row; not required in input.",
          "knownValues": [
            "open",
            "closed",
            "escalated",
            "queued",
            "assigned"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "escalationActivity": {
      "description": "Activity recording a report being escalated.",
      "properties": {
        "previousStatus": {
          "description": "The report's status before this activity. Populated automatically from the report row; not required in input.",
          "knownValues": [
            "open",
            "closed",
            "escalated",
            "queued",
            "assigned"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "historicalStats": {
      "description": "A single daily snapshot of report statistics for a calendar date.",
      "properties": {
        "acknowledgedCount": {
          "description": "Number of closures whose last report action is not label, tag, or takedown during this day.",
          "type": "integer"
        },
        "actionRate": {
          "description": "Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer.",
          "type": "integer"
        },
        "actionedCount": {
          "description": "Number of closures whose last report action is label, tag, or takedown during this day.",
          "type": "integer"
        },
        "ahtDurationSec": {
          "description": "Sum of report assignment-to-close seconds for this day's samples.",
          "type": "integer"
        },
        "ahtSampleCount": {
          "description": "Number of assigned closed-report samples in ahtDurationSec.",
          "type": "integer"
        },
        "avgHandlingTimeSec": {
          "description": "Average handling time in seconds from report assignment to close.",
          "type": "integer"
        },
        "avgResolutionTimeSec": {
          "description": "Average resolution time in seconds from report creation to close.",
          "type": "integer"
        },
        "closedCount": {
          "description": "Number of close transitions during this day.",
          "type": "integer"
        },
        "closureTargetMetCount": {
          "description": "Reports whose closure meets their closure target.",
          "minimum": 0,
          "type": "integer"
        },
        "closureTargetMetRate": {
          "description": "Percent of reports meeting their closure target.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        },
        "closureTargetMissedCount": {
          "description": "Reports whose closure exceeds their closure target.",
          "minimum": 0,
          "type": "integer"
        },
        "closureTargetOverdueCount": {
          "description": "Unmuted pending reports past their closure target at the snapshot time.",
          "minimum": 0,
          "type": "integer"
        },
        "computedAt": {
          "description": "When this snapshot was last computed.",
          "format": "datetime",
          "type": "string"
        },
        "date": {
          "description": "The calendar date this snapshot covers (YYYY-MM-DD).",
          "type": "string"
        },
        "escalatedCount": {
          "description": "Number of reports escalated during this day.",
          "type": "integer"
        },
        "inboundCount": {
          "description": "Reports received during this day.",
          "type": "integer"
        },
        "labelActionCount": {
          "description": "Closures whose last report action is a label event during this day.",
          "type": "integer"
        },
        "pendingCount": {
          "description": "Number of unmuted reports not closed at the end of this UTC day, or at computation time for the current day.",
          "type": "integer"
        },
        "resolutionDurationSec": {
          "description": "Sum of report creation-to-close seconds for this day's samples.",
          "type": "integer"
        },
        "resolutionSampleCount": {
          "description": "Number of closed-report samples in resolutionDurationSec.",
          "type": "integer"
        },
        "tagActionCount": {
          "description": "Closures whose last report action is a tag event during this day.",
          "type": "integer"
        },
        "takedownActionCount": {
          "description": "Closures whose last report action is a takedown event during this day.",
          "type": "integer"
        }
      },
      "required": [
        "date"
      ],
      "type": "object"
    },
    "liveStats": {
      "description": "Live statistics for reports for the current calendar day, filterable by queue, moderator, or report type.",
      "properties": {
        "acknowledgedCount": {
          "description": "Number of closures whose last report action is not label, tag, or takedown.",
          "type": "integer"
        },
        "actionRate": {
          "description": "Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer.",
          "type": "integer"
        },
        "actionedCount": {
          "description": "Number of closures whose last report action is label, tag, or takedown.",
          "type": "integer"
        },
        "ahtDurationSec": {
          "description": "Sum of report assignment-to-close seconds.",
          "type": "integer"
        },
        "ahtSampleCount": {
          "description": "Number of assigned closed-report samples in ahtDurationSec.",
          "type": "integer"
        },
        "avgHandlingTimeSec": {
          "description": "Average handling time in seconds from report assignment to close.",
          "type": "integer"
        },
        "avgResolutionTimeSec": {
          "description": "Average resolution time in seconds from report creation to close.",
          "type": "integer"
        },
        "closedCount": {
          "description": "Number of close transitions.",
          "type": "integer"
        },
        "closureTargetMetCount": {
          "description": "Reports whose closure meets their closure target.",
          "minimum": 0,
          "type": "integer"
        },
        "closureTargetMetRate": {
          "description": "Percent of reports meeting their closure target.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        },
        "closureTargetMissedCount": {
          "description": "Reports whose closure exceeds their closure target.",
          "minimum": 0,
          "type": "integer"
        },
        "closureTargetOverdueCount": {
          "description": "Unmuted pending reports past their closure target.",
          "minimum": 0,
          "type": "integer"
        },
        "escalatedCount": {
          "description": "Number of reports escalated.",
          "type": "integer"
        },
        "inboundCount": {
          "description": "Reports received.",
          "type": "integer"
        },
        "labelActionCount": {
          "description": "Closures whose last report action is a label event.",
          "type": "integer"
        },
        "lastUpdated": {
          "description": "When these statistics were last computed.",
          "format": "datetime",
          "type": "string"
        },
        "pendingCount": {
          "description": "Number of unmuted reports currently not closed.",
          "type": "integer"
        },
        "resolutionDurationSec": {
          "description": "Sum of report creation-to-close seconds.",
          "type": "integer"
        },
        "resolutionSampleCount": {
          "description": "Number of closed-report samples in resolutionDurationSec.",
          "type": "integer"
        },
        "tagActionCount": {
          "description": "Closures whose last report action is a tag event.",
          "type": "integer"
        },
        "takedownActionCount": {
          "description": "Closures whose last report action is a takedown event.",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "noteActivity": {
      "description": "Activity recording a note on a report. Use internalNote for moderator-only notes or publicNote for reporter-visible notes (or both).",
      "properties": {},
      "type": "object"
    },
    "queueActivity": {
      "description": "Activity recording a report being routed to a queue.",
      "properties": {
        "previousStatus": {
          "description": "The report's status before this activity. Populated automatically from the report row; not required in input.",
          "knownValues": [
            "open",
            "closed",
            "escalated",
            "queued",
            "assigned"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "reasonAppeal": {
      "description": "Appeal a previously taken moderation action",
      "type": "token"
    },
    "reasonChildSafetyCSAM": {
      "description": "Child sexual abuse material (CSAM). These reports will be sent only be sent to the application's Moderation Authority.",
      "type": "token"
    },
    "reasonChildSafetyGroom": {
      "description": "Grooming or predatory behavior. These reports will be sent only be sent to the application's Moderation Authority.",
      "type": "token"
    },
    "reasonChildSafetyHarassment": {
      "description": "Harassment or bullying of minors",
      "type": "token"
    },
    "reasonChildSafetyOther": {
      "description": "Other child safety. These reports will be sent only be sent to the application's Moderation Authority.",
      "type": "token"
    },
    "reasonChildSafetyPrivacy": {
      "description": "Privacy violation involving a minor",
      "type": "token"
    },
    "reasonHarassmentDoxxing": {
      "description": "Doxxing",
      "type": "token"
    },
    "reasonHarassmentHateSpeech": {
      "description": "Hate speech",
      "type": "token"
    },
    "reasonHarassmentOther": {
      "description": "Other harassing or hateful content",
      "type": "token"
    },
    "reasonHarassmentTargeted": {
      "description": "Targeted harassment",
      "type": "token"
    },
    "reasonHarassmentTroll": {
      "description": "Trolling",
      "type": "token"
    },
    "reasonMisleadingBot": {
      "description": "Fake account or bot",
      "type": "token"
    },
    "reasonMisleadingElections": {
      "description": "False information about elections",
      "type": "token"
    },
    "reasonMisleadingImpersonation": {
      "description": "Impersonation",
      "type": "token"
    },
    "reasonMisleadingOther": {
      "description": "Other misleading content",
      "type": "token"
    },
    "reasonMisleadingScam": {
      "description": "Scam",
      "type": "token"
    },
    "reasonMisleadingSpam": {
      "description": "Spam",
      "type": "token"
    },
    "reasonOther": {
      "description": "An issue not included in these options",
      "type": "token"
    },
    "reasonRuleBanEvasion": {
      "description": "Banned user returning",
      "type": "token"
    },
    "reasonRuleOther": {
      "description": "Other",
      "type": "token"
    },
    "reasonRuleProhibitedSales": {
      "description": "Promoting or selling prohibited items or services",
      "type": "token"
    },
    "reasonRuleSiteSecurity": {
      "description": "Hacking or system attacks",
      "type": "token"
    },
    "reasonSelfHarmContent": {
      "description": "Content promoting or depicting self-harm",
      "type": "token"
    },
    "reasonSelfHarmED": {
      "description": "Eating disorders",
      "type": "token"
    },
    "reasonSelfHarmOther": {
      "description": "Other dangerous content",
      "type": "token"
    },
    "reasonSelfHarmStunts": {
      "description": "Dangerous challenges or activities",
      "type": "token"
    },
    "reasonSelfHarmSubstances": {
      "description": "Dangerous substances or drug abuse",
      "type": "token"
    },
    "reasonSexualAbuseContent": {
      "description": "Adult sexual abuse content",
      "type": "token"
    },
    "reasonSexualAnimal": {
      "description": "Animal sexual abuse",
      "type": "token"
    },
    "reasonSexualDeepfake": {
      "description": "Deepfake adult content",
      "type": "token"
    },
    "reasonSexualNCII": {
      "description": "Non-consensual intimate imagery",
      "type": "token"
    },
    "reasonSexualOther": {
      "description": "Other sexual violence content",
      "type": "token"
    },
    "reasonSexualUnlabeled": {
      "description": "Unlabelled adult content",
      "type": "token"
    },
    "reasonType": {
      "knownValues": [
        "tools.ozone.report.defs#reasonAppeal",
        "tools.ozone.report.defs#reasonOther",
        "tools.ozone.report.defs#reasonViolenceAnimal",
        "tools.ozone.report.defs#reasonViolenceThreats",
        "tools.ozone.report.defs#reasonViolenceGraphicContent",
        "tools.ozone.report.defs#reasonViolenceGlorification",
        "tools.ozone.report.defs#reasonViolenceExtremistContent",
        "tools.ozone.report.defs#reasonViolenceTrafficking",
        "tools.ozone.report.defs#reasonViolenceOther",
        "tools.ozone.report.defs#reasonSexualAbuseContent",
        "tools.ozone.report.defs#reasonSexualNCII",
        "tools.ozone.report.defs#reasonSexualDeepfake",
        "tools.ozone.report.defs#reasonSexualAnimal",
        "tools.ozone.report.defs#reasonSexualUnlabeled",
        "tools.ozone.report.defs#reasonSexualOther",
        "tools.ozone.report.defs#reasonChildSafetyCSAM",
        "tools.ozone.report.defs#reasonChildSafetyGroom",
        "tools.ozone.report.defs#reasonChildSafetyPrivacy",
        "tools.ozone.report.defs#reasonChildSafetyHarassment",
        "tools.ozone.report.defs#reasonChildSafetyOther",
        "tools.ozone.report.defs#reasonHarassmentTroll",
        "tools.ozone.report.defs#reasonHarassmentTargeted",
        "tools.ozone.report.defs#reasonHarassmentHateSpeech",
        "tools.ozone.report.defs#reasonHarassmentDoxxing",
        "tools.ozone.report.defs#reasonHarassmentOther",
        "tools.ozone.report.defs#reasonMisleadingBot",
        "tools.ozone.report.defs#reasonMisleadingImpersonation",
        "tools.ozone.report.defs#reasonMisleadingSpam",
        "tools.ozone.report.defs#reasonMisleadingScam",
        "tools.ozone.report.defs#reasonMisleadingElections",
        "tools.ozone.report.defs#reasonMisleadingOther",
        "tools.ozone.report.defs#reasonRuleSiteSecurity",
        "tools.ozone.report.defs#reasonRuleProhibitedSales",
        "tools.ozone.report.defs#reasonRuleBanEvasion",
        "tools.ozone.report.defs#reasonRuleOther",
        "tools.ozone.report.defs#reasonSelfHarmContent",
        "tools.ozone.report.defs#reasonSelfHarmED",
        "tools.ozone.report.defs#reasonSelfHarmStunts",
        "tools.ozone.report.defs#reasonSelfHarmSubstances",
        "tools.ozone.report.defs#reasonSelfHarmOther"
      ],
      "type": "string"
    },
    "reasonViolenceAnimal": {
      "description": "Animal welfare violations",
      "type": "token"
    },
    "reasonViolenceExtremistContent": {
      "description": "Extremist content. These reports will be sent only be sent to the application's Moderation Authority.",
      "type": "token"
    },
    "reasonViolenceGlorification": {
      "description": "Glorification of violence",
      "type": "token"
    },
    "reasonViolenceGraphicContent": {
      "description": "Graphic violent content",
      "type": "token"
    },
    "reasonViolenceOther": {
      "description": "Other violent content",
      "type": "token"
    },
    "reasonViolenceThreats": {
      "description": "Threats or incitement",
      "type": "token"
    },
    "reasonViolenceTrafficking": {
      "description": "Human trafficking",
      "type": "token"
    },
    "reopenActivity": {
      "description": "Activity recording a closed report being reopened. Only valid when the report is in 'closed' status.",
      "properties": {
        "previousStatus": {
          "description": "The report's status before this activity. Populated automatically from the report row; not required in input.",
          "knownValues": [
            "open",
            "closed",
            "escalated",
            "queued",
            "assigned"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "reportActivityView": {
      "description": "A single activity entry on a report.",
      "properties": {
        "activity": {
          "description": "The typed activity object describing what occurred.",
          "refs": [
            "#queueActivity",
            "#assignmentActivity",
            "#unassignmentActivity",
            "#escalationActivity",
            "#closeActivity",
            "#reopenActivity",
            "#noteActivity"
          ],
          "type": "union"
        },
        "createdAt": {
          "description": "When this activity was created",
          "format": "datetime",
          "type": "string"
        },
        "createdBy": {
          "description": "DID of the actor who created this activity, or the service DID for automated activities.",
          "format": "did",
          "type": "string"
        },
        "id": {
          "description": "Activity ID",
          "type": "integer"
        },
        "internalNote": {
          "description": "Optional moderator-only note. Not visible to reporters.",
          "type": "string"
        },
        "isAutomated": {
          "description": "True if this activity was created by an automated process (e.g. queue router) rather than a direct human action.",
          "type": "boolean"
        },
        "meta": {
          "description": "Extensible JSON payload for loose activity-specific metadata (e.g. assignmentId).",
          "type": "unknown"
        },
        "moderator": {
          "description": "Full member record of the moderator who created this activity",
          "ref": "tools.ozone.team.defs#member",
          "type": "ref"
        },
        "publicNote": {
          "description": "Optional public note, potentially visible to the reporter.",
          "type": "string"
        },
        "report": {
          "description": "Full view of the report this activity belongs to.",
          "ref": "#reportView",
          "type": "ref"
        },
        "reportId": {
          "description": "ID of the report this activity belongs to",
          "type": "integer"
        }
      },
      "required": [
        "id",
        "reportId",
        "activity",
        "isAutomated",
        "createdBy",
        "createdAt"
      ],
      "type": "object"
    },
    "reportAssignment": {
      "description": "Information about the moderator currently assigned to a report.",
      "properties": {
        "assignedAt": {
          "description": "When the report was assigned",
          "format": "datetime",
          "type": "string"
        },
        "did": {
          "description": "DID of the assigned moderator",
          "format": "did",
          "type": "string"
        },
        "moderator": {
          "description": "Full member record of the assigned moderator",
          "ref": "tools.ozone.team.defs#member",
          "type": "ref"
        }
      },
      "required": [
        "did",
        "assignedAt"
      ],
      "type": "object"
    },
    "reportView": {
      "properties": {
        "actionEventIds": {
          "description": "Array of moderation event IDs representing actions taken on this report, in append order (most recently linked event last)",
          "items": {
            "type": "integer"
          },
          "type": "array"
        },
        "actionNote": {
          "description": "Note sent to reporter when report was actioned",
          "type": "string"
        },
        "actions": {
          "description": "Optional: expanded action events",
          "items": {
            "ref": "tools.ozone.moderation.defs#modEventView",
            "type": "ref"
          },
          "type": "array"
        },
        "assignment": {
          "description": "Information about moderator currently assigned to this report (if any)",
          "ref": "#reportAssignment",
          "type": "ref"
        },
        "comment": {
          "description": "Comment provided by the reporter",
          "type": "string"
        },
        "createdAt": {
          "description": "When the report was created",
          "format": "datetime",
          "type": "string"
        },
        "eventId": {
          "description": "ID of the moderation event that created this report",
          "type": "integer"
        },
        "id": {
          "description": "Report ID",
          "type": "integer"
        },
        "isAutomated": {
          "default": false,
          "description": "Whether this report was emitted by automated tooling.",
          "type": "boolean"
        },
        "isMuted": {
          "description": "Whether this report is muted. A report is muted if the reporter was muted or the subject was muted at the time the report was created.",
          "type": "boolean"
        },
        "priorityLevel": {
          "description": "Priority level assigned to the report.",
          "type": "string"
        },
        "priorityScore": {
          "description": "Report priority score. Higher scores have higher priority.",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        },
        "priorityTargetMet": {
          "description": "Whether the current closure occurred within the report's snapshotted target.",
          "type": "boolean"
        },
        "priorityTargetMinutes": {
          "description": "Target resolution duration in minutes.",
          "maximum": 2147483647,
          "minimum": 1,
          "type": "integer"
        },
        "queue": {
          "description": "The queue this report is assigned to (if any)",
          "ref": "tools.ozone.queue.defs#queueView",
          "type": "ref"
        },
        "queuedAt": {
          "description": "When the report was assigned to its current queue",
          "format": "datetime",
          "type": "string"
        },
        "relatedReportCount": {
          "description": "Number of other pending reports on the same subject",
          "type": "integer"
        },
        "reportType": {
          "description": "Type of report",
          "ref": "com.atproto.moderation.defs#reasonType",
          "type": "ref"
        },
        "reportedBy": {
          "description": "DID of the user who made the report",
          "format": "did",
          "type": "string"
        },
        "reporter": {
          "description": "Full subject view of the reporter account",
          "ref": "tools.ozone.moderation.defs#subjectView",
          "type": "ref"
        },
        "resolutionTimeSec": {
          "description": "Time from report creation to its last closure.",
          "minimum": 0,
          "type": "integer"
        },
        "status": {
          "description": "Current status of the report",
          "knownValues": [
            "open",
            "closed",
            "escalated",
            "queued",
            "assigned"
          ],
          "type": "string"
        },
        "subject": {
          "description": "The subject that was reported with full details",
          "ref": "tools.ozone.moderation.defs#subjectView",
          "type": "ref"
        },
        "subjectStatus": {
          "description": "Current status of the reported subject",
          "ref": "tools.ozone.moderation.defs#subjectStatusView",
          "type": "ref"
        },
        "updatedAt": {
          "description": "When the report was last updated",
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "id",
        "eventId",
        "status",
        "subject",
        "reportType",
        "reportedBy",
        "reporter",
        "createdAt"
      ],
      "type": "object"
    },
    "unassignmentActivity": {
      "description": "Activity recording a moderator being unassigned from a report.",
      "properties": {
        "nextStatus": {
          "description": "The report's status immediately after the moderator was unassigned. May equal previousStatus if unassignment did not change the report's status, or be absent on older activities.",
          "knownValues": [
            "open",
            "closed",
            "escalated",
            "queued",
            "assigned"
          ],
          "type": "string"
        },
        "previousStatus": {
          "description": "The report's status immediately before the moderator was unassigned. May be absent on older activities.",
          "knownValues": [
            "open",
            "closed",
            "escalated",
            "queued",
            "assigned"
          ],
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "tools.ozone.report.defs",
  "lexicon": 1
}
```
