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

package v1

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

// schema is unexported to prevent accidental overwrites
var (
	schemaTestKind2 = resource.NewSimpleSchema("testapp.ext.grafana.app", "v1", NewTestKind2(), &TestKind2List{}, resource.WithKind("TestKind2"),
		resource.WithPlural("testkind2s"), resource.WithScope(resource.NamespacedScope))
	kindTestKind2 = resource.Kind{
		Schema: schemaTestKind2,
		Codecs: map[resource.KindEncoding]resource.Codec{
			resource.KindEncodingJSON: &TestKind2JSONCodec{},
		},
	}
)

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

// Schema returns a resource.SimpleSchema representation of TestKind2
func TestKind2Schema() *resource.SimpleSchema {
	return schemaTestKind2
}

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