//
// 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 (
	schemaExample = resource.NewSimpleSchema("example.grafana.app", "v1", &Example{}, &ExampleList{}, resource.WithKind("Example"),
		resource.WithPlural("examples"), resource.WithScope(resource.NamespacedScope))
	kindExample = resource.Kind{
		Schema: schemaExample,
		Codecs: map[resource.KindEncoding]resource.Codec{
			resource.KindEncodingJSON: &ExampleJSONCodec{},
		},
	}
)

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

// Schema returns a resource.SimpleSchema representation of Example
func ExampleSchema() *resource.SimpleSchema {
	return schemaExample
}

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