From
bafyreiedged2hwzoith3rlx3sgfgj23w5pemxzjnusmwuu64qe34og4fmy
indexed 2026-10-14 15:12 UTC
View this version
To
bafyreigvobc4sl6noja3onf23qe52tbm4jkhg5bsfzeghefgykgf73mlea
indexed 2026-11-19 20:57 UTC
View this version
Compatibility
backward compatible Backward compatible. 8 non-breaking changes.
Non-breaking changes (8)
- AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.defs#accountPreview" }
- AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.defs#accountPreview.handle" }
- AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.defs#accountPreview.profile" }
- AddedVertex AddedVertex { vertex_id: "tools.ozone.inbox.defs#subjectViewDetail.account" }
- AddedEdge AddedEdge { src: "tools.ozone.inbox.defs#accountPreview", tgt: "tools.ozone.inbox.defs#accountPreview.handle", kind: "prop", name: Some("handle") }
- AddedEdge AddedEdge { src: "tools.ozone.inbox.defs#accountPreview", tgt: "tools.ozone.inbox.defs#accountPreview.profile", kind: "prop", name: Some("profile") }
- AddedEdge AddedEdge { src: "tools.ozone.inbox.defs#subjectViewDetail", tgt: "tools.ozone.inbox.defs#subjectViewDetail.account", kind: "prop", name: Some("account") }
- AddedEdge AddedEdge { src: "tools.ozone.inbox.defs#subjectViewDetail.account", tgt: "tools.ozone.inbox.defs#accountPreview", kind: "ref", name: None }
Migration guidance
Added
AddedVertex { vertex_id: "tools.ozone.inbox.defs#accountPreview" }AddedVertex { vertex_id: "tools.ozone.inbox.defs#accountPreview.handle" }AddedVertex { vertex_id: "tools.ozone.inbox.defs#accountPreview.profile" }AddedVertex { vertex_id: "tools.ozone.inbox.defs#subjectViewDetail.account" }
Notes
- Non-breaking: AddedEdge { src: "tools.ozone.inbox.defs#accountPreview", tgt: "tools.ozone.inbox.defs#accountPreview.handle", kind: "prop", name: Some("handle") }
- Non-breaking: AddedEdge { src: "tools.ozone.inbox.defs#accountPreview", tgt: "tools.ozone.inbox.defs#accountPreview.profile", kind: "prop", name: Some("profile") }
- Non-breaking: AddedEdge { src: "tools.ozone.inbox.defs#subjectViewDetail", tgt: "tools.ozone.inbox.defs#subjectViewDetail.account", kind: "prop", name: Some("account") }
- Non-breaking: AddedEdge { src: "tools.ozone.inbox.defs#subjectViewDetail.account", tgt: "tools.ozone.inbox.defs#accountPreview", kind: "ref", name: None }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {4
"accountPreview": {5
"description": "Current account information, when available; this is not a snapshot of the account at the time of the action.",6
"properties": {7
"handle": {8
"format": "handle",9
"type": "string"10
},11
"profile": {12
"description": "Raw app.bsky.actor.profile record, when available.",13
"type": "unknown"14
}15
},16
"type": "object"17
},418
"actionView": {519
"description": "A single moderation action taken against a subject.",620
"properties": {721
"createdAt": {822
"format": "datetime",923
"type": "string"1024
},1125
"expiresAt": {1226
"format": "datetime",1327
"type": "string"1428
},1529
"id": {1630
"description": "Action ID (moderation event ID).",1731
"type": "integer"1832
},1933
"labels": {2034
"description": "Label values, for labelApplied/labelRemoved.",2135
"items": {2236
"type": "string"2337
},2438
"type": "array"2539
},2640
"policies": {2741
"description": "Policies applied by a takedown action.",2842
"items": {2943
"ref": "#policyView",3044
"type": "ref"3145
},3246
"type": "array"3347
},3448
"reversedAt": {3549
"format": "datetime",3650
"type": "string"3751
},3852
"scope": {3953
"knownValues": [4054
"network",4155
"app",4256
"labelOnly"4357
],4458
"type": "string"4559
},4660
"type": {4761
"description": "Public action type.",4862
"type": "string"4963
}5064
},5165
"required": [5266
"id",5367
"type",5468
"createdAt"5569
],5670
"type": "object"5771
},5872
"appealView": {5973
"description": "The state of the viewer's appeal against the actions on a subject.",6074
"properties": {6175
"appealableUntil": {6276
"format": "datetime",6377
"type": "string"6478
},6579
"appealedAt": {6680
"format": "datetime",6781
"type": "string"6882
},6983
"outcome": {7084
"description": "Decision on a resolved appeal.",7185
"knownValues": [7286
"approved",7387
"denied"7488
],7589
"type": "string"7690
},7791
"resolvedAt": {7892
"description": "When the appeal's report was closed.",7993
"format": "datetime",8094
"type": "string"8195
},8296
"state": {8397
"knownValues": [8498
"none",8599
"pending",86100
"resolved",87101
"superseded",88102
"expired"89103
],90104
"type": "string"91105
}92106
},93107
"required": [94108
"state"95109
],96110
"type": "object"97111
},98112
"enforcementView": {99113
"description": "The current enforcement state of a subject.",100114
"properties": {101115
"expiresAt": {102116
"format": "datetime",103117
"type": "string"104118
},105119
"labels": {106120
"description": "Active label values on the subject, excluding negated and expired labels.",107121
"items": {108122
"type": "string"109123
},110124
"type": "array"111125
},112126
"scope": {113127
"knownValues": [114128
"network",115129
"app",116130
"labelOnly"117131
],118132
"type": "string"119133
},120134
"state": {121135
"knownValues": [122136
"none",123137
"labeled",124138
"removed",125139
"suspended",126140
"takendown"127141
],128142
"type": "string"129143
}130144
},131145
"required": [132146
"state"133147
],134148
"type": "object"135149
},136150
"notification": {137151
"properties": {138152
"createdAt": {139153
"format": "datetime",140154
"type": "string"141155
},142156
"id": {143157
"type": "integer"144158
},145159
"isRead": {146160
"type": "boolean"147161
},148162
"reason": {149163
"knownValues": [150164
"reportResolved",151165
"reportReopened",152166
"actionTaken",153167
"actionReversed",154168
"appealResolved",155169
"standingChanged"156170
],157171
"type": "string"158172
},159173
"target": {160174
"refs": [161175
"#reportRef",162176
"#subjectRef",163177
"#standingRef"164178
],165179
"type": "union"166180
}167181
},168182
"required": [169183
"id",170184
"reason",171185
"target",172186
"isRead",173187
"createdAt"174188
],175189
"type": "object"176190
},177191
"notificationPreferences": {178192
"description": "Push notification preferences by moderation notification category. These preferences do not hide in-app inbox activity. Each category defaults to enabled.",179193
"properties": {180194
"account": {181195
"description": "Notify about moderation actions against the account or its content, action reversals, appeal outcomes, and standing changes. Label application and removal are controlled by labels.",182196
"type": "boolean"183197
},184198
"labels": {185199
"description": "Notify when labels are applied to or removed from the account or its content (labelApplied and labelRemoved actions).",186200
"type": "boolean"187201
},188202
"reports": {189203
"description": "Notify about outcomes of reports filed by the account (reportResolved and reportReopened).",190204
"type": "boolean"191205
}192206
},193207
"required": [194208
"reports",195209
"account",196210
"labels"197211
],198212
"type": "object"199213
},200214
"policyView": {201215
"properties": {202216
"displayName": {203217
"type": "string"204218
},205219
"key": {206220
"type": "string"207221
},208222
"link": {209223
"format": "uri",210224
"type": "string"211225
}212226
},213227
"required": [214228
"key",215229
"displayName",216230
"link"217231
],218232
"type": "object"219233
},220234
"reportRef": {221235
"description": "Reference to a report by its report table ID, as used by getReport and Ozone's report detail page.",222236
"properties": {223237
"reportId": {224238
"type": "integer"225239
},226240
"status": {227241
"knownValues": [228242
"pending",229243
"resolved"230244
],231245
"type": "string"232246
},233247
"subject": {234248
"refs": [235249
"com.atproto.admin.defs#repoRef",236250
"com.atproto.repo.strongRef"237251
],238252
"type": "union"239253
}240254
},241255
"required": [242256
"reportId"243257
],244258
"type": "object"245259
},246260
"reportsSummary": {247261
"description": "Aggregate view of reports filed against this subject. Deliberately carries no report IDs, no count, and no reporter identities.",248262
"properties": {249263
"firstReportedOn": {250264
"description": "Day of the earliest report, truncated to midnight UTC. Render as a date; the time component is not meaningful.",251265
"format": "datetime",252266
"type": "string"253267
},254268
"lastReportedOn": {255269
"description": "Day of the most recent report, truncated to midnight UTC. Render as a date; the time component is not meaningful.",256270
"format": "datetime",257271
"type": "string"258272
},259273
"reasonTypes": {260274
"description": "Distinct reason types reported, deduplicated and unordered. Excludes reasonAppeal.",261275
"items": {262276
"type": "string"263277
},264278
"type": "array"265279
}266280
},267281
"required": [268282
"reasonTypes",269283
"firstReportedOn",270284
"lastReportedOn"271285
],272286
"type": "object"273287
},274288
"standingRef": {275289
"properties": {276290
"previousStanding": {277291
"knownValues": [278292
"good",279293
"warning",280294
"atRisk"281295
],282296
"type": "string"283297
},284298
"standing": {285299
"knownValues": [286300
"good",287301
"warning",288302
"atRisk"289303
],290304
"type": "string"291305
}292306
},293307
"required": [294308
"standing"295309
],296310
"type": "object"297311
},298312
"subjectRef": {299313
"properties": {300314
"actionId": {301315
"type": "integer"302316
},303317
"actionType": {304318
"type": "string"305319
},306320
"appealOutcome": {307321
"description": "Decision captured when an appealResolved notification was created. Omitted when the outcome is unknown.",308322
"knownValues": [309323
"approved",310324
"denied"311325
],312326
"type": "string"313327
},314328
"subject": {315329
"refs": [316330
"com.atproto.admin.defs#repoRef",317331
"com.atproto.repo.strongRef"318332
],319333
"type": "union"320334
}321335
},322336
"required": [323337
"subject"324338
],325339
"type": "object"326340
},327341
"subjectView": {328342
"description": "A subject belonging to the viewer that has moderation actions against it.",329343
"properties": {330344
"actionCount": {331345
"type": "integer"332346
},333347
"appeal": {334348
"ref": "#appealView",335349
"type": "ref"336350
},337351
"availableActions": {338352
"items": {339353
"knownValues": [340354
"appeal"341355
],342356
"type": "string"343357
},344358
"type": "array"345359
},346360
"createdAt": {347361
"format": "datetime",348362
"type": "string"349363
},350364
"enforcement": {351365
"ref": "#enforcementView",352366
"type": "ref"353367
},354368
"isRead": {355369
"type": "boolean"356370
},357371
"latestAction": {358372
"ref": "#actionView",359373
"type": "ref"360374
},361375
"src": {362376
"description": "DID of the moderation service that took the actions.",363377
"format": "did",364378
"type": "string"365379
},366380
"subject": {367381
"refs": [368382
"com.atproto.admin.defs#repoRef",369383
"com.atproto.repo.strongRef"370384
],371385
"type": "union"372386
},373387
"updatedAt": {374388
"format": "datetime",375389
"type": "string"376390
}377391
},378392
"required": [379393
"src",380394
"subject",381395
"enforcement",382396
"isRead",383397
"createdAt",384398
"updatedAt"385399
],386400
"type": "object"387401
},388402
"subjectViewDetail": {389403
"description": "A subject with a page of its action history and an aggregate report summary. Follow cursor to retrieve older actions; enforcement and appeal describe the current subject state on every page.",390404
"properties": {405
"account": {406
"description": "Best-effort current profile information for an account subject.",407
"ref": "#accountPreview",408
"type": "ref"409
},391410
"actions": {392411
"description": "A page of action history, most recent first. Reversal timestamps include changes outside this page.",393412
"items": {394413
"ref": "#actionView",395414
"type": "ref"396415
},397416
"maxLength": 100,398417
"type": "array"399418
},400419
"appeal": {401420
"ref": "#appealView",402421
"type": "ref"403422
},404423
"availableActions": {405424
"items": {406425
"knownValues": [407426
"appeal"408427
],409428
"type": "string"410429
},411430
"type": "array"412431
},413432
"createdAt": {414433
"format": "datetime",415434
"type": "string"416435
},417436
"cursor": {418437
"description": "Cursor for the next page of action history. Omitted when no older actions remain.",419438
"type": "string"420439
},421440
"enforcement": {422441
"ref": "#enforcementView",423442
"type": "ref"424443
},425444
"isRead": {426445
"type": "boolean"427446
},428447
"record": {429448
"description": "Raw record JSON for the subject, when the subject is a record and the record is available.",430449
"type": "unknown"431450
},432451
"reports": {433452
"description": "Omitted when the subject has never been reported, e.g. proactive enforcement.",434453
"ref": "#reportsSummary",435454
"type": "ref"436455
},437456
"src": {438457
"format": "did",439458
"type": "string"440459
},441460
"subject": {442461
"refs": [443462
"com.atproto.admin.defs#repoRef",444463
"com.atproto.repo.strongRef"445464
],446465
"type": "union"447466
},448467
"updatedAt": {449468
"format": "datetime",450469
"type": "string"451470
}452471
},453472
"required": [454473
"src",455474
"subject",456475
"enforcement",457476
"isRead",458477
"actions",459478
"createdAt",460479
"updatedAt"461480
],462481
"type": "object"463482
}464483
},465484
"id": "tools.ozone.inbox.defs",466485
"lexicon": 1467486
}