4 Specific Item Schemes
- Contents
4.1 Introduction
The structures that are an arrangement of objects into hierarchies or lists based on characteristics, and which are maintained as a group inherit from ItemScheme. These concrete classes are:
Codelist
ConceptScheme
CategoryScheme
AgencyScheme, DataProviderScheme, MetadataProviderScheme,
DataConsumerScheme, OrganisationUnitScheme, which all inherit from the abstract class OrganisationScheme
ReportingTaxonomy
TransformationScheme
RulesetScheme
UserDefinedOperatorScheme
NamePersonalisationScheme
CustomTypeScheme
VtlMappingSchemeNote that the VTL related schemes (the last 6 of the above list) are detailed in a dedicated section below (section 15).
4.2 Inheritance View
The inheritance and relationship views are shown together in each of the diagrams in the specific sections below.
4.3 Codelist
4.3.1 Class Diagram
Figure 16: Class diagram of the Codelist
4.3.2 Explanation of the Diagram
4.3.2.1 Narrative
The Codelist inherits from the ItemScheme and therefore has the following attributes: id uri urn version validFrom validTo isExternalReference serviceURL structureURL isPartial
The Code inherits from Item and has the following attributes:
id
uri
urnBoth Codelist and Code have the association to InternationalString to support a multilingual name, an optional multi-lingual description, and an association to Annotation to support notes (not shown).
Through the inheritance the Codelist comprise one or more Codes, and the Code itself can have one or more child Codes in the (inherited) hierarchy association. Note that a child Code can have only one parent Code in this association. A more complex Hierarhcy, which allows multiple parents is described later.
A partial Codelist (where isPartial is set to 'true') is identical to a Codelist and contains the Code and associated names and descriptions, just as in a normal Codelist. However, its content is a subset of the full Codelist. The way this works is described in section 3.5.3.1 on ItemScheme.
4.3.2.2 Definitions
Class Feature Description Codelist Inherits from
ItemSchemeA list from which some statistical concepts (coded concepts) take their values. Code Inherits from
ItemA language independent set of letters, numbers or symbols that represent a concept whose meaning is described in a natural language. hierarchy Associates the parent and the child codes. extends Associates a Codelist with any Codelists that it may extend. 4.3.3 Class Diagram – Codelist Extension
Figure 17: Class diagram for Codelist Extension
4.3.3.1 Narrative
A Codelist may extend other Codelists via the CodelistExtension class. The latter, via the sequence, indicates the order of precedence of the extended Codelists for conflict resolution of Codes. Besides that, the prefix property is used to ensure uniqueness of inherited Codes in the extending[1] Codelist in case conflicting Codes must be included in the latter. Each CodelistExtension association may include one InclusiveCodeSelection or one ExclusiveCodeSelection; those allow including or excluding a specific selection of Codes from the extended Codelists.
The code selection classes may have MemberValues in order to specify the subset of the Codes that should be included or excluded from the extended Codelist. A MemberValue may have a value that corresponds to a Code, including its children Codes (via the cascadeValues property), or even include instances of the wildcard character ‘%’ in order to point to a set of Codes with common parts in their identifiers.
4.3.3.2 Definitions
Class Feature Description CodelistExtension The association between Codelists that may extend other Codelists. prefix A prefix to be used for a Codelist used in a extension, in order to avoid Code Conflicts. sequence The order that will be used when extending a Codelist, for resolving Code conflicts. The latest Codelist used overrides any previous Codelist.
InclusiveCodeSelection The subset of Codes to be included when extending a Codelist. ExclusiveCodeSelection The subset of Codes to be excluded when extending a Codelist. MemberValue Inherits from:
SelectionValueA collection of values based on Codes and their children. cascadeValues A property to indicate if the child Codes of the selected Code shall be included in the selection. It is also possible to include children and exclude the Code by using the 'excluderoot' value. value The value of the Code to include in the selection. It may include the ‘%’ character as a wildcard. 4.3.4 Class Diagram – Geospatial Codelist
The geospatial support is implemented via an extension of the normal Codelist. This is illustrated in the following diagrams.
Figure 18: Inheritance for the GeoCodelist
Figure 19: Class diagram for Geospatial Codelist
4.3.4.1 Narrative
A GeoCodelist is a specialisation of Codelist that includes geospatial information, by comprising a set of special Codes, i.e., GeoRefCodes. A GeoCodelist may be implemented by any of the two following classes, via the geoType property:
GeographicCodelist
GeoGridCodelist
The former, i.e., GeographicCodelist, comprises a set of GeoFeatureSetCodes, by adding a value in the Code that follows a pattern to represent a geo feature set.
The latter, i.e., GeoGridCodelist, comprises a set of GridCodes, which are related to the gridDefinition specified in the GeoGridCodelist.
4.3.4.2 Definitions
Class Feature Description GeoCodelist Abstract Class Sub Classes:
GeographicCodelist
GeoGridCodelistThe abstract class that represents a special type of Codelist, which includes geospatial information. geoType The type of Geo Codelist that the Codelist will become. GeoRefCode Abstract Class
Sub Classes:
GeoFeatureSetCode
GeoGridCodeThe abstract class that represents a special type of Code, which includes geospatial information. GeographicCodelist A special Codelist that has been extended to add a geographical feature set to each of its items, typically, this would include all types of administrative geographies. GeoGridCodelist A code list that has defined a geographical grid composed of cells representing regular squared portions of the Earth. gridDefinition Contains a regular expression string corresponding to the grid definition for the GeoGrid Codelist. GeoFeatureSetCode A Code that has a geo feature set. value The geo feature set of the Code, which represents a set of points defining a feature in a format defined a predefined pattern (see section 6). GeoGridCode A Code that represents a Geo Grid Cell belonging in a specific grid definition. geoCell The value used to assign the Code to one cell in the grid. 4.4 ValueList
4.4.1 Class Diagram
Figure 20: Class diagram of the ValueList
4.4.2 Explanation of the Diagram
4.4.2.1 Narrative
A ValueList inherits from EnumeratedList (and hence the MaintenableArtefact) and thus has the following attributes:
id
uri
urn
version
validFrom
validTo
isExternalReference
registryURL
structureURL
repositoryURLValueItem inherits from EnumeratedItem, which adds an id, with relaxed constraints, to the former.
Through the inheritance from NameableArtefact the ValueList has the association to InternationalString to support a multi-lingual name, an optional multi-lingual description, and an association to Annotation to support notes (not shown). Similarly, the ValueItem, inherits the association to InternationalString and to the Annotation from the EnumeratedItem.
The ValueList can have one or more ValueItems.
4.4.2.2 Definitions
Class Feature Description ValueList Inherits from
EnumeratedListA list from which some statistical concepts (enumerated concepts) take their values. ValueItem Inherits from
EnumeratedItemA language independent set of letters, numbers or symbols that represent a concept whose meaning is described in a natural language. 4.5 Concept Scheme and Concepts
4.5.1 Class Diagram - Inheritance
Figure 21 Class diagram of the Concept Scheme
4.5.2 Explanation of the Diagram
The ConceptScheme inherits from the ItemScheme and therefore has the following attributes:
id
uri
urn
version validFrom validTo
isExternalReference
registryURL
structureURL
repositoryURL
isPartialConcept inherits from Item and has the following attributes:
id
uri
urnThrough the inheritance from NameableArtefact both ConceptScheme and Concept have the association to InternationalString to support a multi-lingual name, an optional multilingual description, and an association to Annotation to support notes (not shown).
Through the inheritance from ItemScheme the ConceptScheme comprise one or more Concepts, and the Concept itself can have one or more child Concepts in the (inherited) hierarchy association. Note that a child Concept can have only one parent Concept in this association.
A partial ConceptScheme (where isPartial is set to “true”) is identical to a ConceptScheme and contains the Concept and associated names and descriptions, just as in a normal ConceptScheme. However, its content is a subset of the full ConceptScheme. The way this works is described in section 3.5.3.1 on ItemScheme.
4.5.3 Class Diagram Relationship
Figure 22: Relationship class diagram of the Concept Scheme
4.5.4 Explanation of the diagram
4.5.4.1 Narrative
The ConceptScheme can have one or more Concepts. A Concept can have zero or more child Concepts, thus supporting a hierarchy of Concepts. Note that a child Concept can have only one parent Concept in this association. The purpose of the hierarchy is to relate concepts that have a semantic relationship: for example, a Reporting_Country and Vis_a_Vis_Country may both have Country as a parent concept, or a CONTACT may have a PRIMARY_CONTACT as a child concept. It is not the purpose of such schemes to define reporting structures: these reporting structures are defined in the MetadataStructureDefinition.
The Concept can be associated with a coreRepresentation. The coreRepresentation is the specification of the format and value domain of the Concept when used on a structure like a DataStructureDefinition or a MetadataStructureDefinition, unless the specification of the Representation is overridden in the relevant structure definition. In a hierarchical ConceptScheme the Representation is inherited from the parent Concept unless overridden at the level of the child Concept.
The Representation is documented in more detail in the section on the SDMX Base.
The Concept may be related to a concept described in terms of the ISO/IEC 11179 standard. The ISOConceptReference identifies this concept and concept scheme in which it is contained.
4.5.4.2 Definitions
Class Feature Description ConceptScheme
Inherits from
ItemSchemeThe descriptive information for an arrangement or division of concepts into groups based on characteristics, which the objects have in common. Concept Inherits from
ItemA concept is a unit of knowledge created by a unique combination of characteristics. /hierarchy Associates the parent and the child concept. coreRepresentation Associates a Representation. +ISOConcept Association to an ISO concept reference. ISOConceptReference The identity of an ISO concept definition. conceptAgency The maintenance agency of the concept scheme containing the concept. conceptSchemeID The identifier of the concept scheme. conceptID The identifier of the concept. 4.6 Category Scheme
4.6.1 Context
This package defines the structure that supports the definition of and relationships between categories in a category scheme. It is similar to the package for concept scheme. An example of a category scheme is one which categorises data – sometimes known as a subject matter domain scheme or a data category scheme. Importantly, as will be seen later, the individual nodes in the scheme (the “categories”) can be associated to any set of IdentiableArtefacts in a Categorisation.
4.6.2 Class diagram Inheritance
Figure 23 Inheritance Class diagram of the Category Scheme
4.6.3 Explanation of the Diagram
4.6.3.1 Narrative
The categories are modelled as a hierarchical ItemScheme. The CategoryScheme inherits from the ItemScheme and has the following attributes:
id
uri
urn
version
validFrom
validTo
isExternalReference
structureURL
serviceURL
isPartialCategory inherits from Item and has the following attributes:
id
uri
urnBoth CategoryScheme and Category have the association to InternationalString to support a multi-lingual name, an optional multi-lingual description, and an association to Annotation to support notes (not shown on the model).
Through the inheritance the CategoryScheme comprise one or more Categorys, and the Category itself can have one or more child Category in the (inherited) hierarchy association. Note that a child Category can have only one parent Category in this association.
A partial CategoryScheme (where isPartial is set to “true”) is identical to a CategoryScheme and contains the Category and associated names and descriptions, just as in a normal CategoryScheme. However, its content is a subset of the full CategoryScheme. The way this works is described in section 3.5.3.1 on ItemScheme.
4.6.4 Class diagram Relationship
Figure 24: Relationship Class diagram of the Category Scheme
The CategoryScheme can have one or more Categorys. The Category is Identifiable and has identity information. A Category can have zero or more child Categorys, thus supporting a hierarchy of Categorys. Any IdentifiableArtefact can be +categorisedBy a Category. This is achieved by means of a Categorisation. Each Categorisation can associate one IdentifiableArtefact with one Category. Multiple Categorisations can be used to build a set of IdentifiableArtefacts that are +categorisedBy the same Category. Note that there is no navigation (i.e. no embedded reference) to the Categorisation from the Category. From an implementation perspective this is necessary as Categorisation has no effect on the versioning of either the CategoryScheme or the IdentifiableArtefact.
4.6.4.1 Definitions
Class Feature Description CategoryScheme Inherits from
ItemSchemeThe descriptive information for an arrangement or division of categories into groups based on characteristics, which the objects have in common. /items Associates the categories. Category Inherits from
ItemAn item at any level within a classification, typically tabulation categories, sections, subsections, divisions, subdivisions, groups, subgroups, classes and subclasses. /hierarchy Associates the parent and the child Category. Categorisation Inherits from
MaintainableArtefactAssociates an Identifable Artefact with a Category. +categorisedArtefact Associates the Identifable Artefact. +categorisedBy Associates the Category. 4.7 Organisation Scheme
4.7.1 Class Diagram
Figure 25 The Organisation Scheme class diagram
4.7.2 Explanation of the Diagram
4.7.2.1 Narrative
The OrganisationScheme is abstract. It contains Organisation which is also abstract. The Organisation can have child Organisation.
The OrganisationScheme can be one of five types:
- AgencyScheme – contains Agency which is restricted to a flat list of agencies (i.e., there is no hierarchy). Note that the SDMX system of (Maintenance) Agency can be hierarchic and this is explained in more detail in the SDMX Standards Section 6 “Technical Notes”.
- DataProviderScheme – contains DataProvider which is restricted to a flat list of agencies (i.e., there is no hierarchy).
- MetadataProviderScheme – contains MetadataProvider which is restricted to a flat list of agencies (i.e., there is no hierarchy).
- DataConsumerScheme – contains DataConsumer which is restricted to a flat list of agencies (i.e., there is no hierarchy).
- OrganisationUnitScheme – contains OrganisationUnit which does inherit the /hierarchy association from Organisation.
Reference metadata can be attached to the Organisation by means of the metadata attachment mechanism. This mechanism is explained in the Reference Metadata section of this document (see section 7). This means that the model does not specify the specific reference metadata that can be attached to a DataProvider, MetadataProvider, DataConsumer, OrganisationUnit or Agency, except for limited Contact information.
A partial OrganisationScheme (where isPartial is set to “true”) is identical to an OrganisationScheme and contains the Organisation and associated names and descriptions, just as in a normal OrganisationScheme. However, its content is a subset of the full OrganisationScheme. The way this works is described in section 3.5.3.1 on ItemScheme.
4.7.2.2 Definitions
Class Feature Description OrganisationScheme Abstract Class
Inherits from
ItemScheme
Sub classes are:
AgencyScheme
DataProviderScheme
MetadataProviderScheme
DataConsumerScheme
OrganisationUnitSchemeA maintained collection of Organisations. /items Association to the Organisations in the scheme. Organisation Abstract Class
Inherits from
Item
Sub classes are:
Agency
DataProvider
MetadataProvider
DataConsumer
OrganisationUnitAn organisation is a unique framework of authority within which a person or persons act, or are designated to act, towards some purpose. +contact Association to the Contact information. /hierarchy Association to child Organisations. Contact An instance of a role of an individual or an organization (or organization part or organization person) to whom an information item(s), a material object(s) and/or person(s) can be sent to or from in a specified context. name The designation of the Contact person by a linguistic expression. organisationUnit The designation of the organisational structure by a linguistic expression, within which Contact person works. responsibility The function of the contact person with respect to the organisation role for which this person is the Contact. telephone The telephone number of the Contact. fax The fax number of the Contact. email The Internet e-mail address of the Contact. X400 The X400 address of the Contact. uri The URL address of the Contact. AgencyScheme A maintained collection of Maintenance Agencies. /items Association to the Maintenance Agency in the scheme. DataProviderScheme A maintained collection of Data Providers. /items Association to the Data Providers in the scheme. MetadataProviderScheme A maintained collection of Metadata Providers. /items Association to the Metadata Providers in the scheme. DataConsumerScheme A maintained collection of Data Consumers. /items Association to the Data Consumers in the scheme. OrganisationUnitScheme A maintained collection of Organisation Units. /items Association to the Organisation Units in the scheme. Agency Inherits from
OrganisationResponsible agency for maintaining artefacts such as statistical classifications, glossaries, structural metadata such as Data and Metadata Structure Definitions, Concepts and Code lists. DataProvider Inherits from
OrganisationAn organisation that produces data. MetadataProvider Inherits from
OrganisationAn organisation that produces reference metadata. DataConsumer Inherits from
OrganisationAn organisation using data as input for further processing. OrganisationUnit Inherits from
OrganisationA designation in the organisational structure. /hierarchy Association to child Organisation Units 4.8 Reporting Taxonomy
4.8.1 Class Diagram
Figure 26: Class diagram of the Reporting Taxonomy
4.8.2 Explanation of the Diagram
4.8.2.1 Narrative
In some data reporting environments, and in particular those in primary reporting, a report may comprise a variety of heterogeneous data, each described by a different Structure. Equally, a specific disseminated or published report may also comprise a variety of heterogeneous data. The definition of the set of linked sub reports is supported by the ReportingTaxonomy.
The ReportingTaxonomy is a specialised form of ItemScheme. Each ReportingCategory of the ReportingTaxonomy can link to one or more StructureUsage which itself can be one of Dataflow, or Metadataflow, and one or more Structure, which itself can be one of DataStructureDefinition or MetadataStructureDefinition. It is expected that within a specific ReportingTaxonomy each Category that is linked in this way will be linked to the same class (e.g. all Category in the scheme will link to a Dataflow). Note that a ReportingCategory can have child ReportingCategory and in this way it is possible to define a hierarchical ReportingTaxonomy. It is possible in this taxonomy that some ReportingCategory are defined just to give a reporting structure. For instance:
Section 1
- linked to Datafow_1
- linked to Datafow_2
Section 2
- linked to Datafow_3
- linked to Datafow_4
Here, the nodes of Section 1 and Section 2 would not be linked to Dataflow but the other would be linked to a Dataflow (and hence the DataStructureDefinition).
A partial ReportingTaxonomy (where isPartial is set to “true”) is identical to a ReportingTaxonomy and contains the ReportingCategory and associated names and descriptions, just as in a normal ReportingTaxonomy. However, its content is a sub set of the full ReportingTaxonomy The way this works is described in section 3.5.3.1 on ItemScheme.
4.8.2.2 Definitions
Class Feature Description ReportingTaxonomy Inherits from
ItemSchemeA scheme which defines the composition structure of a data report where each component can be described by an independent Dataflow or Metadataflow. /items Associates the Reporting Category ReportingCategory Inherits from Item A component that gives structure to the report and links to data and metadata. /hierarchy Associates child Reporting Category. +flow Association to the data and metadata flows that link to metadata about the provisioning and related data and metadata sets, and the structures that define them. +structure Association to the Data Structure Definition and Metadata Structure Definitions which define the structural metadata describing the data and metadata that are contained at this part of the report. [1] The Codelist that extends 0..* Codelists is the 'extending' Codelist, while the Codelist(s) that are inherited is/are the 'extended' Codelist(s).