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

DSD - enforce the rule that the TimeDimension is the last in the list of dimensions #88

Closed
glenntav opened this issue Sep 2, 2021 · 3 comments
Assignees
Labels
change Change

Comments

@glenntav
Copy link
Owner

glenntav commented Sep 2, 2021

Relating to public consultation issue sdmx3mdt/public-consultation#50

Decision from the 02 Sept 2021 release candidate approval meeting:
Enforce the rule that the TimeDimension is the last in the list of dimensions in the DSD.

It implies that the TimeDimension's 'position' attribute is redundant and should be removed.

@glenntav glenntav added the change Change label Sep 2, 2021
@jgager
Copy link
Collaborator

jgager commented Sep 2, 2021

The dimension list was a choice of dimension/time dimension with a cardinality of 1..n (uniqueness constraint ensured only on time dimension could be declared). This will now be a sequence. I assume time dimension is optional. Is Dimension optional as well (i.e. could one have a DSD with the only dimension being time)?

@glenntav
Copy link
Owner Author

glenntav commented Sep 3, 2021

@jgager it should be a sequence of:
1..n dimensions
0..1 time dimensions

Yes, time dimension is optional because of the need to support unit record data without any concept of time.

However, there should be a minimum of 1 natural dimensions I think because the REST API amongst other bits of the standard assume that. There is a change request to allow DSDs with 0 dimensions, but that has been deferred until after the 3.0 release because the impact is too great at this late stage of the release cycle.

jgager added a commit that referenced this issue Sep 8, 2021
-changed dimension list to sequence with time dimension last
-prohibited position attribute on time dimension
jgager added a commit that referenced this issue Sep 10, 2021
-changed dimension list to require 1 dimension
@glenntav
Copy link
Owner Author

Closed - included in sdmx3mdt repo commit 14

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

No branches or pull requests

2 participants