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

From version 7.5
edited by Helena
on 2025/05/14 13:36
Change comment: There is no comment for this version
To version 15.3
edited by Helena
on 2025/05/16 13:14
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -1 Overview
1 +SDMX STANDARDS
Parent
... ... @@ -1,0 +1,1 @@
1 +Methodology.WebHome
Content
... ... @@ -65,7 +65,7 @@
65 65  
66 66  Version 3.0 introduces breaking changes into the web services API, transmission formats and information model. A summary is given in the table below.
67 67  
68 -== //2.1 Web Services API// ==
68 +== 2.1 Web Services API ==
69 69  
70 70  (% style="width:948.039px" %)
71 71  |**REST API**|(% style="width:818px" %)(((
... ... @@ -86,10 +86,8 @@
86 86  )))
87 87  |**SOAP API**|(% style="width:818px" %)The SOAP API has been deprecated.
88 88  
89 -== //2.2 Transmission Formats// ==
89 +== 2.2 Transmission Formats ==
90 90  
91 -:
92 -
93 93  (((
94 94  (% style="width:952.039px" %)
95 95  |(% style="width:130px" %)**SDMX-ML**|(% style="width:820px" %)(((
... ... @@ -117,20 +117,15 @@
117 117  The JSON structure message is not backwardly compatible primarily due to:
118 118  
119 119  * Changes to the information model
120 -* Changes to the way the structures are organised into
121 -
122 -‘collections’ within the message
123 -
118 +* Changes to the way the structures are organised into ‘collections’ within the message
124 124  * Deprecation of the Agency, ID, Version option for referencing of structures in messages
125 125  )))
126 126  |(% style="width:130px" %)**SDMX-EDI**|(% style="width:820px" %)The EDI format for both structures and data has been deprecated.
127 -|(% style="width:130px" %)**SDMX-CSV**|(% style="width:820px" %)The CSV data and reference metadata messages are not backwardly compatible with those under version 2.1 due to changes to the structure of the messages needed to support new features such as the improved REST API data queries.**     **
122 +|(% style="width:130px" %)**SDMX-CSV**|(% style="width:820px" %)The CSV data and reference metadata messages are not backwardly compatible with those under version 2.1 due to changes to the structure of the messages needed to support new features such as the improved REST API data queries.
128 128  )))
129 129  
130 -== //2.3 Information Model// ==
125 +== 2.3 Information Model ==
131 131  
132 -:
133 -
134 134  (((
135 135  (% style="width:955.039px" %)
136 136  |(% style="width:132px" %)**Data Structure Definition**|(% style="width:819px" %)(((
... ... @@ -158,10 +158,7 @@
158 158  
159 159  //Conversion guidance for implementors//
160 160  
161 -A version 2.1 Metadata Structure Definition can be converted to the version 3.0 model under some circumstances, but target information is either lost or has to be translated into a metadataflow. Further, conversion of a Data Structure Definition for collecting reference metadata against a dataset would need to make changes to the dataset’s Data Structure Definition. As the Data Structure Definition may not actually be specified, judgement would need to be taken, perhaps determining the most likely candidate by examining which
162 -)))
163 -|(% style="width:132px" %) |(% style="width:819px" %)(((
164 -already have metadata reported against their datasets. A 2.1 metadata report could be converted to a version 3.0 Metadataset if it is attached to a structure, but requires a Metadata Provision Agreement which would need to be created if not already in existence.
154 +A version 2.1 Metadata Structure Definition can be converted to the version 3.0 model under some circumstances, but target information is either lost or has to be translated into a metadataflow. Further, conversion of a Data Structure Definition for collecting reference metadata against a dataset would need to make changes to the dataset’s Data Structure Definition. As the Data Structure Definition may not actually be specified, judgement would need to be taken, perhaps determining the most likely candidate by examining which already have metadata reported against their datasets. A 2.1 metadata report could be converted to a version 3.0 Metadataset if it is attached to a structure, but requires a Metadata Provision Agreement which would need to be created if not already in existence.
165 165  
166 166  Conversion from the version 3.0 model to version 2.1 cannot be performed reliably. The process would need target information to be derived from analysis of the Metadataflows and Metadata Provision Agreements. Depending on the complexity it may not be possible to express that information in a version 2.1 Data Structure Definition.
167 167  )))
... ... @@ -187,7 +187,7 @@
187 187  
188 188  = 3 Information Model =
189 189  
190 -== //3.1 Version 3.0 Information Model// ==
180 +== 3.1 Version 3.0 Information Model ==
191 191  
192 192  [[image:SDMX 3-0-0 Major Changes FINAL-1.0_en_6fc573fe.png||height="404" width="718"]]
193 193  
... ... @@ -197,7 +197,7 @@
197 197  
198 198  A number of ancillary structures including organisation schemes, process and reporting taxonomy are unchanged and have not been shown. Similarly, Organisation Scheme Map and Reporting Taxonomy Map have been omitted for simplicity. A schematic of the 2.1 model is given in Appendix A for comparison purposes.
199 199  
200 -== //3.2 Key Changes from Version 2.1// ==
190 +== 3.2 Key Changes from Version 2.1 ==
201 201  
202 202  New Maintainable Artefacts
203 203  
... ... @@ -225,7 +225,8 @@
225 225  Removed Maintainable Artefacts
226 226  
227 227  * Structure Set – replaced by Structure Map and the four item scheme maps
228 -* Hierarchical Codelist – replaced by Hierarchy and Hierarchy Association • Constraint – replaced by Data Constraint and Metadata Constraint
218 +* Hierarchical Codelist – replaced by Hierarchy and Hierarchy Association
219 +* Constraint – replaced by Data Constraint and Metadata Constraint
229 229  
230 230  Changed Maintainable Artefacts
231 231  
... ... @@ -239,7 +239,7 @@
239 239  
240 240  * GeospatialInformation – a string type where the value is an expression defining a set of geographical features using a purpose-designed syntax
241 241  
242 -== //3.3 Areas Unchanged from Version 2.1// ==
233 +== 3.3 Areas Unchanged from Version 2.1 ==
243 243  
244 244  The following areas of the information model are unchanged from version 2.1:
245 245  
... ... @@ -252,7 +252,7 @@
252 252  * Reporting taxonomy
253 253  * Process
254 254  
255 -== //3.4 Reference Metadata// ==
246 +== 3.4 Reference Metadata ==
256 256  
257 257  Reference metadata has been substantially re-designed for version 3.0 to simplify the model and better support practical use cases.
258 258  
... ... @@ -280,86 +280,47 @@
280 280  * TITLE – a multi-lingual data attribute
281 281  * SOURCE_AGENCY – a multi-value data attribute
282 282  
283 -<Obs xsi:type="dsd:ObsType" OBS_VALUE="112" OBS_STAUS=”A” TIME_PERIOD="2010-09">
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>
284 284  
285 -<!—- complex multi-value and multi-lingual data attributes ~-~->
286 -
287 -<Comp id="TITLE" xsi:type="ns1:TITLE_ATTRIBUTE">
288 -
289 -<Value>
290 -
291 -<common:Text xml:lang="en">Some English Text</common:Text>
292 -
293 -<common:Text xml:lang="fr">Quelques textes en anglais</common:Text>
294 -
295 -</Value>
296 -
297 -</Comp>
298 -
299 -<Comp id="SOURCE_AGENCY" xsi:type="ns1:SOURCE_AGENCY_ATTRIBUTE">
300 -
301 -<Value>4F0</Value>
302 -
303 -<Value>4D0</Value>
304 -
305 -<Value>CZ2</Value>
306 -
307 -</Comp>
308 -
309 -<!—- metadata attributes are reported like in metadata messages ~-~->
310 -
311 -<Metadata>
312 -
313 -<Attribute id="COLLECTION">
314 -
315 -<Attribute id="METHOD">
316 -
317 -<Text lang="en">AAA</Text>
318 -
319 -</Attribute>
320 -
321 -</Attribute>
322 -
323 -<Attribute id="CONTACT">
324 -
325 -<Value>CONTACT 1</Value>
326 -
327 -<Attribute id="NAME">
328 -
329 -<Value>Contact 1 Name 1</Value>
330 -
331 -</Attribute>
332 -
333 -<Attribute id="NAME">
334 -
335 -<Value>Contact 1 Name 2</Value>
336 -
337 -</Attribute>
338 -
339 -</Attribute>
340 -
341 -<Attribute id="CONTACT">
342 -
343 -<Value>CONTACT 2</Value>
344 -
345 -<Attribute id="NAME">
346 -
347 -<Value>Contact 2 Name 1</Value>
348 -
349 -</Attribute>
350 -
351 -<Attribute id="NAME">
352 -
353 -<Value>Contact 2 Name 2</Value>
354 -
355 -</Attribute>
356 -
357 -</Attribute>
358 -
359 -</Metadata>
360 -
361 -</Obs>
362 -
363 363  === New - Metadata Provision Agreement ===
364 364  
365 365  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.
... ... @@ -372,7 +372,7 @@
372 372  
373 373  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.
374 374  
375 -== //3.5 Microdata Exchange// ==
327 +== 3.5 Microdata Exchange ==
376 376  
377 377  Several changes have been made the Data Structure Definition to support microdata use cases in addition to aggregated time series.
378 378  
... ... @@ -384,42 +384,25 @@
384 384  
385 385  MeasureDimension behaviour as illustrated in the SDMX-ML example below:
386 386  
387 -<str:MeasureList id=”MeasureDescriptor”>
339 +> <str:MeasureList id=”MeasureDescriptor”>
340 +> <str:Measure id=”OBS_VALUE” minOccurs=”1” maxOccurs=”1” usage=”mandatory” > <str:ConceptIdentity>
341 +> <Ref id=”OBS_VALUE” maintainableParentID=”CONCEPTS” agencyID=”SDMX” maintainableParentVersion=”1.0.0” />
342 +> </str:ConceptIdentity>
343 +> <str:LocalRepresentation>
344 +> <str:TextFormat textType=”String” isMultiLingual=”true” />
345 +> </str:LocalRepresentation>
346 +> <str:ConceptRole>
347 +> <Ref id=”MEASURE” maintainableParentID=”SDMX_CONCEPT_ROLES” agencyID=”SDMX” maintainableParentVersion=”1.0.0” />
348 +> </str:ConceptRole>
349 +> </str:Measure>
350 +> ...
351 +> <str:Measure>
352 +> </str:MeasureList>
388 388  
389 -<str:Measure id=”OBS_VALUE” minOccurs=”1” maxOccurs=”1” usage=”mandatory” > <str:ConceptIdentity>
390 -
391 -<Ref id=”OBS_VALUE” maintainableParentID=”CONCEPTS” agencyID=”SDMX” maintainableParentVersion=”1.0.0” />
392 -
393 -</str:ConceptIdentity>
394 -
395 -<str:LocalRepresentation>
396 -
397 -<str:TextFormat textType=”String” isMultiLingual=”true” />
398 -
399 -</str:LocalRepresentation>
400 -
401 -<str:ConceptRole>
402 -
403 -<Ref id=”MEASURE” maintainableParentID=”SDMX_CONCEPT_ROLES” agencyID=”SDMX” maintainableParentVersion=”1.0.0” />
404 -
405 -</str:ConceptRole>
406 -
407 -</str:Measure>
408 -
409 -...
410 -
411 -<str:Measure>
412 -
413 -</str:MeasureList>
414 -
415 415  === Multi-value measures and attributes ===
416 416  
417 -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
356 +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.
418 418  
419 -//mandatory// or optional. In the SDMX-ML measure example above, the properties
420 -
421 -//minOccurs=”1” maxOccurs=”1” usage=”mandatory”// specify that OBS_VALUE must be 198 reported, and can only consist of a single value.
422 -
423 423  === Attributes relationship to measures ===
424 424  
425 425  In addition to attaching attributes to a specific level within the dataset, their relationship 202 to measures can also be defined.
... ... @@ -430,7 +430,7 @@
430 430  
431 431  That allows ValueItems (the equivalent to Code) to contain symbols like ‘¥’ and ‘€’, but 208 also means they are not identifiable.
432 432  
433 -== //3.6 Geospatial Data Exchange// ==
368 +== 3.6 Geospatial Data Exchange ==
434 434  
435 435  The version 3.0 model has been extended to provide explicit support for geospatial data.
436 436  
... ... @@ -445,14 +445,14 @@
445 445  * 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.
446 446  * 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.
447 447  
448 -=== //3.7 Structure Mapping// ===
383 +== 3.7 Structure Mapping ==
449 449  
450 450  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.
451 451  
452 452  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.
453 453  
454 -==== Many-to-many source and target components ====
455 -
389 +(% class="wikigeneratedid" id="HMany-to-manysourceandtargetcomponents" %)
390 +**Many-to-many source and target components**
456 456  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:
457 457  
458 458  Set the output component INDICATOR=”DE_A” if the input components are FREQ=”A” and REF_AREA=”DE”.
... ... @@ -462,22 +462,21 @@
462 462  Set the output components FREQ=”A”, REF_AREA=”DE” if the input component INDICATOR=”DE_A”.
463 463  
464 464  **Fixed source and target**
465 -
466 466  The Structure Map may now define input or output components which have a fixed value.
467 467  
468 -==== Time representations mapping ====
469 -
402 +(% class="wikigeneratedid" id="HTimerepresentationsmapping" %)
403 +**Time representations mapping**
470 470  Non SDMX time representations may now be described in a Structure Map, allowing them to be mapped into SDMX time formats.
471 471  
472 -==== Regular expression and substring mappings ====
473 -
406 +(% class="wikigeneratedid" id="HRegularexpressionandsubstringmappings" %)
407 +**Regular expression and substring mappings**
474 474  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.
475 475  
476 -==== Item maps validity period ====
477 -
410 +(% class="wikigeneratedid" id="HItemmapsvalidityperiod" %)
411 +**Item maps validity period**
478 478  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.
479 479  
480 -=== //3.8 Constraints// ===
414 +== 3.8 Constraints ==
481 481  
482 482  Constraints in version 3.0 are modelled using two separate artefacts which replace the version 2.1 content constraint:
483 483  
... ... @@ -492,17 +492,17 @@
492 492  
493 493  Attachment constraints have been deprecated due to a lack of use cases.
494 494  
495 -=== //3.9 Code List Extension// ===
429 +== 3.9 Code List Extension ==
496 496  
497 497  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.
498 498  
499 499  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.
500 500  
501 -=== //3.10 Discriminated Union of Code Lists// ===
435 +== 3.10 Discriminated Union of Code Lists ==
502 502  
503 503  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.
504 504  
505 -=== //3.11 Code Hierarchies// ===
439 +== 3.11 Code Hierarchies ==
506 506  
507 507  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).
508 508  
... ... @@ -550,7 +550,7 @@
550 550  
551 551  = 5 REST Web Services API =
552 552  
553 -== //5.1 Simplified list of resources// ==
487 +== 5.1 Simplified list of resources ==
554 554  
555 555  The version 3.0 REST API has just five main resources:
556 556  
... ... @@ -564,7 +564,7 @@
564 564  
565 565  This and changes in the URLs and query parameters on the data, availability and metadata resources means that, with the exception of schema queries, the version 3.0 API is not backwardly compatible.
566 566  
567 -== //5.2 Improved data queries// ==
501 +== 5.2 Improved data queries ==
568 568  
569 569  Data queries have been changed to provide more granular selections from contexts wider than just a Dataflow.
570 570  
... ... @@ -603,7 +603,7 @@
603 603  
604 604  /data/dataflow/ESTAT/ICP/1.0.0/M…A.ANR,M…A.INX,M…B.CTG
605 605  
606 -== //5.3 Improved reference metadata queries// ==
540 +== 5.3 Improved reference metadata queries ==
607 607  
608 608  Reference metadata queries have been improved with a number of new options to retrieve metadata reports.
609 609  
... ... @@ -619,7 +619,7 @@
619 619  
620 620  /metadata/structure/datastructure/BIS/BIS_CBS/1.0
621 621  
622 -== //5.4 Structural metadata maintenance// ==
556 +== 5.4 Structural metadata maintenance ==
623 623  
624 624  Support has been added for maintenance of structural metadata.
625 625  
... ... @@ -627,7 +627,7 @@
627 627  
628 628  = 6 XML, JSON, CSV and EDI Transmission formats =
629 629  
630 -== //6.1 SDMX-ML// ==
564 +== 6.1 SDMX-ML ==
631 631  
632 632  The SDMX-ML XML messages have been modified and updated for version 3.0. While they broadly follow the same principles, there have been significant changes which break backward compatibility.
633 633  
... ... @@ -713,7 +713,7 @@
713 713  
714 714  The option to reference structures using Agency, ID and Version has been removed. From SDMX version 3.0 URN is used for all referencing purposes with the exception of local references such as where groups reference dimensions within a DSD.
715 715  
716 -== //6.2 SDMX-JSON// ==
650 +== 6.2 SDMX-JSON ==
717 717  
718 718  Like SDMX-ML, the SDMX-JSON messages have been significantly modified and updated for version 3.0. They are not backwardly compatible with version 2.1.
719 719  
... ... @@ -733,7 +733,7 @@
733 733  
734 734  As for SDMX-ML, the option to reference structures using Agency, ID and Version has been removed with URN used for all non-local referencing purposes.
735 735  
736 -== //6.3 SDMX-CSV// ==
670 +== 6.3 SDMX-CSV ==
737 737  
738 738  CSV in SDMX is used transmission of data and reference metadata only.
739 739  
... ... @@ -751,7 +751,7 @@
751 751  
752 752  The SDMX-CSV metadata message is new for version 3.0 and, like the SDMX-ML and SDMX-JSON equivalents, is used for the transmission reference metadata sets.
753 753  
754 -=== //6.4 EDI deprecation// ===
688 +=== 6.4 EDI deprecation ===
755 755  
756 756  The EDI format for transmission of both structures and data has been deprecated. Version 3.0 is therefore not backwardly compatible with legacy EDI messages.
757 757  
SUZ.Methodology.Code.MethodologyClass[0]