sdmx-twg / sdmx-json

This repository is used for maintaining the SDMX-JSON message specifications.
54 stars 20 forks source link

Bad description of uri data type in schema #129

Open hoehrmann opened 8 months ago

hoehrmann commented 8 months ago

https://github.com/sdmx-twg/sdmx-json/blob/71fe5eaa9fcd29e3c15f2f0216a19b9b650b1dbd/data-message/tools/schemas/2.0.0/sdmx-json-data-schema.json#L1093 »Contains the URL to the schema allowing to validate the message. This also allows identifying the version of SDMX-JSON format used in this message. Providing the link to the SDMX-JSON schema is recommended.« - That is confused with the meta.schema property, but the definition is not used for meta.schema but for other URI properties.

Also the JSON data type is wrong, the "uri" type requires absolute URIs. The "uri-reference" (or rather "iri-reference") type should be used instead, since the prose description allows relative references.

(In doubt, please handle this as a public review comment on SDMX 3.1 once the comment period begins.)