Changes for page Part IV. Data and Metadata Namespaces
Last modified by Artur on 2025/09/10 11:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -206,21 +206,17 @@ 206 206 **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. 207 207 208 208 Derivation: 209 +* //com:AnnotableType// (extension) 210 +** DataSetType (restriction) 211 +*** TimeSeriesDataSetType 209 209 210 -//com:AnnotableType// (extension) 211 - [[image:1750765436901-853.png]]DataSetType (restriction) 212 - [[image:1750765436906-461.png]]TimeSeriesDataSetType 213 - 214 214 Attributes: 215 - 216 216 structureRef, setID?, action?, reportingBeginDate?, reportingEndDate?, validFromDate?, validToDate?, publicationYear?, publicationPeriod? 217 217 218 218 Content: 219 - 220 220 com:Annotations?, DataProvider?, Attributes?, Group*, Series* 221 221 222 222 Attribute Documentation: 223 - 224 224 |**Name**|**Type**|**Documentation** 225 225 |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). 226 226 |setID|com:IDType|The setID provides an identification of the data or metadata set. ... ... @@ -244,17 +244,14 @@ 244 244 **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. 245 245 246 246 Derivation: 243 +* //com:AnnotableType// (extension) 244 +** SeriesType (restriction) 245 +*** TimeSeriesType 247 247 248 -//com:AnnotableType// (extension) 249 - [[image:1750765436911-979.png]]SeriesType (restriction) 250 - [[image:1750765436912-452.png]]TimeSeriesType 251 - 252 252 Content: 253 - 254 254 com:Annotations?, SeriesKey, Attributes?, Obs* 255 255 256 256 Element Documentation: 257 - 258 258 |**Name**|**Type**|**Documentation** 259 259 |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. 260 260 |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. ... ... @@ -264,17 +264,14 @@ 264 264 **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. 265 265 266 266 Derivation: 260 +* //com:AnnotableType// (extension) 261 +** ObsType (restriction) 262 +*** TimeSeriesObsType 267 267 268 -//com:AnnotableType// (extension) 269 - [[image:1750765436913-909.png]]ObsType (restriction) 270 - [[image:1750765436914-333.png]]TimeSeriesObsType 271 - 272 272 Content: 273 - 274 274 com:Annotations?, ObsDimension, ObsValue?, Attributes? 275 275 276 276 Element Documentation: 277 - 278 278 |**Name**|**Type**|**Documentation** 279 279 |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. 280 280 |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. ... ... @@ -284,35 +284,27 @@ 284 284 **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. 285 285 286 286 Derivation: 277 +* BaseValueType (restriction) 278 +** TimeValueType 287 287 288 -BaseValueType (restriction) 289 - [[image:1750765436914-771.png]]TimeValueType 290 - 291 291 Attributes: 292 - 293 293 id?, value 294 294 295 295 Content: 296 - 297 297 {Empty} 298 298 299 299 Attribute Documentation: 300 - 301 301 |**Name**|**Type**|**Documentation** 302 302 |id (fixed: TIME_PERIOD)|com:NCNameIDType|The id attribute contains the identifier for the component for which a value is being provided. 303 303 |value|com: ObservationalTimePer iodType|The value attribute contains the provided component value. 304 304 305 -1. 306 -11. Structure Specific Data Namespace 291 +== 2.2 Structure Specific Data Namespace == 307 307 308 308 **http:~/~/www.sdmx.org/resources/sdmxml/schemas/v2_1/data/structurespecific** 309 309 310 -1. 311 -11. 312 -111. Summary 295 +=== Summary === 313 313 314 314 Referenced Namespaces: 315 - 316 316 |**Namespace**|**Prefix** 317 317 | | 318 318 |http:~/~/www.sdmx.org/resources/sdmxml/schemas/v2_1/common|com ... ... @@ -319,31 +319,24 @@ 319 319 |http:~/~/www.w3.org/2001/XMLSchema|xs 320 320 321 321 Contents: 322 - 323 323 7 Complex Types 324 324 1 Simple Type 325 325 326 -1. 327 -11. 328 -111. Complex Types 307 +=== Complex Types === 329 329 330 330 **//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. 331 331 332 332 Derivation: 312 +* //com:AnnotableType// (extension) 313 +** //DataSetType// 333 333 334 -//com:AnnotableType// (extension) 335 - [[image:1750765436915-836.png]]//DataSetType// 336 - 337 337 Attributes: 338 - 339 339 structureRef, setID?, action?, reportingBeginDate?, reportingEndDate?, validFromDate?, validToDate?, publicationYear?, publicationPeriod?, dataScope, REPORTING_YEAR_START_DAY? 340 340 341 341 Content: 342 - 343 343 com:Annotations?, DataProvider?, Group*, (Series+ | Obs+)? 344 344 345 345 Attribute Documentation: 346 - 347 347 |**Name**|**Type**|**Documentation** 348 348 |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). 349 349 |setID|com:IDType|The setID provides an identification of the data or metadata set. ... ... @@ -369,20 +369,16 @@ 369 369 **//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. 370 370 371 371 Derivation: 347 +* //com:AnnotableType// (extension) 348 +** //GroupType// 372 372 373 -//com:AnnotableType// (extension) 374 - [[image:1750765436916-983.png]]//GroupType// 375 - 376 376 Attributes: 377 - 378 378 type?, REPORTING_YEAR_START_DAY? 379 379 380 380 Content: 381 - 382 382 com:Annotations? 383 383 384 384 Attribute Documentation: 385 - 386 386 |**Name**|**Type**|**Documentation** 387 387 |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. 388 388 |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. ... ... @@ -395,20 +395,16 @@ 395 395 **//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. 396 396 397 397 Derivation: 369 +* //com:AnnotableType// (extension) 370 +** //SeriesType// 398 398 399 -//com:AnnotableType// (extension) 400 - //SeriesType// 401 - 402 402 Attributes: 403 - 404 404 TIME_PERIOD?, REPORTING_YEAR_START_DAY? 405 405 406 406 Content: 407 - 408 408 com:Annotations?, Obs* 409 409 410 410 Attribute Documentation: 411 - 412 412 |**Name**|**Type**|**Documentation** 413 413 |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. 414 414 |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.