tools.umbrae.label
One label from a private labeler, with the fields of com.atproto.label.defs#label. Append-only: each apply or negation is a new record. The current state for a (src, uri, cid, val) is the latest record by cts, then by record key. Deleting a record is a purge: it counts as never written.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | umbrae.tools |
| Commit rev | 3n2xptucgg22e |
| Indexed |
Checks
Validunlimited-bytesdefs.main.record.properties.sigNo maxLength limits these bytes.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "One label from a private labeler, with the fields of com.atproto.label.defs#label. Append-only: each apply or negation is a new record. The current state for a (src, uri, cid, val) is the latest record by cts, then by record key. Deleting a record is a purge: it counts as never written.",
"key": "tid",
"record": {
"properties": {
"audience": {
"description": "The record key of a tools.umbrae.labelerAudience: the label is shown only to its members (and, on a hidden post or repost, only to those who may also see it). Unknown means shown to nobody. Covered by sig when set.",
"format": "tid",
"type": "string"
},
"cid": {
"description": "Optionally, the version of the record this label applies to.",
"format": "cid",
"type": "string"
},
"cts": {
"description": "When the label was created.",
"format": "datetime",
"type": "string"
},
"exp": {
"description": "When the label stops applying.",
"format": "datetime",
"type": "string"
},
"neg": {
"description": "If true, this negates an earlier label with the same src, uri, cid and val.",
"type": "boolean"
},
"sig": {
"description": "The standard label signature, by the labeler's label key (labelKey in tools.umbrae.labelerPolicies): over the DRISL encoding of the label without sig (and without $type), with ver defaulting to 1, neg omitted unless true, and audience included only when set.",
"type": "bytes"
},
"src": {
"description": "The labeler: always the space authority.",
"format": "did",
"type": "string"
},
"uri": {
"description": "What's labelled: the AT URI of a public record or account, an account DID, or the URI of a hidden post or repost (a tools.umbrae.post or tools.umbrae.repost in a tools.umbrae.space space). Nothing else from inside a space. A label on a hidden post or repost is shown only to viewers who may see that record.",
"format": "uri",
"type": "string"
},
"val": {
"description": "The label value.",
"maxLength": 128,
"type": "string"
},
"ver": {
"description": "The AT Protocol version of the label object. 1.",
"type": "integer"
}
},
"required": [
"src",
"uri",
"val",
"cts"
],
"type": "object"
},
"type": "record"
}
},
"id": "tools.umbrae.label",
"lexicon": 1
}