//
// Code generated by grafana-app-sdk. DO NOT EDIT.
//

package v0alpha1

import (
	"github.com/grafana/grafana-app-sdk/resource"
)

// schema is unexported to prevent accidental overwrites
var (
	schemaCheckType = resource.NewSimpleSchema("advisor.grafana.app", "v0alpha1", &CheckType{}, &CheckTypeList{}, resource.WithKind("CheckType"),
		resource.WithPlural("checktypes"), resource.WithScope(resource.NamespacedScope))
	kindCheckType = resource.Kind{
		Schema: schemaCheckType,
		Codecs: map[resource.KindEncoding]resource.Codec{
			resource.KindEncodingJSON: &CheckTypeJSONCodec{},
		},
	}
)

// Kind returns a resource.Kind for this Schema with a JSON codec
func CheckTypeKind() resource.Kind {
	return kindCheckType
}

// Schema returns a resource.SimpleSchema representation of CheckType
func CheckTypeSchema() *resource.SimpleSchema {
	return schemaCheckType
}

// Interface compliance checks
var _ resource.Schema = kindCheckType
