20#ifndef ORES_DQ_DOMAIN_DATASET_HPP
21#define ORES_DQ_DOMAIN_DATASET_HPP
26#include <boost/uuid/uuid.hpp>
28namespace ores::dq::domain {
47 boost::uuids::uuid
id;
Represents a data quality dataset with lineage tracking.
Definition dataset.hpp:36
std::string domain_name
Data domain this dataset applies to.
Definition dataset.hpp:76
std::optional< std::string > catalog_name
Optional catalog this dataset belongs to.
Definition dataset.hpp:62
int lineage_depth
Depth in the derivation chain from the original source.
Definition dataset.hpp:145
std::string change_commentary
Free-text commentary explaining the change.
Definition dataset.hpp:180
std::string description
Detailed description of the dataset's contents and purpose.
Definition dataset.hpp:121
std::string code
Unique code for stable referencing.
Definition dataset.hpp:55
std::optional< boost::uuids::uuid > methodology_id
Optional methodology used to produce this dataset.
Definition dataset.hpp:111
std::string origin_code
Code indicating the origin of the data.
Definition dataset.hpp:90
std::string source_system_id
Identifier of the source system where data originated.
Definition dataset.hpp:126
std::chrono::system_clock::time_point as_of_date
Business date the data represents.
Definition dataset.hpp:152
std::chrono::system_clock::time_point recorded_at
Timestamp when this version of the record was recorded.
Definition dataset.hpp:185
std::string nature_code
Code indicating the nature of the data.
Definition dataset.hpp:97
std::optional< std::string > coding_scheme_code
Optional coding scheme used for identifiers in this dataset.
Definition dataset.hpp:83
std::string name
Human-readable name for the dataset.
Definition dataset.hpp:116
std::string recorded_by
Username of the person who last modified this dataset.
Definition dataset.hpp:175
boost::uuids::uuid id
UUID uniquely identifying this dataset.
Definition dataset.hpp:47
std::string business_context
Business context describing the dataset's role and usage.
Definition dataset.hpp:131
int version
Version number for optimistic locking and change tracking.
Definition dataset.hpp:40
std::string subject_area_name
Subject area this dataset belongs to.
Definition dataset.hpp:69
std::string treatment_code
Code indicating how the data was treated or processed.
Definition dataset.hpp:104
std::optional< std::string > artefact_type
Type of artefact this dataset populates.
Definition dataset.hpp:170
std::optional< std::string > license_info
Optional license information for the data.
Definition dataset.hpp:162
std::chrono::system_clock::time_point ingestion_timestamp
Timestamp when the data was ingested into the system.
Definition dataset.hpp:157
std::optional< boost::uuids::uuid > upstream_derivation_id
Optional reference to an upstream dataset this was derived from.
Definition dataset.hpp:138