// Code generated by "cue exp gengotypes"; DO NOT EDIT.

package jsonschema

import (
	"cuelang.org/go/cue"
)

type crdLike struct {
	ApiVersion string `json:"apiVersion"`

	Kind string `json:"kind"`
}

// CRDSpec defines a subset of the CRD schema, suitable for filtering
// CRDs based on common criteria like group and name.
type CRDSpec struct {
	ApiVersion string `json:"apiVersion"`

	Kind string `json:"kind"`

	Spec struct {
		Group string `json:"group"`

		Names struct {
			Kind string `json:"kind"`

			Plural string `json:"plural"`

			Singular string `json:"singular"`
		} `json:"names"`

		Scope string `json:"scope"`

		Versions []struct {
			Name string `json:"name"`

			Schema struct {
				OpenAPIV3Schema cue.Value `json:"openAPIV3Schema"`
			} `json:"schema"`
		} `json:"versions"`
	} `json:"spec"`
}
