// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package org_tangled

// schema: org.tangled.graph.vouch

import (
	comatprototypes "github.com/bluesky-social/indigo/api/atproto"
	"github.com/bluesky-social/indigo/lex/util"
)

const (
	GraphVouchNSID = "org.tangled.graph.vouch"
)

func init() {
	util.RegisterType("org.tangled.graph.vouch", &GraphVouch{})
} //
// RECORDTYPE: GraphVouch
type GraphVouch struct {
	LexiconTypeID string `json:"$type,const=org.tangled.graph.vouch" cborgen:"$type,const=org.tangled.graph.vouch"`
	CreatedAt     string `json:"createdAt" cborgen:"createdAt"`
	// evidences: Optional list of ATURIs serving as evidence for this vouch (ex. issues, PRs)
	Evidences []*comatprototypes.RepoStrongRef `json:"evidences,omitempty" cborgen:"evidences,omitempty"`
	// kind: Whether this user is being vouched for or denounced
	Kind string `json:"kind" cborgen:"kind"`
	// reason: The reason for this vouch/denouncement
	Reason *string `json:"reason,omitempty" cborgen:"reason,omitempty"`
}
