Last modified by Artur on 2025/09/30 13:28

From version 21.16
edited by Helena
on 2025/06/08 16:43
Change comment: There is no comment for this version
To version 21.10
edited by Helena
on 2025/06/08 16:40
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -875,9 +875,9 @@
875 875  
876 876  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.
877 877  
878 -== 7.3 Data and Metadata Constraints ==
878 +=== {{id name="_Toc90818"/}}7.3 Data and Metadata Constraints ===
879 879  
880 -=== 7.3.1 Data and Metadata Constraints: Basic Concepts ===
880 +===== {{id name="_Toc90819"/}}7.3.1 Data and Metadata Constraints: Basic Concepts =====
881 881  
882 882  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.
883 883  
... ... @@ -891,13 +891,13 @@
891 891  
892 892  In addition, DataAvailabilityConstraints 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 codes that actually exist in a data source (these can be used to build relevant selection tables).
893 893  
894 -=== 7.3.2 Data and Metadata Constraints: Schematic ===
894 +===== {{id name="_Toc90820"/}}7.3.2 Data and Metadata Constraints: Schematic =====
895 895  
896 896  [[image:SDMX 3.1 Section 5_en_28d0cadc.jpg||height="326" width="580"]]
897 897  
898 898  **Figure 14: Schematic of the Constraint and the Artefacts that can be constrained**
899 899  
900 -=== 7.3.3 Data and Metadata Constraints: Model ===
900 +===== {{id name="_Toc90821"/}}7.3.3 Data and Metadata Constraints: Model =====
901 901  
902 902  [[image:SDMX 3.1 Section 5_en_a3184f6a.jpg||height="298" width="579"]]
903 903  
... ... @@ -913,9 +913,9 @@
913 913  
914 914  The content of the Constraint can be found in the SDMX Information Model document.
915 915  
916 -== 7.4 Data Registration ==
916 +=== {{id name="_Toc90822"/}}7.4 Data Registration ===
917 917  
918 -=== 7.4.1 Basic Concepts ===
918 +===== {{id name="_Toc90823"/}}7.4.1 Basic Concepts =====
919 919  
920 920  A Data Provider has published a new dataset conforming to an existing Dataflow (and hence Data Structure Definition). 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 RESTful query with an SDMX-ML data stream.
921 921  
... ... @@ -925,15 +925,15 @@
925 925  
926 926  SDMX-RR supports dataset registration via the Registration Request, which can be created by the Data Provider (giving the Data Provider 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.
927 927  
928 -=== 7.4.2 The Registration Request ===
928 +===== {{id name="_Toc90824"/}}7.4.2 The Registration Request =====
929 929  
930 -==== 7.4.2.1 Registration Request Schematic ====
930 +**7.4.2.1 Registration Request Schematic**
931 931  
932 932  [[image:SDMX 3.1 Section 5_en_293a2ea6.jpg||height="337" width="554"]]
933 933  
934 934  **Figure 16: Schematic of the Objects Concerned with Registration**
935 935  
936 -==== 7.4.2.2 Registration Request Model ====
936 +**7.4.2.2 Registration Request Model**
937 937  
938 938  The following UML diagram shows the composition of the registration request. Each request is made up of one or more Registrations, one per dataset to be registered. The Registration can optionally have information, which has been extracted from the Registration:
939 939  
... ... @@ -945,11 +945,13 @@
945 945  
946 946  The Registration has an action attribute which takes one of the following values:
947 947  
948 +:
949 +
948 948  (((
949 -|(% style="width:224px" %)**Action Attribute Value**|(% style="width:1457px" %)**Behaviour**
950 -|(% style="width:224px" %)Append|(% style="width:1457px" %)Add this Registration to the registry
951 -|(% style="width:224px" %)Replace|(% style="width:1457px" %)Replace the existing Registration with identified by the id in the Registration of the SubmitRegistrationRequest
952 -|(% style="width:224px" %)Delete|(% style="width:1457px" %)Delete the existing Registration identified by the id in the Registration of the SubmitRegistrationRequest
951 +|**Action Attribute Value**|**Behaviour**
952 +|Append|Add this Registration to the registry
953 +|Replace|Replace the existing Registration with identified by the id in the Registration of the SubmitRegistrationRequest
954 +|Delete|Delete the existing Registration identified by the id in the Registration of the SubmitRegistrationRequest
953 953  )))
954 954  
955 955  [[image:SDMX 3.1 Section 5_en_90b3c64a.jpg||height="434" width="579"]]
... ... @@ -968,24 +968,30 @@
968 968  
969 969  https:~/~/github.com/sdmx-twg/sdmx-rest/blob/master/doc/availability.md
970 970  
973 +:
974 +
971 971  (((
972 -(% style="width:918.835px" %)
973 -|**Indexing Required**|(% style="width:745px" %)**Registration Process Activity**
974 -|indexTimeSeries|(% style="width:745px" %)Extract all the series keys and create a KeySet(s) Constraint.
975 -|indexDataSet|(% style="width:745px" %)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.
976 -|indexReportingPeriod|(% style="width:745px" %)(((
976 +|**Indexing Required**|**Registration Process Activity**
977 +|indexTimeSeries|Extract all the series keys and create a KeySet(s) Constraint.
978 +|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.
979 +|indexReportingPeriod|(((
977 977  This applies only to a registered __dataset__.
981 +
978 978  Extract the Reporting Begin and Reporting End from the Header of the Message containing the data set, and create a Reference Period constraint.
979 979  )))
980 -|indexAttributes|(% style="width:745px" %)(((
984 +|indexAttributes|(((
981 981  **Data Set**
986 +
982 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
983 983  
984 984  **Metadata Set**
985 -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
990 +
991 +Indicate the presence of a Reported Attribute by creating one or more Cube Regions containing Member Selections of Metadata Attribute
992 +
993 +Components of the Constraints model in the
986 986  )))
987 -|**Indexing Required**|(% style="width:745px" %)**Registration Process Activity**
988 -| |(% style="width:745px" %)SDMX-IM. Note that the content is not stored in the Selection Value.
995 +|**Indexing Required**|**Registration Process Activity**
996 +| |SDMX-IM. Note that the content is not stored in the Selection Value.
989 989  )))
990 990  
991 991  Constraints that specify the contents of a //QueryDatasource// are submitted to the Registry via the structure submission service (i.e., the RESTful API).
... ... @@ -992,7 +992,7 @@
992 992  
993 993  The Registration must reference the ProvisionAgreement to which it relates.
994 994  
995 -=== 7.4.3 Registration Response ===
1003 +===== {{id name="_Toc90825"/}}7.4.3 Registration Response =====
996 996  
997 997  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”.
998 998  
... ... @@ -1004,7 +1004,7 @@
1004 1004  
1005 1005  **Figure 18: Logical class diagram showing the registration response**
1006 1006  
1007 -== 7.5 Subscription and Notification Service ==
1015 +=== {{id name="_Toc90826"/}}7.5 Subscription and Notification Service ===
1008 1008  
1009 1009  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.
1010 1010  
... ... @@ -1012,13 +1012,13 @@
1012 1012  
1013 1013  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”.
1014 1014  
1015 -=== 7.5.1 Subscription Logical Class Diagram ===
1023 +===== {{id name="_Toc90827"/}}7.5.1 Subscription Logical Class Diagram =====
1016 1016  
1017 1017  [[image:SDMX 3.1 Section 5_en_1433df5d.jpg||height="680" width="587"]]
1018 1018  
1019 1019  **Figure 19: Logical Class Diagram of the Subscription**
1020 1020  
1021 -=== 7.5.2 Subscription Information ===
1029 +===== {{id name="_Toc90828"/}}7.5.2 Subscription Information =====
1022 1022  
1023 1023  Regardless of the type of registry/repository events being observed, a subscription always contains:
1024 1024  
... ... @@ -1027,16 +1027,18 @@
1027 1027  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.
1028 1028  1. A selector which specifies which type of events are of interest. The set of event types is:
1029 1029  
1038 +:
1039 +::
1040 +
1030 1030  (((
1031 -(% style="width:1061.83px" %)
1032 -|**Event Type**|(% style="width:660px" %)**Comment**
1033 -|STRUCTURAL_REPOSITORY_EVENTS|(% style="width:660px" %)Life-cycle changes to Maintainable Artefacts in the structural metadata repository.
1034 -|DATA_REGISTRATION_EVENTS|(% style="width:660px" %)Whenever a published dataset is registered. This can be either a SDMXML data file or an SDMX conformant database.
1035 -|METADATA_REGISTRATION_EVENTS|(% style="width:660px" %)Whenever a published metadataset is registered. This can be either a SDMXML reference metadata file or an SDMX conformant database.
1036 -|ALL_EVENTS|(% style="width:660px" %)All events of the specified EventType
1042 +|**Event Type**|**Comment**
1043 +|STRUCTURAL_REPOSITORY_EVENTS|Life-cycle changes to Maintainable Artefacts in the structural metadata repository.
1044 +|DATA_REGISTRATION_EVENTS|Whenever a published dataset is registered. This can be either a SDMXML data file or an SDMX conformant database.
1045 +|METADATA_REGISTRATION_EVENTS|Whenever a published metadataset is registered. This can be either a SDMXML reference metadata file or an SDMX conformant database.
1046 +|ALL_EVENTS|All events of the specified EventType
1037 1037  )))
1038 1038  
1039 -=== 7.5.3 Wildcard Facility ===
1049 +===== {{id name="_Toc90829"/}}7.5.3 Wildcard Facility =====
1040 1040  
1041 1041  Subscription notification supports wildcarded identifier components URNs, which are identifiers which have some or all of their component parts replaced by the wildcard character `*`. Identifier components comprise:
1042 1042  
... ... @@ -1092,29 +1092,30 @@
1092 1092  
1093 1093  The complete SDMX versioning syntax can be found in the SDMX Standards Section 6 “Technical Notes”, paragraph “4.3 Versioning”.
1094 1094  
1095 -=== 7.5.4 Structural Repository Events ===
1105 +===== {{id name="_Toc90830"/}}7.5.4 Structural Repository Events =====
1096 1096  
1097 1097  Whenever a maintainable artefact (data structure definition, concept scheme, codelist, metadata structure definition, category scheme, etc.) is added to, deleted from, or modified in the structural metadata repository, a structural metadata event is triggered. Subscriptions may be set up to monitor all such events, or focus on specific artefacts such as a Data Structure Definition.
1098 1098  
1099 -=== 7.5.5 Registration Events ===
1109 +===== {{id name="_Toc90831"/}}7.5.5 Registration Events =====
1100 1100  
1101 1101  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:
1102 1102  
1113 +:
1114 +
1103 1103  (((
1104 -(% style="width:1082.83px" %)
1105 -|(% style="width:230px" %)**Selector**|(% style="width:850px" %)**Comment**
1106 -|(% style="width:230px" %)DataProvider|(% style="width:850px" %)Any datasets registered by the specified dataprovider will activate the notification.
1107 -|(% style="width:230px" %)ProvisionAgreement|(% style="width:850px" %)Any datasets for the agreement will activate the notification.
1108 -|(% style="width:230px" %)Dataflow|(% style="width:850px" %)Any datasets for the specified dataflow will activate the notification.
1109 -|(% style="width:230px" %)DataStructureDefinition|(% style="width:850px" %)Any datasets for those dataflows that are based on the specified Data Structure Definition will activate the notification
1110 -|(% style="width:230px" %)Category|(% style="width:850px" %)Any datasets registered for those dataflows, provision agreements that are categorised by the category.
1116 +|**Selector**|**Comment**
1117 +|DataProvider|Any datasets registered by the specified dataprovider will activate the notification.
1118 +|ProvisionAgreement|Any datasets for the agreement will activate the notification.
1119 +|Dataflow|Any datasets for the specified dataflow will activate the notification.
1120 +|DataStructureDefinition|Any datasets for those dataflows that are based on the specified Data Structure Definition will activate the notification
1121 +|Category|Any datasets registered for those dataflows, provision agreements that are categorised by the category.
1111 1111  )))
1112 1112  
1113 1113  The event will also capture the semantic of the registration: deletion or replacement of an existing registration or a new registration.
1114 1114  
1115 -== 7.6 Notification ==
1126 +== {{id name="_Toc90832"/}}7.6 Notification ==
1116 1116  
1117 -=== 7.6.1 Logical Class Diagram ===
1128 +==== {{id name="_Toc90833"/}}7.6.1 Logical Class Diagram ====
1118 1118  
1119 1119  [[image:SDMX 3.1 Section 5_en_8bc1b889.jpg||height="379" width="579"]]
1120 1120  
... ... @@ -1131,11 +1131,11 @@
1131 1131  
1132 1132  Additionally, supplementary information may be contained in the notification as detailed below.
1133 1133  
1134 -=== 7.6.2 Structural Event Component ===
1145 +==== {{id name="_Toc90834"/}}7.6.2 Structural Event Component ====
1135 1135  
1136 1136  The notification will contain the MaintainableArtefact that triggered the event in a form similar to the SDMX-ML structural message (using elements from that namespace).
1137 1137  
1138 -=== 7.6.3 Registration Event Component ===
1149 +==== {{id name="_Toc90835"/}}7.6.3 Registration Event Component ====
1139 1139  
1140 1140  The notification will contain the Registration.
1141 1141