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"
128
+
// +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"
126
129
typeMetadataURLstruct {
127
130
// CSW describes a metadata record via a metadataIdentifier (UUID) as defined in the OwnerInfo.
128
-
CSW*Metadata`json:"csw"`
131
+
CSW*Metadata`json:"csw,omitempty"`
129
132
130
133
// Custom allows arbitrary href
131
134
Custom*Custom`json:"custom,omitempty"`
@@ -134,16 +137,15 @@ type MetadataURL struct {
134
137
// Metadata holds the UUID of a CSW metadata record
0 commit comments