interface CreateLabelData

Data required to create a label.

Properties

val: string

The label value.

uri: string

The subject of the label. If labeling an account, this should be a string beginning with did:.

cid?: string

Optionally, a CID specifying the version of uri to label.

neg?: boolean

Whether this label is negating a previous instance of this label applied to the same subject.

src?: string

The DID of the actor who created this label, if different from the labeler.

cts?: string

The creation date of the label. Must be in ISO 8601 format.

exp?: string

The expiration date of the label, if any. Must be in ISO 8601 format.