Correct SDMX-JSON message format - SDMXRI-1367 - NSI v7.13.1
-
In both SDMX-JSON structure and data messages, rename meta.content-languages
intometa.contentLanguages
.
For more information, see https://github.com/sdmx-twg/sdmx-json/blob/structure-message-release/structure-message/docs/1-sdmx-json-field-guide.md#meta -
In SDMX-JSON structure messages, the link.type
property is incorrectly set. It should NOT specify an SDMX artefact type. The type expected is a mime-type, see https://github.com/sdmx-twg/sdmx-json/blob/structure-message-release/structure-message/docs/1-sdmx-json-field-guide.md#linking-mechanism and “5.4. Target Attributes” in https://tools.ietf.org/rfc/rfc5988.txt.-
link.type
should be removed when the link is a URN. -
link.type
should be replaced with a real mime-type when the link is a URL and if the mime-type of the URL response is known in advance (which could only be the case when the link was entered by a user), otherwise it should be removed.
-
NOTE: These changes break backward-compatibility and need a careful dependency management.
Edited by Jens Dossé