Core and Local Representations in a Data Structure
Jump to navigation
Jump to search
Within a Data Structure a component (such as a Dimension) is attached to an underlying concept. This concept can be coded and so the component "inherits" the representation from the concept constraining the values that may be reported for this component. This is the "core representation". The core representation can be over-ridden by a "local representation" of either a Codelist or a "Text Format". A "Text Format" has a type (e.g. String, Integer, DateTime, etc.) and may include further restrictions such as a minimum or maximum length. The rules of inheritance conform to the SDMX 3 standard and constrain the component as follows:
- If there is a Core Representation, but no Local representation or Text Format, the Core Representation constrains the component.
- If there is a Core Representation, and a Local representation but no Text Format, the Local Representation constrains the component.
- If there is a Core Representation, no Local representation but there is a Text Format, the Text Format constrains the component.
- If there is a Core Representation, Local representation and Text Format, the Local Representation constrains the component and the Text Format is for informational purposes only