Skip to content

Commit f98e117

Browse files
committed
PDOK-17552 Operator uitwerken voor ATOM v3. Mapping
1 parent eaa63ee commit f98e117

File tree

2 files changed

+251
-119
lines changed

2 files changed

+251
-119
lines changed

api/v3/atom_types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ type AtomSpec struct {
3636
Lifecycle Lifecycle `json:"lifecycle,omitempty"`
3737
Service Service `json:"service"`
3838
DatasetFeeds []DatasetFeed `json:"datasetFeeds,omitempty"`
39+
Author Author `json:"author,omitempty"`
3940
}
4041

4142
// todo: move to higher level (operator-support repo)
@@ -53,6 +54,7 @@ type Service struct {
5354
OwnerInfoRef string `json:"ownerInfoRef"`
5455
ServiceMetadataLinks MetadataLink `json:"serviceMetadataLinks,omitempty"`
5556
Rights string `json:"rights,omitempty"`
57+
Links []Link `json:"links,omitempty"`
5658
}
5759

5860
// Link represents a link in the service or dataset feed
@@ -79,7 +81,6 @@ type DatasetFeed struct {
7981
Subtitle string `json:"subtitle,omitempty"`
8082
Links []Link `json:"links,omitempty"` // Todo kan weg?
8183
DatasetMetadataLinks MetadataLink `json:"datasetMetadataLinks,omitempty"`
82-
Author Author `json:"author,omitempty"`
8384
SpatialDatasetIdentifierCode string `json:"spatial_dataset_identifier_code,omitempty"`
8485
SpatialDatasetIdentifierNamespace string `json:"spatial_dataset_identifier_namespace,omitempty"`
8586
Entries []Entry `json:"entries,omitempty"`

0 commit comments

Comments
 (0)