You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// +kubebuilder:validation:XValidation:rule="(has(self.csw) || has(self.custom)) && !(has(self.csw) && has(self.custom))", message="metadataUrl should have csw or custom, not both"
129
+
// +kubebuilder:validation:XValidation:rule="(has(self.csw) || has(self.custom)) && !(has(self.csw) && has(self.custom))", message="metadataUrl should have exactly 1 of csw or custom"
127
130
typeMetadataURLstruct {
128
131
// CSW describes a metadata record via a metadataIdentifier (UUID) as defined in the OwnerInfo.
129
-
CSW*Metadata`json:"csw"`
132
+
CSW*Metadata`json:"csw,omitempty"`
130
133
131
134
// Custom allows arbitrary href
132
135
Custom*Custom`json:"custom,omitempty"`
@@ -135,16 +138,15 @@ type MetadataURL struct {
135
138
// Metadata holds the UUID of a CSW metadata record
0 commit comments