Last modified by Artur on 2025/09/30 13:28
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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 -== ={{id name="_Toc90818"/}}7.3 Data and Metadata Constraints ===878 +== 7.3 Data and Metadata Constraints == 879 879 880 -=== =={{id name="_Toc90819"/}}7.3.1 Data and Metadata Constraints: Basic Concepts =====880 +=== 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 -=== =={{id name="_Toc90820"/}}7.3.2 Data and Metadata Constraints: Schematic =====894 +=== 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 -=== =={{id name="_Toc90821"/}}7.3.3 Data and Metadata Constraints: Model =====900 +=== 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 -== ={{id name="_Toc90822"/}}7.4 Data Registration ===916 +== 7.4 Data Registration == 917 917 918 -=== =={{id name="_Toc90823"/}}7.4.1 Basic Concepts =====918 +=== 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 -=== =={{id name="_Toc90824"/}}7.4.2 The Registration Request =====928 +=== 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,13 +945,11 @@ 945 945 946 946 The Registration has an action attribute which takes one of the following values: 947 947 948 -: 949 - 950 950 ((( 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 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 955 955 ))) 956 956 957 957 [[image:SDMX 3.1 Section 5_en_90b3c64a.jpg||height="434" width="579"]] ... ... @@ -970,30 +970,24 @@ 970 970 971 971 https:~/~/github.com/sdmx-twg/sdmx-rest/blob/master/doc/availability.md 972 972 973 -: 974 - 975 975 ((( 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|((( 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" %)((( 980 980 This applies only to a registered __dataset__. 981 - 982 982 Extract the Reporting Begin and Reporting End from the Header of the Message containing the data set, and create a Reference Period constraint. 983 983 ))) 984 -|indexAttributes|((( 980 +|indexAttributes|(% style="width:745px" %)((( 985 985 **Data Set** 986 - 987 987 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 988 988 989 989 **Metadata Set** 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 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 994 994 ))) 995 -|**Indexing Required**|**Registration Process Activity** 996 -| |SDMX-IM. Note that the content is not stored in the Selection Value. 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. 997 997 ))) 998 998 999 999 Constraints that specify the contents of a //QueryDatasource// are submitted to the Registry via the structure submission service (i.e., the RESTful API). ... ... @@ -1000,7 +1000,7 @@ 1000 1000 1001 1001 The Registration must reference the ProvisionAgreement to which it relates. 1002 1002 1003 -=== =={{id name="_Toc90825"/}}7.4.3 Registration Response =====995 +=== 7.4.3 Registration Response === 1004 1004 1005 1005 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”. 1006 1006 ... ... @@ -1012,7 +1012,7 @@ 1012 1012 1013 1013 **Figure 18: Logical class diagram showing the registration response** 1014 1014 1015 -== ={{id name="_Toc90826"/}}7.5 Subscription and Notification Service ===1007 +== 7.5 Subscription and Notification Service == 1016 1016 1017 1017 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. 1018 1018 ... ... @@ -1020,13 +1020,13 @@ 1020 1020 1021 1021 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”. 1022 1022 1023 -=== =={{id name="_Toc90827"/}}7.5.1 Subscription Logical Class Diagram =====1015 +=== 7.5.1 Subscription Logical Class Diagram === 1024 1024 1025 1025 [[image:SDMX 3.1 Section 5_en_1433df5d.jpg||height="680" width="587"]] 1026 1026 1027 1027 **Figure 19: Logical Class Diagram of the Subscription** 1028 1028 1029 -=== =={{id name="_Toc90828"/}}7.5.2 Subscription Information =====1021 +=== 7.5.2 Subscription Information === 1030 1030 1031 1031 Regardless of the type of registry/repository events being observed, a subscription always contains: 1032 1032 ... ... @@ -1035,18 +1035,16 @@ 1035 1035 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. 1036 1036 1. A selector which specifies which type of events are of interest. The set of event types is: 1037 1037 1038 -: 1039 -:: 1040 - 1041 1041 ((( 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 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 1047 1047 ))) 1048 1048 1049 -=== =={{id name="_Toc90829"/}}7.5.3 Wildcard Facility =====1039 +=== 7.5.3 Wildcard Facility === 1050 1050 1051 1051 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: 1052 1052