full diff

tools.ozone.report.defs

From
bafyreibfark4q32hks5u6ytbgpsqga7unriwg224lzimwtgdgwe6v3m4ue indexed 2026-10-03 21:31 UTC View this version
To
bafyreierydps5vinv5ods32xe6vcgfdvncpaeoxyyuysidr7moedajpoou indexed 2026-10-07 18:19 UTC View this version

Compatibility

breaking 8 breaking changes, 16 non-breaking changes.

Breaking changes (8)
  • RemovedEdge RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant2", kind: "variant", name: Some("#escalationActivity") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant3", kind: "variant", name: Some("#closeActivity") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant4", kind: "variant", name: Some("#reopenActivity") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant5", kind: "variant", name: Some("#noteActivity") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant2", tgt: "tools.ozone.report.defs#escalationActivity", kind: "ref", name: None }
  • RemovedEdge RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant3", tgt: "tools.ozone.report.defs#closeActivity", kind: "ref", name: None }
  • RemovedEdge RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant4", tgt: "tools.ozone.report.defs#reopenActivity", kind: "ref", name: None }
  • RemovedEdge RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant5", tgt: "tools.ozone.report.defs#noteActivity", kind: "ref", name: None }
Non-breaking changes (16)
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.report.defs#reportActivityView.activity:variant6" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.report.defs#unassignmentActivity" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.report.defs#unassignmentActivity.nextStatus" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.report.defs#unassignmentActivity.previousStatus" }
  • AddedEdge AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant2", kind: "variant", name: Some("#unassignmentActivity") }
  • AddedEdge AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant3", kind: "variant", name: Some("#escalationActivity") }
  • AddedEdge AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant4", kind: "variant", name: Some("#closeActivity") }
  • AddedEdge AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant5", kind: "variant", name: Some("#reopenActivity") }
  • AddedEdge AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant6", kind: "variant", name: Some("#noteActivity") }
  • AddedEdge AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant2", tgt: "tools.ozone.report.defs#unassignmentActivity", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant3", tgt: "tools.ozone.report.defs#escalationActivity", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant4", tgt: "tools.ozone.report.defs#closeActivity", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant5", tgt: "tools.ozone.report.defs#reopenActivity", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant6", tgt: "tools.ozone.report.defs#noteActivity", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "tools.ozone.report.defs#unassignmentActivity", tgt: "tools.ozone.report.defs#unassignmentActivity.nextStatus", kind: "prop", name: Some("nextStatus") }
  • AddedEdge AddedEdge { src: "tools.ozone.report.defs#unassignmentActivity", tgt: "tools.ozone.report.defs#unassignmentActivity.previousStatus", kind: "prop", name: Some("previousStatus") }

Migration guidance

Added

  • AddedVertex { vertex_id: "tools.ozone.report.defs#reportActivityView.activity:variant6" }
  • AddedVertex { vertex_id: "tools.ozone.report.defs#unassignmentActivity" }
  • AddedVertex { vertex_id: "tools.ozone.report.defs#unassignmentActivity.nextStatus" }
  • AddedVertex { vertex_id: "tools.ozone.report.defs#unassignmentActivity.previousStatus" }

