blue.rito.label.auto.post
Setting Post based auto labeling.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | auto.label.rito.blue |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.actionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.appliedToNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.conditionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.labelNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Setting Post based auto labeling.",
"key": "tid",
"record": {
"properties": {
"action": {
"description": "Required for 'account', It should be 'add' or 'remove'",
"type": "string"
},
"appliedTo": {
"description": "'account' or 'post'",
"type": "string"
},
"condition": {
"description": "Setting apply condition with regex",
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"durationInHours": {
"description": "Hour based label dulation. 0 will be no duration.",
"type": "integer"
},
"label": {
"description": "If condition are matched, which label are applyed or removed.",
"type": "string"
}
},
"required": [
"label",
"condition",
"appliedTo",
"durationInHours",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "blue.rito.label.auto.post",
"lexicon": 1
}