Monorepo for Tangled
tangled.org
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package tangled
4
5// schema: sh.tangled.graph.vouch
6
7import (
8 "github.com/bluesky-social/indigo/lex/util"
9)
10
11const (
12 GraphVouchNSID = "sh.tangled.graph.vouch"
13)
14
15func init() {
16 util.RegisterType("sh.tangled.graph.vouch", &GraphVouch{})
17} //
18// RECORDTYPE: GraphVouch
19type GraphVouch struct {
20 LexiconTypeID string `json:"$type,const=sh.tangled.graph.vouch" cborgen:"$type,const=sh.tangled.graph.vouch"`
21 CreatedAt string `json:"createdAt" cborgen:"createdAt"`
22 // evidences: Optional list of ATURIs serving as evidence for this vouch (ex. issues, PRs)
23 Evidences []string `json:"evidences,omitempty" cborgen:"evidences,omitempty"`
24 // kind: Whether this user is being vouched for or denounced
25 Kind string `json:"kind" cborgen:"kind"`
26 // reason: The reason for this vouch/denouncement
27 Reason *string `json:"reason,omitempty" cborgen:"reason,omitempty"`
28}