full diff

tools.ozone.queue.defs

From
bafyreifxbjw2p6w6k2xx2yhwt5nwfy3zudp72ywinuedvyq3z2oeuky3le indexed 2026-10-14 15:12 UTC View this version
To
bafyreiaqxxp47p7npmnou7m3q7ssvo7sdi7yfs66kehmmpdeejfic6w4vy indexed 2026-11-19 20:57 UTC View this version

Compatibility

backward compatible Backward compatible. 30 non-breaking changes.

Non-breaking changes (30)
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.acknowledgedCount" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.ahtDurationSec" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.ahtSampleCount" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.avgResolutionTimeSec" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.closedCount" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.labelActionCount" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.resolutionDurationSec" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.resolutionSampleCount" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.tagActionCount" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.takedownActionCount" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueView.accountTags" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueView.accountTags:items" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueView.reporterTags" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueView.reporterTags:items" }
  • AddedVertex AddedVertex { vertex_id: "tools.ozone.queue.defs#queueView.strictAccess" }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.acknowledgedCount", kind: "prop", name: Some("acknowledgedCount") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.ahtDurationSec", kind: "prop", name: Some("ahtDurationSec") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.ahtSampleCount", kind: "prop", name: Some("ahtSampleCount") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.avgResolutionTimeSec", kind: "prop", name: Some("avgResolutionTimeSec") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.closedCount", kind: "prop", name: Some("closedCount") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.labelActionCount", kind: "prop", name: Some("labelActionCount") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.resolutionDurationSec", kind: "prop", name: Some("resolutionDurationSec") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.resolutionSampleCount", kind: "prop", name: Some("resolutionSampleCount") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.tagActionCount", kind: "prop", name: Some("tagActionCount") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.takedownActionCount", kind: "prop", name: Some("takedownActionCount") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueView", tgt: "tools.ozone.queue.defs#queueView.accountTags", kind: "prop", name: Some("accountTags") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueView", tgt: "tools.ozone.queue.defs#queueView.reporterTags", kind: "prop", name: Some("reporterTags") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueView", tgt: "tools.ozone.queue.defs#queueView.strictAccess", kind: "prop", name: Some("strictAccess") }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueView.accountTags", tgt: "tools.ozone.queue.defs#queueView.accountTags:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "tools.ozone.queue.defs#queueView.reporterTags", tgt: "tools.ozone.queue.defs#queueView.reporterTags:items", kind: "items", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.acknowledgedCount" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.ahtDurationSec" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.ahtSampleCount" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.avgResolutionTimeSec" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.closedCount" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.labelActionCount" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.resolutionDurationSec" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.resolutionSampleCount" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.tagActionCount" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueStats.takedownActionCount" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueView.accountTags" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueView.accountTags:items" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueView.reporterTags" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueView.reporterTags:items" }
  • AddedVertex { vertex_id: "tools.ozone.queue.defs#queueView.strictAccess" }

Notes

  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.acknowledgedCount", kind: "prop", name: Some("acknowledgedCount") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.ahtDurationSec", kind: "prop", name: Some("ahtDurationSec") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.ahtSampleCount", kind: "prop", name: Some("ahtSampleCount") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.avgResolutionTimeSec", kind: "prop", name: Some("avgResolutionTimeSec") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.closedCount", kind: "prop", name: Some("closedCount") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.labelActionCount", kind: "prop", name: Some("labelActionCount") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.resolutionDurationSec", kind: "prop", name: Some("resolutionDurationSec") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.resolutionSampleCount", kind: "prop", name: Some("resolutionSampleCount") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.tagActionCount", kind: "prop", name: Some("tagActionCount") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueStats", tgt: "tools.ozone.queue.defs#queueStats.takedownActionCount", kind: "prop", name: Some("takedownActionCount") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueView", tgt: "tools.ozone.queue.defs#queueView.accountTags", kind: "prop", name: Some("accountTags") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueView", tgt: "tools.ozone.queue.defs#queueView.reporterTags", kind: "prop", name: Some("reporterTags") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueView", tgt: "tools.ozone.queue.defs#queueView.strictAccess", kind: "prop", name: Some("strictAccess") }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueView.accountTags", tgt: "tools.ozone.queue.defs#queueView.accountTags:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "tools.ozone.queue.defs#queueView.reporterTags", tgt: "tools.ozone.queue.defs#queueView.reporterTags:items", kind: "items", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "assignmentView": {
