full diff

tools.ozone.moderation.defs

From
bafyreifhnzfv3etivjj7xtat4akmexvrprpigqrr5lk5bhjrhsvlrptlbi indexed 2026-07-26 20:04 UTC View this version
To
bafyreidon7bz3r3ouvshtbukdbyvjnwksvrgdtz265ze5ywmqz4jj6ya2a indexed 2026-10-07 18:19 UTC View this version

Compatibility

breaking 2 breaking changes, 23 non-breaking changes.

Breaking changes (2)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "tools.ozone.moderation.defs#convoView", src: "tools.ozone.moderation.defs#convoView", tgt: "tools.ozone.moderation.defs#convoView.convoId", kind: "prop", name: Some("convoId") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "tools.ozone.moderation.defs#convoView", src: "tools.ozone.moderation.defs#convoView", tgt: "tools.ozone.moderation.defs#convoView.did", kind: "prop", name: Some("did") }
Non-breaking changes (23)
  • AddedVertex AddedVertex { vertex_id: "chat.bsky.convo.defs#convoRef" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.moderation.defs#convoView" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.moderation.defs#convoView.convoId" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.moderation.defs#convoView.did" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventReport.appealActionId" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventReport.appealActionType" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventReport.appealLabel" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventReport.appealSubmittedBy" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventTag.durationInHours" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventView.subject:variant3" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventViewDetail.subject:variant4" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.moderation.defs#subjectStatusView.subject:variant3" }
  • AddedEdge AddedEdge { src: "tools.ozone.moderation.defs#modEventReport", tgt: "tools.ozone.moderation.defs#modEventReport.appealActionId", kind: "prop", name: Some("appealActionId") }
  • AddedEdge AddedEdge { src: "tools.ozone.moderation.defs#modEventReport", tgt: "tools.ozone.moderation.defs#modEventReport.appealActionType", kind: "prop", name: Some("appealActionType") }
  • AddedEdge AddedEdge { src: "tools.ozone.moderation.defs#modEventReport", tgt: "tools.ozone.moderation.defs#modEventReport.appealLabel", kind: "prop", name: Some("appealLabel") }
  • AddedEdge AddedEdge { src: "tools.ozone.moderation.defs#modEventReport", tgt: "tools.ozone.moderation.defs#modEventReport.appealSubmittedBy", kind: "prop", name: Some("appealSubmittedBy") }
  • AddedEdge AddedEdge { src: "tools.ozone.moderation.defs#modEventTag", tgt: "tools.ozone.moderation.defs#modEventTag.durationInHours", kind: "prop", name: Some("durationInHours") }
  • AddedEdge AddedEdge { src: "tools.ozone.moderation.defs#modEventView.subject", tgt: "tools.ozone.moderation.defs#modEventView.subject:variant3", kind: "variant", name: Some("chat.bsky.convo.defs#convoRef") }
  • AddedEdge AddedEdge { src: "tools.ozone.moderation.defs#modEventView.subject:variant3", tgt: "chat.bsky.convo.defs#convoRef", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "tools.ozone.moderation.defs#modEventViewDetail.subject", tgt: "tools.ozone.moderation.defs#modEventViewDetail.subject:variant4", kind: "variant", name: Some("#convoView") }
  • AddedEdge AddedEdge { src: "tools.ozone.moderation.defs#modEventViewDetail.subject:variant4", tgt: "tools.ozone.moderation.defs#convoView", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "tools.ozone.moderation.defs#subjectStatusView.subject", tgt: "tools.ozone.moderation.defs#subjectStatusView.subject:variant3", kind: "variant", name: Some("chat.bsky.convo.defs#convoRef") }
  • AddedEdge AddedEdge { src: "tools.ozone.moderation.defs#subjectStatusView.subject:variant3", tgt: "chat.bsky.convo.defs#convoRef", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "chat.bsky.convo.defs#convoRef" }
  • AddedVertex { vertex_id: "tools.ozone.moderation.defs#convoView" }
  • AddedVertex { vertex_id: "tools.ozone.moderation.defs#convoView.convoId" }
  • AddedVertex { vertex_id: "tools.ozone.moderation.defs#convoView.did" }
  • AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventReport.appealActionId" }
  • AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventReport.appealActionType" }
  • AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventReport.appealLabel" }
  • AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventReport.appealSubmittedBy" }
  • AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventTag.durationInHours" }
  • AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventView.subject:variant3" }
  • AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventViewDetail.subject:variant4" }
  • AddedVertex { vertex_id: "tools.ozone.moderation.defs#subjectStatusView.subject:variant3" }

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "tools.ozone.moderation.defs#convoView", src: "tools.ozone.moderation.defs#convoView", tgt: "tools.ozone.moderation.defs#convoView.convoId", kind: "prop", name: Some("convoId") }
  • Breaking: RequiredEdgeAdded { vertex_id: "tools.ozone.moderation.defs#convoView", src: "tools.ozone.moderation.defs#convoView", tgt: "tools.ozone.moderation.defs#convoView.did", kind: "prop", name: Some("did") }
  • Non-breaking: AddedEdge { src: "tools.ozone.moderation.defs#modEventReport", tgt: "tools.ozone.moderation.defs#modEventReport.appealActionId", kind: "prop", name: Some("appealActionId") }
  • Non-breaking: AddedEdge { src: "tools.ozone.moderation.defs#modEventReport", tgt: "tools.ozone.moderation.defs#modEventReport.appealActionType", kind: "prop", name: Some("appealActionType") }
  • Non-breaking: AddedEdge { src: "tools.ozone.moderation.defs#modEventReport", tgt: "tools.ozone.moderation.defs#modEventReport.appealLabel", kind: "prop", name: Some("appealLabel") }
  • Non-breaking: AddedEdge { src: "tools.ozone.moderation.defs#modEventReport", tgt: "tools.ozone.moderation.defs#modEventReport.appealSubmittedBy", kind: "prop", name: Some("appealSubmittedBy") }
  • Non-breaking: AddedEdge { src: "tools.ozone.moderation.defs#modEventTag", tgt: "tools.ozone.moderation.defs#modEventTag.durationInHours", kind: "prop", name: Some("durationInHours") }
  • Non-breaking: AddedEdge { src: "tools.ozone.moderation.defs#modEventView.subject", tgt: "tools.ozone.moderation.defs#modEventView.subject:variant3", kind: "variant", name: Some("chat.bsky.convo.defs#convoRef") }
  • Non-breaking: AddedEdge { src: "tools.ozone.moderation.defs#modEventView.subject:variant3", tgt: "chat.bsky.convo.defs#convoRef", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "tools.ozone.moderation.defs#modEventViewDetail.subject", tgt: "tools.ozone.moderation.defs#modEventViewDetail.subject:variant4", kind: "variant", name: Some("#convoView") }
  • Non-breaking: AddedEdge { src: "tools.ozone.moderation.defs#modEventViewDetail.subject:variant4", tgt: "tools.ozone.moderation.defs#convoView", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "tools.ozone.moderation.defs#subjectStatusView.subject", tgt: "tools.ozone.moderation.defs#subjectStatusView.subject:variant3", kind: "variant", name: Some("chat.bsky.convo.defs#convoRef") }
  • Non-breaking: AddedEdge { src: "tools.ozone.moderation.defs#subjectStatusView.subject:variant3", tgt: "chat.bsky.convo.defs#convoRef", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "accountEvent": {
55 "description": "Logs account status related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.",
66 "properties": {
77 "active": {
88 "description": "Indicates that the account has a repository which can be fetched from the host that emitted this event.",
99 "type": "boolean"
1010 },
1111 "comment": {
1212 "type": "string"
1313 },
1414 "status": {
1515 "knownValues": [
1616 "unknown",
1717 "deactivated",
1818 "deleted",
1919 "takendown",
2020 "suspended",
2121 "tombstoned"
2222 ],
2323 "type": "string"
2424 },
2525 "timestamp": {
2626 "format": "datetime",
2727 "type": "string"
2828 }
2929 },
3030 "required": [
3131 "timestamp",
3232 "active"
3333 ],
3434 "type": "object"
3535 },
3636 "accountHosting": {
3737 "properties": {
3838 "createdAt": {
3939 "format": "datetime",
4040 "type": "string"
4141 },
4242 "deactivatedAt": {
4343 "format": "datetime",
4444 "type": "string"
4545 },
4646 "deletedAt": {
4747 "format": "datetime",
4848 "type": "string"
4949 },
5050 "reactivatedAt": {
5151 "format": "datetime",
5252 "type": "string"
5353 },
5454 "status": {
5555 "knownValues": [
5656 "takendown",
5757 "suspended",
5858 "deleted",
5959 "deactivated",
6060 "unknown"
6161 ],
6262 "type": "string"
6363 },
6464 "updatedAt": {
6565 "format": "datetime",
6666 "type": "string"
6767 }
6868 },
6969 "required": [
7070 "status"
7171 ],
7272 "type": "object"
7373 },
7474 "accountStats": {
7575 "description": "Statistics about a particular account subject",
7676 "properties": {
7777 "appealCount": {
7878 "description": "Total number of appeals against a moderation action on the account",
7979 "type": "integer"
8080 },
8181 "escalateCount": {
8282 "description": "Number of times the account was escalated",
8383 "type": "integer"
8484 },
8585 "reportCount": {
8686 "description": "Total number of reports on the account",
8787 "type": "integer"
8888 },
8989 "suspendCount": {
9090 "description": "Number of times the account was suspended",
9191 "type": "integer"
9292 },
9393 "takedownCount": {
9494 "description": "Number of times the account was taken down",
9595 "type": "integer"
9696 }
9797 },
9898 "type": "object"
9999 },
100100 "accountStrike": {
101101 "description": "Strike information for an account",
102102 "properties": {
103103 "activeStrikeCount": {
104104 "description": "Current number of active strikes (excluding expired strikes)",
105105 "type": "integer"
106106 },
107107 "firstStrikeAt": {
108108 "description": "Timestamp of the first strike received",
109109 "format": "datetime",
110110 "type": "string"
111111 },
112112 "lastStrikeAt": {
113113 "description": "Timestamp of the most recent strike received",
114114 "format": "datetime",
115115 "type": "string"
116116 },
117117 "totalStrikeCount": {
118118 "description": "Total number of strikes ever received (including expired strikes)",
119119 "type": "integer"
120120 }
121121 },
122122 "type": "object"
123123 },
124124 "ageAssuranceEvent": {
125125 "description": "Age assurance info coming directly from users. Only works on DID subjects.",
126126 "properties": {
127127 "access": {
128128 "ref": "app.bsky.ageassurance.defs#access",
129129 "type": "ref"
130130 },
131131 "attemptId": {
132132 "description": "The unique identifier for this instance of the age assurance flow, in UUID format.",
133133 "type": "string"
134134 },
135135 "completeIp": {
136136 "description": "The IP address used when completing the AA flow.",
137137 "type": "string"
138138 },
139139 "completeUa": {
140140 "description": "The user agent used when completing the AA flow.",
141141 "type": "string"
142142 },
143143 "countryCode": {
144144 "description": "The ISO 3166-1 alpha-2 country code provided when beginning the Age Assurance flow.",
145145 "type": "string"
146146 },
147147 "createdAt": {
148148 "description": "The date and time of this write operation.",
149149 "format": "datetime",
150150 "type": "string"
151151 },
152152 "initIp": {
153153 "description": "The IP address used when initiating the AA flow.",
154154 "type": "string"
155155 },
156156 "initUa": {
157157 "description": "The user agent used when initiating the AA flow.",
158158 "type": "string"
159159 },
160160 "regionCode": {
161161 "description": "The ISO 3166-2 region code provided when beginning the Age Assurance flow.",
162162 "type": "string"
163163 },
164164 "status": {
165165 "description": "The status of the Age Assurance process.",
166166 "knownValues": [
167167 "unknown",
168168 "pending",
169169 "assured"
170170 ],
171171 "type": "string"
172172 }
173173 },
174174 "required": [
175175 "createdAt",
176176 "status",
177177 "attemptId"
178178 ],
179179 "type": "object"
180180 },
181181 "ageAssuranceOverrideEvent": {
182182 "description": "Age assurance status override by moderators. Only works on DID subjects.",
183183 "properties": {
184184 "access": {
185185 "ref": "app.bsky.ageassurance.defs#access",
186186 "type": "ref"
187187 },
188188 "comment": {
189189 "description": "Comment describing the reason for the override.",
190190 "minLength": 1,
191191 "type": "string"
192192 },
193193 "status": {
194194 "description": "The status to be set for the user decided by a moderator, overriding whatever value the user had previously. Use reset to default to original state.",
195195 "knownValues": [
196196 "assured",
197197 "reset",
198198 "blocked"
199199 ],
200200 "type": "string"
201201 }
202202 },
203203 "required": [
204204 "comment",
205205 "status"
206206 ],
207207 "type": "object"
208208 },
209209 "ageAssurancePurgeEvent": {
210210 "description": "Purges all age assurance events for the subject. Only works on DID subjects. Moderator-only.",
211211 "properties": {
212212 "comment": {
213213 "description": "Comment describing the reason for the purge.",
214214 "minLength": 1,
215215 "type": "string"
216216 }
217217 },
218218 "required": [
219219 "comment"
220220 ],
221221 "type": "object"
222222 },
223223 "blobView": {
224224 "properties": {
225225 "cid": {
226226 "format": "cid",
227227 "type": "string"
228228 },
229229 "createdAt": {
230230 "format": "datetime",
231231 "type": "string"
232232 },
233233 "details": {
234234 "refs": [
235235 "#imageDetails",
236236 "#videoDetails"
237237 ],
238238 "type": "union"
239239 },
240240 "mimeType": {
241241 "type": "string"
242242 },
243243 "moderation": {
244244 "ref": "#moderation",
245245 "type": "ref"
246246 },
247247 "size": {
248248 "type": "integer"
249249 }
250250 },
251251 "required": [
252252 "cid",
253253 "mimeType",
254254 "size",
255255 "createdAt"
256256 ],
257257 "type": "object"
258258 },
259259 "cancelScheduledTakedownEvent": {
260260 "description": "Logs cancellation of a scheduled takedown action for an account.",
261261 "properties": {
262262 "comment": {
263263 "type": "string"
264264 }
265265 },
266266 "type": "object"
267267 },
268 "convoView": {
269 "properties": {
270 "convoId": {
271 "type": "string"
272 },
273 "did": {
274 "format": "did",
275 "type": "string"
276 }
277 },
278 "required": [
279 "did",
280 "convoId"
281 ],
282 "type": "object"
283 },
268284 "identityEvent": {
269285 "description": "Logs identity related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.",
270286 "properties": {
271287 "comment": {
272288 "type": "string"
273289 },
274290 "handle": {
275291 "format": "handle",
276292 "type": "string"
277293 },
278294 "pdsHost": {
279295 "format": "uri",
280296 "type": "string"
281297 },
282298 "timestamp": {
283299 "format": "datetime",
284300 "type": "string"
285301 },
286302 "tombstone": {
287303 "type": "boolean"
288304 }
289305 },
290306 "required": [
291307 "timestamp"
292308 ],
293309 "type": "object"
294310 },
295311 "imageDetails": {
296312 "properties": {
297313 "height": {
298314 "type": "integer"
299315 },
300316 "width": {
301317 "type": "integer"
302318 }
303319 },
304320 "required": [
305321 "width",
306322 "height"
307323 ],
308324 "type": "object"
309325 },
310326 "modEventAcknowledge": {
311327 "properties": {
312328 "acknowledgeAccountSubjects": {
313329 "description": "If true, all other reports on content authored by this account will be resolved (acknowledged).",
314330 "type": "boolean"
315331 },
316332 "comment": {
317333 "type": "string"
318334 }
319335 },
320336 "type": "object"
321337 },
322338 "modEventComment": {
323339 "description": "Add a comment to a subject. An empty comment will clear any previously set sticky comment.",
324340 "properties": {
325341 "comment": {
326342 "type": "string"
327343 },
328344 "sticky": {
329345 "description": "Make the comment persistent on the subject",
330346 "type": "boolean"
331347 }
332348 },
333349 "type": "object"
334350 },
335351 "modEventDivert": {
336352 "description": "Divert a record's blobs to a 3rd party service for further scanning/tagging",
337353 "properties": {
338354 "comment": {
339355 "type": "string"
340356 }
341357 },
342358 "type": "object"
343359 },
344360 "modEventEmail": {
345361 "description": "Keep a log of outgoing email to a user",
346362 "properties": {
347363 "comment": {
348364 "description": "Additional comment about the outgoing comm.",
349365 "type": "string"
350366 },
351367 "content": {
352368 "description": "The content of the email sent to the user.",
353369 "type": "string"
354370 },
355371 "isDelivered": {
356372 "description": "Indicates whether the email was successfully delivered to the user's inbox.",
357373 "type": "boolean"
358374 },
359375 "policies": {
360376 "description": "Names/Keywords of the policies that necessitated the email.",
361377 "items": {
362378 "type": "string"
363379 },
364380 "maxLength": 5,
365381 "type": "array"
366382 },
367383 "severityLevel": {
368384 "description": "Severity level of the violation. Normally 'sev-1' that adds strike on repeat offense",
369385 "type": "string"
370386 },
371387 "strikeCount": {
372388 "description": "Number of strikes to assign to the user for this violation. Normally 0 as an indicator of a warning and only added as a strike on a repeat offense.",
373389 "type": "integer"
374390 },
375391 "strikeExpiresAt": {
376392 "description": "When the strike should expire. If not provided, the strike never expires.",
377393 "format": "datetime",
378394 "type": "string"
379395 },
380396 "subjectLine": {
381397 "description": "The subject line of the email sent to the user.",
382398 "type": "string"
383399 }
384400 },
385401 "required": [
386402 "subjectLine"
387403 ],
388404 "type": "object"
389405 },
390406 "modEventEscalate": {
391407 "properties": {
392408 "comment": {
393409 "type": "string"
394410 }
395411 },
396412 "type": "object"
397413 },
398414 "modEventLabel": {
399415 "description": "Apply/Negate labels on a subject",
400416 "properties": {
401417 "comment": {
402418 "type": "string"
403419 },
404420 "createLabelVals": {
405421 "items": {
406422 "type": "string"
407423 },
408424 "type": "array"
409425 },
410426 "durationInHours": {
411427 "description": "Indicates how long the label will remain on the subject. Only applies on labels that are being added.",
412428 "type": "integer"
413429 },
414430 "negateLabelVals": {
415431 "items": {
416432 "type": "string"
417433 },
418434 "type": "array"
419435 }
420436 },
421437 "required": [
422438 "createLabelVals",
423439 "negateLabelVals"
424440 ],
425441 "type": "object"
426442 },
427443 "modEventMute": {
428444 "description": "Mute incoming reports on a subject",
429445 "properties": {
430446 "comment": {
431447 "type": "string"
432448 },
433449 "durationInHours": {
434450 "description": "Indicates how long the subject should remain muted.",
435451 "type": "integer"
436452 }
437453 },
438454 "required": [
439455 "durationInHours"
440456 ],
441457 "type": "object"
442458 },
443459 "modEventMuteReporter": {
444460 "description": "Mute incoming reports from an account",
445461 "properties": {
446462 "comment": {
447463 "type": "string"
448464 },
449465 "durationInHours": {
450466 "description": "Indicates how long the account should remain muted. Falsy value here means a permanent mute.",
451467 "type": "integer"
452468 }
453469 },
454470 "type": "object"
455471 },
456472 "modEventPriorityScore": {
457473 "description": "Set priority score of the subject. Higher score means higher priority.",
458474 "properties": {
459475 "comment": {
460476 "type": "string"
461477 },
462478 "score": {
463479 "maximum": 100,
464480 "minimum": 0,
465481 "type": "integer"
466482 }
467483 },
468484 "required": [
469485 "score"
470486 ],
471487 "type": "object"
472488 },
473489 "modEventReport": {
474490 "description": "Report a subject",
475491 "properties": {
492 "appealActionId": {
493 "type": "integer"
494 },
495 "appealActionType": {
496 "description": "Action reference type recorded when this appeal was submitted.",
497 "type": "string"
498 },
499 "appealLabel": {
500 "type": "string"
501 },
502 "appealSubmittedBy": {
503 "description": "Moderator who submitted this appeal on behalf of the affected account. Returned by moderator event APIs.",
504 "format": "did",
505 "type": "string"
506 },
476507 "comment": {
477508 "type": "string"
478509 },
479510 "isReporterMuted": {
480511 "description": "Set to true if the reporter was muted from reporting at the time of the event. These reports won't impact the reviewState of the subject.",
481512 "type": "boolean"
482513 },
483514 "reportType": {
484515 "ref": "com.atproto.moderation.defs#reasonType",
485516 "type": "ref"
486517 }
487518 },
488519 "required": [
489520 "reportType"
490521 ],
491522 "type": "object"
492523 },
493524 "modEventResolveAppeal": {
494525 "description": "Resolve appeal on a subject",
495526 "properties": {
496527 "comment": {
497528 "description": "Describe resolution.",
498529 "type": "string"
499530 }
500531 },
501532 "type": "object"
502533 },
503534 "modEventReverseTakedown": {
504535 "description": "Revert take down action on a subject",
505536 "properties": {
506537 "comment": {
507538 "description": "Describe reasoning behind the reversal.",
508539 "type": "string"
509540 },
510541 "policies": {
511542 "description": "Names/Keywords of the policy infraction for which takedown is being reversed.",
512543 "items": {
513544 "type": "string"
514545 },
515546 "maxLength": 5,
516547 "type": "array"
517548 },
518549 "severityLevel": {
519550 "description": "Severity level of the violation. Usually set from the last policy infraction's severity.",
520551 "type": "string"
521552 },
522553 "strikeCount": {
523554 "description": "Number of strikes to subtract from the user's strike count. Usually set from the last policy infraction's severity.",
524555 "type": "integer"
525556 }
526557 },
527558 "type": "object"
528559 },
529560 "modEventTag": {
530561 "description": "Add/Remove a tag on a subject",
531562 "properties": {
532563 "add": {
533564 "description": "Tags to be added to the subject. If already exists, won't be duplicated.",
534565 "items": {
535566 "type": "string"
536567 },
537568 "type": "array"
538569 },
539570 "comment": {
540571 "description": "Additional comment about added/removed tags.",
541572 "type": "string"
542573 },
574 "durationInHours": {
575 "description": "Indicates how long the tags being added should remain before automatically being removed. Only applies to tags being added.",
576 "type": "integer"
577 },
543578 "remove": {
544579 "description": "Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated.",
545580 "items": {
546581 "type": "string"
547582 },
548583 "type": "array"
549584 }
550585 },
551586 "required": [
552587 "add",
553588 "remove"
554589 ],
555590 "type": "object"
556591 },
557592 "modEventTakedown": {
558593 "description": "Take down a subject permanently or temporarily",
559594 "properties": {
560595 "acknowledgeAccountSubjects": {
561596 "description": "If true, all other reports on content authored by this account will be resolved (acknowledged).",
562597 "type": "boolean"
563598 },
564599 "comment": {
565600 "type": "string"
566601 },
567602 "durationInHours": {
568603 "description": "Indicates how long the takedown should be in effect before automatically expiring.",
569604 "type": "integer"
570605 },
571606 "policies": {
572607 "description": "Names/Keywords of the policies that drove the decision.",
573608 "items": {
574609 "type": "string"
575610 },
576611 "maxLength": 5,
577612 "type": "array"
578613 },
579614 "severityLevel": {
580615 "description": "Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.).",
581616 "type": "string"
582617 },
583618 "strikeCount": {
584619 "description": "Number of strikes to assign to the user for this violation.",
585620 "type": "integer"
586621 },
587622 "strikeExpiresAt": {
588623 "description": "When the strike should expire. If not provided, the strike never expires.",
589624 "format": "datetime",
590625 "type": "string"
591626 },
592627 "targetServices": {
593628 "description": "List of services where the takedown should be applied. If empty or not provided, takedown is applied on all configured services.",
594629 "items": {
595630 "knownValues": [
596631 "appview",
597632 "pds"
598633 ],
599634 "type": "string"
600635 },
601636 "type": "array"
602637 }
603638 },
604639 "type": "object"
605640 },
606641 "modEventUnmute": {
607642 "description": "Unmute action on a subject",
608643 "properties": {
609644 "comment": {
610645 "description": "Describe reasoning behind the reversal.",
611646 "type": "string"
612647 }
613648 },
614649 "type": "object"
615650 },
616651 "modEventUnmuteReporter": {
617652 "description": "Unmute incoming reports from an account",
618653 "properties": {
619654 "comment": {
620655 "description": "Describe reasoning behind the reversal.",
621656 "type": "string"
622657 }
623658 },
624659 "type": "object"
625660 },
626661 "modEventView": {
627662 "properties": {
628663 "createdAt": {
629664 "format": "datetime",
630665 "type": "string"
631666 },
632667 "createdBy": {
633668 "format": "did",
634669 "type": "string"
635670 },
636671 "creatorHandle": {
637672 "type": "string"
638673 },
639674 "event": {
640675 "refs": [
641676 "#modEventTakedown",
642677 "#modEventReverseTakedown",
643678 "#modEventComment",
644679 "#modEventReport",
645680 "#modEventLabel",
646681 "#modEventAcknowledge",
647682 "#modEventEscalate",
648683 "#modEventMute",
649684 "#modEventUnmute",
650685 "#modEventMuteReporter",
651686 "#modEventUnmuteReporter",
652687 "#modEventEmail",
653688 "#modEventResolveAppeal",
654689 "#modEventDivert",
655690 "#modEventTag",
656691 "#accountEvent",
657692 "#identityEvent",
658693 "#recordEvent",
659694 "#modEventPriorityScore",
660695 "#ageAssuranceEvent",
661696 "#ageAssuranceOverrideEvent",
662697 "#ageAssurancePurgeEvent",
663698 "#revokeAccountCredentialsEvent",
664699 "#scheduleTakedownEvent",
665700 "#cancelScheduledTakedownEvent"
666701 ],
667702 "type": "union"
668703 },
669704 "id": {
670705 "type": "integer"
671706 },
672707 "modTool": {
673708 "ref": "#modTool",
674709 "type": "ref"
675710 },
676711 "subject": {
677712 "refs": [
678713 "com.atproto.admin.defs#repoRef",
679714 "com.atproto.repo.strongRef",
680 "chat.bsky.convo.defs#messageRef"
715 "chat.bsky.convo.defs#messageRef",
716 "chat.bsky.convo.defs#convoRef"
681717 ],
682718 "type": "union"
683719 },
684720 "subjectBlobCids": {
685721 "items": {
686722 "type": "string"
687723 },
688724 "type": "array"
689725 },
690726 "subjectHandle": {
691727 "type": "string"
692728 }
693729 },
694730 "required": [
695731 "id",
696732 "event",
697733 "subject",
698734 "subjectBlobCids",
699735 "createdBy",
700736 "createdAt"
701737 ],
702738 "type": "object"
703739 },
704740 "modEventViewDetail": {
705741 "properties": {
706742 "createdAt": {
707743 "format": "datetime",
708744 "type": "string"
709745 },
710746 "createdBy": {
711747 "format": "did",
712748 "type": "string"
713749 },
714750 "event": {
715751 "refs": [
716752 "#modEventTakedown",
717753 "#modEventReverseTakedown",
718754 "#modEventComment",
719755 "#modEventReport",
720756 "#modEventLabel",
721757 "#modEventAcknowledge",
722758 "#modEventEscalate",
723759 "#modEventMute",
724760 "#modEventUnmute",
725761 "#modEventMuteReporter",
726762 "#modEventUnmuteReporter",
727763 "#modEventEmail",
728764 "#modEventResolveAppeal",
729765 "#modEventDivert",
730766 "#modEventTag",
731767 "#accountEvent",
732768 "#identityEvent",
733769 "#recordEvent",
734770 "#modEventPriorityScore",
735771 "#ageAssuranceEvent",
736772 "#ageAssuranceOverrideEvent",
737773 "#ageAssurancePurgeEvent",
738774 "#revokeAccountCredentialsEvent",
739775 "#scheduleTakedownEvent",
740776 "#cancelScheduledTakedownEvent"
741777 ],
742778 "type": "union"
743779 },
744780 "id": {
745781 "type": "integer"
746782 },
747783 "modTool": {
748784 "ref": "#modTool",
749785 "type": "ref"
750786 },
751787 "subject": {
752788 "refs": [
753789 "#repoView",
754790 "#repoViewNotFound",
755791 "#recordView",
756 "#recordViewNotFound"
792 "#recordViewNotFound",
793 "#convoView"
757794 ],
758795 "type": "union"
759796 },
760797 "subjectBlobs": {
761798 "items": {
762799 "ref": "#blobView",
763800 "type": "ref"
764801 },
765802 "type": "array"
766803 }
767804 },
768805 "required": [
769806 "id",
770807 "event",
771808 "subject",
772809 "subjectBlobs",
773810 "createdBy",
774811 "createdAt"
775812 ],
776813 "type": "object"
777814 },
778815 "modTool": {
779816 "description": "Moderation tool information for tracing the source of the action",
780817 "properties": {
781818 "meta": {
782819 "description": "Additional arbitrary metadata about the source",
783820 "type": "unknown"
784821 },
785822 "name": {
786823 "description": "Name/identifier of the source (e.g., 'automod', 'ozone/workspace')",
787824 "type": "string"
788825 }
789826 },
790827 "required": [
791828 "name"
792829 ],
793830 "type": "object"
794831 },
795832 "moderation": {
796833 "properties": {
797834 "subjectStatus": {
798835 "ref": "#subjectStatusView",
799836 "type": "ref"
800837 }
801838 },
802839 "type": "object"
803840 },
804841 "moderationDetail": {
805842 "properties": {
806843 "subjectStatus": {
807844 "ref": "#subjectStatusView",
808845 "type": "ref"
809846 }
810847 },
811848 "type": "object"
812849 },
813850 "recordEvent": {
814851 "description": "Logs lifecycle event on a record subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.",
815852 "properties": {
816853 "cid": {
817854 "format": "cid",
818855 "type": "string"
819856 },
820857 "comment": {
821858 "type": "string"
822859 },
823860 "op": {
824861 "knownValues": [
825862 "create",
826863 "update",
827864 "delete"
828865 ],
829866 "type": "string"
830867 },
831868 "timestamp": {
832869 "format": "datetime",
833870 "type": "string"
834871 }
835872 },
836873 "required": [
837874 "timestamp",
838875 "op"
839876 ],
840877 "type": "object"
841878 },
842879 "recordHosting": {
843880 "properties": {
844881 "createdAt": {
845882 "format": "datetime",
846883 "type": "string"
847884 },
848885 "deletedAt": {
849886 "format": "datetime",
850887 "type": "string"
851888 },
852889 "status": {
853890 "knownValues": [
854891 "deleted",
855892 "unknown"
856893 ],
857894 "type": "string"
858895 },
859896 "updatedAt": {
860897 "format": "datetime",
861898 "type": "string"
862899 }
863900 },
864901 "required": [
865902 "status"
866903 ],
867904 "type": "object"
868905 },
869906 "recordView": {
870907 "properties": {
871908 "blobCids": {
872909 "items": {
873910 "format": "cid",
874911 "type": "string"
875912 },
876913 "type": "array"
877914 },
878915 "cid": {
879916 "format": "cid",
880917 "type": "string"
881918 },
882919 "indexedAt": {
883920 "format": "datetime",
884921 "type": "string"
885922 },
886923 "moderation": {
887924 "ref": "#moderation",
888925 "type": "ref"
889926 },
890927 "repo": {
891928 "ref": "#repoView",
892929 "type": "ref"
893930 },
894931 "uri": {
895932 "format": "at-uri",
896933 "type": "string"
897934 },
898935 "value": {
899936 "type": "unknown"
900937 }
901938 },
902939 "required": [
903940 "uri",
904941 "cid",
905942 "value",
906943 "blobCids",
907944 "indexedAt",
908945 "moderation",
909946 "repo"
910947 ],
911948 "type": "object"
912949 },
913950 "recordViewDetail": {
914951 "properties": {
915952 "blobs": {
916953 "items": {
917954 "ref": "#blobView",
918955 "type": "ref"
919956 },
920957 "type": "array"
921958 },
922959 "cid": {
923960 "format": "cid",
924961 "type": "string"
925962 },
926963 "indexedAt": {
927964 "format": "datetime",
928965 "type": "string"
929966 },
930967 "labels": {
931968 "items": {
932969 "ref": "com.atproto.label.defs#label",
933970 "type": "ref"
934971 },
935972 "type": "array"
936973 },
937974 "moderation": {
938975 "ref": "#moderationDetail",
939976 "type": "ref"
940977 },
941978 "repo": {
942979 "ref": "#repoView",
943980 "type": "ref"
944981 },
945982 "uri": {
946983 "format": "at-uri",
947984 "type": "string"
948985 },
949986 "value": {
950987 "type": "unknown"
951988 }
952989 },
953990 "required": [
954991 "uri",
955992 "cid",
956993 "value",
957994 "blobs",
958995 "indexedAt",
959996 "moderation",
960997 "repo"
961998 ],
962999 "type": "object"
9631000 },
9641001 "recordViewNotFound": {
9651002 "properties": {
9661003 "uri": {
9671004 "format": "at-uri",
9681005 "type": "string"
9691006 }
9701007 },
9711008 "required": [
9721009 "uri"
9731010 ],
9741011 "type": "object"
9751012 },
9761013 "recordsStats": {
9771014 "description": "Statistics about a set of record subject items",
9781015 "properties": {
9791016 "appealedCount": {
9801017 "description": "Number of items that were appealed at least once",
9811018 "type": "integer"
9821019 },
9831020 "escalatedCount": {
9841021 "description": "Number of items that were escalated at least once",
9851022 "type": "integer"
9861023 },
9871024 "pendingCount": {
9881025 "description": "Number of item currently in \"reviewOpen\" or \"reviewEscalated\" state",
9891026 "type": "integer"
9901027 },
9911028 "processedCount": {
9921029 "description": "Number of item currently in \"reviewNone\" or \"reviewClosed\" state",
9931030 "type": "integer"
9941031 },
9951032 "reportedCount": {
9961033 "description": "Number of items that were reported at least once",
9971034 "type": "integer"
9981035 },
9991036 "subjectCount": {
10001037 "description": "Total number of item in the set",
10011038 "type": "integer"
10021039 },
10031040 "takendownCount": {
10041041 "description": "Number of item currently taken down",
10051042 "type": "integer"
10061043 },
10071044 "totalReports": {
10081045 "description": "Cumulative sum of the number of reports on the items in the set",
10091046 "type": "integer"
10101047 }
10111048 },
10121049 "type": "object"
10131050 },
10141051 "repoView": {
10151052 "properties": {
10161053 "deactivatedAt": {
10171054 "format": "datetime",
10181055 "type": "string"
10191056 },
10201057 "did": {
10211058 "format": "did",
10221059 "type": "string"
10231060 },
10241061 "email": {
10251062 "type": "string"
10261063 },
10271064 "handle": {
10281065 "format": "handle",
10291066 "type": "string"
10301067 },
10311068 "indexedAt": {
10321069 "format": "datetime",
10331070 "type": "string"
10341071 },
10351072 "inviteNote": {
10361073 "type": "string"
10371074 },
10381075 "invitedBy": {
10391076 "ref": "com.atproto.server.defs#inviteCode",
10401077 "type": "ref"
10411078 },
10421079 "invitesDisabled": {
10431080 "type": "boolean"
10441081 },
10451082 "moderation": {
10461083 "ref": "#moderation",
10471084 "type": "ref"
10481085 },
10491086 "relatedRecords": {
10501087 "items": {
10511088 "type": "unknown"
10521089 },
10531090 "type": "array"
10541091 },
10551092 "threatSignatures": {
10561093 "items": {
10571094 "ref": "com.atproto.admin.defs#threatSignature",
10581095 "type": "ref"
10591096 },
10601097 "type": "array"
10611098 }
10621099 },
10631100 "required": [
10641101 "did",
10651102 "handle",
10661103 "relatedRecords",
10671104 "indexedAt",
10681105 "moderation"
10691106 ],
10701107 "type": "object"
10711108 },
10721109 "repoViewDetail": {
10731110 "properties": {
10741111 "deactivatedAt": {
10751112 "format": "datetime",
10761113 "type": "string"
10771114 },
10781115 "did": {
10791116 "format": "did",
10801117 "type": "string"
10811118 },
10821119 "email": {
10831120 "type": "string"
10841121 },
10851122 "emailConfirmedAt": {
10861123 "format": "datetime",
10871124 "type": "string"
10881125 },
10891126 "handle": {
10901127 "format": "handle",
10911128 "type": "string"
10921129 },
10931130 "indexedAt": {
10941131 "format": "datetime",
10951132 "type": "string"
10961133 },
10971134 "inviteNote": {
10981135 "type": "string"
10991136 },
11001137 "invitedBy": {
11011138 "ref": "com.atproto.server.defs#inviteCode",
11021139 "type": "ref"
11031140 },
11041141 "invites": {
11051142 "items": {
11061143 "ref": "com.atproto.server.defs#inviteCode",
11071144 "type": "ref"
11081145 },
11091146 "type": "array"
11101147 },
11111148 "invitesDisabled": {
11121149 "type": "boolean"
11131150 },
11141151 "labels": {
11151152 "items": {
11161153 "ref": "com.atproto.label.defs#label",
11171154 "type": "ref"
11181155 },
11191156 "type": "array"
11201157 },
11211158 "moderation": {
11221159 "ref": "#moderationDetail",
11231160 "type": "ref"
11241161 },
11251162 "relatedRecords": {
11261163 "items": {
11271164 "type": "unknown"
11281165 },
11291166 "type": "array"
11301167 },
11311168 "threatSignatures": {
11321169 "items": {
11331170 "ref": "com.atproto.admin.defs#threatSignature",
11341171 "type": "ref"
11351172 },
11361173 "type": "array"
11371174 }
11381175 },
11391176 "required": [
11401177 "did",
11411178 "handle",
11421179 "relatedRecords",
11431180 "indexedAt",
11441181 "moderation"
11451182 ],
11461183 "type": "object"
11471184 },
11481185 "repoViewNotFound": {
11491186 "properties": {
11501187 "did": {
11511188 "format": "did",
11521189 "type": "string"
11531190 }
11541191 },
11551192 "required": [
11561193 "did"
11571194 ],
11581195 "type": "object"
11591196 },
11601197 "reporterStats": {
11611198 "properties": {
11621199 "accountReportCount": {
11631200 "description": "The total number of reports made by the user on accounts.",
11641201 "type": "integer"
11651202 },
11661203 "did": {
11671204 "format": "did",
11681205 "type": "string"
11691206 },
11701207 "labeledAccountCount": {
11711208 "description": "The total number of accounts labeled as a result of the user's reports.",
11721209 "type": "integer"
11731210 },
11741211 "labeledRecordCount": {
11751212 "description": "The total number of records labeled as a result of the user's reports.",
11761213 "type": "integer"
11771214 },
11781215 "recordReportCount": {
11791216 "description": "The total number of reports made by the user on records.",
11801217 "type": "integer"
11811218 },
11821219 "reportedAccountCount": {
11831220 "description": "The total number of accounts reported by the user.",
11841221 "type": "integer"
11851222 },
11861223 "reportedRecordCount": {
11871224 "description": "The total number of records reported by the user.",
11881225 "type": "integer"
11891226 },
11901227 "takendownAccountCount": {
11911228 "description": "The total number of accounts taken down as a result of the user's reports.",
11921229 "type": "integer"
11931230 },
11941231 "takendownRecordCount": {
11951232 "description": "The total number of records taken down as a result of the user's reports.",
11961233 "type": "integer"
11971234 }
11981235 },
11991236 "required": [
12001237 "did",
12011238 "accountReportCount",
12021239 "recordReportCount",
12031240 "reportedAccountCount",
12041241 "reportedRecordCount",
12051242 "takendownAccountCount",
12061243 "takendownRecordCount",
12071244 "labeledAccountCount",
12081245 "labeledRecordCount"
12091246 ],
12101247 "type": "object"
12111248 },
12121249 "reviewClosed": {
12131250 "description": "Moderator review status of a subject: Closed. Indicates that the subject was already reviewed and resolved by a moderator",
12141251 "type": "token"
12151252 },
12161253 "reviewEscalated": {
12171254 "description": "Moderator review status of a subject: Escalated. Indicates that the subject was escalated for review by a moderator",
12181255 "type": "token"
12191256 },
12201257 "reviewNone": {
12211258 "description": "Moderator review status of a subject: Unnecessary. Indicates that the subject does not need a review at the moment but there is probably some moderation related metadata available for it",
12221259 "type": "token"
12231260 },
12241261 "reviewOpen": {
12251262 "description": "Moderator review status of a subject: Open. Indicates that the subject needs to be reviewed by a moderator",
12261263 "type": "token"
12271264 },
12281265 "revokeAccountCredentialsEvent": {
12291266 "description": "Account credentials revocation by moderators. Only works on DID subjects.",
12301267 "properties": {
12311268 "comment": {
12321269 "description": "Comment describing the reason for the revocation.",
12331270 "minLength": 1,
12341271 "type": "string"
12351272 }
12361273 },
12371274 "required": [
12381275 "comment"
12391276 ],
12401277 "type": "object"
12411278 },
12421279 "scheduleTakedownEvent": {
12431280 "description": "Logs a scheduled takedown action for an account.",
12441281 "properties": {
12451282 "comment": {
12461283 "type": "string"
12471284 },
12481285 "executeAfter": {
12491286 "format": "datetime",
12501287 "type": "string"
12511288 },
12521289 "executeAt": {
12531290 "format": "datetime",
12541291 "type": "string"
12551292 },
12561293 "executeUntil": {
12571294 "format": "datetime",
12581295 "type": "string"
12591296 }
12601297 },
12611298 "type": "object"
12621299 },
12631300 "scheduledActionView": {
12641301 "description": "View of a scheduled moderation action",
12651302 "properties": {
12661303 "action": {
12671304 "description": "Type of action to be executed",
12681305 "knownValues": [
12691306 "takedown"
12701307 ],
12711308 "type": "string"
12721309 },
12731310 "createdAt": {
12741311 "description": "When the scheduled action was created",
12751312 "format": "datetime",
12761313 "type": "string"
12771314 },
12781315 "createdBy": {
12791316 "description": "DID of the user who created this scheduled action",
12801317 "format": "did",
12811318 "type": "string"
12821319 },
12831320 "did": {
12841321 "description": "Subject DID for the action",
12851322 "format": "did",
12861323 "type": "string"
12871324 },
12881325 "eventData": {
12891326 "description": "Serialized event object that will be propagated to the event when performed",
12901327 "type": "unknown"
12911328 },
12921329 "executeAfter": {
12931330 "description": "Earliest time to execute the action (for randomized scheduling)",
12941331 "format": "datetime",
12951332 "type": "string"
12961333 },
12971334 "executeAt": {
12981335 "description": "Exact time to execute the action",
12991336 "format": "datetime",
13001337 "type": "string"
13011338 },
13021339 "executeUntil": {
13031340 "description": "Latest time to execute the action (for randomized scheduling)",
13041341 "format": "datetime",
13051342 "type": "string"
13061343 },
13071344 "executionEventId": {
13081345 "description": "ID of the moderation event created when action was successfully executed",
13091346 "type": "integer"
13101347 },
13111348 "id": {
13121349 "description": "Auto-incrementing row ID",
13131350 "type": "integer"
13141351 },
13151352 "lastExecutedAt": {
13161353 "description": "When the action was last attempted to be executed",
13171354 "format": "datetime",
13181355 "type": "string"
13191356 },
13201357 "lastFailureReason": {
13211358 "description": "Reason for the last execution failure",
13221359 "type": "string"
13231360 },
13241361 "randomizeExecution": {
13251362 "description": "Whether execution time should be randomized within the specified range",
13261363 "type": "boolean"
13271364 },
13281365 "status": {
13291366 "description": "Current status of the scheduled action",
13301367 "knownValues": [
13311368 "pending",
13321369 "executed",
13331370 "cancelled",
13341371 "failed"
13351372 ],
13361373 "type": "string"
13371374 },
13381375 "updatedAt": {
13391376 "description": "When the scheduled action was last updated",
13401377 "format": "datetime",
13411378 "type": "string"
13421379 }
13431380 },
13441381 "required": [
13451382 "id",
13461383 "action",
13471384 "did",
13481385 "createdBy",
13491386 "createdAt",
13501387 "status"
13511388 ],
13521389 "type": "object"
13531390 },
13541391 "subjectReviewState": {
13551392 "knownValues": [
13561393 "tools.ozone.moderation.defs#reviewOpen",
13571394 "tools.ozone.moderation.defs#reviewEscalated",
13581395 "tools.ozone.moderation.defs#reviewClosed",
13591396 "tools.ozone.moderation.defs#reviewNone"
13601397 ],
13611398 "type": "string"
13621399 },
13631400 "subjectStatusView": {
13641401 "properties": {
13651402 "accountStats": {
13661403 "description": "Statistics related to the account subject",
13671404 "ref": "#accountStats",
13681405 "type": "ref"
13691406 },
13701407 "accountStrike": {
13711408 "description": "Strike information for the account (account-level only)",
13721409 "ref": "#accountStrike",
13731410 "type": "ref"
13741411 },
13751412 "ageAssuranceState": {
13761413 "description": "Current age assurance state of the subject.",
13771414 "knownValues": [
13781415 "pending",
13791416 "assured",
13801417 "unknown",
13811418 "reset",
13821419 "blocked"
13831420 ],
13841421 "type": "string"
13851422 },
13861423 "ageAssuranceUpdatedBy": {
13871424 "description": "Whether or not the last successful update to age assurance was made by the user or admin.",
13881425 "knownValues": [
13891426 "admin",
13901427 "user"
13911428 ],
13921429 "type": "string"
13931430 },
13941431 "appealed": {
13951432 "description": "True indicates that the a previously taken moderator action was appealed against, by the author of the content. False indicates last appeal was resolved by moderators.",
13961433 "type": "boolean"
13971434 },
13981435 "comment": {
13991436 "description": "Sticky comment on the subject.",
14001437 "type": "string"
14011438 },
14021439 "createdAt": {
14031440 "description": "Timestamp referencing the first moderation status impacting event was emitted on the subject",
14041441 "format": "datetime",
14051442 "type": "string"
14061443 },
14071444 "hosting": {
14081445 "refs": [
14091446 "#accountHosting",
14101447 "#recordHosting"
14111448 ],
14121449 "type": "union"
14131450 },
14141451 "id": {
14151452 "type": "integer"
14161453 },
14171454 "lastAppealedAt": {
14181455 "description": "Timestamp referencing when the author of the subject appealed a moderation action",
14191456 "format": "datetime",
14201457 "type": "string"
14211458 },
14221459 "lastReportedAt": {
14231460 "format": "datetime",
14241461 "type": "string"
14251462 },
14261463 "lastReviewedAt": {
14271464 "format": "datetime",
14281465 "type": "string"
14291466 },
14301467 "lastReviewedBy": {
14311468 "format": "did",
14321469 "type": "string"
14331470 },
14341471 "muteReportingUntil": {
14351472 "format": "datetime",
14361473 "type": "string"
14371474 },
14381475 "muteUntil": {
14391476 "format": "datetime",
14401477 "type": "string"
14411478 },
14421479 "priorityScore": {
14431480 "description": "Numeric value representing the level of priority. Higher score means higher priority.",
14441481 "maximum": 100,
14451482 "minimum": 0,
14461483 "type": "integer"
14471484 },
14481485 "recordsStats": {
14491486 "description": "Statistics related to the record subjects authored by the subject's account",
14501487 "ref": "#recordsStats",
14511488 "type": "ref"
14521489 },
14531490 "reviewState": {
14541491 "ref": "#subjectReviewState",
14551492 "type": "ref"
14561493 },
14571494 "subject": {
14581495 "refs": [
14591496 "com.atproto.admin.defs#repoRef",
14601497 "com.atproto.repo.strongRef",
1461 "chat.bsky.convo.defs#messageRef"
1498 "chat.bsky.convo.defs#messageRef",
1499 "chat.bsky.convo.defs#convoRef"
14621500 ],
14631501 "type": "union"
14641502 },
14651503 "subjectBlobCids": {
14661504 "items": {
14671505 "format": "cid",
14681506 "type": "string"
14691507 },
14701508 "type": "array"
14711509 },
14721510 "subjectRepoHandle": {
14731511 "type": "string"
14741512 },
14751513 "suspendUntil": {
14761514 "format": "datetime",
14771515 "type": "string"
14781516 },
14791517 "tags": {
14801518 "items": {
14811519 "type": "string"
14821520 },
14831521 "type": "array"
14841522 },
14851523 "takendown": {
14861524 "type": "boolean"
14871525 },
14881526 "updatedAt": {
14891527 "description": "Timestamp referencing when the last update was made to the moderation status of the subject",
14901528 "format": "datetime",
14911529 "type": "string"
14921530 }
14931531 },
14941532 "required": [
14951533 "id",
14961534 "subject",
14971535 "createdAt",
14981536 "updatedAt",
14991537 "reviewState"
15001538 ],
15011539 "type": "object"
15021540 },
15031541 "subjectView": {
15041542 "description": "Detailed view of a subject. For record subjects, the author's repo and profile will be returned.",
15051543 "properties": {
15061544 "profile": {
15071545 "refs": [],
15081546 "type": "union"
15091547 },
15101548 "record": {
15111549 "ref": "#recordViewDetail",
15121550 "type": "ref"
15131551 },
15141552 "repo": {
15151553 "ref": "#repoViewDetail",
15161554 "type": "ref"
15171555 },
15181556 "status": {
15191557 "ref": "#subjectStatusView",
15201558 "type": "ref"
15211559 },
15221560 "subject": {
15231561 "type": "string"
15241562 },
15251563 "type": {
15261564 "ref": "com.atproto.moderation.defs#subjectType",
15271565 "type": "ref"
15281566 }
15291567 },
15301568 "required": [
15311569 "type",
15321570 "subject"
15331571 ],
15341572 "type": "object"
15351573 },
15361574 "timelineEventPlcCreate": {
15371575 "description": "Moderation event timeline event for a PLC create operation",
15381576 "type": "token"
15391577 },
15401578 "timelineEventPlcOperation": {
15411579 "description": "Moderation event timeline event for generic PLC operation",
15421580 "type": "token"
15431581 },
15441582 "timelineEventPlcTombstone": {
15451583 "description": "Moderation event timeline event for a PLC tombstone operation",
15461584 "type": "token"
15471585 },
15481586 "videoDetails": {
15491587 "properties": {
15501588 "height": {
15511589 "type": "integer"
15521590 },
15531591 "length": {
15541592 "type": "integer"
15551593 },
15561594 "width": {
15571595 "type": "integer"
15581596 }
15591597 },
15601598 "required": [
15611599 "width",
15621600 "height",
15631601 "length"
15641602 ],
15651603 "type": "object"
15661604 }
15671605 },
15681606 "id": "tools.ozone.moderation.defs",
15691607 "lexicon": 1
15701608}

Compare other versions