Changes for page 3 SDMX Base Package
Last modified by Helena K. on 2026/06/08 16:18
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
-
Objects (0 modified, 1 added, 1 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. arturkryazhev1 +xwiki:XWiki.helena - Content
-
... ... @@ -4,225 +4,253 @@ 4 4 5 5 == 3.1 Introduction == 6 6 7 -The constructs in the [[SDMX>>doc:Glossary.Statisticaldata and metadata exchange.WebHome]]Base package comprise the fundamental building blocks that support many of the other structures in the model. For this reason, many of the classes in this package are abstract (i.e., only derived sub-classes can exist in an implementation).7 +The constructs in the SDMX Base package comprise the fundamental building blocks that support many of the other structures in the model. For this reason, many of the classes in this package are abstract (i.e., only derived sub-classes can exist in an implementation). 8 8 9 -The motivation for establishing the [[SDMX>>doc:Glossary.Statisticaldata and metadata exchange.WebHome]]Base package is as follows:9 +The motivation for establishing the SDMX Base package is as follows: 10 10 11 11 it is accepted “Best Practise” to identify fundamental archetypes occurring in a model// //identification of commonly found structures or “patterns” leads to easier understanding// //identification of patterns encourages re-use 12 12 13 -Each of the class diagrams in this section views classes from the [[SDMX>>doc:Glossary.Statisticaldata and metadata exchange.WebHome]]Base package from a different perspective. There are detailed views of specific patterns, plus overviews showing inheritance between classes, and relationships amongst classes.13 +Each of the class diagrams in this section views classes from the SDMX Base package from a different perspective. There are detailed views of specific patterns, plus overviews showing inheritance between classes, and relationships amongst classes. 14 14 15 -== 3.2 Base Structures - Identification, Versioning, and Maintenance == 15 +=== 3.2 Base Structures - Identification, Versioning, and Maintenance === 16 16 17 -=== 3.2.1 Class Diagram === 17 +==== 3.2.1 Class Diagram ==== 18 18 19 19 [[image:1749246130522-547.jpeg]] 20 20 21 -[[image:image36.png]] 22 - 23 23 **Figure 10: SDMX Identification, Maintenance and Versioning** 24 24 25 -=== 3.2.2 Explanation of the Diagram === 23 +===== 3.2.2 Explanation of the Diagram ===== 26 26 27 -==== 3.2.2.1 Narrative ==== 25 +====== 3.2.2.1 Narrative ====== 28 28 29 -This group of classes forms the nucleus of the administration [[facets>>doc:Glossary.Facet.WebHome]]of[[SDMX>>doc:Glossary.Statisticaldata and metadata exchange.WebHome]] objects. They provide features which are reusable by derived classes to support horizontal functionality such as identity, versioning etc.27 +This group of classes forms the nucleus of the administration facets of SDMX objects. They provide features which are reusable by derived classes to support horizontal functionality such as identity, versioning etc. 30 30 31 -All classes derived from the abstract class //AnnotableArtefact// may have [[Annotations>>doc:Glossary.Annotation.WebHome]](or notes): this supports the need to add notes to all[[SDMX-ML>>doc:Glossary.SDMX-ML.WebHome]]elements. The[[Annotation>>doc:Glossary.Annotation.WebHome]]is used to convey extra information to describe any[[SDMX>>doc:Glossary.Statisticaldata and metadata exchange.WebHome]] construct. This information may be in the form of a URL reference and/or a multilingual text (represented by the association to InternationalString).29 +All classes derived from the abstract class //AnnotableArtefact// may have Annotations (or notes): this supports the need to add notes to all SDMX-ML elements. The Annotation is used to convey extra information to describe any SDMX construct. This information may be in the form of a URL reference and/or a multilingual text (represented by the association to InternationalString). 32 32 33 -The //IdentifiableArtefact// is an abstract class that comprises the basic [[attributes>>doc:Glossary.Attribute.WebHome]]needed for identification. Concrete classes based on //IdentifiableArtefact// all inherit the ability to be uniquely identified.31 +The //IdentifiableArtefact// is an abstract class that comprises the basic attributes needed for identification. Concrete classes based on //IdentifiableArtefact// all inherit the ability to be uniquely identified. 34 34 35 -The (% style="background-color:#e74c3c" %)//NamableArtefact//(%%)is an abstract class that inherits from //IdentifiableArtefact //and in addition the +[[description>>doc:IMElements.description.WebHome]]and +[[name>>doc:IMElements.name.WebHome]]roles support multilingual descriptions and names for all objects based on //NameableArtefact//. The InternationalString supports the[[representation>>doc:Glossary.Representation.WebHome]]of a[[description>>doc:IMElements.description.WebHome]]in multiple locales ([[locale>>doc:IMElements.locale.WebHome]]is similar to language but includes geographic variations such as Canadian French, US English etc.). The //LocalisedString// supports the[[representation>>doc:Glossary.Representation.WebHome]]of a[[description>>doc:IMElements.description.WebHome]]in one[[locale>>doc:IMElements.locale.WebHome]].33 +The //NamableArtefact// is an abstract class that inherits from //IdentifiableArtefact //and in addition the +description and +name roles support multilingual descriptions and names for all objects based on //NameableArtefact//. The InternationalString supports the representation of a description in multiple locales (locale is similar to language but includes geographic variations such as Canadian French, US English etc.). The //LocalisedString// supports the representation of a description in one locale. 36 36 37 -//VersionableArtefact// is an abstract class which inherits from //NameableArtefact// and adds versioning ability to all classes derived from it, as explained in the [[SDMX>>doc:Glossary.Statisticaldata and metadata exchange.WebHome]]versioning rules in[[SDMX>>doc:Glossary.Statisticaldata and metadata exchange.WebHome]]Standards Section 6 “Technical Notes”, paragraph “4.3 Versioning”.35 +//VersionableArtefact// is an abstract class which inherits from //NameableArtefact// and adds versioning ability to all classes derived from it, as explained in the SDMX versioning rules in SDMX Standards Section 6 “Technical Notes”, paragraph “4.3 Versioning”. 38 38 39 -//MaintainableArtefact// further adds the ability for derived classes to be maintained via its association to an // [[Organisation>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.Organisation.WebHome]]//, and adds locational information (i.e., from where the object can be retrieved).37 +//MaintainableArtefact// further adds the ability for derived classes to be maintained via its association to an //Organisation//, and adds locational information (i.e., from where the object can be retrieved). 40 40 41 -The inheritance chain from //AnnotableArtefact// through to //MaintainableArtefact// allows [[SDMX>>doc:Glossary.Statisticaldata and metadata exchange.WebHome]] classes to inherit the features they need, from simple[[annotation>>doc:Glossary.Annotation.WebHome]], through identity, naming, to versioning and maintenance.39 +The inheritance chain from //AnnotableArtefact// through to //MaintainableArtefact// allows SDMX classes to inherit the features they need, from simple annotation, through identity, naming, to versioning and maintenance. 42 42 43 -==== 3.2.2.2 Definitions ==== 41 +====== 3.2.2.2 Definitions ====== 44 44 45 -(% style="width:973.835px" %) 46 -|**Class**|(% style="width:262px" %)**Feature**|(% style="width:543px" %)**Description** 47 -|//AnnotableArtefact//|(% style="width:262px" %)((( 43 +|**Class**|**Feature**|**Description** 44 +|//AnnotableArtefact//|((( 48 48 Base inheritance sub classes are: 46 + 49 49 //IdentifiableArtefact// 50 -)))|(% style="width:543px" %)Objects of classes derived from this can have attached [[annotations>>doc:Glossary.Annotation.WebHome]]. 51 -|[[Annotation>>doc:Glossary.Annotation.WebHome]]|(% style="width:262px" %)// //|(% style="width:543px" %)Additional descriptive information attached to an object. 52 -| |(% style="width:262px" %)id|(% style="width:543px" %)Identifier for the [[Annotation>>doc:Glossary.Annotation.WebHome]]. It can be used to disambiguate one [[Annotation>>doc:Glossary.Annotation.WebHome]] from another where there are several [[Annotations>>doc:Glossary.Annotation.WebHome]] for the same annotated object. 53 -| |(% style="width:262px" %)[[title>>doc:Glossary.Title.WebHome]]|(% style="width:543px" %)A [[title>>doc:Glossary.Title.WebHome]] used to identify an [[annotation>>doc:Glossary.Annotation.WebHome]]. 54 -| |(% style="width:262px" %)type|(% style="width:543px" %)Specifies how the [[annotation>>doc:Glossary.Annotation.WebHome]] is to be processed. 55 -| |(% style="width:262px" %)url|(% style="width:543px" %)A link to external descriptive text. 56 -| |(% style="width:262px" %)value|(% style="width:543px" %)A non-localised version of the [[Annotation>>doc:Glossary.Annotation.WebHome]] content. 57 -| |(% style="width:262px" %)+url|(% style="width:543px" %)An International URI provides a set of links that are language specific, via this role. 58 -| |(% style="width:262px" %)+text|(% style="width:543px" %)An [[International String>>doc:Glossary.International string.WebHome]] provides the multilingual text content of the [[annotation>>doc:Glossary.Annotation.WebHome]] via this role. 59 -|InternationalUri|(% style="width:262px" %) |(% style="width:543px" %)The International Uri is a collection of Localised URIs and supports linking to external descriptions in multiple locales. 60 -|LocalisedUri|(% style="width:262px" %) |(% style="width:543px" %)The Localised URI supports the link to an external description in one locale (locale is similar to language but includes geographic variations such as Canadian French, US English etc.). 61 -|//IdentifiableArtefact//|(% style="width:262px" %)((( 62 -Superclass is //AnnotableArtefact// 48 +)))|Objects of classes derived from this can have attached annotations. 49 +|Annotation|// //|Additional descriptive information attached to an object. 50 +| |id|Identifier for the Annotation. It can be used to disambiguate one Annotation from another where there are several Annotations for the same annotated object. 51 +| |title|A title used to identify an annotation. 52 +| |type|Specifies how the annotation is to be processed. 53 +| |url|A link to external descriptive text. 54 +| |value|A non-localised version of the Annotation content. 55 +| |+url|An International URI provides a set of links that are language specific, via this role. 56 +| |+text|An International String provides the multilingual text content of the annotation via this role. 57 +|InternationalUri| |The International Uri is a collection of Localised URIs and supports linking to external descriptions in multiple locales. 58 +|LocalisedUri| |The Localised URI supports the link to an external description in one locale (locale is similar to language but includes geographic variations such as Canadian French, US English etc.). 59 +|//IdentifiableArtefact//|((( 60 +Superclass is 61 + 62 +//AnnotableArtefact// 63 + 63 63 Base inheritance sub classes are: 65 + 64 64 //NameableArtefact// 65 -)))|(% style="width:543px" %)Provides identity to all derived classes. It also provides [[annotations>>doc:Glossary.Annotation.WebHome]] to derived classes because it is a subclass of Annotable [[Artefact>>doc:Glossary.Artefact.WebHome]]. 66 -| |(% style="width:262px" %)id|(% style="width:543px" %)The unique identifier of the object. 67 -| |(% style="width:262px" %)uri|(% style="width:543px" %)Universal resource identifier that may or may not be resolvable. 68 -| |(% style="width:262px" %)urn|(% style="width:543px" %)Universal resource name – this is for use in registries: all registered objects have a urn. 69 -|//NameableArtefact//|(% style="width:262px" %)((( 70 -Superclass is //IdentifiableArtefact// Base inheritance sub classes are: 67 +)))|Provides identity to all derived classes. It also provides annotations to derived classes because it is a subclass of Annotable Artefact. 68 +| |id|The unique identifier of the object. 69 +| |uri|Universal resource identifier that may or may not be resolvable. 70 +| |urn|Universal resource name – this is for use in registries: all registered objects have a urn. 71 +|//NameableArtefact//|((( 72 +Superclass is 73 + 74 +//IdentifiableArtefact// Base inheritance sub classes are: 75 + 71 71 //VersionableArtefact// 72 -)))| (% style="width:543px" %)Provides a Name and Description to all derived classes in addition to identification and[[annotations>>doc:Glossary.Annotation.WebHome]].73 -| | (% style="width:262px" %)+description|(% style="width:543px" %)A multi-lingual description is provided by this role via the[[International String>>doc:Glossary.Internationalstring.WebHome]]class.74 -| | (% style="width:262px" %)+name|(% style="width:543px" %)A multi-lingual name is provided by this role via the[[International String>>doc:Glossary.Internationalstring.WebHome]]class75 -|InternationalString| (%style="width:262px" %)|(% style="width:543px" %)The[[International String>>doc:Glossary.Internationalstring.WebHome]] is a collection of Localised Strings and supports the[[representation>>doc:Glossary.Representation.WebHome]]of text in multiple locales.76 -|LocalisedString| (%style="width:262px" %)|(% style="width:543px" %)The Localised String supports the[[representation>>doc:Glossary.Representation.WebHome]]of text in one locale (locale is similar to language but includes geographic variations such as Canadian French, US English etc.).77 -| | (% style="width:262px" %)label|(% style="width:543px" %)Label of the string.78 -| | (% style="width:262px" %)locale|(% style="width:543px" %)The geographic locale of the string e.g French, Canadian French.79 -|//VersionableArtefact//|( % style="width:262px" %)(((77 +)))|Provides a Name and Description to all derived classes in addition to identification and annotations. 78 +| |+description|A multi-lingual description is provided by this role via the International String class. 79 +| |+name|A multi-lingual name is provided by this role via the International String class 80 +|InternationalString| |The International String is a collection of Localised Strings and supports the representation of text in multiple locales. 81 +|LocalisedString| |The Localised String supports the representation of text in one locale (locale is similar to language but includes geographic variations such as Canadian French, US English etc.). 82 +| |label|Label of the string. 83 +| |locale|The geographic locale of the string e.g French, Canadian French. 84 +|//VersionableArtefact//|((( 80 80 Superclass is 86 + 81 81 //NameableArtefact// 88 + 82 82 Base inheritance sub classes are: 90 + 83 83 //MaintainableArtefact// 84 -)))| (% style="width:543px" %)Provides versioning information for all derived objects.85 -| | (% style="width:262px" %)(% style="color:#e74c3c" %)[[version>>doc:Glossary.Version.WebHome]]|(% style="width:543px" %)A(% style="color:#e74c3c" %)[[version>>doc:Glossary.Version.WebHome]](%%)string following[[SDMX>>doc:Glossary.Statisticaldata and metadata exchange.WebHome]]versioning rules.86 -| | (% style="width:262px" %)validFrom|(% style="width:543px" %)Date from which the(% style="color:#e74c3c" %)[[version>>doc:Glossary.Version.WebHome]](%%)is valid87 -| | (% style="width:262px" %)validTo|(% style="width:543px" %)Date from which(% style="color:#e74c3c" %)[[version>>doc:Glossary.Version.WebHome]](%%)is superseded88 -|//MaintainableArtefact//|( % style="width:262px" %)(((92 +)))|Provides versioning information for all derived objects. 93 +| |version|A version string following SDMX versioning rules. 94 +| |validFrom|Date from which the version is valid 95 +| |validTo|Date from which version is superseded 96 +|//MaintainableArtefact//|((( 89 89 Inherits from 90 90 91 91 //VersionableArtefact// 92 -)))| (% style="width:543px" %)An abstract class to group together primary[[structural metadata>>doc:Glossary.Structuralmetadata.WebHome]] [[artefacts>>doc:Glossary.Artefact.WebHome]]that are maintained by an Agency.93 -| | (% style="width:262px" %)isExternalReference|(% style="width:543px" %)If set to “true” it indicates that the content of the object is held externally.94 -| | (%style="width:262px" %)structureURL|(% style="width:543px" %)The URL of an[[SDMX-ML>>doc:Glossary.SDMX-ML.WebHome]]document containing the external object.95 -| | (%style="width:262px" %)serviceURL|(% style="width:543px" %)The URL of an[[SDMX>>doc:Glossary.Statistical data and metadata exchange.WebHome]]-compliant web service from which the external object can be retrieved.96 -| | (% style="width:262px" %)+maintainer|(% style="width:543px" %)Association to the[[Maintenance Agency>>doc:Glossary.Maintenanceagency.WebHome]]responsible for maintaining the[[artefact>>doc:Glossary.Artefact.WebHome]].97 -|Agency| (%style="width:262px" %)|(% style="width:543px" %)See section on “Organisations”100 +)))|An abstract class to group together primary structural metadata artefacts that are maintained by an Agency. 101 +| |isExternalReference|If set to “true” it indicates that the content of the object is held externally. 102 +| |structureURL|The URL of an SDMX-ML document containing the external object. 103 +| |serviceURL|The URL of an SDMX-compliant web service from which the external object can be retrieved. 104 +| |+maintainer|Association to the Maintenance Agency responsible for maintaining the artefact. 105 +|Agency| |See section on “Organisations” 98 98 99 -== 3.3 Basic Inheritance == 100 100 101 -=== 3.3.1 Class Diagram – Basic Inheritance from the Base Inheritance Classes === 102 102 109 +==== //3.3 Basic Inheritance// ==== 110 + 111 +===== 3.3.1 Class Diagram – Basic Inheritance from the Base Inheritance Classes ===== 112 + 103 103 [[image:1749246130530-261.jpeg]] 104 104 105 105 **Figure 11: Basic Inheritance from the Base Structures** 106 106 107 -=== 3.3.2 Explanation of the Diagram === 117 +===== 3.3.2 Explanation of the Diagram ===== 108 108 109 -==== 3.3.2.1 Narrative ==== 119 +====== 3.3.2.1 Narrative ====== 110 110 111 111 The diagram above shows the inheritance within the base structures. The concrete classes are introduced and defined in the specific package to which they relate. 112 112 113 -== 3.4 Data Types == 123 +=== 3.4 Data Types === 114 114 115 -=== 3.4.1 Class Diagram === 125 +==== 3.4.1 Class Diagram ==== 116 116 117 117 [[image:1749246130536-128.jpeg]] 118 118 119 119 **Figure 12: Class Diagram of Basic Data Types** 120 120 121 -=== 3.4.2 Explanation of the Diagram === 131 +===== 3.4.2 Explanation of the Diagram ===== 122 122 123 -==== 3.4.2.1 Narrative ==== 133 +====== 3.4.2.1 Narrative ====== 124 124 125 -The FacetType and FacetValueType enumerations are used to specify the valid format of the content of a non-enumerated (% style="color:#e74c3c" %)[[Concept>>doc:Glossary.Concept.WebHome]](%%)or the usage of a(% style="color:#e74c3c" %)[[Concept>>doc:Glossary.Concept.WebHome]](%%)when specified for use on a //[[Component>>doc:Glossary.Component.WebHome]]// on a //Structure// (such as a[[Dimension>>doc:Glossary.Dimension.WebHome]]in a DataStructureDefinition). The description of the various types can be found in the chapter on ConceptScheme (section 4.5).135 +The FacetType and FacetValueType enumerations are used to specify the valid format of the content of a non-enumerated Concept or the usage of a Concept when specified for use on a //Component// on a //Structure// (such as a Dimension in a DataStructureDefinition). The description of the various types can be found in the chapter on ConceptScheme (section 4.5). 126 126 127 127 The ActionType enumeration is used to specify the action that a receiving system should take when processing the content that is the object of the action. It is enumerated as follows: 128 128 129 -* Append: Data or metadata is an [[incremental update>>doc:Glossary.Incrementalupdate.WebHome]]for an existing data/[[metadata set>>doc:Glossary.Metadataset.WebHome]] or the provision of new data or documentation ([[attribute>>doc:Glossary.Attribute.WebHome]]values) formerly absent. If any of the supplied data or metadata is already present, it will not replace that data or metadata. This corresponds to the "Update" value found in version 1.0 of the[[SDMX>>doc:Glossary.Statisticaldata and metadata exchange.WebHome]]Technical Standards.139 +* Append: Data or metadata is an incremental update for an existing data/metadata set or the provision of new data or documentation (attribute values) formerly absent. If any of the supplied data or metadata is already present, it will not replace that data or metadata. This corresponds to the "Update" value found in version 1.0 of the SDMX Technical Standards. 130 130 * Replace: Data/metadata is to be replaced and may also include additional data/metadata to be appended. 131 131 * Delete: Data/Metadata is to be deleted. 132 132 * Information: Data and metadata are for information purposes. 133 133 134 -The ToValueType data type contains the [[attributes>>doc:Glossary.Attribute.WebHome]]to support transformations defined in the StructureMap (see Section 0).144 +The ToValueType data type contains the attributes to support transformations defined in the StructureMap (see Section 0). 135 135 136 -The ConstraintRoleType data type contains the [[attributes>>doc:Glossary.Attribute.WebHome]]that identify the purpose of a(% style="color:#e74c3c" %)[[Constraint>>doc:Glossary.Constraint.WebHome]](%%)(allowableContent, actualContent).146 +The ConstraintRoleType data type contains the attributes that identify the purpose of a Constraint (allowableContent, actualContent). 137 137 138 -The ComponentRoleType data type contains the predefined (% style="color:#e74c3c" %)[[Concept>>doc:Glossary.Concept.WebHome]](%%)roles that can be assigned to any Component.148 +The ComponentRoleType data type contains the predefined Concept roles that can be assigned to any Component. 139 139 140 -The CascadeValues data type contains the possible values for a MemberValue within a CubeRegion, in order to enable cascading to all children [[Codes>>doc:Glossary.Code.WebHome]]of a selected[[Code>>doc:Glossary.Code.WebHome]], while including/excluding the latter in the selection.150 +The CascadeValues data type contains the possible values for a MemberValue within a CubeRegion, in order to enable cascading to all children Codes of a selected Code, while including/excluding the latter in the selection. 141 141 142 -The VersionType data types provides the details for versioning according to [[SDMX>>doc:Glossary.Statisticaldata and metadata exchange.WebHome]]versioning rules, as explained in[[SDMX>>doc:Glossary.Statisticaldata and metadata exchange.WebHome]]Standards Section 6, paragraph “4.3 Versioning”.152 +The VersionType data types provides the details for versioning according to SDMX versioning rules, as explained in SDMX Standards Section 6, paragraph “4.3 Versioning”. 143 143 144 -== 3.5 The Item Scheme Pattern == 154 +==== //3.5 The Item Scheme Pattern// ==== 145 145 146 -=== 3.5.1 Context === 156 +===== 3.5.1 Context ===== 147 147 148 -The [[Item Scheme>>doc:Glossary.Itemscheme.WebHome]]is a basic architectural pattern that allows the creation of list schemes for use in simple taxonomies, for example.158 +The Item Scheme is a basic architectural pattern that allows the creation of list schemes for use in simple taxonomies, for example. 149 149 150 -The // [[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]// is the basis for[[CategoryScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.CategoryScheme.WebHome]], Codelist,[[ConceptScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.ConceptScheme.WebHome]],[[ReportingTaxonomy>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.ReportingTaxonomy.WebHome]], //[[OrganisationScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.OrganisationScheme.WebHome]]//, TransformationScheme, CustomTypeScheme, NamePersonalisationScheme, RulesetScheme, VtlMappingScheme and UserDefinedOperatorScheme.160 +The //ItemScheme// is the basis for CategoryScheme, Codelist, ConceptScheme, ReportingTaxonomy, //OrganisationScheme//, TransformationScheme, CustomTypeScheme, NamePersonalisationScheme, RulesetScheme, VtlMappingScheme and UserDefinedOperatorScheme. 151 151 152 -=== 3.5.2 Class Diagram === 162 +===== 3.5.2 Class Diagram ===== 153 153 154 154 [[image:1749246130543-644.jpeg]] 155 155 156 156 **Figure 13 The Item Scheme pattern** 157 157 158 -=== 3.5.3 Explanation of the Diagram === 168 +===== 3.5.3 Explanation of the Diagram ===== 159 159 160 -==== 3.5.3.1 Narrative ==== 170 +====== 3.5.3.1 Narrative ====== 161 161 162 -The // [[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]// is an abstract class which defines a set of //[[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]// (this class is also abstract). Its main purpose is to define a mechanism which can be used to create taxonomies which can classify other parts of the[[SDMX Information Model>>doc:Glossary.SDMXInformationModel.WebHome]]. Itis derived from //[[MaintainableArtefact>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.WebHome]]// which gives it the ability to be annotated, have identity, naming, versioning and be associated with an[[Agency>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.Organisation.Agency.WebHome]].An example of a concrete class is a[[ConceptScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.ConceptScheme.WebHome]].The associated[[Concepts>>doc:Glossary.Concept.WebHome]]are //[[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]//s.172 +The //ItemScheme// is an abstract class which defines a set of //Item// (this class is also abstract). Its main purpose is to define a mechanism which can be used to create taxonomies which can classify other parts of the SDMX Information Model. It is derived from //MaintainableArtefact// which gives it the ability to be annotated, have identity, naming, versioning and be associated with an Agency. An example of a concrete class is a ConceptScheme. The associated Concepts are //Item//s. 163 163 164 -In an exchange environment an // [[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]// is allowed to contain a sub-set of the //[[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]//s in the maintained //[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]//. If such an[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]is disseminated with a sub-set of the //[[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]//s then the fact that this is a sub-set is denoted by setting the isPartial[[attribute>>doc:Glossary.Attribute.WebHome]]to "true".174 +In an exchange environment an //ItemScheme// is allowed to contain a sub-set of the //Item//s in the maintained //ItemScheme//. If such an ItemScheme is disseminated with a sub-set of the //Item//s then the fact that this is a sub-set is denoted by setting the isPartial attribute to "true". 165 165 166 -A “partial” // [[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]// cannot be maintained independently in its partial form i.e., it cannot contain //[[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]//s that are not present in the full //[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]// and the content of any one //[[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]//(e.g., names and descriptions) cannot deviate from the content in the full //[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]//. Furthermore, the[[id>>doc:IMElements.id.WebHome]]of the //[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]// where isPartial is set to "true" is the same as the[[id>>doc:IMElements.id.WebHome]]of the full //[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]// (agencyId,[[id>>doc:IMElements.id.WebHome]],[[version>>doc:Glossary.Version.WebHome]]). This is important as this is the[[id>>doc:IMElements.id.WebHome]]that that is referenced in other structures (e.g., a[[Codelist>>doc:Glossary.Codelist.WebHome]]referenced in a[[DSD>>doc:Glossary.Data structure definition.WebHome]]) and this[[id>>doc:IMElements.id.WebHome]]is always the same, regardless of whether the disseminated //[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]// is the full //[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]// or a partial //[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]//.176 +A “partial” //ItemScheme// cannot be maintained independently in its partial form i.e., it cannot contain //Item//s that are not present in the full //ItemScheme// and the content of any one //Item //(e.g., names and descriptions) cannot deviate from the content in the full //ItemScheme//. Furthermore, the id of the //ItemScheme// where isPartial is set to "true" is the same as the id of the full //ItemScheme// (agencyId, id, version). This is important as this is the id that that is referenced in other structures (e.g., a Codelist referenced in a DSD) and this id is always the same, regardless of whether the disseminated //ItemScheme// is the full //ItemScheme// or a partial //ItemScheme//. 167 167 168 -The purpose of a partial // [[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]// is to support the exchange and dissemination of a subset //[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]// without the need to maintain multiple //[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]//s which contain the same //[[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]//s. For instance, when a[[Codelist>>doc:Glossary.Codelist.WebHome]]isused in a[[DataStructureDefinition>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.DataStructureDefinition.WebHome]]it is sometimes the case that only a sub-set of the[[Codes>>doc:Glossary.Code.WebHome]]in a[[Codelist>>doc:Glossary.Codelist.WebHome]]are relevant. In this case a partial[[Codelist>>doc:Glossary.Codelist.WebHome]]can be constructed using the[[Constraint>>doc:Glossary.Constraint.WebHome]]mechanism explained later in this document.178 +The purpose of a partial //ItemScheme// is to support the exchange and dissemination of a subset //ItemScheme// without the need to maintain multiple //ItemScheme//s which contain the same //Item//s. For instance, when a Codelist is used in a DataStructureDefinition it is sometimes the case that only a sub-set of the Codes in a Codelist are relevant. In this case a partial Codelist can be constructed using the Constraint mechanism explained later in this document. 169 169 170 -// [[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]// inherits from //[[NameableArtefact>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.WebHome]]// which gives it the ability to be annotated and have identity, and therefore has[[id>>doc:IMElements.id.WebHome]],[[uri>>doc:IMElements.uri.WebHome]]and[[urn>>doc:IMElements.urn.WebHome]][[attributes>>doc:Glossary.Attribute.WebHome]], a[[name>>doc:IMElements.name.WebHome]]and a[[description>>doc:IMElements.description.WebHome]]in the form of an[[InternationalString>>doc:IMElements.InternationalString.WebHome]].Unlike the[[parent>>doc:IMElements.parent.WebHome]]//[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]//, the //[[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]// itself is not a //[[MaintainableArtefact>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.WebHome]]// and therefore cannot have an independent[[Agency>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.Organisation.Agency.WebHome]](i.e., it implicitly has the same agencyId as the //[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]//).180 +//Item// inherits from //NameableArtefact// which gives it the ability to be annotated and have identity, and therefore has id, uri and urn attributes, a name and a description in the form of an InternationalString. Unlike the parent //ItemScheme//, the //Item// itself is not a //MaintainableArtefact// and therefore cannot have an independent Agency (i.e., it implicitly has the same agencyId as the //ItemScheme//). 171 171 172 -The // [[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]// can be hierarchic and so one //[[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]// can have[[child>>doc:IMElements.child.WebHome]]//[[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]//s. The restriction of the hierarchic association is that a[[child>>doc:IMElements.child.WebHome]]//[[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]// can have only[[parent>>doc:IMElements.parent.WebHome]]//[[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]//.182 +The //Item// can be hierarchic and so one //Item// can have child //Item//s. The restriction of the hierarchic association is that a child //Item// can have only parent //Item//. 173 173 174 -==== 3.5.3.2 Definitions ==== 184 +====== 3.5.3.2 Definitions ====== 175 175 176 -(% style="width:989.835px" %) 177 -|**Class**|(% style="width:297px" %)**Feature**|(% style="width:583px" %)**Description** 178 -|//[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]//|(% style="width:297px" %)((( 186 +|**Class**|**Feature**|**Description** 187 +|//ItemScheme//|((( 179 179 Inherits from: 180 -//[[MaintainableArtefact>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.WebHome]]// 189 + 190 +//MaintainableArtefact// 191 + 181 181 Direct sub classes are: 182 -[[CategoryScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.CategoryScheme.WebHome]] 183 -[[ConceptScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.ConceptScheme.WebHome]] 193 + 194 +CategoryScheme 195 + 196 +ConceptScheme 197 + 184 184 Codelist 185 -[[ReportingTaxonomy>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.ReportingTaxonomy.WebHome]] 186 -//[[OrganisationScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.OrganisationScheme.WebHome]]// 199 + 200 +ReportingTaxonomy 201 + 202 +//OrganisationScheme// 203 + 187 187 TransformationScheme 188 -CustomTypeScheme NamePersonalisationScheme 205 + 206 +CustomTypeScheme NamePersonalisationSc heme 207 + 189 189 RulesetScheme 190 - VtlMappingScheme191 -UserDefinedOperatorScheme 192 -)))| (% style="width:583px" %)The descriptive information for an arrangement or division of objects into groups based on characteristics, which the objects have in common.193 -| | (% style="width:297px" %)isPartial|(% style="width:583px" %)Denotes whether the[[Item Scheme>>doc:Glossary.Itemscheme.WebHome]] contains a subset of the full set of Items in the maintained scheme.194 -| | (% style="width:297px" %)/items|(% style="width:583px" %)Association to the Items in the scheme.195 -|// [[Item>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.WebHome]]//|(% style="width:297px" %)(((209 + 210 +VtlMappingScheme UserDefinedOperatorSc heme 211 +)))|The descriptive information for an arrangement or division of objects into groups based on characteristics, which the objects have in common. 212 +| |isPartial|Denotes whether the Item Scheme contains a subset of the full set of Items in the maintained scheme. 213 +| |/items|Association to the Items in the scheme. 214 +|//Item//|((( 196 196 Inherits from: 197 -//[[NameableArtefact>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.WebHome]]// 216 + 217 +//NameableArtefact// 218 + 198 198 Direct sub classes are 199 -[[Category>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.Category.WebHome]] 200 -[[Concept>>doc:Glossary.Concept.WebHome]] 201 -[[Code>>doc:Glossary.Code.WebHome]] 202 -[[ReportingCategory>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.ReportingCategory.WebHome]] 203 -//[[Organisation>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.Item.Organisation.WebHome]]// 220 + 221 +Category 222 + 223 +Concept 224 + 225 +Code 226 + 227 +ReportingCategory //Organisation// 228 + 204 204 Transformation 230 + 205 205 CustomType 232 + 206 206 NamePersonalisation 234 + 207 207 Ruleset 236 + 208 208 VtlMapping 209 -UserDefinedOperator 210 -)))|(% style="width:583px" %)((( 211 -The Item is an item of content in an [[Item Scheme>>doc:Glossary.Item scheme.WebHome]]. This may be a node in a taxonomy or ontology, a [[code>>doc:Glossary.Code.WebHome]] in a [[code list>>doc:Glossary.Code list.WebHome]] etc. Node that at the conceptual level the Organisation is not hierarchic. 212 -))) 213 -| |(% style="width:297px" %)hierarchy|(% style="width:583px" %)This allows an Item optionally to have one or more child Items 214 214 215 -== 3.6 The Structure Pattern == 239 +UserDefinedOperator// //hierarchy 240 +)))|((( 241 +The Item is an item of content in an Item Scheme. This may be a node in a taxonomy or ontology, a code in a code list etc. Node that at the conceptual level the Organisation is not hierarchic. 216 216 217 -=== 3.6.1 Context === 243 +This allows an Item optionally to have one or more child Items 244 +))) 218 218 219 -The Structure Pattern is a basic architectural pattern which allows the specification of complex tabular structures which are often found in statistical data (such as [[Data Structure Definition>>doc:Glossary.Data structure definition.WebHome]], and [[Metadata Structure Definition>>doc:Glossary.Metadata structure definition.WebHome]]). A Structure is a set of ordered lists. A pattern to underpin this tabular structure has been developed, so that commonalities between these structure definitions can be supported by common software and common syntax structures.246 +==== //3.6 The Structure Pattern// ==== 220 220 221 -=== 3.6. 2ClassDiagrams===248 +===== 3.6.1 Context ===== 222 222 223 -(% class="wikigeneratedid" %) 224 -[[image:1749246130548-601.jpeg]] 250 +The Structure Pattern is a basic architectural pattern which allows the specification of complex tabular structures which are often found in statistical data (such as Data Structure Definition, and Metadata Structure Definition). A Structure is a set of ordered lists. A pattern to underpin this tabular structure has been developed, so that commonalities between these structure definitions can be supported by common software and common syntax structures. 225 225 252 +===== 3.6.2 Class Diagrams [[image:1749246130548-601.jpeg]] ===== 253 + 226 226 **Figure 14: The Structure Pattern** 227 227 228 228 [[image:1749246130554-995.jpeg]] ... ... @@ -229,137 +229,166 @@ 229 229 230 230 **Figure 15: Representation within the Structure Pattern** 231 231 232 -=== 3.6.3 Explanation of the Diagrams === 260 +====== 3.6.3 Explanation of the Diagrams ====== 233 233 234 - ====3.6.3.1 Narrative====262 +3.6.3.1 Narrative 235 235 236 -The // [[Structure>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.WebHome]]// is an abstract class which contains a set of one or more //[[ComponentList>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.WebHome]]//(s) (this class is also abstract). An example of a concrete //[[Structure>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.WebHome]]// is[[DataStructureDefinition>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.DataStructureDefinition.WebHome]].264 +The //Structure// is an abstract class which contains a set of one or more //ComponentList//(s) (this class is also abstract). An example of a concrete //Structure// is DataStructureDefinition. 237 237 238 -The // [[ComponentList>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.WebHome]]// is a list of one or more //[[Component>>doc:Glossary.Component.WebHome]]//(s//)//. The //[[ComponentList>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.WebHome]]// has several concrete descriptor classes based on it:[[DimensionDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.DimensionDescriptor.WebHome]],[[GroupDimensionDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.GroupDimensionDescriptor.WebHome]],[[MeasureDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.MeasureDescriptor.WebHome]], and[[AttributeDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.AttributeDescriptor.WebHome]]of the[[DataStructureDefinition>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.DataStructureDefinition.WebHome]]and[[MetadataAttributeDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.MetadataAttributeDescriptor.WebHome]]of the[[MetadataStructureDefinition>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.MetadataStructureDefinition.WebHome]].266 +The //ComponentList// is a list of one or more //Component//(s//)//. The //ComponentList// has several concrete descriptor classes based on it: DimensionDescriptor, GroupDimensionDescriptor, MeasureDescriptor, and AttributeDescriptor of the DataStructureDefinition and MetadataAttributeDescriptor of the MetadataStructureDefinition. 239 239 240 -The // [[Component>>doc:Glossary.Component.WebHome]]// is contained in a //[[ComponentList>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.WebHome]]//. The[[type>>doc:IMElements.type.WebHome]]of //[[Component>>doc:Glossary.Component.WebHome]]// in a //[[ComponentList>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.WebHome]]// is dependent on the concrete class of the[[ComponentList>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.WebHome]]as follows:268 +The //Component// is contained in a //ComponentList//. The type of //Component// in a //ComponentList// is dependent on the concrete class of the ComponentList as follows: 241 241 242 -[[DimensionDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.DimensionDescriptor.WebHome]]: [[Dimension>>doc:Glossary.Dimension.WebHome]], [[TimeDimension>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.Component.DimensionComponent.TimeDimension.WebHome]] 243 -[[GroupDimensionDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.GroupDimensionDescriptor.WebHome]]: [[Dimension>>doc:Glossary.Dimension.WebHome]], [[TimeDimension>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.Component.DimensionComponent.TimeDimension.WebHome]] 244 -[[MeasureDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.MeasureDescriptor.WebHome]]: [[Measure>>doc:Glossary.Measure.WebHome]] 245 -[[AttributeDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.AttributeDescriptor.WebHome]]: [[DataAttribute>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.Component.AttributeComponent.DataAttribute.WebHome]], MetadataAttributeRef 246 -[[MetadataAttributeDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.MetadataAttributeDescriptor.WebHome]]: [[MetadataAttribute>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.Component.AttributeComponent.MetadataAttribute.WebHome]] 270 +DimensionDescriptor: Dimension, TimeDimension 247 247 248 - Each //[[Component>>doc:Glossary.Component.WebHome]]// takesits semantic (and possibly alsoits [[representation>>doc:Glossary.Representation.WebHome]]) from a [[Concept>>doc:Glossary.Concept.WebHome]]in a [[ConceptScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.ConceptScheme.WebHome]]. Thisis represented by the conceptIdentity association to [[Concept>>doc:Glossary.Concept.WebHome]].272 +GroupDimensionDescriptor: Dimension, TimeDimension 249 249 250 - The//[[Component>>doc:Glossary.Component.WebHome]]// may also have a localRepresentation. This allows a concrete class, such as [[Dimension>>doc:Glossary.Dimension.WebHome]], to specify its [[representation>>doc:Glossary.Representation.WebHome]] which is local to the //[[Structure>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.WebHome]]//in which it is contained (for [[Dimension>>doc:Glossary.Dimension.WebHome]] this will be [[DataStructureDefinition>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.DataStructureDefinition.WebHome]]), and thus overrides any coreRepresentation specified for the [[Concept>>doc:Glossary.Concept.WebHome]].274 +MeasureDescriptor: Measure 251 251 252 - The [[Representation>>doc:Glossary.Representation.WebHome]] can be [[enumerated>>doc:IMElements.enumerated.WebHome]] or [[non-enumerated>>doc:IMElements.nonEnumerated.WebHome]]. The valid content of an [[enumerated>>doc:IMElements.enumerated.WebHome]] [[representation>>doc:Glossary.Representation.WebHome]] is specified either in an //[[ItemScheme>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.WebHome]]//which can be one of [[Codelist>>doc:Glossary.Code list.WebHome]], [[ValueList>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.EnumeratedList.ValueList.WebHome]]or //[[GeoCodelist>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.ItemScheme.Codelist.GeoCodelist.WebHome]]//. The valid content of a [[non-enumerated>>doc:IMElements.nonEnumerated.WebHome]] [[representation>>doc:Glossary.Representation.WebHome]] is specified as one or more Facet(s) (for example, these may specify minimum and maximum values). For any [[Attribute>>doc:Glossary.Attribute.WebHome]] this is achieved by one of more276 +AttributeDescriptor: DataAttribute, MetadataAttributeRef 253 253 254 - ExtendedFacet(s), whichallowthe additional [[representation>>doc:Glossary.Representation.WebHome]] of XHTML.278 +MetadataAttributeDescriptor: MetadataAttribute 255 255 256 - The typesof[[representation>>doc:Glossary.Representation.WebHome]]thatarevalidforspecific [[components>>doc:Glossary.Component.WebHome]]is expressedinthemodel as a [[constraint>>doc:Glossary.Constraint.WebHome]]on theassociation:280 +Each //Component// takes its semantic (and possibly also its representation) from a Concept in a ConceptScheme. This is represented by the conceptIdentity association to Concept. 257 257 258 -* The [[Dimension>>doc:Glossary.Dimension.WebHome]], [[DataAttribute>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.Component.AttributeComponent.DataAttribute.WebHome]], [[Measure>>doc:Glossary.Measure.WebHome]], [[MetadataAttribute>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.Component.AttributeComponent.MetadataAttribute.WebHome]] may be [[enumerated>>doc:IMElements.enumerated.WebHome]] and, if so, use an //[[EnumeratedList>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.EnumeratedList.WebHome]]//. 259 -* The [[Dimension>>doc:Glossary.Dimension.WebHome]] and [[Measure>>doc:Glossary.Measure.WebHome]] may be [[non-enumerated>>doc:IMElements.nonEnumerated.WebHome]] and, if so, use one or more Facet(s), note that the FacetValueType applicable to the [[TimeDimension>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.Component.DimensionComponent.TimeDimension.WebHome]] is restricted to those that represent time. 260 -* The [[MetadataAttribute>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.Component.AttributeComponent.MetadataAttribute.WebHome]] and [[DataAttribute>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.Component.AttributeComponent.DataAttribute.WebHome]] may be [[non-enumerated>>doc:IMElements.nonEnumerated.WebHome]] and, if so, use one or more ExtendedFacet(s). 282 +The //Component// may also have a localRepresentation. This allows a concrete class, such as Dimension, to specify its representation which is local to the //Structure// in which it is contained (for Dimension this will be DataStructureDefinition), and thus overrides any coreRepresentation specified for the Concept. 261 261 262 -The //[[Structure>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.WebHome]]//may beusedbyone ormore//[[StructureUsage>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.StructureUsage.WebHome]]//(s).An exampleof this, intermsofconcrete classes,isthata[[Dataflow>>doc:Glossary.Dataflow.WebHome]](sub classof//[[StructureUsage>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.StructureUsage.WebHome]]//)mayuse a particular [[DataStructureDefinition>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.DataStructureDefinition.WebHome]](sub classof //[[Structure>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.WebHome]]//),andsimilar constructsapply for the[[Metadataflow>>doc:Glossary.Metadataflow.WebHome]](link to[[MetadataStructureDefinition>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.MetadataStructureDefinition.WebHome]]).284 +The Representation can be enumerated or non-enumerated. The valid content of an enumerated representation is specified either in an //ItemScheme// which can be one of Codelist, ValueList or //GeoCodelist//. The valid content of a non-enumerated representation is specified as one or more Facet(s) (for example, these may specify minimum and maximum values). For any Attribute this is achieved by one of more 263 263 264 - ====3.6.3.2Definitions====286 +ExtendedFacet(s), which allow the additional representation of XHTML. 265 265 266 -(% style="width:1368.29px" %) 267 -|**Class**|**Feature**|(% style="width:897px" %)**Description** 268 -|[[StructureUsage>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.StructureUsage.WebHome]]|((( 288 +The types of representation that are valid for specific components is expressed in the model as a constraint on the association: 289 + 290 +* The Dimension, DataAttribute, Measure, MetadataAttribute may be enumerated and, if so, use an //EnumeratedList//. 291 +* The Dimension and Measure may be non-enumerated and, if so, use one or more Facet(s), note that the FacetValueType applicable to the TimeDimension is restricted to those that represent time. 292 +* The MetadataAttribute and DataAttribute may be non-enumerated and, if so, use one or more ExtendedFacet(s). 293 + 294 +The //Structure// may be used by one or more //StructureUsage//(s). An example of this, in terms of concrete classes, is that a Dataflow (sub class of //StructureUsage//) may use a particular DataStructureDefinition (sub class of //Structure//), and similar constructs apply for the Metadataflow (link to MetadataStructureDefinition). 295 + 296 +3.6.3.2 Definitions 297 + 298 +|**Class**|**Feature**|**Description** 299 +|StructureUsage|((( 269 269 Inherits from: 270 -//[[MaintainableArtefact>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.WebHome]]// 301 + 302 +//MaintainableArtefact// 303 + 271 271 Sub classes are: 272 -[[Dataflow>>doc:Glossary.Dataflow.WebHome]] 273 -[[Metadataflow>>doc:Glossary.Metadataflow.WebHome]] 274 -)))|(% style="width:897px" %)An [[artefact>>doc:Glossary.Artefact.WebHome]] whose [[components>>doc:Glossary.Component.WebHome]] are described by a Structure. In concrete terms (sub-classes) an example would be a [[Dataflow>>doc:Glossary.Dataflow.WebHome]] which is linked to a given structure – in this case the [[Data Structure Definition>>doc:Glossary.Data structure definition.WebHome]]. 275 -| |[[structure>>doc:IMElements.structure.WebHome]]|(% style="width:897px" %)An association to a Structure specifying the structure of the [[artefact>>doc:Glossary.Artefact.WebHome]]. 276 -|[[Structure>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.WebHome]]|((( 305 + 306 +Dataflow 307 + 308 +Metadataflow 309 +)))|An artefact whose components are described by a Structure. In concrete terms (sub-classes) an example would be a Dataflow which is linked to a given structure – in this case the Data Structure Definition. 310 +| |structure|An association to a Structure specifying the structure of the artefact. 311 +|Structure|((( 277 277 Inherits from: 278 -//[[MaintainableArtefact>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.WebHome]]// 313 + 314 +//MaintainableArtefact// 315 + 279 279 Sub classes are: 280 -[[DataStructureDefinition>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.DataStructureDefinition.WebHome]] MetadataStructureDefinition 281 -)))|(% style="width:897px" %)Abstract specification of a list of lists to define a complex tabular structure. A concrete example of this would be statistical [[concepts>>doc:Glossary.Concept.WebHome]], [[code lists>>doc:Glossary.Code list.WebHome]], and their organisation in a data or [[metadata structure definition>>doc:Glossary.Metadata structure definition.WebHome]], defined by a centre institution, usually for the exchange of statistical information with its partners. 282 -| |[[grouping>>doc:IMElements.grouping.WebHome]]|(% style="width:897px" %)A composite association to one or more [[component>>doc:Glossary.Component.WebHome]] lists. 283 -|//[[ComponentList>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.WebHome]]//|((( 317 + 318 +DataStructureDefinition MetadataStructureDefinit ion 319 +)))|Abstract specification of a list of lists to define a complex tabular structure. A concrete example of this would be statistical concepts, code lists, and their organisation in a data or metadata structure definition, defined by a centre institution, usually for the exchange of statistical information with its partners. 320 +| |grouping|A composite association to one or more component lists. 321 +|//ComponentList//|((( 284 284 Inherits from: 285 -//[[IdentifiableArtefact>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.WebHome]]// 323 + 324 +//IdentifiableArtefact// 325 + 286 286 Sub classes are: 287 -[[DimensionDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.DimensionDescriptor.WebHome]] 288 -[[GroupDimensionDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.GroupDimensionDescriptor.WebHome]] 289 -[[MeasureDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.MeasureDescriptor.WebHome]] 290 -[[AttributeDescriptor>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.AttributeDescriptor.WebHome]] MetadataAttributeDescriptor 291 -)))|(% style="width:897px" %)An abstract definition of a list of [[components>>doc:Glossary.Component.WebHome]]. A concrete example is a [[Dimension>>doc:Glossary.Dimension.WebHome]] Descriptor, which defines the list of [[Dimensions>>doc:Glossary.Dimension.WebHome]] in a [[Data Structure Definition>>doc:Glossary.Data structure definition.WebHome]]. 292 -| |[[components>>doc:Glossary.Component.WebHome]]|(% style="width:897px" %)An aggregate association to one or more [[components>>doc:Glossary.Component.WebHome]] which make up the list. 293 -|//[[Component>>doc:Glossary.Component.WebHome]]//|((( 327 + 328 +DimensionDescriptor 329 + 330 +GroupDimensionDescriptor 331 + 332 +MeasureDescriptor 333 + 334 +AttributeDescriptor MetadataAttributeDescrip tor 335 +)))|An abstract definition of a list of components. A concrete example is a Dimension Descriptor, which defines the list of Dimensions in a Data Structure Definition. 336 +| |components|An aggregate association to one or more components which make up the list. 337 +|//Component//|((( 294 294 Inherits from: 295 -//[[IdentifiableArtefact>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.WebHome]]// 339 + 340 +//IdentifiableArtefact// 341 + 296 296 Sub classes are: 297 -[[Measure>>doc:Glossary.Measure.WebHome]] 298 -//[[AttributeComponent>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.Component.AttributeComponent.WebHome]] 299 -[[DimensionComponent>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.Component.DimensionComponent.WebHome]]// 300 -)))|(% style="width:897px" %)A [[Component>>doc:Glossary.Component.WebHome]] is an abstract super class used to define qualitative and quantitative data and metadata items that belong to a [[Component>>doc:Glossary.Component.WebHome]] List and hence a Structure. [[Component>>doc:Glossary.Component.WebHome]] is refined through its sub-classes. 301 -| |conceptIdentity|(% style="width:897px" %)Association to a [[Concept>>doc:Glossary.Concept.WebHome]] in a [[Concept Scheme>>doc:Glossary.Concept scheme.WebHome]] that identifies and defines the semantic of the [[Component>>doc:Glossary.Component.WebHome]]. 302 -| |localRepresentation|(% style="width:897px" %)((( 303 -Association to the [[Representation>>doc:Glossary.Representation.WebHome]] of the [[Component>>doc:Glossary.Component.WebHome]] if this is different from the coreRepresentation of the [[Concept>>doc:Glossary.Concept.WebHome]], which the [[Component>>doc:Glossary.Component.WebHome]] uses (ConceptUsage). 343 + 344 +Measure 345 + 346 +//AttributeComponent// 347 + 348 +//DimensionComponent// 349 +)))|A Component is an abstract super class used to define qualitative and quantitative data and metadata items that belong to a Component List and hence a Structure. Component is refined through its sub-classes. 350 +| |conceptIdentity|Association to a Concept in a Concept Scheme that identifies and defines the semantic of the Component. 351 +| |localRepresentation|((( 352 +Association to the Representation of the Component if this is different from the coreRepresentation of the 353 + 354 +Concept, which the Component uses (ConceptUsage). 304 304 ))) 305 -| [[Representation>>doc:Glossary.Representation.WebHome]]| |(% style="width:897px" %)The allowable value or format for[[Component>>doc:Glossary.Component.WebHome]]or[[Concept>>doc:Glossary.Concept.WebHome]]306 -| |+ [[enumerated>>doc:IMElements.enumerated.WebHome]]|(% style="width:897px" %)Association to an enumerated list that contains the allowable content for the[[Component>>doc:Glossary.Component.WebHome]]when reported in a data or[[metadata set>>doc:Glossary.Metadataset.WebHome]].The type of enumerated list that is allowed for any concrete[[Component>>doc:Glossary.Component.WebHome]]is shown in the[[constraints>>doc:Glossary.Constraint.WebHome]]on the association.307 -| |+nonEnumerated| (% style="width:897px" %)Association to a set of[[Facets>>doc:Glossary.Facet.WebHome]]that define the allowable format for the content of the[[Component>>doc:Glossary.Component.WebHome]]when reported in a data or[[metadata set>>doc:Glossary.Metadata set.WebHome]].308 -| [[Facet>>doc:Glossary.Facet.WebHome]]| |(% style="width:897px" %)Defines the format for the content of the[[Component>>doc:Glossary.Component.WebHome]]when reported in a data or[[metadata set>>doc:Glossary.Metadata set.WebHome]].309 -| |facetType| (% style="width:897px" %)A specific content type, which is constrained by the[[Facet>>doc:Glossary.Facet.WebHome]]Type enumeration.310 -| |facetValueType| (% style="width:897px" %)The format of the value of a[[Component>>doc:Glossary.Component.WebHome]]when reported in a data or[[metadata set>>doc:Glossary.Metadataset.WebHome]].This is constrained by the[[Facet>>doc:Glossary.Facet.WebHome]]Value Type enumeration.311 -| |+itemSchemeFacet| (% style="width:897px" %)Defines the format of the identifiers in an[[Item Scheme>>doc:Glossary.Itemscheme.WebHome]]used by a[[Component>>doc:Glossary.Component.WebHome]].Typically, this would define the number of characters (length) of the identifier.312 -| [[ExtendedFacet>>doc:IMElements.Facet.ExtendedFacet.WebHome]]| |(% style="width:897px" %)This has the same function as[[Facet>>doc:Glossary.Facet.WebHome]]but allows additionally an XHTML[[representation>>doc:Glossary.Representation.WebHome]].This is constrained for use with a Metadata[[Attribute>>doc:Glossary.Attribute.WebHome]]and a Data[[Attribute>>doc:Glossary.Attribute.WebHome]].356 +|Representation| |The allowable value or format for Component or Concept 357 +| |+enumerated|Association to an enumerated list that contains the allowable content for the Component when reported in a data or metadata set. The type of enumerated list that is allowed for any concrete Component is shown in the constraints on the association. 358 +| |+nonEnumerated|Association to a set of Facets that define the allowable format for the content of the Component when reported in a data or metadata set. 359 +|Facet| |Defines the format for the content of the Component when reported in a data or metadata set. 360 +| |facetType|A specific content type, which is constrained by the Facet Type enumeration. 361 +| |facetValueType|The format of the value of a Component when reported in a data or metadata set. This is constrained by the Facet Value Type enumeration. 362 +| |+itemSchemeFacet|Defines the format of the identifiers in an Item Scheme used by a Component. Typically, this would define the number of characters (length) of the identifier. 363 +|ExtendedFacet| |This has the same function as Facet but allows additionally an XHTML representation. This is constrained for use with a Metadata Attribute and a Data Attribute. 313 313 314 -The specification of the content and use of the sub classes to // [[ComponentList>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.ComponentList.WebHome]]// and //[[Component>>doc:Glossary.Component.WebHome]]// can be found in the section in which they are used ([[DataStructureDefinition>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.DataStructureDefinition.WebHome]]and[[MetadataStructureDefinition>>doc:IMElements.AnnotableArtefact.IdentifiableArtefact.NameableArtefact.VersionableArtefact.MaintainableArtefact.Structure.MetadataStructureDefinition.WebHome]]). Moreover, the FacetType SentinelValues is explained in the datastructure[[representation>>doc:Glossary.Representation.WebHome]]diagram (see 5.3.2.2), since it only concerns DataStructureDefinitions.365 +The specification of the content and use of the sub classes to //ComponentList// and //Component// can be found in the section in which they are used (DataStructureDefinition and MetadataStructureDefinition). Moreover, the FacetType SentinelValues is explained in the datastructure representation diagram (see 5.3.2.2), since it only concerns DataStructureDefinitions. 315 315 316 - ====3.6.3.3 Representation Constructs====367 +3.6.3.3 Representation Constructs 317 317 318 -The majority of [[SDMX>>doc:Glossary.Statisticaldata and metadata exchange.WebHome]]FacetValueTypes are compatible with those found in XML Schema, and have equivalents in most current implementation platforms:369 +The majority of SDMX FacetValueTypes are compatible with those found in XML Schema, and have equivalents in most current implementation platforms: 319 319 320 -|(% style="width:198px" %)((( 321 -**SDMX Facet Value Type** 322 -)))|(% style="width:204px" %)**XML Schema Data Type**|(% style="width:209px" %)**JSON Schema Data Type**|(% style="width:187px" %)((( 323 -**.NET Framework Type** 324 -)))|(% style="width:817px" %)**Java Data Type** 325 -|(% style="width:198px" %)String|(% style="width:204px" %)xsd:string|(% style="width:209px" %)string|(% style="width:187px" %)System.String|(% style="width:817px" %)java.lang.String 326 -|(% style="width:198px" %)Big Integer|(% style="width:204px" %)xsd:integer|(% style="width:209px" %)integer|(% style="width:187px" %)System.Decimal|(% style="width:817px" %)java.math.BigInteger 327 -|(% style="width:198px" %)Integer|(% style="width:204px" %)xsd:int|(% style="width:209px" %)integer|(% style="width:187px" %)System.Int32|(% style="width:817px" %)int 328 -|(% style="width:198px" %)Long|(% style="width:204px" %)xsd.long|(% style="width:209px" %)integer|(% style="width:187px" %)System.Int64|(% style="width:817px" %)long 329 -|(% style="width:198px" %)Short|(% style="width:204px" %)xsd:short|(% style="width:209px" %)integer|(% style="width:187px" %)System.Int16|(% style="width:817px" %)short 330 -|(% style="width:198px" %)[[Decimal>>doc:Glossary.Decimals.WebHome]]|(% style="width:204px" %)xsd:decimal|(% style="width:209px" %)number|(% style="width:187px" %)System.Decimal|(% style="width:817px" %)java.math.BigDecimal 331 -|(% style="width:198px" %)Float|(% style="width:204px" %)xsd:float|(% style="width:209px" %)number|(% style="width:187px" %)System.Single|(% style="width:817px" %)float 332 -|(% style="width:198px" %)Double|(% style="width:204px" %)xsd:double|(% style="width:209px" %)number|(% style="width:187px" %)System.Double|(% style="width:817px" %)double 333 -|(% style="width:198px" %)Boolean|(% style="width:204px" %)xsd:boolean|(% style="width:209px" %)boolean|(% style="width:187px" %)System.Boolean|(% style="width:817px" %)boolean 334 -|(% style="width:198px" %)URI|(% style="width:204px" %)xsd:anyURI|(% style="width:209px" %)string:uri|(% style="width:187px" %)System.Uri|(% style="width:817px" %)Java.net.URI or java.lang.String 335 -|(% style="width:198px" %)DateTime|(% style="width:204px" %)xsd:dateTime|(% style="width:209px" %)string:datetime|(% style="width:187px" %)System.DateTime|(% style="width:817px" %)javax.xml.datatype.XML GregorianCalendar 336 -|(% style="width:198px" %)Time|(% style="width:204px" %)xsd:time|(% style="width:209px" %)string:time|(% style="width:187px" %)System.DateTime|(% style="width:817px" %)javax.xml.datatype.XML GregorianCalendar 337 -|(% style="width:198px" %)GregorianYear|(% style="width:204px" %)xsd:gYear|(% style="width:209px" %)string{{footnote}}In the JSON schemas, more complex data types are complemented with regular expressions, whenever no direct mapping to a standard type exists.{{/footnote}}|(% style="width:187px" %)System.DateTime|(% style="width:817px" %)javax.xml.datatype.XML GregorianCalendar 338 -|(% style="width:198px" %)GregorianMonth|(% style="width:204px" %)xsd:gYearMonth|(% style="width:209px" %)string|(% style="width:187px" %)System.DateTime|(% style="width:817px" %)javax.xml.datatype.XML GregorianCalendar 339 -|(% style="width:198px" %)GregorianDay|(% style="width:204px" %)xsd:date|(% style="width:209px" %)string|(% style="width:187px" %)System.DateTime|(% style="width:817px" %)javax.xml.datatype.XML GregorianCalendar 340 -|(% style="width:198px" %)Day, MonthDay, Month|(% style="width:204px" %)xsd:g*|(% style="width:209px" %)string|(% style="width:187px" %)System.DateTime|(% style="width:817px" %)javax.xml.datatype.XML GregorianCalendar 341 -|(% style="width:198px" %)Duration|(% style="width:204px" %)xsd:duration|(% style="width:209px" %)string|(% style="width:187px" %)System.TimeSpan|(% style="width:817px" %)javax.xml.datatype.Dur ation 371 +|((( 372 +**SDMX Facet** 342 342 343 -There are also a number of [[SDMX>>doc:Glossary.Statistical data and metadata exchange.WebHome]] data types which do not have these direct correspondences, often because they are composite [[representations>>doc:Glossary.Representation.WebHome]] or restrictions of a broader data type. These are detailed in Section 6 of the standards. 374 +**Value Type** 375 +)))|**XML Schema Data Type**|**JSON Schema Data Type**|((( 376 +**.NET Framework** 344 344 345 -The [[Representation>>doc:Glossary.Representation.WebHome]] is composed of [[Facets>>doc:Glossary.Facet.WebHome]], each of which conveys characteristic information related to the definition of a value domain. Often a set of [[Facets>>doc:Glossary.Facet.WebHome]] are needed to convey the required semantic. For example, a sequence is defined by a minimum of two [[Facets>>doc:Glossary.Facet.WebHome]]: one to define the start value, and one to define the interval. 378 +**Type** 379 +)))|**Java Data Type** 380 +|String|xsd:string|string|System.String|java.lang.String 381 +|Big Integer|xsd:integer|integer|System.Decimal|java.math.BigInteger 382 +|Integer|xsd:int|integer|System.Int32|int 383 +|Long|xsd.long|integer|System.Int64|long 384 +|Short|xsd:short|integer|System.Int16|short 385 +|Decimal|xsd:decimal|number|System.Decimal|java.math.BigDecimal 386 +|Float|xsd:float|number|System.Single|float 387 +|Double|xsd:double|number|System.Double|double 388 +|Boolean|xsd:boolean|boolean|System.Boolean|boolean 389 +|URI|xsd:anyURI|string:uri|System.Uri|Java.net.URI or java.lang.String 390 +|DateTime|xsd:dateTime|string:datetime|System.DateTime|javax.xml.datatype.XML GregorianCalendar 391 +|Time|xsd:time|string:time|System.DateTime|javax.xml.datatype.XML GregorianCalendar 392 +|GregorianYear|xsd:gYear|string[[(% class="wikiinternallink" %)^^~[1~]^^>>path:#_ftn1]]|System.DateTime|javax.xml.datatype.XML GregorianCalendar 393 +|GregorianMonth|xsd:gYearMonth|string|System.DateTime|javax.xml.datatype.XML GregorianCalendar 394 +|GregorianDay|xsd:date|string|System.DateTime|javax.xml.datatype.XML GregorianCalendar 395 +|Day, MonthDay, Month|xsd:g*|string|System.DateTime|javax.xml.datatype.XML GregorianCalendar 396 +|Duration|xsd:duration|string|System.TimeSpan|javax.xml.datatype.Dur ation 346 346 347 -(% style="width:981.835px" %) 348 -|(% style="width:107px" %)**Facet Type**|(% style="width:872px" %)**Explanation** 349 -|(% style="width:107px" %)isSequence|(% style="width:872px" %)The isSequence [[facet>>doc:Glossary.Facet.WebHome]] indicates whether the values are intended to be ordered, and it may work in combination with the interval, startValue,and endValue [[facet>>doc:Glossary.Facet.WebHome]] or the timeInterval, startTime, and endTime, [[facets>>doc:Glossary.Facet.WebHome]]. If this [[attribute>>doc:Glossary.Attribute.WebHome]] holds a value of true, a start value or time and a numeric or time interval must be supplied. If an end value is not given, then the sequence continues indefinitely. 350 -|(% style="width:107px" %)interval|(% style="width:872px" %)The interval [[attribute>>doc:Glossary.Attribute.WebHome]] specifies the permitted interval (increment) in a sequence. In order for this to be used, the isSequence [[attribute>>doc:Glossary.Attribute.WebHome]] must have a value of true. 351 -|(% style="width:107px" %)startValue|(% style="width:872px" %)The startValue [[facet>>doc:Glossary.Facet.WebHome]] is used in conjunction with the isSequence and interval [[facets>>doc:Glossary.Facet.WebHome]] (which must be set in order to use this [[facet>>doc:Glossary.Facet.WebHome]]). This [[facet>>doc:Glossary.Facet.WebHome]] isused for a numeric sequence and indicates the starting point of the sequence. This value is mandatory for a numeric sequence to be expressed. 352 -|(% style="width:107px" %)endValue|(% style="width:872px" %)The endValue [[facet>>doc:Glossary.Facet.WebHome]] is used in conjunction with the isSequence and interval [[facets>>doc:Glossary.Facet.WebHome]] (which must be set in order to use this [[facet>>doc:Glossary.Facet.WebHome]]). This [[facet>>doc:Glossary.Facet.WebHome]] is used for a numeric sequence and indicates that ending point (if any) of the sequence. 353 -|(% style="width:107px" %)timeInterval|(% style="width:872px" %)The timeInterval [[facet>>doc:Glossary.Facet.WebHome]] indicates the permitted duration in a time sequence. In order for this to be used, the isSequence [[facet>>doc:Glossary.Facet.WebHome]] must have a value of true. 354 -|(% style="width:107px" %)startTime|(% style="width:872px" %)The startTime [[facet>>doc:Glossary.Facet.WebHome]] is used in conjunction with the isSequence and timeInterval [[facets>>doc:Glossary.Facet.WebHome]] (which must be set in order to use this [[facet>>doc:Glossary.Facet.WebHome]]). Thisnattribute is used for a time sequence and indicates the start time of thensequence. This value is mandatory for a time sequence to be expressed. 355 -|(% style="width:107px" %)endTime|(% style="width:872px" %)The endTime [[facet>>doc:Glossary.Facet.WebHome]] is used in conjunction with the isSequence and timeInterval [[facets>>doc:Glossary.Facet.WebHome]] (which must be set in order to use this [[facet>>doc:Glossary.Facet.WebHome]]). This [[facet>>doc:Glossary.Facet.WebHome]] is used for a time sequence and indicates that ending point (if any) ofnthe sequence. 356 -|(% style="width:107px" %)minLength|(% style="width:872px" %)The minLength [[facet>>doc:Glossary.Facet.WebHome]] specifies the minimum and length of the value in characters. 357 -|(% style="width:107px" %)maxLength|(% style="width:872px" %)The maxLength [[facet>>doc:Glossary.Facet.WebHome]] specifies the maximum length of the value in characters. 358 -|(% style="width:107px" %)minValue|(% style="width:872px" %)The minValue [[facet>>doc:Glossary.Facet.WebHome]] is used for inclusive and exclusive ranges, indicating what the lower bound of the range is. If this is used with an inclusive range, a valid value will be greater than or equal to the value specified here. If the inclusive and exclusive data type is not specified (e.g., this [[facet>>doc:Glossary.Facet.WebHome]] is used with an integer data type), the value is assumed to be inclusive. 359 -|(% style="width:107px" %)maxValue|(% style="width:872px" %)The maxValue [[facet>>doc:Glossary.Facet.WebHome]] is used for inclusive and exclusive ranges, indicating what the upper bound of the range is. If this is used with an inclusive range, a valid value will be less than or equal to the value specified here. If the inclusive and exclusive data type is not specified (e.g., this [[facet>>doc:Glossary.Facet.WebHome]] is used with an integer data type), the value is assumed to be inclusive. 360 -|(% style="width:107px" %)[[Decimals>>doc:Glossary.Decimals.WebHome]]|(% style="width:872px" %)The [[decimals>>doc:Glossary.Decimals.WebHome]] [[facet>>doc:Glossary.Facet.WebHome]] indicates the number of characters allowed after the [[decimal>>doc:Glossary.Decimals.WebHome]] separator. 361 -|(% style="width:107px" %)pattern|(% style="width:872px" %)The pattern [[attribute>>doc:Glossary.Attribute.WebHome]] holds any regular expression permitted in the implementation syntax (e.g., W3C XML Schema). 398 +There are also a number of SDMX data types which do not have these direct correspondences, often because they are composite representations or restrictions of a broader data type. These are detailed in Section 6 of the standards. 362 362 400 +The Representation is composed of Facets, each of which conveys characteristic information related to the definition of a value domain. Often a set of Facets are needed to convey the required semantic. For example, a sequence is defined by a minimum of two Facets: one to define the start value, and one to define the interval. 401 + 402 + 403 +|**Facet Type**|**Explanation** 404 +|isSequence|The isSequence facet indicates whether the values are intended to be ordered, and it may work in combination with the interval, startValue,and endValue facet or the timeInterval, startTime, and endTime, facets. If this attribute holds a value of true, a start value or time and a numeric or time interval must be supplied. If an end value is not given, then the sequence continues indefinitely. 405 +|interval|The interval attribute specifies the permitted interval (increment) in a sequence. In order for this to be used, the isSequence attribute must have a value of true. 406 +|startValue|The startValue facet is used in conjunction with the isSequence and interval facets (which must be set in order to use this facet). This facet isused for a numeric sequence and indicates the starting point of the sequence. This value is mandatory for a numeric sequence to be expressed. 407 +|endValue|The endValue facet is used in conjunction with the isSequence and interval facets (which must be set in order to use this facet). This facet is used for a numeric sequence and indicates that ending point (if any) of the sequence. 408 +|timeInterval|The timeInterval facet indicates the permitted duration in a time sequence. In order for this to be used, the isSequence facet must have a value of true. 409 +|startTime|The startTime facet is used in conjunction with the isSequence and timeInterval facets (which must be set in order to use this facet). Thisnattribute is used for a time sequence and indicates the start time of thensequence. This value is mandatory for a time sequence to be expressed. 410 +|endTime|The endTime facet is used in conjunction with the isSequence and timeInterval facets (which must be set in order to use this facet). This facet is used for a time sequence and indicates that ending point (if any) ofnthe sequence. 411 +|minLength|The minLength facet specifies the minimum and length of the value in characters. 412 +|maxLength|The maxLength facet specifies the maximum length of the value in characters. 413 +|minValue|The minValue facet is used for inclusive and exclusive ranges, indicating what the lower bound of the range is. If this is used with an inclusive range, a valid value will be greater than or equal to the value specified here. If the inclusive and exclusive data type is not specified (e.g., this facet is used with an integer data type), the value is assumed to be inclusive. 414 +|maxValue|The maxValue facet is used for inclusive and exclusive ranges, indicating what the upper bound of the range is. If this is used with an inclusive range, a valid value will be less than or equal to the value specified here. If the inclusive and exclusive data type is not specified (e.g., this facet is used with an integer data type), the value is assumed to be inclusive. 415 +|Decimals|The decimals facet indicates the number of characters allowed after the decimal separator. 416 +|pattern|The pattern attribute holds any regular expression permitted in the implementation syntax (e.g., W3C XML Schema). 417 + 418 + 419 + 363 363 ---- 364 364 365 - {{putFootnotes/}}422 +[[~[1~]>>path:#_ftnref1]] In the JSON schemas, more complex data types are complemented with regular expressions, whenever no direct mapping to a standard type exists.
- image36.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.arturkryazhev - Size
-
... ... @@ -1,1 +1,0 @@ 1 -50.2 KB - Content
- SKMS.Methodology.Code.MethodologyClass[0]
-
- Index
-
... ... @@ -1,1 +1,0 @@ 1 -4
- SUZ.Methodology.Code.MethodologyClass[0]
-
- index
-
... ... @@ -1,0 +1,1 @@ 1 +4