Skip to content

Catalog types must be serialized as part of the catalog property #4586

@jimmarino

Description

@jimmarino

Bug Report

Describe the Bug

Currently, (sub)catalogs of type Catalog are serialized as part of the dataset property in a catalog. Per the DCAT 3 specification, this should be part of the catalog property.

This change needs to be made in the JsonObjectFromCatalogTransformer to filter on types:

        var datasets = catalog.getDatasets().stream()
                .map(offer -> context.transform(offer, JsonObject.class))
                .collect(toJsonArray());

Metadata

Metadata

Labels

bug_reportSuspected bugs, awaiting triage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions