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

From version 2.13
edited by Helena
on 2025/05/21 15:07
Change comment: There is no comment for this version
To version 4.1
edited by Helena
on 2025/05/21 15:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,10 +4,11 @@
4 4  
5 5  **Revision History**
6 6  
7 -|**Revision**|**Date**|**Contents**
8 -| |April 2011|Initial release
9 -|1.0|July 2011|Rectification of problems of the specifications dated April 2011
10 -|2.0|July 2020|Addition of VTL (Validation and Transformation Language) package, maintainable artefacts, nameable artefacts to 5.2.3, 6.2.2, 6.2.3, 6.2.4, 7.1.1
7 +(% style="width:833.294px" %)
8 +|(% style="width:122px" %)**Revision**|(% style="width:126px" %)**Date**|(% style="width:581px" %)**Contents**
9 +|(% style="width:122px" %) |(% style="width:126px" %)April 2011|(% style="width:581px" %)Initial release
10 +|(% style="width:122px" %)1.0|(% style="width:126px" %)July 2011|(% style="width:581px" %)Rectification of problems of the specifications dated April 2011
11 +|(% style="width:122px" %)2.0|(% style="width:126px" %)July 2020|(% style="width:581px" %)Addition of VTL (Validation and Transformation Language) package, maintainable artefacts, nameable artefacts to 5.2.3, 6.2.2, 6.2.3, 6.2.4, 7.1.1
11 11  
12 12  **Corrigendum**
13 13  
... ... @@ -288,27 +288,22 @@
288 288  * that a queryable data source exists - this would necessitate the registration service querying the service to determine its existence
289 289  * that a simple data source exists (i.e. a file accessible at a URL)
290 290  * that the correct Data Structure Definition or Metadata Structure Definition is used by the registered data that the components (Dimensions, Attributes, Measures, Identifier Components etc.) are consistent with the Data Structure Definition or Metadata Structure Definition
291 -* that the valid representations of the concepts to which these components 382 correspond conform to the definition in the Data Structure Definition or Metadata Structure Definition
292 +* that the valid representations of the concepts to which these components correspond conform to the definition in the Data Structure Definition or Metadata Structure Definition
292 292  
293 -3The Registration has an action attribute which takes one of the following values:
294 +The Registration has an action attribute which takes one of the following values:
294 294  
295 -|(% style="width:249px" %)(((
296 -**Action Attribute Value**
297 -)))|(% style="width:1622px" %)**Behaviour**
298 -|(% style="width:249px" %)Append|(% style="width:1622px" %)Add this registration to the registry
299 -|(% style="width:249px" %)Replace|(% style="width:1622px" %)Replace the existing Registration with this Registration identified by the id in the Registration of the Submit Registration Request
300 -|(% style="width:249px" %)Delete|(% style="width:1622px" %)Delete the existing Registration identified by the id in the Registration of the Submit Registration Request
296 +|(% style="width:219px" %)**Action Attribute Value**|(% style="width:1652px" %)**Behaviour**
297 +|(% style="width:219px" %)Append|(% style="width:1652px" %)Add this registration to the registry
298 +|(% style="width:219px" %)Replace|(% style="width:1652px" %)Replace the existing Registration with this Registration identified by the id in the Registration of the Submit Registration Request
299 +|(% style="width:219px" %)Delete|(% style="width:1652px" %)Delete the existing Registration identified by the id in the Registration of the Submit Registration Request
301 301  
302 302  The Registration has three Boolean attributes which may be present to determine how an SDMX compliant Dataset or Metadata Set indexing application must index the Datasets or Metadata Set upon registration. The indexing application behaviour is as follows:
303 303  
304 -|**Boolean Attribute**|**Behaviour if Value is “true”**
305 -|indexTimeSeries|A compliant indexing application must index all the time series keys (for a Dataset registration) or metadata target values (for a Metadata Set registration)
306 -|indexDataSet|(((
307 -A compliant indexing application must index the range of actual (present) values for each dimension of the Dataset (for a Dataset registration) or the range of actual (present) values for each Metadata Attribute which takes an enumerated value.
308 -
303 +|(% style="width:228px" %)**Boolean Attribute**|(% style="width:1644px" %)**Behaviour if Value is “true”**
304 +|(% style="width:228px" %)indexTimeSeries|(% style="width:1644px" %)A compliant indexing application must index all the time series keys (for a Dataset registration) or metadata target values (for a Metadata Set registration)
305 +|(% style="width:228px" %)indexDataSet|(% style="width:1644px" %)A compliant indexing application must index the range of actual (present) values for each dimension of the Dataset (for a Dataset registration) or the range of actual (present) values for each Metadata Attribute which takes an enumerated value.
309 309  Note that for data this requires much less storage than full key indexing, but this method cannot guarantee that a specific combination of Dimension values (the Key) is actually present in the Dataset
310 -)))
311 -|indexReportingPeriod|A compliant indexing application must index the time period range(s) for which data are present in the Dataset or Metadata Set
307 +|(% style="width:228px" %)indexReportingPeriod|(% style="width:1644px" %)A compliant indexing application must index the time period range(s) for which data are present in the Dataset or Metadata Set
312 312  
313 313  === 5.2.5 Data and Reference Metadata Discovery ===
314 314  
... ... @@ -340,8 +340,8 @@
340 340  
341 341  The following table defines the behaviour of the SDMX Registry for the various Registry Interface messages.
342 342  
343 -|(% style="width:244px" %)**Interface**|**Behaviour**
344 -|(% style="width:244px" %)All|(((
339 +|(% style="width:227px" %)**Interface**|(% style="width:1644px" %)**Behaviour**
340 +|(% style="width:227px" %)All|(% style="width:1644px" %)(((
345 345  1) If the action is set to “replace” then the entire contents of the existing maintainable object in the Registry MUST be replaced by the object submitted, unless the final attribute is set to “true” in which case the only changes that are allowed are to the following constructs:
346 346  
347 347  * Name – this applies to the Maintainable object and its contained elements, such a Code in a Code list.
... ... @@ -355,7 +355,6 @@
355 355  * isExternalReference
356 356  
357 357  2) 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.
358 -
359 359  3) If the action is set to “delete” then the Registry MUST verify that the object can deleted. In order to qualify for deletion the object must:
360 360  
361 361  а) Not have the final attribute set to “true”
... ... @@ -362,12 +362,11 @@
362 362  b) Not be referenced from any other object in the Registry.
363 363  
364 364  4) The version rules in the SDMX Schema documentation MUST be obeyed.
365 -
366 366  5) The specific rules for the elements and attributes documented in the SDMX Schema MUST be obeyed.
367 367  )))
368 -|(% style="width:244px" %)SubmitStructureRequest|Structures are submitted at the level of the Maintainable Artefact and the behaviour in “All” above is therefore at the level of the Maintainable Artefact.
369 -|(% style="width:244px" %)SubmitProvisioningRequest|No additional behaviour.
370 -|(% style="width:244px" %)Submit Registration Request|(((
362 +|(% style="width:227px" %)SubmitStructureRequest|(% style="width:1644px" %)Structures are submitted at the level of the Maintainable Artefact and the behaviour in “All” above is therefore at the level of the Maintainable Artefact.
363 +|(% style="width:227px" %)SubmitProvisioningRequest|(% style="width:1644px" %)No additional behaviour.
364 +|(% style="width:227px" %)Submit Registration Request|(% style="width:1644px" %)(((
371 371  If the datasource is a file (simple datasource) then the file MAY be retrieved and indexed according to the Boolean attributes set in the Registration.
372 372  For a queryable datasource the Registry MAY validate that the source exists and can accept an SDMX-ML data query.
373 373  )))
... ... @@ -454,7 +454,8 @@
454 454  
455 455  [[image:1747824123012-527.jpeg]]
456 456  
457 -==== Figure 7: Example of Hierarchic Structure of Agencies ====
451 +*
452 +** Figure 7: Example of Hierarchic Structure of Agencies
458 458  
459 459  The following organizations maintain an Agency Scheme.
460 460  
... ... @@ -471,7 +471,6 @@
471 471  
472 472  [[image:1747824123013-196.jpeg||height="309" width="446"]]
473 473  
474 -(% class="wikigeneratedid" id="HFigure8:ExampleShowingUseofAgencyIdentifiers" %)
475 475  **Figure 8: Example Showing Use of Agency Identifiers**
476 476  
477 477  Each of these maintenance agencies has an identical Code list with the Id CL_BOP. However, each is uniquely identified by means of the hierarchic agency structure.
... ... @@ -490,7 +490,7 @@
490 490  
491 491  The generic structure of the URN is as follows:
492 492  
493 -SDMXprefix.SDMX-IM-package-name.class-name=agencyid:maintainedobject-id(maintainedobject-version).*containerobject-id.object-id
487 +>SDMXprefix.SDMX-IM-package-name.class-name=agencyid:maintainedobject-id(maintainedobject-version).*containerobject-id.object-id
494 494  
495 495  ~* this can repeat and may not be present (see explanation below)
496 496  
... ... @@ -502,7 +502,7 @@
502 502  
503 503  In the explanation below the actual object that is the target of the URN is called the **//actual object//**.
504 504  
505 -**SDMXPrefix:** urn:sdmx:org.                                     
499 +**SDMXPrefix:** urn:sdmx:org.
506 506  
507 507  **SDMX-IM package name:** sdmx.infomodel.package=
508 508  
... ... @@ -710,8 +710,6 @@
710 710  hierarchicalcodelistId(version).Hierarchy.Level
711 711  )))|(% style="width:396px" %)(((
712 712  ESTAT:HCL_REGION(1.0).H_1.COUNTRY
713 -
714 -
715 715  )))
716 716  |(% style="width:250px" %)HierarchicalCode|(% style="width:444px" %)hierachicalCodeListAgencyId: hierarchicalcodelistId(version).hierarchy.hierarc hicalCode|(% style="width:396px" %)UNESCO:CL_EXP_SOURCE(1.0). H-C-GOV.GOV_CODE1
717 717  |(% style="width:250px" %)*DataStructure|(% style="width:444px" %)dataStructureDefintitionAgencyId: dataStructureDefintitionId(version)|(% style="width:396px" %)TFFS:EXT_DEBT(1.0)
... ... @@ -816,15 +816,11 @@
816 816  
817 817  |(% style="width:251px" %)(((
818 818  ReportStructure
819 -
820 -
821 821  )))|(% style="width:442px" %)(((
822 822  MSDAgencyId: MSDId(version).reportStructureId
823 823  )))|(% style="width:1178px" %)IMF:SDDS_MSD(1.0).AGENCY_REPORT
824 824  |(% style="width:251px" %)(((
825 -Metadata
826 -
827 -Attribute
815 +Metadata Attribute
828 828  )))|(% style="width:442px" %)(((
829 829  MSDAgencyId: MSDId(version).reportStructureId.metadataattri buteID
830 830  )))|(% style="width:1178px" %)IMF:SDDS_MSD(1.0).AGENCY_REPORT.COMPILATION
... ... @@ -835,14 +835,10 @@
835 835  TFFS:CRED_EXT_DEBT_AB(1.0)
836 836  )))
837 837  |(% style="width:251px" %)(((
838 -*Content
839 -
840 -Constraint
826 +*Content Constraint
841 841  )))|(% style="width:442px" %)constraintAgencyId:ContentConstraintId(versio n)|(% style="width:1178px" %)TFFS:CREDITOR_DATA_CONTENT(1.0)
842 842  |(% style="width:251px" %)(((
843 -*Attachment
844 -
845 -Constraint
829 +*Attachment Constraint
846 846  )))|(% style="width:442px" %)(((
847 847  constraintAgencyId:
848 848  
... ... @@ -865,9 +865,7 @@
865 865  codeMapId
866 866  )))|
867 867  |(((
868 -Category
869 -
870 -SchemeMap
852 +CategorySchemeMap
871 871  )))|structureSetAgencyId: structureSetId(version). categorySchemeMapId|SDMX:BOP_STRUCTURES(1.0).SDMX_EUROSTAT
872 872  |CategoryMap|structureSetAgencyId: structureSetId(version). categorySchemeMapId. categoryMapId|SDMX:BOP_STRUCTURES(1.0).SDMX_EUROSTAT.TOURISM_M AP
873 873  |Organisation SchemeMap|structureSetAgencyId: structureSetId(version). organisationSchemeMapId|SDMX:BOP_STRUCTURES(1.0).DATA_PROVIDER_MAP
... ... @@ -881,71 +881,53 @@
881 881  structureSetAgencyId: structureSetId(version). conceptSchemeMapId.
882 882  
883 883  conceptMapId
884 -
885 885  
886 886  )))|SDMX:BOP_STRUCTURES(1.0).SDMX_OECD.COVERAGE_AVAI LABILITY
887 887  |(((
888 -Reporting
889 -
890 -TaxonomyMap
869 +ReportingTaxonomyMap
891 891  )))|structureSetAgencyId: structureSetId(version). reportingTaxonomyMapId|SDMX:BOP_STRUCTURES(1.0).TAXMAP
892 892  |(((
893 -Reporting
894 -
895 -CategoryMap
872 +ReportingCategoryMap
896 896  )))|(((
897 897  structureSetAgencyId: structureSetId(version).
898 -
899 899  reportngCategoryId
900 900  )))|SDMX:BOP_STRUCTURES(1.0).TAXMAP.TOPCAT
901 901  
902 -
903 -
904 904  |(((
905 -HybridCodelist
906 -
907 -Map
908 -)))|structureSetAgencyId: structureSetId(version). hybridCodelistMapId.|SDMX:BOP_STRUCTURES(1.0).COUNTRY_HIERARCHYMAP
879 +HybridCodelistMap
880 +)))|structureSetAgencyId: structureSetId(version).
881 +hybridCodelistMapId.|SDMX:BOP_STRUCTURES(1.0).COUNTRY_HIERARCHYMAP
909 909  |HybridCodeMap|structureSetAgencyId: structureSetId(version). hybridCodelistMapId. hybridCodeMapId|SDMX:BOP_STRUCTURES(1.0).COUNTRY_HIERARCHYMAP.CO DEMAP1
910 910  |*Process|processAgencyId: processId{version]|BIS:PROCESS1(1.0)
911 911  |ProcessStep|(((
912 912  processAgencyId: processId(version).
913 -
914 914  processStepId
915 915  )))|BIS:PROCESS1(1.0).STEP1
916 916  |Transition|(((
917 917  processAgencyId: processId(version).
918 -
919 919  processStepId transitionId
920 920  )))|BIS:PROCESS1(1.0).STEP1.TRANSITION1
921 921  |Subscription|The Subscription is not itself an Identifiable Artefact and therefore it does not follow the rules for URN structure, The name of the URN is registryURN There is no pre-determined format.|This cannot be generated by a common mechanism as subscriptions, although maintainable in the sense that they can be submitted and deleted, are not mandated to be created by a maintenance agency, and have no versioning mechanism. It is therefore the responsibility of the target registry to generate a unique Id for the Subscription, and for the application creating the subscription to store the registryURN that is returned from the registry in the subscription response message.
922 922  |(((
923 -*Transformation
924 -
925 -Scheme
894 +*Transformation Scheme
926 926  )))|transformationSchemeAgencyId transformationSchemeId(version)|ECB: TRANSFORMATION_SCHEME(1.0)
927 927  |Transformation|(((
928 928  transformationSchemeAgencyId transformationSchemeId(version)
929 -
930 930  transformationId
931 931  )))|ECB:TRANSFORMATION_SCHEME(1.0).TRANS_1
932 932  |CustomType Scheme|customTypeSchemeAgencyId customTypeSchemeId(version)|ECB:CUSTOM_TYPE_SCHEME(1.0)
933 933  
934 -
935 -
936 936  |CustomType|customTypeSchemeAgencyId customTypeSchemeId(version) customTypeId|ECB: CUSTOM_TYPE_SCHEME(1.0).CUSTOM_TYPE_1
937 937  |(((
938 938  Name
939 -
940 940  Personalisation
941 -
942 942  Scheme
943 943  )))|namePersonalisationSchemeAgencyId namePersonalisationSchemeId(version)|ECB:PSN_SCHEME(1.0)
944 944  |(((
945 945  Name
946 -
947 947  Personalisation
948 -)))|namePersonalisationSchemeAgencyId namePersonalisationSchemeId(version) namePersonalisationId|ECB:PSN_SCHEME(1.0).PSN1234
911 +)))|namePersonalisationSchemeAgencyId namePersonalisationSchemeId(version)
912 +namePersonalisationId|ECB:PSN_SCHEME(1.0).PSN1234
949 949  |VtlMapping Scheme|vtlMappingSchemeAgencyId VtlMappingSchemeId(version)|ECB:CLIST_MP(2.0)
950 950  |VtlCodelist Mapping|vtlMappingSchemeAgencyId vtlMappingSchemeId(version) vtlCodelistMappingId|ECB:CLIST_MP(2.0).ABZ
951 951  |VtlConcept Mapping|vtlMappingSchemeAgencyId vtlMappingSchemeId(version) vtlConceptMappingId|ECB:CLIST_MP(1.0).XYA
... ... @@ -958,13 +958,11 @@
958 958  |RulesetScheme|rulesetSchemeAgencyId rulesetSchemeId(version)|ECB:RULESET_23(1.0)
959 959  |Ruleset|rulesetSchemeAgencyId rulesetSchemeId(version) rulesetId|ECB:RULESET_23(1.0).SET111
960 960  |(((
961 -UserDefined
962 -
963 -OperatorScheme
925 +UserDefinedOperatorScheme
964 964  )))|userDefinedOperatorSchemeAgencyId userDefinedOperatorSchemeId(version)|ECB:OS_CALC(1.2)
965 965  |UserDefined Operator|userDefinedOperatorSchemeAgencyId userDefinedOperatorSchemeId(version) usserDefinedOperatorId|ECB:OS_CALC(1.2).OS267
966 966  
967 -7**Table 3: Table of identification components for SDMX Identifiable Artefacts**
929 +**Table 3: Table of identification components for SDMX Identifiable Artefacts**
968 968  
969 969  = 7 Implementation Notes =
970 970  
... ... @@ -1174,7 +1174,7 @@
1174 1174  
1175 1175  [[image:1747824123025-411.jpeg]]
1176 1176  
1177 - **Figure 16: Schematic of the Objects Concerned with Registration**
1139 +**Figure 16: Schematic of the Objects Concerned with Registration**
1178 1178  
1179 1179  ==== 7.4.2.2 Registration Request Model ====
1180 1180  
... ... @@ -1188,11 +1188,14 @@
1188 1188  
1189 1189  The Registration has an action attribute which takes one of the following values:
1190 1190  
1191 -|**Action Attribute Value**|**Behaviour**
1192 -|Append|Add this Registration to the registry
1193 -|Replace|Replace the existing Registration with identified by the id in the Registration of the Submit Registration Request
1194 -|Delete|Delete the existing Registration identified by the id in the Registration of the Submit Registration Request
1153 +(% style="width:970.294px" %)
1154 +|(% style="width:212px" %)**Action Attribute Value**|(% style="width:756px" %)**Behaviour**
1155 +|(% style="width:212px" %)Append|(% style="width:756px" %)Add this Registration to the registry
1156 +|(% style="width:212px" %)Replace|(% style="width:756px" %)Replace the existing Registration with identified by the id in the Registration of the Submit Registration Request
1157 +|(% style="width:212px" %)Delete|(% style="width:756px" %)Delete the existing Registration identified by the id in the Registration of the Submit Registration Request
1195 1195  
1159 +[[image:1747829290890-122.png]]
1160 +
1196 1196  **Figure 17: Logical Class Diagram of Registration of Data and Metadata**
1197 1197  
1198 1198  The Query Datasource is an abstract class that represents a data source which can understand an SDMX-ML query (SOAPDatasource) or RESTful query
... ... @@ -1207,25 +1207,19 @@
1207 1207  
1208 1208  Information in the data or metadata set is extracted and placed in one or more Content Constraints (see the Constraints 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 Provision Agreement as shown in the table below.
1209 1209  
1210 -|**Indexing Required**|**Registration Process Activity**
1211 -|indexTimeSeries|Extract all the series keys and create a KeySet(s) Constraint.
1212 -|indexDataSet|(((
1213 -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
1214 -
1215 -Regions containing Member Selections of Dimension Components of the Constraints model in the SDMX-IM, and the associated Selection Value.
1175 +|(% style="width:185px" %)**Indexing Required**|(% style="width:1686px" %)**Registration Process Activity**
1176 +|(% style="width:185px" %)indexTimeSeries|(% style="width:1686px" %)Extract all the series keys and create a KeySet(s) Constraint.
1177 +|(% style="width:185px" %)indexDataSet|(% style="width:1686px" %)(((
1178 +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.
1216 1216  )))
1217 -|indexReportingPeriod|(((
1180 +|(% style="width:185px" %)indexReportingPeriod|(% style="width:1686px" %)(((
1218 1218  This applies only to a registered dataset.
1219 -
1220 1220  Extract the Reporting Begin and Reporting End from the Header of the Message containing the data set, and create a Reference Period constraint.
1221 1221  )))
1222 -|indexAttributes|(((
1184 +|(% style="width:185px" %)indexAttributes|(% style="width:1686px" %)(((
1223 1223  **Data Set**
1224 -
1225 1225  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
1226 -
1227 1227  **Metadata Set**
1228 -
1229 1229  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.
1230 1230  )))
1231 1231  
... ... @@ -1235,14 +1235,13 @@
1235 1235  
1236 1236  === 7.4.3 Registration Response ===
1237 1237  
1238 -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 Submit Registration class has a status field which is either set to
1197 +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 Submit Registration class has a status field which is either set to “Success”, “Warning” or “Failure”.
1239 1239  
1240 -“Success”, “Warning” or “Failure”.
1241 -
1242 1242  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, metadataset, or query service.
1243 1243  
1244 1244  The Registration Response returns set of registration status (one for each registration submitted) in terms of a Status Message (this is common to all Registry Responses) that indicates success or failure. In the event of registration failure, a set of Message Text are returned, giving the error messages that occurred during registration. It is entirely possible when registering a batch of datasets, that the response will contain some successful and some failed statuses. The logical model for the Registration Response is shown below:
1245 1245  
1203 +[[image:1747829477882-750.png]]
1246 1246  
1247 1247  **Figure 18: Logical class diagram showing the registration response**
1248 1248  
... ... @@ -1252,15 +1252,12 @@
1252 1252  
1253 1253  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.
1254 1254  
1255 -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
1213 +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”.
1256 1256  
1257 -notification”.
1215 +=== 7.5.1Subscription Logical Class Diagram ===
1258 1258  
1259 - 7.5.1Subscription Logical Class Diagram
1217 +[[image:1747829554603-150.png]]
1260 1260  
1261 -
1262 -[[image:1747824123028-257.png]]
1263 -
1264 1264  **Figure 19: Logical Class Diagram of the Subscription**
1265 1265  
1266 1266  === 7.5.2 Subscription Information ===
... ... @@ -1267,73 +1267,58 @@
1267 1267  
1268 1268  Regardless of the type of registry/repository events being observed, a subscription always contains:
1269 1269  
1270 -~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.
1225 +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.
1226 +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.
1227 +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.
1228 +1. A selector which specifies which type of events are of interest. The set of event types is:
1271 1271  
1272 -2. 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.
1230 +|(% style="width:319px" %)**Event Type**|(% style="width:1553px" %)**Comment**
1231 +|(% style="width:319px" %)STRUCTURAL_REPOSITORY_EVENTS|(% style="width:1553px" %)Life-cycle changes to Maintainable Artefacts in the structural metadata repository.
1232 +|(% style="width:319px" %)DATA_REGISTRATION_EVENTS|(% style="width:1553px" %)Whenever a published dataset is registered. This can be either a SDMXML data file or an SDMX conformant database.
1233 +|(% style="width:319px" %)METADATA_REGISTRATION_EVENTS|(% style="width:1553px" %)Whenever a published metadataset is registered. This can be either a SDMXML reference metadata file or an SDMX conformant database.
1234 +|(% style="width:319px" %)ALL_EVENTS|(% style="width:1553px" %)All events of the specified EventType
1273 1273  
1274 -3. 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.
1275 -
1276 -4. A selector which specifies which type of events are of interest. The set of event types is:
1277 -
1278 -|**Event Type**|**Comment**
1279 -|STRUCTURAL_REPOSITORY_EVENTS|Life-cycle changes to Maintainable Artefacts in the structural metadata repository.
1280 -|DATA_REGISTRATION_EVENTS|Whenever a published dataset is registered. This can be either a SDMXML data file or an SDMX conformant database.
1281 -|METADATA_REGISTRATION_EVENTS|Whenever a published metadataset is registered. This can be either a SDMXML reference metadata file or an SDMX conformant database.
1282 -|ALL_EVENTS|All events of the specified EventType
1283 -
1284 1284  === 7.5.3 Wildcard Facility ===
1285 1285  
1286 1286  Subscription notification supports wildcarded identifier components URNs, which are identiiers which have some or all of their component parts replaced by the wildcard character `%`. Identifier components comprise:
1287 1287  
1288 - agencyID
1240 +* agencyID
1241 +* id
1242 +* version
1289 1289  
1290 - id
1291 -
1292 - version
1293 -
1294 1294  Examples of wildcarded identifier components for an identified object type of Codelist are shown below.
1295 1295  
1296 -AgencyID = %
1297 -
1246 +//AgencyID = %
1298 1298  Id = %
1248 +Version = %//
1299 1299  
1300 -Version = %
1301 -
1302 1302  This subscribes to all Codelists of all versions for all agencies.
1303 1303  
1304 -AgencyID = AGENCY1
1305 -
1252 +//AgencyID = AGENCY1
1306 1306  Id = CODELIST1
1254 +Version = %//
1307 1307  
1308 -Version = %
1309 -
1310 1310  This subscribes to all versions of Codelist CODELIST1 maintained by the agency
1311 1311  
1312 -AGENCY1
1313 -
1258 +//AGENCY1
1314 1314  AgencyID = AGENCY1
1315 -
1316 1316  Id = %
1261 +Version = %//
1317 1317  
1318 -Version = %
1319 -
1320 1320  This subscribes to all versions of all Codelist objects maintained by the agency
1321 1321  
1322 -AGENCY1
1323 -
1265 +//AGENCY1
1324 1324  AgencyID = %
1325 -
1326 1326  Id = CODELIST1
1268 +Version = %//
1327 1327  
1328 -Version = %
1329 -
1330 1330  This subscribes to all versions of Codelist CODELIST1 maintained by the agency
1331 1331  
1332 -AGENCY1
1272 +//AGENCY1//
1333 1333  
1334 1334  Note that if the subscription is to the latest version then this can be achieved by the * character
1335 1335  
1336 -i.e. Version = *
1276 +//i.e. Version = *//
1337 1337  
1338 1338  Note that a subscription using the URN mechanism cannot use wildcard characters.
1339 1339  
... ... @@ -1345,16 +1345,15 @@
1345 1345  
1346 1346  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:
1347 1347  
1288 +|(% style="width:405px" %)**Selector**|(% style="width:1467px" %)**Comment**
1289 +|(% style="width:405px" %)DataProvider|(% style="width:1467px" %)Any datasets or metadata sets registered by the specified data provider will activate the notification.
1290 +|(% style="width:405px" %)ProvisionAgreement|(% style="width:1467px" %)Any datasets or metadata sets registered for the provision agreement will activate the notification.
1291 +|(% style="width:405px" %)Dataflow (&Metadataflow)|(% style="width:1467px" %)Any datasets or metadata sets registered for the specified dataflow (or metadataflow) will activate the notification.
1292 +|(% style="width:405px" %)DataStructureDefinition & MetadataStructureDefinition|(% style="width:1467px" %)Any datasets or metadata sets registered for those dataflows (or metadataflows) that are based on the specified Data Structure Definition will
1293 +|(% style="width:405px" %)**Selector**|(% style="width:1467px" %)**Comment**
1294 +|(% style="width:405px" %) |(% style="width:1467px" %)activate the notification.
1295 +|(% style="width:405px" %)Category|(% style="width:1467px" %)Any datasets or metadata sets registered for those dataflows, metadataflows, provision agreements that are categorised by the category.
1348 1348  
1349 -|**Selector**|**Comment**
1350 -|DataProvider|Any datasets or metadata sets registered by the specified data provider will activate the notification.
1351 -|ProvisionAgreement|Any datasets or metadata sets registered for the provision agreement will activate the notification.
1352 -|Dataflow (&Metadataflow)|Any datasets or metadata sets registered for the specified dataflow (or metadataflow) will activate the notification.
1353 -|DataStructureDefinition & MetadataStructureDefinition|Any datasets or metadata sets registered for those dataflows (or metadataflows) that are based on the specified Data Structure Definition will
1354 -|**Selector**|**Comment**
1355 -| |activate the notification.
1356 -|Category|Any datasets or metadata sets registered for those dataflows, metadataflows, provision agreements that are categorised by the category.
1357 -
1358 1358  The event will also capture the semantic of the registration: deletion or replacement of an existing registration or a new registration.
1359 1359  
1360 1360  == 7.6 Notification ==
... ... @@ -1361,8 +1361,10 @@
1361 1361  
1362 1362  === 7.6.1 Logical Class Diagram ===
1363 1363  
1303 +[[image:1747829675568-610.png]]
1364 1364  
1365 -==== Figure 20: Logical Class Diagram of the Notification ====
1305 +(% class="wikigeneratedid" id="HFigure20:LogicalClassDiagramoftheNotification" %)
1306 +**Figure 20: Logical Class Diagram of the Notification**
1366 1366  
1367 1367  A notification is an XML document that is sent to a user via email or http POST whenever a subscription is activated. It is an asynchronous one-way message.
1368 1368  
... ... @@ -1382,5 +1382,3 @@
1382 1382  === 7.6.3 Registration Event Component ===
1383 1383  
1384 1384  The notification will contain the Registration.
1385 -
1386 -
1747829290890-122.png
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.helena
Size
... ... @@ -1,0 +1,1 @@
1 +41.4 KB
Content
1747829477882-750.png
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.helena
Size
... ... @@ -1,0 +1,1 @@
1 +24.6 KB
Content
1747829554603-150.png
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.helena
Size
... ... @@ -1,0 +1,1 @@
1 +99.1 KB
Content
1747829675568-610.png
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.helena
Size
... ... @@ -1,0 +1,1 @@
1 +31.1 KB
Content