55 "properties": {
66 "did": {
77 "format": "did",
88 "type": "string"
99 },
1010 "endAt": {
1111 "format": "datetime",
1212 "type": "string"
1313 },
1414 "id": {
1515 "type": "integer"
1616 },
1717 "moderator": {
1818 "description": "The moderator assigned to this queue",
1919 "ref": "tools.ozone.team.defs#member",
2020 "type": "ref"
2121 },
2222 "queue": {
2323 "ref": "#queueView",
2424 "type": "ref"
2525 },
2626 "startAt": {
2727 "format": "datetime",
2828 "type": "string"
2929 }
3030 },
3131 "required": [
3232 "id",
3333 "did",
3434 "queue",
3535 "startAt"
3636 ],
3737 "type": "object"
3838 },
3939 "queueStats": {
4040 "properties": {
41 "acknowledgedCount": {
42 "description": "Number of closures whose last report action is not label, tag, or takedown.",
43 "type": "integer"
44 },
4145 "actionRate": {
42 "description": "Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer. Absent when inboundCount is 0.",
46 "description": "Percentage of closures actioned (actionedCount / closedCount * 100), rounded to nearest integer.",
4347 "type": "integer"
4448 },
4549 "actionedCount": {
46 "description": "Number of reports in 'closed' status",
50 "description": "Number of closures whose last report action is label, tag, or takedown.",
4751 "type": "integer"
4852 },
53 "ahtDurationSec": {
54 "description": "Sum of report assignment-to-close seconds.",
55 "type": "integer"
56 },
57 "ahtSampleCount": {
58 "description": "Number of assigned closed-report samples in ahtDurationSec.",
59 "type": "integer"
60 },
4961 "avgHandlingTimeSec": {
50 "description": "Average time in seconds from report creation to close, for reports closed in this period.",
62 "description": "Average handling time in seconds from report assignment to close.",
63 "type": "integer"
64 },
65 "avgResolutionTimeSec": {
66 "description": "Average resolution time in seconds from report creation to close.",
67 "type": "integer"
68 },
69 "closedCount": {
70 "description": "Number of reports whose current closure falls within this UTC calendar day.",
5171 "type": "integer"
5272 },
5373 "closureTargetMetCount": {
5474 "description": "Reports whose closure meets their closure target.",
5575 "minimum": 0,
5676 "type": "integer"
5777 },
5878 "closureTargetMetRate": {
5979 "description": "Percent of reports meeting their closure target.",
6080 "maximum": 100,
6181 "minimum": 0,
6282 "type": "integer"
6383 },
6484 "closureTargetMissedCount": {
6585 "description": "Reports whose closure exceeds their closure target.",
6686 "minimum": 0,
6787 "type": "integer"
6888 },
6989 "closureTargetOverdueCount": {
7090 "description": "Unmuted pending reports past their closure target.",
7191 "minimum": 0,
7292 "type": "integer"
7393 },
7494 "escalatedCount": {
75 "description": "Number of reports in 'escalated' status",
95 "description": "Number of report escalation events during this UTC calendar day.",
7696 "type": "integer"
7797 },
7898 "inboundCount": {
79 "description": "Reports received in this queue in the last 24 hours.",
99 "description": "Reports received in this queue during this UTC calendar day.",
100 "type": "integer"
101 },
102 "labelActionCount": {
103 "description": "Closures whose last report action is a label event.",
80104 "type": "integer"
81105 },
82106 "lastUpdated": {
83 "description": "When these statistics were last computed",
107 "description": "When these statistics were last computed.",
84108 "format": "datetime",
85109 "type": "string"
86110 },
87111 "pendingCount": {
88112 "description": "Number of unmuted reports currently not closed.",
89113 "type": "integer"
114 },
115 "resolutionDurationSec": {
116 "description": "Sum of report creation-to-close seconds.",
117 "type": "integer"
118 },
119 "resolutionSampleCount": {
120 "description": "Number of closed-report samples in resolutionDurationSec.",
121 "type": "integer"
122 },
123 "tagActionCount": {
124 "description": "Closures whose last report action is a tag event.",
125 "type": "integer"
126 },
127 "takedownActionCount": {
128 "description": "Closures whose last report action is a takedown event.",
129 "type": "integer"
90130 }
91131 },
92132 "required": [],
93133 "type": "object"
94134 },
95135 "queueView": {
96136 "properties": {
137 "accountTags": {
138 "description": "Match tags on the account that is being reported against. For record subjects, use the author account. Match any listed tag.",
139 "items": {
140 "minLength": 1,
141 "type": "string"
142 },
143 "maxLength": 25,
144 "type": "array"
145 },
97146 "collection": {
98 "description": "Collection name for record subjects (e.g., 'app.bsky.feed.post')",
147 "description": "Collection name for record subjects. Omit to accept every collection.",
99148 "format": "nsid",
100149 "type": "string"
101150 },
102151 "createdAt": {
103152 "format": "datetime",
104153 "type": "string"
105154 },
106155 "createdBy": {
107156 "description": "DID of moderator who created this queue",
108157 "format": "did",
109158 "type": "string"
110159 },
111160 "deletedAt": {
112161 "description": "When the queue was deleted, if applicable",
113162 "format": "datetime",
114163 "type": "string"
115164 },
116165 "description": {
117166 "description": "Optional description of the queue",
118167 "type": "string"
119168 },
120169 "enabled": {
121170 "description": "Whether this queue is currently active",
122171 "type": "boolean"
123172 },
124173 "id": {
125174 "description": "Queue ID",
126175 "type": "integer"
127176 },
128177 "name": {
129178 "description": "Display name of the queue",
130179 "type": "string"
131180 },
132181 "recommendedLabels": {
133182 "description": "Labels recommended for this queue and used as a fallback when routing label appeals",
134183 "items": {
135184 "type": "string"
136185 },
137186 "type": "array"
138187 },
139188 "recommendedPolicies": {
140189 "description": "Policy keys recommended when actioning reports in this queue",
141190 "items": {
142191 "type": "string"
143192 },
144193 "type": "array"
145194 },
146195 "reportTypes": {
147196 "description": "Report reason types this queue accepts (fully qualified NSIDs)",
148197 "items": {
149198 "type": "string"
150199 },
151200 "type": "array"
152201 },
202 "reporterTags": {
203 "description": "Match any listed tag on the account submitting the report.",
204 "items": {
205 "minLength": 1,
206 "type": "string"
207 },
208 "maxLength": 25,
209 "type": "array"
210 },
153211 "stats": {
154212 "description": "Statistics about this queue",
155213 "ref": "#queueStats",
156214 "type": "ref"
157215 },
216 "strictAccess": {
217 "description": "Admins can always list this queue and browse its reports. Other roles require an active queue assignment. Individual report and moderation event access is unchanged.",
218 "type": "boolean"
219 },
158220 "subjectTypes": {
159221 "description": "Subject types this queue accepts.",
160222 "items": {
161223 "knownValues": [
162224 "account",
163225 "record",
164226 "message",
165227 "conversation"
166228 ],
167229 "type": "string"
168230 },
169231 "type": "array"
170232 },
171233 "updatedAt": {
172234 "format": "datetime",
173235 "type": "string"
174236 }
175237 },
176238 "required": [
177239 "id",
178240 "name",
179241 "createdBy",
180242 "createdAt",
181243 "updatedAt",
182244 "enabled",
183245 "stats"
184246 ],
185247 "type": "object"
186248 }
187249 },
188250 "id": "tools.ozone.queue.defs",
189251 "lexicon": 1
190252}

Compare other versions