Notes

  • Breaking: RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant2", kind: "variant", name: Some("#escalationActivity") }
  • Breaking: RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant3", kind: "variant", name: Some("#closeActivity") }
  • Breaking: RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant4", kind: "variant", name: Some("#reopenActivity") }
  • Breaking: RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant5", kind: "variant", name: Some("#noteActivity") }
  • Breaking: RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant2", tgt: "tools.ozone.report.defs#escalationActivity", kind: "ref", name: None }
  • Breaking: RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant3", tgt: "tools.ozone.report.defs#closeActivity", kind: "ref", name: None }
  • Breaking: RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant4", tgt: "tools.ozone.report.defs#reopenActivity", kind: "ref", name: None }
  • Breaking: RemovedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant5", tgt: "tools.ozone.report.defs#noteActivity", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant2", kind: "variant", name: Some("#unassignmentActivity") }
  • Non-breaking: AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant3", kind: "variant", name: Some("#escalationActivity") }
  • Non-breaking: AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant4", kind: "variant", name: Some("#closeActivity") }
  • Non-breaking: AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant5", kind: "variant", name: Some("#reopenActivity") }
  • Non-breaking: AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity", tgt: "tools.ozone.report.defs#reportActivityView.activity:variant6", kind: "variant", name: Some("#noteActivity") }
  • Non-breaking: AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant2", tgt: "tools.ozone.report.defs#unassignmentActivity", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant3", tgt: "tools.ozone.report.defs#escalationActivity", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant4", tgt: "tools.ozone.report.defs#closeActivity", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant5", tgt: "tools.ozone.report.defs#reopenActivity", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "tools.ozone.report.defs#reportActivityView.activity:variant6", tgt: "tools.ozone.report.defs#noteActivity", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "tools.ozone.report.defs#unassignmentActivity", tgt: "tools.ozone.report.defs#unassignmentActivity.nextStatus", kind: "prop", name: Some("nextStatus") }
  • Non-breaking: AddedEdge { src: "tools.ozone.report.defs#unassignmentActivity", tgt: "tools.ozone.report.defs#unassignmentActivity.previousStatus", kind: "prop", name: Some("previousStatus") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "assignmentActivity": {
55 "description": "Activity recording a moderator being assigned to a report.",
66 "properties": {
77 "previousStatus": {
88 "description": "The report's status before this activity. Populated automatically from the report row; not required in input.",
99 "knownValues": [
1010 "open",
1111 "closed",
1212 "escalated",
1313 "queued",
1414 "assigned"
1515 ],
1616 "type": "string"
1717 }
1818 },
1919 "type": "object"
2020 },
2121 "assignmentView": {
2222 "properties": {
2323 "did": {
2424 "format": "did",
2525 "type": "string"
2626 },
2727 "endAt": {
2828 "format": "datetime",
2929 "type": "string"
3030 },
3131 "id": {
3232 "type": "integer"
3333 },
3434 "moderator": {
3535 "description": "The moderator assigned to this report",
3636 "ref": "tools.ozone.team.defs#member",
3737 "type": "ref"
3838 },
3939 "queue": {
4040 "ref": "tools.ozone.queue.defs#queueView",
4141 "type": "ref"
4242 },
4343 "reportId": {
4444 "type": "integer"
4545 },
4646 "startAt": {
4747 "format": "datetime",
4848 "type": "string"
4949 }
5050 },
5151 "required": [
5252 "id",
5353 "did",
5454 "reportId",
5555 "startAt"
5656 ],
5757 "type": "object"
5858 },
5959 "closeActivity": {
6060 "description": "Activity recording a report being closed.",
6161 "properties": {
6262 "previousStatus": {
6363 "description": "The report's status before this activity. Populated automatically from the report row; not required in input.",
6464 "knownValues": [
6565 "open",
6666 "closed",
6767 "escalated",
6868 "queued",
6969 "assigned"
7070 ],
7171 "type": "string"
7272 }
7373 },
7474 "type": "object"
7575 },
7676 "escalationActivity": {
7777 "description": "Activity recording a report being escalated.",
7878 "properties": {
7979 "previousStatus": {
8080 "description": "The report's status before this activity. Populated automatically from the report row; not required in input.",
8181 "knownValues": [
8282 "open",
8383 "closed",
8484 "escalated",
8585 "queued",
8686 "assigned"
8787 ],
8888 "type": "string"
8989 }
9090 },
9191 "type": "object"
9292 },
9393 "historicalStats": {
9494 "description": "A single daily snapshot of report statistics for a calendar date.",
9595 "properties": {
9696 "acknowledgedCount": {
9797 "description": "Number of closures whose last report action is not label, tag, or takedown during this day.",
9898 "type": "integer"
9999 },
100100 "actionRate": {
101101 "description": "Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer.",
102102 "type": "integer"
103103 },
104104 "actionedCount": {
105105 "description": "Number of closures whose last report action is label, tag, or takedown during this day.",
106106 "type": "integer"
107107 },
108108 "ahtDurationSec": {
109109 "description": "Sum of report assignment-to-close seconds for this day's samples.",
110110 "type": "integer"
111111 },
112112 "ahtSampleCount": {
113113 "description": "Number of assigned closed-report samples in ahtDurationSec.",
114114 "type": "integer"
115115 },
116116 "avgHandlingTimeSec": {
117117 "description": "Average handling time in seconds from report assignment to close.",
118118 "type": "integer"
119119 },
120120 "avgResolutionTimeSec": {
121121 "description": "Average resolution time in seconds from report creation to close.",
122122 "type": "integer"
123123 },
124124 "closedCount": {
125125 "description": "Number of close transitions during this day.",
126126 "type": "integer"
127127 },
128128 "computedAt": {
129129 "description": "When this snapshot was last computed.",
130130 "format": "datetime",
131131 "type": "string"
132132 },
133133 "date": {
134134 "description": "The calendar date this snapshot covers (YYYY-MM-DD).",
135135 "type": "string"
136136 },
137137 "escalatedCount": {
138138 "description": "Number of reports escalated during this day.",
139139 "type": "integer"
140140 },
141141 "inboundCount": {
142142 "description": "Reports received during this day.",
143143 "type": "integer"
144144 },
145145 "labelActionCount": {
146146 "description": "Closures whose last report action is a label event during this day.",
147147 "type": "integer"
148148 },
149149 "pendingCount": {
150150 "description": "Number of reports not closed at time of computation.",
151151 "type": "integer"
152152 },
153153 "resolutionDurationSec": {
154154 "description": "Sum of report creation-to-close seconds for this day's samples.",
155155 "type": "integer"
156156 },
157157 "resolutionSampleCount": {
158158 "description": "Number of closed-report samples in resolutionDurationSec.",
159159 "type": "integer"
160160 },
161161 "tagActionCount": {
162162 "description": "Closures whose last report action is a tag event during this day.",
163163 "type": "integer"
164164 },
165165 "takedownActionCount": {
166166 "description": "Closures whose last report action is a takedown event during this day.",
167167 "type": "integer"
168168 }
169169 },
170170 "required": [
171171 "date"
172172 ],
173173 "type": "object"
174174 },
175175 "liveStats": {
176176 "description": "Live statistics for reports for the current calendar day, filterable by queue, moderator, or report type.",
177177 "properties": {
178178 "acknowledgedCount": {
179179 "description": "Number of closures whose last report action is not label, tag, or takedown.",
180180 "type": "integer"
181181 },
182182 "actionRate": {
183183 "description": "Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer.",
184184 "type": "integer"
185185 },
186186 "actionedCount": {
187187 "description": "Number of closures whose last report action is label, tag, or takedown.",
188188 "type": "integer"
189189 },
190190 "ahtDurationSec": {
191191 "description": "Sum of report assignment-to-close seconds.",
192192 "type": "integer"
193193 },
194194 "ahtSampleCount": {
195195 "description": "Number of assigned closed-report samples in ahtDurationSec.",
196196 "type": "integer"
197197 },
198198 "avgHandlingTimeSec": {
199199 "description": "Average handling time in seconds from report assignment to close.",
200200 "type": "integer"
201201 },
202202 "avgResolutionTimeSec": {
203203 "description": "Average resolution time in seconds from report creation to close.",
204204 "type": "integer"
205205 },
206206 "closedCount": {
207207 "description": "Number of close transitions.",
208208 "type": "integer"
209209 },
210210 "escalatedCount": {
211211 "description": "Number of reports escalated.",
212212 "type": "integer"
213213 },
214214 "inboundCount": {
215215 "description": "Reports received.",
216216 "type": "integer"
217217 },
218218 "labelActionCount": {
219219 "description": "Closures whose last report action is a label event.",
220220 "type": "integer"
221221 },
222222 "lastUpdated": {
223223 "description": "When these statistics were last computed.",
224224 "format": "datetime",
225225 "type": "string"
226226 },
227227 "pendingCount": {
228228 "description": "Number of reports currently not closed.",
229229 "type": "integer"
230230 },
231231 "resolutionDurationSec": {
232232 "description": "Sum of report creation-to-close seconds.",
233233 "type": "integer"
234234 },
235235 "resolutionSampleCount": {
236236 "description": "Number of closed-report samples in resolutionDurationSec.",
237237 "type": "integer"
238238 },
239239 "tagActionCount": {
240240 "description": "Closures whose last report action is a tag event.",
241241 "type": "integer"
242242 },
243243 "takedownActionCount": {
244244 "description": "Closures whose last report action is a takedown event.",
245245 "type": "integer"
246246 }
247247 },
248248 "type": "object"
249249 },
250250 "noteActivity": {
251251 "description": "Activity recording a note on a report. Use internalNote for moderator-only notes or publicNote for reporter-visible notes (or both).",
252252 "properties": {},
253253 "type": "object"
254254 },
255255 "queueActivity": {
256256 "description": "Activity recording a report being routed to a queue.",
257257 "properties": {
258258 "previousStatus": {
259259 "description": "The report's status before this activity. Populated automatically from the report row; not required in input.",
260260 "knownValues": [
261261 "open",
262262 "closed",
263263 "escalated",
264264 "queued",
265265 "assigned"
266266 ],
267267 "type": "string"
268268 }
269269 },
270270 "type": "object"
271271 },
272272 "reasonAppeal": {
273273 "description": "Appeal a previously taken moderation action",
274274 "type": "token"
275275 },
276276 "reasonChildSafetyCSAM": {
277277 "description": "Child sexual abuse material (CSAM). These reports will be sent only be sent to the application's Moderation Authority.",
278278 "type": "token"
279279 },
280280 "reasonChildSafetyGroom": {
281281 "description": "Grooming or predatory behavior. These reports will be sent only be sent to the application's Moderation Authority.",
282282 "type": "token"
283283 },
284284 "reasonChildSafetyHarassment": {
285285 "description": "Harassment or bullying of minors",
286286 "type": "token"
287287 },
288288 "reasonChildSafetyOther": {
289289 "description": "Other child safety. These reports will be sent only be sent to the application's Moderation Authority.",
290290 "type": "token"
291291 },
292292 "reasonChildSafetyPrivacy": {
293293 "description": "Privacy violation involving a minor",
294294 "type": "token"
295295 },
296296 "reasonHarassmentDoxxing": {
297297 "description": "Doxxing",
298298 "type": "token"
299299 },
300300 "reasonHarassmentHateSpeech": {
301301 "description": "Hate speech",
302302 "type": "token"
303303 },
304304 "reasonHarassmentOther": {
305305 "description": "Other harassing or hateful content",
306306 "type": "token"
307307 },
308308 "reasonHarassmentTargeted": {
309309 "description": "Targeted harassment",
310310 "type": "token"
311311 },
312312 "reasonHarassmentTroll": {
313313 "description": "Trolling",
314314 "type": "token"
315315 },
316316 "reasonMisleadingBot": {
317317 "description": "Fake account or bot",
318318 "type": "token"
319319 },
320320 "reasonMisleadingElections": {
321321 "description": "False information about elections",
322322 "type": "token"
323323 },
324324 "reasonMisleadingImpersonation": {
325325 "description": "Impersonation",
326326 "type": "token"
327327 },
328328 "reasonMisleadingOther": {
329329 "description": "Other misleading content",
330330 "type": "token"
331331 },
332332 "reasonMisleadingScam": {
333333 "description": "Scam",
334334 "type": "token"
335335 },
336336 "reasonMisleadingSpam": {
337337 "description": "Spam",
338338 "type": "token"
339339 },
340340 "reasonOther": {
341341 "description": "An issue not included in these options",
342342 "type": "token"
343343 },
344344 "reasonRuleBanEvasion": {
345345 "description": "Banned user returning",
346346 "type": "token"
347347 },
348348 "reasonRuleOther": {
349349 "description": "Other",
350350 "type": "token"
351351 },
352352 "reasonRuleProhibitedSales": {
353353 "description": "Promoting or selling prohibited items or services",
354354 "type": "token"
355355 },
356356 "reasonRuleSiteSecurity": {
357357 "description": "Hacking or system attacks",
358358 "type": "token"
359359 },
360360 "reasonSelfHarmContent": {
361361 "description": "Content promoting or depicting self-harm",
362362 "type": "token"
363363 },
364364 "reasonSelfHarmED": {
365365 "description": "Eating disorders",
366366 "type": "token"
367367 },
368368 "reasonSelfHarmOther": {
369369 "description": "Other dangerous content",
370370 "type": "token"
371371 },
372372 "reasonSelfHarmStunts": {
373373 "description": "Dangerous challenges or activities",
374374 "type": "token"
375375 },
376376 "reasonSelfHarmSubstances": {
377377 "description": "Dangerous substances or drug abuse",
378378 "type": "token"
379379 },
380380 "reasonSexualAbuseContent": {
381381 "description": "Adult sexual abuse content",
382382 "type": "token"
383383 },
384384 "reasonSexualAnimal": {
385385 "description": "Animal sexual abuse",
386386 "type": "token"
387387 },
388388 "reasonSexualDeepfake": {
389389 "description": "Deepfake adult content",
390390 "type": "token"
391391 },
392392 "reasonSexualNCII": {
393393 "description": "Non-consensual intimate imagery",
394394 "type": "token"
395395 },
396396 "reasonSexualOther": {
397397 "description": "Other sexual violence content",
398398 "type": "token"
399399 },
400400 "reasonSexualUnlabeled": {
401401 "description": "Unlabelled adult content",
402402 "type": "token"
403403 },
404404 "reasonType": {
405405 "knownValues": [
406406 "tools.ozone.report.defs#reasonAppeal",
407407 "tools.ozone.report.defs#reasonOther",
408408 "tools.ozone.report.defs#reasonViolenceAnimal",
409409 "tools.ozone.report.defs#reasonViolenceThreats",
410410 "tools.ozone.report.defs#reasonViolenceGraphicContent",
411411 "tools.ozone.report.defs#reasonViolenceGlorification",
412412 "tools.ozone.report.defs#reasonViolenceExtremistContent",
413413 "tools.ozone.report.defs#reasonViolenceTrafficking",
414414 "tools.ozone.report.defs#reasonViolenceOther",
415415 "tools.ozone.report.defs#reasonSexualAbuseContent",
416416 "tools.ozone.report.defs#reasonSexualNCII",
417417 "tools.ozone.report.defs#reasonSexualDeepfake",
418418 "tools.ozone.report.defs#reasonSexualAnimal",
419419 "tools.ozone.report.defs#reasonSexualUnlabeled",
420420 "tools.ozone.report.defs#reasonSexualOther",
421421 "tools.ozone.report.defs#reasonChildSafetyCSAM",
422422 "tools.ozone.report.defs#reasonChildSafetyGroom",
423423 "tools.ozone.report.defs#reasonChildSafetyPrivacy",
424424 "tools.ozone.report.defs#reasonChildSafetyHarassment",
425425 "tools.ozone.report.defs#reasonChildSafetyOther",
426426 "tools.ozone.report.defs#reasonHarassmentTroll",
427427 "tools.ozone.report.defs#reasonHarassmentTargeted",
428428 "tools.ozone.report.defs#reasonHarassmentHateSpeech",
429429 "tools.ozone.report.defs#reasonHarassmentDoxxing",
430430 "tools.ozone.report.defs#reasonHarassmentOther",
431431 "tools.ozone.report.defs#reasonMisleadingBot",
432432 "tools.ozone.report.defs#reasonMisleadingImpersonation",
433433 "tools.ozone.report.defs#reasonMisleadingSpam",
434434 "tools.ozone.report.defs#reasonMisleadingScam",
435435 "tools.ozone.report.defs#reasonMisleadingElections",
436436 "tools.ozone.report.defs#reasonMisleadingOther",
437437 "tools.ozone.report.defs#reasonRuleSiteSecurity",
438438 "tools.ozone.report.defs#reasonRuleProhibitedSales",
439439 "tools.ozone.report.defs#reasonRuleBanEvasion",
440440 "tools.ozone.report.defs#reasonRuleOther",
441441 "tools.ozone.report.defs#reasonSelfHarmContent",
442442 "tools.ozone.report.defs#reasonSelfHarmED",
443443 "tools.ozone.report.defs#reasonSelfHarmStunts",
444444 "tools.ozone.report.defs#reasonSelfHarmSubstances",
445445 "tools.ozone.report.defs#reasonSelfHarmOther"
446446 ],
447447 "type": "string"
448448 },
449449 "reasonViolenceAnimal": {
450450 "description": "Animal welfare violations",
451451 "type": "token"
452452 },
453453 "reasonViolenceExtremistContent": {
454454 "description": "Extremist content. These reports will be sent only be sent to the application's Moderation Authority.",
455455 "type": "token"
456456 },
457457 "reasonViolenceGlorification": {
458458 "description": "Glorification of violence",
459459 "type": "token"
460460 },
461461 "reasonViolenceGraphicContent": {
462462 "description": "Graphic violent content",
463463 "type": "token"
464464 },
465465 "reasonViolenceOther": {
466466 "description": "Other violent content",
467467 "type": "token"
468468 },
469469 "reasonViolenceThreats": {
470470 "description": "Threats or incitement",
471471 "type": "token"
472472 },
473473 "reasonViolenceTrafficking": {
474474 "description": "Human trafficking",
475475 "type": "token"
476476 },
477477 "reopenActivity": {
478478 "description": "Activity recording a closed report being reopened. Only valid when the report is in 'closed' status.",
479479 "properties": {
480480 "previousStatus": {
481481 "description": "The report's status before this activity. Populated automatically from the report row; not required in input.",
482482 "knownValues": [
483483 "open",
484484 "closed",
485485 "escalated",
486486 "queued",
487487 "assigned"
488488 ],
489489 "type": "string"
490490 }
491491 },
492492 "type": "object"
493493 },
494494 "reportActivityView": {
495495 "description": "A single activity entry on a report.",
496496 "properties": {
497497 "activity": {
498498 "description": "The typed activity object describing what occurred.",
499499 "refs": [
500500 "#queueActivity",
501501 "#assignmentActivity",
502 "#unassignmentActivity",
502503 "#escalationActivity",
503504 "#closeActivity",
504505 "#reopenActivity",
505506 "#noteActivity"
506507 ],
507508 "type": "union"
508509 },
509510 "createdAt": {
510511 "description": "When this activity was created",
511512 "format": "datetime",
512513 "type": "string"
513514 },
514515 "createdBy": {
515516 "description": "DID of the actor who created this activity, or the service DID for automated activities.",
516517 "format": "did",
517518 "type": "string"
518519 },
519520 "id": {
520521 "description": "Activity ID",
521522 "type": "integer"
522523 },
523524 "internalNote": {
524525 "description": "Optional moderator-only note. Not visible to reporters.",
525526 "type": "string"
526527 },
527528 "isAutomated": {
528529 "description": "True if this activity was created by an automated process (e.g. queue router) rather than a direct human action.",
529530 "type": "boolean"
530531 },
531532 "meta": {
532533 "description": "Extensible JSON payload for loose activity-specific metadata (e.g. assignmentId).",
533534 "type": "unknown"
534535 },
535536 "moderator": {
536537 "description": "Full member record of the moderator who created this activity",
537538 "ref": "tools.ozone.team.defs#member",
538539 "type": "ref"
539540 },
540541 "publicNote": {
541542 "description": "Optional public note, potentially visible to the reporter.",
542543 "type": "string"
543544 },
544545 "report": {
545546 "description": "Full view of the report this activity belongs to.",
546547 "ref": "#reportView",
547548 "type": "ref"
548549 },
549550 "reportId": {
550551 "description": "ID of the report this activity belongs to",
551552 "type": "integer"
552553 }
553554 },
554555 "required": [
555556 "id",
556557 "reportId",
557558 "activity",
558559 "isAutomated",
559560 "createdBy",
560561 "createdAt"
561562 ],
562563 "type": "object"
563564 },
564565 "reportAssignment": {
565566 "description": "Information about the moderator currently assigned to a report.",
566567 "properties": {
567568 "assignedAt": {
568569 "description": "When the report was assigned",
569570 "format": "datetime",
570571 "type": "string"
571572 },
572573 "did": {
573574 "description": "DID of the assigned moderator",
574575 "format": "did",
575576 "type": "string"
576577 },
577578 "moderator": {
578579 "description": "Full member record of the assigned moderator",
579580 "ref": "tools.ozone.team.defs#member",
580581 "type": "ref"
581582 }
582583 },
583584 "required": [
584585 "did",
585586 "assignedAt"
586587 ],
587588 "type": "object"
588589 },
589590 "reportView": {
590591 "properties": {
591592 "actionEventIds": {
592593 "description": "Array of moderation event IDs representing actions taken on this report, in append order (most recently linked event last)",
593594 "items": {
594595 "type": "integer"
595596 },
596597 "type": "array"
597598 },
598599 "actionNote": {
599600 "description": "Note sent to reporter when report was actioned",
600601 "type": "string"
601602 },
602603 "actions": {
603604 "description": "Optional: expanded action events",
604605 "items": {
605606 "ref": "tools.ozone.moderation.defs#modEventView",
606607 "type": "ref"
607608 },
608609 "type": "array"
609610 },
610611 "assignment": {
611612 "description": "Information about moderator currently assigned to this report (if any)",
612613 "ref": "#reportAssignment",
613614 "type": "ref"
614615 },
615616 "comment": {
616617 "description": "Comment provided by the reporter",
617618 "type": "string"
618619 },
619620 "createdAt": {
620621 "description": "When the report was created",
621622 "format": "datetime",
622623 "type": "string"
623624 },
624625 "eventId": {
625626 "description": "ID of the moderation event that created this report",
626627 "type": "integer"
627628 },
628629 "id": {
629630 "description": "Report ID",
630631 "type": "integer"
631632 },
632633 "isAutomated": {
633634 "default": false,
634635 "description": "Whether this report was emitted by automated tooling.",
635636 "type": "boolean"
636637 },
637638 "isMuted": {
638639 "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.",
639640 "type": "boolean"
640641 },
641642 "queue": {
642643 "description": "The queue this report is assigned to (if any)",
643644 "ref": "tools.ozone.queue.defs#queueView",
644645 "type": "ref"
645646 },
646647 "queuedAt": {
647648 "description": "When the report was assigned to its current queue",
648649 "format": "datetime",
649650 "type": "string"
650651 },
651652 "relatedReportCount": {
652653 "description": "Number of other pending reports on the same subject",
653654 "type": "integer"
654655 },
655656 "reportType": {
656657 "description": "Type of report",
657658 "ref": "com.atproto.moderation.defs#reasonType",
658659 "type": "ref"
659660 },
660661 "reportedBy": {
661662 "description": "DID of the user who made the report",
662663 "format": "did",
663664 "type": "string"
664665 },
665666 "reporter": {
666667 "description": "Full subject view of the reporter account",
667668 "ref": "tools.ozone.moderation.defs#subjectView",
668669 "type": "ref"
669670 },
670671 "status": {
671672 "description": "Current status of the report",
672673 "knownValues": [
673674 "open",
674675 "closed",
675676 "escalated",
676677 "queued",
677678 "assigned"
678679 ],
679680 "type": "string"
680681 },
681682 "subject": {
682683 "description": "The subject that was reported with full details",
683684 "ref": "tools.ozone.moderation.defs#subjectView",
684685 "type": "ref"
685686 },
686687 "subjectStatus": {
687688 "description": "Current status of the reported subject",
688689 "ref": "tools.ozone.moderation.defs#subjectStatusView",
689690 "type": "ref"
690691 },
691692 "updatedAt": {
692693 "description": "When the report was last updated",
693694 "format": "datetime",
694695 "type": "string"
695696 }
696697 },
697698 "required": [
698699 "id",
699700 "eventId",
700701 "status",
701702 "subject",
702703 "reportType",
703704 "reportedBy",
704705 "reporter",
705706 "createdAt"
706707 ],
707708 "type": "object"
709 },
710 "unassignmentActivity": {
711 "description": "Activity recording a moderator being unassigned from a report.",
712 "properties": {
713 "nextStatus": {
714 "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.",
715 "knownValues": [
716 "open",
717 "closed",
718 "escalated",
719 "queued",
720 "assigned"
721 ],
722 "type": "string"
723 },
724 "previousStatus": {
725 "description": "The report's status immediately before the moderator was unassigned. May be absent on older activities.",
726 "knownValues": [
727 "open",
728 "closed",
729 "escalated",
730 "queued",
731 "assigned"
732 ],
733 "type": "string"
734 }
735 },
736 "type": "object"
708737 }
709738 },
710739 "id": "tools.ozone.report.defs",
711740 "lexicon": 1
712741}

Compare other versions