Use MSD for ref. metadata types
As Gyorgy,
I want to see the referential metadata formatted according to their types,
So that I can model the data optimally and appropriately present all information about the data.
Important note
Attributes not already shown in flags or footnotes (which are not marked as to be hidden) and thus displayed in the side panel ("drawer") are grouped under one parent level named (through configuration/localisation) "Data Characteristics”, are ordered in the same order as they are defined in the DSD and respect their types defined in the DSD. The "Data characteristics" group is shown before the referential metadata hierarchy.
Functional specifications
- The type of the attribute or metadata value (as defined in DSD or MSD) is to be respected, e.g. string, number, coded value with name (label) and/or ID according to the Label setting, date(time), etc. Referential metadata values can also be XHTML strings. The html instructions should be applied on the screen (at least for a well-defined subset including: bold, italic, underline, strike-through, subscript, superscript, ordered list, unordered list, links, external images, text colour, tables). Coded attribute and referential metadata values must respect the local.
Note: The HTML sanitization is moved to #688 (closed) - All tree branches are expanded by default. It should be possible to collapse / expand information groups one by one or all at the same time.
Technical considerations
-
The MSD is provided in the data structure (DSD) through an annotation of type "METADATA"
<structure:DataStructure agencyID=“XXX“ id=“XXX" version=“1.0"> <common:Annotations> <common:Annotation> <common:AnnotationTitle>urn:sdmx:org.sdmx.infomodel.metadatastructure.MetadataStructure=OECD:MSD_TEST(1.0)</common:AnnotationTitle> <common:AnnotationType>METADATA</common:AnnotationType> </common:Annotation> </common:Annotations> <common:Name xml:lang="en">XXX</common:Name> <structure:DataStructureComponents> ... </structure:DataStructureComponents> </structure:DataStructure>
-
SDMX-JSON 1.0 structure messages are used to retrieve the MSD with the definition of available attributes.
-
important snippet: sis-cc/eurostat-sdmx-ri/nsiws.net.mirrored$2191494