Version 32.6 by Helena on 2025/05/19 14:27

Hide last authors
Helena 21.2 1 {{box title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
Helena 2.1 4
Helena 30.2 5 (% class="wikigeneratedid" id="HRevisionHistory" %)
6 **Revision History**
Helena 2.1 7
8 (((
Helena 21.2 9 (% style="width:838.294px" %)
10 |(% style="width:188px" %)**Revision**|(% style="width:205px" %)**Date**|(% style="width:441px" %)**Contents**
11 |(% style="width:188px" %)DRAFT 1.0|(% style="width:205px" %)May 2021|(% style="width:441px" %)Draft release updated for SDMX 3.0 for public consultation
12 |(% style="width:188px" %)1.0|(% style="width:205px" %)October 2021|(% style="width:441px" %)Public release for SDMX 3.0
Helena 2.1 13 )))
14
Helena 21.3 15 = 1 Introduction =
Helena 2.1 16
Helena 30.2 17 The business vision for [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] envisages the promotion of a “data sharing” model to facilitate low-cost, high-quality [[statistical data and metadata exchange>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]. Data sharing reduces the reporting burden of organisations by allowing them to publish data once and let their counterparties “pull” data and related metadata as required. The scenario is based on:
Helena 2.1 18
Helena 30.2 19 * the availability of an abstract information model capable of supporting time series and cross-sectional data, [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]], and [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] ([[SDMX-IM>>doc:xwiki:Glossary.SDMX Information Model.WebHome]])
20 * standardised XML and JSON schemas for the [[SDMX-ML>>doc:xwiki:Glossary.SDMX-ML.WebHome]] and [[SDMX-JSON>>doc:xwiki:Glossary.SDMX-JSON.WebHome]] formats derived from the model (XSD, JSON)
Helena 2.1 21 * the use of web-services technology (XML, JSON, Open API)
22
Helena 30.2 23 Such an architecture needs to be well organised, and the [[SDMX Registry>>doc:xwiki:Glossary.SDMX Registry.WebHome]]/Repository (SDMXRR) is tasked with providing structure, organisation, and maintenance and query interfaces for most of the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] [[components>>doc:xwiki:Glossary.Component.WebHome]] required to support the data sharing vision.
Helena 2.1 24
Helena 30.2 25 However, it is important to emphasise that the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-RR provides support for the submission and retrieval of all [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] and provisioning metadata. Therefore, the Registry not only supports the data-sharing scenario, but this metadata is also vital in order to provide support for data and metadata reporting/collection, and dissemination scenarios.
Helena 2.1 26
Helena 30.2 27 Standard formats for the exchange of aggregated statistical data and metadata as prescribed in [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] v3.0 are envisaged to bring benefits to the statistical community because data reporting and dissemination processes can be made more efficient.
Helena 2.1 28
Helena 30.2 29 As organisations migrate to [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] enabled systems, many XML, JSON (and conventional) [[artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] will be produced (e.g., Data Structure, Metadata Structure, [[Code List>>doc:xwiki:Glossary.Code list.WebHome]] and (% style="color:#2ecc71" %)Concept(%%) definitions – often collectively called [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] – XML schemas generated from [[data structure definitions>>doc:xwiki:Glossary.Data structure definition.WebHome]], XSLT stylesheets for transformation and display of data and metadata, terminology references, etc.). The [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] model supports interoperability, and it is important to be able to discover and share these [[artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] between parties in a controlled and organized way.
Helena 2.1 30
31 This is the role of the registry.
32
Helena 30.2 33 With the fundamental [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] standards in place, a set of architectural standards are needed to address some of the processes involved in [[statistical data and metadata exchange>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]], with an emphasis on maintenance, retrieval and sharing of the [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]]. In addition, the architectural standards support the registration and discovery of data and referential metadata.
Helena 2.1 34
Helena 30.2 35 These architectural standards address the ‘how’, rather than the ‘what’, and are aimed at enabling existing [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] standards to achieve their mission. The architectural standards address registry services, which initially comprise:
Helena 2.1 36
Helena 30.2 37 * [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] repository
Helena 21.3 38 * data and metadata registration
39 * query
Helena 2.1 40
Helena 30.2 41 The registry services outlined in this specification are designed to help the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] community manage the proliferation of [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] assets and to support data sharing for reporting and dissemination.
Helena 2.1 42
43 = {{id name="_Toc93832"/}}2 Scope and Normative Status =
44
Helena 30.2 45 The scope of this document is to specify the logical interfaces for the [[SDMX registry>>doc:xwiki:Glossary.SDMX Registry.WebHome]] in terms of the functions required and the data that may be present in the function call, and the behaviour expected of the registry.
Helena 2.1 46
47 In this document, functions and behaviours of the Registry Interfaces are described in four ways:
48
49 * in text
50 * with tables
Helena 30.2 51 * with UML diagrams excerpted from the [[SDMX Information Model>>doc:xwiki:Glossary.SDMX Information Model.WebHome]] ([[SDMX-IM>>doc:xwiki:Glossary.SDMX Information Model.WebHome]])
52 * with UML diagrams that are not a part of the [[SDMX-IM>>doc:xwiki:Glossary.SDMX Information Model.WebHome]] but are included here for clarity and to aid implementations (these diagrams are clearly marked as “Logical Class Diagram ...”)
Helena 2.1 53
54 Whilst the introductory section contains some information on the role of the registry, it is assumed that the reader is familiar with the uses of a registry in providing shared metadata across a community of counterparties.
55
Helena 30.2 56 Note that chapters 5 and 6 below contain normative rules regarding the Registry Interface and the identification of registry objects. Further, the minimum standard for access to the registry is via a REST interface (HTTP or HTTPS), as described in the appropriate sections. The [[notification>>doc:xwiki:Glossary.Notification.WebHome]] mechanism must support e-mail and HTTP/HTTPS protocols as described. Normative registry interfaces are specified in the [[SDMX-ML>>doc:xwiki:Glossary.SDMX-ML.WebHome]] specification (Section 3 of the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] Standard). All other sections of this document are informative.
Helena 2.1 57
Helena 30.2 58 Note that although the term “authorised user” is used in this document, the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] standards do not define an access control mechanism. Such a mechanism, if required, must be chosen and implemented by the registry software provider.
Helena 2.1 59
60 = {{id name="_Toc93833"/}}3 Scope of the SDMX Registry/Repository =
61
62 == {{id name="_Toc93834"/}}3.1 Objective ==
63
Helena 30.2 64 The objective of the [[SDMX registry>>doc:xwiki:Glossary.SDMX Registry.WebHome]]/repository is, in broad terms, to allow organisations to publish statistical data and [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] 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:
Helena 2.1 65
Helena 30.2 66 1. To maintain and publish [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] that describes the structure and valid content of data and [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] sources such as databases, [[metadata repositories>>doc:xwiki:Glossary.Metadata repository.WebHome]], [[data sets>>doc:xwiki:Glossary.Data set.WebHome]], [[metadata sets>>doc:xwiki:Glossary.Metadata set.WebHome]]. This [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] enables software applications to understand and to interpret the data and [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] in these sources.
67 1. To enable applications, organisations, and individuals to share and to discover data and [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]]. This facilitates data and [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] dissemination by implementing the data sharing vision of [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]].
Helena 2.1 68
69 == {{id name="_Toc93835"/}}3.2 Structural Metadata ==
70
Helena 30.2 71 Setting up [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] and the exchange context (referred to as “data provisioning”) involves the following steps for [[maintenance agencies>>doc:xwiki:Glossary.Maintenance agency.WebHome]]:
Helena 2.1 72
Helena 30.2 73 * agreeing and creating a specification of the structure of the data (called a [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] or [[DSD>>doc:xwiki:Glossary.Data structure definition.WebHome]] in this document but also known as “key family”), which defines the [[dimensions>>doc:xwiki:Glossary.Dimension.WebHome]], [[measures>>doc:xwiki:Glossary.Measure.WebHome]] and [[attributes>>doc:xwiki:Glossary.Attribute.WebHome]] of a [[dataset>>doc:xwiki:Glossary.Data set.WebHome]] and their valid value set;
74 * if required, defining a subset or view of a [[DSD>>doc:xwiki:Glossary.Data structure definition.WebHome]] which allows some restriction of content called a “[[dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] definition”;
75 * agreeing and creating a specification of the structure of [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] ([[Metadata Structure Definition>>doc:xwiki:Glossary.Metadata structure definition.WebHome]]) which defines the metadata [[attributes>>doc:xwiki:Glossary.Attribute.WebHome]] and their presentational arrangement in a Metadataset or as part of a [[Dataset>>doc:xwiki:Glossary.Data set.WebHome]], and their valid values and content;
76 * if required, defining a subset or view of an [[MSD>>doc:xwiki:Glossary.Metadata structure definition.WebHome]] which allows some restriction of content called a “[[metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]]”;
77 * defining which subject matter domains (specified as a [[Category Scheme>>doc:xwiki:Glossary.Category scheme.WebHome]]) are related to the [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] and [[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]] to enable browsing;
Helena 2.1 78 * defining one or more lists of Data and Metadata Providers;
Helena 30.2 79 * defining which Data/Metadata Providers have agreed to publish a given [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]]/[[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]] – this is called a [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]] or Metadata [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]], respectively.
Helena 2.1 80
81 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_28806f51.jpg||height="539" width="443"]]
82
Helena 21.3 83 (% class="wikigeneratedid" id="HFigure1:SchematicoftheBasicStructuralArtefactsintheSDMX-IM" %)
84 **Figure 1: Schematic of the Basic Structural Artefacts in the SDMX-IM**
Helena 2.1 85
86 Note that in Figure 1 (but also most of the relevant subsequent figures) terms that include both data and metadata have been used. For example:
87
Helena 31.1 88 * Structure Definition: refers to [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] ([[DSD>>doc:xwiki:Glossary.Data structure definition.WebHome]]) and [[Metadata Structure Definition>>doc:xwiki:Glossary.Metadata structure definition.WebHome]] (MSD)
89 * Flow: refers to [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] and [[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]]
90 * [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]]: refers to [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]] (for data) and Metadata [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]]
91 * Provider Scheme: refers to [[Data Provider Scheme>>doc:xwiki:Glossary.Data provider scheme.WebHome]] and Metadata Provider Scheme
92 * Provider: refers to [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]] and Metadata Provider
Helena 2.1 93
Helena 31.1 94 In that context, the term “Metadata” refers to [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]].
Helena 2.1 95
96 == {{id name="_Toc93836"/}}3.3 Registration ==
97
Helena 31.1 98 Publishing the data and [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] involves the following steps for a Data/Metadata Provider:
Helena 2.1 99
Helena 31.1 100 * making the [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] and data available in [[SDMX-ML>>doc:xwiki:Glossary.SDMX-ML.WebHome]]/JSON conformant data files or databases (which respond to an [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] query with data). The data and [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] files or databases must be web accessible, and must conform to an agreed [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] or [[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]] ([[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] or [[Metadata Structure Definition>>doc:xwiki:Glossary.Metadata structure definition.WebHome]] subset);
101 * registering the existence of published [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] and data files or databases with one or more [[SDMX registries>>doc:xwiki:Glossary.SDMX Registry.WebHome]].
Helena 2.1 102
103 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_1edb9829.jpg||height="407" width="553"]]
104
105 **Figure 2: Schematic of Registered Data and Metadata Sources in the SDMX-IM**
106
107 == {{id name="_Toc93837"/}}3.4 Notification ==
108
Helena 31.1 109 Notifying interested parties of newly published or re-published data, [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] or changes in [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] involves:
Helena 2.1 110
Helena 31.1 111 * registry support of a [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]]-based [[notification>>doc:xwiki:Glossary.Notification.WebHome]] service which sends an email or notifies an HTTP address announcing all published data that meets the criteria contained in the [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] request.
Helena 2.1 112
113 == {{id name="_Toc93838"/}}3.5 Discovery ==
114
Helena 31.1 115 Discovering published data and [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] 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>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-enabled data or [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] resource:
Helena 2.1 116
Helena 31.1 117 * optionally browsing a subject matter domain [[category scheme>>doc:xwiki:Glossary.Category scheme.WebHome]] to find [[Dataflows>>doc:xwiki:Glossary.Dataflow.WebHome]] (and hence [[Data Structure Definitions>>doc:xwiki:Glossary.Data structure definition.WebHome]]) and [[Metadataflows>>doc:xwiki:Glossary.Metadataflow.WebHome]] which structure the type of data and/or [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] being sought;
118 * build a query, in terms of the selected [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] or [[Metadata Structure Definition>>doc:xwiki:Glossary.Metadata structure definition.WebHome]], which specifies what data are required and submitting this to a service that can query an [[SDMX registry>>doc:xwiki:Glossary.SDMX Registry.WebHome]] which will return a list of (URLs of) data and [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] files and databases which satisfy the query;
119 * processing the query result set and retrieving data and/or [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] from the supplied URLs.
Helena 2.1 120
121 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_1f4779f4.jpg||height="328" width="554"]]
122
123 **Figure 3: Schematic of Data and Metadata Discovery and Query in the SDMX-IM**
124
125 = {{id name="_Toc93839"/}}4 SDMX Registry/Repository Architecture =
126
127 == {{id name="_Toc93840"/}}4.1 Architectural Schematic ==
128
Helena 31.1 129 The architecture of the [[SDMX registry>>doc:xwiki:Glossary.SDMX Registry.WebHome]]/repository is derived from the objectives stated above. It is a layered architecture that is founded by a [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] repository which supports a provisioning [[metadata repository>>doc:xwiki:Glossary.Metadata repository.WebHome]] which supports the registry services. These are all supported by the [[SDMX-ML>>doc:xwiki:Glossary.SDMX-ML.WebHome]] 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>>doc:xwiki:Glossary.Structural metadata.WebHome]] required to drive these applications.
Helena 2.1 130
131 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_99c4cc7e.jpg||height="325" width="553"]]
132
133 **Figure 4: Schematic of the Registry Content and Services**
134
135 == {{id name="_Toc93841"/}}4.2 Structural Metadata Repository ==
136
Helena 31.1 137 The basic layer is that of a [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] service which supports the lifecycle of [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] [[artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] such as [[Maintenance Agencies>>doc:xwiki:Glossary.Maintenance agency.WebHome]], [[Data Structure Definitions>>doc:xwiki:Glossary.Data structure definition.WebHome]], [[Metadata Structure Definitions>>doc:xwiki:Glossary.Metadata structure definition.WebHome]], [[Provision Agreements>>doc:xwiki:Glossary.Provision agreement.WebHome]], Processes etc. This layer is supported by the Structure Submission and Query Service.
Helena 2.1 138
Helena 31.1 139 Note that the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] REST API supports all of the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] structural [[artefacts>>doc:xwiki:Glossary.Artefact.WebHome]]. The only structural [[artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] that are not yet supported are:
Helena 2.1 140
141 * Registration of data and metadata sources
Helena 31.1 142 * [[Subscription>>doc:xwiki:Glossary.Subscription.WebHome]] and [[Notification>>doc:xwiki:Glossary.Notification.WebHome]]
Helena 2.1 143
Helena 31.1 144 As of the initial (% style="color:#2ecc71" %)version(%%) of [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] 3.0 no messages are defined to support these [[artefacts>>doc:xwiki:Glossary.Artefact.WebHome]]; hence, users may need to use [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] 2.1 Registry Interface messages, instead.
Helena 2.1 145
146 == {{id name="_Toc93842"/}}4.3 Provisioning Metadata Repository ==
147
Helena 31.1 148 The function of this repository is to support the definition of the [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] that describes the various types of data-store which model [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-conformant databases or files, and to link to these [[data sources>>doc:xwiki:Glossary.Data source.WebHome]]. These links can be specified for a data/metadata provider, for a specific data or [[metadata flow>>doc:xwiki:Glossary.Metadataflow.WebHome]]. In the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] model this is called the Provision or Metadata [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]].
Helena 2.1 149
150 This layer is supported by the Data and Metadata Registration Service.
151
152 = {{id name="_Toc93843"/}}5 Registry Interfaces and Services =
153
154 == {{id name="_Toc93844"/}}5.1 Registry Interfaces ==
155
156 The Registry Interfaces are:
157
158 * Notify Registry Event
Helena 31.1 159 * Submit [[Subscription>>doc:xwiki:Glossary.Subscription.WebHome]] Request
160 * Submit [[Subscription>>doc:xwiki:Glossary.Subscription.WebHome]] Response
Helena 2.1 161 * Submit Registration Request
162 * Submit Registration Response
163 * Query Registration Request
164 * Query Registration Response
Helena 31.1 165 * Query [[Subscription>>doc:xwiki:Glossary.Subscription.WebHome]] Request
166 * Query [[Subscription>>doc:xwiki:Glossary.Subscription.WebHome]] Response
Helena 2.1 167
168 The registry interfaces are invoked in one of two ways:
169
Helena 31.1 170 1. The interface is the name of the root node of the [[SDMX-ML>>doc:xwiki:Glossary.SDMX-ML.WebHome]] document
171 1. The interface is invoked as a child element of the RegistryInterface message where the RegistryInterface is the root node of the [[SDMX-ML>>doc:xwiki:Glossary.SDMX-ML.WebHome]] document.
Helena 2.1 172
Helena 31.1 173 In addition to these interfaces the registry must support a mechanism for submitting and querying for [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]]. This is detailed in sections 5.2.2 and 5.2.3.
Helena 2.1 174
Helena 31.1 175 All these interactions with the Registry – with the exception of NotifyRegistryEvent – are designed in pairs. The first document, the one which invokes the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-RR interface, is a “Request” document. The message returned by the interface is a “Response” document.
Helena 2.1 176
Helena 31.1 177 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>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-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.
Helena 2.1 178
179 == {{id name="_Toc93845"/}}5.2 Registry Services ==
180
181 === {{id name="_Toc93846"/}}5.2.1 Introduction ===
182
183 The services described in this section do not imply that each is implemented as a discrete web service.
184
185 === {{id name="_Toc93847"/}}5.2.2 Structure Submission Service ===
186
Helena 31.1 187 The registry must support a mechanism for submitting [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]]. This mechanism can be the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] REST interface for [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] (this is defined in the corresponding GitHub project, dedicated to the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] REST API: [[__https:~~/~~/github.com/__>>https://https:github.comsdmx-twgsdmx-rest]][[sdmx>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-twg/[[sdmx>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-rest). In order for the architecture to be scalable, the finest-grained piece of [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] that can be processed by the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-RR is a MaintainableArtefact, with the exception of [[Item Schemes>>doc:xwiki:Glossary.Item scheme.WebHome]], where changes at an Item (% style="color:#2ecc71" %)level(%%) is also possible (see next section on the [[SDMX Information Model>>doc:xwiki:Glossary.SDMX Information Model.WebHome]]).
Helena 2.1 188
189 === {{id name="_Toc93848"/}}5.2.3 Structure Query Service ===
190
Helena 31.1 191 The registry must support a mechanism for querying for [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]]. This mechanism can be the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] REST interface for [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] (this is defined in the corresponding GitHub project, dedicated to the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] REST API: [[__https:~~/~~/github.com/__>>https://https:github.comsdmx-twgsdmx-rest]][[sdmx>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-twg/[[sdmx>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-rest). The registry response to this query mechanism is the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] Structure message, which has as its root node:
Helena 2.1 192
193 * Structure
194
Helena 31.1 195 The [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] structural [[artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] that may be queried are:
Helena 2.1 196
Helena 31.1 197 * [[data flows>>doc:xwiki:Glossary.Dataflow.WebHome]] and [[metadata flows>>doc:xwiki:Glossary.Metadataflow.WebHome]]
198 * [[data structure definitions>>doc:xwiki:Glossary.Data structure definition.WebHome]] and [[metadata structure definitions>>doc:xwiki:Glossary.Metadata structure definition.WebHome]]
199 * [[code>>doc:xwiki:Glossary.Code.WebHome]] lists
Helena 2.1 200 * value lists
Helena 31.1 201 * (% style="color:#2ecc71" %)concept(%%) schemes
Helena 2.1 202 * reporting taxonomies
Helena 31.1 203 * [[provision agreements>>doc:xwiki:Glossary.Provision agreement.WebHome]] and metadata [[provision agreements>>doc:xwiki:Glossary.Provision agreement.WebHome]]
Helena 2.1 204 * structure maps
Helena 31.1 205 * [[representation>>doc:xwiki:Glossary.Representation.WebHome]] map
Helena 2.1 206 * organisation scheme map
Helena 31.1 207 * (% style="color:#2ecc71" %)concept(%%) scheme map
208 * [[category>>doc:xwiki:Glossary.Category.WebHome]] scheme map
Helena 2.1 209 * reporting taxonomy map
210 * processes
211 * hierarchies
Helena 31.1 212 * (% style="color:#2ecc71" %)constraints
213 * [[category>>doc:xwiki:Glossary.Category.WebHome]] schemes
214 * categorisations and categorised objects (examples are categorised [[data flows>>doc:xwiki:Glossary.Dataflow.WebHome]] and [[metadata flows>>doc:xwiki:Glossary.Metadataflow.WebHome]], [[data structure definitions>>doc:xwiki:Glossary.Data structure definition.WebHome]], [[metadata structure definitions>>doc:xwiki:Glossary.Metadata structure definition.WebHome]], [[provision agreements>>doc:xwiki:Glossary.Provision agreement.WebHome]] registered [[data sources>>doc:xwiki:Glossary.Data source.WebHome]] and metadata sources)
215 * organisation schemes ([[agency scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]], [[data provider scheme>>doc:xwiki:Glossary.Data provider scheme.WebHome]], [[data consumer scheme>>doc:xwiki:Glossary.Data consumer scheme.WebHome]], organisation unit scheme)
Helena 2.1 216
Helena 31.1 217 Due to the [[VTL>>doc:xwiki:Glossary.Validation and transformation language.WebHome]] implementation the other [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] [[artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] that may be queried are:
Helena 2.1 218
219 * Transformation schemes
220 * Custom type schemes
221 * Name personalisation schemes
Helena 31.1 222 * [[VTL>>doc:xwiki:Glossary.Validation and transformation language.WebHome]] mapping schemes
Helena 2.1 223 * Ruleset schemes
224 * User defined operator schemes
225
226 === {{id name="_Toc93849"/}}5.2.4 Data and Reference Metadata Registration Service ===
227
228 This service must implement the following Registry Interfaces:
229
230 * SubmitRegistrationRequest
231 * SubmitRegistrationResponse
232 * QueryRegistrationRequest
233 * QueryRegistrationResponse
234
Helena 31.1 235 The Data and Metadata Registration Service allows [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] conformant files and webaccessible databases containing published data and [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] to be registered in the [[SDMX Registry>>doc:xwiki:Glossary.SDMX Registry.WebHome]]. The registration process MAY validate the content of the [[datasets>>doc:xwiki:Glossary.Data set.WebHome]] or metadatasets, and MAY extract a concise [[representation>>doc:xwiki:Glossary.Representation.WebHome]] of the contents in terms of (% style="color:#2ecc71" %)concept(%%) values (e.g., values of the data [[attribute>>doc:xwiki:Glossary.Attribute.WebHome]], [[dimension>>doc:xwiki:Glossary.Dimension.WebHome]], metadata [[attribute>>doc:xwiki:Glossary.Attribute.WebHome]]), or entire keys, and storing this as a record in the registry to enable discovery of the original [[dataset>>doc:xwiki:Glossary.Data set.WebHome]] or metadata-set. These are called (% style="color:#2ecc71" %)Constraints(%%) in the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-IM.
Helena 2.1 236
237 The Data and Metadata Registration Service MAY validate the following, subject to the access control mechanism implemented in the Registry:
238
Helena 31.1 239 * that the data/metadata provider is allowed to register the [[dataset>>doc:xwiki:Glossary.Data set.WebHome]] or metadataset;
240 * that the content of the [[dataset>>doc:xwiki:Glossary.Data set.WebHome]] or metadataset meets the validation (% style="color:#2ecc71" %)constraints(%%). This is dependent upon such (% style="color:#2ecc71" %)constraints(%%) being defined in the structural repository and which reference the relevant [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]], [[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]], [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]], Metadata Provider, [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]], [[Metadata Structure Definition>>doc:xwiki:Glossary.Metadata structure definition.WebHome]], [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]], Metadata [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]];
241 * that a queryable [[data source>>doc:xwiki:Glossary.Data source.WebHome]] exists – this would necessitate the registration service querying the service to determine its existence;
242 * that a simple [[data source>>doc:xwiki:Glossary.Data source.WebHome]] exists (i.e., a file accessible at a URL);
243 * that the correct [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] or [[Metadata Structure Definition>>doc:xwiki:Glossary.Metadata structure definition.WebHome]] is used by the registered data;
244 * that the [[components>>doc:xwiki:Glossary.Component.WebHome]] ([[Dimensions>>doc:xwiki:Glossary.Dimension.WebHome]], [[Attributes>>doc:xwiki:Glossary.Attribute.WebHome]], [[Measures>>doc:xwiki:Glossary.Measure.WebHome]], Metadata [[Attributes>>doc:xwiki:Glossary.Attribute.WebHome]], etc.) are consistent with the [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] or [[Metadata Structure Definition>>doc:xwiki:Glossary.Metadata structure definition.WebHome]];
245 * that the valid [[representations>>doc:xwiki:Glossary.Representation.WebHome]] of the (% style="color:#2ecc71" %)concepts(%%) to which these [[components>>doc:xwiki:Glossary.Component.WebHome]] correspond conform to the definition in the [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] or [[Metadata Structure Definition>>doc:xwiki:Glossary.Metadata structure definition.WebHome]]. The Registration has an action [[attribute>>doc:xwiki:Glossary.Attribute.WebHome]] which takes one of the following values:
Helena 2.1 246
Helena 21.6 247 (% style="width:755.294px" %)
248 |(% style="width:187px" %)**Action Attribute Value**|(% style="width:566px" %)**Behaviour**
249 |(% style="width:187px" %)Append|(% style="width:566px" %)Add this registration to the registry
250 |(% style="width:187px" %)Replace|(% style="width:566px" %)Replace the existing Registration with this Registration identified by the id in the Registration of the Submit Registration Request
251 |(% style="width:187px" %)Delete|(% style="width:566px" %)Delete the existing Registration identified by the id in the Registration of the Submit Registration Request
Helena 2.1 252
Helena 31.1 253 The Registration has three Boolean [[attributes>>doc:xwiki:Glossary.Attribute.WebHome]] which may be present to determine how an [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] compliant [[dataset>>doc:xwiki:Glossary.Data set.WebHome]] or metadataset indexing application must index the [[datasets>>doc:xwiki:Glossary.Data set.WebHome]] or metadatasets upon registration. The indexing application behaviour is as follows:
Helena 2.1 254
Helena 21.6 255 (% style="width:759.294px" %)
256 |(% style="width:191px" %)**Boolean Attribute**|(% style="width:565px" %)**Behaviour if Value is “true”**
Helena 31.1 257 |(% style="width:191px" %)indexTimeSeries|(% style="width:565px" %)A compliant indexing application must index all the time [[series keys>>doc:xwiki:Glossary.Series key.WebHome]] (for a [[Dataset>>doc:xwiki:Glossary.Data set.WebHome]] registration) or metadata target values (for a Metadataset registration)
Helena 21.6 258 |(% style="width:191px" %)indexDataSet|(% style="width:565px" %)(((
Helena 31.1 259 A compliant indexing application must index the range of actual (present) values for each [[dimension>>doc:xwiki:Glossary.Dimension.WebHome]] of the [[Dataset>>doc:xwiki:Glossary.Data set.WebHome]] (for a [[Dataset>>doc:xwiki:Glossary.Data set.WebHome]] registration) or the range of actual (present) values for each Metadata [[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]] which takes an enumerated value.
260 Note that for data this requires much less storage than full key indexing, but this method cannot guarantee that a specific combination of [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]] values (the Key) is actually present in the [[Dataset>>doc:xwiki:Glossary.Data set.WebHome]]
Helena 2.1 261 )))
Helena 31.1 262 |(% style="width:191px" %)indexReportingPeriod|(% style="width:565px" %)A compliant indexing application must index the [[time period>>doc:xwiki:Glossary.Time period.WebHome]] range(s) for which data are present in the [[Dataset>>doc:xwiki:Glossary.Data set.WebHome]]. The validity period of the Metadatasets may also be indexed.
Helena 2.1 263
264 === {{id name="_Toc93850"/}}5.2.5 Data and Reference Metadata Discovery ===
265
266 The Data and Metadata Discovery Service implements the following Registry Interfaces:
267
268 * QueryRegistrationRequest
269 * QueryRegistrationResponse
270
271 === {{id name="_Toc93851"/}}5.2.6 Subscription and Notification ===
272
Helena 31.1 273 The [[Subscription>>doc:xwiki:Glossary.Subscription.WebHome]] and [[Notification>>doc:xwiki:Glossary.Notification.WebHome]] Service implements the following Registry Interfaces:
Helena 2.1 274
275 * SubmitSubscriptionRequest
276 * SubmitSubscriptionResponse
277 * NotifyRegistryEvent
278
Helena 31.1 279 The data sharing paradigm relies upon the consumers of data and metadata being able to pull information from [[data providers>>doc:xwiki:Glossary.Data provider.WebHome]]’ dissemination systems. For this to work efficiently, a [[data consumer>>doc:xwiki:Glossary.Data consumer.WebHome]] needs to know when to pull data, i.e., when something has changed in the registry (e.g., a [[dataset>>doc:xwiki:Glossary.Data set.WebHome]] has been updated and re-registered). Additionally, [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] systems may also want to know if a new [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]], [[Code List>>doc:xwiki:Glossary.Code list.WebHome]] or [[Metadata Structure Definition>>doc:xwiki:Glossary.Metadata structure definition.WebHome]] has been added. The [[Subscription>>doc:xwiki:Glossary.Subscription.WebHome]] and [[Notification>>doc:xwiki:Glossary.Notification.WebHome]] Service comprises two parts: [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] management, and [[notification>>doc:xwiki:Glossary.Notification.WebHome]].
Helena 2.1 280
Helena 31.1 281 [[Subscription>>doc:xwiki:Glossary.Subscription.WebHome]] management involves a user submitting a [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] request which contains:
Helena 2.1 282
Helena 31.1 283 * a query or (% style="color:#2ecc71" %)constraint(%%) expression in terms of a filter which defines the events for which the user is interested (e.g., new data for a specific [[dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]], or for a domain [[category>>doc:xwiki:Glossary.Category.WebHome]], or changes to a [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]]).
284 * a list of URIs or endpoints to which an XML [[notification>>doc:xwiki:Glossary.Notification.WebHome]] message can be sent. Supported endpoint types will be email (mailto~: ) and HTTP POST (a normal http:~/~/ address);
Helena 2.1 285 * request for a list of submitted subscriptions;
Helena 31.1 286 * deletion of a [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]];
Helena 2.1 287
Helena 31.1 288 [[Notification>>doc:xwiki:Glossary.Notification.WebHome]] requires that the [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] repository and the provisioning [[metadata repository>>doc:xwiki:Glossary.Metadata repository.WebHome]] monitor any event which is of interest to a user (the object of a [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] request query), and to issue an [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] [[notification>>doc:xwiki:Glossary.Notification.WebHome]] document to the endpoints specified in the relevant subscriptions.
Helena 2.1 289
290 === {{id name="_Toc93852"/}}5.2.7 Registry Behaviour ===
291
Helena 31.1 292 The following table defines the behaviour of the [[SDMX Registry>>doc:xwiki:Glossary.SDMX Registry.WebHome]] for the various Registry Interface messages. It should be noted, though, that as of [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] 3.0, an extended versioning scheme newly including semantic versioning is foreseen for all [[Maintainable Artefacts>>doc:xwiki:Glossary.Maintainable artefact.WebHome]]. Moreover, while the old versioning scheme is allowed, given there is no more a "final" flag, there is no way guaranteeing the consistency across (% style="color:#2ecc71" %)version(%%) of a Maintainable, unless semantic versioning is used.
Helena 2.1 293
Helena 31.1 294 Given the above, the behaviour described in the following table concerns either draft [[Artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] using semantic versioning or any [[Artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] 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>>doc:xwiki:Glossary.Artefact.WebHome]] that follows semantic versioning, unless a newer (% style="color:#2ecc71" %)version(%%) is introduced according to the semantic versioning rules. Furthermore, even when draft [[Artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] are submitted, the registry has to verify semantic versioning is respected against the previous non-draft (% style="color:#2ecc71" %)versions(%%). It is worth noting that the rules for semantic versioning and replacing or maintaining semantically versioned [[Artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] applies to externally shared [[Artefacts>>doc:xwiki:Glossary.Artefact.WebHome]]. This means that any system may internally perform any change within a (% style="color:#2ecc71" %)version(%%) of an [[Artefact>>doc:xwiki:Glossary.Artefact.WebHome]], until the latter is shared outside of that system or becomes public. Then (as also explained in the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] Standards Section 6 “Technical Notes”) the [[Artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] must adhere to the Semantic Versioning rules.
Helena 2.1 295
Helena 21.6 296 (% style="width:757.294px" %)
297 |(% style="width:188px" %)**Interface**|(% style="width:542px" %)**Behaviour**
298 |(% style="width:188px" %)All|(% style="width:542px" %)(((
Helena 31.1 299 1. If the action is set to “replace” (or a [[maintainable Artefact>>doc:xwiki:Glossary.Maintainable artefact.WebHome]] is PUT or POSTed) then the entire contents of the existing maintainable object in the Registry MUST be replaced by the object submitted.
Helena 2.1 300 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.
Helena 31.1 301 1. If the action is set to “delete” (or a [[maintainable Artefact>>doc:xwiki:Glossary.Maintainable artefact.WebHome]] is DELETEd) then the Registry MUST verify that the object can be deleted. In order to qualify for deletion, the object must:
Helena 2.1 302
Helena 31.1 303 a) Be a draft (% style="color:#2ecc71" %)version(%%).
Helena 2.1 304 )))
Helena 21.6 305 |(% style="width:188px" %) |(% style="width:542px" %)(((
306 b) Not be explicitly{{footnote}}With semantic versioning, it is allowed to reference a range of artefacts, e.g., a DSD referencing a Codelist with version 1.2.3+ means all patch versions greater than 1.2.3. This means that deleting 1.2.4-draft does not break integrity of the aforementioned DSD.{{/footnote}} referenced from any other object in the Registry.
Helena 31.1 307 4) The semantic versioning rules in the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] documentation MUST be obeyed.
Helena 2.1 308 )))
Helena 31.1 309 |(% style="width:188px" %)Structure submission|(% style="width:542px" %)Structures are submitted at the (% style="color:#2ecc71" %)level(%%) of the [[Maintainable Artefact>>doc:xwiki:Glossary.Maintainable artefact.WebHome]] and the behaviour in “All” above is therefore at the (% style="color:#2ecc71" %)level(%%) of the [[Maintainable Artefact>>doc:xwiki:Glossary.Maintainable artefact.WebHome]].
310 |(% style="width:188px" %)SubmitRegistrationRequest|(% style="width:542px" %)If the datasource is a file (simple datasource) then the file MAY be retrieved and indexed according to the Boolean [[attributes>>doc:xwiki:Glossary.Attribute.WebHome]] set in the Registration. For a queryable datasource the Registry MAY validate that the source exists and can accept an [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] data query.
Helena 2.1 311
312 = {{id name="_Toc93853"/}}6 Identification of SDMX Objects =
313
314 == {{id name="_Toc93854"/}}6.1 Identification, Versioning, and Maintenance ==
315
Helena 31.1 316 All major classes of the [[SDMX Information model>>doc:xwiki:Glossary.SDMX Information Model.WebHome]] inherit from one of:
Helena 2.1 317
318 * //**IdentifiableArtefact**// – this gives an object the ability to be uniquely identified (see following section on identification), to have a user-defined URI, and to have multi-lingual annotations.
319 * //**NameableArtefact**// – this has all of the features of //IdentifiableArtefact// plus the ability to have a multi-lingual name and description.
Helena 31.1 320 * //**VersionableArtefact**// – this has all of the above features plus a (% style="color:#2ecc71" %)version(%%) number, according to the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] versioning rules in [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] Standards Section 6 “Technical Notes”, paragraph “4.3 Versioning”, and a validity period.
Helena 2.1 321 * //**MaintainableArtefact**// – this has all of the above features, plus registry and structure URIs, and an association to the maintenance organisation of the object.
322
323 === {{id name="_Toc93855"/}}6.1.1 Identification, Naming, Versioning, and Maintenance Model ===
324
325 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_1683f36a.jpg||height="688" width="587"]]
326
327 **Figure 5: Class diagram of fundamental artefacts in the SDMX-IM**
328
Helena 31.1 329 The table below shows the identification and related data [[attributes>>doc:xwiki:Glossary.Attribute.WebHome]] to be stored in a registry for objects that are one of:
Helena 2.1 330
Helena 23.1 331 * //nnotable//
Helena 2.1 332 * //Identifiable//
333 * //Nameable//
334 * //Versionable//
335 * //Maintainable//
336
337 (((
Helena 21.6 338 (% style="width:1052.29px" %)
339 |**Object Type**|(% style="width:241px" %)**Data Attributes**|(% style="width:156px" %)**Status**|**Data type**|(% style="width:457px" %)**Notes**
340 |(% rowspan="4" %)//Annotable//|(% style="width:241px" %)AnnotationTitle|(% style="width:156px" %)C|string|(% style="width:457px" %)
341 |(% style="width:241px" %)AnnotationType|(% style="width:156px" %)C|string|(% style="width:457px" %)
342 |(% style="width:241px" %)AnnotationURN|(% style="width:156px" %)C|string|(% style="width:457px" %)
343 |(% style="width:241px" %)AnnotationText in the form of InternationalString|(% style="width:156px" %)C| |(% style="width:457px" %)This can have languagespecific variants
344 |(% rowspan="4" %)//Identifiable//|(% style="width:241px" %)All content as for //Annotable// plus|(% style="width:156px" %) | |(% style="width:457px" %)
345 |(% style="width:241px" %)id|(% style="width:156px" %)M|string|(% style="width:457px" %)
346 |(% style="width:241px" %)uri|(% style="width:156px" %)C|string|(% style="width:457px" %)
347 |(% style="width:241px" %)urn|(% style="width:156px" %)C|string|(% style="width:457px" %)Although the urn is computable and therefore may not be submitted or stored physically, the Registry must return the urn for each object, and must be able to service a query on an object referenced solely by its urn.
348 |(% rowspan="3" %)//Nameable//|(% style="width:241px" %)All content as for //Identifiable// plus|(% style="width:156px" %) | |(% style="width:457px" %)
349 |(% style="width:241px" %)Name in the form of InternationalString|(% style="width:156px" %)M|string|(% style="width:457px" %)This can have language specific variants.
350 |(% style="width:241px" %)Description in the form of InternationalString|(% style="width:156px" %)C|string|(% style="width:457px" %)This can have language specific variants.
351 |(% rowspan="4" %)//Versionable//|(% style="width:241px" %)All content as for //Identifiable// plus|(% style="width:156px" %) | |(% style="width:457px" %)
Helena 31.1 352 |(% style="width:241px" %)(% style="color:#2ecc71" %)version|(% style="width:156px" %)M|string|(% style="width:457px" %)This is the (% style="color:#2ecc71" %)version(%%) number according to [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] versioning rules.
Helena 21.6 353 |(% style="width:241px" %)validFrom|(% style="width:156px" %)C|Date/time|(% style="width:457px" %)
354 |(% style="width:241px" %)validTo|(% style="width:156px" %)C|Date/time|(% style="width:457px" %)
355 |//Maintainable//|(% style="width:241px" %)All content as for //Versionable// plus|(% style="width:156px" %) | |(% style="width:457px" %)
Helena 31.1 356 | |(% style="width:241px" %)isExternalReference|(% style="width:156px" %)C|boolean|(% style="width:457px" %)Value of “true” indicates that the actual resource is held outside of this registry. The actual reference is given in the registry URI or the structureURL, each of which must return a valid [[SDMX-ML>>doc:xwiki:Glossary.SDMX-ML.WebHome]] file.
Helena 21.6 357 | |(% style="width:241px" %)serviceURL|(% style="width:156px" %)C|string|(% style="width:457px" %)The url of the service that can be queried for this resource.
358 | |(% style="width:241px" %)structureURL|(% style="width:156px" %)C|string|(% style="width:457px" %)The url of the resource.
359 | |(% style="width:241px" %)(Maintenance) organisationId|(% style="width:156px" %)M|string|(% style="width:457px" %)The object must be linked to a maintenance organisation, i.e., Agency or Metadata Provider.
Helena 2.1 360 )))
361
362 **Table 1: Common Attributes of Object Types**
363
Helena 23.1 364 == {{id name="_Toc93856"/}}6.2 Unique identification of SDMX objects ==
Helena 2.1 365
Helena 23.1 366 === {{id name="_Toc93857"/}}6.2.1 Agencies and Metadata Providers ===
Helena 2.1 367
Helena 31.1 368 The [[Maintenance Agency>>doc:xwiki:Glossary.Maintenance agency.WebHome]] in [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] is maintained in an [[Agency Scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]] which itself is a sub class of Organisation Scheme – this is shown in the class diagram below.
Helena 2.1 369
370 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_c71516c5.jpg||height="313" width="554"]]
371
372 **Figure 6: Agency Scheme Model**
373
Helena 31.1 374 The Agency in [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] is extremely important. The Agency Id system used in [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] is an nlevel structure. The top (% style="color:#2ecc71" %)level(%%) of this structure is maintained by [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]. Any Agency in this top (% style="color:#2ecc71" %)level(%%) can declare sub agencies and any sub agency can also declare sub agencies. The [[Agency Scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]] has a fixed id and (% style="color:#2ecc71" %)version(%%) ((% style="color:#2ecc71" %)version(%%) ‘1.0’) and is never declared explicitly in the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] object identification mechanism.
Helena 2.1 375
Helena 31.1 376 In order to achieve this [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] adopts the following rules:
Helena 2.1 377
Helena 31.1 378 * Agencies are maintained in an [[Agency Scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]] (which is a sub class of Organisation Scheme).
379 * The agency of the [[Agency Scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]] must also be declared in a (different) [[Agency Scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]].
380 * The “top-(% style="color:#2ecc71" %)level(%%)” agency is [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] and maintains the “top-(% style="color:#2ecc71" %)level(%%)” [[Agency Scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]].
381 * Agencies registered in the top-(% style="color:#2ecc71" %)level(%%) scheme can themselves maintain a single [[Agency Scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]]. Agencies in these second-tier schemes can themselves maintain a single [[Agency Scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]] and so on.
382 * The AgencyScheme has a fixed (% style="color:#2ecc71" %)version(%%), i.e., ‘1.0’, hence it is an exception from the Semantic Versioning that other [[Artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] follow.
Helena 2.1 383 * There can be only one AgencyScheme maintained by any one Agency. It has a fixed id of AGENCIES.
Helena 31.1 384 * The /hierarchy of Organisation is not inherited by [[Maintenance Agency>>doc:xwiki:Glossary.Maintenance agency.WebHome]] – thus each [[Agency Scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]] is a flat list of Maintenance Agencies.
385 * The format of the agency identifier is agencyID.agencyID etc. The top-(% style="color:#2ecc71" %)level(%%) agency in this identification mechanism is the agency registered in the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] [[agency scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]].
Helena 2.1 386
Helena 31.1 387 In other words, [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] is not a part of the hierarchical ID structure for agencies. However, [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] is, itself, a [[maintenance agency>>doc:xwiki:Glossary.Maintenance agency.WebHome]] and is contained in the top-(% style="color:#2ecc71" %)level(%%) [[Agency Scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]].
Helena 2.1 388
389 This supports a hierarchical structure of agencyID.
390
391 An example is shown below.
392
393 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_eaceb05e.jpg||height="251" width="432"]]
394
Helena 31.1 395 **Figure 7: Example of Hierarchic Structure of Agencies **
Helena 2.1 396
Helena 31.1 397 The following organizations maintain an Agency Scheme.
398
Helena 2.1 399 * SDMX – contains Agencies AA, BB
400 * AA – contains Agencies CC, DD
401 * BB – contains Agencies CC, DD
402 * DD – Contains Agency EE
403
Helena 31.1 404 Each agency is identified by its full [[hierarchy>>doc:xwiki:Glossary.Hierarchy.WebHome]] excluding SDMX.
Helena 2.1 405
406 e.g., the id of EE as an agencyID is AA.DD.EE
407
408 An example of this is shown in the XML snippet below:
409
Helena 21.7 410 [[image:1747307906944-697.png]]
Helena 2.1 411
412 **Figure 8: Example Showing Use of Agency Identifiers**
413
Helena 31.1 414 Each of these [[maintenance agencies>>doc:xwiki:Glossary.Maintenance agency.WebHome]] has an identical [[Code list>>doc:xwiki:Glossary.Code list.WebHome]] with the Id CL_BOP. However, each is uniquely identified by means of the hierarchic agency structure.
Helena 2.1 415
Helena 31.1 416 Following the same principles, the Metadata Provider is the maintenance organisation for a special subset of [[Maintainable Artefacts>>doc:xwiki:Glossary.Maintainable artefact.WebHome]], i.e., the Metadatasets; the latter are the containers of [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] combined with a target that those metadata refer to.
Helena 2.1 417
Helena 21.6 418 === {{id name="_Toc93858"/}}6.2.2 Universal Resource Name (URN) ===
Helena 2.1 419
Helena 21.6 420 ==== 6.2.2.1 Introduction ====
Helena 2.1 421
Helena 31.1 422 To provide interoperability between [[SDMX Registry>>doc:xwiki:Glossary.SDMX Registry.WebHome]]/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>>doc:xwiki:Glossary.SDMX Information Model.WebHome]] objects. Most of these unique identifiers are composite (containing [[maintenance agency>>doc:xwiki:Glossary.Maintenance agency.WebHome]], 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>>doc:xwiki:Glossary.Component.WebHome]] in the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-RR APIs. In other words, the URN for any [[Identifiable Artefact>>doc:xwiki:Glossary.Identifiable artefact.WebHome]] is constructed from its [[component>>doc:xwiki:Glossary.Component.WebHome]] identifiers (agency, id, (% style="color:#2ecc71" %)version(%%) etc.).
Helena 2.1 423
Helena 21.8 424 ==== 6.2.2.2 URN Structure ====
Helena 2.1 425
Helena 21.8 426 ===== **//__Case Rules for URN__//** =====
427
Helena 2.1 428 For the URN, all parts of the string are case sensitive. The generic structure of the URN is as follows:
429
Helena 31.1 430 SDMXprefix.SDMX-IM-package-name.class-name=agencyid:maintainedobjectid(maintainedobject-(% style="color:#2ecc71" %)version(%%)).*containerobject-id.object-id
Helena 2.1 431
432 ~* this can repeat and may not be present (see explanation below)
433
Helena 31.1 434 Note that in the [[SDMX Information Model>>doc:xwiki:Glossary.SDMX Information Model.WebHome]] there are no concrete [[Versionable Artefacts>>doc:xwiki:Glossary.Versionable artefact.WebHome]] that are not a [[Maintainable Artefact>>doc:xwiki:Glossary.Maintainable artefact.WebHome]]. For this reason, the only (% style="color:#2ecc71" %)version(%%) information that is allowed is for the maintainable object.
Helena 2.1 435
Helena 31.1 436 The [[Maintenance agency>>doc:xwiki:Glossary.Maintenance agency.WebHome]] identifier is separated from the [[maintainable artefact>>doc:xwiki:Glossary.Maintainable artefact.WebHome]] identifier by a colon ‘:’. All other identifiers in the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] URN syntax are separated by a period ‘.’. The (% style="color:#2ecc71" %)version(%%) information is encapsulated in parentheses ‘()’ and adheres to the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] versioning rules, as explained in [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] Standards Section 6 “Technical Notes”, paragraph “4.3 Versioning.
Helena 2.1 437
Helena 21.7 438 ==== 6.2.2.3 Explanation of the generic structure ====
Helena 2.1 439
440 In the explanation below the actual object that is the target of the URN is called the **actual object**.
441
442 **SDMXPrefix**: urn:sdmx:org
443
444 **SDMX-IM-package-name**: sdmx.infomodel.package=
445
446 The packages are:
447
Helena 21.8 448 base
449 codelist
450 conceptscheme
451 datastructure
452 categoryscheme
453 registry
454 metadatastructure
455 process
456 structuremapping
457 transformation
458
459 **maintainable-object-id** is the identifier of the maintainable object. This will always be present as all identifiable objects are either a maintainable object or contained in a maintainable object.
460
Helena 31.1 461 **maintainable-object-(% style="color:#2ecc71" %)version(%%)** is the (% style="color:#2ecc71" %)version(%%), according to the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] versioning rules, of the maintainable object and is enclosed in parentheses ‘()’, which are always present.
Helena 21.8 462
Helena 31.1 463 **container-object-id** is the identifier of an intermediary object that contains the actual object which the URN is identifying. It is not mandatory as many actual objects do not have an intermediary container object. For instance, a [[Code>>doc:xwiki:Glossary.Code.WebHome]] is in a maintained object (Codelist) and has no intermediary container object, whereas a MetadataAttribute has an intermediary container object (MetadataAttributeDescriptor) and may have an intermediary container object, which is its parent MetadataAttribute. For this reason, the container object id may repeat, with each repetition identifying the object at the next-lower (% style="color:#2ecc71" %)level(%%) in its [[hierarchy>>doc:xwiki:Glossary.Hierarchy.WebHome]]. Note that if there is only a single containing object in the model then it is NOT included in the URN structure. This applies to AttributeDescriptor, DimensionDescriptor, and MeasureDescriptor where there can be only one such object and this object has a fixed id. Therefore, whilst each of these has a URN, the id of the AttributeDescriptor, DimensionDescriptor, and MeasureDescriptor is not included when the actual object is a DataAttribute or a Dimension/ TimeDimension, or a Measure.
Helena 21.8 464
Helena 31.1 465 Note that although a [[Code>>doc:xwiki:Glossary.Code.WebHome]] can have a parent [[Code>>doc:xwiki:Glossary.Code.WebHome]] and a (% style="color:#2ecc71" %)Concept(%%) can have a parent (% style="color:#2ecc71" %)Concept(%%) these are maintained in a flat structure and therefore do not have a containerobject-id.
Helena 2.1 466
Helena 31.1 467 For example, the sequence is agency:DSDid((% style="color:#2ecc71" %)version(%%)).DimensionId and not agency:DSDid((% style="color:#2ecc71" %)version(%%)).DimensionDescriptorId.DimensionId.
Helena 2.1 468
469 object-id is the identifier of the actual object unless the actual object is a //Maintainable// object. If present it is always the last id and is not followed by any other character.
470
Helena 21.8 471 ===== //__**Generic Examples of the URN Structure**__// =====
Helena 2.1 472
473 __Actual object is a maintainable__
474
Helena 31.1 475 SDMXPrefix.[[SDMX-IM>>doc:xwiki:Glossary.SDMX Information Model.WebHome]]-package-name.classname=agencyid:maintained-objectid((% style="color:#2ecc71" %)version(%%))
Helena 2.1 476
477 __Actual object is contained in a maintained object with no intermediate containing object__
478
Helena 31.1 479 SDMXPrefix.[[SDMX-IM>>doc:xwiki:Glossary.SDMX Information Model.WebHome]]-package-name.classname=agencyid:maintained-objectid((% style="color:#2ecc71" %)version(%%)).object-id
Helena 2.1 480
481 __Actual object is contained in a maintained object with an intermediate containing object__
482
Helena 31.1 483 SDMXPrefix.[[SDMX-IM>>doc:xwiki:Glossary.SDMX Information Model.WebHome]]-package-name.classname=agencyid:maintained-objectid((% style="color:#2ecc71" %)version(%%)).contained-object-id.object-id
Helena 2.1 484
485 __Actual object is contained in a maintained object with no intermediate containing__ __object but__ __the object type itself is hierarchical__
486
Helena 31.1 487 In this case the object id may not be unique in itself but only within the context of the [[hierarchy>>doc:xwiki:Glossary.Hierarchy.WebHome]]. In the general syntax of the URN all intermediary objects in the structure (with the exception, of course, of the maintained object) are shown as a contained object. An example here would be a [[Category>>doc:xwiki:Glossary.Category.WebHome]] in a CategoryScheme. The [[Category>>doc:xwiki:Glossary.Category.WebHome]] is hierarchical, and all intermediate [[Categories>>doc:xwiki:Glossary.Category.WebHome]] are shown as a contained object. The example below shows the generic structure for CategoryScheme/ [[Category>>doc:xwiki:Glossary.Category.WebHome]]/ [[Category>>doc:xwiki:Glossary.Category.WebHome]].
Helena 2.1 488
Helena 31.1 489 SDMXPrefix.[[SDMX-IM>>doc:xwiki:Glossary.SDMX Information Model.WebHome]]-package-name.classname=agencyid:maintained-objectid((% style="color:#2ecc71" %)version(%%)).contained-object-id.object-id
Helena 2.1 490
491 Actual object is contained in a maintained object with an intermediate containing object and the object type itself is hierarchical
492
Helena 31.1 493 In this case the generic syntax is the same as for the example above as the parent object is regarded as a containing object, even if it is of the same type. An example here is a MetadataAttribute where the contained objects are MetadataAttributeDescriptor (first contained object id) and MetadataAttribute (subsequent contained object ids). The example below shows the generic structure for [[MSD>>doc:xwiki:Glossary.Metadata structure definition.WebHome]]/ MetadataAttributeDescriptor/ MetadataAttribute/ MetadataAttribute
Helena 2.1 494
Helena 31.1 495 SDMXPrefix.[[SDMX-IM>>doc:xwiki:Glossary.SDMX Information Model.WebHome]]-package-name.classname=agencyid:maintained-objectid((% style="color:#2ecc71" %)version(%%)).contained-object-id.contained-object-id contained-objectid.object-id
Helena 2.1 496
Helena 21.9 497 ===== //__**Concrete Examples of the URN Structure**__// =====
Helena 2.1 498
Helena 31.1 499 The [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] CRED_EXT_DEBT of legacy (% style="color:#2ecc71" %)version(%%) 2.1 maintained by the toplevel Agency TFFS would have the URN:
Helena 2.1 500
Helena 29.3 501 urn:sdmx:org.sdmx.infomodel.datastructure.DataStucture=TFFS:CRED_EXT_ DEBT(2.1)
Helena 2.1 502
Helena 31.1 503 The URN for a [[code>>doc:xwiki:Glossary.Code.WebHome]] for Argentina maintained by ISO in the [[code list>>doc:xwiki:Glossary.Code list.WebHome]] CL_3166A2 of semantic (% style="color:#2ecc71" %)version(%%) 1.0.0 would be:
Helena 2.1 504
Helena 29.3 505 urn:sdmx:org.sdmx.infomodel.codelist.Code=ISO:CL_3166A2(1.0.0).AR
Helena 2.1 506
Helena 31.1 507 The URN for a [[category>>doc:xwiki:Glossary.Category.WebHome]] (id of 1) which has parent [[category>>doc:xwiki:Glossary.Category.WebHome]] (id of 2) maintained by [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] in the [[category scheme>>doc:xwiki:Glossary.Category scheme.WebHome]] SUBJECT_MATTER_DOMAINS of the semantic extended (% style="color:#2ecc71" %)version(%%) 1.0.0draft would be:
Helena 2.1 508
Helena 29.3 509 urn:sdmx:org.sdmx.infomodel.categoryscheme.Category=SDMX:SUBJECT_MATT ER_DOMAINS(1.0.0-draft).1.2
Helena 2.1 510
Helena 31.1 511 The URN for a Metadata [[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]] maintained by [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] in the [[MSD>>doc:xwiki:Glossary.Metadata structure definition.WebHome]] CONTACT_METADATA of semantic (% style="color:#2ecc71" %)version(%%) 1.0.0 where the [[hierarchy>>doc:xwiki:Glossary.Hierarchy.WebHome]] of the Metadata [[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]] is CONTACT_DETAILS/CONTACT_NAME would be:
Helena 2.1 512
Helena 29.3 513 urn:sdmx:org.sdmx.infomodel.metadatastructure.MetadataAttribute=SDMX: CONTACT_METADATA(1.0.0).CONTACT_DETAILS.CONTACT_NAME
Helena 2.1 514
Helena 31.1 515 The TFFS defines ABC as a sub-Agency of TFFS then the URN of a [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] maintained by ABC and identified as EXTERNAL_DEBT of semantic (% style="color:#2ecc71" %)version(%%) 1.0.0 would be:
Helena 2.1 516
Helena 29.3 517 urn:sdmx:org.sdmx.infomodel.datastructure.Dataflow=TFFS.ABC:EXTERNAL_ DEBT(1.0.0)
Helena 2.1 518
Helena 31.1 519 The [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-RR MUST support this globally unique identification scheme. The [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-RR MUST be able to create the URN from the individual identification [[attributes>>doc:xwiki:Glossary.Attribute.WebHome]] submitted and to transform the URN to these identification [[attributes>>doc:xwiki:Glossary.Attribute.WebHome]]. The identification [[attributes>>doc:xwiki:Glossary.Attribute.WebHome]] are:
Helena 2.1 520
Helena 31.1 521 * **Identifiable and [[Nameable Artefacts>>doc:xwiki:Glossary.Nameable artefact.WebHome]]**: id (in some cases this id may be hierarchic)
522 * **[[Maintainable Artefacts>>doc:xwiki:Glossary.Maintainable artefact.WebHome]]**: id, (% style="color:#2ecc71" %)version(%%), agencyId
Helena 2.1 523
Helena 31.1 524 The [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-RR MUST be able to resolve the unique identifier of an [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] [[artefact>>doc:xwiki:Glossary.Artefact.WebHome]] and to produce an [[SDMX-ML>>doc:xwiki:Glossary.SDMX-ML.WebHome]] rendering of that [[artefact>>doc:xwiki:Glossary.Artefact.WebHome]] if it is located in the Registry.
Helena 2.1 525
Helena 21.7 526 === {{id name="_Toc93859"/}}6.2.3 Table of SDMX-IM Packages and Classes ===
Helena 2.1 527
528 The table below lists all of the packages in the SDMX-IM together with the concrete classes that are in these packages and whose objects have a URN.
529
Helena 21.7 530 (% style="width:651.294px" %)
531 |(% style="width:134px" %)**Package**|(% style="width:502px" %)**URN class name (model class name where this is different)**
532 |(% style="width:134px" %)base|(% style="width:502px" %)Agency
533 |(% style="width:134px" %) |(% style="width:502px" %)AgencyScheme
534 |(% style="width:134px" %) |(% style="width:502px" %)DataConsumer
535 |(% style="width:134px" %) |(% style="width:502px" %)DataConsumerScheme
536 |(% style="width:134px" %) |(% style="width:502px" %)DataProvider
537 |(% style="width:134px" %) |(% style="width:502px" %)DataProviderScheme
538 |(% style="width:134px" %) |(% style="width:502px" %)MetadataProvider
539 |(% style="width:134px" %) |(% style="width:502px" %)MetadataProviderScheme
540 |(% style="width:134px" %) |(% style="width:502px" %)OrganisationUnit
541 |(% style="width:134px" %) |(% style="width:502px" %)OrganisationUnitScheme
542 |(% style="width:134px" %)datastructure|(% style="width:502px" %)AttributeDescriptor
543 |(% style="width:134px" %) |(% style="width:502px" %)DataAttribute
544 |(% style="width:134px" %) |(% style="width:502px" %)Dataflow
545 |(% style="width:134px" %) |(% style="width:502px" %)DataStructure (DataStructureDefinition)
546 |(% style="width:134px" %) |(% style="width:502px" %)Dimension
547 |(% style="width:134px" %) |(% style="width:502px" %)DimensionDescriptor
548 |(% style="width:134px" %) |(% style="width:502px" %)GroupDimensionDescriptor
549 |(% style="width:134px" %) |(% style="width:502px" %)Measure
550 |(% style="width:134px" %) |(% style="width:502px" %)MeasureDescriptor
551 |(% style="width:134px" %) |(% style="width:502px" %)TimeDimension
552 |(% style="width:134px" %) |(% style="width:502px" %)
553 |(% style="width:134px" %)metadatastructure|(% style="width:502px" %)MetadataAttribute
554 |(% style="width:134px" %) |(% style="width:502px" %)MetadataAttributeDescriptor
555 |(% style="width:134px" %) |(% style="width:502px" %)MetadataStructure MetadataStructureDefinition)
556 |(% style="width:134px" %) |(% style="width:502px" %)Metadataflow
557 |(% style="width:134px" %) |(% style="width:502px" %)MetadataSet
558 |(% style="width:134px" %) |(% style="width:502px" %)
559 |(% style="width:134px" %)process|(% style="width:502px" %)Process
560 |(% style="width:134px" %) |(% style="width:502px" %)ProcessStep
561 |(% style="width:134px" %) |(% style="width:502px" %)Transition
562 |(% style="width:134px" %) |(% style="width:502px" %)
563 |(% style="width:134px" %)registry|(% style="width:502px" %)DataConstraint
564 |(% style="width:134px" %) |(% style="width:502px" %)MetadataConstraint
565 |(% style="width:134px" %) |(% style="width:502px" %)MetadataProvisionAgreement
566 |(% style="width:134px" %) |(% style="width:502px" %)ProvisionAgreement
567 |(% style="width:134px" %) |(% style="width:502px" %)Subscription
568 |(% style="width:134px" %) |(% style="width:502px" %)
569 |(% style="width:134px" %)structuremapping|(% style="width:502px" %)CategorySchemeMap
570 |(% style="width:134px" %) |(% style="width:502px" %)ConceptSchemeMap
571 |(% style="width:134px" %) |(% style="width:502px" %)OrganisationSchemeMap
572 |(% style="width:134px" %) |(% style="width:502px" %)ReportingTaxonomyMap
573 |(% style="width:134px" %) |(% style="width:502px" %)RepresentationMap
574 |(% style="width:134px" %) |(% style="width:502px" %)StructureMap
575 |(% style="width:134px" %) |(% style="width:502px" %)
576 |(% style="width:134px" %)codelist|(% style="width:502px" %)Code
577 |(% style="width:134px" %) |(% style="width:502px" %)Codelist
578 |(% style="width:134px" %) |(% style="width:502px" %)HierarchicalCode
579 |(% style="width:134px" %) |(% style="width:502px" %)Hierarchy
580 |(% style="width:134px" %) |(% style="width:502px" %)HierarchyAssociation
581 |(% style="width:134px" %) |(% style="width:502px" %)Level
582 |(% style="width:134px" %) |(% style="width:502px" %)ValueList
583 |(% style="width:134px" %) |(% style="width:502px" %)
584 |(% style="width:134px" %)categoryscheme|(% style="width:502px" %)Categorisation
585 |(% style="width:134px" %) |(% style="width:502px" %)Category
586 |(% style="width:134px" %) |(% style="width:502px" %)CategoryScheme
587 |(% style="width:134px" %) |(% style="width:502px" %)ReportingCategory
588 |(% style="width:134px" %) |(% style="width:502px" %)ReportingTaxonomy
589 |(% style="width:134px" %)conceptscheme|(% style="width:502px" %)Concept
590 |(% style="width:134px" %) |(% style="width:502px" %)ConceptScheme
591 |(% style="width:134px" %) |(% style="width:502px" %)
592 |(% style="width:134px" %)transformation|(% style="width:502px" %)CustomType
593 |(% style="width:134px" %) |(% style="width:502px" %)CustomTypeScheme
594 |(% style="width:134px" %) |(% style="width:502px" %)NamePersonalisation
595 |(% style="width:134px" %) |(% style="width:502px" %)NamePersonalisationScheme
596 |(% style="width:134px" %) |(% style="width:502px" %)Ruleset
597 |(% style="width:134px" %) |(% style="width:502px" %)RulesetScheme
598 |(% style="width:134px" %) |(% style="width:502px" %)Transformation
599 |(% style="width:134px" %) |(% style="width:502px" %)TransformationScheme
600 |(% style="width:134px" %) |(% style="width:502px" %)UserDefinedOperator
601 |(% style="width:134px" %) |(% style="width:502px" %)UserDefinedOperatorScheme
602 |(% style="width:134px" %) |(% style="width:502px" %)VtlCodelistMapping
603 |(% style="width:134px" %) |(% style="width:502px" %)VtlConceptMapping
604 |(% style="width:134px" %) |(% style="width:502px" %)VtlDataflowMapping
605 |(% style="width:134px" %) |(% style="width:502px" %)VtlMappingScheme
Helena 2.1 606
607 **Table 2: SDMX-IM Packages and Contained Classes**
608
609 === {{id name="_Toc93860"/}}6.2.4 URN Identification components of SDMX objects ===
610
Helena 31.1 611 The table below describes the identification [[components>>doc:xwiki:Glossary.Component.WebHome]] for all [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] object types that have identification. Note the actual [[attributes>>doc:xwiki:Glossary.Attribute.WebHome]] are all ‘id’ but have been prefixed by their class name or multiple class names to show navigation, e.g., ‘conceptSchemeAgencyId’ is really the ‘Id’ [[attribute>>doc:xwiki:Glossary.Attribute.WebHome]] of the Agency class that is associated to the ConceptScheme.
Helena 2.1 612
613 Note that for brevity the URN examples omit the prefix (classnames in italics indicate maintainable objects, keywords in bold indicate fixed value) All URNs have the prefix:
614
615 urn:sdmx.org.sdmx.infomodel.{package}.{classname}=
616
Helena 30.1 617 (% style="width:1419.29px" %)
618 |(% style="width:227px" %)**Classname**|(% style="width:645px" %)**Ending URN pattern**|(% style="width:543px" %)**Example**
619 |(% style="width:227px" %)Agency{{footnote}}The identification of an Agency in the URN structure for the maintainable object is by means of the agencyId. The AgencyScheme is not identified as SDMX has a mechanism for identifying an Agency uniquely by its Id. Note that this Id may be hierarchical. For example, a sub-agency of IMF is referred like this: IMF.SubAgency1{{/footnote}}|(% style="width:645px" %)agencySchemeAgencyId:**AGENCIES**(**1.0**).agencyId|(% style="width:543px" %)ECB:**AGENCIES**(**1.0**).AA
620 |(% style="width:227px" %)//AgencyScheme//|(% style="width:645px" %)agencySchemeAgencyId:**AGENCIES**(**1.0**)|(% style="width:543px" %)ECB:**AGENCIES**(**1.0**)
621 |(% style="width:227px" %)//Categorisation//|(% style="width:645px" %)categorisationAgencyId:categorisationId(version)|(% style="width:543px" %)IMF:cat001(1.0.0)
622 |(% style="width:227px" %)Category|(% style="width:645px" %)categorySchemeAgencyId:categorySchemeId(versi on).categoryId.categoryId.categoryId etc.|(% style="width:543px" %)IMF:SDDS(1.0.0):level_1_category.level_2_category …
623 |(% style="width:227px" %)//CategoryScheme//|(% style="width:645px" %)categorySchemeAgencyId:categorySchemeId(versi on)|(% style="width:543px" %)IMF:SDDS(1.0.0)
624 |(% style="width:227px" %)//CategorySchemeMap//|(% style="width:645px" %)(((
Helena 21.9 625 catSchemeMapAgencyId:catSchemeMapId(version)
Helena 30.1 626 )))|(% style="width:543px" %)SDMX:EUROSTAT_SUBJECT_DOMAIN(1.0.0)
627 |(% style="width:227px" %)Code|(% style="width:645px" %)codeListAgencyId:codelistId(version).codeId|(% style="width:543px" %)SDMX:CL_FREQ(1.0.0).Q
628 |(% style="width:227px" %)//Codelist//|(% style="width:645px" %)codeListAgencyId:codeListId(version)|(% style="width:543px" %)SDMX:CL_FREQ(1.0.0)
629 |(% style="width:227px" %)ComponentMap|(% style="width:645px" %)structureMapAgencyId:structureMap(version).com ponentMapId|(% style="width:543px" %)SDMX:BOP_STRUCTURES(1.0.0).REF_AREA_TO_COUNT RY
630 |(% style="width:227px" %)Concept|(% style="width:645px" %)conceptSchemeAgencyId:conceptSchemeId(versio n).conceptId|(% style="width:543px" %)SDMX:CROSS_DOMAIN_CONCEPTS(1.0.0).FREQ
631 |(% style="width:227px" %)//ConceptScheme//|(% style="width:645px" %)conceptSchemeAgencyId:conceptSchemeId(versio n)|(% style="width:543px" %)SDMX:CROSS_DOMAIN_CONCEPTS(1.0.0)
632 |(% style="width:227px" %)//ConceptSchemeMap//|(% style="width:645px" %)(((
Helena 2.1 633 conceptSchemeMapAgencyId:conceptSchemeMap
634 Id(version)
Helena 30.1 635 )))|(% style="width:543px" %)SDMX:CONCEPT_MAP(1.0.0)
636 |(% style="width:227px" %)CustomType|(% style="width:645px" %)customTypeSchemeAgencyId customTypeSchemeId(version) customTypeId|(% style="width:543px" %)ECB: CUSTOM_TYPE_SCHEME(1.0.0).CUSTOM_TYPE_1
637 |(% style="width:227px" %)//CustomTypeScheme//|(% style="width:645px" %)customTypeSchemeAgencyId customTypeSchemeId(version)|(% style="width:543px" %)ECB:CUSTOM_TYPE_SCHEME(1.0.0)
638 |(% style="width:227px" %)DataAttrribute|(% style="width:645px" %)dataStructureDefinitionAgencyId:dataStructureDef initionId(version).dataAttributeId|(% style="width:543px" %)TFFS:EXT_DEBT(1.0.0).OBS_STATUS
639 |(% style="width:227px" %)//DataConstraint//|(% style="width:645px" %)dataConstraintAgencyId:dataConstraintId(version)|(% style="width:543px" %)TFFS:CREDITOR_DATA_CONTENT(1.0.0)
640 |(% style="width:229px" %)DataConsumer|(% style="width:645px" %)dataConsumerSchemeAgencyId:**DATA_CONSUME RS**(**1.0**).dataConsumerId|(% style="width:543px" %)SDMX:**DATA_CONSUMERS**(**1.0**).CONSUMER_1
641 |(% style="width:229px" %)//DataConsumerScheme//|(% style="width:645px" %)(((
Helena 21.9 642 dataConsumerSchemeAgencyId:**DATA_CONSUME RS**(**1.0**)
Helena 30.1 643 )))|(% style="width:543px" %)SDMX:**DATA_CONSUMERS**(**1.0**)
644 |(% style="width:229px" %)//Dataflow//|(% style="width:645px" %)dataflowAgencyId:dataflowId(version)|(% style="width:543px" %)TFFS:CRED_EXT_DEBT(1.0.0)
645 |(% style="width:229px" %)DataProvider|(% style="width:645px" %)(((
Helena 21.9 646 dataProviderSchemeAgencyId:**DATA_PROVIDERS**(**1.0**).dataProviderId
Helena 30.1 647 )))|(% style="width:543px" %)SDMX:**DATA_PROVIDERS**(**1.0**).PROVIDER_1
648 |(% style="width:229px" %)//DataProviderScheme//|(% style="width:645px" %)(((
Helena 21.9 649 dataProviderSchemeAgencyId:**DATA_PROVIDERS**(**1.0**)
Helena 30.1 650 )))|(% style="width:543px" %)SDMX:**DATA_PROVIDERS**(**1.0**)
651 |(% style="width:229px" %)//DataStructure//|(% style="width:645px" %)dataStructureDefinitionAgencyId:dataStructureDef initionId(version)|(% style="width:543px" %)TFFS:EXT_DEBT(1.0.0)
652 |(% style="width:229px" %)Dimension|(% style="width:645px" %)dataStructureDefinitionAgencyId:dataStructureDef initionId(version).dimensionId|(% style="width:543px" %)TFFS:EXT_DEBT(1.0.0).FREQ
Helena 29.5 653 |(% style="width:229px" %)(((
Helena 2.1 654 DimensionDescriptor
655 MeasureDescriptor
656 AttributeDescriptor
Helena 30.1 657 )))|(% style="width:645px" %)dataStructureDefinitionAgencyId:dataStructureDef initionId(version).componentListId where the componentListId is the name of the class (there is only one occurrence of each in the Data Structure Definition)|(% style="width:543px" %)(((
Helena 2.1 658 TFFS:EXT_DEBT(1.0.0).DimensionDescriptor
659 TFFS:EXT_DEBT(1.0.0).MeasureDescriptor
660 TFFS:EXT_DEBT(1.0.0).AttributeDescriptor
661 )))
Helena 30.1 662 |(% style="width:229px" %)GroupDimensionDescriptor|(% style="width:645px" %)dataStructureDefinitionAgencyId:dataStructureDef initionId(version).groupDimensionDescriptorId|(% style="width:543px" %)TFFS:EXT_DEBT(1.0.0).SIBLING
663 |(% style="width:229px" %)HierarchicalCode|(% style="width:645px" %)hierarchyAgencyId:hierarchyId(version).hierarchica lCode.hierarchicalCode|(% style="width:543px" %)UNESCO:H-C-GOV(1.0.0).GOV_CODE1.GOV_CODE1_1
664 |(% style="width:206px" %)//Hierarchy//|(% style="width:645px" %)hierarchyAgencyId:hierarchyId(version)|(% style="width:543px" %)UNESCO:H-C-GOV(1.0.0)
665 |(% style="width:206px" %)//HierarchyAssociation//|(% style="width:645px" %)hierarchyAssociationAgencyId:hierarchyAssociatio nId(version)|(% style="width:543px" %)UNESCO:CL_EXP_SOURCE(1.0.0)
666 |(% style="width:206px" %)Level|(% style="width:645px" %)hierarchyAgencyId:hierarchyId(version).level|(% style="width:543px" %)UNESCO:H-C-GOV(1.0.0).LVL1
667 |(% style="width:206px" %)Measure|(% style="width:645px" %)dataStructureDefinitionAgencyId:dataStructureDef initionId(version).measureId|(% style="width:543px" %)TFFS:EXT_DEBT(1.0.0).OBS_VALUE
668 |(% style="width:206px" %)MetadataAttribute|(% style="width:645px" %)(((
Helena 2.1 669 msdAgencyId:msdId(version).metadataAttributeId.
670 metadataAttributeId
Helena 30.1 671 )))|(% style="width:543px" %)IMF:SDDS_MSD(1.0.0).COMPILATION.METHOD
672 |(% style="width:206px" %)MetadataAttributeDescriptor|(% style="width:645px" %)msdAgencyId:msdId(version).metadataAttributeDe scriptorId|(% style="width:543px" %)IMF:SDDS_MSD(1.0.0).MetadataAttributeDescriptor
673 |(% style="width:206px" %)//MetadataConstraint//|(% style="width:645px" %)metadataConstraintAgencyId:metadataConstraintI d(version)|(% style="width:543px" %)TFFS:CREDITOR_METADATA_CONTENT(1.0.0)
674 |(% style="width:206px" %)//Metadataflow//|(% style="width:645px" %)metadataflowAgencyId:metadataflowId(version)|(% style="width:543px" %)IMF:SDDS_MDF(1.0.0)
675 |(% style="width:206px" %)MetadataProvider|(% style="width:645px" %)metadataProviderSchemeAgencyId:**METADATA_P ROVIDERS**(**1.0**).metadataProviderId|(% style="width:543px" %)SDMX:**METADATA_PROVIDERS**(**1.0**).MD_PROVIDER_1
676 |(% style="width:206px" %)//MetadataProviderScheme//|(% style="width:645px" %)metadataProviderSchemeAgencyId:**METADATA_P ROVIDERS**(**1.0**)|(% style="width:543px" %)SDMX:**METADATA_PROVIDERS**(**1.0**)
677 |(% style="width:206px" %)//MetadataProvisionAgreement//|(% style="width:645px" %)metadataProvisionAgreementAgencyId:metadataP rovisionAgreementId(version)|(% style="width:543px" %)IMF:SDDS_MDF_AB(1.0.0)
678 |(% style="width:206px" %)//MetadataSet//|(% style="width:645px" %)metadataProviderId:metadataSetId(version)|(% style="width:543px" %)MD_PROVIDER:METADATASET(1.0.0)
679 |(% style="width:206px" %)//MetadataStructure//|(% style="width:645px" %)msdAgencyId:msdId(version)|(% style="width:543px" %)IMF:SDDS_MSD(1.0.0)
680 |(% style="width:227px" %)NamePersonalisation|(% style="width:527px" %)namePersonalisationSchemeAgencyId namePersonalisationSchemeId(version) namePersonalisationId|(% style="width:545px" %)ECB:PSN_SCHEME(1.0.0).PSN1234
681 |(% style="width:227px" %)//NamePersonalisationScheme//|(% style="width:527px" %)namePersonalisationSchemeAgencyId namePersonalisationSchemeId(version)|(% style="width:545px" %)ECB:PSN_SCHEME(1.0.0)
682 |(% style="width:227px" %)//OrganisationSchemeMap//|(% style="width:527px" %)orgSchemeMapAgencyId:orgSchemeMapId(versio n)|(% style="width:545px" %)SDMX:AGENCIES_PROVIDERS(1.0.0)
683 |(% style="width:227px" %)OrganisationUnit|(% style="width:527px" %)organisationUnitSchemeAgencyId:organisationUnitSchemeId(version).organisationUnitId|(% style="width:545px" %)ECB:ORGANISATIONS(1.0.0).1F
684 |(% style="width:227px" %)//OrganisationUnitScheme//|(% style="width:527px" %)organisationUnitSchemeAgencyId:organisationUni tSchemeId(version)|(% style="width:545px" %)ECB:ORGANISATIONS(1.0.0)
685 |(% style="width:227px" %)//Process//|(% style="width:527px" %)processAgencyId:processId{version)|(% style="width:545px" %)BIS:PROCESS1(1.0.0)
686 |(% style="width:227px" %)ProcessStep|(% style="width:527px" %)(((
Helena 2.1 687 processAgencyId:processId(version).processStepId.
688 processStepId
Helena 30.1 689 )))|(% style="width:545px" %)BIS:PROCESS1(1.0.0).STEP1.STEP1_1
690 |(% style="width:227px" %)//ProvisionAgreement//|(% style="width:527px" %)provisionAgreementAgencyId:provisionAgreement Id(version)|(% style="width:545px" %)TFFS:CRED_EXT_DEBT_AB(1.0.0)
691 |(% style="width:227px" %)ReportingCategory|(% style="width:527px" %)(((
Helena 2.1 692 reportingTaxonomyAgencyId:
693 reportingTaxonomyId(version).reportingCategoryI d.reportingCategoryId
Helena 30.1 694 )))|(% style="width:545px" %)IMF:REP_1(1.0.0):LVL1_REP_CAT.LVL2_REP_CAT
695 |(% style="width:227px" %)//ReportingTaxonomy//|(% style="width:527px" %)reportingTaxonomyAgencyId:reportingTaxonomyI d(version)|(% style="width:545px" %)IMF:REP_1(1.0.0)
696 |(% style="width:227px" %)//ReportingTaxonomyMap//|(% style="width:527px" %)repTaxonomyAgencyId:repTaxonomyId(version)|(% style="width:545px" %)SDMX:RT_MAP(1.0.0)
697 |(% style="width:229px" %)//RepresentationMap//|(% style="width:645px" %)repMapAgencyId:repMapId(version)|(% style="width:215px" %)SDMX:REF_AREA_MAPPING(1.0.0)
698 |(% style="width:229px" %)Ruleset|(% style="width:645px" %)rulesetSchemeAgencyId rulesetSchemeId(version) rulesetId|(% style="width:215px" %)ECB:RULESET_23(1.0.0).SET111
699 |(% style="width:229px" %)//RulesetScheme//|(% style="width:645px" %)rulesetSchemeAgencyId rulesetSchemeId(version)|(% style="width:215px" %)ECB:RULESET_23(1.0.0)
700 |(% style="width:229px" %)//StructureMap//|(% style="width:645px" %)structureMapAgencyId:structureMap(version)|(% style="width:215px" %)SDMX:BOP_STRUCTURES(1.0.0)
701 |(% style="width:229px" %)Subscription|(% style="width:645px" %)(((
Helena 2.1 702 The Subscription is not itself an Identifiable Artefact and therefore it does not follow the rules for URN structure.
703 The name of the URN is registryURN There is no pre-determined format.
Helena 31.1 704 )))|(% style="width:1015px" %)This cannot be generated by a common mechanism as [[subscriptions>>doc:xwiki:Glossary.Subscription.WebHome]], although maintainable in the sense that they can be submitted and deleted, are not mandated to be created by a [[maintenance agency>>doc:xwiki:Glossary.Maintenance agency.WebHome]] and have no versioning mechanism. It is therefore the responsibility of the target registry to generate a unique Id for the [[Subscription>>doc:xwiki:Glossary.Subscription.WebHome]], and for the application creating the [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] to store the registry URN that is returned from the registry in the [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] response message.
Helena 30.1 705 |(% style="width:229px" %)TimeDimension|(% style="width:645px" %)dataStructureDefinitionAgencyId:dataStructureDef initionId(version).timeDimensionId|(% style="width:1015px" %)TFFS:EXT_DEBT(1.0.0).TIME_PERIOD
706 |(% style="width:229px" %)Transformation|(% style="width:645px" %)transformationSchemeAgencyId transformationSchemeId(version) transformationId|(% style="width:1015px" %)ECB:TRANSFORMATION_SCHEME(1.0.0).TRANS_1
707 |(% style="width:229px" %)//TransformationScheme//|(% style="width:645px" %)transformationSchemeAgencyId transformationSchemeId(version)|(% style="width:1015px" %)ECB: TRANSFORMATION_SCHEME(1.0.0)
708 |(% style="width:229px" %)Transition|(% style="width:645px" %)(((
Helena 2.1 709 processAgencyId:processId(version).processStepId.
710 transitionId
Helena 30.1 711 )))|(% style="width:1015px" %)BIS:PROCESS1(1.0.0).STEP1.TRANSITION1
712 |(% style="width:229px" %)UserDefinedOperator|(% style="width:645px" %)userDefinedOperatorSchemeAgencyId userDefinedOperatorSchemeId(version) usserDefinedOperatorId|(% style="width:1015px" %)ECB:OS_CALC(1.2.0).OS267
713 |(% style="width:229px" %)//UserDefinedOperatorScheme//|(% style="width:645px" %)userDefinedOperatorSchemeAgencyId userDefinedOperatorSchemeId(version)|(% style="width:1015px" %)ECB:OS_CALC(1.2.0)
714 |(% style="width:229px" %)//ValueList//|(% style="width:645px" %)valuelistAgencyId:valuelistId(version)|(% style="width:1015px" %)SDMX:VLIST(1.0.0)
715 |(% style="width:229px" %)VtlCodelistMapping|(% style="width:645px" %)vtlMappingSchemeAgencyId vtlMappingSchemeId(version) vtlCodelistMappingId|(% style="width:1015px" %)ECB:CLIST_MP(2.0.0).ABZ
716 |(% style="width:229px" %)VtlConceptMapping|(% style="width:645px" %)vtlMappingSchemeAgencyId vtlMappingSchemeId(version) vtlConceptMappingId|(% style="width:1015px" %)ECB:CLIST_MP(1.0.0).XYA
717 |(% style="width:229px" %)VtlDataflowMapping|(% style="width:645px" %)vtlMappingSchemeAgencyId vtlMappingSchemeId(version) vtlDataflowMappingId|(% style="width:1015px" %)ECB:CLIST_MP(1.0.0).MOQ
718 |(% style="width:229px" %)//VtlMappingScheme//|(% style="width:645px" %)vtlMappingSchemeAgencyId VtlMappingSchemeId(version)|(% style="width:1015px" %)ECB:CLIST_MP(2.0.0)
Helena 2.1 719
720 **Table 3: Table of identification components for SDMX Identifiable Artefacts**
721
722 = {{id name="_Toc93861"/}}7 Implementation Notes =
723
724 === {{id name="_Toc93862"/}}7.1 Structural Definition Metadata ===
725
Helena 24.1 726 === {{id name="_Toc93863"/}}7.1.1 Introduction ===
Helena 2.1 727
Helena 31.1 728 The [[SDMX Registry>>doc:xwiki:Glossary.SDMX Registry.WebHome]] must have the ability to support agencies in their role of defining and disseminating [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] [[artefacts>>doc:xwiki:Glossary.Artefact.WebHome]]. These [[artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] include [[data structure definitions>>doc:xwiki:Glossary.Data structure definition.WebHome]], [[code lists>>doc:xwiki:Glossary.Code list.WebHome]], (% style="color:#2ecc71" %)concepts(%%) etc. and are fully defined in the [[SDMX-IM>>doc:xwiki:Glossary.SDMX Information Model.WebHome]]. An authenticated agency may submit valid [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] definitions which must be stored in the registry. Note that the term “[[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]]” refers as a general term to all structural [[components>>doc:xwiki:Glossary.Component.WebHome]] ([[Data Structure Definitions>>doc:xwiki:Glossary.Data structure definition.WebHome]], [[Metadata Structure Definitions>>doc:xwiki:Glossary.Metadata structure definition.WebHome]], [[Code Lists>>doc:xwiki:Glossary.Code list.WebHome]], [[Concept Schemes>>doc:xwiki:Glossary.Concept scheme.WebHome]], etc.)
Helena 2.1 729
Helena 31.1 730 At a minimum, [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] definitions may be submitted to and queried from the registry via an HTTP/HTTPS POST in the form of one of the [[SDMX-ML>>doc:xwiki:Glossary.SDMX-ML.WebHome]] messages for [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] and the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] RESTful API for structure queries. The message may contain all [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] items for the whole registry, [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] items for one [[maintenance agency>>doc:xwiki:Glossary.Maintenance agency.WebHome]], or individual [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] items.
Helena 2.1 731
Helena 31.1 732 [[Structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] items
Helena 2.1 733
Helena 31.1 734 * may only be modified by the [[maintenance agency>>doc:xwiki:Glossary.Maintenance agency.WebHome]] which created them;
Helena 2.1 735 * may only be deleted by the agency which created them;
736 * may not be deleted if they are referenced from other constructs in the Registry.
737
Helena 31.1 738 The (% style="color:#2ecc71" %)level(%%) of granularity for the maintenance of [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] [[Structural Metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] objects in the registry is the [[Maintainable Artefact>>doc:xwiki:Glossary.Maintainable artefact.WebHome]]. Especially for [[Item Schemes>>doc:xwiki:Glossary.Item scheme.WebHome]], though, partial maintenance may be performed, i.e., at the (% style="color:#2ecc71" %)level(%%) of the Item, by submitting an [[Item Scheme>>doc:xwiki:Glossary.Item scheme.WebHome]] with the 'isPartial' flag set and a reduced set of Items.
Helena 2.1 739
Helena 31.1 740 The following table lists the [[Maintainable Artefacts>>doc:xwiki:Glossary.Maintainable artefact.WebHome]].
Helena 2.1 741
Helena 21.11 742 (% style="width:881.294px" %)
743 |(% colspan="2" style="width:522px" %)**Maintainable Artefacts**|(% style="width:490px" %)**Content**
744 |(% style="width:198px" %)**Abstract Class**|(% style="width:324px" %)**Concrete Class**|(% style="width:490px" %)
Helena 31.1 745 |(% style="width:198px" %)[[Item Scheme>>doc:xwiki:Glossary.Item scheme.WebHome]]|(% style="width:324px" %)Codelist|(% style="width:490px" %)[[Code>>doc:xwiki:Glossary.Code.WebHome]]
746 |(% style="width:198px" %) |(% style="width:324px" %)[[Concept Scheme>>doc:xwiki:Glossary.Concept scheme.WebHome]]|(% style="width:490px" %)(% style="color:#2ecc71" %)Concept
747 |(% style="width:198px" %) |(% style="width:324px" %)[[Category Scheme>>doc:xwiki:Glossary.Category scheme.WebHome]]|(% style="width:490px" %)[[Category>>doc:xwiki:Glossary.Category.WebHome]]
748 |(% style="width:198px" %) |(% style="width:324px" %)[[Organisation Unit Scheme>>doc:xwiki:Glossary.Organisation unit scheme.WebHome]]|(% style="width:490px" %)Organisation Unit
749 |(% style="width:198px" %) |(% style="width:324px" %)[[Agency Scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]]|(% style="width:490px" %)Agency
750 |(% style="width:198px" %) |(% style="width:324px" %)[[Data Provider Scheme>>doc:xwiki:Glossary.Data provider scheme.WebHome]]|(% style="width:490px" %)[[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]]
Helena 21.11 751 |(% style="width:198px" %) |(% style="width:324px" %)Metadata Provider Scheme|(% style="width:490px" %)Metadata Provider
Helena 31.1 752 |(% style="width:198px" %) |(% style="width:324px" %)[[Data Consumer Scheme>>doc:xwiki:Glossary.Data consumer scheme.WebHome]]|(% style="width:490px" %)[[Data Consumer>>doc:xwiki:Glossary.Data consumer.WebHome]]
753 |(% style="width:198px" %) |(% style="width:324px" %)Reporting Taxonomy|(% style="width:490px" %)Reporting [[Category>>doc:xwiki:Glossary.Category.WebHome]]
Helena 21.11 754 |(% style="width:198px" %) |(% style="width:324px" %)Transformation Scheme|(% style="width:490px" %)Transformation
755 |(% style="width:198px" %) |(% style="width:324px" %)Custom Type Scheme|(% style="width:490px" %)Custom Type
756 |(% style="width:198px" %) |(% style="width:324px" %)Name Personalisation Scheme|(% style="width:490px" %)Name Personalisation
Helena 31.1 757 |(% style="width:198px" %) |(% style="width:324px" %)[[Vtl>>doc:xwiki:Glossary.Validation and transformation language.WebHome]] Mapping Scheme|(% style="width:490px" %)[[Vtl>>doc:xwiki:Glossary.Validation and transformation language.WebHome]] Codelist Mapping [[Vtl>>doc:xwiki:Glossary.Validation and transformation language.WebHome]] (% style="color:#2ecc71" %)Concept(%%) Mapping
Helena 21.11 758 |(% style="width:198px" %) |(% style="width:324px" %)Ruleset Scheme|(% style="width:490px" %)Ruleset
759 |(% style="width:198px" %) |(% style="width:324px" %)User Defined Operator Scheme|(% style="width:490px" %)User Defined Operator
760 |(% style="width:198px" %)Enumerated List|(% style="width:324px" %)ValueList|(% style="width:490px" %)Value Item
Helena 31.1 761 |(% style="width:198px" %)Structure|(% style="width:324px" %)[[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]]|(% style="width:490px" %)(((
762 [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]] Descriptor
763 Group [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]] Descriptor
764 [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]]
765 Time [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]]
766 [[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]] Descriptor
767 Data [[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]
Helena 2.1 768 Measure Descriptor
769 Measure
770 )))
Helena 31.1 771 |(% style="width:198px" %) |(% style="width:324px" %)Metadata Structure Definition|(% style="width:490px" %)Metadata [[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]] Descriptor Metadata [[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]]
772 |(% style="width:198px" %)Structure Usage|(% style="width:324px" %)[[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]]|(% style="width:490px" %)
773 |(% style="width:198px" %) |(% style="width:324px" %)[[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]]|(% style="width:490px" %)
Helena 21.11 774 |(% style="width:198px" %)None|(% style="width:324px" %)Process|(% style="width:490px" %)Process Step
Helena 31.1 775 |(% style="width:198px" %)None|(% style="width:324px" %)Structure (% style="color:#2ecc71" %)Map|(% style="width:490px" %)(((
776 [[Component>>doc:xwiki:Glossary.Component.WebHome]] (% style="color:#2ecc71" %)Map(%%)
777 Epoch (% style="color:#2ecc71" %)Map(%%)
778 Date Pattern (% style="color:#2ecc71" %)Map
Helena 2.1 779 )))
Helena 31.1 780 |(% style="width:198px" %)None|(% style="width:324px" %)[[Representation>>doc:xwiki:Glossary.Representation.WebHome]] (% style="color:#2ecc71" %)Map|(% style="width:490px" %)[[Representation>>doc:xwiki:Glossary.Representation.WebHome]] Mapping
781 |(% style="width:198px" %)[[Item Scheme>>doc:xwiki:Glossary.Item scheme.WebHome]] (% style="color:#2ecc71" %)Map|(% style="width:324px" %)Organisation Scheme (% style="color:#2ecc71" %)Map|(% style="width:490px" %)Item (% style="color:#2ecc71" %)Map
782 |(% style="width:198px" %) |(% style="width:324px" %)[[Concept Scheme>>doc:xwiki:Glossary.Concept scheme.WebHome]] (% style="color:#2ecc71" %)Map|(% style="width:490px" %)Item (% style="color:#2ecc71" %)Map
783 |(% style="width:198px" %) |(% style="width:324px" %)[[Category Scheme>>doc:xwiki:Glossary.Category scheme.WebHome]] (% style="color:#2ecc71" %)Map|(% style="width:490px" %)Item (% style="color:#2ecc71" %)Map
784 |(% style="width:198px" %) |(% style="width:324px" %)Reporting Taxonomy (% style="color:#2ecc71" %)Map|(% style="width:490px" %)Item (% style="color:#2ecc71" %)Map
785 |(% style="width:198px" %)None|(% style="width:324px" %)[[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]]|(% style="width:490px" %)
786 |(% style="width:198px" %)None|(% style="width:324px" %)Metadata [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]]|(% style="width:490px" %)
787 |(% style="width:198px" %)None|(% style="width:324px" %)[[Hierarchy>>doc:xwiki:Glossary.Hierarchy.WebHome]]|(% style="width:490px" %)Hierarchical [[Code>>doc:xwiki:Glossary.Code.WebHome]]
788 |(% style="width:198px" %)None|(% style="width:324px" %)[[Hierarchy>>doc:xwiki:Glossary.Hierarchy.WebHome]] Association|(% style="width:490px" %)
Helena 21.11 789 |(% style="width:198px" %)None|(% style="width:324px" %)Categorisation|(% style="width:490px" %)
Helena 2.1 790
Helena 31.1 791 **Table 4: Table of [[Maintainable Artefacts>>doc:xwiki:Glossary.Maintainable artefact.WebHome]] for Structural Definition Metadata**
Helena 2.1 792
Helena 24.1 793 === {{id name="_Toc93864"/}}7.1.2 Item Scheme, Structure ===
Helena 2.1 794
Helena 31.1 795 The [[artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] included in the structural definitions are:
Helena 2.1 796
Helena 31.1 797 * All types of [[Item Scheme>>doc:xwiki:Glossary.Item scheme.WebHome]] (Codelist, [[Concept Scheme>>doc:xwiki:Glossary.Concept scheme.WebHome]], [[Category Scheme>>doc:xwiki:Glossary.Category scheme.WebHome]], Organisation Scheme, [[Agency Scheme>>doc:xwiki:Glossary.Agency scheme.WebHome]], [[Data Provider Scheme>>doc:xwiki:Glossary.Data provider scheme.WebHome]], Metadata Provider Scheme, [[Data Consumer Scheme>>doc:xwiki:Glossary.Data consumer scheme.WebHome]], [[Organisation Unit Scheme>>doc:xwiki:Glossary.Organisation unit scheme.WebHome]], Transformation Scheme, Name Personalisation Scheme, Custom Type Scheme, [[Vtl>>doc:xwiki:Glossary.Validation and transformation language.WebHome]] Mapping Scheme, Ruleset Scheme, User Defined Operator Scheme)
Helena 21.12 798 * All types of Enumerated List (ValueList){{footnote}}Note that Codelist is also an EnumeratedList.{{/footnote}}
Helena 31.1 799 * All types of Structure ([[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]], Metadata Structure Definition)
800 * All types of Structure Usage ([[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]], [[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]])
Helena 2.1 801
Helena 25.1 802 === {{id name="_Toc93865"/}}7.1.3 Structure Usage ===
Helena 2.1 803
Helena 24.1 804 ==== 7.1.3.1 Structure Usage: Basic Concepts ====
Helena 2.1 805
Helena 31.1 806 The Structure Usage defines, in its concrete classes of [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] and [[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]], which flows of data and metadata use which specific Structure, and importantly for the support of data and metadata discovery, the Structure Usage can be linked to one or more [[Category>>doc:xwiki:Glossary.Category.WebHome]] in one or more [[Category Scheme>>doc:xwiki:Glossary.Category scheme.WebHome]] using the Categorisation mechanism. This gives the ability for an application to discover data and metadata by “drilling down” the [[Category Schemes>>doc:xwiki:Glossary.Category scheme.WebHome]].
Helena 2.1 807
Helena 24.1 808 ==== 7.1.3.2 Structure Usage Schematic ====
Helena 2.1 809
810 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_52097ab5.jpg||height="246" width="438"]]
811
812 **Figure 9: Schematic of Linking the Data and Metadata Flows to Categories and Structure Definitions**
813
Helena 24.1 814 ==== 7.1.3.3 Structure Usage Model ====
Helena 2.1 815
816 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_302cc1a2.jpg||height="548" width="578"]]
817
818 **Figure 10: SDMX-IM of links from Structure Usage to Category**
819
Helena 31.1 820 In addition to the maintenance of the [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] and the [[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]], the following links must be maintained in the registry:
Helena 2.1 821
Helena 31.1 822 * [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] to Data Structure Definition
823 * [[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]] to Metadata Structure Definition
Helena 2.1 824
825 The following links may be created by means of a Categorisation
826
Helena 31.1 827 * Categorisation to [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] and Category
828 * Categorisation to [[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]] and Category
Helena 2.1 829
Helena 21.13 830 == {{id name="_Toc93866"/}}7.2 Data and Metadata Provisioning ==
Helena 2.1 831
Helena 21.13 832 === {{id name="_Toc93867"/}}7.2.1 Provisioning Agreement: Basic concepts ===
Helena 2.1 833
Helena 31.1 834 Data/Metadata provisioning defines a framework in which the provision of different types of statistical data and metadata by various data/metadata providers can be specified and controlled. This framework is the basis on which the existence of data can be made known to the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-enabled community and hence the basis on which data can subsequently be discovered. Such a framework can be used to regulate the data content to facilitate the building of intelligent applications. It can also be used to facilitate the processing implied by service (% style="color:#2ecc71" %)level(%%) agreements, or other provisioning agreements in those scenarios that are based on legal directives. Additionally, quality and [[timeliness>>doc:xwiki:Glossary.Timeliness.WebHome]] metadata can be supported by this framework which makes it practical to implement information supply chain monitoring.
Helena 2.1 835
836 Note that the term “data provisioning” here includes both the provisioning of data and metadata.
837
Helena 31.1 838 Although the [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]] directly supports the data-sharing “pull” model, it is also useful in “push” exchanges (bilateral and gateway scenarios), or in a dissemination environment. It should be noted, too, that in any exchange scenario, the registry functions as a repository of structural metadata.
Helena 2.1 839
Helena 21.13 840 === {{id name="_Toc93868"/}}7.2.2 Provisioning Agreement Model – pull use case ===
Helena 2.1 841
Helena 31.1 842 An organisation which publishes statistical data or [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] and wishes to make it available to an [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] enabled community is called a [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]]. In terms of the [[SDMX Information Model>>doc:xwiki:Glossary.SDMX Information Model.WebHome]], the [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]] is maintained in a [[Data Provider Scheme>>doc:xwiki:Glossary.Data provider scheme.WebHome]].
Helena 2.1 843
844 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_ec727775.jpg||height="455" width="551"]]
845
846 **Figure 11: SDMX-IM of the Data Provider**
847
848 Note that the Data Provider does not inherit the hierarchy association. The diagram below shows a logical schematic of the data model classes required to maintain provision agreements.
849
850 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_4dc392d6.jpg||height="299" width="533"]]
851
852 **Figure 12: Schematic of the Provision Agreement**
853
Helena 31.1 854 The diagram below is a logical [[representation>>doc:xwiki:Glossary.Representation.WebHome]] of the data required in order to maintain [[Provision Agreements>>doc:xwiki:Glossary.Provision agreement.WebHome]].
Helena 2.1 855
856 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_7b3d291a.jpg||height="246" width="579"]]
857
858 **Figure 13: Logical class diagram of the information contained in the Provision Agreement**
859
Helena 31.1 860 A [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]] is [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]]. Each [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]] must reference a [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]] or Metadata Provider and a [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] or [[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]] Definition. The Data/Metadata Provider and the [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]]/[[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]] must exist already in order to set up a Metadata Provision or [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]].
Helena 2.1 861
Helena 21.14 862 == {{id name="_Toc93869"/}}7.3 Data and Metadata Constraints ==
Helena 2.1 863
Helena 21.14 864 === {{id name="_Toc93870"/}}7.3.1 Data and Metadata Constraints: Basic Concepts ===
Helena 2.1 865
Helena 31.1 866 (% style="color:#2ecc71" %)Constraints(%%) are, effectively, lists of the valid or actual content of data and metadata. (% style="color:#2ecc71" %)Constraints(%%) can be used to specify a subset of the theoretical content of [[data set>>doc:xwiki:Glossary.Data set.WebHome]] or [[metadata set>>doc:xwiki:Glossary.Metadata set.WebHome]] which can be derived from the specification of the [[DSD>>doc:xwiki:Glossary.Data structure definition.WebHome]] or [[MSD>>doc:xwiki:Glossary.Metadata structure definition.WebHome]]. A (% style="color:#2ecc71" %)Constraint(%%) can comprise a list of keys or a list of content (usually [[code>>doc:xwiki:Glossary.Code.WebHome]] values) of a specific [[component>>doc:xwiki:Glossary.Component.WebHome]] such as a [[dimension>>doc:xwiki:Glossary.Dimension.WebHome]] or [[attribute>>doc:xwiki:Glossary.Attribute.WebHome]].
Helena 2.1 867
Helena 31.1 868 (% style="color:#2ecc71" %)Constraints(%%) comprise the specification of subsets of key or [[attribute>>doc:xwiki:Glossary.Attribute.WebHome]] values that are contained in a [[data source>>doc:xwiki:Glossary.Data source.WebHome]], or is to be provided for a [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] or [[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]], or directly attached to a [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] or [[Metadata Structure Definition>>doc:xwiki:Glossary.Metadata structure definition.WebHome]]. This is important metadata because, for example, the full range of possibilities which is implied by the [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] (e.g., the complete set of valid keys is the Cartesian product of all the values in the [[code lists>>doc:xwiki:Glossary.Code list.WebHome]] for each of the [[Dimensions>>doc:xwiki:Glossary.Dimension.WebHome]]) is often more than is actually present in any specific [[data source>>doc:xwiki:Glossary.Data source.WebHome]], or more than is intended to be supplied according to a specific [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]].
Helena 2.1 869
Helena 31.1 870 Often a [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]] will not be able to provide data for all key combinations, either because the combination itself is not meaningful, or simply because the provider does not have the data for that combination. In this case the [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]] could constrain the [[data source>>doc:xwiki:Glossary.Data source.WebHome]] (at the (% style="color:#2ecc71" %)level(%%) of the [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]] or the [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]]) by supplying metadata that defines the key combinations or cube regions that are available. This is done by means of a (% style="color:#2ecc71" %)Constraint(%%). The (% style="color:#2ecc71" %)Constraint(%%) is also used to define a [[code list>>doc:xwiki:Glossary.Code list.WebHome]] subset which is used to populate a partial [[code list>>doc:xwiki:Glossary.Code list.WebHome]].
Helena 2.1 871
Helena 31.1 872 Furthermore, it is often useful to define subsets or views of the [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] which restrict values in some [[code lists>>doc:xwiki:Glossary.Code list.WebHome]], especially where many such subsets restrict the same [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]]. Such a view is called a [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]], and there can be one or more defined for any [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]].
Helena 2.1 873
Helena 31.1 874 Whenever data is published or made available by a [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]], it must conform to a [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] (and hence to a [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]]). The [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] is thus a means of enabling content based processing.
Helena 2.1 875
Helena 31.1 876 In addition, (% style="color:#2ecc71" %)Constraints(%%) can be extremely useful in a data visualisation system, such as dissemination of statistics on a website. In such a system a Cube Region can be used to specify the [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]] [[codes>>doc:xwiki:Glossary.Code.WebHome]] that actually exist in a [[data source>>doc:xwiki:Glossary.Data source.WebHome]] (these can be used to build relevant selection tables), and the Key Set can be used to specify the keys that exist in a [[data source>>doc:xwiki:Glossary.Data source.WebHome]] (these can be used to guide the user to select only those [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]] [[code>>doc:xwiki:Glossary.Code.WebHome]] values that will return data based on the [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]] values already selected).
Helena 2.1 877
878 === {{id name="_Toc93871"/}}7.3.2 Data and Metadata Constraints: Schematic ===
879
880 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_d089184e.jpg||height="326" width="580"]]
881
882 **Figure 14: Schematic of the Constraint and the Artefacts that can be constrained**
883
884 === {{id name="_Toc93872"/}}7.3.3 Data and Metadata Constraints: Model ===
885
886 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_8a88db1c.jpg||height="564" width="583"]]
887
888 **Figure 15: Logical class diagram showing inheritance between and reference to constrainable artefacts**
889
890 Logical class diagram showing inheritance between and reference to constrainable artefacts
891
Helena 31.1 892 The class diagram above shows that [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]], Metadata Provider, [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]], [[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]], [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]], Metadata [[Provision Agreement>>doc:xwiki:Glossary.Provision agreement.WebHome]], [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]], [[Metadata Structure Definition>>doc:xwiki:Glossary.Metadata structure definition.WebHome]], Simple Datasource and REST Datasource (via the abstract Query Datasource) are all concrete sub-classes of Constrainable [[Artefact>>doc:xwiki:Glossary.Artefact.WebHome]] and can therefore have (% style="color:#2ecc71" %)Constraints(%%) specified. Note that the actual (% style="color:#2ecc71" %)Constraint(%%) as submitted is associated to the reference classes which inherit from ConstrainableRef: these are used to refer to the classes to which the (% style="color:#2ecc71" %)Constraint(%%) applies.
Helena 2.1 893
Helena 31.1 894 The content of the (% style="color:#2ecc71" %)Constraint(%%) can be found in the [[SDMX Information Model>>doc:xwiki:Glossary.SDMX Information Model.WebHome]] document.
Helena 2.1 895
896 == {{id name="_Toc93873"/}}7.4 Data and Metadata Registration ==
897
898 === {{id name="_Toc93874"/}}7.4.1 Basic Concepts ===
899
Helena 31.1 900 A [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]] has published a new [[dataset>>doc:xwiki:Glossary.Data set.WebHome]] conforming to an existing [[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] (and hence [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]]). This is implemented as either a web-accessible SDMXML file, or in a database which has a web-services interface capable of responding to an [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] RESTful query with an [[SDMX-ML>>doc:xwiki:Glossary.SDMX-ML.WebHome]] data stream.
Helena 2.1 901
Helena 31.1 902 The [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]] wishes to make this new data available to one or more data collectors in a “pull” scenario, or to make the data available to [[data consumers>>doc:xwiki:Glossary.Data consumer.WebHome]]. To do this, the [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]] registers the new [[dataset>>doc:xwiki:Glossary.Data set.WebHome]] with one or more [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] conformant registries that have been configured with structural and provisioning metadata. In other words, the registry “knows” the [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]] and “knows” what [[data flows>>doc:xwiki:Glossary.Dataflow.WebHome]] the [[data provider>>doc:xwiki:Glossary.Data provider.WebHome]] has agreed to make available.
Helena 2.1 903
Helena 31.1 904 The same mechanism can be used to report or make available a [[metadata set>>doc:xwiki:Glossary.Metadata set.WebHome]].
Helena 2.1 905
Helena 31.1 906 [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]]-RR supports [[dataset>>doc:xwiki:Glossary.Data set.WebHome]] and [[metadata set>>doc:xwiki:Glossary.Metadata set.WebHome]] registration via the Registration Request, which can be created by the Data/Metadata Provider (giving the [[Data Provider>>doc:xwiki:Glossary.Data provider.WebHome]] maximum control). The registry responds to the registration request with a registration response which indicates if the registration was successful. In the event of an error, the error messages are returned as a registry exception within the response.
Helena 2.1 907
908 === {{id name="_Toc93875"/}}7.4.2 The Registration Request ===
909
910 ==== 7.4.2.1 Registration Request Schematic ====
911
912 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_5cb2f17b.jpg||height="337" width="554"]]
913
914 **Figure 16: Schematic of the Objects Concerned with Registration**
915
916 ==== 7.4.2.2 Registration Request Model ====
917
Helena 31.1 918 The following UML diagram shows the composition of the registration request. Each request is made up of one or more Registrations, one per [[dataset>>doc:xwiki:Glossary.Data set.WebHome]] or [[metadata set>>doc:xwiki:Glossary.Metadata set.WebHome]] to be registered. The Registration can optionally have information, which has been extracted from the Registration:
Helena 2.1 919
920 * validFrom
921 * validTo
922 * lastUpdated
923
924 The last updated date is useful during the discovery process to make sure the client knows which data is freshest.
925
Helena 31.1 926 The Registration has an action [[attribute>>doc:xwiki:Glossary.Attribute.WebHome]] which takes one of the following values:
Helena 2.1 927
928 (((
Helena 22.1 929 (% style="width:761.294px" %)
930 |(% style="width:196px" %)**Action Attribute Value**|(% style="width:561px" %)**Behaviour**
931 |(% style="width:196px" %)Append|(% style="width:561px" %)Add this Registration to the registry
932 |(% style="width:196px" %)Replace|(% style="width:561px" %)(((
Helena 21.14 933 Replace the existing Registration with identified by the id in the Registration of the SubmitRegistrationRequest
Helena 2.1 934 )))
Helena 22.1 935 |(% style="width:196px" %)Delete|(% style="width:561px" %)Delete the existing Registration identified by the id in the Registration of the SubmitRegistrationRequest
Helena 2.1 936 )))
937
938 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_bc1dcdec.jpg||height="575" width="579"]]
939
940 **Figure 17: Logical Class Diagram of Registration of Data and Metadata**
941
Helena 31.1 942 The //QueryDatasource// is an abstract class that represents a [[data source>>doc:xwiki:Glossary.Data source.WebHome]], which can understand an API query (i.e., a RESTful query – RESTDatasource) and respond appropriately. Each [[data source>>doc:xwiki:Glossary.Data source.WebHome]] inherits the dataURL from //Datasource//, and the //QueryDatasource// has an additional URL to locate the specification of the service (specURL) to describe how to access it. All other supported protocols are assumed to use the SimpleDatasource URL.
Helena 2.1 943
Helena 31.1 944 A SimpleDatasource is used to reference a physical [[SDMX-ML>>doc:xwiki:Glossary.SDMX-ML.WebHome]] file that is available at a URL.
Helena 2.1 945
Helena 31.1 946 The RegistrationRequest has an action [[attribute>>doc:xwiki:Glossary.Attribute.WebHome]] which defines whether this is a new (append) or updated (replace) Registration, or that the Registration is to be deleted (delete). The id is only provided for the replace and delete actions, as the Registry will allocate the unique id of the (new) Registration.
Helena 2.1 947
Helena 31.1 948 The Registration includes [[attributes>>doc:xwiki:Glossary.Attribute.WebHome]] that state how a SimpleDatasource is to be indexed when registered. The Registry registration process must act as follows:
Helena 2.1 949
Helena 31.1 950 Information in the data or [[metadata set>>doc:xwiki:Glossary.Metadata set.WebHome]] is extracted and placed in one or more (% style="color:#2ecc71" %)//Constraint//(%%)s (see the (% style="color:#2ecc71" %)//Constraint//(%%) model in the [[SDMX Information Model>>doc:xwiki:Glossary.SDMX Information Model.WebHome]] – Section 2 of the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] Standards). The information to be extracted is indicated by the Boolean values set on the ProvisionAgreement or MetadataProvisionAgreement as shown in the table below.
Helena 2.1 951
952 (((
Helena 22.1 953 (% style="width:678.294px" %)
954 |**Indexing Required**|(% style="width:504px" %)**Registration Process Activity**
Helena 31.1 955 |indexTimeSeries|(% style="width:504px" %)Extract all the [[series keys>>doc:xwiki:Glossary.Series key.WebHome]] and create a KeySet(s) (% style="color:#2ecc71" %)Constraint(%%).
956 |indexDataSet|(% style="width:504px" %)Extract all the [[codes>>doc:xwiki:Glossary.Code.WebHome]] and other content of the Key value of the [[Series Key>>doc:xwiki:Glossary.Series key.WebHome]] in a [[Data Set>>doc:xwiki:Glossary.Data set.WebHome]] and create one or more Cube Regions containing [[Member Selections>>doc:xwiki:Glossary.Member selection.WebHome]] of [[Dimension>>doc:xwiki:Glossary.Dimension.WebHome]] [[Components>>doc:xwiki:Glossary.Component.WebHome]] of the (% style="color:#2ecc71" %)Constraints(%%) model in the [[SDMX-IM>>doc:xwiki:Glossary.SDMX Information Model.WebHome]], and the associated Selection Value.
Helena 22.1 957 |indexReportingPeriod|(% style="width:504px" %)(((
Helena 31.1 958 This applies only to a registered __[[dataset>>doc:xwiki:Glossary.Data set.WebHome]]__.
959 Extract the Reporting Begin and Reporting End from the Header of the Message containing the [[data set>>doc:xwiki:Glossary.Data set.WebHome]], and create a [[Reference Period>>doc:xwiki:Glossary.Reference period.WebHome]] (% style="color:#2ecc71" %)constraint(%%).
Helena 2.1 960 )))
Helena 22.1 961 |**Indexing Required**|(% style="width:504px" %)**Registration Process Activity**
962 |indexAttributes|(% style="width:504px" %)(((
Helena 31.1 963 **[[Data Set>>doc:xwiki:Glossary.Data set.WebHome]]**
964 Extract the content of the [[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]] Values in a [[Data Set>>doc:xwiki:Glossary.Data set.WebHome]] and create one or more Cube Regions containing [[Member Selections>>doc:xwiki:Glossary.Member selection.WebHome]] of Data [[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]] [[Components>>doc:xwiki:Glossary.Component.WebHome]] of the (% style="color:#2ecc71" %)Constraints(%%) model in the SDMXIM, and the associated Selection Value
965 **[[Metadata Set>>doc:xwiki:Glossary.Metadata set.WebHome]]**
966 Indicate the presence of a Reported [[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]] by creating one or more Cube Regions containing [[Member Selections>>doc:xwiki:Glossary.Member selection.WebHome]] of Metadata [[Attribute>>doc:xwiki:Glossary.Attribute.WebHome]] [[Components>>doc:xwiki:Glossary.Component.WebHome]] of the (% style="color:#2ecc71" %)Constraints(%%) model in the [[SDMX-IM>>doc:xwiki:Glossary.SDMX Information Model.WebHome]]. Note that the content is not stored in the Selection Value.
Helena 2.1 967 )))
968 )))
969
Helena 31.1 970 (% style="color:#2ecc71" %)Constraints(%%) that specify the contents of a //QueryDatasource// are submitted to the Registry via the structure submission service (i.e., the RESTful API).
Helena 2.1 971
972 The Registration must reference the ProvisionAgreement or MetadataProvisionAgreement to which it relates.
973
Helena 22.1 974 === {{id name="_Toc93876"/}}7.4.3 Registration Response ===
Helena 2.1 975
976 After a registration request has been submitted to the registry, a response is returned to the submitter indicating success or failure. Given that a registration request can hold many Registrations, then there must be a registration status for each Registration. The SubmitRegistration class has a status field, which is either set to “Success”, “Warning” or “Failure”.
977
Helena 31.1 978 If the registration has succeeded, a Registration will be returned – this holds the Registry-allocated Id of the newly registered //Datasource// plus a //Datasource// holding the URL to access the [[dataset>>doc:xwiki:Glossary.Data set.WebHome]], metadataset, or query service.
Helena 2.1 979
Helena 31.1 980 The RegistrationResponse returns set of registration status (one for each registration submitted) in terms of a StatusMessage (this is common to all Registry responses) that indicates success or failure. In the event of registration failure, a set of MessageText are returned, giving the error messages that occurred during registration. It is entirely possible when registering a batch of [[datasets>>doc:xwiki:Glossary.Data set.WebHome]], that the response will contain some successful and some failed statuses. The logical model for the RegistrationResponse is shown below:
Helena 2.1 981
982 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_6c58dd9b.jpg||height="371" width="579"]]
983
984 **Figure 18: Logical class diagram showing the registration response**
985
986 == {{id name="_Toc93877"/}}7.5 Subscription and Notification Service ==
987
988 The contents of the SDMX Registry/Repository will change regularly: new code lists and key families will be published and new datasets and metadata-sets will be registered. To obviate the need for users to repeatedly query the registry to see when new information is available, a mechanism is provided to allow users to be notified when these events happen.
989
990 A user can submit a subscription in the registry that defines which events are of interest, and either an email and/or an HTTP address to which a notification of qualifying events will be delivered. The subscription will be identified in the registry by a URN, which is returned to the user when the subscription is created. If the user wants to delete the subscription at a later point, the subscription URN is used as identification. Subscriptions have a validity period expressed as a date range (startDate, endDate) and the registry may delete any expired subscriptions, and will notify the subscriber on expiry.
991
992 When a registry/repository artefact is modified, any subscriptions which are observing the object are activated, and either an email or HTTP POST is instigated to report details of the changes to the user specified in the subscription. This is called a “notification”.
993
994 === {{id name="_Toc93878"/}}7.5.1 Subscription Logical Class Diagram ===
995
996 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_979e4862.jpg||height="680" width="587"]]
997
998 **Figure 19: Logical Class Diagram of the Subscription**
999
1000 === {{id name="_Toc93879"/}}7.5.2 Subscription Information ===
1001
Helena 31.1 1002 Regardless of the type of registry/repository events being observed, a [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] always contains:
Helena 2.1 1003
Helena 31.1 1004 1. set of URIs describing the end-points to which [[notifications>>doc:xwiki:Glossary.Notification.WebHome]] must be sent if the [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] is activated. The URIs can be either mailto~: or http: protocol. In the former case an email [[notification>>doc:xwiki:Glossary.Notification.WebHome]] is sent; in the latter an HTTP POST [[notification>>doc:xwiki:Glossary.Notification.WebHome]] is sent.
1005 1. A user-defined identifier, which is returned in the response to the [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] request. This helps with asynchronous processing and is NOT stored in the Registry.
1006 1. A validity period which defines both when the [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] becomes active and expires. The subscriber may be sent a [[notification>>doc:xwiki:Glossary.Notification.WebHome]] on expiration of the [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]].
Helena 2.1 1007 1. A selector which specifies which type of events are of interest. The set of event types is:
1008
1009 (((
Helena 22.1 1010 (% style="width:856.294px" %)
1011 |(% style="width:320px" %)**Event Type**|(% style="width:532px" %)**Comment**
Helena 31.1 1012 |(% style="width:320px" %)STRUCTURAL_REPOSITORY_EVENTS|(% style="width:532px" %)Life-cycle changes to [[Maintainable Artefacts>>doc:xwiki:Glossary.Maintainable artefact.WebHome]] in the [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] repository.
1013 |(% style="width:320px" %)DATA_REGISTRATION_EVENTS|(% style="width:532px" %)Whenever a published [[dataset>>doc:xwiki:Glossary.Data set.WebHome]] is registered. This can be either a SDMXML data file or an [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] conformant database.
1014 |(% style="width:320px" %)METADATA_REGISTRATION_EVENTS|(% style="width:532px" %)Whenever a published metadataset is registered. This can be either a SDMXML [[reference metadata>>doc:xwiki:Glossary.Reference metadata.WebHome]] file or an [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] conformant database.
Helena 22.1 1015 |(% style="width:320px" %)ALL_EVENTS|(% style="width:532px" %)All events of the specified EventType
Helena 2.1 1016 )))
1017
1018 === {{id name="_Toc93880"/}}7.5.3 Wildcard Facility ===
1019
Helena 31.1 1020 [[Subscription>>doc:xwiki:Glossary.Subscription.WebHome]] [[notification>>doc:xwiki:Glossary.Notification.WebHome]] supports wildcarded identifier [[components>>doc:xwiki:Glossary.Component.WebHome]] URNs, which are identifiers which have some or all of their [[component>>doc:xwiki:Glossary.Component.WebHome]] parts replaced by the wildcard character `*`. Identifier [[components>>doc:xwiki:Glossary.Component.WebHome]] comprise:
Helena 2.1 1021
1022 * agencyID
1023 * id
1024 * version
1025
Helena 31.1 1026 Examples of wildcarded identifier [[components>>doc:xwiki:Glossary.Component.WebHome]] for an identified object type of Codelist are shown below:
Helena 2.1 1027
1028 AgencyID = *
1029 Id = *
1030 Version = *
1031
Helena 31.1 1032 This subscribes to all Codelists of all (% style="color:#2ecc71" %)versions(%%) for all agencies.
Helena 2.1 1033
1034 AgencyID = AGENCY1
1035 Id = CODELIST1
1036 Version = *
1037
Helena 31.1 1038 This subscribes to all (% style="color:#2ecc71" %)versions(%%) of Codelist CODELIST1 maintained by the agency AGENCY1.
Helena 2.1 1039
1040 AgencyID = AGENCY1
1041 Id = *
1042 Version = *
1043
Helena 31.1 1044 This subscribes to all (% style="color:#2ecc71" %)versions(%%) of all Codelist objects maintained by the agency AGENCY1.
Helena 2.1 1045
1046 AgencyID = *
1047 Id = CODELIST1
1048 Version = *
1049
Helena 31.1 1050 This subscribes to all (% style="color:#2ecc71" %)versions(%%) of Codelist CODELIST1 maintained by any agency.
Helena 2.1 1051
Helena 31.1 1052 Note that if the [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] is to the latest stable (% style="color:#2ecc71" %)version(%%) then this can be achieved by the + character, i.e.:
Helena 2.1 1053
1054 Version = +
1055
Helena 31.1 1056 A [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] to the latest (% style="color:#2ecc71" %)version(%%) (whether stable, draft or non-versioned) can be achieved by the character, i.e.:
Helena 2.1 1057
1058 Version = ~~
1059
Helena 31.1 1060 A [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] to the latest stable (% style="color:#2ecc71" %)version(%%) within major (% style="color:#2ecc71" %)version(%%) 2 starting with (% style="color:#2ecc71" %)version(%%) 2.3.1 can be achieved by adding the + character after the minor (% style="color:#2ecc71" %)version(%%) number, i.e.:
Helena 2.1 1061
1062 Version = 2.3+.1
1063
Helena 31.1 1064 The complete [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] versioning syntax can be found in the [[SDMX>>doc:xwiki:Glossary.Statistical data and metadata exchange.WebHome]] Standards Section 6 “Technical Notes”, paragraph “4.3 Versioning”.
Helena 2.1 1065
1066 === {{id name="_Toc93881"/}}7.5.4 Structural Repository Events ===
1067
Helena 31.1 1068 Whenever a [[maintainable artefact>>doc:xwiki:Glossary.Maintainable artefact.WebHome]] ([[data structure definition>>doc:xwiki:Glossary.Data structure definition.WebHome]], [[concept scheme>>doc:xwiki:Glossary.Concept scheme.WebHome]], codelist, [[metadata structure definition>>doc:xwiki:Glossary.Metadata structure definition.WebHome]], [[category scheme>>doc:xwiki:Glossary.Category scheme.WebHome]], etc.) is added to, deleted from, or modified in the [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] repository, a [[structural metadata>>doc:xwiki:Glossary.Structural metadata.WebHome]] event is triggered. [[Subscriptions>>doc:xwiki:Glossary.Subscription.WebHome]] may be set up to monitor all such events, or focus on specific [[artefacts>>doc:xwiki:Glossary.Artefact.WebHome]] such as a [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]].
Helena 2.1 1069
1070 === {{id name="_Toc93882"/}}7.5.5 Registration Events ===
1071
Helena 31.1 1072 Whenever a [[dataset>>doc:xwiki:Glossary.Data set.WebHome]] or metadata-set is registered a registration event is created. A [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] may be observing all data or metadata registrations, or it may focus on specific registrations as shown in the table below:
Helena 2.1 1073
1074 (((
Helena 22.1 1075 (% style="width:1126.29px" %)
1076 |(% style="width:382px" %)**Selector**|(% style="width:740px" %)**Comment**
Helena 31.1 1077 |(% style="width:382px" %)DataProvider & MetadataProvider|(% style="width:740px" %)Any [[datasets>>doc:xwiki:Glossary.Data set.WebHome]] or [[metadata sets>>doc:xwiki:Glossary.Metadata set.WebHome]] registered by the specified data or metadata provider will activate the notification.
1078 |(% style="width:382px" %)ProvisionAgreement & MetadataProvisionAgreement|(% style="width:740px" %)Any [[datasets>>doc:xwiki:Glossary.Data set.WebHome]] or [[metadata sets>>doc:xwiki:Glossary.Metadata set.WebHome]] registered for the agreement will activate the notification.
1079 |(% style="width:382px" %)[[Dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] & [[Metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]]|(% style="width:740px" %)Any [[datasets>>doc:xwiki:Glossary.Data set.WebHome]] or [[metadata sets>>doc:xwiki:Glossary.Metadata set.WebHome]] registered for the specified [[dataflow>>doc:xwiki:Glossary.Dataflow.WebHome]] (or [[metadataflow>>doc:xwiki:Glossary.Metadataflow.WebHome]]) will activate the notification.
1080 |(% style="width:382px" %)DataStructureDefinition & MetadataStructureDefinition|(% style="width:740px" %)Any [[datasets>>doc:xwiki:Glossary.Data set.WebHome]] or [[metadata sets>>doc:xwiki:Glossary.Metadata set.WebHome]] registered for those [[dataflows>>doc:xwiki:Glossary.Dataflow.WebHome]] (or [[metadataflows>>doc:xwiki:Glossary.Metadataflow.WebHome]]) that are based on the specified [[Data Structure Definition>>doc:xwiki:Glossary.Data structure definition.WebHome]] will activate the notification
1081 |(% style="width:382px" %)[[Category>>doc:xwiki:Glossary.Category.WebHome]]|(% style="width:740px" %)Any [[datasets>>doc:xwiki:Glossary.Data set.WebHome]] or [[metadata sets>>doc:xwiki:Glossary.Metadata set.WebHome]] registered for those [[dataflows>>doc:xwiki:Glossary.Dataflow.WebHome]], [[metadataflows>>doc:xwiki:Glossary.Metadataflow.WebHome]], [[provision agreements>>doc:xwiki:Glossary.Provision agreement.WebHome]] that are categorised by the [[category>>doc:xwiki:Glossary.Category.WebHome]].
Helena 2.1 1082 )))
1083
1084 The event will also capture the semantic of the registration: deletion or replacement of an existing registration or a new registration.
1085
1086 == {{id name="_Toc93883"/}}7.6 Notification ==
1087
1088 === {{id name="_Toc93884"/}}7.6.1 Logical Class Diagram ===
1089
1090 [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_24ffc51b.jpg||height="379" width="579"]]
1091
1092 **Figure 20: Logical Class Diagram of the Notification**
1093
Helena 31.1 1094 A [[notification>>doc:xwiki:Glossary.Notification.WebHome]] is an XML document that is sent to a user via email or http POST whenever a [[subscription>>doc:xwiki:Glossary.Subscription.WebHome]] is activated. It is an asynchronous one-way message.
Helena 2.1 1095
Helena 31.1 1096 Regardless of the registry [[component>>doc:xwiki:Glossary.Component.WebHome]] that caused the event to be triggered, the following common information is in the message:
Helena 2.1 1097
1098 * Date and time that the event occurred
Helena 31.1 1099 * The URN of the [[artefact>>doc:xwiki:Glossary.Artefact.WebHome]] that caused the event
1100 * The URN of the [[Subscription>>doc:xwiki:Glossary.Subscription.WebHome]] that produced the [[notification>>doc:xwiki:Glossary.Notification.WebHome]]
Helena 2.1 1101 * Event Action: Add, Replace, or Delete.
1102
Helena 31.1 1103 Additionally, supplementary information may be contained in the [[notification>>doc:xwiki:Glossary.Notification.WebHome]] as detailed below.
Helena 2.1 1104
1105 === {{id name="_Toc93885"/}}7.6.2 Structural Event Component ===
1106
Helena 31.1 1107 The [[notification>>doc:xwiki:Glossary.Notification.WebHome]] will contain the MaintainableArtefact that triggered the event in a form similar to the [[SDMX-ML>>doc:xwiki:Glossary.SDMX-ML.WebHome]] structural message (using elements from that namespace).
Helena 2.1 1108
1109 === {{id name="_Toc93886"/}}7.6.3 Registration Event Component ===
1110
Helena 31.1 1111 The [[notification>>doc:xwiki:Glossary.Notification.WebHome]] will contain the Registration.
Helena 2.1 1112
Helena 22.1 1113 ----
Helena 2.1 1114
Helena 21.6 1115 {{putFootnotes/}}