Skip to content

app.bsky.labeler.service

Lexicon Version: 1

Type: record

A declaration of the existence of labeler service.

Record Key: literal:self

Record Properties:

NameTypeReq’dDescriptionConstraints
policiesapp.bsky.labeler.defs#labelerPolicies
labelsUnion of:
  com.atproto.label.defs#selfLabels
createdAtstringFormat: datetime
reasonTypesArray of com.atproto.moderation.defs#reasonTypeThe set of report reason ‘codes’ which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed.
subjectTypesArray of com.atproto.moderation.defs#subjectTypeThe set of subject types (account, record, etc) this service accepts reports on.
subjectCollectionsArray of stringSet of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type.

{
"lexicon": 1,
"id": "app.bsky.labeler.service",
"defs": {
"main": {
"type": "record",
"description": "A declaration of the existence of labeler service.",
"key": "literal:self",
"record": {
"type": "object",
"required": [
"policies",
"createdAt"
],
"properties": {
"policies": {
"type": "ref",
"ref": "app.bsky.labeler.defs#labelerPolicies"
},
"labels": {
"type": "union",
"refs": [
"com.atproto.label.defs#selfLabels"
]
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"reasonTypes": {
"description": "The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed.",
"type": "array",
"items": {
"type": "ref",
"ref": "com.atproto.moderation.defs#reasonType"
}
},
"subjectTypes": {
"description": "The set of subject types (account, record, etc) this service accepts reports on.",
"type": "array",
"items": {
"type": "ref",
"ref": "com.atproto.moderation.defs#subjectType"
}
},
"subjectCollections": {
"type": "array",
"description": "Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type.",
"items": {
"type": "string",
"format": "nsid"
}
}
}
}
}
}
}