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

package org_tangled

// schema: org.tangled.review.patch

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

const (
	ReviewPatchNSID = "org.tangled.review.patch"
)

func init() {
	util.RegisterType("org.tangled.review.patch", &ReviewPatch{})
} //
// RECORDTYPE: ReviewPatch
type ReviewPatch struct {
	LexiconTypeID string              `json:"$type,const=org.tangled.review.patch" cborgen:"$type,const=org.tangled.review.patch"`
	Base          *GitOid             `json:"base" cborgen:"base"`
	CreatedAt     string              `json:"createdAt" cborgen:"createdAt"`
	Head          *GitOid             `json:"head" cborgen:"head"`
	Source        *ReviewPatch_Source `json:"source,omitempty" cborgen:"source,omitempty"`
	// ticket: ticket-id
	Ticket string `json:"ticket" cborgen:"ticket"`
}

// ReviewPatch_Source is a "source" in the org.tangled.review.patch schema.
type ReviewPatch_Source struct {
	Branch string `json:"branch" cborgen:"branch"`
	Repo   string `json:"repo" cborgen:"repo"`
}
