RUT Domain Model¶
A simplified domain model based on GSIM 2.0 (Generic Statistical Information Model).
Overview¶
This repository contains the documentation for a simplified statistical domain model that captures the essential concepts from GSIM 2.0, adapted for practical implementation.
Documentation Structure¶
- Introduction - Purpose, scope, and relationship to GSIM 2.0
- Domain Overview - High-level model architecture and key relationships
- Entity Specifications - Machine-readable entity definitions
Schemas¶
XML Schemas (authoritative)¶
The XML schemas are the authoritative definition of the domain model. Data must validate against these schemas to be conformant.
- Types — date ranges, strings, enumerations, coordinates
- Level 1 entities — Dataset, DatasetCollection
- Level 2 entities — Population, Universe, classifications, variables
- Exchange formats — transfer schemas for data exchange
OpenAPI Schema (informative)¶
An OpenAPI schema is provided as a convenience for REST API clients.
The OpenAPI schema is informative only
The OpenAPI schema cannot fully express all constraints of the domain model — in particular, XSD 1.1 assertions are not representable in OpenAPI/JSON Schema. Data that passes OpenAPI validation may still be non-conformant. The XML schemas above are the authoritative source.
Quick Start¶
See the Domain Overview diagram for a visual representation of the model.
License¶
This work is based on GSIM 2.0, licensed under Creative Commons Attribution 4.0 International License, attributed to the United Nations Economic Commission for Europe (UNECE).