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

From version 4.2
edited by Helena
on 2025/06/24 14:47
Change comment: There is no comment for this version
To version 4.4
edited by Helena
on 2025/06/24 14:50
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -158,15 +158,12 @@
158 158  **BaseValueType: **BaseValueType is a general structure which contains a reference to a data structure definition component and a value for that component. In this structure the reference to the component is optional to allow for usages where the actual reference might be provided in another context.
159 159  
160 160  Attributes:
161 -
162 162  id?, value
163 163  
164 164  Content:
165 -
166 166  {Empty}
167 167  
168 168  Attribute Documentation:
169 -
170 170  |**Name**|**Type**|**Documentation**
171 171  |id|com:NCNameIDType|The id attribute contains the identifier for the component for which a value is being provided.
172 172  |value|xs:anySimpleType|The value attribute contains the provided component value.
... ... @@ -175,19 +175,16 @@
175 175  
176 176  Derivation:
177 177  
178 -BaseValueType (restriction) 
179 - [[image:1750765436897-317.png]]ObsValueType
175 +* BaseValueType (restriction) 
176 +** ObsValueType
180 180  
181 181  Attributes:
182 -
183 183  id?, value
184 184  
185 185  Content:
186 -
187 187  {Empty}
188 188  
189 189  Attribute Documentation:
190 -
191 191  |**Name**|**Type**|**Documentation**
192 192  |id (fixed: OBS_VALUE)|com:NCNameIDType|The id attribute contains a fixed reference to the primary measure component of the data structure definition.
193 193  |value|xs:string|The value attribute contains the provided component value.
... ... @@ -195,20 +195,16 @@
195 195  **ComponentValueType: **ComponentValueType is a derivation of the BaseValueType which requires that the component reference be provided. This is used when the identification of the component cannot be inferred from another context.
196 196  
197 197  Derivation:
192 +* BaseValueType (restriction) 
193 +** ComponentValueType
198 198  
199 -BaseValueType (restriction) 
200 - [[image:1750765436899-296.png]]ComponentValueType
201 -
202 202  Attributes:
203 -
204 204  id, value
205 205  
206 206  Content:
207 -
208 208  {Empty}
209 209  
210 210  Attribute Documentation:
211 -
212 212  |**Name**|**Type**|**Documentation**
213 213  |id|com:NCNameIDType|The id attribute contains the identifier for the component for which a value is being provided.
214 214  |value|xs:string|The value attribute contains the provided component value.
... ... @@ -216,21 +216,17 @@
216 216  **TimeSeriesDataSetType: **TimeSeriesDataSetType is a derivation of the base DataSetType of the generic format the restricts the data set to only allow for grouped observations where the dimension at the observation level is the time dimension of the data structure definition. This means that unlike the base data set structure, there can be no un-grouped observations. Because this derivation is achieved using restriction, data sets conforming to this type will inherently conform to the base data set structure as well. In fact, data structured here will be identical to data in the base data set when the time dimension is the observation dimension. This means that the data contained in this structure can be processed in exactly the same manner as the base structure.
217 217  
218 218  Derivation:
209 +* //com:AnnotableType// (extension) 
210 +** DataSetType (restriction) 
211 +*** TimeSeriesDataSetType
219 219  
220 -//com:AnnotableType// (extension) 
221 - [[image:1750765436901-853.png]]DataSetType (restriction) 
222 - [[image:1750765436906-461.png]]TimeSeriesDataSetType
223 -
224 224  Attributes:
225 -
226 226  structureRef, setID?, action?, reportingBeginDate?, reportingEndDate?, validFromDate?, validToDate?, publicationYear?, publicationPeriod?
227 227  
228 228  Content:
229 -
230 230  com:Annotations?, DataProvider?, Attributes?, Group*, Series*
231 231  
232 232  Attribute Documentation:
233 -
234 234  |**Name**|**Type**|**Documentation**
235 235  |structureRef|xs:IDREF|The structureRef contains a reference to a structural specification in the header of a data or reference metadata message. The structural specification details which structure the data or reference metadata conforms to, as well as providing additional information such as how the data is structure (e.g. which dimension occurs at the observation level for a data set).
236 236  |setID|com:IDType|The setID provides an identification of the data or metadata set.
... ... @@ -254,17 +254,14 @@
254 254  **TimeSeriesType: **TimeSeriesType defines a structure which is used to group a collection of observations which have a key in common, organised by time. The key for a series is every dimension defined in the data structure definition, save the time dimension. In addition to observations, values can be provided for attributes which are associated with the dimensions which make up this series key (so long as the attributes do not specify a group attachment or also have an relationship with the time dimension). It is possible for the series to contain only observations or only attribute values, or both.
255 255  
256 256  Derivation:
243 +* //com:AnnotableType// (extension) 
244 +** SeriesType (restriction) 
245 +*** TimeSeriesType
257 257  
258 -//com:AnnotableType// (extension) 
259 - [[image:1750765436911-979.png]]SeriesType (restriction) 
260 - [[image:1750765436912-452.png]]TimeSeriesType
261 -
262 262  Content:
263 -
264 264  com:Annotations?, SeriesKey, Attributes?, Obs*
265 265  
266 266  Element Documentation:
267 -
268 268  |**Name**|**Type**|**Documentation**
269 269  |com:Annotations|com:AnnotationsType|Annotations is a reusable element the provides for a collection of annotations. It has been made global so that restrictions of types that extend AnnotatableType my reference it.
270 270  |SeriesKey|ValuesType|SeriesKey contains the values for each all dimensions defined in the data structure definition, except for that which is declared to be at the observation level for this data set. This key is required, and every dimension must be provided a value.
... ... @@ -274,17 +274,14 @@
274 274  **TimeSeriesObsType: **TimeSeriesObsType defines the structure of a time series observation. The observation must be provided a value for the time dimension. This time value should disambiguate the observation within the series in which it is defined (i.e. there should not be another observation with the same time value). The observation can contain an observed value and/or attribute values.
275 275  
276 276  Derivation:
260 +* //com:AnnotableType// (extension) 
261 +** ObsType (restriction) 
262 +*** TimeSeriesObsType
277 277  
278 -//com:AnnotableType// (extension) 
279 - [[image:1750765436913-909.png]]ObsType (restriction) 
280 - [[image:1750765436914-333.png]]TimeSeriesObsType
281 -
282 282  Content:
283 -
284 284  com:Annotations?, ObsDimension, ObsValue?, Attributes?
285 285  
286 286  Element Documentation:
287 -
288 288  |**Name**|**Type**|**Documentation**
289 289  |com:Annotations|com:AnnotationsType|Annotations is a reusable element the provides for a collection of annotations. It has been made global so that restrictions of types that extend AnnotatableType my reference it.
290 290  |ObsDimension|TimeValueType|ObsDimension holds the key for the grouped observation, i.e. the value of the observation dimension. Note that in this element, the reference to the dimension is optional, since it can be inferred from the structure specification for the data set. This saves having to repeat the value unnecessarily. It is assumed that any application processing the data set will have the information from the structure specification available, so that if a dimension identifier is not supplied here, the proper reference can be applied.
... ... @@ -294,35 +294,27 @@
294 294  **TimeValueType: **TimeValueType is a derivation of the BaseValueType which is used to provide a value for the time dimension. Since the identifier for the time dimension is fixed, the component reference for this structure is fixed. Note that this means that it is not necessary to provide a value in an instance as the fixed value will be provided in the post validation information set.
295 295  
296 296  Derivation:
277 +* BaseValueType (restriction) 
278 +** TimeValueType
297 297  
298 -BaseValueType (restriction) 
299 - [[image:1750765436914-771.png]]TimeValueType
300 -
301 301  Attributes:
302 -
303 303  id?, value
304 304  
305 305  Content:
306 -
307 307  {Empty}
308 308  
309 309  Attribute Documentation:
310 -
311 311  |**Name**|**Type**|**Documentation**
312 312  |id (fixed: TIME_PERIOD)|com:NCNameIDType|The id attribute contains the identifier for the component for which a value is being provided.
313 313  |value|com: ObservationalTimePer iodType|The value attribute contains the provided component value.
314 314  
315 -1.
316 -11. Structure Specific Data Namespace
291 +== 2.2 Structure Specific Data Namespace ==
317 317  
318 318  **http:~/~/www.sdmx.org/resources/sdmxml/schemas/v2_1/data/structurespecific**
319 319  
320 -1.
321 -11.
322 -111. Summary
295 +=== Summary ===
323 323  
324 324  Referenced Namespaces:
325 -
326 326  |**Namespace**|**Prefix**
327 327  | |
328 328  |http:~/~/www.sdmx.org/resources/sdmxml/schemas/v2_1/common|com
... ... @@ -329,31 +329,24 @@
329 329  |http:~/~/www.w3.org/2001/XMLSchema|xs
330 330  
331 331  Contents:
332 -
333 333  7 Complex Types
334 334  1 Simple Type
335 335  
336 -1.
337 -11.
338 -111. Complex Types
307 +=== Complex Types ===
339 339  
340 340  **//DataSetType//: **DataSetType is the abstract type which defines the base structure for any data structure definition specific data set. A derived data set type will be created that is specific to a data structure definition and the details of the organisation of the data (i.e. which dimension is the observation dimension and whether explicit measures should be used). Data is organised into either a collection of series (grouped observations) or a collection of un-grouped observations. The derived data set type will restrict this choice to be either grouped or un-grouped observations. If this dimension is "AllDimensions" then the derived data set type must consist of a collection of un-grouped observations; otherwise the data set will contain a collection of series with the observations in the series disambiguated by the specified dimension at the observation level. This data set is capable of containing data (observed values) and/or documentation (attribute values) and can be used for incremental updates and deletions (i.e. only the relevant updates or deletes are exchanged). It is assumed that each series or un-grouped observation will be distinct in its purpose. For example, if series contains both data and documentation, it assumed that each series will have a unique key. If the series contains only data or only documentation, then it is possible that another series with the same key might exist, but with not with the same purpose (i.e. to provide data or documentation) as the first series. This base type is designed such that derived types can be processed in a generic manner; it assures that data structure definition specific data will have a consistent structure. The group, series, and observation elements are unqualified, meaning that they are not qualified with a namespace in an instance. This means that in the derived data set types, the elements will always be the same, regardless of the target namespace of the schemas which defines these derived types. This allows for consistent processing of the structure without regard to what the namespace might be for the data structure definition specific schema. The data set can contain values for attributes which do not have an attribute relationship with any data structure definition components. These attribute values will exist in XML attributes in this element based on this type (DataSet). This is specified in the content model with the declaration of anyAttributes in the "local" namespace. The derived data set type will refine this structure so that the attributes are explicit. The XML attributes will be given a name based on the attribute's identifier. These XML attributes will be unqualified (meaning they do not have a namespace associated with them). To allow for generic processing, it is required that the only unqualified XML attributes in the derived data set type (outside of the standard data set attributes) be for attributes declared in the data structure definition. If additional attributes are required, these should be qualified with a namespace so that a generic application can easily distinguish them as not being meant to represent a data structure definition attribute.
341 341  
342 342  Derivation:
312 +* //com:AnnotableType// (extension) 
313 +** //DataSetType//
343 343  
344 -//com:AnnotableType// (extension) 
345 - [[image:1750765436915-836.png]]//DataSetType//
346 -
347 347  Attributes:
348 -
349 349  structureRef, setID?, action?, reportingBeginDate?, reportingEndDate?, validFromDate?, validToDate?, publicationYear?, publicationPeriod?, dataScope, REPORTING_YEAR_START_DAY?
350 350  
351 351  Content:
352 -
353 353  com:Annotations?, DataProvider?, Group*, (Series+ | Obs+)?
354 354  
355 355  Attribute Documentation:
356 -
357 357  |**Name**|**Type**|**Documentation**
358 358  |structureRef|xs:IDREF|The structureRef contains a reference to a structural specification in the header of a data or reference metadata message. The structural specification details which structure the data or reference metadata conforms to, as well as providing additional information such as how the data is structure (e.g. which dimension occurs at the observation level for a data set).
359 359  |setID|com:IDType|The setID provides an identification of the data or metadata set.
... ... @@ -379,20 +379,16 @@
379 379  **//GroupType//: **GroupType is the abstract type which defines a structure which is used to communicate attribute values for a group defined in a data structure definition. The group can consist of either a subset of the dimensions defined by the data structure definition, or an association to an attachment constraint, which in turn defines key sets to which attributes can be attached. In the case that the group is based on an attachment constraint, only the identification of group is provided. It is expected that a system which is processing this will relate that identifier to the key sets defined in the constraint and apply the values provided for the attributes appropriately. Data structure definition schemas will drive types based on this for each group defined in the data structure definition. Both the dimension values which make up the key (if applicable) and the attribute values associated with the group will be represented with XML attributes. This is specified in the content model with the declaration of anyAttributes in the "local" namespace. The derived group type will refine this structure so that the attributes are explicit. The XML attributes will be given a name based on the attribute's identifier. These XML attributes will be unqualified (meaning they do not have a namespace associated with them). The dimension XML attributes will be required while the attribute XML attributes will be optional. To allow for generic processing, it is required that the only unqualified XML attributes in the derived group type be for the group dimensions and attributes declared in the data structure definition. If additional attributes are required, these should be qualified with a namespace so that a generic application can easily distinguish them as not being meant to represent a data structure definition dimension or attribute.
380 380  
381 381  Derivation:
347 +* //com:AnnotableType// (extension) 
348 +** //GroupType//
382 382  
383 -//com:AnnotableType// (extension) 
384 - [[image:1750765436916-983.png]]//GroupType//
385 -
386 386  Attributes:
387 -
388 388  type?, REPORTING_YEAR_START_DAY?
389 389  
390 390  Content:
391 -
392 392  com:Annotations?
393 393  
394 394  Attribute Documentation:
395 -
396 396  |**Name**|**Type**|**Documentation**
397 397  |type|com:IDType|The type attribute reference the identifier of the group as defined in the data structure definition. This is optional, but derived group types will provide a fixed value for this so that it always available in the post validation information set. This allows the group to be processed in a generic manner.
398 398  |REPORTING_YEAR_START_DAY|xs:gMonthDay|The REPORTING_YEAR_START_DAY attribute is an explict attribute for the reporting year start day, which provides context to the time dimension when its value contains a reporting period (e.g. 2010-Q1). This attribute is used to state the month and day that the reporting year begins (e.g. ~-~-07-01 for July 1st). In the absence of an explicit value provided in this attribute, all reporting period values will be assumed to be based on a reporting year start day of January 1. This is declared in the base schema since it has a fixed identifier and representation. The derived group types may either require or prohibit this attribute, depending on whether the data structure declared the reporting year start day attribute and if so, the attribute relationship and assignment status assigned to it.
... ... @@ -405,20 +405,16 @@
405 405  **//SeriesType//: **SeriesType is the abstract type which defines a structure which is used to group a collection of observations which have a key in common. The key for a series is every dimension defined in the data structure definition, save the dimension declared to be at the observation level for this data set. In addition to observations, values can be provided for attributes which are associated with the dimensions which make up this series key (so long as the attributes do not specify a group attachment or also have an relationship with the observation dimension). It is possible for the series to contain only observations or only attribute values, or both. Data structure definition schemas will drive a type based on this that is specific to the data structure definition and the variation of the format being expressed in the schema. Both the dimension values which make up the key and the attribute values associated with the key dimensions will be represented with XML attributes. This is specified in the content model with the declaration of anyAttributes in the "local" namespace. The derived series type will refine this structure so that the attributes are explicit. The XML attributes will be given a name based on the attribute's identifier. These XML attributes will be unqualified (meaning they do not have a namespace associated with them). The dimension XML attributes will be required while the attribute XML attributes will be optional. To allow for generic processing, it is required that the only unqualified XML attributes in the derived group type be for the series dimensions and attributes declared in the data structure definition. If additional attributes are required, these should be qualified with a namespace so that a generic application can easily distinguish them as not being meant to represent a data structure definition dimension or attribute.
406 406  
407 407  Derivation:
369 +* //com:AnnotableType// (extension) 
370 +** //SeriesType//
408 408  
409 -//com:AnnotableType// (extension) 
410 - //SeriesType//
411 -
412 412  Attributes:
413 -
414 414  TIME_PERIOD?, REPORTING_YEAR_START_DAY?
415 415  
416 416  Content:
417 -
418 418  com:Annotations?, Obs*
419 419  
420 420  Attribute Documentation:
421 -
422 422  |**Name**|**Type**|**Documentation**
423 423  |TIME_PERIOD|com: ObservationalTimePer iodType|The TIME_PERIOD attribute is an explict attribute for the time dimension. This is declared in the base schema since it has a fixed identifier and representation. The derived series type will either require or prohibit this attribute, depending on whether time is the observation dimension. If the time dimension specifies a more specific representation of time the derived type will restrict the type definition to the appropriate type.
424 424  |REPORTING_YEAR_START_DAY|xs:gMonthDay|The REPORTING_YEAR_START_DAY attribute is an explict attribute for the reporting year start day, which provides context to the time dimension when its value contains a reporting period (e.g. 2010-Q1). This attribute is used to state the month and day that the reporting year begins (e.g. ~-~-07-01 for July 1st). In the absence of an explicit value provided in this attribute, all reporting period values will be assumed to be based on a reporting year start day of January 1. This is declared in the base schema since it has a fixed identifier and representation. The derived series type may either require or prohibit this attribute, depending on whether the data structure declared the reporting year start day attribute and if so, the attribute relationship and assignment status assigned to it.