full diff

tools.ozone.moderation.defs

From
bafyreidon7bz3r3ouvshtbukdbyvjnwksvrgdtz265ze5ywmqz4jj6ya2a indexed 2026-10-07 18:19 UTC View this version
To
bafyreidosfifnbi77vne6bvpt6rorp4w6jcqfoesfuj4dt5jchzs4xlt5y indexed 2026-11-19 20:57 UTC View this version

Compatibility

breaking 34 breaking changes, 2 non-breaking changes.

Breaking changes (34)
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#accountStats" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#accountStats.appealCount" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#accountStats.escalateCount" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#accountStats.reportCount" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#accountStats.suspendCount" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#accountStats.takedownCount" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.appealedCount" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.escalatedCount" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.pendingCount" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.processedCount" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.reportedCount" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.subjectCount" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.takendownCount" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.totalReports" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#subjectStatusView.accountStats" }
  • RemovedVertex RemovedVertex { vertex_id: "tools.ozone.moderation.defs#subjectStatusView.recordsStats" }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#accountStats", tgt: "tools.ozone.moderation.defs#accountStats.appealCount", kind: "prop", name: Some("appealCount") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#accountStats", tgt: "tools.ozone.moderation.defs#accountStats.escalateCount", kind: "prop", name: Some("escalateCount") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#accountStats", tgt: "tools.ozone.moderation.defs#accountStats.reportCount", kind: "prop", name: Some("reportCount") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#accountStats", tgt: "tools.ozone.moderation.defs#accountStats.suspendCount", kind: "prop", name: Some("suspendCount") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#accountStats", tgt: "tools.ozone.moderation.defs#accountStats.takedownCount", kind: "prop", name: Some("takedownCount") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.appealedCount", kind: "prop", name: Some("appealedCount") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.escalatedCount", kind: "prop", name: Some("escalatedCount") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.pendingCount", kind: "prop", name: Some("pendingCount") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.processedCount", kind: "prop", name: Some("processedCount") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.reportedCount", kind: "prop", name: Some("reportedCount") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.subjectCount", kind: "prop", name: Some("subjectCount") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.takendownCount", kind: "prop", name: Some("takendownCount") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.totalReports", kind: "prop", name: Some("totalReports") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#subjectStatusView", tgt: "tools.ozone.moderation.defs#subjectStatusView.accountStats", kind: "prop", name: Some("accountStats") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#subjectStatusView", tgt: "tools.ozone.moderation.defs#subjectStatusView.recordsStats", kind: "prop", name: Some("recordsStats") }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#subjectStatusView.accountStats", tgt: "tools.ozone.moderation.defs#accountStats", kind: "ref", name: None }
  • RemovedEdge RemovedEdge { src: "tools.ozone.moderation.defs#subjectStatusView.recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats", kind: "ref", name: None }
Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventReverseTakedown.strikeExpiresAt" }
  • AddedEdge AddedEdge { src: "tools.ozone.moderation.defs#modEventReverseTakedown", tgt: "tools.ozone.moderation.defs#modEventReverseTakedown.strikeExpiresAt", kind: "prop", name: Some("strikeExpiresAt") }

Migration guidance

Removed

  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#accountStats" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#accountStats.appealCount" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#accountStats.escalateCount" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#accountStats.reportCount" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#accountStats.suspendCount" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#accountStats.takedownCount" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.appealedCount" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.escalatedCount" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.pendingCount" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.processedCount" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.reportedCount" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.subjectCount" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.takendownCount" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#recordsStats.totalReports" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#subjectStatusView.accountStats" }
  • RemovedVertex { vertex_id: "tools.ozone.moderation.defs#subjectStatusView.recordsStats" }

Added

  • AddedVertex { vertex_id: "tools.ozone.moderation.defs#modEventReverseTakedown.strikeExpiresAt" }

