Changes for page 3 SDMX Base Package

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

From version 10.1
edited by Helena
on 2025/05/15 09:59
Change comment: There is no comment for this version
To version 11.2
edited by Helena
on 2025/05/16 13:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,6 @@
1 -= 3 SDMX Base Package =
1 +{{box title="**Contents**"}}
2 +{{toc/}}
3 +{{/box}}
2 2  
3 3  == 3.1 Introduction ==
4 4  
... ... @@ -7,9 +7,7 @@
7 7  The motivation for establishing the SDMX Base package is as follows:
8 8  
9 9  it is accepted “Best Practise” to identify fundamental archetypes occurring in a model
10 -
11 11  identification of commonly found structures or “patterns” leads to easier understanding
12 -
13 13  identification of patterns encourages re-use
14 14  
15 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.
... ... @@ -28,10 +28,8 @@
28 28  
29 29  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 (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
31 +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 -InternationalString).
34 -
35 35  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.
36 36  
37 37  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.
... ... @@ -44,52 +44,53 @@
44 44  
45 45  ==== 3.2.2.2 Definitions ====
46 46  
47 -|**Class**|**Feature**|**Description**
48 -|//AnnotableArtefact//|(((
45 +(% style="width:914.039px" %)
46 +|**Class**|(% style="width:244px" %)**Feature**|(% style="width:514px" %)**Description**
47 +|//AnnotableArtefact//|(% style="width:244px" %)(((
49 49  Base inheritance sub classes are:
50 50  
51 51  //IdentifiableArtefact//
52 -)))|Objects of classes derived from this can have attached annotations.
53 -|Annotation||Additional descriptive information attached to an object.
54 -||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.
55 -||title//    //|A title used to identify an annotation.
56 -||type|Specifies how the annotation is to be processed.
57 -||url|A link to external descriptive text.
58 -||value|A non-localised version of the Annotation content.
59 -||+url|An International URI provides a set of links that are language specific, via this role.
60 -||+text|An International String provides the multilingual text content of the annotation via this role.
61 -|InternationalUri||The International Uri is a collection of Localised URIs and supports linking to external descriptions in multiple locales.
62 -|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.).
63 -|//IdentifiableArtefact//|(((
51 +)))|(% style="width:514px" %)Objects of classes derived from this can have attached annotations.
52 +|Annotation|(% style="width:244px" %) |(% style="width:514px" %)Additional descriptive information attached to an object.
53 +| |(% style="width:244px" %)id|(% style="width:514px" %)Identifier for the Annotation. It can be used to disambiguate one Annotation from another where there are several Annotations for the same annotated object.
54 +| |(% style="width:244px" %)title|(% style="width:514px" %)A title used to identify an annotation.
55 +| |(% style="width:244px" %)type|(% style="width:514px" %)Specifies how the annotation is to be processed.
56 +| |(% style="width:244px" %)url|(% style="width:514px" %)A link to external descriptive text.
57 +| |(% style="width:244px" %)value|(% style="width:514px" %)A non-localised version of the Annotation content.
58 +| |(% style="width:244px" %)+url|(% style="width:514px" %)An International URI provides a set of links that are language specific, via this role.
59 +| |(% style="width:244px" %)+text|(% style="width:514px" %)An International String provides the multilingual text content of the annotation via this role.
60 +|InternationalUri|(% style="width:244px" %) |(% style="width:514px" %)The International Uri is a collection of Localised URIs and supports linking to external descriptions in multiple locales.
61 +|LocalisedUri|(% style="width:244px" %) |(% style="width:514px" %)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.).
62 +|//IdentifiableArtefact//|(% style="width:244px" %)(((
64 64  Superclass is
65 65  
66 66  //AnnotableArtefact//
67 67  
68 -Base inheritance sub classes are~://    //
67 +Base inheritance sub classes are:
69 69  
70 70  //NameableArtefact//
71 -)))|Provides identity to all derived classes. It also provides annotations to derived classes because it is a subclass of Annotable Artefact.
72 -||id|The unique identifier of the object.
73 -||uri|Universal resource identifier that may or may not be resolvable.
74 -||urn|Universal resource name – this is for use in registries: all registered objects have a urn.
75 -|//NameableArtefact//|(((
70 +)))|(% style="width:514px" %)Provides identity to all derived classes. It also provides annotations to derived classes because it is a subclass of Annotable Artefact.
71 +| |(% style="width:244px" %)id|(% style="width:514px" %)The unique identifier of the object.
72 +| |(% style="width:244px" %)uri|(% style="width:514px" %)Universal resource identifier that may or may not be resolvable.
73 +| |(% style="width:244px" %)urn|(% style="width:514px" %)Universal resource name – this is for use in registries: all registered objects have a urn.
74 +|//NameableArtefact//|(% style="width:244px" %)(((
76 76  Superclass is
77 77  
78 78  //IdentifiableArtefact// Base inheritance sub classes are:
79 79  
80 80  //VersionableArtefact//
81 -)))|Provides a Name and Description to all derived classes in addition to identification and annotations.
82 -||+description|(((
80 +)))|(% style="width:514px" %)Provides a Name and Description to all derived classes in addition to identification and annotations.
81 +| |(% style="width:244px" %)+description|(% style="width:514px" %)(((
83 83  A multi-lingual description is provided by this role via the
84 84  
85 85  International String class.
86 86  )))
87 -||+name|A multi-lingual name is provided by this role via the International String class
88 -|InternationalString||The International String is a collection of Localised Strings and supports the representation of text in multiple locales.
89 -|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.).
90 -||label|Label of the string.
91 -||locale|The geographic locale of the string e.g French, Canadian French.
92 -|//VersionableArtefact//|(((
86 +| |(% style="width:244px" %)+name|(% style="width:514px" %)A multi-lingual name is provided by this role via the International String class
87 +|InternationalString|(% style="width:244px" %) |(% style="width:514px" %)The International String is a collection of Localised Strings and supports the representation of text in multiple locales.
88 +|LocalisedString|(% style="width:244px" %) |(% style="width:514px" %)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.).
89 +| |(% style="width:244px" %)label|(% style="width:514px" %)Label of the string.
90 +| |(% style="width:244px" %)locale|(% style="width:514px" %)The geographic locale of the string e.g French, Canadian French.
91 +|//VersionableArtefact//|(% style="width:244px" %)(((
93 93  Superclass is
94 94  
95 95  //NameableArtefact//
... ... @@ -97,20 +97,20 @@
97 97  Base inheritance sub classes are:
98 98  
99 99  //MaintainableArtefact//
100 -)))|Provides versioning information for all derived objects.
101 -||version|A version string following SDMX versioning rules.
102 -||validFrom|Date from which the version is valid
103 -||validTo|Date from which version is superseded
104 -|//MaintainableArtefact//|(((
99 +)))|(% style="width:514px" %)Provides versioning information for all derived objects.
100 +| |(% style="width:244px" %)version|(% style="width:514px" %)A version string following SDMX versioning rules.
101 +| |(% style="width:244px" %)validFrom|(% style="width:514px" %)Date from which the version is valid
102 +| |(% style="width:244px" %)validTo|(% style="width:514px" %)Date from which version is superseded
103 +|//MaintainableArtefact//|(% style="width:244px" %)(((
105 105  Inherits from
106 106  
107 107  //VersionableArtefact//
108 -)))|An abstract class to group together primary structural metadata artefacts that are maintained by an Agency.
109 -||isExternalReference|If set to “true” it indicates that the content of the object is held externally.
110 -||structureURL|The URL of an SDMX-ML document containing the external object.
111 -||serviceURL|The URL of an SDMX-compliant web service from which the external object can be retrieved.
112 -||+maintainer//    //|Association to the Maintenance Agency responsible for maintaining the artefact.
113 -|Agency||See section on “Organisations”
107 +)))|(% style="width:514px" %)An abstract class to group together primary structural metadata artefacts that are maintained by an Agency.
108 +| |(% style="width:244px" %)isExternalReference|(% style="width:514px" %)If set to “true” it indicates that the content of the object is held externally.
109 +| |(% style="width:244px" %)structureURL|(% style="width:514px" %)The URL of an SDMX-ML document containing the external object.
110 +| |(% style="width:244px" %)serviceURL|(% style="width:514px" %)The URL of an SDMX-compliant web service from which the external object can be retrieved.
111 +| |(% style="width:244px" %)+maintainer|(% style="width:514px" %)Association to the Maintenance Agency responsible for maintaining the artefact.
112 +|Agency|(% style="width:244px" %) |(% style="width:514px" %)See section on “Organisations”
114 114  
115 115  == 3.3 Basic Inheritance ==
116 116  
... ... @@ -179,7 +179,7 @@
179 179  
180 180  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".
181 181  
182 -A[[image:SDMX 3-0-0 SECTION 2 FINAL-1.0 (1)_en_99fcc5a.gif||alt="Shape28" height="36" width="31"]] “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//.
181 +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//.
183 183  
184 184  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.
185 185  
... ... @@ -189,65 +189,44 @@
189 189  
190 190  ==== 3.5.3.2 Definitions ====
191 191  
192 -|**Class**|**Feature**|**Description**
193 -|//ItemScheme//|(((
191 +(% style="width:800.039px" %)
192 +|**Class**|(% style="width:272px" %)**Feature**|(% style="width:422px" %)**Description**
193 +|//ItemScheme//|(% style="width:272px" %)(((
194 194  Inherits from:
195 -
196 196  //MaintainableArtefact//
197 -
198 198  Direct sub classes are:
199 -
200 200  CategoryScheme
201 -
202 202  ConceptScheme
203 -
204 204  Codelist
205 -
206 206  ReportingTaxonomy
207 -
208 208  //OrganisationScheme//
209 -
210 210  TransformationScheme
211 -
212 -CustomTypeScheme NamePersonalisationSc heme
213 -
203 +CustomTypeScheme
204 +NamePersonalisationSc heme
214 214  RulesetScheme
215 -
216 216  VtlMappingScheme UserDefinedOperatorSc heme
217 -)))|The descriptive information for an arrangement or division of objects into groups based on characteristics, which the objects have in common.
218 -||isPartial|Denotes whether the Item Scheme contains a subset of the full set of Items in the maintained scheme.
219 -||/items|Association to the Items in the scheme.
220 -|//Item//|(((
207 +)))|(% style="width:422px" %)The descriptive information for an arrangement or division of objects into groups based on characteristics, which the objects have in common.
208 +| |(% style="width:272px" %)isPartial|(% style="width:422px" %)Denotes whether the Item Scheme contains a subset of the full set of Items in the maintained scheme.
209 +| |(% style="width:272px" %)/items|(% style="width:422px" %)Association to the Items in the scheme.
210 +|//Item//|(% style="width:272px" %)(((
221 221  Inherits from:
222 222  
223 223  //NameableArtefact//
224 -
225 225  Direct sub classes are
226 -
227 227  Category
228 -
229 229  Concept
230 -
231 231  Code
232 -
233 233  ReportingCategory
234 -
235 235  //Organisation//
236 -
237 237  Transformation
238 -
239 239  CustomType
240 -
241 241  NamePersonalisation
242 -
243 243  Ruleset
244 -
245 245  VtlMapping
225 +UserDefinedOperator
226 +)))|(% style="width:422px" %)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.
227 +| |(% style="width:272px" %)hierarchy|(% style="width:422px" %)This allows an Item optionally to have one or more child Items.
246 246  
247 -UserDefinedOperator//    //
248 -)))|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.
249 -||hierarchy|This allows an Item optionally to have one or more child Items.
250 -
251 251  == 3.6 The Structure Pattern ==
252 252  
253 253  === 3.6.1 Context ===
... ... @@ -275,13 +275,9 @@
275 275  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:
276 276  
277 277  DimensionDescriptor: Dimension, TimeDimension
278 -
279 279  GroupDimensionDescriptor: Dimension, TimeDimension
280 -
281 281  MeasureDescriptor: Measure
282 -
283 283  AttributeDescriptor: DataAttribute, MetadataAttributeRef
284 -
285 285  MetadataAttributeDescriptor: MetadataAttribute
286 286  
287 287  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.
... ... @@ -300,8 +300,9 @@
300 300  
301 301  ==== 3.6.3.2 Definitions ====
302 302  
303 -|**Class**|**Feature**|**Description**
304 -|StructureUsage|(((
277 +(% style="width:756.039px" %)
278 +|**Class**|(% style="width:284px" %)**Feature**|(% style="width:353px" %)**Description**
279 +|StructureUsage|(% style="width:284px" %)(((
305 305  Inherits from:
306 306  
307 307  //MaintainableArtefact//
... ... @@ -311,9 +311,9 @@
311 311  Dataflow
312 312  
313 313  Metadataflow
314 -)))|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.
315 -||structure|An association to a Structure specifying the structure of the artefact.
316 -|Structure|(((
289 +)))|(% style="width:353px" %)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.
290 +| |(% style="width:284px" %)structure|(% style="width:353px" %)An association to a Structure specifying the structure of the artefact.
291 +|Structure|(% style="width:284px" %)(((
317 317  Inherits from:
318 318  
319 319  //MaintainableArtefact//
... ... @@ -321,9 +321,9 @@
321 321  Sub classes are:
322 322  
323 323  DataStructureDefinition MetadataStructureDefinit ion
324 -)))|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.
325 -||grouping|A composite association to one or more component lists.
326 -|//ComponentList//|(((
299 +)))|(% style="width:353px" %)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.
300 +| |(% style="width:284px" %)grouping|(% style="width:353px" %)A composite association to one or more component lists.
301 +|//ComponentList//|(% style="width:284px" %)(((
327 327  Inherits from:
328 328  
329 329  //IdentifiableArtefact//
... ... @@ -337,9 +337,9 @@
337 337  MeasureDescriptor
338 338  
339 339  AttributeDescriptor MetadataAttributeDescriptor
340 -)))|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.
341 -||components|An aggregate association to one or more components which make up the list.
342 -|//Component//|(((
315 +)))|(% style="width:353px" %)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.
316 +| |(% style="width:284px" %)components|(% style="width:353px" %)An aggregate association to one or more components which make up the list.
317 +|//Component//|(% style="width:284px" %)(((
343 343  Inherits from:
344 344  
345 345  //IdentifiableArtefact//
... ... @@ -351,21 +351,21 @@
351 351  //AttributeComponent//
352 352  
353 353  //DimensionComponent//
354 -)))|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.
355 -||conceptIdentity|(((
329 +)))|(% style="width:353px" %)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.
330 +| |(% style="width:284px" %)conceptIdentity|(% style="width:353px" %)(((
356 356  Association to a Concept in a Concept Scheme that identifies and defines the
357 357  
358 358  semantic of the Component.
359 359  )))
360 -||localRepresentation|Association to the Representation of the Component if this is different from the coreRepresentation of the Concept, which the Component uses (ConceptUsage).
361 -|Representation||The allowable value or format for Component or Concept
362 -||+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.
363 -||+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.
364 -|Facet||Defines the format for the content of the Component when reported in a data or metadata set.
365 -||facetType|A specific content type, which is constrained by the Facet Type enumeration.
366 -||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.
367 -|||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.
368 -|ExtendedFacet|+itemSchemeFacet|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.
335 +| |(% style="width:284px" %)localRepresentation|(% style="width:353px" %)Association to the Representation of the Component if this is different from the coreRepresentation of the Concept, which the Component uses (ConceptUsage).
336 +|Representation|(% style="width:284px" %) |(% style="width:353px" %)The allowable value or format for Component or Concept
337 +| |(% style="width:284px" %)+enumerated|(% style="width:353px" %)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.
338 +| |(% style="width:284px" %)+nonEnumerated|(% style="width:353px" %)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.
339 +|Facet|(% style="width:284px" %) |(% style="width:353px" %)Defines the format for the content of the Component when reported in a data or metadata set.
340 +| |(% style="width:284px" %)facetType|(% style="width:353px" %)A specific content type, which is constrained by the Facet Type enumeration.
341 +| |(% style="width:284px" %)facetValueType|(% style="width:353px" %)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.
342 +| |(% style="width:284px" %) |(% style="width:353px" %)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.
343 +|ExtendedFacet|(% style="width:284px" %)+itemSchemeFacet|(% style="width:353px" %)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.
369 369  
370 370  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.
371 371  
... ... @@ -373,51 +373,53 @@
373 373  
374 374  The majority of SDMX FacetValueTypes are compatible with those found in XML Schema, and have equivalents in most current implementation platforms:
375 375  
376 -|**SDMX Facet Value Type**|**XML Schema Data Type**|**JSON Schema Data Type**|**.NET Framework Type**|**Java Data Type**
377 -|String|xsd:string|string|System.String|java.lang.String
378 -|Big Integer|xsd:integer|integer|System.Decimal|java.math.BigInteger
379 -|Integer|xsd:int|integer|System.Int32|int
380 -|Long|xsd.long|integer|System.Int64|long
381 -|Short|xsd:short|integer|System.Int16|short
382 -|Decimal|xsd:decimal|number|System.Decimal|java.math.BigDecimal
383 -|Float|xsd:float|number|System.Single|float
384 -|Double|xsd:double|number|System.Double|double
385 -|Boolean|xsd:boolean|boolean|System.Boolean|boolean
386 -|URI|xsd:anyURI|string:uri|System.Uri|Java.net.URI or java.lang.String
387 -|DateTime|xsd:dateTime|string:datetime|System.DateTime|javax.xml.datatype.XML GregorianCalendar
388 -|Time|xsd:time|string:time|System.DateTime|javax.xml.datatype.XML GregorianCalendar
389 -|GregorianYear|xsd:gYear|(((
390 -2
351 +(% style="width:923.039px" %)
352 +|(% style="width:167px" %)**SDMX Facet Value Type**|(% style="width:148px" %)**XML Schema Data Type**|(% style="width:158px" %)**JSON Schema Data Type**|(% style="width:161px" %)**.NET Framework Type**|(% style="width:285px" %)**Java Data Type**
353 +|(% style="width:167px" %)String|(% style="width:148px" %)xsd:string|(% style="width:158px" %)string|(% style="width:161px" %)System.String|(% style="width:285px" %)java.lang.String
354 +|(% style="width:167px" %)Big Integer|(% style="width:148px" %)xsd:integer|(% style="width:158px" %)integer|(% style="width:161px" %)System.Decimal|(% style="width:285px" %)java.math.BigInteger
355 +|(% style="width:167px" %)Integer|(% style="width:148px" %)xsd:int|(% style="width:158px" %)integer|(% style="width:161px" %)System.Int32|(% style="width:285px" %)int
356 +|(% style="width:167px" %)Long|(% style="width:148px" %)xsd.long|(% style="width:158px" %)integer|(% style="width:161px" %)System.Int64|(% style="width:285px" %)long
357 +|(% style="width:167px" %)Short|(% style="width:148px" %)xsd:short|(% style="width:158px" %)integer|(% style="width:161px" %)System.Int16|(% style="width:285px" %)short
358 +|(% style="width:167px" %)Decimal|(% style="width:148px" %)xsd:decimal|(% style="width:158px" %)number|(% style="width:161px" %)System.Decimal|(% style="width:285px" %)java.math.BigDecimal
359 +|(% style="width:167px" %)Float|(% style="width:148px" %)xsd:float|(% style="width:158px" %)number|(% style="width:161px" %)System.Single|(% style="width:285px" %)float
360 +|(% style="width:167px" %)Double|(% style="width:148px" %)xsd:double|(% style="width:158px" %)number|(% style="width:161px" %)System.Double|(% style="width:285px" %)double
361 +|(% style="width:167px" %)Boolean|(% style="width:148px" %)xsd:boolean|(% style="width:158px" %)boolean|(% style="width:161px" %)System.Boolean|(% style="width:285px" %)boolean
362 +|(% style="width:167px" %)URI|(% style="width:148px" %)xsd:anyURI|(% style="width:158px" %)string:uri|(% style="width:161px" %)System.Uri|(% style="width:285px" %)Java.net.URI or java.lang.String
363 +|(% style="width:167px" %)DateTime|(% style="width:148px" %)xsd:dateTime|(% style="width:158px" %)string:datetime|(% style="width:161px" %)System.DateTime|(% style="width:285px" %)javax.xml.datatype.XML GregorianCalendar
364 +|(% style="width:167px" %)Time|(% style="width:148px" %)xsd:time|(% style="width:158px" %)string:time|(% style="width:161px" %)System.DateTime|(% style="width:285px" %)javax.xml.datatype.XML GregorianCalendar
365 +|(% style="width:167px" %)GregorianYear|(% style="width:148px" %)xsd:gYear|(% style="width:158px" %)(((
366 +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}}
367 +)))|(% style="width:161px" %)System.DateTime|(% style="width:285px" %)javax.xml.datatype.XML GregorianCalendar
368 +|(% style="width:167px" %)GregorianMonth|(% style="width:148px" %)xsd:gYearMonth|(% style="width:158px" %)string|(% style="width:161px" %)System.DateTime|(% style="width:285px" %)javax.xml.datatype.XML GregorianCalendar
369 +|(% style="width:167px" %)GregorianDay|(% style="width:148px" %)xsd:date|(% style="width:158px" %)string|(% style="width:161px" %)System.DateTime|(% style="width:285px" %)javax.xml.datatype.XML GregorianCalendar
370 +|(% style="width:167px" %)Day, MonthDay, Month|(% style="width:148px" %)xsd:g*|(% style="width:158px" %)string|(% style="width:161px" %)System.DateTime|(% style="width:285px" %)javax.xml.datatype.XML GregorianCalendar
371 +|(% style="width:167px" %)Duration|(% style="width:148px" %)xsd:duration|(% style="width:158px" %)string|(% style="width:161px" %)System.TimeSpan|(% style="width:285px" %)javax.xml.datatype.Dur ation
391 391  
392 -string
393 -)))|System.DateTime|javax.xml.datatype.XML GregorianCalendar
394 -|GregorianMonth|xsd:gYearMonth|string|System.DateTime|javax.xml.datatype.XML GregorianCalendar
395 -|GregorianDay|xsd:date|string|System.DateTime|javax.xml.datatype.XML GregorianCalendar
396 -|Day, MonthDay, Month|xsd:g*|string|System.DateTime|javax.xml.datatype.XML GregorianCalendar
397 -|Duration|xsd:duration|string|System.TimeSpan|javax.xml.datatype.Dur ation
398 -
399 399  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.
400 400  
401 401  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.
402 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 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
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). 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.
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) of the 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 -|minLength||The minLength facet specifies the minimum and length of the value in characters.
415 -|maxLength||The maxLength facet specifies the maximum length of the value in characters.
416 -|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.
417 -|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.
418 -|decimals||The decimals facet indicates the number of characters allowed after the decimal separator.
419 -|pattern||The pattern attribute holds any regular expression permitted in the implementation syntax (e.g., W3C XML Schema).
377 +(% style="width:921.039px" %)
378 +|**Facet Type**|(% style="width:827px" %)**Explanation**
379 +|isSequence|(% style="width:827px" %)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.
380 +|interval|(% style="width:827px" %)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.
381 +|startValue|(% style="width:827px" %)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
382 +|endValue|(% style="width:827px" %)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.
383 +|timeInterval|(% style="width:827px" %)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.
384 +|startTime|(% style="width:827px" %)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.
385 +|endTime|(% style="width:827px" %)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.
386 +|minLength|(% style="width:827px" %)The minLength facet specifies the minimum and length of the value in characters.
387 +|maxLength|(% style="width:827px" %)The maxLength facet specifies the maximum length of the value in characters.
388 +|minValue|(% style="width:827px" %)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.
389 +|minLength|(% style="width:827px" %)The minLength facet specifies the minimum and length of the value in characters.
390 +|maxLength|(% style="width:827px" %)The maxLength facet specifies the maximum length of the value in characters.
391 +|minValue|(% style="width:827px" %)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.
392 +|maxValue|(% style="width:827px" %)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.
393 +|decimals|(% style="width:827px" %)The decimals facet indicates the number of characters allowed after the decimal separator.
394 +|pattern|(% style="width:827px" %)The pattern attribute holds any regular expression permitted in the implementation syntax (e.g., W3C XML Schema).
420 420  
421 421  [[image:SDMX 3-0-0 SECTION 2 FINAL-1.0 (1)_en_59eee18f.gif||alt="Shape29" height="1" width="192"]]
422 422  
423 423  ^^2^^ In the JSON schemas, more complex data types are complemented with regular expressions, whenever no direct mapping to a standard type exists.
399 +
400 +{{putFootnotes/}}