Changes for page SDMX 3.0 Standards. Summary of Major Changes and New Functionality
Last modified by Helena on 2025/09/10 11:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -247,8 +247,8 @@ 247 247 248 248 Reference metadata has been substantially re-designed for version 3.0 to simplify the model and better support practical use cases. 249 249 250 - (% class="wikigeneratedid" id="HSimplifyMetadataStructureDefinition"%)251 - **Simplify Metadata Structure Definition**250 +=== Simplify Metadata Structure Definition === 251 + 252 252 The Metadata Structure Definition (MSD) has been simplified to remove target information, and the support of multiple report structures. The MSD now only contains Metadata Attributes which are used to define the structure of a report. 253 253 254 254 [[image:SDMX 3-0-0 Major Changes FINAL-1.0_en_ad5f5c97.png||height="346" width="494"]] ... ... @@ -259,8 +259,8 @@ 259 259 260 260 //Figure 3 the simplified version 3.0 MSD// 261 261 262 - (% class="wikigeneratedid" id="HChangetoreferencemetadatareportedagainstdata"%)263 - **Change to reference metadata reported against data**262 +=== Change to reference metadata reported against data === 263 + 264 264 Reference metadata associated with datasets, data series or observations are now reported with the data. The dataset’s DSD must reference an MSD to define the structure of its reference metadata. In practice reference metadata for data are transmitted as part of the data message. The metadata attributes are treated in a similar way to the data attributes appearing in the message at the dataset, data series or individual observation level as appropriate. In contrast to simple data attributes, metadata attributes defined by an MSD can be organised into a hierarchical structure as illustrated in Figure 3 above. For this reason, metadata attributes appear in data messages structured in the same way as metadata messages. 265 265 266 266 The SDMX-ML example below is an excerpt from a structure specific data message illustrating reporting of reference metadata with a hierarchical structure at the observation level. ... ... @@ -271,57 +271,58 @@ 271 271 * TITLE – a multi-lingual data attribute 272 272 * SOURCE_AGENCY – a multi-value data attribute 273 273 274 -> <Obs xsi:type="dsd:ObsType" OBS_VALUE="112" OBS_STAUS=”A” TIME_PERIOD="2010-09"> 275 -> <!—- complex multi-value and multi-lingual data attributes ~-~-> 276 -> <Comp id="TITLE" xsi:type="ns1:TITLE_ATTRIBUTE"> 277 -> <Value> 278 -> <common:Text xml:lang="en">Some English Text</common:Text> 279 -> <common:Text xml:lang="fr">Quelques textes en anglais</common:Text> 280 -> </Value> 281 -> </Comp> 282 -> <Comp id="SOURCE_AGENCY" xsi:type="ns1:SOURCE_AGENCY_ATTRIBUTE"> 283 -> <Value>4F0</Value> 284 -> <Value>4D0</Value> 285 -> <Value>CZ2</Value> 286 -> </Comp> 287 -> <!—- metadata attributes are reported like in metadata messages ~-~-> 288 -> <Metadata> 289 -> <Attribute id="COLLECTION"> 290 -> <Attribute id="METHOD"> 291 -> <Text lang="en">AAA</Text> 292 -> </Attribute> 293 -> </Attribute> 294 -> <Attribute id="CONTACT"> 295 -> <Value>CONTACT 1</Value> 296 -> <Attribute id="NAME"> 297 -> <Value>Contact 1 Name 1</Value> 298 -> </Attribute> 299 -> <Attribute id="NAME"> 300 -> <Value>Contact 1 Name 2</Value> 301 -> </Attribute> 302 -> </Attribute> 303 -> <Attribute id="CONTACT"> 304 -> <Value>CONTACT 2</Value> 305 -> <Attribute id="NAME"> 306 -> <Value>Contact 2 Name 1</Value> 307 -> </Attribute> 308 -> <Attribute id="NAME"> 309 -> <Value>Contact 2 Name 2</Value> 310 -> </Attribute> 311 -> </Attribute> 312 -> </Metadata> 313 -> </Obs> 274 +<Obs xsi:type="dsd:ObsType" OBS_VALUE="112" OBS_STAUS=”A” TIME_PERIOD="2010-09"> 275 +<!—- complex multi-value and multi-lingual data attributes ~-~-> 276 +<Comp id="TITLE" xsi:type="ns1:TITLE_ATTRIBUTE"> 277 +<Value> 278 +<common:Text xml:lang="en">Some English Text</common:Text> 279 +<common:Text xml:lang="fr">Quelques textes en anglais</common:Text> 280 +</Value> 281 +</Comp> 314 314 315 -(% class="wikigeneratedid" id="HNew-MetadataProvisionAgreement" %) 316 -**New - Metadata Provision Agreement** 283 +<Comp id="SOURCE_AGENCY" xsi:type="ns1:SOURCE_AGENCY_ATTRIBUTE"> 284 +<Value>4F0</Value> 285 +<Value>4D0</Value> 286 +<Value>CZ2</Value> 287 +</Comp> 288 +<!—- metadata attributes are reported like in metadata messages ~-~-> 289 +<Metadata> 290 +<Attribute id="COLLECTION"> 291 +<Attribute id="METHOD"> 292 +<Text lang="en">AAA</Text> 293 +</Attribute> 294 +</Attribute> 295 +<Attribute id="CONTACT"> 296 +<Value>CONTACT 1</Value> 297 +<Attribute id="NAME"> 298 +<Value>Contact 1 Name 1</Value> 299 +</Attribute> 300 +<Attribute id="NAME"> 301 +<Value>Contact 1 Name 2</Value> 302 +</Attribute> 303 +</Attribute> 304 +<Attribute id="CONTACT"> 305 +<Value>CONTACT 2</Value> 306 +<Attribute id="NAME"> 307 +<Value>Contact 2 Name 1</Value> 308 +</Attribute> 309 +<Attribute id="NAME"> 310 +<Value>Contact 2 Name 2</Value> 311 +</Attribute> 312 +</Attribute> 313 +</Metadata> 314 +</Obs> 315 + 316 +=== New - Metadata Provision Agreement === 317 + 317 317 In version 2.1 a Provision Agreement could be used to report information against a Dataflow or Metadataflow. From version 3.0 this is managed by two separate structures, the Data Provision Agreement and the Metadata Provision Agreement. 318 318 319 - (% class="wikigeneratedid" id="HMovetargettoMetadataflowandMetadataProvisionAgreement"%)320 - **Move target to Metadataflow and Metadata Provision Agreement**320 +=== Move target to Metadataflow and Metadata Provision Agreement === 321 + 321 321 For reference metadata that is reported against structures, the allowable targets information which is used to specify what structures the reference metadata can be reported against, has moved to the Metadataflow and can be further refined in the Metadata Provision Agreement. 322 322 323 - (% class="wikigeneratedid" id="HAddmaintainablepropertiestoreferencemetadata"%)324 - **Add maintainable properties to reference metadata**324 +=== Add maintainable properties to reference metadata === 325 + 325 325 A Metadataset now has mandatory identification information, (owner id, id, version) enabling metadata providers to uniquely identify their reports for create, update or delete maintenance operations. 326 326 327 327 == 3.5 Microdata Exchange == ... ... @@ -328,37 +328,47 @@ 328 328 329 329 Several changes have been made the Data Structure Definition to support microdata use cases in addition to aggregated time series. 330 330 331 -(% class="wikigeneratedid" id="HMultiplemeasures" %) 332 -**Multiple measures** 333 -Multiple measures are a common characteristic of microdatasets. To support this use case, the MeasureDimension has been deprecated and replaced with the option to define zero or more measures. Measures now act like any other component in that they use concepts, can have their own local coded or uncoded representation defined within the Data Structure Definition, and can be either mandatory or conditional. Creating a measure with the “MEASURE” concept role applied emulates the version 2.1 MeasureDimension behaviour as illustrated in the SDMX-ML example below: 332 +=== Multiple measures === 334 334 335 -> <str:MeasureList id=”MeasureDescriptor”> 336 -> <str:Measure id=”OBS_VALUE” minOccurs=”1” maxOccurs=”1” usage=”mandatory” > <str:ConceptIdentity> 337 -> <Ref id=”OBS_VALUE” maintainableParentID=”CONCEPTS” agencyID=”SDMX” maintainableParentVersion=”1.0.0” /> 338 -> </str:ConceptIdentity> 339 -> <str:LocalRepresentation> 340 -> <str:TextFormat textType=”String” isMultiLingual=”true” /> 341 -> </str:LocalRepresentation> 342 -> <str:ConceptRole> 343 -> <Ref id=”MEASURE” maintainableParentID=”SDMX_CONCEPT_ROLES” agencyID=”SDMX” maintainableParentVersion=”1.0.0” /> 344 -> </str:ConceptRole> 345 -> </str:Measure> 346 -> ... 347 -> <str:Measure> 348 -> </str:MeasureList> 334 +Multiple measures are a common characteristic of microdatasets. To support this use case, the MeasureDimension has been deprecated and replaced with the option to define zero or more measures. Measures now act like any other component in that they use concepts, can have their own local coded or uncoded representation defined within the 349 349 350 -(% class="wikigeneratedid" id="HMulti-valuemeasuresandattributes" %) 351 -**Multi-value measures and attributes** 352 -Both measures and attributes have been extended with the option to take ‘arrays’ of 193 multiple coded or uncoded values. This supports use cases like multiple observation 194 status flags. New //minOccurs// and //maxOccurs// properties define the valid number of 195 values. The //usage// property separately defines whether the measure or attribute is //mandatory// or optional. In the SDMX-ML measure example above, the properties //minOccurs=”1” maxOccurs=”1” usage=”mandatory”// specify that OBS_VALUE must be 198 reported, and can only consist of a single value. 336 +Data Structure Definition, and can be either mandatory or conditional. Creating a measure with the “MEASURE” concept role applied emulates the version 2.1 353 353 354 -(% class="wikigeneratedid" id="HAttributesrelationshiptomeasures" %) 355 -**Attributes relationship to measures** 338 +MeasureDimension behaviour as illustrated in the SDMX-ML example below: 339 + 340 +<str:MeasureList id=”MeasureDescriptor”> 341 +<str:Measure id=”OBS_VALUE” minOccurs=”1” maxOccurs=”1” usage=”mandatory” > <str:ConceptIdentity> 342 +<Ref id=”OBS_VALUE” maintainableParentID=”CONCEPTS” agencyID=”SDMX” maintainableParentVersion=”1.0.0” /> 343 +</str:ConceptIdentity> 344 +<str:LocalRepresentation> 345 +<str:TextFormat textType=”String” isMultiLingual=”true” /> 346 +</str:LocalRepresentation> 347 +<str:ConceptRole> 348 +<Ref id=”MEASURE” maintainableParentID=”SDMX_CONCEPT_ROLES” agencyID=”SDMX” maintainableParentVersion=”1.0.0” /> 349 +</str:ConceptRole> 350 +</str:Measure> 351 +... 352 +<str:Measure> 353 +</str:MeasureList> 354 + 355 +=== Multi-value measures and attributes === 356 + 357 +Both measures and attributes have been extended with the option to take ‘arrays’ of 193 multiple coded or uncoded values. This supports use cases like multiple observation 194 status flags. New //minOccurs// and //maxOccurs// properties define the valid number of 195 values. The //usage// property separately defines whether the measure or attribute is 358 + 359 +//mandatory// or optional. In the SDMX-ML measure example above, the properties 360 + 361 +//minOccurs=”1” maxOccurs=”1” usage=”mandatory”// specify that OBS_VALUE must be 198 reported, and can only consist of a single value. 362 + 363 +=== Attributes relationship to measures === 364 + 356 356 In addition to attaching attributes to a specific level within the dataset, their relationship 202 to measures can also be defined. 357 357 358 -(% class="wikigeneratedid" id="HValuelists" %) 359 -**Value lists** 360 -Value lists help in modelling microdata by providing an enumeration similar to code lists 206 but allowing any string values without being restricted to the rules of SDMX identifiers. That allows ValueItems (the equivalent to Code) to contain symbols like ‘¥’ and ‘€’, but also means they are not identifiable. 367 +=== Value lists === 361 361 369 +Value lists help in modelling microdata by providing an enumeration similar to code lists 206 but allowing any string values without being restricted to the rules of SDMX identifiers. 370 + 371 +That allows ValueItems (the equivalent to Code) to contain symbols like ‘¥’ and ‘€’, but 208 also means they are not identifiable. 372 + 362 362 == 3.6 Geospatial Data Exchange == 363 363 364 364 The version 3.0 model has been extended to provide explicit support for geospatial data. ... ... @@ -374,14 +374,14 @@ 374 374 * GeographicCodelist – each item includes an element to represent a specific Geo Feature Set which is described using the same expression syntax as for GeospatialInformation type. 375 375 * GeoGridCodelist – A code list defining a geographical grid composed of cells representing regular squared portions of the Earth. Each item references a cell within the grid. 376 376 377 -== 3.7 Structure Mapping == 388 +=== 3.7 Structure Mapping === 378 378 379 379 The Structure Set in version 2.1 is a container for many mapping structures including Data Structure Map, Codelist Map and Concept Map. For version 3.0 the Structure Set artefact has been deprecated and replaced with a number of new maintainables giving better flexibility and reusability, specifically: Structure Map, Concept Scheme Map, Representation Map, Reporting Taxonomy Map, Category Scheme Map and Organisation Scheme Map. 380 380 381 381 The version 2.1 Codelist Map been replaced with Representation Map which allows mappings to be defined between any combination of Code Lists, Value Lists and noncoded representations such as text strings and numbers. 382 382 383 - (% class="wikigeneratedid" id="HMany-to-manysourceandtargetcomponents"%)384 - **Many-to-many source and target components**394 +==== Many-to-many source and target components ==== 395 + 385 385 Structure mapping rules may be defined with both multiple source components and multiple target components in contrast to version 2.1 where only one source and target was allowed. That supports many-to-many (n-n) mapping use cases where the output of a mapping rule may be dependent on the combination of a number of input components. For instance: 386 386 387 387 Set the output component INDICATOR=”DE_A” if the input components are FREQ=”A” and REF_AREA=”DE”. ... ... @@ -391,21 +391,22 @@ 391 391 Set the output components FREQ=”A”, REF_AREA=”DE” if the input component INDICATOR=”DE_A”. 392 392 393 393 **Fixed source and target** 405 + 394 394 The Structure Map may now define input or output components which have a fixed value. 395 395 396 - (% class="wikigeneratedid" id="HTimerepresentationsmapping"%)397 - **Time representations mapping**408 +==== Time representations mapping ==== 409 + 398 398 Non SDMX time representations may now be described in a Structure Map, allowing them to be mapped into SDMX time formats. 399 399 400 - (% class="wikigeneratedid" id="HRegularexpressionandsubstringmappings"%)401 - **Regular expression and substring mappings**412 +==== Regular expression and substring mappings ==== 413 + 402 402 All item maps allow the use of regular expressions and substrings to match source values, specifically: Concept Scheme Map, Reporting Taxonomy Map, Category Scheme Map and Organisation Scheme Map. 403 403 404 - (% class="wikigeneratedid" id="HItemmapsvalidityperiod"%)405 - **Item maps validity period**416 +==== Item maps validity period ==== 417 + 406 406 Item maps may further define the period for which the mapping is valid, meaning the mapping rule will only be applied if the row of information being mapped is within the period. 407 407 408 -== 3.8 Constraints == 420 +=== 3.8 Constraints === 409 409 410 410 Constraints in version 3.0 are modelled using two separate artefacts which replace the version 2.1 content constraint: 411 411 ... ... @@ -420,17 +420,17 @@ 420 420 421 421 Attachment constraints have been deprecated due to a lack of use cases. 422 422 423 -== 3.9 Code List Extension == 435 +=== 3.9 Code List Extension === 424 424 425 425 In addition to the two new specialised geospatial forms, the option has been added to define a code list as an extension of, or by inheriting codes from, other lists. An optional prefix can be added to inherited codes to disambiguate duplicates. 426 426 427 427 This feature allows new code lists to be easily derived from existing lists without the need to make and manually maintain copies. When querying for extended code list structures using the REST API, the option has been added to retrieve either the definition or the materialised list. Traditional literal lists of codes continue to be supported. 428 428 429 -== 3.10 Discriminated Union of Code Lists == 441 +=== 3.10 Discriminated Union of Code Lists === 430 430 431 431 Combining code list extension with wildcarded constraints solves the discriminated union of code lists problem where a classification or breakdown has multiple “variants” which are all valid but mutually exclusive. A common example is economic activity where several alternative classification schemes are in use including ISIC revisions 1 to 4 and NACE as used in the European Community. 432 432 433 -== 3.11 Code Hierarchies == 445 +=== 3.11 Code Hierarchies === 434 434 435 435 Code hierarchies allow the definition of complex hierarchies of codes from potentially multiple lists for data discovery purposes. Hierarchical Codelist has been deprecated and replaced by two new artefacts: Hierarchy – the actual hierarchy of codes, and Hierarchy Association links hierarchies directly to any other identifiable object, a capability missing 312 from the version 2.1 model. Further, the linkage can be within a particular context, for instance linking a hierarchy to a dimension within the context of a specific Dataflow (dimension REF_AREA in the context of the ECB:EXR Dataflow). 436 436