@@ -63,7 +63,8 @@ type Service struct {
6363 OwnerInfoRef string `json:"ownerInfoRef"`
6464 ServiceMetadataLinks MetadataLink `json:"serviceMetadataLinks,omitempty"`
6565 Rights string `json:"rights,omitempty"`
66-
66+ Author Author `json:"author,omitempty"`
67+
6768 // +kubebuilder:validation:Optional
6869 GeneratorConfig string `json:"-"` // Skip this field in the CRD schema
6970}
@@ -78,7 +79,6 @@ type Link struct {
7879 Title string `json:"title,omitempty"`
7980}
8081
81- // Author todo: move to higher level
8282// Author specifies the author or owner information
8383type Author struct {
8484 Name string `json:"name"`
@@ -87,15 +87,14 @@ type Author struct {
8787
8888// DatasetFeed represents individual dataset feeds within the Atom service
8989type DatasetFeed struct {
90- TechnicalName string `json:"technicalName"`
91- Title string `json:"title"`
92- Subtitle string `json:"subtitle,omitempty"`
93- Links []Link `json:"links,omitempty"`
94- DatasetMetadataLinks MetadataLink `json:"datasetMetadataLinks,omitempty"`
95- Author Author `json:"author,omitempty"`
96- SpatialDatasetIdentifierCode string `json:"spatial_dataset_identifier_code,omitempty"`
97- SpatialDatasetIdentifierNamespace string `json:"spatial_dataset_identifier_namespace,omitempty"`
98- Entries []Entry `json:"entries,omitempty"`
90+ TechnicalName string `json:"technicalName"`
91+ Title string `json:"title"`
92+ Subtitle string `json:"subtitle,omitempty"`
93+ Links []Link `json:"links,omitempty"` // Todo kan weg?
94+ DatasetMetadataLinks MetadataLink `json:"datasetMetadataLinks,omitempty"`
95+ SpatialDatasetIdentifierCode string `json:"spatial_dataset_identifier_code,omitempty"`
96+ SpatialDatasetIdentifierNamespace string `json:"spatial_dataset_identifier_namespace,omitempty"`
97+ Entries []Entry `json:"entries,omitempty"`
9998}
10099
101100// MetadataLink represents a link in the service or dataset feed
0 commit comments