Last modified by Artur on 2025/09/10 11:19

From version 7.2
edited by Helena
on 2025/05/15 10:38
Change comment: There is no comment for this version
To version 9.2
edited by Helena
on 2025/05/16 23:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,22 +4,18 @@
4 4  
5 5  == 5.1 Introduction ==
6 6  
7 -The DataStructureDefiniton is the class name for a structure definition for data. Some organisations know this type of definition as a “Key Family” and so the two names are synonymous. The term Data Structure Definition (also referred to as DSD) is used in this specification.
7 +The DataStructureDefiniton is the class name for a structure definition for data. Some organisations know this type of definition as a “Key Family” and so the two names are synonymous. The term [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] (also referred to as [[DSD>>doc:xwiki:Glossary.Data structure definition.WebHome]]) is used in this specification.
8 8  
9 -Many of the constructs in this layer of the model inherit from the SDMX Base Layer. Therefore, it is necessary to study both the inheritance and the relationship diagrams to understand the functionality of individual packages. In simple sub models these are shown in the same diagram but are omitted from the more complex sub models for the sake of clarity. In these cases, the inheritance diagram below shows the full inheritance tree for the classes concerned with data structure definitions.
9 +Many of the constructs in this layer of the model inherit from the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] Base Layer. Therefore, it is necessary to study both the inheritance and the relationship diagrams to understand the functionality of individual packages. In simple sub models these are shown in the same diagram but are omitted from the more complex sub models for the sake of clarity. In these cases, the inheritance diagram below shows the full inheritance tree for the classes concerned with data structure definitions.
10 10  
11 -There are very few additional classes in this sub model other than those shown in the inheritance diagram below. In other words, the SDMX Base gives most of the structure of this sub model both in terms of associations and in terms of attributes. The relationship diagrams shown in this section show clearly when these associations are inherited from the SDMX Base (see the Appendix “A Short Guide to UML in the SDMX Information Model” to see the diagrammatic notation used to depict this).
11 +There are very few additional classes in this sub model other than those shown in the inheritance diagram below. In other words, the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] Base gives most of the structure of this sub model both in terms of associations and in terms of [[attributes>>doc:xwiki:Glossary.Attribute.WebHome]]. The relationship diagrams shown in this section show clearly when these associations are inherited from the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] Base (see the Appendix “A Short Guide to UML in the [[SDMX Information Model>>doc:xwiki:Glossary.SDMX Information Model.WebHome]]” to see the diagrammatic notation used to depict this).
12 12  
13 -The actual SDMX Base construct from which the concrete classes inherit depends upon the requirements of the class for:
13 +The actual [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] Base construct from which the concrete classes inherit depends upon the requirements of the class for:
14 14  
15 -Annotation – //AnnotableArtefact//
16 -
15 +[[Annotation>>doc:xwiki:Glossary.Annotation.WebHome]] – //AnnotableArtefact//
17 17  Identification – //IdentifiableArtefact//
18 -
19 19  Naming – //NameableArtefact//
20 -
21 21  Versioning – //VersionableArtefact//
22 -
23 23  Maintenance – //MaintainableArtefact//
24 24  
25 25  == 5.2 Inheritance View ==
... ... @@ -34,72 +34,59 @@
34 34  
35 35  ==== 5.2.2.1 Narrative ====
36 36  
37 -Those classes in the SDMX metamodel which require annotations inherit from //AnnotableArtefact//. These are:
33 +Those classes in the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] metamodel which require [[annotations>>doc:xwiki:Glossary.Annotation.WebHome]] inherit from //AnnotableArtefact//. These are:
38 38  
39 -//IdentifiableArtefact//
40 -
41 -//DataSet//
42 -
43 -//Key// (and therefore //SeriesKey// and //GroupKey//)
44 -
35 +//IdentifiableArtefact
36 +[[DataSet>>doc:xwiki:Glossary.Data set.WebHome]]
37 +Key// (and therefore //SeriesKey// and //GroupKey//)
45 45  //Observation//
46 46  
47 -Those classes in the SDMX metamodel which require annotations and global identity are derived from //IdentifiableArtefact//. These are:
40 +Those classes in the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] metamodel which require [[annotations>>doc:xwiki:Glossary.Annotation.WebHome]] and global identity are derived from //IdentifiableArtefact//. These are:
48 48  
49 -//NameableArtefact//
42 +//NameableArtefact
43 +ComponentList
44 +[[Component>>doc:xwiki:Glossary.Component.WebHome]]//
50 50  
51 -//ComponentList//
46 +Those classes in the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] metamodel which require [[annotations>>doc:xwiki:Glossary.Annotation.WebHome]], global identity, multilingual name and multilingual description are derived from //NameableArtefact//. These are:
52 52  
53 -//Component//
48 +//VersionableArtefact
49 +Item//
54 54  
55 -Those classes in the SDMX metamodel which require annotations, global identity, multilingual name and multilingual description are derived from //NameableArtefact//. These are:
51 +The classes in the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] metamodel which require [[annotations>>doc:xwiki:Glossary.Annotation.WebHome]], global identity, multilingual name and multilingual description, and versioning are derived from //VersionableArtefact//. These are:
56 56  
57 -//VersionableArtefact//
58 -
59 -//Item//
60 -
61 -The classes in the SDMX metamodel which require annotations, global identity, multilingual name and multilingual description, and versioning are derived from //VersionableArtefact//. These are:
62 -
63 63  //MaintainableArtefact//
64 64  
65 -Abstract classes which represent information that is maintained by Maintenance Agencies all inherit from //MaintainableArtefact//, they also inherit all the features of a //VersionableArtefact//, and are:
55 +Abstract classes which represent information that is maintained by [[Maintenance Agencies>>doc:xwiki:Glossary.Maintenance agency.WebHome]] all inherit from //MaintainableArtefact//, they also inherit all the features of a //VersionableArtefact//, and are:
66 66  
67 -//StructureUsage//
57 +//StructureUsage
58 +Structure
59 +ItemScheme//
68 68  
69 -//Structure//
70 -
71 -//ItemScheme//
72 -
73 73  All the above classes are abstract. The key to understanding the class diagrams presented in this section are the concrete classes that inherit from these abstract classes.
74 74  
75 -Those concrete classes in the SDMX Data Structure Definition and Dataset packages of the metamodel which require to be maintained by Agencies all inherit (via other abstract classes) from //MaintainableArtefact//, these are:
63 +Those concrete classes in the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] and [[Dataset>>doc:xwiki:Glossary.Data set.WebHome]] packages of the metamodel which require to be maintained by Agencies all inherit (via other abstract classes) from //MaintainableArtefact//, these are:
76 76  
77 77  Dataflow
78 -
79 79  DataStructureDefinition
80 80  
81 -The component structures that are lists of lists, inherit directly from //Structure//. A //Structure// contains several lists of components. The concrete class that inherits from //Structure// is:
68 +The [[component>>doc:xwiki:Glossary.Component.WebHome]] structures that are lists of lists, inherit directly from //Structure//. A //Structure// contains several lists of [[components>>doc:xwiki:Glossary.Component.WebHome]]. The concrete class that inherits from //Structure// is:
82 82  
83 83  DataStructureDefinition
84 84  
85 -A DataStructureDefinition contains a list of dimensions, a list of measures and a list of attributes.
72 +A DataStructureDefinition contains a list of [[dimensions>>doc:xwiki:Glossary.Dimension.WebHome]], a list of [[measures>>doc:xwiki:Glossary.Measure.WebHome]] and a list of attributes.
86 86  
87 87  The concrete classes which inherit from //ComponentList// and are subcomponents of the DataStructureDefinition are:
88 88  
89 -DimensionDescriptor – content is Dimension and TimeDimension
90 -
91 -DimensionGroupDescriptor – content is an association to Dimension, TimeDimension
92 -
76 +DimensionDescriptor – content is [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]] and TimeDimension
77 +DimensionGroupDescriptor – content is an association to [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]], TimeDimension
93 93  MeasureDescriptor – content is Measure
94 -
95 95  AttributeDescriptor – content is DataAttribute and an association to MetadataAttribute
96 96  
97 -The classes that inherit from //Component// are:
81 +The classes that inherit from //[[Component>>doc:xwiki:Glossary.Component.WebHome]]// are:
98 98  
99 99  Measure
100 100  
101 -//DimensionComponent// and thereby its sub classes of Dimension and TimeDimension
102 -
85 +//DimensionComponent// and thereby its sub classes of [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]] and TimeDimension
103 103  //Attribute// and thereby its sub classes of DataAttribute and MetadataAttribute
104 104  
105 105  The concrete classes identified above are the majority of the classes required to define the metamodel for the DataStructureDefinition. The diagrams and explanations in the rest of this section show how these concrete classes are related in order to support the functionality required.
... ... @@ -159,20 +159,19 @@
159 159  
160 160  The following table details the possible relationships a DataAttribute may specify. Note that these relationships are mutually exclusive, and therefore only one of the following is possible.
161 161  
162 -|**Relationship**|**Meaning**|**Location in Data Set at which the Attribute is reported**
163 -|DataflowRelationship|The value of the attribute is fixed for all data contained in the dataset. The Attribute value applies to all data defined by the underlying Dataflow.|The attribute is reported at the Dataset level.
164 -|Dimension (1..n)|The value of the attribute will vary with the value(s) of the referenced Dimension(s). In this case, Group(s) to which the attribute should be attached may optionally be specified.|The attribute is reported at the lowest level of the Dimension to which the Attribute is related, otherwise at the level of the Group if Attachment Group(s) is specified.
165 -|Group|The value of the Attribute varies with combination of values for all of the Dimensions contained in the Group. This is added as a convenience to listing all Dimensions and the attachment Group, but should only be used when the Attribute value varies based on __all__ Group Dimension values.|The attribute is reported at the level of Group.
166 -|Observation|The value of the Attribute varies with the observed value.|The attribute is reported at the level of Observation.
145 +(% style="width:839.039px" %)
146 +|**Relationship**|(% style="width:384px" %)**Meaning**|(% style="width:303px" %)**Location in Data Set at which the Attribute is reported**
147 +|DataflowRelationship|(% style="width:384px" %)The value of the attribute is fixed for all data contained in the dataset. The Attribute value applies to all data defined by the underlying Dataflow.|(% style="width:303px" %)The attribute is reported at the Dataset level.
148 +|Dimension (1..n)|(% style="width:384px" %)The value of the attribute will vary with the value(s) of the referenced Dimension(s). In this case, Group(s) to which the attribute should be attached may optionally be specified.|(% style="width:303px" %)The attribute is reported at the lowest level of the Dimension to which the Attribute is related, otherwise at the level of the Group if Attachment Group(s) is specified.
149 +|Group|(% style="width:384px" %)The value of the Attribute varies with combination of values for all of the Dimensions contained in the Group. This is added as a convenience to listing all Dimensions and the attachment Group, but should only be used when the Attribute value varies based on __all__ Group Dimension values.|(% style="width:303px" %)The attribute is reported at the level of Group.
150 +|Observation|(% style="width:384px" %)The value of the Attribute varies with the observed value.|(% style="width:303px" %)The attribute is reported at the level of Observation.
167 167  
168 168  [[image:SDMX 3-0-0 SECTION 2 FINAL-1.0 (1)_en_42ff01fb.jpg||height="380" width="590"]]
169 169  
170 170  **Figure 30: Representation of DSD Components**
171 171  
172 -Each of Dimension, TimeDimension, Measure, DataAttribute and MetadataAttribute can have a Representation specified (using the localRepresentation association). If this is not specified in the DataStructureDefinition then the representation specified for Concept
156 +Each of Dimension, TimeDimension, Measure, DataAttribute and MetadataAttribute can have a Representation specified (using the localRepresentation association). If this is not specified in the DataStructureDefinition then the representation specified for Concept (coreRepresentation) is used. Measure, and DataAttribute may be also represented by multilingual text (as seen in the DataSet diagram further down). An exception is the MetadataAttribute, where its Representation is specified in the MetadataStructureDefinition.
173 173  
174 -(coreRepresentation) is used. Measure, and DataAttribute may be also represented by multilingual text (as seen in the DataSet diagram further down). An exception is the MetadataAttribute, where its Representation is specified in the MetadataStructureDefinition.
175 -
176 176  A DataStructureDefinition can be extended to form a derived DataStructureDefinition. This is supported in the StructureMap.
177 177  
178 178  ==== 5.3.2.2 Definitions ====
... ... @@ -180,113 +180,95 @@
180 180  :
181 181  
182 182  (((
183 -|**Class**|**Feature**|**Description**
184 -|StructureUsage| |See “SDMX Base”.
185 -|Dataflow|(((
165 +(% style="width:834.039px" %)
166 +|**Class**|(% style="width:194px" %)**Feature**|(% style="width:454px" %)**Description**
167 +|StructureUsage|(% style="width:194px" %) |(% style="width:454px" %)See “SDMX Base”.
168 +|Dataflow|(% style="width:194px" %)(((
186 186  Inherits from
187 -
188 188  //StructureUsage//
189 -)))|Abstract concept (i.e., the structure without any data) of a flow of data that providers will provide for different reference periods.
190 -| |/structure|Associates a Dataflow to the Data Structure Definition.
191 -|DataStructureDefiniti on| |A collection of metadata concepts, their structure and usage when used to collect or disseminate data.
192 -| |/grouping|An association to a set of metadata concepts that have an identified structural role in a Data Structure Definition.
193 -|GroupDimensionDescrip tor|(((
171 +)))|(% style="width:454px" %)Abstract concept (i.e., the structure without any data) of a flow of data that providers will provide for different reference periods.
172 +| |(% style="width:194px" %)/structure|(% style="width:454px" %)Associates a Dataflow to the Data Structure Definition.
173 +|DataStructureDefiniti on|(% style="width:194px" %) |(% style="width:454px" %)A collection of metadata concepts, their structure and usage when used to collect or disseminate data.
174 +| |(% style="width:194px" %)/grouping|(% style="width:454px" %)An association to a set of metadata concepts that have an identified structural role in a Data Structure Definition.
175 +|GroupDimensionDescrip tor|(% style="width:194px" %)(((
194 194  Inherits from
195 -
196 196  //ComponentList//
197 -)))|A set of metadata concepts that define a partial key derived from the Dimension Descriptor in a Data Structure Definition.
198 -| |/components|An association to the Dimension components that comprise the group.
199 -|DimensionDescriptor|(((
178 +)))|(% style="width:454px" %)A set of metadata concepts that define a partial key derived from the Dimension Descriptor in a Data Structure Definition.
179 +| |(% style="width:194px" %)/components|(% style="width:454px" %)An association to the Dimension components that comprise the group.
180 +|DimensionDescriptor|(% style="width:194px" %)(((
200 200  Inherits from
201 -
202 202  //ComponentList//
203 -)))|An ordered set of metadata concepts that, combined, classify a statistical series, and whose values, when combined (the key) in an instance such as a data set, uniquely identify a specific observation.
204 -| |/components|(((
205 -An association to the Dimension and Time
206 -
207 -Dimension comprising the Key Descriptor.
183 +)))|(% style="width:454px" %)An ordered set of metadata concepts that, combined, classify a statistical series, and whose values, when combined (the key) in an instance such as a data set, uniquely identify a specific observation.
184 +| |(% style="width:194px" %)/components|(% style="width:454px" %)(((
185 +An association to the Dimension and Time Dimension comprising the Key Descriptor.
208 208  )))
209 -|AttributeDescriptor|(((
187 +|AttributeDescriptor|(% style="width:194px" %)(((
210 210  Inherits from
211 -
212 212  //ComponentList//
213 -)))|A set metadata concepts that define the Attributes of a Data Structure Definition.
214 -| |/components|An association to a Data Attribute component.
215 -|MeasureDescriptor|(((
190 +)))|(% style="width:454px" %)A set metadata concepts that define the Attributes of a Data Structure Definition.
191 +| |(% style="width:194px" %)/components|(% style="width:454px" %)An association to a Data Attribute component.
192 +|MeasureDescriptor|(% style="width:194px" %)(((
216 216  Inherits from
217 -
218 218  //ComponentList//
219 -)))|A metadata concept that defines the Measures of a Data Structure Definition.
220 -| |/components|An association to a Measure component.
221 -|//DimensionComponent//|(((
195 +)))|(% style="width:454px" %)A metadata concept that defines the Measures of a Data Structure Definition.
196 +| |(% style="width:194px" %)/components|(% style="width:454px" %)An association to a Measure component.
197 +|//DimensionComponent//|(% style="width:194px" %)(((
222 222  Inherits from
223 -
224 224  //Component//
225 225  
226 226  Sub class Dimension
227 -
228 228  TimeDimension
229 -)))|An abstract class representing any Component that can be used for identifying observations.
230 -| |order|Specifies the order of the Dimension Components within the DSD. The property is used to indicate the position of the Dimension Component and determines the Key for identifying observations, or series. The Time Dimension, when specified, must be the last within the Dimension Descriptor.
231 -|Dimension|(((
203 +)))|(% style="width:454px" %)An abstract class representing any Component that can be used for identifying observations.
204 +| |(% style="width:194px" %)order|(% style="width:454px" %)Specifies the order of the Dimension Components within the DSD. The property is used to indicate the position of the Dimension Component and determines the Key for identifying observations, or series. The Time Dimension, when specified, must be the last within the Dimension Descriptor.
205 +|Dimension|(% style="width:194px" %)(((
232 232  Inherits from
233 -
234 234  //DimensionComponent//
235 -)))|A metadata concept used (most probably together with other metadata concepts) to classify a statistical series, e.g., a statistical concept indicating a certain economic activity or a geographical reference area.
236 -| |/role|Association to the Concept that specifies the role that that the Dimension plays in the Data Structure Definition.
237 -| |/conceptIdentity|An association to the metadata concept which defines the semantic of the Dimension.
238 -|TimeDimension|(((
208 +)))|(% style="width:454px" %)A metadata concept used (most probably together with other metadata concepts) to classify a statistical series, e.g., a statistical concept indicating a certain economic activity or a geographical reference area.
209 +| |(% style="width:194px" %)/role|(% style="width:454px" %)Association to the Concept that specifies the role that that the Dimension plays in the Data Structure Definition.
210 +| |(% style="width:194px" %)/conceptIdentity|(% style="width:454px" %)An association to the metadata concept which defines the semantic of the Dimension.
211 +|TimeDimension|(% style="width:194px" %)(((
239 239  Inherits from
240 -
241 241  //DimensionComponent//
242 -)))|A metadata concept that identifies the component in the key structure that has the role of “time”.
243 -|DataAttribute|(((
214 +)))|(% style="width:454px" %)A metadata concept that identifies the component in the key structure that has the role of “time”.
215 +|DataAttribute|(% style="width:194px" %)(((
244 244  Inherits from
245 245  
246 246  //Component//
247 -)))|A characteristic of an object or entity.
248 -| |/role|Association to the Concept that specifies the role that that the Data Attribute plays in the Data Structure Definition.
249 -| |minOccurs|Defines the minimum required occurrences for the Attribute. When equals to zero, the Attribute is conditional.
250 -| |maxOccurs|Defines the maximum allowed occurrences for the Attribute.
251 -| |usage|Defines whether a Data Attribute must be reported or not.
252 -| |+relatedTo|Association to an Attribute Relationship.
253 -| |/conceptIdentity|An association to the Concept which defines the semantic of the component.
254 -|Measure|(((
219 +)))|(% style="width:454px" %)A characteristic of an object or entity.
220 +| |(% style="width:194px" %)/role|(% style="width:454px" %)Association to the Concept that specifies the role that that the Data Attribute plays in the Data Structure Definition.
221 +| |(% style="width:194px" %)minOccurs|(% style="width:454px" %)Defines the minimum required occurrences for the Attribute. When equals to zero, the Attribute is conditional.
222 +| |(% style="width:194px" %)maxOccurs|(% style="width:454px" %)Defines the maximum allowed occurrences for the Attribute.
223 +| |(% style="width:194px" %)usage|(% style="width:454px" %)Defines whether a Data Attribute must be reported or not.
224 +| |(% style="width:194px" %)+relatedTo|(% style="width:454px" %)Association to an Attribute Relationship.
225 +| |(% style="width:194px" %)/conceptIdentity|(% style="width:454px" %)An association to the Concept which defines the semantic of the component.
226 +|Measure|(% style="width:194px" %)(((
255 255  Inherits from
256 -
257 257  //Component//
258 -)))|The metadata concept that is the phenomenon to be measured in a data set. In a data set the instance of the measure is often called the observation.
259 -| |/conceptIdentity|An association to the Concept which carries the values of the measures.
260 -| |minOccurs|Defines the minimum required occurrences for the Measure. When equals to zero, the Measure is conditional.
261 -| |maxOccurs|Defines the maximum allowed occurrences for the Measure.
262 -| |usage|Defines whether a Measure must be reported or not.
263 -|//AttributeRelationship//|(((
229 +)))|(% style="width:454px" %)The metadata concept that is the phenomenon to be measured in a data set. In a data set the instance of the measure is often called the observation.
230 +| |(% style="width:194px" %)/conceptIdentity|(% style="width:454px" %)An association to the Concept which carries the values of the measures.
231 +| |(% style="width:194px" %)minOccurs|(% style="width:454px" %)Defines the minimum required occurrences for the Measure. When equals to zero, the Measure is conditional.
232 +| |(% style="width:194px" %)maxOccurs|(% style="width:454px" %)Defines the maximum allowed occurrences for the Measure.
233 +| |(% style="width:194px" %)usage|(% style="width:454px" %)Defines whether a Measure must be reported or not.
234 +|//AttributeRelationship//|(% style="width:194px" %)(((
264 264  Abstract Class
265 -
266 266  Sub classes
267 -
268 268  ObservationRelationship
269 -
270 270  GroupRelationship DimensionRelationshi p
271 -)))|Specifies the type of artefact to which a Data Attribute can be attached in a Data Set.
272 -|ObservationRelationsh ip| |The Data Attribute is related to the observations of the Data Set.
273 -|GroupRelationship| |The Data Attribute is related to a Group Dimension Descriptor construct.
274 -| |+groupKey|An association to the Group Dimension Descriptor
275 -|DimensionRelationship| |The Data Attribute is related to a set of Dimensions.
276 -| |+dimensions|Association to the set of Dimensions to which the Data Attribute is related.
277 -| |+groupKey|Association to the Group Dimension Descriptor which specifies the set of Dimensions to which the Data Attribute is attached.
278 -|MeasureRelationship| |The Measures that a Data Attribute is reported for.
279 -| |+measures|Association to the set of Measures to which a Data Attribute is related to.
280 -|SentinelValuesType| |This facet indicates that an Attribute or a Measure has sentinel values with special meaning within their data type. This is realised by providing such values within the TextFormat, in addition to any textType or other Facet.
281 -|SentinelValue| |A value that has a special meaning within the text format representation of the Component.
282 -| |+name|An association of a Sentinel Value to a multilingual name.
283 -| |+description|An association of a Sentinel Value to a multilingual description.
239 +)))|(% style="width:454px" %)Specifies the type of artefact to which a Data Attribute can be attached in a Data Set.
240 +|ObservationRelationsh ip|(% style="width:194px" %) |(% style="width:454px" %)The Data Attribute is related to the observations of the Data Set.
241 +|GroupRelationship|(% style="width:194px" %) |(% style="width:454px" %)The Data Attribute is related to a Group Dimension Descriptor construct.
242 +| |(% style="width:194px" %)+groupKey|(% style="width:454px" %)An association to the Group Dimension Descriptor
243 +|DimensionRelationship|(% style="width:194px" %) |(% style="width:454px" %)The Data Attribute is related to a set of Dimensions.
244 +| |(% style="width:194px" %)+dimensions|(% style="width:454px" %)Association to the set of Dimensions to which the Data Attribute is related.
245 +| |(% style="width:194px" %)+groupKey|(% style="width:454px" %)Association to the Group Dimension Descriptor which specifies the set of Dimensions to which the Data Attribute is attached.
246 +|MeasureRelationship|(% style="width:194px" %) |(% style="width:454px" %)The Measures that a Data Attribute is reported for.
247 +| |(% style="width:194px" %)+measures|(% style="width:454px" %)Association to the set of Measures to which a Data Attribute is related to.
248 +|SentinelValuesType|(% style="width:194px" %) |(% style="width:454px" %)This facet indicates that an Attribute or a Measure has sentinel values with special meaning within their data type. This is realised by providing such values within the TextFormat, in addition to any textType or other Facet.
249 +|SentinelValue|(% style="width:194px" %) |(% style="width:454px" %)A value that has a special meaning within the text format representation of the Component.
250 +| |(% style="width:194px" %)+name|(% style="width:454px" %)An association of a Sentinel Value to a multilingual name.
251 +| |(% style="width:194px" %)+description|(% style="width:454px" %)An association of a Sentinel Value to a multilingual description.
284 284  )))
285 285  
286 -
287 -
288 -
289 -
290 290  The explanation of the classes, attributes, and associations comprising the Representation is described in the section on the SDMX Base.
291 291  
292 292  == 5.4 Data Set – Relationship View ==
... ... @@ -311,10 +311,8 @@
311 311  
312 312  A //DataSet// is formatted as a DataStructureDefinition specific data set (StructureSpecificDataSet). The structured data set is structured according to one specific DataStructureDefinition; hence the latter is required for validation at the syntax level.
313 313  
314 -A //DataSet// is a collection of a set of //Observation//s that share the same dimensionality, which is specified by a set of unique components (Dimension, TimeDimension) defined in the
278 +A //DataSet// is a collection of a set of //Observation//s that share the same dimensionality, which is specified by a set of unique components (Dimension, TimeDimension) defined in the DimensionDescriptor of the DataStructureDefinition, together with associated
315 315  
316 -DimensionDescriptor of the DataStructureDefinition, together with associated
317 -
318 318  //AttributeValue//s that define specific characteristics about the artefact to which it is attached – //Observation//s, set of Dimensions. It can be structured in terms of a SeriesKey to which //Observation//s are reported.
319 319  
320 320  The //Observation// can be the value(s) of the variable(s) being measured for the Concept associated to the Measure(s) in the MeasureDescriptor of the DataStructureDefinition. Each //Observation// associates one or more //ObservationValue//s with a KeyValue (+observationDimension) which is the value for the “Dimension at the Observation Level”. Any Dimension can be specified as being the “Dimension at the Observation Level”, and this specification is made at the level of the //DataSet// (i.e., it must be the same Dimension for the entire //DataSet//).
... ... @@ -331,198 +331,154 @@
331 331  
332 332  ==== 5.4.3.2 Definitions ====
333 333  
334 -|**Class**|**Feature**|**Description**
335 -|//DataSet//|(((
296 +(% style="width:812.039px" %)
297 +|(% style="width:147px" %)**Class**|(% style="width:246px" %)**Feature**|(% style="width:395px" %)**Description**
298 +|(% style="width:147px" %)//DataSet//|(% style="width:246px" %)(((
336 336  Abstract Class
337 -
338 338  Sub classes
339 -
340 340  StructureSpecificData
341 -
342 342  Set
343 -)))|An organised collection of data.
344 -| |reportingBegin|A specific time period in a known system of time periods that identifies the start period of a report.
345 -| |reportingEnd|A specific time period in a known system of time periods that identifies the end period of a report.
346 -| |dataExtractionDate|A specific time period that identifies the date and time that the data are extracted from a data source.
347 -| |validFrom|Indicates the inclusive start time indicating the validity of the information in the data set.
348 -| |validTo|Indicates the inclusive end time indicating the validity of the information in the data set.
349 -| |publicationYear|Specifies the year of publication of the data or metadata in terms of whatever provisioning agreements might be in force.
350 -| |publicationPeriod|Specifies the period of publication of the data or metadata in terms of whatever provisioning agreements might be in force.
351 -| |setId|Provides an identification of the data set.
352 -| |action|Defines the action to be taken by the recipient system (information, append, replace, delete)
353 -| |describedBy|Associates a Dataflow and thereby a Data Structure Definition to the data set.
354 -| |+structuredBy|Associates the Data Structure Definition that defines the structure of the Data Set. Note that the Data Structure Definition is the same as that associated (non-mandatory) to the Dataflow.
355 -| |+publishedBy|Associates the Data Provider that reports/publishes the data.
356 -|StructureSpecific DataSet| |An XML specific data format structure that contains data corresponding to one specific Data Structure Definition.
357 -|//Key//|(((
303 +)))|(% style="width:395px" %)An organised collection of data.
304 +|(% style="width:147px" %) |(% style="width:246px" %)reportingBegin|(% style="width:395px" %)A specific time period in a known system of time periods that identifies the start period of a report.
305 +|(% style="width:147px" %) |(% style="width:246px" %)reportingEnd|(% style="width:395px" %)A specific time period in a known system of time periods that identifies the end period of a report.
306 +|(% style="width:147px" %) |(% style="width:246px" %)dataExtractionDate|(% style="width:395px" %)A specific time period that identifies the date and time that the data are extracted from a data source.
307 +|(% style="width:147px" %) |(% style="width:246px" %)validFrom|(% style="width:395px" %)Indicates the inclusive start time indicating the validity of the information in the data set.
308 +|(% style="width:147px" %) |(% style="width:246px" %)validTo|(% style="width:395px" %)Indicates the inclusive end time indicating the validity of the information in the data set.
309 +|(% style="width:147px" %) |(% style="width:246px" %)publicationYear|(% style="width:395px" %)Specifies the year of publication of the data or metadata in terms of whatever provisioning agreements might be in force.
310 +|(% style="width:147px" %) |(% style="width:246px" %)publicationPeriod|(% style="width:395px" %)Specifies the period of publication of the data or metadata in terms of whatever provisioning agreements might be in force.
311 +|(% style="width:147px" %) |(% style="width:246px" %)setId|(% style="width:395px" %)Provides an identification of the data set.
312 +|(% style="width:147px" %) |(% style="width:246px" %)action|(% style="width:395px" %)Defines the action to be taken by the recipient system (information, append, replace, delete)
313 +|(% style="width:147px" %) |(% style="width:246px" %)describedBy|(% style="width:395px" %)Associates a Dataflow and thereby a Data Structure Definition to the data set.
314 +|(% style="width:147px" %) |(% style="width:246px" %)+structuredBy|(% style="width:395px" %)Associates the Data Structure Definition that defines the structure of the Data Set. Note that the Data Structure Definition is the same as that associated (non-mandatory) to the Dataflow.
315 +|(% style="width:147px" %) |(% style="width:246px" %)+publishedBy|(% style="width:395px" %)Associates the Data Provider that reports/publishes the data.
316 +|(% style="width:147px" %)StructureSpecific DataSet|(% style="width:246px" %) |(% style="width:395px" %)An XML specific data format structure that contains data corresponding to one specific Data Structure Definition.
317 +|(% style="width:147px" %)//Key//|(% style="width:246px" %)(((
358 358  Abstract class Sub classes
359 -
360 360  SeriesKey
361 -
362 362  GroupKey
363 -)))|Comprises the cross product of values of dimensions that identify uniquely an Observation.
364 -| |keyValues|Association to the individual Key Values that comprise the Key.
365 -| |+attachedAttribute|Association to the Attribute Values relating to the Series Key or Group Key.
366 -|//KeyValue//|(((
321 +)))|(% style="width:395px" %)Comprises the cross product of values of dimensions that identify uniquely an Observation.
322 +|(% style="width:147px" %) |(% style="width:246px" %)keyValues|(% style="width:395px" %)Association to the individual Key Values that comprise the Key.
323 +|(% style="width:147px" %) |(% style="width:246px" %)+attachedAttribute|(% style="width:395px" %)Association to the Attribute Values relating to the Series Key or Group Key.
324 +|(% style="width:147px" %)//KeyValue//|(% style="width:246px" %)(((
367 367  Abstract class Sub classes
368 -
369 369  TimeKeyValue
370 -
371 371  CodedKeyValue
372 -
373 373  UncodedKeyValue
374 -)))|The value of a component of a key such as the value of the instance a Dimension in a Dimension Descriptor of a Data Structure Definition.
375 -| |+valueFor|(((
329 +)))|(% style="width:395px" %)The value of a component of a key such as the value of the instance a Dimension in a Dimension Descriptor of a Data Structure Definition.
330 +|(% style="width:147px" %) |(% style="width:246px" %)+valueFor|(% style="width:395px" %)(((
376 376  Association to the key component in the Data Structure Definition for which this Key Value is a valid representation.
377 -
378 378  Note that this is conceptual association as the key component is identified explicitly in the data set.
379 379  )))
380 -|TimeKeyValue|(((
334 +|(% style="width:147px" %)TimeKeyValue|(% style="width:246px" %)(((
381 381  Inherits from
382 -
383 383  //KeyValue//
384 -)))|The value of the Time Dimension component of the key.
385 -|CodedKeyValue|(((
337 +)))|(% style="width:395px" %)The value of the Time Dimension component of the key.
338 +|(% style="width:147px" %)CodedKeyValue|(% style="width:246px" %)(((
386 386  Inherits from
387 -
388 388  //KeyValue//
389 -)))|The value of a coded component of the key. The value is the Code to which this class is associated.
390 -| |+valueOf|Association to the Code. Note that this is a conceptual association showing that the Code must exist in the Code list associated with the Dimension in the Data Structure Definition. In the actual Data Set the value of the Code is placed in the Key Value.
391 -|UnCodedKeyValue|(((
341 +)))|(% style="width:395px" %)The value of a coded component of the key. The value is the Code to which this class is associated.
342 +|(% style="width:147px" %) |(% style="width:246px" %)+valueOf|(% style="width:395px" %)Association to the Code. Note that this is a conceptual association showing that the Code must exist in the Code list associated with the Dimension in the Data Structure Definition. In the actual Data Set the value of the Code is placed in the Key Value.
343 +|(% style="width:147px" %)UnCodedKeyValue|(% style="width:246px" %)(((
392 392  Inherits from
393 -
394 394  //KeyValue//
395 -)))|The value of an uncoded component of the key.
396 -| |value|The value of the key component.
397 -| |startTime|This attribute is only used if the textFormat of the attribute is of the Timespan type in the Data Structure Definition (in which case the value field takes a duration).
398 -|GroupKey|(((
346 +)))|(% style="width:395px" %)The value of an uncoded component of the key.
347 +|(% style="width:147px" %) |(% style="width:246px" %)value|(% style="width:395px" %)The value of the key component.
348 +|(% style="width:147px" %) |(% style="width:246px" %)startTime|(% style="width:395px" %)This attribute is only used if the textFormat of the attribute is of the Timespan type in the Data Structure Definition (in which case the value field takes a duration).
349 +|(% style="width:147px" %)GroupKey|(% style="width:246px" %)(((
399 399  Inherits from
400 -
401 401  //Key//
402 -)))|A set of Key Values that comprise a partial key, of the same dimensionality as the Time Series Key for the purpose of attaching Data Attributes.
403 -| |+describedBy|Associates the Group Dimension Descriptor defined in the Data Structure Definition.
404 -|SeriesKey|(((
352 +)))|(% style="width:395px" %)A set of Key Values that comprise a partial key, of the same dimensionality as the Time Series Key for the purpose of attaching Data Attributes.
353 +|(% style="width:147px" %) |(% style="width:246px" %)+describedBy|(% style="width:395px" %)Associates the Group Dimension Descriptor defined in the Data Structure Definition.
354 +|(% style="width:147px" %)SeriesKey|(% style="width:246px" %)(((
405 405  Inherits from
406 -
407 407  //Key//
408 -)))|Comprises the cross product of values of all the Key Values that, together with the Key Value of the +observation Dimension identify uniquely an Observation.
409 -| |+describedBy|Associates the Dimension Descriptor defined in the Data Structure Definition.
410 -|Observation| |The value(s) of the observed phenomenon in the context of the Key Values comprising the key.
411 -| |+valueFor|(((
357 +)))|(% style="width:395px" %)Comprises the cross product of values of all the Key Values that, together with the Key Value of the +observation Dimension identify uniquely an Observation.
358 +|(% style="width:147px" %) |(% style="width:246px" %)+describedBy|(% style="width:395px" %)Associates the Dimension Descriptor defined in the Data Structure Definition.
359 +|(% style="width:147px" %)Observation|(% style="width:246px" %) |(% style="width:395px" %)The value(s) of the observed phenomenon in the context of the Key Values comprising the key.
360 +|(% style="width:147px" %) |(% style="width:246px" %)+valueFor|(% style="width:395px" %)(((
412 412  Associates the Measure(s) defined in the Data Structure Definition.
413 413  
414 414  The source multiplicity (1..*) indicates that more than one values may be provided for a Measure, if the latter allows it.
415 415  )))
416 -| |+attachedAttribute|Association to the Attribute Values relating to the Observation.
417 -| |+observationDimension|Association to the Key Value that holds the value of the “Dimension at the Observation Level”.
418 -|//ObservationValue//|(((
365 +|(% style="width:147px" %) |(% style="width:246px" %)+attachedAttribute|(% style="width:395px" %)Association to the Attribute Values relating to the Observation.
366 +|(% style="width:147px" %) |(% style="width:246px" %)+observationDimension|(% style="width:395px" %)Association to the Key Value that holds the value of the “Dimension at the Observation Level”.
367 +|(% style="width:147px" %)//ObservationValue//|(% style="width:246px" %)(((
419 419  Abstract class
420 -
421 421  Sub classes
422 -
423 -//UncodedObservationVal//
424 -
425 -//ue//
426 -
370 +//UncodedObservationValue//
427 427  CodedObservation
428 -)))|
429 -|//UncodedObservatio nValue//|(((
372 +)))|(% style="width:395px" %)
373 +|(% style="width:147px" %)//UncodedObservatio nValue//|(% style="width:246px" %)(((
430 430  Abstract class
431 -
432 432  Inherits from
433 -
434 434  //ObservationValue//
435 -
436 436  Sub classes
437 -
438 -OtherUncodedMeasureVa lue
439 -
378 +OtherUncodedMeasureValue
440 440  TextMeasureValue
441 -)))|
442 -|OtherUncodedMeasu reValue|(((
380 +)))|(% style="width:395px" %)
381 +|(% style="width:147px" %)OtherUncodedMeasu reValue|(% style="width:246px" %)(((
443 443  Inherits from
444 444  
445 -//UncodedObservationVal ue//
446 -)))|An observation that has a text value.
447 -| |value|The value of the Uncoded Observation.
448 -| |startTime|This attribute is only used if the textFormat of the Measure is of the Timespan type in the Data Structure Definition (in which case the value field takes a duration).
449 -|TextMeasureValue|(((
384 +//UncodedObservationValue//
385 +)))|(% style="width:395px" %)An observation that has a text value.
386 +|(% style="width:147px" %) |(% style="width:246px" %)value|(% style="width:395px" %)The value of the Uncoded Observation.
387 +|(% style="width:147px" %) |(% style="width:246px" %)startTime|(% style="width:395px" %)This attribute is only used if the textFormat of the Measure is of the Timespan type in the Data Structure Definition (in which case the value field takes a duration).
388 +|(% style="width:147px" %)TextMeasureValue|(% style="width:246px" %)(((
450 450  Inherits from
451 -
452 -//UncodedObservationVal ue//
453 -)))|An observation that has a localised text value
454 -| |text|The localised text values.
455 -|CodedObservation|(((
390 +//UncodedObservationValue//
391 +)))|(% style="width:395px" %)An observation that has a localised text value
392 +|(% style="width:147px" %) |(% style="width:246px" %)text|(% style="width:395px" %)The localised text values.
393 +|(% style="width:147px" %)CodedObservation|(% style="width:246px" %)(((
456 456  Inherits from
457 -
458 458  //ObservationValue//
459 -)))|An Observation that takes its value from a code in a Code list.
460 -| |+valueOf|Association to the Code that is the value of the Observation. Note that this is a conceptual association showing that the Code must exist in the Codelist(s) associated with the Measure(s) in the Data Structure Definition. In the actual Data Set the value of the Code is placed in the Observation.
461 -|//AttributeValue//|(((
396 +)))|(% style="width:395px" %)An Observation that takes its value from a code in a Code list.
397 +|(% style="width:147px" %) |(% style="width:246px" %)+valueOf|(% style="width:395px" %)Association to the Code that is the value of the Observation. Note that this is a conceptual association showing that the Code must exist in the Codelist(s) associated with the Measure(s) in the Data Structure Definition. In the actual Data Set the value of the Code is placed in the Observation.
398 +|(% style="width:147px" %)//AttributeValue//|(% style="width:246px" %)(((
462 462  Abstract class
463 -
464 464  Sub classes
465 -
466 -//DataAttributeValue// //MetadataAttributeValu e//
467 -)))|Represents the value for any Attribute reported in the Dataset, i.e., Data or Metadata Attribute.
468 -|//DataAttributeValu e//|(((
401 +//DataAttributeValue// //MetadataAttributeValue//
402 +)))|(% style="width:395px" %)Represents the value for any Attribute reported in the Dataset, i.e., Data or Metadata Attribute.
403 +|(% style="width:147px" %)//DataAttributeValue//|(% style="width:246px" %)(((
469 469  Abstract class
470 -
471 471  Inherits from
472 -
473 473  //AttributeValue//
474 -
475 475  Sub classes
476 -
477 -//UncodedAttributeValue//
478 -
479 -//CodedAttributeValue//
480 -)))|The value of a Data Attribute, such as the instance of a Coded Attribute or of an Uncoded Attribute in a structure such as a Data Structure Definition.
481 -| |+valueFor|(((
408 +//UncodedAttributeValue
409 +CodedAttributeValue//
410 +)))|(% style="width:395px" %)The value of a Data Attribute, such as the instance of a Coded Attribute or of an Uncoded Attribute in a structure such as a Data Structure Definition.
411 +|(% style="width:147px" %) |(% style="width:246px" %)+valueFor|(% style="width:395px" %)(((
482 482  Association to the Data Attribute defined in the Data Structure Definition. Note that this is conceptual association as the Concept is identified explicitly in the data set.
483 -
484 484  The source multiplicity (1..*) indicates the possibility to provide more than one values for a Data Attribute, if the latter allows it.
485 485  )))
486 -|//MetadataAttribute Value//|(((
487 -(explained further in section
488 -
489 -“Metadata Set”)
490 -)))|(((
415 +|(% style="width:147px" %)//MetadataAttribute Value//|(% style="width:246px" %)(((
416 +(explained further in section “Metadata Set”)
417 +)))|(% style="width:395px" %)(((
491 491  The value of a Metadata Attribute, as specified in the Metadata Structure Definition, which is linked in the Data Structure
492 492  
493 493  Definition
494 494  )))
495 -|//UncodedAttributeV alue//|(((
422 +|(% style="width:147px" %)//UncodedAttributeV alue//|(% style="width:246px" %)(((
496 496  Inherits from
497 -
498 498  //AttributeValue//
499 -
500 500  Sub classes
501 -
502 502  OtherUncodedAttribute Value
503 -
504 504  TextAttributeValue
505 -)))|
506 -|OtherUncodedAttri buteValue|(((
428 +)))|(% style="width:395px" %)
429 +|(% style="width:147px" %)OtherUncodedAttri buteValue|(% style="width:246px" %)(((
507 507  Inherits from
508 -
509 -//UncodedObservationVal ue//
510 -)))|An attribute value that has a text value
511 -| |value|The value of the Uncoded attribute.
512 -| |startTime|This attribute is only used if the textFormat of the attribute is of the Timespan type in the Data Structure Definition (in which case the value field takes a duration).
513 -|TextAttributeValu e|(((
431 +//UncodedObservationValue//
432 +)))|(% style="width:395px" %)An attribute value that has a text value
433 +|(% style="width:147px" %) |(% style="width:246px" %)value|(% style="width:395px" %)The value of the Uncoded attribute.
434 +|(% style="width:147px" %) |(% style="width:246px" %)startTime|(% style="width:395px" %)This attribute is only used if the textFormat of the attribute is of the Timespan type in the Data Structure Definition (in which case the value field takes a duration).
435 +|(% style="width:147px" %)TextAttributeValu e|(% style="width:246px" %)(((
514 514  Inherits from
515 -
516 516  //UncodedAttributeValue//
517 -)))|An attribute that has a localised text value
518 -| |text|The localised text values.
519 -|CodedAttributeVal ue|(((
438 +)))|(% style="width:395px" %)An attribute that has a localised text value
439 +|(% style="width:147px" %) |(% style="width:246px" %)text|(% style="width:395px" %)The localised text values.
440 +|(% style="width:147px" %)CodedAttributeVal ue|(% style="width:246px" %)(((
520 520  Inherits from
521 -
522 522  //AttributeValue//
523 -)))|An attribute that takes it value from a Code in Code list.
524 -| |+valueOf|Association to the Code that is the value of the Attribute Value. Note that this is a conceptual association showing that the Code must exist in the Code list associated with the Data Attribute in the Data Structure Definition. In the actual Data Set the value of the Code is placed in the Attribute Value.
443 +)))|(% style="width:395px" %)An attribute that takes it value from a Code in Code list.
444 +|(% style="width:147px" %) |(% style="width:246px" %)+valueOf|(% style="width:395px" %)Association to the Code that is the value of the Attribute Value. Note that this is a conceptual association showing that the Code must exist in the Code list associated with the Data Attribute in the Data Structure Definition. In the actual Data Set the value of the Code is placed in the Attribute Value.
525 525  
526 -
527 -
528 528