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

package org_tangled

// schema: org.tangled.ci.trigger.schedule

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

const (
	CiTriggerScheduleNSID = "org.tangled.ci.trigger.schedule"
)

func init() {
	util.RegisterType("org.tangled.ci.trigger.schedule#main", &CiTriggerSchedule{})
} // CiTriggerSchedule is a "main" in the org.tangled.ci.trigger.schedule schema.
// A pipeline the spindle started on a workflow's cron schedule.
//
// RECORDTYPE: CiTriggerSchedule
type CiTriggerSchedule struct {
	LexiconTypeID string `json:"$type,const=org.tangled.ci.trigger.schedule" cborgen:"$type,const=org.tangled.ci.trigger.schedule"`
	// commit: Commit id the pipeline ran on, the head of ref at dispatch.
	Commit string `json:"commit" cborgen:"commit"`
	// ref: Branch the commit was resolved from, the repository's default branch.
	Ref  string `json:"ref" cborgen:"ref"`
	Repo string `json:"repo" cborgen:"repo"`
	// scheduledAt: The schedule tick this run is for, to the minute.
	ScheduledAt string `json:"scheduledAt" cborgen:"scheduledAt"`
}
