···3434export function validateLabel(v: unknown): ValidationResult {
3535 return lexicons.validate('com.atproto.label.defs#label', v)
3636}
3737+3838+/** Metadata tags on an atproto record, published by the author within the record. */
3939+export interface SelfLabels {
4040+ values: SelfLabel[]
4141+ [k: string]: unknown
4242+}
4343+4444+export function isSelfLabels(v: unknown): v is SelfLabels {
4545+ return (
4646+ isObj(v) &&
4747+ hasProp(v, '$type') &&
4848+ v.$type === 'com.atproto.label.defs#selfLabels'
4949+ )
5050+}
5151+5252+export function validateSelfLabels(v: unknown): ValidationResult {
5353+ return lexicons.validate('com.atproto.label.defs#selfLabels', v)
5454+}
5555+5656+/** Metadata tag on an atproto record, published by the author within the record. Note -- schemas should use #selfLabels, not #selfLabel. */
5757+export interface SelfLabel {
5858+ /** the short string name of the value or type of this label */
5959+ val: string
6060+ [k: string]: unknown
6161+}
6262+6363+export function isSelfLabel(v: unknown): v is SelfLabel {
6464+ return (
6565+ isObj(v) &&
6666+ hasProp(v, '$type') &&
6767+ v.$type === 'com.atproto.label.defs#selfLabel'
6868+ )
6969+}
7070+7171+export function validateSelfLabel(v: unknown): ValidationResult {
7272+ return lexicons.validate('com.atproto.label.defs#selfLabel', v)
7373+}