tools.umbrae.labelerPolicies
What a private labeler publishes and accepts, with the fields of app.bsky.labeler.service minus its public-only parts.
Details · record, key literal:self
| Kind | record |
|---|---|
| Record key | literal:self |
| Authority | umbrae.tools |
| Commit rev | 3n2iu2wbdck2e |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.labelKeyNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.retiredKey.properties.keyNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "What a private labeler publishes and accepts, with the fields of app.bsky.labeler.service minus its public-only parts.",
"key": "literal:self",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"labelKey": {
"description": "The did:key (P-256 or secp256k1) that signs this labeler's labels now. Published here instead of in the labeler's public DID document, which would mark the account as a labeler.",
"type": "string"
},
"policies": {
"ref": "app.bsky.labeler.defs#labelerPolicies",
"type": "ref"
},
"previousLabelKeys": {
"description": "Keys retired by routine rotation. Each verifies only labels whose cts is before its retiredAt. cts is chosen by the signer, so this is no defence against a leaked key: after a compromise, don't list it, and re-sign current labels. Requires labelKey; keys are unique.",
"items": {
"ref": "#retiredKey",
"type": "ref"
},
"maxLength": 10,
"type": "array"
},
"reasonTypes": {
"description": "Report reason codes in scope. If not defined (distinct from empty), all are.",
"items": {
"ref": "com.atproto.moderation.defs#reasonType",
"type": "ref"
},
"type": "array"
},
"subjectCollections": {
"description": "Record collections that can be reported. If not defined (distinct from empty), any.",
"items": {
"format": "nsid",
"type": "string"
},
"type": "array"
},
"subjectTypes": {
"description": "Subject types (account, record, ...) this labeler accepts reports on.",
"items": {
"ref": "com.atproto.moderation.defs#subjectType",
"type": "ref"
},
"type": "array"
}
},
"required": [
"policies",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"retiredKey": {
"properties": {
"key": {
"type": "string"
},
"retiredAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"key",
"retiredAt"
],
"type": "object"
}
},
"id": "tools.umbrae.labelerPolicies",
"lexicon": 1
}