org. atgrp. labeler
The group's label values and the reports it accepts. Written by the group in the members space.
- Kind
- A record
- Part of
- The standard
- Record
at://did:plc:4pt2cnpyvfgn5b7uxwn2shwv/com.atproto.lexicon.schema/org.atgrp.labeler- In the spec
org., the same as published here.atgrp. labeler
main record
Record key: literal:self
| Field | Type | Description |
|---|---|---|
policies (required) | | |
reasonTypes | array of org. | Accepted report reasons. Omit to accept all. |
subjectTypes | array of string
| Accepted report subject types. Omit to accept all. |
subjectCollections | array of string (nsid) | Accepted report record types. Omit to accept all. |
#policies object
The group's label values and their definitions.
| Field | Type | Description |
|---|---|---|
labelValues (required) | array of com. | Label values the group applies. |
labelValueDefinitions | array of com. | Definitions for group-defined label values. |
The schema as published
{
"id": "org.atgrp.labeler",
"defs": {
"main": {
"key": "literal:self",
"type": "record",
"record": {
"type": "object",
"required": [
"policies"
],
"properties": {
"policies": {
"ref": "#policies",
"type": "ref"
},
"reasonTypes": {
"type": "array",
"items": {
"ref": "org.atgrp.mod.defs#reasonType",
"type": "ref"
},
"description": "Accepted report reasons. Omit to accept all."
},
"subjectTypes": {
"type": "array",
"items": {
"type": "string",
"knownValues": [
"account",
"record"
]
},
"description": "Accepted report subject types. Omit to accept all."
},
"subjectCollections": {
"type": "array",
"items": {
"type": "string",
"format": "nsid"
},
"description": "Accepted report record types. Omit to accept all."
}
}
},
"description": "The group's label values and the reports it accepts. Written by the group in the members space."
},
"policies": {
"type": "object",
"required": [
"labelValues"
],
"properties": {
"labelValues": {
"type": "array",
"items": {
"ref": "com.atproto.label.defs#labelValue",
"type": "ref"
},
"description": "Label values the group applies."
},
"labelValueDefinitions": {
"type": "array",
"items": {
"ref": "com.atproto.label.defs#labelValueDefinition",
"type": "ref"
},
"description": "Definitions for group-defined label values."
}
},
"description": "The group's label values and their definitions."
}
},
"lexicon": 1
}