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

Coded TIME_PERIOD? #146

Open
hoehrmann opened this issue Apr 2, 2024 · 0 comments
Open

Coded TIME_PERIOD? #146

hoehrmann opened this issue Apr 2, 2024 · 0 comments

Comments

@hoehrmann
Copy link

https://github.com/sdmx-twg/sdmx-json/blob/71fe5eaa9fcd29e3c15f2f0216a19b9b650b1dbd/data-message/docs/1-sdmx-json-field-guide.md contains this example:

	"observation": [
		{
			"id": "TIME_PERIOD",
			"name": "Time period or range",
			"names": { "en": "Time period or range" },
			"values": [
				{
					"id": "2013-01-18",
					"name": "2013-01-18",
					"names": { "en": "2013-01-18" }
				}, {
					"id": "2013-01-21",
					"name": "2013-01-21",
					"names": { "en": "2013-01-21" }
				}
			]
		}
	]

Using values[*].id is allowed only for coded values, but TIME_PERIOD would usually be the TimeDimension which cannot be coded. This seems to be a leftover from a time where there was no values[*].value property.

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

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

1 participant