tools.ozone.inbox.defs
Details · defs
| Kind | defs |
|---|---|
| Authority | inbox.ozone.tools |
| Indexed |
Showing version bafyreibzwqmokvlyicnjdyx4oq5n3xdrhsjxypjkexeqng3z5tt7r27a74. Show the latest
Checks
Validunlimited-stringdefs.actionView.properties.labels.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.actionView.properties.policies.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.actionView.properties.scopeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.actionView.properties.typeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.appealView.properties.noteNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.appealView.properties.stateNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.enforcementView.properties.labels.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.enforcementView.properties.scopeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.enforcementView.properties.stateNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.subjectView.properties.availableActions.itemsNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"actionView": {
"description": "A single moderation action taken against a subject.",
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"expiresAt": {
"format": "datetime",
"type": "string"
},
"id": {
"description": "Action ID (moderation event ID).",
"type": "integer"
},
"labels": {
"description": "Label values, for labelApplied/labelRemoved.",
"items": {
"type": "string"
},
"type": "array"
},
"policies": {
"description": "Policies that were applied in this action.",
"items": {
"type": "string"
},
"type": "array"
},
"reversedAt": {
"format": "datetime",
"type": "string"
},
"scope": {
"knownValues": [
"network",
"app",
"labelOnly"
],
"type": "string"
},
"type": {
"description": "Public action type.",
"type": "string"
}
},
"required": [
"id",
"type",
"createdAt"
],
"type": "object"
},
"appealView": {
"description": "The state of the viewer's appeal against the actions on a subject.",
"properties": {
"appealableUntil": {
"format": "datetime",
"type": "string"
},
"appealedAt": {
"format": "datetime",
"type": "string"
},
"note": {
"description": "Moderator explanation, from the publicNote on the closing activity. Absent if none was written.",
"type": "string"
},
"resolvedAt": {
"description": "When the appeal's report was closed.",
"format": "datetime",
"type": "string"
},
"state": {
"knownValues": [
"none",
"pending",
"resolved",
"superseded",
"expired"
],
"type": "string"
}
},
"required": [
"state"
],
"type": "object"
},
"enforcementView": {
"description": "The current enforcement state of a subject.",
"properties": {
"expiresAt": {
"format": "datetime",
"type": "string"
},
"labels": {
"description": "Active label values on the subject, excluding negated and expired labels.",
"items": {
"type": "string"
},
"type": "array"
},
"scope": {
"knownValues": [
"network",
"app",
"labelOnly"
],
"type": "string"
},
"state": {
"knownValues": [
"none",
"labeled",
"removed",
"suspended",
"takendown"
],
"type": "string"
}
},
"required": [
"state"
],
"type": "object"
},
"subjectView": {
"description": "A subject belonging to the viewer that has moderation actions against it.",
"properties": {
"actionCount": {
"type": "integer"
},
"appeal": {
"ref": "#appealView",
"type": "ref"
},
"availableActions": {
"items": {
"knownValues": [
"appeal"
],
"type": "string"
},
"type": "array"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"enforcement": {
"ref": "#enforcementView",
"type": "ref"
},
"latestAction": {
"ref": "#actionView",
"type": "ref"
},
"src": {
"description": "DID of the moderation service that took the actions.",
"format": "did",
"type": "string"
},
"subject": {
"refs": [
"com.atproto.admin.defs#repoRef",
"com.atproto.repo.strongRef"
],
"type": "union"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"src",
"subject",
"enforcement",
"createdAt",
"updatedAt"
],
"type": "object"
}
},
"id": "tools.ozone.inbox.defs",
"lexicon": 1
}