Last modified by Artur on 2025/09/30 13:28
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -37,7 +37,7 @@ 37 37 38 38 The registry services outlined in this specification are designed to help the SDMX community manage the proliferation of SDMX assets and to support data sharing for reporting and dissemination. 39 39 40 -= {{id name="_Toc90781"/}}2 Scope and Normative Status =40 += 2 Scope and Normative Status = 41 41 42 42 The scope of this document is to specify the logical interfaces for the SDMX registry in terms of the functions required and the data that may be present in the function call, and the behaviour expected of the registry. 43 43 ... ... @@ -54,9 +54,9 @@ 54 54 55 55 Note that although the term “authorised user” is used in this document, the SDMX standards do not define an access control mechanism. Such a mechanism, if required, must be chosen and implemented by the registry software provider. 56 56 57 -= {{id name="_Toc90782"/}}3 Scope of the SDMX Registry/Repository =57 += 3 Scope of the SDMX Registry/Repository = 58 58 59 -== ={{id name="_Toc90783"/}}3.1 Objective ===59 +== 3.1 Objective == 60 60 61 61 The objective of the SDMX registry/repository is, in broad terms, to allow organisations to publish statistical data and reference metadata in known formats such that interested third parties can discover these data and interpret them accurately and correctly. The mechanism for doing this is twofold: 62 62 ... ... @@ -63,7 +63,7 @@ 63 63 1. To maintain and publish structural metadata that describes the structure and valid content of data and reference metadata sources such as databases, metadata repositories, data sets, metadata sets. This structural metadata enables software applications to understand and to interpret the data and reference metadata in these sources. 64 64 1. To enable applications, organisations, and individuals to share and to discover data and reference metadata. This facilitates data and reference metadata dissemination by implementing the data sharing vision of SDMX. 65 65 66 -== ={{id name="_Toc90784"/}}3.2 Structural Metadata ===66 +== 3.2 Structural Metadata == 67 67 68 68 Setting up structural metadata and the exchange context (referred to as “data provisioning”) involves the following steps for maintenance agencies: 69 69 ... ... @@ -89,7 +89,7 @@ 89 89 90 90 In that context, the term “Metadata” refers to reference metadata. 91 91 92 -== ={{id name="_Toc90785"/}}3.3 Registration ===92 +== 3.3 Registration == 93 93 94 94 Publishing the data and reference metadata involves the following steps for a Data/Metadata Provider: 95 95 ... ... @@ -100,13 +100,13 @@ 100 100 101 101 **Figure 2: Schematic of Registered Data and Metadata Sources in the SDMX-IM** 102 102 103 -== ={{id name="_Toc90786"/}}3.4 Notification ===103 +== 3.4 Notification == 104 104 105 105 Notifying interested parties of newly published or re-published data, reference metadata or changes in structural metadata involves: 106 106 107 107 • registry support of a subscription-based notification service which sends an email or notifies an HTTP address announcing all published data that meets the criteria contained in the subscription request. 108 108 109 -== ={{id name="_Toc90787"/}}3.5 Discovery ===109 +== 3.5 Discovery == 110 110 111 111 Discovering published data and reference metadata involves interaction with the registry to fulfil the following logical steps that would be carried out by a user interacting with a service that itself interacts with the registry and an SDMX-enabled data or reference metadata resource: 112 112 ... ... @@ -118,9 +118,9 @@ 118 118 119 119 **Figure 3: Schematic of Data and Metadata Discovery and Query in the SDMX-IM** 120 120 121 -= {{id name="_Toc90788"/}}4 SDMX Registry/Repository Architecture =121 += 4 SDMX Registry/Repository Architecture = 122 122 123 -== ={{id name="_Toc90789"/}}4.1 Architectural Schematic ===123 +== 4.1 Architectural Schematic == 124 124 125 125 The architecture of the SDMX registry/repository is derived from the objectives stated above. It is a layered architecture that is founded by a structural metadata repository which supports a provisioning metadata repository which supports the registry services. These are all supported by the SDMX-ML schemas. Applications can be built on top of these services which support the reporting, storage, retrieval, and dissemination aspects of the statistical lifecycle as well as the maintenance of the structural metadata required to drive these applications. 126 126 ... ... @@ -128,7 +128,7 @@ 128 128 129 129 **Figure 4: Schematic of the Registry Content and Services** 130 130 131 -== ={{id name="_Toc90790"/}}4.2 Structural Metadata Repository ===131 +== 4.2 Structural Metadata Repository == 132 132 133 133 The basic layer is that of a structural metadata service which supports the lifecycle of SDMX structural metadata artefacts such as Maintenance Agencies, Data Structure Definitions, Metadata Structure Definitions, Provision Agreements, Processes etc. This layer is supported by the Structure Submission and Query Service. 134 134 ... ... @@ -139,15 +139,15 @@ 139 139 140 140 As of the initial version of SDMX 3.0 no messages are defined to support these artefacts; hence, users may need to use SDMX 2.1 Registry Interface messages, instead. 141 141 142 -== ={{id name="_Toc90791"/}}4.3 Provisioning Metadata Repository ===142 +== 4.3 Provisioning Metadata Repository == 143 143 144 144 The function of this repository is to support the definition of the structural metadata that describes the various types of data-store which model SDMX-conformant databases or files, and to link to these data sources. These links can be specified for a data/metadata provider, for a specific data or metadata flow. In the SDMX model this is called the Provision or Metadata Provision Agreement. 145 145 146 146 This layer is supported by the Data and Metadata Registration Service. 147 147 148 -= {{id name="_Toc90792"/}}5 Registry Interfaces and Services =148 += 5 Registry Interfaces and Services = 149 149 150 -== ={{id name="_Toc90793"/}}5.1 Registry Interfaces ===150 +== 5.1 Registry Interfaces == 151 151 152 152 The Registry Interfaces are: 153 153 ... ... @@ -163,7 +163,7 @@ 163 163 164 164 The registry interfaces are invoked in one of two ways: 165 165 166 -* 166 +* 167 167 *1. The interface is the name of the root node of the SDMX-ML document 168 168 *1. The interface is invoked as a child element of the RegistryInterface message where the RegistryInterface is the root node of the SDMX-ML document. 169 169 ... ... @@ -173,17 +173,17 @@ 173 173 174 174 It should be noted that all interactions are assumed to be synchronous, with the exception of Notify Registry Event. This document is sent by the SDMX-RR to all subscribers whenever an even occurs to which any users have subscribed. Thus, it does not conform to the requestresponse pattern, because it is inherently asynchronous. 175 175 176 -== ={{id name="_Toc90794"/}}5.2 Registry Services ===176 +== 5.2 Registry Services == 177 177 178 -=== =={{id name="_Toc90795"/}}5.2.1 Introduction =====178 +=== 5.2.1 Introduction === 179 179 180 180 The services described in this section do not imply that each is implemented as a discrete web service. 181 181 182 -=== =={{id name="_Toc90796"/}}5.2.2 Structure Submission Service =====182 +=== 5.2.2 Structure Submission Service === 183 183 184 184 The registry must support a mechanism for submitting structural metadata. This mechanism can be the SDMX REST interface for structural metadata (this is defined in the corresponding GitHub project, dedicated to the SDMX REST API: __[[https:~~/~~/github.com/sdmx>>url:https://github.com/sdmx-twg/sdmx-rest]][[->>url:https://github.com/sdmx-twg/sdmx-rest]][[twg/sdmx>>url:https://github.com/sdmx-twg/sdmx-rest]][[->>url:https://github.com/sdmx-twg/sdmx-rest]][[rest>>url:https://github.com/sdmx-twg/sdmx-rest]]__[[)>>url:https://github.com/sdmx-twg/sdmx-rest]]. In order for the architecture to be scalable, the finest-grained piece of structural metadata that can be processed by the SDMX-RR is a MaintainableArtefact, with the exception of Item Schemes, where changes at an Item level is also possible (see next section on the SDMX Information Model). 185 185 186 -=== =={{id name="_Toc90797"/}}5.2.3 Structure Query Service =====186 +=== 5.2.3 Structure Query Service === 187 187 188 188 The registry must support a mechanism for querying for structural metadata. This mechanism can be the SDMX REST interface for structural metadata (this is defined in the corresponding GitHub project, dedicated to the SDMX REST API: __[[https:~~/~~/github.com/sdmx>>url:https://github.com/sdmx-twg/sdmx-rest]][[->>url:https://github.com/sdmx-twg/sdmx-rest]][[twg/sdmx>>url:https://github.com/sdmx-twg/sdmx-rest]][[->>url:https://github.com/sdmx-twg/sdmx-rest]][[rest>>url:https://github.com/sdmx-twg/sdmx-rest]]__[[)>>url:https://github.com/sdmx-twg/sdmx-rest]]. The registry response to this query mechanism is the SDMX Structure message, which has as its root node: 189 189 ... ... @@ -191,7 +191,7 @@ 191 191 192 192 The SDMX structural artefacts that may be queried are defined in the SDMX structure web service specification which is compatible with this release of the standard __[[https:~~/~~/github.com/sdmx>>url:https://github.com/sdmx-twg/sdmx-rest/blob/master/doc/structures.md]][[->>url:https://github.com/sdmx-twg/sdmx-rest/blob/master/doc/structures.md]][[twg/sdmx>>url:https://github.com/sdmx-twg/sdmx-rest/blob/master/doc/structures.md]][[->>url:https://github.com/sdmx-twg/sdmx-rest/blob/master/doc/structures.md]][[rest/blob/master/doc/structures.md>>url:https://github.com/sdmx-twg/sdmx-rest/blob/master/doc/structures.md]]__[[url:https://github.com/sdmx-twg/sdmx-rest/blob/master/doc/structures.md]] 193 193 194 -=== =={{id name="_Toc90798"/}}5.2.4 Data and Reference Metadata Registration Service =====194 +=== 5.2.4 Data and Reference Metadata Registration Service === 195 195 196 196 This service must implement the following Registry Interfaces: 197 197 ... ... @@ -214,23 +214,24 @@ 214 214 215 215 The Registration has an action attribute which takes one of the following values: 216 216 217 -|**Action Attribute Value**|**Behaviour** 218 -|Append|Add this registration to the registry 219 -|Replace|Replace the existing Registration with this Registration identified by the id in the Registration of the Submit Registration Request 220 -|Delete|Delete the existing Registration identified by the id in the Registration of the Submit Registration Request 217 +(% style="width:893.835px" %) 218 +|(% style="width:241px" %)**Action Attribute Value**|(% style="width:650px" %)**Behaviour** 219 +|(% style="width:241px" %)Append|(% style="width:650px" %)Add this registration to the registry 220 +|(% style="width:241px" %)Replace|(% style="width:650px" %)Replace the existing Registration with this Registration identified by the id in the Registration of the Submit Registration Request 221 +|(% style="width:241px" %)Delete|(% style="width:650px" %)Delete the existing Registration identified by the id in the Registration of the Submit Registration Request 221 221 222 222 The Registration has three Boolean attributes which may be present to determine how an SDMX compliant dataset or metadataset indexing application must index the datasets or metadatasets upon registration. The indexing application behaviour is as follows: 223 223 224 -|**Boolean Attribute**|**Behaviour if Value is “true”** 225 -|indexTimeSeries|A compliant indexing application must index all the time series keys 226 -|indexDataSet|((( 225 +(% style="width:896.835px" %) 226 +|**Boolean Attribute**|(% style="width:712px" %)**Behaviour if Value is “true”** 227 +|indexTimeSeries|(% style="width:712px" %)A compliant indexing application must index all the time series keys 228 +|indexDataSet|(% style="width:712px" %)((( 227 227 A compliant indexing application must index the range of actual (present) values for each dimension of the Dataset. 228 - 229 229 Note that for data this requires much less storage than full key indexing, but this method cannot guarantee that a specific combination of Dimension values (the Key) is actually present in the Dataset 230 230 ))) 231 -|indexReportingPeriod|A compliant indexing application must index the time period range(s) for which data are present in the Dataset. 232 +|indexReportingPeriod|(% style="width:712px" %)A compliant indexing application must index the time period range(s) for which data are present in the Dataset. 232 232 233 -=== =={{id name="_Toc90799"/}}5.2.5 Data Discovery =====234 +=== 5.2.5 Data Discovery === 234 234 235 235 The Data Discovery Service implements the following Registry Interfaces: 236 236 ... ... @@ -237,7 +237,7 @@ 237 237 * QueryRegistrationRequest 238 238 * QueryRegistrationResponse 239 239 240 -=== =={{id name="_Toc90800"/}}5.2.6 Subscription and Notification =====241 +=== 5.2.6 Subscription and Notification === 241 241 242 242 The Subscription and Notification Service implements the following Registry Interfaces: 243 243 ... ... @@ -256,34 +256,32 @@ 256 256 257 257 Notification requires that the structural metadata repository and the provisioning metadata repository monitor any event which is of interest to a user (the object of a subscription request query), and to issue an SDMX notification document to the endpoints specified in the relevant subscriptions. 258 258 259 -=== =={{id name="_Toc90801"/}}5.2.7 Registry Behaviour =====260 +=== 5.2.7 Registry Behaviour === 260 260 261 261 The following table defines the behaviour of the SDMX Registry for the various Registry Interface messages. It should be noted, though, that as of SDMX 3.0, an extended versioning scheme newly including semantic versioning is foreseen for all Maintainable Artefacts. Moreover, while the old versioning scheme is allowed, given there is no more a "final" flag, there is no way guaranteeing the consistency across version of a Maintainable, unless semantic versioning is used. 262 262 263 263 Given the above, the behaviour described in the following table concerns either draft Artefacts using semantic versioning or any Artefacts using the old versioning scheme. Nevertheless, in the case of semantic versioning the registry must respect the versioning rules when performing the actions below. For example, it is not possible to replace a non-draft Artefact that follows semantic versioning, unless a newer version is introduced according to the semantic versioning rules. Furthermore, even when draft Artefacts are submitted, the registry has to verify semantic versioning is respected against the previous non-draft versions. It is worth noting that the rules for semantic versioning and replacing or maintaining semantically versioned Artefacts applies to externally shared Artefacts. This means that any system may internally perform any change within a version of an Artefact, until the latter is shared outside of that system or becomes public. Then (as also explained in the SDMX Standards Section 6 “Technical Notes”) the Artefacts must adhere to the Semantic Versioning rules. 264 264 265 -|**Interface**|**Behaviour** 266 -|All|((( 266 +(% style="width:982.835px" %) 267 +|(% style="width:217px" %)**Interface**|(% style="width:763px" %)**Behaviour** 268 +|(% style="width:217px" %)All|(% style="width:763px" %)((( 267 267 1. If the action is set to “replace” (or a maintainable Artefact is PUT or POSTed) then the entire contents of the existing maintainable object in the Registry MUST be replaced by the object submitted. 268 268 1. Cross referenced structures MUST exist in either the submitted document (in Structures or Structure Location) or in the registry to which the request is submitted. 269 269 1. If the action is set to “delete” (or a maintainable Artefact is DELETEd) then the Registry MUST verify that the object can be deleted. In order to qualify for deletion, the object must: 270 270 271 -1. Be a draft version. 273 +a) Be a draft version. 274 +b) Not be explicitly^^[[(% class="wikiinternallink wikiinternallink wikiinternallink" %)^^1^^>>path:#sdfootnote1sym||name="sdfootnote1anc"]](%%)^^ referenced from any other object in the Registry. 272 272 273 -b) Not be explicitly^^[[(% class="wikiinternallink wikiinternallink" %)^^1^^>>path:#sdfootnote1sym||name="sdfootnote1anc"]](%%)^^ referenced from any other object in the Registry. 274 - 275 275 4) The semantic versioning rules in the SDMX documentation MUST be obeyed. 276 276 ))) 277 -|Structure submission|((( 278 -Structures are submitted at the level of the 279 - 280 -Maintainable Artefact and the behaviour in “All” above is therefore at the level of the Maintainable Artefact. 278 +|(% style="width:217px" %)Structure submission|(% style="width:763px" %)((( 279 +Structures are submitted at the level of the Maintainable Artefact and the behaviour in “All” above is therefore at the level of the Maintainable Artefact. 281 281 ))) 282 -|SubmitRegistrationRequest|If the datasource is a file (simple datasource) then the file MAY be retrieved and indexed according to the Boolean attributes set in the Registration. For a queryable datasource the Registry MAY validate that the source exists and can accept an SDMX data query. 281 +|(% style="width:217px" %)SubmitRegistrationRequest|(% style="width:763px" %)If the datasource is a file (simple datasource) then the file MAY be retrieved and indexed according to the Boolean attributes set in the Registration. For a queryable datasource the Registry MAY validate that the source exists and can accept an SDMX data query. 283 283 284 -= {{id name="_Toc90802"/}}6 Identification of SDMX Objects =283 += 6 Identification of SDMX Objects = 285 285 286 -== ={{id name="_Toc90803"/}}6.1 Identification, Versioning, and Maintenance ===285 +== 6.1 Identification, Versioning, and Maintenance == 287 287 288 288 All major classes of the SDMX Information model inherit from one of: 289 289 ... ... @@ -292,7 +292,7 @@ 292 292 * //**VersionableArtefact**// – this has all of the above features plus a version number, according to the SDMX versioning rules in SDMX Standards Section 6 “Technical Notes”, paragraph “4.3 Versioning”, and a validity period. 293 293 * //**MaintainableArtefact**// – this has all of the above features, plus registry and structure URIs, and an association to the maintenance organisation of the object. 294 294 295 -=== =={{id name="_Toc90804"/}}6.1.1 Identification, Naming, Versioning, and Maintenance Model =====294 +=== 6.1.1 Identification, Naming, Versioning, and Maintenance Model === 296 296 297 297 [[image:SDMX 3.1 Section 5_en_4a9b2cfc.jpg||height="688" width="587"]] 298 298 ... ... @@ -301,13 +301,11 @@ 301 301 The table below shows the identification and related data attributes to be stored in a registry for objects that are one of: 302 302 303 303 * //Annotable// 303 +* //Identifiable// 304 +* //Nameable// 305 +* //Versionable// 306 +* //Maintainable// 304 304 305 -//Identifiable// • //Nameable// 306 - 307 -• //Versionable// 308 - 309 -• //Maintainable// 310 - 311 311 | |(% colspan="2" %)**Object Type**|(% colspan="2" %)**Data Attributes**|(% colspan="2" %)**Status**|(% colspan="2" %)**Data type**|(% colspan="2" %)**Notes** 312 312 | |(% colspan="2" rowspan="4" %)//Annotable//|(% colspan="2" %)AnnotationTitle|(% colspan="2" %)C|(% colspan="2" %)string|(% colspan="2" %) 313 313 | |(% colspan="2" %)AnnotationType|(% colspan="2" %)C|(% colspan="2" %)string|(% colspan="2" %) ... ... @@ -352,9 +352,9 @@ 352 352 353 353 **Table 1: Common Attributes of Object Types** 354 354 355 -== ={{id name="_Toc90805"/}}6.2 Unique identification of SDMX objects ===352 +== 6.2 Unique identification of SDMX objects == 356 356 357 -=== =={{id name="_Toc90806"/}}6.2.1 Agencies and Metadata Providers =====354 +=== 6.2.1 Agencies and Metadata Providers === 358 358 359 359 The Maintenance Agency in SDMX is maintained in an Agency Scheme which itself is a sub class of Organisation Scheme – this is shown in the class diagram below. 360 360 ... ... @@ -387,14 +387,11 @@ 387 387 388 388 The following organizations maintain an Agency Scheme. 389 389 390 -• SDMX – contains Agencies AA, BB 387 +* SDMX – contains Agencies AA, BB 388 +* AA – contains Agencies CC, DD 389 +* BB – contains Agencies CC, DD 390 +* DD – Contains Agency EE 391 391 392 -• AA – contains Agencies CC, DD 393 - 394 -• BB – contains Agencies CC, DD 395 - 396 -• DD – Contains Agency EE 397 - 398 398 Each agency is identified by its full hierarchy excluding SDMX. 399 399 400 400 e.g., the id of EE as an agencyID is AA.DD.EE ... ... @@ -407,13 +407,13 @@ 407 407 408 408 Following the same principles, the Metadata Provider is the maintenance organisation for a special subset of Maintainable Artefacts, i.e., the Metadatasets; the latter are the containers of reference metadata combined with a target that those metadata refer to. 409 409 410 -=== =={{id name="_Toc90807"/}}6.2.2 Universal Resource Name (URN) =====404 +=== 6.2.2 Universal Resource Name (URN) === 411 411 412 - **6.2.2.1 Introduction**406 +==== 6.2.2.1 Introduction ==== 413 413 414 414 To provide interoperability between SDMX Registry/Repositories in a distributed network environment, it is important to have a scheme for uniquely identifying (and thus accessing) all first-class (Identifiable) SDMX-IM objects. Most of these unique identifiers are composite (containing maintenance agency, or parent object identifiers), and there is a need to be able to construct a unique reference as a single string. This is achieved by having a globally unique identifier called a universal resource name (URN) which is generated from the actual identification components in the SDMX-RR APIs. In other words, the URN for any Identifiable Artefact is constructed from its component identifiers (agency, id, version etc.). 415 415 416 - **6.2.2.2 URN Structure //__Case Rules for URN__//**// //410 +==== 6.2.2.2 URN Structure //__Case Rules for URN__// ==== 417 417 418 418 For the URN, all parts of the string are case sensitive. The generic structure of the URN is as follows: 419 419 ... ... @@ -609,7 +609,7 @@ 609 609 urn:sdmx.org.sdmx.infomodel.{package}.{classname}= 610 610 611 611 |**Classname**|**Ending URN pattern**|**Example** 612 -|Agency^^[[(% class="wikiinternallink wikiinternallink" %)^^2^^>>path:#sdfootnote2sym||name="sdfootnote2anc"]](%%)^^|agencySchemeAgencyId:**AGENCIES**(**1.0**).agencyId|ECB:**AGENCIES**(**1.0**).AA 606 +|Agency^^[[(% class="wikiinternallink wikiinternallink wikiinternallink" %)^^2^^>>path:#sdfootnote2sym||name="sdfootnote2anc"]](%%)^^|agencySchemeAgencyId:**AGENCIES**(**1.0**).agencyId|ECB:**AGENCIES**(**1.0**).AA 613 613 |//AgencyScheme//|agencySchemeAgencyId:**AGENCIES**(**1.0**)|ECB:**AGENCIES**(**1.0**) 614 614 |//Categorisation//|categorisationAgencyId:categorisationId(version)|IMF:cat001(1.0.0) 615 615 |Category|categorySchemeAgencyId:categorySchemeId(versi on).categoryId.categoryId.categoryId etc.|IMF:SDDS(1.0.0):level_1_category.level_2_category … ... ... @@ -834,7 +834,7 @@ 834 834 The artefacts included in the structural definitions are: 835 835 836 836 * All types of Item Scheme (Codelist, Concept Scheme, Category Scheme, Organisation Scheme, Agency Scheme, Data Provider Scheme, Metadata Provider Scheme, Data Consumer Scheme, Organisation Unit Scheme, Transformation Scheme, Name Personalisation Scheme, Custom Type Scheme, Vtl Mapping Scheme, Ruleset Scheme, User Defined Operator Scheme) 837 -* All types of Enumerated List (ValueList)^^[[(% class="wikiinternallink wikiinternallink" %)^^3^^>>path:#sdfootnote3sym||name="sdfootnote3anc"]](%%)^^ 831 +* All types of Enumerated List (ValueList)^^[[(% class="wikiinternallink wikiinternallink wikiinternallink" %)^^3^^>>path:#sdfootnote3sym||name="sdfootnote3anc"]](%%)^^ 838 838 * All types of Structure (Data Structure Definition, Metadata Structure Definition) 839 839 * All types of Structure Usage (Dataflow, Metadataflow) 840 840 ... ... @@ -858,13 +858,13 @@ 858 858 859 859 In addition to the maintenance of the Dataflow and the Metadataflow, the following links must be maintained in the registry: 860 860 861 -1. 855 +1. 862 862 1*. Dataflow to Data Structure Definition 863 863 1*. Metadataflow to Metadata Structure Definition 864 864 865 865 The following links may be created by means of a Categorisation 866 866 867 -1. 861 +1. 868 868 1*. Categorisation to Dataflow and Category 869 869 1*. Categorisation to Metadataflow and Category 870 870 ... ... @@ -1060,7 +1060,7 @@ 1060 1060 1. A validity period which defines both when the subscription becomes active and expires. The subscriber may be sent a notification on expiration of the subscription. 1061 1061 1. A selector which specifies which type of events are of interest. The set of event types is: 1062 1062 1063 -: 1057 +: 1064 1064 :: 1065 1065 1066 1066 (((