Skip to content

Commit

Permalink
Release 1.0 of data message (#65)
Browse files Browse the repository at this point in the history
* Create browse-by-topic.md

* Initial release of the browse-by-topic requirement

* Update browse-by-topic.md

* Minor edits

* Fixed typo

* Sample file for step 1 of browse-by-topic use case

* Sample for step 1 of browse-by-topic - hateoas

* Made URLs generic & added reference resolution

* Changed images alt text

* Added list of matching series

* Reviewed format for step 1

* Added sample file for step 2

* Minor formatting changes

* Changed message IDs

* Add large sample for step 3.

* References now handled as HATEOAS links

* References to DSDs now handled as HATEOAS links

* Moved to a two-queries approach

* Explain why categorisations are not used

* Minor edits

* Artefacts resolution now taken into account

* Update step1.json

* Update step1.json

* Create 0-status.md (#20)

* first Jens test

* Update Json Message for Hierarchy of Categories (#42)

* Update step1.json

* Remove inappropriate link in the header

* Doc/jens (#43)

* New field guide for SDMX JSON structure message format.
* Reference document for SDMX JSON structure message format.

* Corrected small grammatical errors.

* adding missing properties (#45)

* Updated structure content description

* Update README.md

* Update README.md

* Update README.md

* Update step1-hateoas.json

* Update step1.json

* Update step2.json

* Update step3.json

* Update 1-sdmx-json-field-guide.md

Corrected a formatting glitch.

* Update 1-sdmx-json-field-guide.md

Shortened field guide structure and further developed explanations to facilitate comprehension.
Fixed issue #8 (Allow links also in components)

* Update 1-sdmx-json-field-guide.md

Corrected newly introduced errors in document bookmarks.
Fixed issue #33 (SDMX-Json data messages DataStructure/Dataflow reference/URN).
Added "hreflang" name to link object as response to issue #40 (properties for language used in structure and possibly data SDMX JSON messages) .

* Update 1-sdmx-json-field-guide.md

Correction in example text formatting.

* Update 1-sdmx-json-field-guide.md

Include changes for issue #38 for attachment of annotations to observations, components and component values

* Update 1-sdmx-json-field-guide.md

Update for #8 adding links for component values, and replacing uri by standard links mechanism in annotations

* Update 1-sdmx-json-field-guide.md

Implemented agreed improvement related to issue #38: Highlight sentence explaining the constraint for positions of attributes when including annotations for observations.

* #8 support for links in Component (#51)

Changed schema in order to allow links in Component
(Partly) update schema for issue #8

* Update sdmx-json-data-schema.json

Completed update of schema for issue #8

* Update 1-sdmx-json-field-guide.md

Highlighted recommendation for issue #33.

* #33 links in examples (#49)

Updated examples for issue #33

* Update 1-sdmx-json-field-guide.md

Updated inline examples with annotations for issue #38. Complemented/corrected descriptions related to annotations.

* Update 3-full-example-with-comments.md

Updates for issue #38 "Attachment of annotations"

* Update sdmx-json-data-schema.json

Updated schema for issue #38 (Attachment of annotations)

* Update exr-cross-section.json

Updated example for issue #38 (Attachment of annotations)

* Update exr-flat.json

Updated example for issue #38 (Attachment of annotations)

* Update exr-time-series.json

Updated example for issue #38 (Attachment of annotations)

* Update 1-sdmx-json-field-guide.md (#52)

* Update 1-sdmx-json-field-guide.md

Proposal to not include SDMX-JSON version as mandatory but a recommendation should be made to add information of the SDMX-JSON version as done by other standards (e.g. html). Do this by aligning with JSON-API standard with:
-	new optional top-level meta tag replacing the current header tag to specify SDMX-JSON schema, which contains the SDMX-JSON format version number
-	new top-level data tag under which the current structure and dataSets tags are grouped
-	the already existing top-level errors tag is updated

* Update sdmx-json-data-schema.json

Changed to align with SDMX-API spec (linked to implementation for #37)

* Update 1-sdmx-json-field-guide.md

#46 : Make keyPosition mandatory for dimensions.

* Update sdmx-json-data-schema.json

#46 and other bug corrections

* Update 2-references.md

Align to SDMX-API specification

* Update 1-sdmx-json-field-guide.md

Implement solution for #40

* Update sdmx-json-data-schema.json

Implementation of solution for #40

* Update 3-full-example-with-comments.md

Implement solution for #40

* Update exr-action-delete.json

Implementation of solution of #40

* Update exr-cross-section.json

Implementation of solution of #40

* Update exr-flat.json

Implementation of solution of #40

* Update exr-time-series.json

Implementation of solution of #40

* Update sdmx-json-data-schema.json

First changes for #30

* Update and rename data-message/tools/schemas/sdmx-json-data-schema.json to data-message/tools/schemas/1.0/sdmx-json-data-schema.json

Implementation of solution for #30 (regular expression validation)
Also corrected bugs

* Update exr-action-delete.json

Bug correction for #46

* Update exr-cross-section.json

Bug correction for #46

* Update exr-flat.json

Bug correction for #46

* Update exr-time-series.json

Bug correction for #46

* Update 3-full-example-with-comments.md

Corrected bug for #46

* Update sdmx-json-data-schema.json

Corrected bug that prevented following feature:
An attribute value of "null" can be used to reduce the message size by using the index of the attribute value in the data part of the message (instead of "null").

* Update sdmx-json-data-schema.json

Undo previous change as it wasn't correct.

* Update 3-full-example-with-comments.md

Bug correction for attribute value specification

* Update 1-sdmx-json-field-guide.md

Replaced resources and references with properties of one single Data object, one for each returned artefact. This will allow for a more in-depth content validation with a JSON schema. Using multiple languages. Changes not yet finished.

* Update 1-sdmx-json-field-guide.md

More changes: Changed "nullable" to "optional"

* Create sdmx-json-structure-schema.json

First version, more changes to come

* Update sdmx-json-structure-schema.json

More changes, and more still to come

* Update 1-sdmx-json-field-guide.md

More changes, and more to come...

* Update 1-sdmx-json-field-guide.md

Changes to align with structure message (in progress) and simplify use and specs for languages.

* Update sdmx-json-structure-schema.json

* Update sdmx-json-data-schema.json

Changes to align with structure message (in progress) and simplify use and specs for languages.

* Update exr-action-delete.json

Changes to align with structure message (in progress) and simplify use and specs for languages.

* Update exr-cross-section.json

Changes to align with structure message (in progress) and simplify use and specs for languages.

* Update exr-flat.json

Changes to align with structure message (in progress) and simplify use and specs for languages.

* Update exr-time-series.json

Changes to align with structure message (in progress) and simplify use and specs for languages.

* Update sdmx-json-data-schema.json

Correction for content-language because RFC standard doesn't include q weights. Therefore simplification of language specification without weights.

* Update 1-sdmx-json-field-guide.md

Correction for content-language because RFC standard doesn't include q weights. Therefore simplification of language specification without weights.

* Update 3-full-example-with-comments.md

Correction for content-language because RFC standard doesn't include q weights. Therefore simplification of language specification without weights.

* Update exr-action-delete.json

Correction for content-language because RFC standard doesn't include q weights. Therefore simplification of language specification without weights.

* Update exr-cross-section.json

Correction for content-language because RFC standard doesn't include q weights. Therefore simplification of language specification without weights.

* Update exr-flat.json

Correction for content-language because RFC standard doesn't include q weights. Therefore simplification of language specification without weights.

* Update exr-time-series.json

Correction for content-language because RFC standard doesn't include q weights. Therefore simplification of language specification without weights.

* Update 1-sdmx-json-field-guide.md

Correction for content-language because RFC standard doesn't include q weights. Therefore simplification of language specification without weights.

* Update sdmx-json-structure-schema.json

Work ongoing...

* Update 1-sdmx-json-field-guide.md

Work ongoing...

* Update 1-sdmx-json-field-guide.md

Correction for annotation title

* Update 1-sdmx-json-field-guide.md

Added possibility to include parent and order number for component values to allow for reconstructing component value hierarchies.

* Update 3-full-example-with-comments.md

Added possibility to include parent and order number for component values to allow for reconstructing component value hierarchies.

* Update sdmx-json-data-schema.json

Added possibility to include parent and order number for component values to allow for reconstructing component value hierarchies.

* Update exr-flat.json

Added possibility to include parent and order number for component values to allow for reconstructing component value hierarchies.

* Update exr-time-series.json

Added possibility to include parent and order number for component values to allow for reconstructing component value hierarchies.

* Update exr-action-delete.json

Added possibility to include parent and order number for component values to allow for reconstructing component value hierarchies.

* Update exr-cross-section.json

Added possibility to include parent and order number for component values to allow for reconstructing component value hierarchies.

* Update sdmx-json-structure-schema.json

Added codelist, categoryscheme and conceptscheme

* Update 1-sdmx-json-field-guide.md

Added codelist, categoryscheme and conceptscheme.
Treating urn and uri inside the links objects including one link for "self".

* Update 1-sdmx-json-field-guide.md

Some corrections.

* Update sdmx-json-structure-schema.json

Some corrections.

* Update 1-sdmx-json-field-guide.md

Replace component value's parent property object by string, to be consistent with SDMX-JSON structure message.

* Update 1-sdmx-json-field-guide.md

Completed with most frequent artefact types. 
Remaining artefacts are defined in schema: metadataStructures, hierarchicalCodelists, dataProviderSchemes, dataConsumerSchemes, organisationUnitSchemes, metadataflows, reportingTaxonomies, provisionAgreements, structureSets, processes

* Update 1-sdmx-json-field-guide.md

Formatting corrections

* Update sdmx-json-structure-schema.json

Completed schema for all structural artefact types.

* Update sdmx-json-structure-schema.json

Formatting correction

* Create generated-sample.json

Sample generated automatically from json schema.

* Update sdmx-json-data-schema.json

Correction to parent item specification.

* Create 1-sdmx-json-field-guide.md

First draft

* Update 1-sdmx-json-field-guide.md

Small corrections/improvements

* Update 1-sdmx-json-field-guide.md

Alignment with structure and metadata messages on management of human-readable localised names

* Update 1-sdmx-json-field-guide.md

Correction

* Update 1-sdmx-json-field-guide.md

Correction

* Update sdmx-json-data-schema.json

Make data message consistent with structure and metadata message for human-readable names

* Update 1-sdmx-json-field-guide.md

Correction

* Update sdmx-json-data-schema.json

Complement links

* Update sdmx-json-structure-schema.json

* Create sdmx-json-metadata-schema.json

* Update sdmx-json-data-schema.json

* Update sdmx-json-structure-schema.json

Simplified groupDimensions to simply array of dimension IDs.
Href not mandatory in links anymore, but links to have at least href or urn.

* Create constructed-sample

* Create constructed-sample.json

* Delete constructed-sample

* Update 1-sdmx-json-field-guide.md

Corrections/additions to ItemScheme/Item documentation.

* Update constructed-sample.json

Correction

* Update sdmx-json-structure-schema.json

Removed "id", "version" and "agencyID" properties from “ConceptRepresentation” type used for Concept definitions (because its “enumeration” property already contains the URN which holds the same information). Consistently, the SDMX-JSON format only uses URNs for referencing other artefacts rather than separate "id", "version" and "agencyID" properties.
Removed the “ISOConceptReferenceType” type. The “isoConceptReference” property of the “ConceptType” type is thus now taking just a simple URN rather than that “ISOConceptReferenceType” object.

* Update 1-sdmx-json-field-guide.md

* Create constructed-sample2

* Update sdmx-json-metadata-schema.json

* Update constructed-sample2

* Create constructed-sample

* Create generated-sample

* Update sdmx-json-metadata-schema.json

* format alignment for localised strings, added attribute relationship (#56)

* Update 1-sdmx-json-field-guide.md

Proposal to not include SDMX-JSON version as mandatory but a recommendation should be made to add information of the SDMX-JSON version as done by other standards (e.g. html). Do this by aligning with JSON-API standard with:
-	new optional top-level meta tag to specify SDMX-JSON version, this tag can contain the SDMX-JSON version number
-	new top-level data tag under which the current header, structure and dataSets tags should be grouped
-	the already existing top-level errors tag would need to be updated

* Update 1-sdmx-json-field-guide.md

* Update 1-sdmx-json-field-guide.md

* Update 1-sdmx-json-field-guide.md

* Update 3-full-example-with-comments.md

* Update sdmx-json-data-schema.json

* Rename data-message/tools/schemas/sdmx-json-data-schema.json to data-message/tools/schemas/1.0/sdmx-json-data-schema.json

* Update exr-action-delete.json

* Update exr-cross-section.json

* Update exr-action-delete.json

* Update 3-full-example-with-comments.md

* Update exr-flat.json

* Update exr-time-series.json

* Create agri.json

* Update 1-sdmx-json-field-guide.md

* Added attribute relationship and structure format changes (#57)

* Update sdmx-json-data-schema.json

Added AttributeRelationship (by copying similar structure construct from new SDMX-JSON structure message draft but removing all group references - this means groups should already be resolved into a list of dimensions by the server for the client)

* Update sdmx-json-structure-schema.json

Simplified groupDimensions to simply array of dimension IDs.
Href not mandatory in links anymore, but links to have at least href or urn.

* Update 1-sdmx-json-field-guide.md

* Update sdmx-json-data-schema.json

* Update sdmx-json-data-schema.json

* Update 1-sdmx-json-field-guide.md

* Update sdmx-json-structure-schema.json

* Update 1-sdmx-json-field-guide.md

* Update sdmx-json-data-schema.json

* Update sdmx-json-metadata-schema.json

* Update README.md

* Update README.md

* Update 1-sdmx-json-field-guide.md

Corrected formatting and writing mistakes

* Update 1-sdmx-json-field-guide.md

* Update 1-sdmx-json-field-guide.md

* first full release

* Add type prop to contentconstraint (#60)

* Corrected generated example for contentconstraint definition and other bugs

* Finished contentconstraint correction #59

* Corrected content constraint type #59, other small bugs and cleaning of unused definitions

* Corrected contentconstraints #59

* Corrected contentconstraint #59

* Still #59

* Generic language management (#62)

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Delete TODO.md

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Delete step1-hateoas.json

* Delete step1.json

* Delete step2.json

* Delete step3.json

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Generic language approach

as agreed by SDMX-TWG TF3 to fully respond to #40

* Added mention of metadata message

* Delete sdmx-json-metadata-schema.json

* Delete constructed-sample

* Delete constructed-sample2

* Delete generated-sample

* Delete 1-sdmx-json-field-guide.md

* Delete 0-status.md

* Delete 1-sdmx-json-field-guide.md

* Delete 2-references.md

* Delete cs-list.png

* Delete cs-treeview.png

* Delete df-filters.png

* Delete df-list.png

* Delete series-list.png

* Delete browse-by-topic.md

* Delete sdmx-json-structure-schema.json

* Delete constructed-sample.json

* Delete generated-sample.json

* Update README.md

* Update README.md

* Update README.md
  • Loading branch information
dosse committed Feb 1, 2019
1 parent 1fe7bf3 commit 21d2034
Show file tree
Hide file tree
Showing 11 changed files with 1,286 additions and 1,052 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ This repository is used for maintaining the SDMX-JSON messages specifications.

This includes:

- Normative documentation, samples and tools for the SDMX-JSON data message.
- Prototypes for the SDMX-JSON structure message.
- Normative documentation, samples and tools for the SDMX-JSON data message format.
- Prototype for the SDMX-JSON structure message format.
- Prototype for the SDMX-JSON metadata message format.
- [Wiki](https://github.com/sdmx-twg/sdmx-json/wiki) for additional information
15 changes: 2 additions & 13 deletions data-message/docs/0-status.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,7 @@
*This section describes the status of this document at the time of its publication.
Other documents may supersede this document.*

This is a SDMX Candidate Technical Standard for SDMX-JSON Data Message. It is
made available for review by the SDMX user community and the public. The public
review period for this document extends until November 31 2015 in order to allow
time for implementation.

Please send your comments to the SDMX Technical Working Group (SDMX-TWG) <twg@sdmx.org>.
Each email message should contain only one comment. Pull request can also be be submitted to
the GitHub repository <https://github.com/sdmx-twg/sdmx-json>. All feedback is welcome.

Publication as a Candidate Technical Standard does not imply endorsement by the
SDMX Sponsors. This is a draft document and may be updated, replaced or obsoleted by other
documents at any time.
This is the released SDMX Technical Standard for SDMX-JSON Data Message.

This document has been produced by the SDMX-TWG. The authors of this document
are the members of the SDMX-TWG. Different parts of this specification have
Expand All @@ -25,4 +14,4 @@ different editors.
\null
\vfill

© SDMX 2014 http://www.sdmx.org/
© SDMX 2014-2019 http://www.sdmx.org/
339 changes: 235 additions & 104 deletions data-message/docs/1-sdmx-json-field-guide.md

Large diffs are not rendered by default.

145 changes: 96 additions & 49 deletions data-message/docs/3-full-example-with-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,19 @@
"prepared": "2012-11-29T08:40:26Z",
"comment for test": "# optional with default false",
"test": false,
"comment for content-languages": "# recommended indication of all languages (potentially) used in message",
"content-languages": ["en"],
"comment for contentLanguages": "# recommended indication of all languages (potentially) used in message",
"contentLanguages": ["en"],
"sender": {
"id": "ECB",
"name": {"en": "European Central Bank"},
"name": "European Central Bank",
"names": {"en": "European Central Bank"},
"contact": [{
"name": {"en": "Statistics hotline"},
"department": {"en": "Statistics Department"},
"role": {"en": "helpdesk"},
"name": "Statistics hotline",
"names": {"en": "Statistics hotline"},
"department": "Statistics Department",
"departments": {"en": "Statistics Department"},
"role": "helpdesk",
"roles": {"en": "helpdesk"},
"telephone": ["+00-00-99999"],
"fax": ["+00-00-88888"],
"uri": ["http://www.xyz.org"],
Expand All @@ -28,11 +32,15 @@
"comment for receiver": "# receiver is optional, info from user record if authenticated",
"receiver": {
"id": "SDMX",
"name": {"en": "SDMX"},
"name": "SDMX",
"names": {"en": "SDMX"},
"contact": [{
"name": {"en": "name"},
"department": {"en": "department"},
"role": {"en": "role"},
"name": "name",
"names": {"en": "name"},
"department": "department",
"departments": {"en": "department"},
"role": "role",
"roles": {"en": "role"},
"telephone": ["telephone"],
"fax": ["fax"],
"uri": ["uri"],
Expand All @@ -43,13 +51,15 @@
"comment for href": "# include complete URL as used by the client",
"href": "http://www.myorg.org/ws/data/ECB_ICP1/M.PT.N.071100.4.INX",
"rel": "request",
"title": {"en": "Link to the url that returns this response"},
"title": "Link to the url that returns this response",
"titles": {"en": "Link to the url that returns this response"},
"type": "application/json"
}]
},
"errors": [{
"code": 123,
"title": {"en": "Invalid number of dimensions in parameter key"}
"title": "Invalid number of dimensions in parameter key",
"titles": {"en": "Invalid number of dimensions in parameter key"}
}],
"data": {
"structure": {
Expand All @@ -58,105 +68,130 @@
"href": "https://sdw-wsrest.ecb.europa.eu/service/datastructure/ECB/ECB_EXR1/1.0",
"urn": "urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=ECB:ECB_EXR1(1.0)",
"rel": "datastructure",
"title": {"en": "resolvable uri to datastructure"}
"title": "resolvable uri to datastructure",
"titles": {"en": "resolvable uri to datastructure"}
},
{
"href": "https://sdw-wsrest.ecb.europa.eu/service/dataflow/ECB/EXR",
"urn": "urn:sdmx:org.sdmx.infomodel.datastructure.Dataflow=ECB:EXR(1.0)",
"rel": "dataflow",
"title": {"en": "resolvable uri to dataflow"}
"title": "resolvable uri to dataflow",
"titles": {"en": "resolvable uri to dataflow"}
},
{
"href": "https://sdw-wsrest.ecb.europa.eu/service/provisionagreement/ECB/PA_EXR",
"urn": "urn:sdmx:org.sdmx.infomodel.provisionagreement.ProvisionAgreement=ECB:PA_EXR(1.0)",
"rel": "provisionagreement",
"title": {"en": "resolvable uri to provision agreement"}
"title": "resolvable uri to provision agreement",
"titles": {"en": "resolvable uri to provision agreement"}
}
],
"name": {"en": "dataflow name"},
"description": {"en": "dataflow description"},
"name": "dataflow name",
"names": {"en": "dataflow name"},
"description": "dataflow description",
"descriptions": {"en": "dataflow description"},
"dimensions": {
"comment for dataset": "# dataSet is used only if grouping of dimensions with single values",
"dataSet": [
{
"id": "FREQ",
"name": {"en": "Frequency"},
"description": {"en": "Description for the dimension"},
"name": "Frequency",
"names": {"en": "Frequency"},
"description": "Description for the dimension",
"descriptions": {"en": "Description for the dimension"},
"comment for keyPosition": "# 0-based position of dimension in key in user request url",
"keyPosition": 0,
"comment for role": "# restricted list of dimension and attribute roles (time, frequency, geo, unit, scalefactor, referenceperiod, ...)",
"role": "frequency",
"values": [{
"id": "D",
"name": {"en": "Daily"}
"name": "Daily",
"names": {"en": "Daily"}
}]
},
{
"id": "CURRENCY_DENOM",
"name": {"en": "Currency denominator"},
"description": {"en": "Description for the dimension"},
"name": "Currency denominator",
"names": {"en": "Currency denominator"},
"description": "Description for the dimension",
"descriptions": {"en": "Description for the dimension"},
"keyPosition": 2,
"values": [{
"id": "EUR",
"name": {"en": "Euro"}
"name": "Euro",
"names": {"en": "Euro"}
}]
},
{
"id": "EXR_TYPE",
"name": {"en": "Exchange rate type"},
"description": {"en": "Description for the dimension"},
"name": "Exchange rate type",
"names": {"en": "Exchange rate type"},
"description": "Description for the dimension",
"descriptions": {"en": "Description for the dimension"},
"keyPosition": 3,
"values": [{
"id": "SP00",
"name": {"en": "Spot rate"}
"name": "Spot rate",
"names": {"en": "Spot rate"}
}]
},
{
"id": "EXR_SUFFIX",
"name": {"en": "Series variation - EXR context"},
"description": {"en": "Description for the dimension"},
"name": "Series variation - EXR context",
"names": {"en": "Series variation - EXR context"},
"description": "Description for the dimension",
"descriptions": {"en": "Description for the dimension"},
"keyPosition": 4,
"values": [{
"id": "A",
"name": {"en": "Average or standardised measure for given frequency"}
"name": "Average or standardised measure for given frequency",
"names": {"en": "Average or standardised measure for given frequency"}
}]
}
],
"comment for series": "# only if dimensionAtObservation <> allDimensions",
"series": [{
"id": "CURRENCY",
"name": {"en": "Currency"},
"description": {"en": "Description for the dimension"},
"name": "Currency",
"names": {"en": "Currency"},
"description": "Description for the dimension",
"descriptions": {"en": "Description for the dimension"},
"keyPosition": 1,
"role": "unit",
"values": [
{
"id": "NZD",
"name": {"en": "New Zealand dollar"}
"name": "New Zealand dollar",
"names": {"en": "New Zealand dollar"}
},
{
"id": "RUB",
"name": {"en": "Russian rouble"}
"name": "Russian rouble",
"names": {"en": "Russian rouble"}
}
]
}],
"comment for observation": "# only for dimensions used at observation level",
"observation": [{
"id": "TIME_PERIOD",
"name": {"en": "Time period or range"},
"description": {"en": "Description for the dimension"},
"name": "Time period or range",
"names": {"en": "Time period or range"},
"description": "Description for the dimension",
"descriptions": {"en": "Description for the dimension"},
"keyPosition": 5,
"role": "time",
"values": [
{
"id": "2013-01-18",
"name": {"en": "2013-01-18"},
"name": "2013-01-18",
"names": {"en": "2013-01-18"},
"start": "2013-01-18T00:00:00Z",
"end": "2013-01-18T23:59:59Z"
},
{
"id": "2013-01-21",
"name": {"en": "2013-01-21"},
"name": "2013-01-21",
"names": {"en": "2013-01-21"},
"start": "2013-01-21T00:00:00Z",
"end": "2013-01-21T23:59:59Z"
}
Expand All @@ -167,21 +202,26 @@
"comment for dataSet": "# only for attributes returned at dataset level",
"dataSet": [{
"id": "TIME_FORMAT",
"name": {"en": "Time Format"},
"description": {"en": "Description for the attribute"},
"name": "Time Format",
"names": {"en": "Time Format"},
"description": "Description for the attribute",
"descriptions": {"en": "Description for the attribute"},
"relationship": {"none": {}},
"role": "TIME_FORMAT",
"default": "P1D",
"values": [{
"id": "P1D",
"name": {"en": "Daily"}
"name": "Daily",
"names": {"en": "Daily"}
}]
}],
"comment for series": "# only for attributes returned at series level",
"series": [{
"id": "ID",
"name": {"en": "Attribute name"},
"description": {"en": "Description for the attribute"},
"name": "Attribute name",
"names": {"en": "Attribute name"},
"description": "Description for the attribute",
"descriptions": {"en": "Description for the attribute"},
"relationship": {"dimensions": [
"FREQ",
"CURRENCY",
Expand All @@ -196,18 +236,22 @@
{
"comment for id": "# id property is optional to allow for uncoded attributes",
"id": "ID1",
"name": {"en": "New Zealand dollar (NZD)"}
"name": "New Zealand dollar (NZD)",
"names": {"en": "New Zealand dollar (NZD)"}
},
{
"id": "ID2",
"name": {"en": "Russian rouble (RUB)"}
"name": "Russian rouble (RUB)",
"names": {"en": "Russian rouble (RUB)"}
}
]
}],
"observation": [{
"id": "OBS_STATUS",
"name": {"en": "Observation status"},
"description": {"en": "Description for the attribute"},
"name": "Observation status",
"names": {"en": "Observation status"},
"description": "Description for the attribute",
"descriptions": {"en": "Description for the attribute"},
"relationship": {"primaryMeasure": "OBS_VALUE"},
"role": null,
"comment for default": "# optional",
Expand All @@ -217,16 +261,19 @@
null,
{
"id": "A",
"name": {"en": "Normal value"},
"description": {"en": "Normal value"}
"name": "Normal value",
"names": {"en": "Normal value"},
"description": "Normal value",
"descriptions": {"en": "Normal value"}
}
]
}]
},
"annotations": [{
"title": "AnnotationTitle provides a title for the annotation.",
"type": "AnnotationType is used to distinguish between annotations.",
"text": {"en": "AnnotationText contains the text of the annotation."},
"text": "AnnotationText contains the text of the annotation.",
"texts": {"en": "AnnotationText contains the text of the annotation."},
"id": "Non-standard identification of an annotation.",
"links": [{
"href": "http://www.myorg.org/ws/uri/for/this/annotation",
Expand Down
Loading

0 comments on commit 21d2034

Please sign in to comment.