Label
data class Label(val ver: Long? = null, val src: Did, val uri: Uri, val cid: Cid? = null, val val: String, val neg: Boolean? = null, val cts: Timestamp, val exp: Timestamp? = null, val sig: ByteArray? = null)
Metadata tag on an atproto resource (eg, repo or record).
Parameters
ver
The AT Protocol version of the label object.
src
DID of the actor who created this label.
uri
AT URI of the record, repository (account), or other resource that this label applies to.
cid
Optionally, CID specifying the specific version of 'uri' resource this label applies to.
val
The short string name of the value or type of this label.
neg
If true, this is a negation label, overwriting a previous label.
cts
Timestamp when this label was created.
exp
Timestamp at which this label expires (no longer applies).
sig
Signature of dag-cbor encoded label.