Notes

  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#accountStats", tgt: "tools.ozone.moderation.defs#accountStats.appealCount", kind: "prop", name: Some("appealCount") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#accountStats", tgt: "tools.ozone.moderation.defs#accountStats.escalateCount", kind: "prop", name: Some("escalateCount") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#accountStats", tgt: "tools.ozone.moderation.defs#accountStats.reportCount", kind: "prop", name: Some("reportCount") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#accountStats", tgt: "tools.ozone.moderation.defs#accountStats.suspendCount", kind: "prop", name: Some("suspendCount") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#accountStats", tgt: "tools.ozone.moderation.defs#accountStats.takedownCount", kind: "prop", name: Some("takedownCount") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.appealedCount", kind: "prop", name: Some("appealedCount") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.escalatedCount", kind: "prop", name: Some("escalatedCount") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.pendingCount", kind: "prop", name: Some("pendingCount") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.processedCount", kind: "prop", name: Some("processedCount") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.reportedCount", kind: "prop", name: Some("reportedCount") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.subjectCount", kind: "prop", name: Some("subjectCount") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.takendownCount", kind: "prop", name: Some("takendownCount") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats.totalReports", kind: "prop", name: Some("totalReports") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#subjectStatusView", tgt: "tools.ozone.moderation.defs#subjectStatusView.accountStats", kind: "prop", name: Some("accountStats") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#subjectStatusView", tgt: "tools.ozone.moderation.defs#subjectStatusView.recordsStats", kind: "prop", name: Some("recordsStats") }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#subjectStatusView.accountStats", tgt: "tools.ozone.moderation.defs#accountStats", kind: "ref", name: None }
  • Breaking: RemovedEdge { src: "tools.ozone.moderation.defs#subjectStatusView.recordsStats", tgt: "tools.ozone.moderation.defs#recordsStats", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "tools.ozone.moderation.defs#modEventReverseTakedown", tgt: "tools.ozone.moderation.defs#modEventReverseTakedown.strikeExpiresAt", kind: "prop", name: Some("strikeExpiresAt") }

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 },
74 "accountStats": {
75 "description": "Statistics about a particular account subject",
76 "properties": {
77 "appealCount": {
78 "description": "Total number of appeals against a moderation action on the account",
79 "type": "integer"
80 },
81 "escalateCount": {
82 "description": "Number of times the account was escalated",
83 "type": "integer"
84 },
85 "reportCount": {
86 "description": "Total number of reports on the account",
87 "type": "integer"
88 },
89 "suspendCount": {
90 "description": "Number of times the account was suspended",
91 "type": "integer"
92 },
93 "takedownCount": {
94 "description": "Number of times the account was taken down",
95 "type": "integer"
96 }
97 },
98 "type": "object"
99 },
10074 "accountStrike": {
10175 "description": "Strike information for an account",
10276 "properties": {
10377 "activeStrikeCount": {
10478 "description": "Current number of active strikes (excluding expired strikes)",
10579 "type": "integer"
10680 },
10781 "firstStrikeAt": {
10882 "description": "Timestamp of the first strike received",
10983 "format": "datetime",
11084 "type": "string"
11185 },
11286 "lastStrikeAt": {
11387 "description": "Timestamp of the most recent strike received",
11488 "format": "datetime",
11589 "type": "string"
11690 },
11791 "totalStrikeCount": {
11892 "description": "Total number of strikes ever received (including expired strikes)",
11993 "type": "integer"
12094 }
12195 },
12296 "type": "object"
12397 },
12498 "ageAssuranceEvent": {
12599 "description": "Age assurance info coming directly from users. Only works on DID subjects.",
126100 "properties": {
127101 "access": {
128102 "ref": "app.bsky.ageassurance.defs#access",
129103 "type": "ref"
130104 },
131105 "attemptId": {
132106 "description": "The unique identifier for this instance of the age assurance flow, in UUID format.",
133107 "type": "string"
134108 },
135109 "completeIp": {
136110 "description": "The IP address used when completing the AA flow.",
137111 "type": "string"
138112 },
139113 "completeUa": {
140114 "description": "The user agent used when completing the AA flow.",
141115 "type": "string"
142116 },
143117 "countryCode": {
144118 "description": "The ISO 3166-1 alpha-2 country code provided when beginning the Age Assurance flow.",
145119 "type": "string"
146120 },
147121 "createdAt": {
148122 "description": "The date and time of this write operation.",
149123 "format": "datetime",
150124 "type": "string"
151125 },
152126 "initIp": {
153127 "description": "The IP address used when initiating the AA flow.",
154128 "type": "string"
155129 },
156130 "initUa": {
157131 "description": "The user agent used when initiating the AA flow.",
158132 "type": "string"
159133 },
160134 "regionCode": {
161135 "description": "The ISO 3166-2 region code provided when beginning the Age Assurance flow.",
162136 "type": "string"
163137 },
164138 "status": {
165139 "description": "The status of the Age Assurance process.",
166140 "knownValues": [
167141 "unknown",
168142 "pending",
169143 "assured"
170144 ],
171145 "type": "string"
172146 }
173147 },
174148 "required": [
175149 "createdAt",
176150 "status",
177151 "attemptId"
178152 ],
179153 "type": "object"
180154 },
181155 "ageAssuranceOverrideEvent": {
182156 "description": "Age assurance status override by moderators. Only works on DID subjects.",
183157 "properties": {
184158 "access": {
185159 "ref": "app.bsky.ageassurance.defs#access",
186160 "type": "ref"
187161 },
188162 "comment": {
189163 "description": "Comment describing the reason for the override.",
190164 "minLength": 1,
191165 "type": "string"
192166 },
193167 "status": {
194168 "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.",
195169 "knownValues": [
196170 "assured",
197171 "reset",
198172 "blocked"
199173 ],
200174 "type": "string"
201175 }
202176 },
203177 "required": [
204178 "comment",
205179 "status"
206180 ],
207181 "type": "object"
208182 },
209183 "ageAssurancePurgeEvent": {
210184 "description": "Purges all age assurance events for the subject. Only works on DID subjects. Moderator-only.",
211185 "properties": {
212186 "comment": {
213187 "description": "Comment describing the reason for the purge.",
214188 "minLength": 1,
215189 "type": "string"
216190 }
217191 },
218192 "required": [
219193 "comment"
220194 ],
221195 "type": "object"
222196 },
223197 "blobView": {
224198 "properties": {
225199 "cid": {
226200 "format": "cid",
227201 "type": "string"
228202 },
229203 "createdAt": {
230204 "format": "datetime",
231205 "type": "string"
232206 },
233207 "details": {
234208 "refs": [
235209 "#imageDetails",
236210 "#videoDetails"
237211 ],
238212 "type": "union"
239213 },
240214 "mimeType": {
241215 "type": "string"
242216 },
243217 "moderation": {
244218 "ref": "#moderation",
245219 "type": "ref"
246220 },
247221 "size": {
248222 "type": "integer"
249223 }
250224 },
251225 "required": [
252226 "cid",
253227 "mimeType",
254228 "size",
255229 "createdAt"
256230 ],
257231 "type": "object"
258232 },
259233 "cancelScheduledTakedownEvent": {
260234 "description": "Logs cancellation of a scheduled takedown action for an account.",
261235 "properties": {
262236 "comment": {
263237 "type": "string"
264238 }
265239 },
266240 "type": "object"
267241 },
268242 "convoView": {
269243 "properties": {
270244 "convoId": {
271245 "type": "string"
272246 },
273247 "did": {
274248 "format": "did",
275249 "type": "string"
276250 }
277251 },
278252 "required": [
279253 "did",
280254 "convoId"
281255 ],
282256 "type": "object"
283257 },
284258 "identityEvent": {
285259 "description": "Logs identity related events on a repo subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.",
286260 "properties": {
287261 "comment": {
288262 "type": "string"
289263 },
290264 "handle": {
291265 "format": "handle",
292266 "type": "string"
293267 },
294268 "pdsHost": {
295269 "format": "uri",
296270 "type": "string"
297271 },
298272 "timestamp": {
299273 "format": "datetime",
300274 "type": "string"
301275 },
302276 "tombstone": {
303277 "type": "boolean"
304278 }
305279 },
306280 "required": [
307281 "timestamp"
308282 ],
309283 "type": "object"
310284 },
311285 "imageDetails": {
312286 "properties": {
313287 "height": {
314288 "type": "integer"
315289 },
316290 "width": {
317291 "type": "integer"
318292 }
319293 },
320294 "required": [
321295 "width",
322296 "height"
323297 ],
324298 "type": "object"
325299 },
326300 "modEventAcknowledge": {
327301 "properties": {
328302 "acknowledgeAccountSubjects": {
329303 "description": "If true, all other reports on content authored by this account will be resolved (acknowledged).",
330304 "type": "boolean"
331305 },
332306 "comment": {
333307 "type": "string"
334308 }
335309 },
336310 "type": "object"
337311 },
338312 "modEventComment": {
339313 "description": "Add a comment to a subject. An empty comment will clear any previously set sticky comment.",
340314 "properties": {
341315 "comment": {
342316 "type": "string"
343317 },
344318 "sticky": {
345319 "description": "Make the comment persistent on the subject",
346320 "type": "boolean"
347321 }
348322 },
349323 "type": "object"
350324 },
351325 "modEventDivert": {
352326 "description": "Divert a record's blobs to a 3rd party service for further scanning/tagging",
353327 "properties": {
354328 "comment": {
355329 "type": "string"
356330 }
357331 },
358332 "type": "object"
359333 },
360334 "modEventEmail": {
361335 "description": "Keep a log of outgoing email to a user",
362336 "properties": {
363337 "comment": {
364338 "description": "Additional comment about the outgoing comm.",
365339 "type": "string"
366340 },
367341 "content": {
368342 "description": "The content of the email sent to the user.",
369343 "type": "string"
370344 },
371345 "isDelivered": {
372346 "description": "Indicates whether the email was successfully delivered to the user's inbox.",
373347 "type": "boolean"
374348 },
375349 "policies": {
376350 "description": "Names/Keywords of the policies that necessitated the email.",
377351 "items": {
378352 "type": "string"
379353 },
380354 "maxLength": 5,
381355 "type": "array"
382356 },
383357 "severityLevel": {
384358 "description": "Severity level of the violation. Normally 'sev-1' that adds strike on repeat offense",
385359 "type": "string"
386360 },
387361 "strikeCount": {
388362 "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.",
389363 "type": "integer"
390364 },
391365 "strikeExpiresAt": {
392366 "description": "When the strike should expire. If not provided, the strike never expires.",
393367 "format": "datetime",
394368 "type": "string"
395369 },
396370 "subjectLine": {
397371 "description": "The subject line of the email sent to the user.",
398372 "type": "string"
399373 }
400374 },
401375 "required": [
402376 "subjectLine"
403377 ],
404378 "type": "object"
405379 },
406380 "modEventEscalate": {
407381 "properties": {
408382 "comment": {
409383 "type": "string"
410384 }
411385 },
412386 "type": "object"
413387 },
414388 "modEventLabel": {
415389 "description": "Apply/Negate labels on a subject",
416390 "properties": {
417391 "comment": {
418392 "type": "string"
419393 },
420394 "createLabelVals": {
421395 "items": {
422396 "type": "string"
423397 },
424398 "type": "array"
425399 },
426400 "durationInHours": {
427401 "description": "Indicates how long the label will remain on the subject. Only applies on labels that are being added.",
428402 "type": "integer"
429403 },
430404 "negateLabelVals": {
431405 "items": {
432406 "type": "string"
433407 },
434408 "type": "array"
435409 }
436410 },
437411 "required": [
438412 "createLabelVals",
439413 "negateLabelVals"
440414 ],
441415 "type": "object"
442416 },
443417 "modEventMute": {
444418 "description": "Mute incoming reports on a subject",
445419 "properties": {
446420 "comment": {
447421 "type": "string"
448422 },
449423 "durationInHours": {
450424 "description": "Indicates how long the subject should remain muted.",
451425 "type": "integer"
452426 }
453427 },
454428 "required": [
455429 "durationInHours"
456430 ],
457431 "type": "object"
458432 },
459433 "modEventMuteReporter": {
460434 "description": "Mute incoming reports from an account",
461435 "properties": {
462436 "comment": {
463437 "type": "string"
464438 },
465439 "durationInHours": {
466440 "description": "Indicates how long the account should remain muted. Falsy value here means a permanent mute.",
467441 "type": "integer"
468442 }
469443 },
470444 "type": "object"
471445 },
472446 "modEventPriorityScore": {
473447 "description": "Set priority score of the subject. Higher score means higher priority.",
474448 "properties": {
475449 "comment": {
476450 "type": "string"
477451 },
478452 "score": {
479453 "maximum": 100,
480454 "minimum": 0,
481455 "type": "integer"
482456 }
483457 },
484458 "required": [
485459 "score"
486460 ],
487461 "type": "object"
488462 },
489463 "modEventReport": {
490464 "description": "Report a subject",
491465 "properties": {
492466 "appealActionId": {
493467 "type": "integer"
494468 },
495469 "appealActionType": {
496470 "description": "Action reference type recorded when this appeal was submitted.",
497471 "type": "string"
498472 },
499473 "appealLabel": {
500474 "type": "string"
501475 },
502476 "appealSubmittedBy": {
503477 "description": "Moderator who submitted this appeal on behalf of the affected account. Returned by moderator event APIs.",
504478 "format": "did",
505479 "type": "string"
506480 },
507481 "comment": {
508482 "type": "string"
509483 },
510484 "isReporterMuted": {
511485 "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.",
512486 "type": "boolean"
513487 },
514488 "reportType": {
515489 "ref": "com.atproto.moderation.defs#reasonType",
516490 "type": "ref"
517491 }
518492 },
519493 "required": [
520494 "reportType"
521495 ],
522496 "type": "object"
523497 },
524498 "modEventResolveAppeal": {
525499 "description": "Resolve appeal on a subject",
526500 "properties": {
527501 "comment": {
528502 "description": "Describe resolution.",
529503 "type": "string"
530504 }
531505 },
532506 "type": "object"
533507 },
534508 "modEventReverseTakedown": {
535509 "description": "Revert take down action on a subject",
536510 "properties": {
537511 "comment": {
538512 "description": "Describe reasoning behind the reversal.",
539513 "type": "string"
540514 },
541515 "policies": {
542516 "description": "Names/Keywords of the policy infraction for which takedown is being reversed.",
543517 "items": {
544518 "type": "string"
545519 },
546520 "maxLength": 5,
547521 "type": "array"
548522 },
549523 "severityLevel": {
550524 "description": "Severity level of the violation. Usually set from the last policy infraction's severity.",
551525 "type": "string"
552526 },
553527 "strikeCount": {
554528 "description": "Number of strikes to subtract from the user's strike count. Usually set from the last policy infraction's severity.",
555529 "type": "integer"
530 },
531 "strikeExpiresAt": {
532 "description": "When the strike should expire. If not provided, the strike never expires.",
533 "format": "datetime",
534 "type": "string"
556535 }
557536 },
558537 "type": "object"
559538 },
560539 "modEventTag": {
561540 "description": "Add/Remove a tag on a subject",
562541 "properties": {
563542 "add": {
564543 "description": "Tags to be added to the subject. If already exists, won't be duplicated.",
565544 "items": {
566545 "type": "string"
567546 },
568547 "type": "array"
569548 },
570549 "comment": {
571550 "description": "Additional comment about added/removed tags.",
572551 "type": "string"
573552 },
574553 "durationInHours": {
575554 "description": "Indicates how long the tags being added should remain before automatically being removed. Only applies to tags being added.",
576555 "type": "integer"
577556 },
578557 "remove": {
579558 "description": "Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated.",
580559 "items": {
581560 "type": "string"
582561 },
583562 "type": "array"
584563 }
585564 },
586565 "required": [
587566 "add",
588567 "remove"
589568 ],
590569 "type": "object"
591570 },
592571 "modEventTakedown": {
593572 "description": "Take down a subject permanently or temporarily",
594573 "properties": {
595574 "acknowledgeAccountSubjects": {
596575 "description": "If true, all other reports on content authored by this account will be resolved (acknowledged).",
597576 "type": "boolean"
598577 },
599578 "comment": {
600579 "type": "string"
601580 },
602581 "durationInHours": {
603582 "description": "Indicates how long the takedown should be in effect before automatically expiring.",
604583 "type": "integer"
605584 },
606585 "policies": {
607586 "description": "Names/Keywords of the policies that drove the decision.",
608587 "items": {
609588 "type": "string"
610589 },
611590 "maxLength": 5,
612591 "type": "array"
613592 },
614593 "severityLevel": {
615594 "description": "Severity level of the violation (e.g., 'sev-0', 'sev-1', 'sev-2', etc.).",
616595 "type": "string"
617596 },
618597 "strikeCount": {
619598 "description": "Number of strikes to assign to the user for this violation.",
620599 "type": "integer"
621600 },
622601 "strikeExpiresAt": {
623602 "description": "When the strike should expire. If not provided, the strike never expires.",
624603 "format": "datetime",
625604 "type": "string"
626605 },
627606 "targetServices": {
628607 "description": "List of services where the takedown should be applied. If empty or not provided, takedown is applied on all configured services.",
629608 "items": {
630609 "knownValues": [
631610 "appview",
632611 "pds"
633612 ],
634613 "type": "string"
635614 },
636615 "type": "array"
637616 }
638617 },
639618 "type": "object"
640619 },
641620 "modEventUnmute": {
642621 "description": "Unmute action on a subject",
643622 "properties": {
644623 "comment": {
645624 "description": "Describe reasoning behind the reversal.",
646625 "type": "string"
647626 }
648627 },
649628 "type": "object"
650629 },
651630 "modEventUnmuteReporter": {
652631 "description": "Unmute incoming reports from an account",
653632 "properties": {
654633 "comment": {
655634 "description": "Describe reasoning behind the reversal.",
656635 "type": "string"
657636 }
658637 },
659638 "type": "object"
660639 },
661640 "modEventView": {
662641 "properties": {
663642 "createdAt": {
664643 "format": "datetime",
665644 "type": "string"
666645 },
667646 "createdBy": {
668647 "format": "did",
669648 "type": "string"
670649 },
671650 "creatorHandle": {
672651 "type": "string"
673652 },
674653 "event": {
675654 "refs": [
676655 "#modEventTakedown",
677656 "#modEventReverseTakedown",
678657 "#modEventComment",
679658 "#modEventReport",
680659 "#modEventLabel",
681660 "#modEventAcknowledge",
682661 "#modEventEscalate",
683662 "#modEventMute",
684663 "#modEventUnmute",
685664 "#modEventMuteReporter",
686665 "#modEventUnmuteReporter",
687666 "#modEventEmail",
688667 "#modEventResolveAppeal",
689668 "#modEventDivert",
690669 "#modEventTag",
691670 "#accountEvent",
692671 "#identityEvent",
693672 "#recordEvent",
694673 "#modEventPriorityScore",
695674 "#ageAssuranceEvent",
696675 "#ageAssuranceOverrideEvent",
697676 "#ageAssurancePurgeEvent",
698677 "#revokeAccountCredentialsEvent",
699678 "#scheduleTakedownEvent",
700679 "#cancelScheduledTakedownEvent"
701680 ],
702681 "type": "union"
703682 },
704683 "id": {
705684 "type": "integer"
706685 },
707686 "modTool": {
708687 "ref": "#modTool",
709688 "type": "ref"
710689 },
711690 "subject": {
712691 "refs": [
713692 "com.atproto.admin.defs#repoRef",
714693 "com.atproto.repo.strongRef",
715694 "chat.bsky.convo.defs#messageRef",
716695 "chat.bsky.convo.defs#convoRef"
717696 ],
718697 "type": "union"
719698 },
720699 "subjectBlobCids": {
721700 "items": {
722701 "type": "string"
723702 },
724703 "type": "array"
725704 },
726705 "subjectHandle": {
727706 "type": "string"
728707 }
729708 },
730709 "required": [
731710 "id",
732711 "event",
733712 "subject",
734713 "subjectBlobCids",
735714 "createdBy",
736715 "createdAt"
737716 ],
738717 "type": "object"
739718 },
740719 "modEventViewDetail": {
741720 "properties": {
742721 "createdAt": {
743722 "format": "datetime",
744723 "type": "string"
745724 },
746725 "createdBy": {
747726 "format": "did",
748727 "type": "string"
749728 },
750729 "event": {
751730 "refs": [
752731 "#modEventTakedown",
753732 "#modEventReverseTakedown",
754733 "#modEventComment",
755734 "#modEventReport",
756735 "#modEventLabel",
757736 "#modEventAcknowledge",
758737 "#modEventEscalate",
759738 "#modEventMute",
760739 "#modEventUnmute",
761740 "#modEventMuteReporter",
762741 "#modEventUnmuteReporter",
763742 "#modEventEmail",
764743 "#modEventResolveAppeal",
765744 "#modEventDivert",
766745 "#modEventTag",
767746 "#accountEvent",
768747 "#identityEvent",
769748 "#recordEvent",
770749 "#modEventPriorityScore",
771750 "#ageAssuranceEvent",
772751 "#ageAssuranceOverrideEvent",
773752 "#ageAssurancePurgeEvent",
774753 "#revokeAccountCredentialsEvent",
775754 "#scheduleTakedownEvent",
776755 "#cancelScheduledTakedownEvent"
777756 ],
778757 "type": "union"
779758 },
780759 "id": {
781760 "type": "integer"
782761 },
783762 "modTool": {
784763 "ref": "#modTool",
785764 "type": "ref"
786765 },
787766 "subject": {
788767 "refs": [
789768 "#repoView",
790769 "#repoViewNotFound",
791770 "#recordView",
792771 "#recordViewNotFound",
793772 "#convoView"
794773 ],
795774 "type": "union"
796775 },
797776 "subjectBlobs": {
798777 "items": {
799778 "ref": "#blobView",
800779 "type": "ref"
801780 },
802781 "type": "array"
803782 }
804783 },
805784 "required": [
806785 "id",
807786 "event",
808787 "subject",
809788 "subjectBlobs",
810789 "createdBy",
811790 "createdAt"
812791 ],
813792 "type": "object"
814793 },
815794 "modTool": {
816795 "description": "Moderation tool information for tracing the source of the action",
817796 "properties": {
818797 "meta": {
819798 "description": "Additional arbitrary metadata about the source",
820799 "type": "unknown"
821800 },
822801 "name": {
823802 "description": "Name/identifier of the source (e.g., 'automod', 'ozone/workspace')",
824803 "type": "string"
825804 }
826805 },
827806 "required": [
828807 "name"
829808 ],
830809 "type": "object"
831810 },
832811 "moderation": {
833812 "properties": {
834813 "subjectStatus": {
835814 "ref": "#subjectStatusView",
836815 "type": "ref"
837816 }
838817 },
839818 "type": "object"
840819 },
841820 "moderationDetail": {
842821 "properties": {
843822 "subjectStatus": {
844823 "ref": "#subjectStatusView",
845824 "type": "ref"
846825 }
847826 },
848827 "type": "object"
849828 },
850829 "recordEvent": {
851830 "description": "Logs lifecycle event on a record subject. Normally captured by automod from the firehose and emitted to ozone for historical tracking.",
852831 "properties": {
853832 "cid": {
854833 "format": "cid",
855834 "type": "string"
856835 },
857836 "comment": {
858837 "type": "string"
859838 },
860839 "op": {
861840 "knownValues": [
862841 "create",
863842 "update",
864843 "delete"
865844 ],
866845 "type": "string"
867846 },
868847 "timestamp": {
869848 "format": "datetime",
870849 "type": "string"
871850 }
872851 },
873852 "required": [
874853 "timestamp",
875854 "op"
876855 ],
877856 "type": "object"
878857 },
879858 "recordHosting": {
880859 "properties": {
881860 "createdAt": {
882861 "format": "datetime",
883862 "type": "string"
884863 },
885864 "deletedAt": {
886865 "format": "datetime",
887866 "type": "string"
888867 },
889868 "status": {
890869 "knownValues": [
891870 "deleted",
892871 "unknown"
893872 ],
894873 "type": "string"
895874 },
896875 "updatedAt": {
897876 "format": "datetime",
898877 "type": "string"
899878 }
900879 },
901880 "required": [
902881 "status"
903882 ],
904883 "type": "object"
905884 },
906885 "recordView": {
907886 "properties": {
908887 "blobCids": {
909888 "items": {
910889 "format": "cid",
911890 "type": "string"
912891 },
913892 "type": "array"
914893 },
915894 "cid": {
916895 "format": "cid",
917896 "type": "string"
918897 },
919898 "indexedAt": {
920899 "format": "datetime",
921900 "type": "string"
922901 },
923902 "moderation": {
924903 "ref": "#moderation",
925904 "type": "ref"
926905 },
927906 "repo": {
928907 "ref": "#repoView",
929908 "type": "ref"
930909 },
931910 "uri": {
932911 "format": "at-uri",
933912 "type": "string"
934913 },
935914 "value": {
936915 "type": "unknown"
937916 }
938917 },
939918 "required": [
940919 "uri",
941920 "cid",
942921 "value",
943922 "blobCids",
944923 "indexedAt",
945924 "moderation",
946925 "repo"
947926 ],
948927 "type": "object"
949928 },
950929 "recordViewDetail": {
951930 "properties": {
952931 "blobs": {
953932 "items": {
954933 "ref": "#blobView",
955934 "type": "ref"
956935 },
957936 "type": "array"
958937 },
959938 "cid": {
960939 "format": "cid",
961940 "type": "string"
962941 },
963942 "indexedAt": {
964943 "format": "datetime",
965944 "type": "string"
966945 },
967946 "labels": {
968947 "items": {
969948 "ref": "com.atproto.label.defs#label",
970949 "type": "ref"
971950 },
972951 "type": "array"
973952 },
974953 "moderation": {
975954 "ref": "#moderationDetail",
976955 "type": "ref"
977956 },
978957 "repo": {
979958 "ref": "#repoView",
980959 "type": "ref"
981960 },
982961 "uri": {
983962 "format": "at-uri",
984963 "type": "string"
985964 },
986965 "value": {
987966 "type": "unknown"
988967 }
989968 },
990969 "required": [
991970 "uri",
992971 "cid",
993972 "value",
994973 "blobs",
995974 "indexedAt",
996975 "moderation",
997976 "repo"
998977 ],
999978 "type": "object"
1000979 },
1001980 "recordViewNotFound": {
1002981 "properties": {
1003982 "uri": {
1004983 "format": "at-uri",
1005984 "type": "string"
1006985 }
1007986 },
1008987 "required": [
1009988 "uri"
1010989 ],
1011990 "type": "object"
1012991 },
1013 "recordsStats": {
1014 "description": "Statistics about a set of record subject items",
1015 "properties": {
1016 "appealedCount": {
1017 "description": "Number of items that were appealed at least once",
1018 "type": "integer"
1019 },
1020 "escalatedCount": {
1021 "description": "Number of items that were escalated at least once",
1022 "type": "integer"
1023 },
1024 "pendingCount": {
1025 "description": "Number of item currently in \"reviewOpen\" or \"reviewEscalated\" state",
1026 "type": "integer"
1027 },
1028 "processedCount": {
1029 "description": "Number of item currently in \"reviewNone\" or \"reviewClosed\" state",
1030 "type": "integer"
1031 },
1032 "reportedCount": {
1033 "description": "Number of items that were reported at least once",
1034 "type": "integer"
1035 },
1036 "subjectCount": {
1037 "description": "Total number of item in the set",
1038 "type": "integer"
1039 },
1040 "takendownCount": {
1041 "description": "Number of item currently taken down",
1042 "type": "integer"
1043 },
1044 "totalReports": {
1045 "description": "Cumulative sum of the number of reports on the items in the set",
1046 "type": "integer"
1047 }
1048 },
1049 "type": "object"
1050 },
1051992 "repoView": {
1052993 "properties": {
1053994 "deactivatedAt": {
1054995 "format": "datetime",
1055996 "type": "string"
1056997 },
1057998 "did": {
1058999 "format": "did",
10591000 "type": "string"
10601001 },
10611002 "email": {
10621003 "type": "string"
10631004 },
10641005 "handle": {
10651006 "format": "handle",
10661007 "type": "string"
10671008 },
10681009 "indexedAt": {
10691010 "format": "datetime",
10701011 "type": "string"
10711012 },
10721013 "inviteNote": {
10731014 "type": "string"
10741015 },
10751016 "invitedBy": {
10761017 "ref": "com.atproto.server.defs#inviteCode",
10771018 "type": "ref"
10781019 },
10791020 "invitesDisabled": {
10801021 "type": "boolean"
10811022 },
10821023 "moderation": {
10831024 "ref": "#moderation",
10841025 "type": "ref"
10851026 },
10861027 "relatedRecords": {
10871028 "items": {
10881029 "type": "unknown"
10891030 },
10901031 "type": "array"
10911032 },
10921033 "threatSignatures": {
10931034 "items": {
10941035 "ref": "com.atproto.admin.defs#threatSignature",
10951036 "type": "ref"
10961037 },
10971038 "type": "array"
10981039 }
10991040 },
11001041 "required": [
11011042 "did",
11021043 "handle",
11031044 "relatedRecords",
11041045 "indexedAt",
11051046 "moderation"
11061047 ],
11071048 "type": "object"
11081049 },
11091050 "repoViewDetail": {
11101051 "properties": {
11111052 "deactivatedAt": {
11121053 "format": "datetime",
11131054 "type": "string"
11141055 },
11151056 "did": {
11161057 "format": "did",
11171058 "type": "string"
11181059 },
11191060 "email": {
11201061 "type": "string"
11211062 },
11221063 "emailConfirmedAt": {
11231064 "format": "datetime",
11241065 "type": "string"
11251066 },
11261067 "handle": {
11271068 "format": "handle",
11281069 "type": "string"
11291070 },
11301071 "indexedAt": {
11311072 "format": "datetime",
11321073 "type": "string"
11331074 },
11341075 "inviteNote": {
11351076 "type": "string"
11361077 },
11371078 "invitedBy": {
11381079 "ref": "com.atproto.server.defs#inviteCode",
11391080 "type": "ref"
11401081 },
11411082 "invites": {
11421083 "items": {
11431084 "ref": "com.atproto.server.defs#inviteCode",
11441085 "type": "ref"
11451086 },
11461087 "type": "array"
11471088 },
11481089 "invitesDisabled": {
11491090 "type": "boolean"
11501091 },
11511092 "labels": {
11521093 "items": {
11531094 "ref": "com.atproto.label.defs#label",
11541095 "type": "ref"
11551096 },
11561097 "type": "array"
11571098 },
11581099 "moderation": {
11591100 "ref": "#moderationDetail",
11601101 "type": "ref"
11611102 },
11621103 "relatedRecords": {
11631104 "items": {
11641105 "type": "unknown"
11651106 },
11661107 "type": "array"
11671108 },
11681109 "threatSignatures": {
11691110 "items": {
11701111 "ref": "com.atproto.admin.defs#threatSignature",
11711112 "type": "ref"
11721113 },
11731114 "type": "array"
11741115 }
11751116 },
11761117 "required": [
11771118 "did",
11781119 "handle",
11791120 "relatedRecords",
11801121 "indexedAt",
11811122 "moderation"
11821123 ],
11831124 "type": "object"
11841125 },
11851126 "repoViewNotFound": {
11861127 "properties": {
11871128 "did": {
11881129 "format": "did",
11891130 "type": "string"
11901131 }
11911132 },
11921133 "required": [
11931134 "did"
11941135 ],
11951136 "type": "object"
11961137 },
11971138 "reporterStats": {
11981139 "properties": {
11991140 "accountReportCount": {
12001141 "description": "The total number of reports made by the user on accounts.",
12011142 "type": "integer"
12021143 },
12031144 "did": {
12041145 "format": "did",
12051146 "type": "string"
12061147 },
12071148 "labeledAccountCount": {
12081149 "description": "The total number of accounts labeled as a result of the user's reports.",
12091150 "type": "integer"
12101151 },
12111152 "labeledRecordCount": {
12121153 "description": "The total number of records labeled as a result of the user's reports.",
12131154 "type": "integer"
12141155 },
12151156 "recordReportCount": {
12161157 "description": "The total number of reports made by the user on records.",
12171158 "type": "integer"
12181159 },
12191160 "reportedAccountCount": {
12201161 "description": "The total number of accounts reported by the user.",
12211162 "type": "integer"
12221163 },
12231164 "reportedRecordCount": {
12241165 "description": "The total number of records reported by the user.",
12251166 "type": "integer"
12261167 },
12271168 "takendownAccountCount": {
12281169 "description": "The total number of accounts taken down as a result of the user's reports.",
12291170 "type": "integer"
12301171 },
12311172 "takendownRecordCount": {
12321173 "description": "The total number of records taken down as a result of the user's reports.",
12331174 "type": "integer"
12341175 }
12351176 },
12361177 "required": [
12371178 "did",
12381179 "accountReportCount",
12391180 "recordReportCount",
12401181 "reportedAccountCount",
12411182 "reportedRecordCount",
12421183 "takendownAccountCount",
12431184 "takendownRecordCount",
12441185 "labeledAccountCount",
12451186 "labeledRecordCount"
12461187 ],
12471188 "type": "object"
12481189 },
12491190 "reviewClosed": {
12501191 "description": "Moderator review status of a subject: Closed. Indicates that the subject was already reviewed and resolved by a moderator",
12511192 "type": "token"
12521193 },
12531194 "reviewEscalated": {
12541195 "description": "Moderator review status of a subject: Escalated. Indicates that the subject was escalated for review by a moderator",
12551196 "type": "token"
12561197 },
12571198 "reviewNone": {
12581199 "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",
12591200 "type": "token"
12601201 },
12611202 "reviewOpen": {
12621203 "description": "Moderator review status of a subject: Open. Indicates that the subject needs to be reviewed by a moderator",
12631204 "type": "token"
12641205 },
12651206 "revokeAccountCredentialsEvent": {
12661207 "description": "Account credentials revocation by moderators. Only works on DID subjects.",
12671208 "properties": {
12681209 "comment": {
12691210 "description": "Comment describing the reason for the revocation.",
12701211 "minLength": 1,
12711212 "type": "string"
12721213 }
12731214 },
12741215 "required": [
12751216 "comment"
12761217 ],
12771218 "type": "object"
12781219 },
12791220 "scheduleTakedownEvent": {
12801221 "description": "Logs a scheduled takedown action for an account.",
12811222 "properties": {
12821223 "comment": {
12831224 "type": "string"
12841225 },
12851226 "executeAfter": {
12861227 "format": "datetime",
12871228 "type": "string"
12881229 },
12891230 "executeAt": {
12901231 "format": "datetime",
12911232 "type": "string"
12921233 },
12931234 "executeUntil": {
12941235 "format": "datetime",
12951236 "type": "string"
12961237 }
12971238 },
12981239 "type": "object"
12991240 },
13001241 "scheduledActionView": {
13011242 "description": "View of a scheduled moderation action",
13021243 "properties": {
13031244 "action": {
13041245 "description": "Type of action to be executed",
13051246 "knownValues": [
13061247 "takedown"
13071248 ],
13081249 "type": "string"
13091250 },
13101251 "createdAt": {
13111252 "description": "When the scheduled action was created",
13121253 "format": "datetime",
13131254 "type": "string"
13141255 },
13151256 "createdBy": {
13161257 "description": "DID of the user who created this scheduled action",
13171258 "format": "did",
13181259 "type": "string"
13191260 },
13201261 "did": {
13211262 "description": "Subject DID for the action",
13221263 "format": "did",
13231264 "type": "string"
13241265 },
13251266 "eventData": {
13261267 "description": "Serialized event object that will be propagated to the event when performed",
13271268 "type": "unknown"
13281269 },
13291270 "executeAfter": {
13301271 "description": "Earliest time to execute the action (for randomized scheduling)",
13311272 "format": "datetime",
13321273 "type": "string"
13331274 },
13341275 "executeAt": {
13351276 "description": "Exact time to execute the action",
13361277 "format": "datetime",
13371278 "type": "string"
13381279 },
13391280 "executeUntil": {
13401281 "description": "Latest time to execute the action (for randomized scheduling)",
13411282 "format": "datetime",
13421283 "type": "string"
13431284 },
13441285 "executionEventId": {
13451286 "description": "ID of the moderation event created when action was successfully executed",
13461287 "type": "integer"
13471288 },
13481289 "id": {
13491290 "description": "Auto-incrementing row ID",
13501291 "type": "integer"
13511292 },
13521293 "lastExecutedAt": {
13531294 "description": "When the action was last attempted to be executed",
13541295 "format": "datetime",
13551296 "type": "string"
13561297 },
13571298 "lastFailureReason": {
13581299 "description": "Reason for the last execution failure",
13591300 "type": "string"
13601301 },
13611302 "randomizeExecution": {
13621303 "description": "Whether execution time should be randomized within the specified range",
13631304 "type": "boolean"
13641305 },
13651306 "status": {
13661307 "description": "Current status of the scheduled action",
13671308 "knownValues": [
13681309 "pending",
13691310 "executed",
13701311 "cancelled",
13711312 "failed"
13721313 ],
13731314 "type": "string"
13741315 },
13751316 "updatedAt": {
13761317 "description": "When the scheduled action was last updated",
13771318 "format": "datetime",
13781319 "type": "string"
13791320 }
13801321 },
13811322 "required": [
13821323 "id",
13831324 "action",
13841325 "did",
13851326 "createdBy",
13861327 "createdAt",
13871328 "status"
13881329 ],
13891330 "type": "object"
13901331 },
13911332 "subjectReviewState": {
13921333 "knownValues": [
13931334 "tools.ozone.moderation.defs#reviewOpen",
13941335 "tools.ozone.moderation.defs#reviewEscalated",
13951336 "tools.ozone.moderation.defs#reviewClosed",
13961337 "tools.ozone.moderation.defs#reviewNone"
13971338 ],
13981339 "type": "string"
13991340 },
14001341 "subjectStatusView": {
14011342 "properties": {
1402 "accountStats": {
1403 "description": "Statistics related to the account subject",
1404 "ref": "#accountStats",
1405 "type": "ref"
1406 },
14071343 "accountStrike": {
14081344 "description": "Strike information for the account (account-level only)",
14091345 "ref": "#accountStrike",
14101346 "type": "ref"
14111347 },
14121348 "ageAssuranceState": {
14131349 "description": "Current age assurance state of the subject.",
14141350 "knownValues": [
14151351 "pending",
14161352 "assured",
14171353 "unknown",
14181354 "reset",
14191355 "blocked"
14201356 ],
14211357 "type": "string"
14221358 },
14231359 "ageAssuranceUpdatedBy": {
14241360 "description": "Whether or not the last successful update to age assurance was made by the user or admin.",
14251361 "knownValues": [
14261362 "admin",
14271363 "user"
14281364 ],
14291365 "type": "string"
14301366 },
14311367 "appealed": {
14321368 "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.",
14331369 "type": "boolean"
14341370 },
14351371 "comment": {
14361372 "description": "Sticky comment on the subject.",
14371373 "type": "string"
14381374 },
14391375 "createdAt": {
14401376 "description": "Timestamp referencing the first moderation status impacting event was emitted on the subject",
14411377 "format": "datetime",
14421378 "type": "string"
14431379 },
14441380 "hosting": {
14451381 "refs": [
14461382 "#accountHosting",
14471383 "#recordHosting"
14481384 ],
14491385 "type": "union"
14501386 },
14511387 "id": {
14521388 "type": "integer"
14531389 },
14541390 "lastAppealedAt": {
14551391 "description": "Timestamp referencing when the author of the subject appealed a moderation action",
14561392 "format": "datetime",
14571393 "type": "string"
14581394 },
14591395 "lastReportedAt": {
14601396 "format": "datetime",
14611397 "type": "string"
14621398 },
14631399 "lastReviewedAt": {
14641400 "format": "datetime",
14651401 "type": "string"
14661402 },
14671403 "lastReviewedBy": {
14681404 "format": "did",
14691405 "type": "string"
14701406 },
14711407 "muteReportingUntil": {
14721408 "format": "datetime",
14731409 "type": "string"
14741410 },
14751411 "muteUntil": {
14761412 "format": "datetime",
14771413 "type": "string"
14781414 },
14791415 "priorityScore": {
14801416 "description": "Numeric value representing the level of priority. Higher score means higher priority.",
14811417 "maximum": 100,
14821418 "minimum": 0,
14831419 "type": "integer"
1484 },
1485 "recordsStats": {
1486 "description": "Statistics related to the record subjects authored by the subject's account",
1487 "ref": "#recordsStats",
1488 "type": "ref"
14891420 },
14901421 "reviewState": {
14911422 "ref": "#subjectReviewState",
14921423 "type": "ref"
14931424 },
14941425 "subject": {
14951426 "refs": [
14961427 "com.atproto.admin.defs#repoRef",
14971428 "com.atproto.repo.strongRef",
14981429 "chat.bsky.convo.defs#messageRef",
14991430 "chat.bsky.convo.defs#convoRef"
15001431 ],
15011432 "type": "union"
15021433 },
15031434 "subjectBlobCids": {
15041435 "items": {
15051436 "format": "cid",
15061437 "type": "string"
15071438 },
15081439 "type": "array"
15091440 },
15101441 "subjectRepoHandle": {
15111442 "type": "string"
15121443 },
15131444 "suspendUntil": {
15141445 "format": "datetime",
15151446 "type": "string"
15161447 },
15171448 "tags": {
15181449 "items": {
15191450 "type": "string"
15201451 },
15211452 "type": "array"
15221453 },
15231454 "takendown": {
15241455 "type": "boolean"
15251456 },
15261457 "updatedAt": {
15271458 "description": "Timestamp referencing when the last update was made to the moderation status of the subject",
15281459 "format": "datetime",
15291460 "type": "string"
15301461 }
15311462 },
15321463 "required": [
15331464 "id",
15341465 "subject",
15351466 "createdAt",
15361467 "updatedAt",
15371468 "reviewState"
15381469 ],
15391470 "type": "object"
15401471 },
15411472 "subjectView": {
15421473 "description": "Detailed view of a subject. For record subjects, the author's repo and profile will be returned.",
15431474 "properties": {
15441475 "profile": {
15451476 "refs": [],
15461477 "type": "union"
15471478 },
15481479 "record": {
15491480 "ref": "#recordViewDetail",
15501481 "type": "ref"
15511482 },
15521483 "repo": {
15531484 "ref": "#repoViewDetail",
15541485 "type": "ref"
15551486 },
15561487 "status": {
15571488 "ref": "#subjectStatusView",
15581489 "type": "ref"
15591490 },
15601491 "subject": {
15611492 "type": "string"
15621493 },
15631494 "type": {
15641495 "ref": "com.atproto.moderation.defs#subjectType",
15651496 "type": "ref"
15661497 }
15671498 },
15681499 "required": [
15691500 "type",
15701501 "subject"
15711502 ],
15721503 "type": "object"
15731504 },
15741505 "timelineEventPlcCreate": {
15751506 "description": "Moderation event timeline event for a PLC create operation",
15761507 "type": "token"
15771508 },
15781509 "timelineEventPlcOperation": {
15791510 "description": "Moderation event timeline event for generic PLC operation",
15801511 "type": "token"
15811512 },
15821513 "timelineEventPlcTombstone": {
15831514 "description": "Moderation event timeline event for a PLC tombstone operation",
15841515 "type": "token"
15851516 },
15861517 "videoDetails": {
15871518 "properties": {
15881519 "height": {
15891520 "type": "integer"
15901521 },
15911522 "length": {
15921523 "type": "integer"
15931524 },
15941525 "width": {
15951526 "type": "integer"
15961527 }
15971528 },
15981529 "required": [
15991530 "width",
16001531 "height",
16011532 "length"
16021533 ],
16031534 "type": "object"
16041535 }
16051536 },
16061537 "id": "tools.ozone.moderation.defs",
16071538 "lexicon": 1
16081539}

Compare other versions