Changes for page 3 SDMX Base Package

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

From version 1.1
edited by Helena
on 2025/05/19 23:53
Change comment: Changed document syntax from [XWiki 2.1] to [xwiki/2.1].
To version 6.3
edited by Helena
on 2025/05/20 00:23
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,0 +1,1 @@
1 +3 SDMX Base Package
Content
... ... @@ -1,0 +1,445 @@
1 +{{box title="**Contents**"}}
2 +{{toc/}}
3 +{{/box}}
4 +
5 +== {{id name="_Toc370968"/}}3.1 Introduction ==
6 +
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 +
9 +The motivation for establishing the SDMX Base package is as follows:
10 +
11 +* it is accepted “Best Practise” to identify fundamental archetypes occurring in a model
12 +* identification of commonly found structures or “patterns” leads to easier understanding
13 +* identification of patterns encourages re-use
14 +
15 +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.
16 +
17 +== {{id name="_Toc370969"/}}3.2 Base Structures - Identification, Versioning, and Maintenance ==
18 +
19 +=== {{id name="_Toc370970"/}}3.2.1 Class Diagram ===
20 +
21 +**Figure 9: SDMX Identification, Maintenance and Versioning**
22 +
23 +=== {{id name="_Toc370971"/}}3.2.2 Explanation of the Diagram ===
24 +
25 +==== 3.2.2.1 Narrative ====
26 +
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.
28 +
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).
30 +
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.
32 +
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.
34 +
35 +//VersionableArtefact// is an abstract class which inherits from //NameableArtefact// and adds versioning ability to all classes derived from it.
36 +
37 +//MaintainableArtefact// further adds the ability for derived classes to be maintained via its association to //Agency, //and adds locational information (i.e. from where the object can be retrieved). It is possible to define whether the artefact is draft or final with the final attribute.
38 +
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.
40 +
41 +==== 3.2.2.2 Definitions ====
42 +
43 +(% style="width:902.294px" %)
44 +|**Class**|(% style="width:246px" %)**Feature**|(% style="width:480px" %)**Description**
45 +|//AnnotableArtefact//|(% style="width:246px" %)(((
46 +Base inheritance sub classes are:
47 +//IdentifiableArtefact//
48 +)))|(% style="width:480px" %)Objects of classes derived from this can have attached annotations.
49 +|Annotation|(% style="width:246px" %) |(% style="width:480px" %)Additional descriptive information attached to an object.
50 +| |(% style="width:246px" %)id|(% style="width:480px" %)(((
51 +Identifier for the Annotation.
52 +It can be used to disambiguate one Annotation from another where there are several Annotations for the same annotated object.
53 +)))
54 +| |(% style="width:246px" %)title|(% style="width:480px" %)A title used to identify an annotation.
55 +| |(% style="width:246px" %)type|(% style="width:480px" %)Specifies how the annotation is to be processed.
56 +| |(% style="width:246px" %)url|(% style="width:480px" %)A link to external descriptive text.
57 +| |(% style="width:246px" %)+text|(% style="width:480px" %)An International String provides the multilingual text content of the annotation via this role.
58 +|//IdentifiableArtefact//|(% style="width:246px" %)(((
59 +Superclass is
60 +//AnnotableArtefact//
61 +Base inheritance sub classes are:
62 +//NameableArtefact//
63 +)))|(% style="width:480px" %)Provides identity to all derived classes. It also provides annotations to derived classes because it is a subclass of Annotable Artefact.
64 +| |(% style="width:246px" %)id|(% style="width:480px" %)The unique identifier of the object.
65 +| |(% style="width:246px" %)uri|(% style="width:480px" %)Universal resource identifier that may or may not be resolvable.
66 +| |(% style="width:246px" %)urn|(% style="width:480px" %)Universal resource name – this is for use in registries: all registered objects have a urn.
67 +|//NameableArtefact//|(% style="width:246px" %)(((
68 +Superclass is
69 +//IdentifiableArtefact// Base inheritance sub classes are:
70 +//VersionableArtefact//
71 +)))|(% style="width:480px" %)Provides a Name and Description to all derived classes in addition to identification and annotations.
72 +| |(% style="width:246px" %)+description|(% style="width:480px" %)A multi-lingual description is provided by this role via the International String class.
73 +| |(% style="width:246px" %)+name|(% style="width:480px" %)A multi-lingual name is provided by this role via the International String class
74 +|InternationalString|(% style="width:246px" %) |(% style="width:480px" %)The International String is a collection of Localised Strings and supports the representation of text in multiple locales.
75 +|LocalisedString|(% style="width:246px" %) |(% style="width:480px" %)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.).
76 +| |(% style="width:246px" %)label|(% style="width:480px" %)Label of the string.
77 +| |(% style="width:246px" %)locale|(% style="width:480px" %)The geographic locale of the string e.g French, Canadian French.
78 +|//VersionableArtefact//|(% style="width:246px" %)(((
79 +Superclass is
80 +//NameableArtefact// Base inheritance sub classes are:
81 +//MaintainableArtefact//
82 +)))|(% style="width:480px" %)Provides versioning information for all derived objects.
83 +| |(% style="width:246px" %)version|(% style="width:480px" %)A version string following an agreed convention
84 +| |(% style="width:246px" %)validFrom|(% style="width:480px" %)Date from which the version is valid
85 +| |(% style="width:246px" %)validTo|(% style="width:480px" %)Date from which version is superceded
86 +|//MaintainableArtefact//|(% style="width:246px" %)(((
87 +Inherits from
88 +
89 +//VersionableArtefact//
90 +)))|(% style="width:480px" %)An abstract class to group together primary structural metadata artefacts that are maintained by an Agency.
91 +| |(% style="width:246px" %)final|(% style="width:480px" %)Defines whether a maintained artefact is draft or final.
92 +| |(% style="width:246px" %)isExternalReference|(% style="width:480px" %)If set to “true” it indicates that the content of the object is held externally.
93 +| |(% style="width:246px" %)structureURL|(% style="width:480px" %)The URL of an SDMX-ML document containing the external object.
94 +| |(% style="width:246px" %)serviceURL|(% style="width:480px" %)The URL of an SDMX-compliant web service from which the external object can be retrieved.
95 +| |(% style="width:246px" %)+maintainer|(% style="width:480px" %)Association to the Maintenance Agency responsible for maintaining the artefact.
96 +|Agency|(% style="width:246px" %) |(% style="width:480px" %)See section on “Organisations”
97 +
98 +== {{id name="_Toc370972"/}}3.3 Basic Inheritance ==
99 +
100 +=== {{id name="_Toc370973"/}}3.3.1 Class Diagram– Basic Inheritance from the Base Inheritance Classes ===
101 +
102 +[[image:SDMX_2-1_SECTION_2_InformationModel_2020-07_84176ba5.png||height="709" width="514"]]
103 +
104 +**Figure 10: Basic Inheritance from the Base Structures**
105 +
106 +=== {{id name="_Toc370974"/}}3.3.2 Explanation of the Diagram ===
107 +
108 +==== 3.3.2.1 Narrative ====
109 +
110 +The diagram above shows the inheritance within the base structures. The concrete classes 642 are introduced and defined in the specific package to which they relate.
111 +
112 +== {{id name="_Toc370975"/}}3.4 Data Types ==
113 +
114 +=== {{id name="_Toc370976"/}}3.4.1 Class Diagram ===
115 +
116 +**Figure 11: Class Diagram of Basic Data Types**
117 +
118 +=== {{id name="_Toc370977"/}}3.4.2 Explanation of the Diagram ===
119 +
120 +==== 3.4.2.1 Narrative ====
121 +
122 +The UsageStatus enumeration is used as a data type on a DataAttribute where the value of the attribute in an instance of the class must take one of the values in the UsageStatus (i.e. mandatory, conditional).
123 +
124 +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 section on //ConceptScheme// (section 4.4).
125 +
126 +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:
127 +
128 +* Append
129 +
130 +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
131 +
132 +* Replace
133 +
134 +Data/metadata is to be replaced, and may also include additional data/metadata to be appended.
135 +
136 +* Delete
137 +
138 +Data/Metadata is to be deleted.
139 +
140 +* Information
141 +
142 +Data and metadata are for information purposes.
143 +
144 +The IdentifiableObjectType enumeration is used to specify an object type whose class is a sub class of IdentifiableArtefact either directly of via NameableArtefact, VersionableArtefact or MaintainableArtefact.
145 +
146 +The ToValueType,, ,,data type contains the attributes to support transformations defined in the StructureMap (see Section 9).
147 +
148 +The ConstraintRoleType,, ,,data type contains the attributes that identify the purpose of a Constraint (allowableContent, actualContent).
149 +
150 +== {{id name="_Toc370978"/}}3.5 The Item Scheme Pattern ==
151 +
152 +=== {{id name="_Toc370979"/}}3.5.1 Context ===
153 +
154 +The Item Scheme is a basic architectural pattern that allows the creation of list schemes for use in simple taxonomies, for example.
155 +
156 +The ItemScheme is the basis for CategoryScheme, Codelist, ConceptScheme, ReportingTaxonomy, and //OrganisationScheme//.
157 +
158 +=== {{id name="_Toc370980"/}}3.5.2 Class Diagram ===
159 +
160 +[[image:SDMX_2-1_SECTION_2_InformationModel_2020-07_a2879920.jpg||height="602" width="614"]]
161 +
162 +====== Figure 12 The Item Scheme Pattern ======
163 +
164 +===== {{id name="_Toc370981"/}}3.5.3 Explanation of the Diagram =====
165 +
166 +**3.5.3.1 Narrative**
167 +
168 +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 inherits 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 CategoryScheme. The associated Category are //Items//.
169 +
170 +In an exchange environment an ItemScheme is allowed to contain a sub-set of the Items in the maintained //ItemScheme//. If such an //ItemScheme// is disseminated with a sub-set of the Items then the fact that this is a sub-set is denoted by setting the isPartial attribute to
171 +
172 +“true”.
173 +
174 +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//.
175 +
176 +Furthermore, the Id of the //ItemScheme// where isPartial is set to “true” is the same as the Id of the full //ItemScheme// (maintenance agency, 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//.
177 +
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.
179 +
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
181 +
182 +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 agency as the //ItemScheme//).
183 +
184 +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//.
185 +
186 +==== 3.5.3.2 Definitions ====
187 +
188 +|**Class**|**Feature**|**Description**
189 +|//ItemScheme//|(((
190 +Inherits from:
191 +
192 +//MaintainableArtefact//
193 +
194 +Direct sub classes are:
195 +
196 +CategoryScheme
197 +
198 +ConceptScheme
199 +
200 +Codelist
201 +)))|The descriptive information for an arrangement or division of objects into groups based on characteristics, which the objects have in common.
202 +| |(((
203 +ReportingTaxonomy
204 +
205 +//OrganisationScheme//
206 +
207 +Transformation Scheme
208 +
209 +CustomTypeScheme
210 +
211 +NamePersonasationScheme
212 +
213 +RuletScheme
214 +
215 +VtlMappingScheme
216 +
217 +UserDefinedOperatorScheme
218 +)))|
219 +| |isPartial|Denotes whether the Item Scheme contains a sub set of the full set of Items in the maintained scheme.
220 +| |items|Association to the Items in the scheme.
221 +|//Item//|(((
222 +Inherits from:
223 +
224 +//NameableArtefact//
225 +
226 +Direct sub classes are
227 +
228 +Category
229 +
230 +Concept
231 +
232 +Code
233 +
234 +ReportingCategory
235 +
236 +//Organisation//
237 +
238 +Transformation
239 +
240 +CustomType
241 +
242 +NamePersonlisation
243 +
244 +Ruleset
245 +
246 +VtlMapping
247 +
248 +UserDefinedOperator//    //
249 +)))|(((
250 +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.
251 +
252 +Note that at the conceptual level the Organisation is not hierarchic
253 +)))
254 +| |hierarchy|This allows an Item optionally to have one or more child Items.
255 +
256 +== {{id name="_Toc370982"/}}3.6 The Structure Pattern ==
257 +
258 +=== {{id name="_Toc370983"/}}3.6.1 Context ===
259 +
260 +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.
261 +
262 +=== {{id name="_Toc370984"/}}3.6.2 Class Diagrams ===
263 +
264 +[[image:SDMX_2-1_SECTION_2_InformationModel_2020-07_1645dbd1.png||height="441" width="578"]]
265 +
266 +**Figure 13: The Structure Pattern**
267 +
268 +[[image:SDMX_2-1_SECTION_2_InformationModel_2020-07_b6478a73.png||height="774" width="556"]]
269 +
270 +====== Figure 14: Representation within the Structure Pattern ======
271 +
272 +=== {{id name="_Toc370985"/}}3.6.3 Explanation of the Diagrams ===
273 +
274 +==== 3.6.3.1 Narrative ====
275 +
276 +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.
277 +
278 +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 MetadataTarget, and ReportStructure of the MetaDataStructureDefinition.
279 +
280 +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:
281 +
282 +__DimensionDescripto__r: Dimension, Measure Dimension, Time Dimension
283 +
284 +__GroupDimensionDescriptor__: Dimension, Measure Dimension, Time Dimension
285 +
286 +MeasureDescriptor: PrimaryMeasure
287 +
288 +__AttributeDescriptor:__ Data Attribute
289 +
290 +__MetadataTarget__: //TargetObject //and its sub classes
291 +
292 +__ReportStructure__: MetadataAttribute
293 +
294 +Each Component takes its semantic (and possibly also its representation) from a Concept in 773 a ConceptScheme. This is represented by the conceptIdentity association to Concept.
295 +
296 +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.
297 +
298 +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 ConceptScheme, Codelist, //OrganisationScheme//, CategoryScheme, and ReportingTaxonomy. The valid content of a non-enumerated representation is specified as one or more Facet (for example these may specify minimum and maximum values). For a MetadataAttribute this is achieved by one of more Extended Facet which allows the additional representation of XHTML.
299 +
300 +The types of representation that are valid for specific components is expressed in the model as a constraint on the association viz:
301 +
302 +* The MeasureDimension must be enumerated and use a ConceptScheme The Dimension (but not MeasureDimension), DataAttribute, PrimaryMeasure, MetadataAttribute may be enumerated and, if so, use a Codelist
303 +* The //TargetObject// may be enumerated and, if so, can use any ItemScheme (Codelist, ConceptScheme, //OrganisationScheme//, CategoryScheme, ReportingTaxonomy)
304 +* The Dimension (but ot MeasureDimension), Data Attribute, PrimaryMeasure, //TargetObject// may be non-enumerated and, if so, use one of more Facet, note that the FacetValueType applicable to the TimeDimension is restricted to those that represent time
305 +* The MetadataAttribute may be non-enumerated and, if so, uses one or more ExtendedFacet
306 +
307 +The //Structure// may be used by one or more //StructureUsage//. An example of this in terms of concrete classes is that a DataflowDefinition (sub class of //StructureUsage//) may use a particular DataStructureDefinition (sub class of //Structure//), and similar constructs apply for the MetadataflowDefinition (link to MetadataStructureDefinition).
308 +
309 +**3.6.3.2 Definitions**
310 +
311 +|**Class**|**Feature**|**Description**
312 +|//StructureUsage//|(((
313 +Inherits from:
314 +
315 +//MaintainableArtefact//
316 +
317 +Sub classes are:
318 +
319 +DataflowDefinition
320 +
321 +MetadataflowDefinition//    //
322 +)))|An artefact whose components are described by a Structure. In concrete terms (sub-classes) an example would be a Dataflow Definition which is linked to a given structure – in this case the Data Structure Definition.
323 +| |structure|An association to a Structure specifying the structure of the artefact.
324 +|//Structure//|(((
325 +Inherits from:
326 +
327 +//MaintainableArtefact//
328 +
329 +Sub classes are:
330 +
331 +DataStructure
332 +
333 +Definition
334 +
335 +MetadataStructure
336 +
337 +Definition
338 +)))|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.
339 +| |grouping|A composite association to one or more component lists.
340 +|//ComponentList//|(((
341 +Inherits from:
342 +
343 +//IdentifiableArtefact//
344 +
345 +Sub classes are:
346 +
347 +DimensionDescriptor
348 +
349 +GroupDimension
350 +
351 +Descriptor
352 +
353 +MeasureDescriptor
354 +
355 +AttributeDescriptor
356 +
357 +MetadataTarget
358 +
359 +ReportStructure
360 +)))|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.
361 +| |components|An aggregate association to one or more components which make up the list.
362 +|//Component//|(((
363 +Inherits from:
364 +
365 +//IdentifiableArtefact//
366 +
367 +Sub classes are:
368 +
369 +PrimaryMeasure
370 +
371 +DataAttribute
372 +
373 +//DimensionComponent//
374 +
375 +//TargetObject//
376 +
377 +MetadataAttribute
378 +)))|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.
379 +| |conceptIdentity|Association to a Concept in a Concept Scheme that identifies and defines the semantic of the Component
380 +| |localRepresentation|Association to the Representation of the Component if this is different from the coreRepresentation of the Concept which the Component uses (ConceptUsage)
381 +|Representation| |The allowable value or format for Component or Concept
382 +| |+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 (e.g. Identifier Component can have any of the sub classes of Item Scheme, whereas Measure Dimension must have a Concept Scheme).
383 +| |+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.
384 +|Facet| |Defines the format for the content of the Component when reported in a data or metadata set.
385 +| |facetType|A specific content type which is constrained by the FacetType enumeration
386 +| |facetValueType|(((
387 +The format of the value of a Component when reported in a data or metadata set.
388 +
389 +This is contrained by the FacetValueType enumeration.
390 +)))
391 +| |+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.
392 +|ExtendedFacet| |This has the same function as Facet but allows additionally an XHTML representation. This is constrained for use with a Metadata Attribute
393 +
394 +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)
395 +
396 +==== 3.6.3.3 Representation Constructs ====
397 +
398 +The majority of SDMX FacetValueTypes are compatible with those found in XML Schema, 818 and have equivalents in most current implementation platforms:
399 +
400 +:
401 +
402 +(((
403 +|**SDMX Facet Value Type**|**XML Schema Data Type     **|**.NET Framework Type**|**Java Data Type**
404 +|String|xsd:string|System.String|java.lang.String
405 +|Big Integer|xsd:integer|System.Decimal|java.math.BigInteger
406 +|Integer|xsd:int|System.Int32|int
407 +|Long|xsd.long|System.Int64|long
408 +|Short|xsd:short|System.Int16|short
409 +|Decimal|xsd:decimal|System.Decimal|java.math.BigDecimal
410 +|Float|xsd:float|System.Single|float
411 +|Double|xsd:double|System.Double|double
412 +|Boolean|xsd:boolean|System.Boolean|boolean
413 +|URI|xsd:anyURI|System.Uri|Java.net.URI or java.lang.String
414 +|DateTime|xsd:dateTime|System.DateTime|javax.xml.datatype.XMLG regorianCalendar
415 +|Time|xsd:time|System.DateTime|javax.xml.datatype.XMLG regorianCalendar
416 +|GregorianYear|xsd:gYear|System.DateTime|javax.xml.datatype.XMLG regorianCalendar
417 +|GregorianMonth|xsd:gYearMonth|System.DateTime|javax.xml.datatype.XMLG regorianCalendar
418 +|GregorianDay|xsd:date|System.DateTime|javax.xml.datatype.XMLG regorianCalendar
419 +|Day, MonthDay, Month|xsd:g*|System.DateTime|javax.xml.datatype.XMLG regorianCalendar
420 +|Duration|xsd:duration|System.TimeSpan|javax.xml.datatype.Dura tion
421 +)))
422 +
423 +There are also a number of SDMX data types which do not have these direct 822 correspondences, often because they are composite representations or restrictions of a 823 broader data type. These are detailed in Section 6 of the standards.
424 +
425 +The ,,Representation,, is composed of ,,Facet,,s, each of which conveys characteristic 826 information related to the definition of a value domain. Often a set of Facets are needed to 827 convey the required semantic. For example, a sequence is defined by a minimum of two 828 Facets: one to define the start value, and one to define the interval.
426 +
427 +:
428 +
429 +(((
430 +|**Facet Type**|**Explanation**|
431 +|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 supplied. If an end value is not given, then the sequence continues indefinitely.|
432 +|interval|The interval attribute specifies the permitted interval (increment) in a|
433 +| |(% colspan="2" %)sequence. In order for this to be used, the isSequence attribute must have a value of true.
434 +|startValue|(% colspan="2" %)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 is used for a numeric sequence, and indicates the starting point of the sequence. This value is mandatory for a numeric sequence to be expressed.
435 +|endValue|(% colspan="2" %)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.
436 +|timeInterval|(% colspan="2" %)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.
437 +|startTime|(% colspan="2" %)The startTime facet is used in conjunction with the isSequence and timeInterval facets (which must be set in order to use this facet). This attribute is used for a time sequence, and indicates the start time of the sequence. This value is mandatory for a time sequence to be expressed.
438 +|endTime|(% colspan="2" %)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) of the sequence.
439 +|minLength|(% colspan="2" %)The minLength facet specifies the minimum and length of the value in characters.
440 +|maxLength|(% colspan="2" %)The maxLength facet specifies the maximum length of the value in characters.
441 +|minValue|(% colspan="2" %)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.
442 +|maxValue|(% colspan="2" %)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.
443 +|decimals|(% colspan="2" %)The decimals facet indicates the number of characters allowed after the decimal separator.
444 +|pattern|(% colspan="2" %)The pattern attribute holds any regular expression permitted in the implementation syntax (e.g. W3C XML Schema).
445 +)))
SDMX_2-1_SECTION_2_InformationModel_2020-07_1645dbd1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.helena
Size
... ... @@ -1,0 +1,1 @@
1 +129.5 KB
Content
SDMX_2-1_SECTION_2_InformationModel_2020-07_84176ba5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.helena
Size
... ... @@ -1,0 +1,1 @@
1 +158.3 KB
Content
SDMX_2-1_SECTION_2_InformationModel_2020-07_a2879920.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.helena
Size
... ... @@ -1,0 +1,1 @@
1 +207.8 KB
Content
SDMX_2-1_SECTION_2_InformationModel_2020-07_b6478a73.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.helena
Size
... ... @@ -1,0 +1,1 @@
1 +328.1 KB
Content