···11+// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
22+33+package tangled
44+55+// schema: sh.tangled.label.op
66+77+import (
88+ "github.com/bluesky-social/indigo/lex/util"
99+)
1010+1111+const (
1212+ LabelOpNSID = "sh.tangled.label.op"
1313+)
1414+1515+func init() {
1616+ util.RegisterType("sh.tangled.label.op", &LabelOp{})
1717+} //
1818+// RECORDTYPE: LabelOp
1919+type LabelOp struct {
2020+ LexiconTypeID string `json:"$type,const=sh.tangled.label.op" cborgen:"$type,const=sh.tangled.label.op"`
2121+ Add []*LabelOp_Operand `json:"add" cborgen:"add"`
2222+ Delete []*LabelOp_Operand `json:"delete" cborgen:"delete"`
2323+ PerformedAt string `json:"performedAt" cborgen:"performedAt"`
2424+ // subject: The subject (task, pull or discussion) of this label. Appviews may apply a `scope` check and refuse this op.
2525+ Subject string `json:"subject" cborgen:"subject"`
2626+}
2727+2828+// LabelOp_Operand is a "operand" in the sh.tangled.label.op schema.
2929+type LabelOp_Operand struct {
3030+ // key: ATURI to the label definition
3131+ Key string `json:"key" cborgen:"key"`
3232+ // value: Stringified value of the label. This is first unstringed by appviews and then interpreted as a concrete value.
3333+ Value string `json:"value" cborgen:"value"`
3434+}