Module structure

Source
Expand description

SDMX-JSON Structure Message format, 2.0.0 (aligned with SDMX 3.0.0)

This module implements SDMX-JSON Structure Message 2.0.0. The Structure Message format is used for describing objects in RESTful API services to make data more easily discoverable and consumable.

JSON files in this format are implemented in the top-level root type, StructureMessage. They can be deserialized from a &str, a &[u8], and a Value.

Structs§

AgencyScheme
The item scheme for an agency.
Attribute
A characteristic of an object or entity.
AttributeList
A list of attributes in the data structure definition.
AttributeRelationshipDataflow
A type of relationship where the attribute value varies per dataflow.
AttributeRelationshipDimensions
A type of relationship where the attribute references dimensions in the data structure definition. The attribute can either be a group, series/section, or an observational attribute.
AttributeRelationshipGroups
A type of relationship where the attribute references a unique group identifier.
AttributeRelationshipObservations
A type of relationship where the attribute value may vary with any of the local dimensions, and thus is dependent upon the observed value.
Categorization
Describes what something (the source) falls under (the target).
CategoryScheme
The item scheme for a category.
Codelist
The item scheme for a codelist.
CommonArtefactType
Properties that all SDMX artefacts share.
ComponentValueSet
The structure for providing values for data attributes, measures, or metadata attributes.
ConceptScheme
The item scheme for a concept.
ConstraintAttachment
A collection of references to data-constrainable artefacts.
CoreRepresentation
A core representation for a concept.
CubeRegion
A subset of data within multi-dimensional data.
CubeRegionKey
A set of values for a dimension that defines a data cube region.
CustomTypeScheme
The item scheme for a custom type.
Data
The associated data with a structure message.
DataComponentValue
A simple value for a component.
DataComponentValueSet
The structure for providing values for data attributes, measures, or metadata attributes.
DataConstraint
A subset of the definition of the allowable (or available) content of a dataset.
DataConsumerScheme
The item scheme for a data consumer.
DataKey
A region which defines a distinct full or partial data key.
DataKeySet
A collection of full or partial data keys (dimension values).
DataKeyValue
A dimension value for the purpose of defining a distinct data key.
DataProviderScheme
The item scheme for a data provider.
DataStructure
A collection of metadata concepts, their structure and usage when used to collect or disseminate data.
DataStructureComponents
A structure of the grouping to the sets of structural concepts that have a defined structural role in the data structure definition.
Dataflow
The structure of data that will be provided for different reference periods.
Dimension
A dimension which represents a statistical series, such as a time series.
DimensionList
Defines the order in which child dimensions will appear in data formats.
EnumerationFormat
A restricted version of Format that only allows facets and text types applicable to codes.
Format
The information for describing a range of data formats restricted to the representations allowed for all components except for target objects.
GeoGridCodelist
The item scheme for a geographic grid codelist.
GeographyCodelist
The item scheme for a geography codelist.
Group
Specifies attribute values which have the same value based on some common dimensionality.
IsoConceptReference
A reference to an ISO 11179 concept.
Item
An abstract generic item within an item scheme.
LocalRepresentation
The data representation of an attribute.
Measure
A concept that quantifies the size, amount or degree of something.
MeasureList
Describes the structure of the measure descriptor for a data structure definition.
MetadataAttribute
A metadata characteristic of an object or entity.
MetadataAttributeEnumeration
An enumeration-based local representation of a metadata attribute
MetadataAttributeFormat
A format-based local representation of a metadata attribute
MetadataAttributeList
A set of metadata attributes that can be defined as a hierarchy.
MetadataAttributeUsage
Defines how a metadata attribute is used within a data structure.
MetadataAttributeValueSet
Describes the vaues provided for a metadata attribute.
MetadataConstraint
A subset of the definition of the allowable (or available) content of a metadata set.
MetadataConstraintAttachment
A collection of references to metadata-constrainable artefacts.
MetadataProviderScheme
The item scheme for a metadata provider.
MetadataStructure
A collection of metadata concepts and their structure when used to collect or disseminate reference metadata.
MetadataStructureComponents
A set of components that makeup the metadata structure.
MetadataTargetRegion
Describes the report structure and the metadata target from that structure on which the region is based.
NamePersonalizationScheme
The item scheme for name personalization.
OrganizationUnitScheme
The item scheme for an organization unit.
QueryableDataSource
A data source which accepts a standard SDMX query message and responds appropriately.
ReleaseCalendar
The timing of releases of the constrained data.
ReportingTaxonomy
The item scheme for a reporting taxonomy.
RulesetScheme
The item scheme for a ruleset.
SimpleComponentValue
A simple value for a component.
StructureMessage
The top-level type of a JSON file that conforms to the SDMX-JSON Structure Message format.
TimeAfterPeriod
TimeBeforePeriod
TimeBetweenPeriod
TimeDimension
A statistical series representing time.
TimeDimensionFormat
A representation of a time dimension, which may contain sentinel values.
TimePeriodRange
A time period that describes whether a period is inclusive in a range.
TransformationScheme
The item scheme for a transformation.
UserDefinedOperatorsScheme
The item scheme for a user defined operator.
VtlMappingScheme
The item scheme for a VTL (Validation and Transformation Language) mapping.

Enums§

AttributeRelationship
The association between an attribute and other data structure definition components.
CascadeValues
Indicates whether a value should be cascaded.
MetadataAttributeRepresentation
The possible local representations of a metadata attribute
Occurrence
The max occurrences of something, which can either be an unsigned integer or unbounded (can occur without any upper limit).
Role
The purpose of a constraint, which informs the constraint if the data is actually present, or if it defines what data is allowed.
StringOrDcv
A string or data component value.
StringOrScv
A string or simple component value.
TimeDataType
The specific data type of a time dimension.
TimeRangeValue
A time period value expressed as a range.
Usage
Indicates whether something is required or optional.

Traits§

Artefact
A primitive type defined within the SDMX Informational Model specification.
ItemScheme
A primitive type which may or may not contain zero or more items, where said items may either be a subset or full collection.