Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible inconsistency regarding coded attributes/measures with array values #164

Open
achronis opened this issue May 7, 2024 · 1 comment

Comments

@achronis
Copy link

achronis commented May 7, 2024

Hi,

In SDMX-JSON 2.0.0 data field guide here and here seem to give the impression that array values are supported only on uncoded data attributes/measures.

Specifically

  1. the minOccurs/maxOccurs is under component.format ( see )in SDMX-JSON data but in SDMX-JSON structure is under component directly see
  2. Documentation states here that component.values.values is only for un-coded attributes/measures
@hoehrmann
Copy link

You are looking at the structure part of data messages. If you have multiple values for an attribute or measure, the values would go into the dataset part. In the structure part, coded values are referenced by id, so they do not use value(s) there.

You also cannot use a component value to, say, create a set of codes from a codelist that is then referenced by an index. You have to reference the codes individually in the dataset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants