Open hoehrmann opened 7 months ago
https://github.com/sdmx-twg/sdmx-json/blob/71fe5eaa9fcd29e3c15f2f0216a19b9b650b1dbd/data-message/tools/schemas/2.0.0/sdmx-json-data-schema.json#L902 defines
valueArray: oneOf: - type: array items: anyOf: - type: integer - type: 'null' minItems: 1 - type: array items: anyOf: - type: number - type: 'null' minItems: 1
An array [1] matches both alternatives and therefore fails to validate against the oneOf which is not intended.
[1]
oneOf
(In doubt, please handle this as a public review comment on SDMX 3.1 once the comment period begins.)
https://github.com/sdmx-twg/sdmx-json/blob/71fe5eaa9fcd29e3c15f2f0216a19b9b650b1dbd/data-message/tools/schemas/2.0.0/sdmx-json-data-schema.json#L902 defines
An array
[1]
matches both alternatives and therefore fails to validate against theoneOf
which is not intended.(In doubt, please handle this as a public review comment on SDMX 3.1 once the comment period begins.)