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

From version 21.11
edited by Helena
on 2025/05/15 14:29
Change comment: There is no comment for this version
To version 28.1
edited by Helena
on 2025/05/15 14:41
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -183,11 +183,11 @@
183 183  
184 184  === {{id name="_Toc93847"/}}5.2.2 Structure Submission Service ===
185 185  
186 -The registry must support a mechanism for submitting structural metadata. This mechanism can be the SDMX REST interface for structural metadata (this is defined in the corresponding GitHub project, dedicated to the SDMX REST API: __[[https:~~/~~/github.com/sdmx>>url:https://github.com/sdmx-twg/sdmx-rest]][[->>url:https://github.com/sdmx-twg/sdmx-rest]][[twg/sdmx>>url:https://github.com/sdmx-twg/sdmx-rest]][[->>url:https://github.com/sdmx-twg/sdmx-rest]][[rest>>url:https://github.com/sdmx-twg/sdmx-rest]]__[[)>>url:https://github.com/sdmx-twg/sdmx-rest]]. In order for the architecture to be scalable, the finest-grained piece of structural metadata that can be processed by the SDMX-RR is a MaintainableArtefact, with the exception of Item Schemes, where changes at an Item level is also possible (see next section on the SDMX Information Model).
186 +The registry must support a mechanism for submitting structural metadata. This mechanism can be the SDMX REST interface for structural metadata (this is defined in the corresponding GitHub project, dedicated to the SDMX REST API: [[__https:~~/~~/github.com/sdmx-twg/sdmx-rest__>>https://https:github.comsdmx-twgsdmx-rest]]). In order for the architecture to be scalable, the finest-grained piece of structural metadata that can be processed by the SDMX-RR is a MaintainableArtefact, with the exception of Item Schemes, where changes at an Item level is also possible (see next section on the SDMX Information Model).
187 187  
188 188  === {{id name="_Toc93848"/}}5.2.3 Structure Query Service ===
189 189  
190 -The registry must support a mechanism for querying for structural metadata. This mechanism can be the SDMX REST interface for structural metadata (this is defined in the corresponding GitHub project, dedicated to the SDMX REST API: __[[https:~~/~~/github.com/sdmx>>url:https://github.com/sdmx-twg/sdmx-rest]][[->>url:https://github.com/sdmx-twg/sdmx-rest]][[twg/sdmx>>url:https://github.com/sdmx-twg/sdmx-rest]][[->>url:https://github.com/sdmx-twg/sdmx-rest]][[rest>>url:https://github.com/sdmx-twg/sdmx-rest]]__ [[)>>url:https://github.com/sdmx-twg/sdmx-rest]]. The registry response to this query mechanism is the SDMX Structure message, which has as its root node:
190 +The registry must support a mechanism for querying for structural metadata. This mechanism can be the SDMX REST interface for structural metadata (this is defined in the corresponding GitHub project, dedicated to the SDMX REST API: [[__https:~~/~~/github.com/sdmx-twg/sdmx-rest__>>https://https:github.comsdmx-twgsdmx-rest]]). The registry response to this query mechanism is the SDMX Structure message, which has as its root node:
191 191  
192 192  * Structure
193 193  
... ... @@ -280,7 +280,7 @@
280 280  Subscription management involves a user submitting a subscription request which contains:
281 281  
282 282  * a query or 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, or for a domain category, or changes to a Data Structure Definition).
283 -* a list of URIs or endpoints to which an XML notification message can be sent. Supported endpoint types will be email (mailto~:) and HTTP POST (a normal http:~/~/ address);
283 +* a list of URIs or endpoints to which an XML notification message can be sent. Supported endpoint types will be email (mailto~: ) and HTTP POST (a normal http:~/~/ address);
284 284  * request for a list of submitted subscriptions;
285 285  * deletion of a subscription;
286 286  
... ... @@ -329,14 +329,12 @@
329 329  
330 330  The table below shows the identification and related data attributes to be stored in a registry for objects that are one of:
331 331  
332 -* //Annotable//
332 +* //nnotable//
333 333  * //Identifiable//
334 334  * //Nameable//
335 335  * //Versionable//
336 336  * //Maintainable//
337 337  
338 -:
339 -
340 340  (((
341 341  (% style="width:1052.29px" %)
342 342  |**Object Type**|(% style="width:241px" %)**Data Attributes**|(% style="width:156px" %)**Status**|**Data type**|(% style="width:457px" %)**Notes**
... ... @@ -364,9 +364,9 @@
364 364  
365 365  **Table 1: Common Attributes of Object Types**
366 366  
367 -=== {{id name="_Toc93856"/}}6.2 Unique identification of SDMX objects ===
365 +== {{id name="_Toc93856"/}}6.2 Unique identification of SDMX objects ==
368 368  
369 -===== {{id name="_Toc93857"/}}6.2.1 Agencies and Metadata Providers =====
367 +=== {{id name="_Toc93857"/}}6.2.1 Agencies and Metadata Providers ===
370 370  
371 371  The Maintenance Agency in SDMX is maintained in an Agency Scheme which itself is a sub class of Organisation Scheme – this is shown in the class diagram below.
372 372  
... ... @@ -743,7 +743,7 @@
743 743  
744 744  === {{id name="_Toc93862"/}}7.1 Structural Definition Metadata ===
745 745  
746 -===== {{id name="_Toc93863"/}}7.1.1 Introduction =====
744 +=== {{id name="_Toc93863"/}}7.1.1 Introduction ===
747 747  
748 748  The SDMX Registry must have the ability to support agencies in their role of defining and disseminating structural metadata artefacts. These artefacts include data structure definitions, code lists, concepts etc. and are fully defined in the SDMX-IM. An authenticated agency may submit valid structural metadata definitions which must be stored in the registry. Note that the term “structural metadata” refers as a general term to all structural components (Data Structure Definitions, Metadata Structure Definitions, Code Lists, Concept Schemes, etc.)
749 749  
... ... @@ -810,31 +810,28 @@
810 810  
811 811  **Table 4: Table of Maintainable Artefacts for Structural Definition Metadata**
812 812  
813 -===== {{id name="_Toc93864"/}}7.1.2 Item Scheme, Structure =====
811 +=== {{id name="_Toc93864"/}}7.1.2 Item Scheme, Structure ===
814 814  
815 815  The artefacts included in the structural definitions are:
816 816  
817 -• All types of Item Scheme (Codelist, Concept Scheme, Category Scheme, Organisation Scheme, Agency Scheme, Data Provider Scheme, Metadata Provider Scheme, Data Consumer Scheme, Organisation Unit Scheme, Transformation Scheme, Name Personalisation Scheme, Custom Type Scheme, Vtl Mapping Scheme, Ruleset Scheme, User Defined Operator Scheme)
815 +* All types of Item Scheme (Codelist, Concept Scheme, Category Scheme, Organisation Scheme, Agency Scheme, Data Provider Scheme, Metadata Provider Scheme, Data Consumer Scheme, Organisation Unit Scheme, Transformation Scheme, Name Personalisation Scheme, Custom Type Scheme, Vtl Mapping Scheme, Ruleset Scheme, User Defined Operator Scheme)
816 +* All types of Enumerated List (ValueList){{footnote}}Note that Codelist is also an EnumeratedList.{{/footnote}}
817 +* All types of Structure (Data Structure Definition, Metadata Structure Definition)
818 +* All types of Structure Usage (Dataflow, Metadataflow)
818 818  
819 - All types of Enumerated List (ValueList){{footnote}}Note that Codelist is also an EnumeratedList.{{/footnote}}
820 +=== {{id name="_Toc93865"/}}7.1.3 Structure Usage ===
820 820  
821 - All types of Structure (Data Structure Definition, Metadata Structure Definition)
822 +==== 7.1.3.1 Structure Usage: Basic Concepts ====
822 822  
823 -• All types of Structure Usage (Dataflow, Metadataflow)
824 -
825 -===== {{id name="_Toc93865"/}}7.1.3 Structure Usage =====
826 -
827 -**7.1.3.1 Structure Usage: Basic Concepts**
828 -
829 829  The Structure Usage defines, in its concrete classes of Dataflow and Metadataflow, 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 in one or more Category Scheme using the Categorisation mechanism. This gives the ability for an application to discover data and metadata by “drilling down” the Category Schemes.
830 830  
831 -**7.1.3.2 Structure Usage Schematic**
826 +==== 7.1.3.2 Structure Usage Schematic ====
832 832  
833 833  [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_52097ab5.jpg||height="246" width="438"]]
834 834  
835 835  **Figure 9: Schematic of Linking the Data and Metadata Flows to Categories and Structure Definitions**
836 836  
837 -**7.1.3.3 Structure Usage Model**
832 +==== 7.1.3.3 Structure Usage Model ====
838 838  
839 839  [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_302cc1a2.jpg||height="548" width="578"]]
840 840  
... ... @@ -850,9 +850,9 @@
850 850  * Categorisation to Dataflow and Category
851 851  * Categorisation to Metadataflow and Category
852 852  
853 -=== {{id name="_Toc93866"/}}7.2 Data and Metadata Provisioning ===
848 +== {{id name="_Toc93866"/}}7.2 Data and Metadata Provisioning ==
854 854  
855 -===== {{id name="_Toc93867"/}}7.2.1 Provisioning Agreement: Basic concepts =====
850 +=== {{id name="_Toc93867"/}}7.2.1 Provisioning Agreement: Basic concepts ===
856 856  
857 857  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-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 level agreements, or other provisioning agreements in those scenarios that are based on legal directives. Additionally, quality and timeliness metadata can be supported by this framework which makes it practical to implement information supply chain monitoring.
858 858  
... ... @@ -860,7 +860,7 @@
860 860  
861 861  Although the Provision Agreement 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.
862 862  
863 -===== {{id name="_Toc93868"/}}7.2.2 Provisioning Agreement Model – pull use case =====
858 +=== {{id name="_Toc93868"/}}7.2.2 Provisioning Agreement Model – pull use case ===
864 864  
865 865  An organisation which publishes statistical data or reference metadata and wishes to make it available to an SDMX enabled community is called a Data Provider. In terms of the SDMX Information Model, the Data Provider is maintained in a Data Provider Scheme.
866 866  
... ... @@ -882,9 +882,9 @@
882 882  
883 883  A Provision Agreement is structural metadata. Each Provision Agreement must reference a Data Provider or Metadata Provider and a Dataflow or Metadataflow Definition. The Data/Metadata Provider and the Dataflow/Metadataflow must exist already in order to set up a Metadata Provision or Provision Agreement.
884 884  
885 -=== {{id name="_Toc93869"/}}7.3 Data and Metadata Constraints ===
880 +== {{id name="_Toc93869"/}}7.3 Data and Metadata Constraints ==
886 886  
887 -===== {{id name="_Toc93870"/}}7.3.1 Data and Metadata Constraints: Basic Concepts =====
882 +=== {{id name="_Toc93870"/}}7.3.1 Data and Metadata Constraints: Basic Concepts ===
888 888  
889 889  Constraints are, effectively, lists of the valid or actual content of data and metadata. Constraints can be used to specify a subset of the theoretical content of data set or metadata set which can be derived from the specification of the DSD or MSD. A Constraint can comprise a list of keys or a list of content (usually code values) of a specific component such as a dimension or attribute.
890 890  
... ... @@ -948,17 +948,14 @@
948 948  
949 949  The Registration has an action attribute which takes one of the following values:
950 950  
951 -:
952 -
953 953  (((
954 -|**Action Attribute Value**|**Behaviour**
955 -|Append|Add this Registration to the registry
956 -|Replace|(((
957 -Replace the existing Registration with identified by the id in the
958 -
959 -Registration of the SubmitRegistrationRequest
947 +(% style="width:761.294px" %)
948 +|(% style="width:196px" %)**Action Attribute Value**|(% style="width:561px" %)**Behaviour**
949 +|(% style="width:196px" %)Append|(% style="width:561px" %)Add this Registration to the registry
950 +|(% style="width:196px" %)Replace|(% style="width:561px" %)(((
951 +Replace the existing Registration with identified by the id in the Registration of the SubmitRegistrationRequest
960 960  )))
961 -|Delete|Delete the existing Registration identified by the id in the Registration of the SubmitRegistrationRequest
953 +|(% style="width:196px" %)Delete|(% style="width:561px" %)Delete the existing Registration identified by the id in the Registration of the SubmitRegistrationRequest
962 962  )))
963 963  
964 964  [[image:SDMX 3-0-0 SECTION 5 FINAL-1.0_en_bc1dcdec.jpg||height="575" width="579"]]
... ... @@ -975,27 +975,20 @@
975 975  
976 976  Information in the data or metadata set is extracted and placed in one or more //Constraint//s (see the //Constraint// model in the SDMX Information Model – Section 2 of the SDMX Standards). The information to be extracted is indicated by the Boolean values set on the ProvisionAgreement or MetadataProvisionAgreement as shown in the table below.
977 977  
978 -:
979 -
980 980  (((
981 -|**Indexing Required**|**Registration Process Activity**
982 -|indexTimeSeries|Extract all the series keys and create a KeySet(s) Constraint.
983 -|indexDataSet|Extract all the codes and other content of the Key value of the Series Key in a Data Set and create one or more Cube Regions containing Member Selections of Dimension Components of the Constraints model in the SDMX-IM, and the associated Selection Value.
984 -|indexReportingPeriod|(((
971 +(% style="width:678.294px" %)
972 +|**Indexing Required**|(% style="width:504px" %)**Registration Process Activity**
973 +|indexTimeSeries|(% style="width:504px" %)Extract all the series keys and create a KeySet(s) Constraint.
974 +|indexDataSet|(% style="width:504px" %)Extract all the codes and other content of the Key value of the Series Key in a Data Set and create one or more Cube Regions containing Member Selections of Dimension Components of the Constraints model in the SDMX-IM, and the associated Selection Value.
975 +|indexReportingPeriod|(% style="width:504px" %)(((
985 985  This applies only to a registered __dataset__.
986 -
987 987  Extract the Reporting Begin and Reporting End from the Header of the Message containing the data set, and create a Reference Period constraint.
988 988  )))
989 -|**Indexing Required**|**Registration Process Activity**
990 -|indexAttributes|(((
979 +|**Indexing Required**|(% style="width:504px" %)**Registration Process Activity**
980 +|indexAttributes|(% style="width:504px" %)(((
991 991  **Data Set**
992 -
993 -Extract the content of the Attribute Values in a Data Set and create one or more Cube Regions containing Member Selections of Data Attribute Components of the Constraints model in the
994 -
995 -SDMXIM, and the associated Selection Value
996 -
982 +Extract the content of the Attribute Values in a Data Set and create one or more Cube Regions containing Member Selections of Data Attribute Components of the Constraints model in the SDMXIM, and the associated Selection Value
997 997  **Metadata Set**
998 -
999 999  Indicate the presence of a Reported Attribute by creating one or more Cube Regions containing Member Selections of Metadata Attribute Components of the Constraints model in the SDMX-IM. Note that the content is not stored in the Selection Value.
1000 1000  )))
1001 1001  )))
... ... @@ -1004,7 +1004,7 @@
1004 1004  
1005 1005  The Registration must reference the ProvisionAgreement or MetadataProvisionAgreement to which it relates.
1006 1006  
1007 -===== {{id name="_Toc93876"/}}7.4.3 Registration Response =====
992 +=== {{id name="_Toc93876"/}}7.4.3 Registration Response ===
1008 1008  
1009 1009  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”.
1010 1010  
... ... @@ -1034,20 +1034,18 @@
1034 1034  
1035 1035  Regardless of the type of registry/repository events being observed, a subscription always contains:
1036 1036  
1037 -1. A set of URIs describing the end-points to which notifications must be sent if the subscription is activated. The URIs can be either mailto~: or http: protocol. In the former case an email notification is sent; in the latter an HTTP POST notification is sent.
1022 +1. set of URIs describing the end-points to which notifications must be sent if the subscription is activated. The URIs can be either mailto~: or http: protocol. In the former case an email notification is sent; in the latter an HTTP POST notification is sent.
1038 1038  1. A user-defined identifier, which is returned in the response to the subscription request. This helps with asynchronous processing and is NOT stored in the Registry.
1039 1039  1. A validity period which defines both when the subscription becomes active and expires. The subscriber may be sent a notification on expiration of the subscription.
1040 1040  1. A selector which specifies which type of events are of interest. The set of event types is:
1041 1041  
1042 -:
1043 -::
1044 -
1045 1045  (((
1046 -|**Event Type**|**Comment**
1047 -|STRUCTURAL_REPOSITORY_EVENTS|Life-cycle changes to Maintainable Artefacts in the structural metadata repository.
1048 -|DATA_REGISTRATION_EVENTS|Whenever a published dataset is registered. This can be either a SDMXML data file or an SDMX conformant database.
1049 -|METADATA_REGISTRATION_EVENTS|Whenever a published metadataset is registered. This can be either a SDMXML reference metadata file or an SDMX conformant database.
1050 -|ALL_EVENTS|All events of the specified EventType
1028 +(% style="width:856.294px" %)
1029 +|(% style="width:320px" %)**Event Type**|(% style="width:532px" %)**Comment**
1030 +|(% style="width:320px" %)STRUCTURAL_REPOSITORY_EVENTS|(% style="width:532px" %)Life-cycle changes to Maintainable Artefacts in the structural metadata repository.
1031 +|(% style="width:320px" %)DATA_REGISTRATION_EVENTS|(% style="width:532px" %)Whenever a published dataset is registered. This can be either a SDMXML data file or an SDMX conformant database.
1032 +|(% style="width:320px" %)METADATA_REGISTRATION_EVENTS|(% style="width:532px" %)Whenever a published metadataset is registered. This can be either a SDMXML reference metadata file or an SDMX conformant database.
1033 +|(% style="width:320px" %)ALL_EVENTS|(% style="width:532px" %)All events of the specified EventType
1051 1051  )))
1052 1052  
1053 1053  === {{id name="_Toc93880"/}}7.5.3 Wildcard Facility ===
... ... @@ -1114,15 +1114,14 @@
1114 1114  
1115 1115  Whenever a dataset or metadata-set is registered a registration event is created. A subscription may be observing all data or metadata registrations, or it may focus on specific registrations as shown in the table below:
1116 1116  
1117 -:
1118 -
1119 1119  (((
1120 -|**Selector**|**Comment**
1121 -|DataProvider & MetadataProvider|Any datasets or metadata sets registered by the specified data or metadata provider will activate the notification.
1122 -|ProvisionAgreement & MetadataProvisionAgreement|Any datasets or metadata sets registered for the agreement will activate the notification.
1123 -|Dataflow & Metadataflow|Any datasets or metadata sets registered for the specified dataflow (or metadataflow) will activate the notification.
1124 -|DataStructureDefinition & MetadataStructureDefinition|Any datasets or metadata sets registered for those dataflows (or metadataflows) that are based on the specified Data Structure Definition will activate the notification
1125 -|Category|Any datasets or metadata sets registered for those dataflows, metadataflows, provision agreements that are categorised by the category.
1101 +(% style="width:1126.29px" %)
1102 +|(% style="width:382px" %)**Selector**|(% style="width:740px" %)**Comment**
1103 +|(% style="width:382px" %)DataProvider & MetadataProvider|(% style="width:740px" %)Any datasets or metadata sets registered by the specified data or metadata provider will activate the notification.
1104 +|(% style="width:382px" %)ProvisionAgreement & MetadataProvisionAgreement|(% style="width:740px" %)Any datasets or metadata sets registered for the agreement will activate the notification.
1105 +|(% style="width:382px" %)Dataflow & Metadataflow|(% style="width:740px" %)Any datasets or metadata sets registered for the specified dataflow (or metadataflow) will activate the notification.
1106 +|(% style="width:382px" %)DataStructureDefinition & MetadataStructureDefinition|(% style="width:740px" %)Any datasets or metadata sets registered for those dataflows (or metadataflows) that are based on the specified Data Structure Definition will activate the notification
1107 +|(% style="width:382px" %)Category|(% style="width:740px" %)Any datasets or metadata sets registered for those dataflows, metadataflows, provision agreements that are categorised by the category.
1126 1126  )))
1127 1127  
1128 1128  The event will also capture the semantic of the registration: deletion or replacement of an existing registration or a new registration.
... ... @@ -1154,12 +1154,6 @@
1154 1154  
1155 1155  The notification will contain the Registration.
1156 1156  
1157 -[[1>>path:#sdfootnote1anc||name="sdfootnote1sym"]] 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.4draft does not break integrity of the aforementioned DSD.
1139 +----
1158 1158  
1159 -[[2>>path:#sdfootnote2anc||name="sdfootnote2sym"]] 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:
1160 -
1161 -IMF.SubAgency1
1162 -
1163 -[[3>>path:#sdfootnote3anc||name="sdfootnote3sym"]] Note that Codelist is also an EnumeratedList.
1164 -
1165 1165  {{putFootnotes/}}