Dimension Mappings¶
DimensionMappingBaseModel¶
dsgrid.config.dimension_mapping_base.DimensionMappingBaseModel
Base class for mapping dimensions
Fields¶
Name |
Type |
Default |
Description |
|---|---|---|---|
|
|
|
Registry database ID |
|
|
|
Version, generated by dsgrid |
|
|
Type/purpose of the dimension mapping |
|
|
DimensionMappingArchetype | None |
|
Dimension mapping archetype, determined based on mapping_type |
|
(required) |
From dimension |
|
|
(required) |
To dimension |
|
|
|
|
Tolerance to apply when checking from_fraction column sums |
|
|
|
Tolerance to apply when checking to_fraction column sums |
|
|
|
Description of dimension mapping |
|
|
|
Unique dimension mapping identifier, generated by dsgrid |
Validators¶
Name |
Applies To |
Description |
|---|---|---|
|
|
No description |
DimensionMappingReferenceModel¶
dsgrid.config.dimension_mapping_base.DimensionMappingReferenceModel
Reference to a dimension mapping stored in the registry.
The DimensionMappingReferenceModel is utilized by the project configuration (project.json5) as well as by the dimension mapping reference configuration (dimension_mapping_references.json5) that may be required when submitting a dataset to a project.
Fields¶
Name |
Type |
Default |
Description |
|---|---|---|---|
|
(required) |
Dimension Type |
|
|
(required) |
Dimension Type |
|
|
|
(required) |
Unique ID of the dimension mapping |
|
|
(required) |
Version of the dimension |
Validators¶
Name |
Applies To |
Description |
|---|---|---|
|
|
No description |