fyi. opensocial. label
A moderation label, written by the group authority into the space its subject lives in — or, for an account, into the members space.
- Kind
- A record
- Part of
- The reference host
- Record
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.label
main record
Record key: tid
| Field | Type | Description |
|---|---|---|
createdAt (required) | string (datetime) | |
neg | boolean | If true, negates an earlier label with the same val on the same subject. |
rule | string (at-uri) | The fyi.opensocial.rule this label cites. |
subject (required) | union of com., com. | 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 (required) | string
| The label value, e.g. '!hide', '!takedown', or a group-defined value. |
The schema as published
{
"defs": {
"main": {
"description": "A moderation label, written by the group authority into the space its subject lives in — or, for an account, into the members space.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"neg": {
"description": "If true, negates an earlier label with the same val on the same subject.",
"type": "boolean"
},
"rule": {
"description": "The fyi.opensocial.rule this label cites.",
"format": "at-uri",
"type": "string"
},
"subject": {
"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.",
"refs": [
"com.atproto.admin.defs#repoRef",
"com.atproto.repo.strongRef"
],
"type": "union"
},
"val": {
"description": "The label value, e.g. '!hide', '!takedown', or a group-defined value.",
"maxLength": 128,
"type": "string"
}
},
"required": [
"subject",
"val",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "fyi.opensocial.label",
"lexicon": 1
}