tools.ozone.moderation.emitEvent
{
"id": "tools.ozone.moderation.emitEvent",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"event",
"subject",
"createdBy"
],
"properties": {
"event": {
"refs": [
"tools.ozone.moderation.defs#modEventTakedown",
"tools.ozone.moderation.defs#modEventAcknowledge",
"tools.ozone.moderation.defs#modEventEscalate",
"tools.ozone.moderation.defs#modEventComment",
"tools.ozone.moderation.defs#modEventLabel",
"tools.ozone.moderation.defs#modEventReport",
"tools.ozone.moderation.defs#modEventMute",
"tools.ozone.moderation.defs#modEventUnmute",
"tools.ozone.moderation.defs#modEventMuteReporter",
"tools.ozone.moderation.defs#modEventUnmuteReporter",
"tools.ozone.moderation.defs#modEventReverseTakedown",
"tools.ozone.moderation.defs#modEventResolveAppeal",
"tools.ozone.moderation.defs#modEventEmail",
"tools.ozone.moderation.defs#modEventDivert",
"tools.ozone.moderation.defs#modEventTag",
"tools.ozone.moderation.defs#accountEvent",
"tools.ozone.moderation.defs#identityEvent",
"tools.ozone.moderation.defs#recordEvent",
"tools.ozone.moderation.defs#modEventPriorityScore",
"tools.ozone.moderation.defs#ageAssuranceEvent",
"tools.ozone.moderation.defs#ageAssuranceOverrideEvent",
"tools.ozone.moderation.defs#revokeAccountCredentialsEvent",
"tools.ozone.moderation.defs#scheduleTakedownEvent",
"tools.ozone.moderation.defs#cancelScheduledTakedownEvent"
],
"type": "union"
},
"modTool": {
"ref": "tools.ozone.moderation.defs#modTool",
"type": "ref"
},
"subject": {
"refs": [
"com.atproto.admin.defs#repoRef",
"com.atproto.repo.strongRef"
],
"type": "union"
},
"createdBy": {
"type": "string",
"format": "did"
},
"externalId": {
"type": "string",
"description": "An optional external ID for the event, used to deduplicate events from external systems. Fails when an event of same type with the same external ID exists for the same subject."
},
"subjectBlobCids": {
"type": "array",
"items": {
"type": "string",
"format": "cid"
}
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "SubjectHasAction"
},
{
"name": "DuplicateExternalId",
"description": "An event with the same external ID already exists for the subject."
}
],
"output": {
"schema": {
"ref": "tools.ozone.moderation.defs#modEventView",
"type": "ref"
},
"encoding": "application/json"
},
"description": "Take a moderation action on an actor."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}
Metadata
- DID
-
did:plc:33dt5kftu3jq2h5h4jjlqezt - CID
-
bafyreifhxejzthvwmwjiujxctogaa24mgx73gvy7ub2hw64vw2sn3bpvkm - Indexed At
- 2026-01-09 12:47 UTC
- AT-URI
-
at://did:plc:33dt5kftu3jq2h5h4jjlqezt/com.atproto.lexicon.schema/tools.ozone.moderation.emitEvent
Referenced Schemas (27)
- com.atproto.admin.defs#repoRef
- tools.ozone.moderation.defs#accountEvent
- tools.ozone.moderation.defs#ageAssuranceEvent
- tools.ozone.moderation.defs#ageAssuranceOverrideEvent
- tools.ozone.moderation.defs#cancelScheduledTakedownEvent
- tools.ozone.moderation.defs#identityEvent
- tools.ozone.moderation.defs#modEventAcknowledge
- tools.ozone.moderation.defs#modEventComment
- tools.ozone.moderation.defs#modEventDivert
- tools.ozone.moderation.defs#modEventEmail
- tools.ozone.moderation.defs#modEventEscalate
- tools.ozone.moderation.defs#modEventLabel
- tools.ozone.moderation.defs#modEventMute
- tools.ozone.moderation.defs#modEventMuteReporter
- tools.ozone.moderation.defs#modEventPriorityScore
- tools.ozone.moderation.defs#modEventReport
- tools.ozone.moderation.defs#modEventResolveAppeal
- tools.ozone.moderation.defs#modEventReverseTakedown
- tools.ozone.moderation.defs#modEventTag
- tools.ozone.moderation.defs#modEventTakedown
- tools.ozone.moderation.defs#modEventUnmute
- tools.ozone.moderation.defs#modEventUnmuteReporter
- tools.ozone.moderation.defs#modEventView
- tools.ozone.moderation.defs#modTool
- tools.ozone.moderation.defs#recordEvent
- tools.ozone.moderation.defs#revokeAccountCredentialsEvent
- tools.ozone.moderation.defs#scheduleTakedownEvent