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

package v0_0

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

// schema is unexported to prevent accidental overwrites
var (
	schemaCustomKind = resource.NewSimpleSchema("customapp.ext.grafana.app", "v0-0", NewCustomKind(), &CustomKindList{}, resource.WithKind("CustomKind"),
		resource.WithPlural("customkinds"), resource.WithScope(resource.NamespacedScope))
	kindCustomKind = resource.Kind{
		Schema: schemaCustomKind,
		Codecs: map[resource.KindEncoding]resource.Codec{
			resource.KindEncodingJSON: &CustomKindJSONCodec{},
		},
	}
)

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

// Schema returns a resource.SimpleSchema representation of CustomKind
func CustomKindSchema() *resource.SimpleSchema {
	return schemaCustomKind
}

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