Changes for page 7 Metadata Structure Definition and Metadata Set
Last modified by Helena on 2025/09/10 11:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +1,9 @@ 1 -=== 7.1 Context === 1 +{{box title="**Contents**"}} 2 +{{toc/}} 3 +{{/box}} 2 2 5 +== 7.1 Context == 6 + 3 3 Besides the possibility to extend the components of Data Structure Definitions by metadata attributes defined in Metadata Structure Definitions, the SDMX metamodel allows metadata to describe any identifiable artefact. These metadata can be: 4 4 5 5 1. Exchanged without the need to embed it within the object that it is describing. ... ... @@ -13,23 +13,23 @@ 13 13 * The Metadataflow and/or Metadata Provision Agreement, which contains the objects to which the metadata are to be associated (attached), 14 14 * The Metadata Set, which contains reported metadata. 15 15 16 -== =7.2 Inheritance ===20 +== 7.2 Inheritance == 17 17 18 -=== =7.2.1 Introduction ====22 +=== 7.2.1 Introduction === 19 19 20 20 As with the Data Structure Definition Structure, many of the constructs in this layer of the model inherit from the SDMX Base layer. Therefore, it is necessary to study both the inheritance and the relationship diagrams to understand the functionality of individual packages. The diagram below shows the full inheritance tree for the classes concerned with the MetadataStructureDefinition, the MetadataProvisionAgreement, the Metadataflow and the MetadataSet. 21 21 22 22 There are very few additional classes in the MetadataStructureDefinition package that do not themselves inherit from classes in the SDMX Base. In other words, the SDMX Base gives most of the structure of this sub model both in terms of associations and in terms of attributes. The relationship diagrams shown in this section show clearly when these associations are inherited from the SDMX Base (see the Appendix “A Short Guide to UML in the SDMX Information Model” to see the diagrammatic notation used to depict this). 23 23 24 -=== =7.2.2 Class Diagram - Inheritance ====28 +=== 7.2.2 Class Diagram - Inheritance === 25 25 26 26 [[image:1749246462779-763.jpeg]]** ** 27 27 28 28 **Figure 32: Inheritance class diagram of the Metadata Structure Definition** 29 29 30 -=== =7.2.3 Explanation of the Diagram ====34 +=== 7.2.3 Explanation of the Diagram === 31 31 32 -==== =7.2.3.1 Narrative =====36 +==== 7.2.3.1 Narrative ==== 33 33 34 34 It is important to the understanding of the relationship class diagrams presented in this section to identify the concrete classes that inherit from the abstract classes. 35 35 ... ... @@ -36,9 +36,7 @@ 36 36 The concrete classes in this part of the SDMX metamodel, which require to be maintained by Maintenance Agencies, all inherit from MaintainableArtefact. These are: 37 37 38 38 //StructureUsage// (concrete class is Metadataflow) 39 - 40 40 //Structure// (concrete class is MetadataStructureDefinition) 41 - 42 42 MetadataProvisionAgreement 43 43 44 44 These classes also inherit the identity and versioning facets of //IdentifiableArtefact//, //NameableArtefact// and //VersionableArtefact//. ... ... @@ -45,25 +45,25 @@ 45 45 46 46 A //Structure// may contain several lists of components. In this case the MetadataStructureDefinition acts as a list and contains //Component//s, i.e., MetadataAttributes. 47 47 48 -== =7.3 Metadata Structure Definition ===50 +== 7.3 Metadata Structure Definition == 49 49 50 -=== =7.3.1 Introduction ====52 +=== 7.3.1 Introduction === 51 51 52 52 The diagrams and explanations in the rest of this section show how these concrete classes are related in order to support the required functionality. 53 53 54 -=== =7.3.2 Structures Already Described ====56 +=== 7.3.2 Structures Already Described === 55 55 56 56 The MetadataStructureDefinition only contains MetadataAttributes, since target objects are contained in Metadataflow and MetadataProvisionAgreement, since SDMX 3.0. 57 57 58 -=== =7.3.3 Class Diagram – Relationship ====60 +=== 7.3.3 Class Diagram – Relationship === 59 59 60 60 [[image:1749246462786-944.jpeg]] 61 61 62 62 **Figure 33: Relationship class diagram of the Metadata Structure Definition** 63 63 64 -=== =7.3.4 Explanation of the Diagram ====66 +=== 7.3.4 Explanation of the Diagram === 65 65 66 -==== =7.3.4.1 Narrative =====68 +==== 7.3.4.1 Narrative ==== 67 67 68 68 In brief, a MetadataStructureDefinition (MSD) defines the MetadataAttributes, within an MetadataAttributeDescriptor, that can be associated with the objects identified in the Metadataflows and MetadataProvisionAgreements that refer to the MSD. The hierarchy of the MetadataAttributes is specified within the MetadataAttributeDescriptor. 69 69 ... ... @@ -87,53 +87,48 @@ 87 87 88 88 ==== 7.3.4.2 Definitions ==== 89 89 90 -|**Class**|**Feature**|**Description** 91 -|//StructureUsage//| |See “SDMX Base”. 92 +(% style="width:975.835px" %) 93 +|**Class**|**Feature**|(% style="width:574px" %)**Description** 94 +|//StructureUsage//| |(% style="width:574px" %)See “SDMX Base”. 92 92 |Metadataflow|((( 93 93 Inherits from: 94 - 95 95 //StructureUsage// 96 -)))|Abstract concept (i.e., the structure without any metadata) of a flow of metadata that providers will provide for different reference periods. Specifies possible targets for metadata, via the Identifiable Object Selection. 97 -| |/structure|Associates a Metadata Structure Definition. 98 -|MetadataProvisionAgr 99 -|MetadataProvider| |See Organisation Scheme. 100 -|IdentifiableObjectSe 101 -|MetadataStructureDef 98 +)))|(% style="width:574px" %)Abstract concept (i.e., the structure without any metadata) of a flow of metadata that providers will provide for different reference periods. Specifies possible targets for metadata, via the Identifiable Object Selection. 99 +| |/structure|(% style="width:574px" %)Associates a Metadata Structure Definition. 100 +|MetadataProvisionAgreement| |(% style="width:574px" %)Links the Metadata Provider to the relevant Structure Usage (i.e., Metadataflow) for which the provider supplies metadata. The agreement may constrain the scope of the metadata that can be provided, by means of a Constraint. Specifies possible targets for metadata, via the Identifiable Object Selection. 101 +|MetadataProvider| |(% style="width:574px" %)See Organisation Scheme. 102 +|IdentifiableObjectSelection| |(% style="width:574px" %)A list or wildcarded expression resolving into Identifiable Objects that metadata will refer to. 103 +|MetadataStructureDefinition|((( 102 102 Inherits from: 103 - 104 104 //MaintainableArtefact// 105 -)))|A collection of metadata concepts and their structure when used to collect or disseminate reference metadata. 106 -|MetadataAttributeDes 106 +)))|(% style="width:574px" %)A collection of metadata concepts and their structure when used to collect or disseminate reference metadata. 107 +|MetadataAttributeDescriptor|((( 107 107 Inherits from: 108 108 109 109 //ComponentList// 110 -)))|Defines a set of concepts that comprises the Metadata Attributes to be reported. 111 -| |/components|An association to the Metadata Attributes relevant to the Metadata Attribute Descriptor. 112 -|MetadataAttribute|// //|Identifies a Concept for which a value may be reported in a Metadata Set. 113 -| |/hierarchy|Association to one or more child Metadata Attribute. 114 -| |/conceptIdentity|An association to the concept which defines the semantic of the attribute. 115 -| |isPresentational|Indication that the Metadata Attribute is present for structural purposes (i.e. it has child attributes) and that no value for this attribute is expected to be reported in a Metadata Set. 116 -| |minOccurs maxOccurs|((( 117 -Specifies how many occurrences of the 118 - 119 -Metadata Attribute may be reported at this point in the Metadataset. 111 +)))|(% style="width:574px" %)Defines a set of concepts that comprises the Metadata Attributes to be reported. 112 +| |/components|(% style="width:574px" %)An association to the Metadata Attributes relevant to the Metadata Attribute Descriptor. 113 +|MetadataAttribute|// //|(% style="width:574px" %)Identifies a Concept for which a value may be reported in a Metadata Set. 114 +| |/hierarchy|(% style="width:574px" %)Association to one or more child Metadata Attribute. 115 +| |/conceptIdentity|(% style="width:574px" %)An association to the concept which defines the semantic of the attribute. 116 +| |isPresentational|(% style="width:574px" %)Indication that the Metadata Attribute is present for structural purposes (i.e. it has child attributes) and that no value for this attribute is expected to be reported in a Metadata Set. 117 +| |minOccurs maxOccurs|(% style="width:574px" %)((( 118 +Specifies how many occurrences of the Metadata Attribute may be reported at this point in the Metadataset. 120 120 ))) 121 -| |/localRepresentation|Associates a Representation that overrides any core representation specified for the Concept itself. 122 -|Representation| |The representation of the Metadata Attribute. 120 +| |/localRepresentation|(% style="width:574px" %)Associates a Representation that overrides any core representation specified for the Concept itself. 121 +|Representation| |(% style="width:574px" %)The representation of the Metadata Attribute. 123 123 123 +== 7.4 Metadata Set == 124 124 125 +=== 7.4.1 Class Diagram === 125 125 126 -=== 7.4 Metadata Set === 127 - 128 -==== 7.4.1 Class Diagram ==== 129 - 130 130 [[image:1749246462791-735.jpeg]] 131 131 132 132 **Figure 34: Relationship Class Diagram of the Metadata Set** 133 133 134 -=== =7.4.2 Explanation of the Diagram ====131 +=== 7.4.2 Explanation of the Diagram === 135 135 136 -==== =7.4.2.1 Narrative =====133 +==== 7.4.2.1 Narrative ==== 137 137 138 138 Note that the MetadataSet must conform to the MetadataStructureDefinition associated to the Metadataflow or MetadataProvisionAgreement for which this MetadataSet is an “instance of metadata”. Whilst the model shows the association to the classes of the MetadataStructureDefinition, this is for conceptual purposes to show the link to the MetadataStructureDefinition. In the actual MetadataSet, as exchanged, there must, of course, be a reference to the MetadataStructureDefinition and optionally a Metadataflow or a MetadataProvisionAgreement, but the MetadataStructureDefinition is not necessarily exchanged with the metadata. Note that the MetadataStructureDefinition classes are shown also but are not a part of the MetadataSet itself. 139 139 ... ... @@ -153,76 +153,64 @@ 153 153 154 154 The CodedMetadataAttributeValue contains a value for a Code specified as the Representation for a MetadataAttribute in the MetadataStructureDefinition. 155 155 156 -==== =7.4.2.2 Definitions =====153 +==== 7.4.2.2 Definitions ==== 157 157 158 -|**Class**|**Feature**|**Description** 159 -|MetadataSet| |Any organised collection of metadata. 160 -| |reportingBegin|A specific time period in a known system of time periods that identifies the start period of a report. 161 -| |reportingEnd|A specific time period in a known system of time periods that identifies the end period of a report. 162 -| |publicationYear|Specifies the year of publication of the data or metadata in terms of whatever provisioning agreements might be in force. 163 -| |publicationPeriod|Specifies the period of publication of the data or metadata in terms of whatever provisioning agreements might be in force. 164 -| |action|Defines the action to be taken by the recipient system (information, append, replace, delete) 165 -| |+describedBy|Associates a Metadataflow or a Metadata Provision Agreement to the Metadata Set. 166 -| |+structuredBy|Associates the Metadata Attribute Descriptor of the Metadata Structure Definition that defines the structure of the Metadata Set. Note that this dependency explains that the Metadataset is structures according to the Metadata Structure Definition of the linked (by the +describedBy) Metadataflow or the Metadata Provision Agreement. 167 -| |+publishedBy|Associates the Data Provider that reports/publishes the metadata. 168 -| |+attachesTo|Associates the target identifiable objects to which metadata is to be attached. 169 -| |+metadata|Associates the Metadata Attribute values which are to be associated with the object or objects identified by the Target Identifiable Objects(s). 170 -|TargetIdentifiableO bject| |Specifies the identification of an Identifiable object. 171 -| |+valueFor|Associates the Target Identifiable Object being a part of the Identifiable Object Selection specified in the Dataflow or Metadata Provision Agreement. 172 -|StructureRef| |Contains the identification of an Identifiable object. 173 -| |structureType|The object type of the target object. 174 -|IdentifiableArtefac tRef| |Identification of the target object. 175 -| |+containedObject|Association to a contained object in a hierarchy of Identifiable Objects such as a Transition in a Process Step. 176 -|//MetadataAttributeVa lue//|((( 155 +(% style="width:980.835px" %) 156 +|**Class**|**Feature**|(% style="width:515px" %)**Description** 157 +|MetadataSet| |(% style="width:515px" %)Any organised collection of metadata. 158 +| |reportingBegin|(% style="width:515px" %)A specific time period in a known system of time periods that identifies the start period of a report. 159 +| |reportingEnd|(% style="width:515px" %)A specific time period in a known system of time periods that identifies the end period of a report. 160 +| |publicationYear|(% style="width:515px" %)Specifies the year of publication of the data or metadata in terms of whatever provisioning agreements might be in force. 161 +| |publicationPeriod|(% style="width:515px" %)Specifies the period of publication of the data or metadata in terms of whatever provisioning agreements might be in force. 162 +| |action|(% style="width:515px" %)Defines the action to be taken by the recipient system (information, append, replace, delete) 163 +| |+describedBy|(% style="width:515px" %)Associates a Metadataflow or a Metadata Provision Agreement to the Metadata Set. 164 +| |+structuredBy|(% style="width:515px" %)Associates the Metadata Attribute Descriptor of the Metadata Structure Definition that defines the structure of the Metadata Set. Note that this dependency explains that the Metadataset is structures according to the Metadata Structure Definition of the linked (by the +describedBy) Metadataflow or the Metadata Provision Agreement. 165 +| |+publishedBy|(% style="width:515px" %)Associates the Data Provider that reports/publishes the metadata. 166 +| |+attachesTo|(% style="width:515px" %)Associates the target identifiable objects to which metadata is to be attached. 167 +| |+metadata|(% style="width:515px" %)Associates the Metadata Attribute values which are to be associated with the object or objects identified by the Target Identifiable Objects(s). 168 +|TargetIdentifiableObject| |(% style="width:515px" %)Specifies the identification of an Identifiable object. 169 +| |+valueFor|(% style="width:515px" %)Associates the Target Identifiable Object being a part of the Identifiable Object Selection specified in the Dataflow or Metadata Provision Agreement. 170 +|StructureRef| |(% style="width:515px" %)Contains the identification of an Identifiable object. 171 +| |structureType|(% style="width:515px" %)The object type of the target object. 172 +|IdentifiableArtefactRef| |(% style="width:515px" %)Identification of the target object. 173 +| |+containedObject|(% style="width:515px" %)Association to a contained object in a hierarchy of Identifiable Objects such as a Transition in a Process Step. 174 +|//MetadataAttributeValue//|((( 177 177 Abstract class 178 - 179 179 Sub classes are: 180 - 181 181 //UncodedMetadataAttrib uteValue// 182 - 183 183 CodedMetadataAttribut eValue 184 -)))|The value for a Metadata Attribute. 179 +)))|(% style="width:515px" %)The value for a Metadata Attribute. 185 185 | |((( 186 186 +valueFor 187 - 188 188 (inherited from the 189 - 190 190 //AttributeValue//) 191 -)))|((( 184 +)))|(% style="width:515px" %)((( 192 192 Association to the Metadata Attribute in the Metadata Structure Definition that identifies the Concept and allowed Representation for the Metadata Attribute value. 193 - 194 194 Note that this is a conceptual association showing the link to the MSD construct. The syntax for the Metadata Attribute value will state, in some form, the id of the Metadata Attribute. 195 195 ))) 196 -| |+child|Association to a child Metadata Attribute value consistent with the hierarchy defined in the MSD for the Metadata Attribute for which this child is a Metadata Attribute value. 197 -|//UncodedMetadataAttr 188 +| |+child|(% style="width:515px" %)Association to a child Metadata Attribute value consistent with the hierarchy defined in the MSD for the Metadata Attribute for which this child is a Metadata Attribute value. 189 +|//UncodedMetadataAttributeValue//|((( 198 198 Inherits from 199 - 200 -//MetadataAttributeValu e// 201 - 191 +//MetadataAttributeValue// 202 202 Sub class: 203 - 204 204 XHTMLAttributeValue 205 - 206 206 TextAttributeValue 207 - 208 208 OtherUncodedAttribute 209 - 210 210 Value 211 -)))|The content of a Metadata Attribute value where this is textual. 212 -|XHTMLAttributeValue| |This contains XHTML 213 -| |value|The string value of the XHTML 214 -|TextAttributeValue| |This value of a Metadata Attribute value where the content is human-readable text. 215 -| |text|The string value is text. This can be present in multiple language versions. 216 -|OtherUncodedAttribu 217 -| |value|A text string that is consistent in format to that defined in the Representation of the Metadata Attribute for which this is a Metadata Attribute value. 218 -| |startTime|This attribute is only used if the textFormat of the Metadata Attribute is of the Timespan type in the Metadata Structure Definition (in which case the value field takes a duration). 219 -|CodedMetadataAttrib 197 +)))|(% style="width:515px" %)The content of a Metadata Attribute value where this is textual. 198 +|XHTMLAttributeValue| |(% style="width:515px" %)This contains XHTML 199 +| |value|(% style="width:515px" %)The string value of the XHTML 200 +|TextAttributeValue| |(% style="width:515px" %)This value of a Metadata Attribute value where the content is human-readable text. 201 +| |text|(% style="width:515px" %)The string value is text. This can be present in multiple language versions. 202 +|OtherUncodedAttributeValue| |(% style="width:515px" %)The value of a Metadata Attribute value where the content is not of humanreadable text. 203 +| |value|(% style="width:515px" %)A text string that is consistent in format to that defined in the Representation of the Metadata Attribute for which this is a Metadata Attribute value. 204 +| |startTime|(% style="width:515px" %)This attribute is only used if the textFormat of the Metadata Attribute is of the Timespan type in the Metadata Structure Definition (in which case the value field takes a duration). 205 +|CodedMetadataAttributeValue|((( 220 220 Inherits from 221 - 222 -//MetadataAttributeValu e// 223 -)))|The content of a Metadata Attribute value that is taken from a Code in a Code list. 224 -| |value|The Code value of the Metadata Attribute value. 225 -| |+value|((( 207 +//MetadataAttributeValue// 208 +)))|(% style="width:515px" %)The content of a Metadata Attribute value that is taken from a Code in a Code list. 209 +| |value|(% style="width:515px" %)The Code value of the Metadata Attribute value. 210 +| |+value|(% style="width:515px" %)((( 226 226 Association to a Code in the Code list specified in the Representation of the Metadata Attribute for which this Metadata Attribute value is the value. 227 227 228 228 Note that this shows the conceptual link to the Item that is the value. In reality, the value itself will be contained in the Coded Metadata Attribute Value.
- SUZ.Methodology.Code.MethodologyClass[0]
-
- index
-
... ... @@ -1,1 +1,1 @@ 1 - 151 +8