20#ifndef ORES_DQ_API_DOMAIN_DATASET_HPP
21#define ORES_DQ_API_DOMAIN_DATASET_HPP
26#include <boost/uuid/uuid.hpp>
27#include "ores.utility/uuid/tenant_id.hpp"
29namespace ores::dq::domain {
53 boost::uuids::uuid
id;
Represents a data quality dataset with lineage tracking.
Definition dataset.hpp:37
std::string domain_name
Data domain this dataset applies to.
Definition dataset.hpp:82
std::string modified_by
Username of the person who last modified this dataset.
Definition dataset.hpp:181
std::optional< std::string > catalog_name
Optional catalog this dataset belongs to.
Definition dataset.hpp:68
int lineage_depth
Depth in the derivation chain from the original source.
Definition dataset.hpp:151
std::string change_commentary
Free-text commentary explaining the change.
Definition dataset.hpp:186
std::string description
Detailed description of the dataset's contents and purpose.
Definition dataset.hpp:127
std::string code
Unique code for stable referencing.
Definition dataset.hpp:61
std::optional< boost::uuids::uuid > methodology_id
Optional methodology used to produce this dataset.
Definition dataset.hpp:117
std::string origin_code
Code indicating the origin of the data.
Definition dataset.hpp:96
std::string source_system_id
Identifier of the source system where data originated.
Definition dataset.hpp:132
std::chrono::system_clock::time_point as_of_date
Business date the data represents.
Definition dataset.hpp:158
std::chrono::system_clock::time_point recorded_at
Timestamp when this version of the record was recorded.
Definition dataset.hpp:196
std::string nature_code
Code indicating the nature of the data.
Definition dataset.hpp:103
std::optional< std::string > coding_scheme_code
Optional coding scheme used for identifiers in this dataset.
Definition dataset.hpp:89
std::string name
Human-readable name for the dataset.
Definition dataset.hpp:122
boost::uuids::uuid id
UUID uniquely identifying this dataset.
Definition dataset.hpp:53
std::string business_context
Business context describing the dataset's role and usage.
Definition dataset.hpp:137
int version
Version number for optimistic locking and change tracking.
Definition dataset.hpp:41
std::string subject_area_name
Subject area this dataset belongs to.
Definition dataset.hpp:75
std::string treatment_code
Code indicating how the data was treated or processed.
Definition dataset.hpp:110
std::string performed_by
Username of the account that performed this operation.
Definition dataset.hpp:191
std::optional< std::string > artefact_type
Type of artefact this dataset populates.
Definition dataset.hpp:176
std::optional< std::string > license_info
Optional license information for the data.
Definition dataset.hpp:168
std::chrono::system_clock::time_point ingestion_timestamp
Timestamp when the data was ingested into the system.
Definition dataset.hpp:163
utility::uuid::tenant_id tenant_id
Tenant identifier for multi-tenancy isolation.
Definition dataset.hpp:46
std::optional< boost::uuids::uuid > upstream_derivation_id
Optional reference to an upstream dataset this was derived from.
Definition dataset.hpp:144
A strongly-typed wrapper around a UUID representing a tenant identifier.
Definition tenant_id.hpp:66
static tenant_id system()
Creates a tenant_id representing the system tenant.
Definition tenant_id.cpp:41