sdmx-twg / sdmx-json

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

Use `$defs` instead of `$.definitions` in JSON Schemas. #153

Open hoehrmann opened 7 months ago

hoehrmann commented 7 months ago

The JSON Schemas for SDMX-JSON currently define re-usable parts of the schemas under $.definitions. As per https://json-schema.org/draft/2020-12/json-schema-core#name-schema-re-use-with-defs I believe $defs should be used instead.

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