Record
group.opensocial.label
A moderation label, written where its subject lives.
A moderation label, written by the group authority into the space its subject lives in — or, for an account, into the members space.
- Record key
TID- Lives in
subject's space
Fields
subjectunion of com.atproto.admin.defs#repoRef | com.atproto.repo.strongRefrequiredA record inside one of the group's spaces, or an account. A record's label lives in that record's space; an account's in the members space.
valstringrequiredThe label value, e.g. '!hide', '!takedown', or a group-defined value.
≤ 128 bytes
negbooleanIf true, negates an earlier label with the same val on the same subject.
rulestring · at-uriThe group.opensocial.rule this label cites.
createdAtstring · datetimerequiredSchema
Lexicon JSON
{
"lexicon": 1,
"id": "group.opensocial.label",
"defs": {
"main": {
"type": "record",
"key": "tid",
"description": "A moderation label, written by the group authority into the space its subject lives in — or, for an account, into the members space.",
"record": {
"type": "object",
"required": [
"subject",
"val",
"createdAt"
],
"properties": {
"subject": {
"type": "union",
"refs": [
"com.atproto.admin.defs#repoRef",
"com.atproto.repo.strongRef"
],
"description": "A record inside one of the group's spaces, or an account. A record's label lives in that record's space; an account's in the members space."
},
"val": {
"type": "string",
"maxLength": 128,
"description": "The label value, e.g. '!hide', '!takedown', or a group-defined value."
},
"neg": {
"type": "boolean",
"description": "If true, negates an earlier label with the same val on the same subject."
},
"rule": {
"type": "string",
"format": "at-uri",
"description": "The group.opensocial.rule this label cites."
},
"createdAt": {
"type": "string",
"format": "datetime"
}
}
}
}
}
}