Chapter 5
Data Architecture, Classification, Metadata, and Lineage
Bachelors Program in Business Analytics
Data Governance, Privacy & Business Ethics
•
Bachelor
Data Architecture, Classification, Metadata, and Lineage
Introduction
Modern organizations depend on data that is collected from customers, employees, suppliers, devices, transactions, websites, and external partners. Yet data has value only when people can find it, understand it, trust it, and use it lawfully. A sales analyst may need a reliable definition of “net revenue”; a privacy officer must know where customer identifiers are stored; an auditor may need to reconstruct how a reported figure was produced. These needs are connected by data architecture, classification, metadata, and lineage.
Data architecture provides the structural design through which data is collected, stored, integrated, processed, and delivered. Data classification identifies the sensitivity, business value, and handling requirements of data. Metadata describes data and makes it understandable. A business glossary establishes shared organizational meanings. Data lineage records movement and transformation. Provenance provides evidence about origin, custody, and prior processing.
Together, these practices improve discoverability, control, accountability, analytical quality, privacy protection, and regulatory compliance. They also support ethical decision-making: an organization cannot responsibly govern data that it cannot locate or interpret.
Learning Objectives
By the end of this chapter, you should be able to:
Explain the role of data architecture in business analytics and governance.
Distinguish structured, semi-structured, and unstructured data architectures.
Classify data according to sensitivity, business value, and regulatory risk.
Explain technical, business, operational, and governance metadata.
Design a practical business glossary and data catalog.
Interpret data lineage and distinguish lineage from provenance.
Apply architecture and metadata principles to a governance problem.
Evaluate ethical, privacy, security, and accountability implications of data design.
1. Data Architecture as a Governance Foundation
Data architecture is the set of principles, models, components, and relationships that determine how data is acquired, stored, integrated, managed, protected, and made available. It is not merely a diagram of databases. It connects business capabilities, information requirements, technology platforms, processes, and control responsibilities.
A useful architecture answers several questions:
Where is data created and captured?
What systems are authoritative for particular data elements?
How is data moved between systems?
Where are transformations performed?
Who may access each data asset?
How long is data retained?
How can a reported result be traced back to its source?
Architecture supports governance because controls must be implemented somewhere. A retention rule may be applied in an application, data warehouse, archive, backup system, or deletion workflow. A classification label is useful only if it influences access, encryption, masking, sharing, or retention decisions.
1.1 Architectural layers
A business analytics environment commonly contains the following layers:
Layer
Main purpose
Typical examples
Source layer
Creates or receives data
CRM, ERP, point-of-sale, sensors, surveys
Ingestion layer
Moves data into a managed environment
Batch files, APIs, streaming pipelines
Storage layer
Preserves data for operational or analytical use
Relational databases, object storage, warehouses
Integration layer
Combines and standardizes data
ETL, ELT, master data services
Semantic layer
Provides business meanings and reusable measures
Metrics layer, dimensional models, glossary
Consumption layer
Supports decisions and operations
Dashboards, reports, notebooks, applications
Governance and control layer
Manages quality, security, privacy, and accountability
Catalogs, policies, access controls, audit logs
These layers are conceptual rather than mandatory physical products. A cloud platform may combine several layers, while a large enterprise may implement them across many technologies.
1.2 Common architectural patterns
Operational databases support day-to-day transactions. They usually prioritize consistency, controlled updates, and rapid access to current records. They are not automatically suitable for complex historical analytics.
Data warehouses organize integrated, structured data for reporting and analysis. They commonly use standardized schemas, historical records, and controlled definitions. A warehouse can provide strong governance, but it may not retain every raw detail.
Data lakes store large amounts of raw or lightly processed data in many formats. They can support experimentation and machine learning, but without cataloging, ownership, quality controls, and lifecycle management they can become “data swamps.”
Lakehouses seek to combine the flexibility of a lake with warehouse-style management, including transactional reliability, structured tables, and analytical performance. Their effectiveness depends on implementation rather than the label itself.
Data marts are subject-oriented subsets designed for a department or use case, such as finance, marketing, or supply-chain analytics. They improve usability but can create inconsistent definitions when independently designed.
Data mesh is an organizational and architectural approach that treats domain teams as responsible for data products while applying shared governance standards. It can improve domain expertise and accountability, but it requires mature ownership, interoperability, and platform support.
No architecture is universally best. The appropriate design depends on volume, velocity, variety, latency, regulatory requirements, skills, cost, and business purpose.
Layered data architecture showing sources, integration, storage, semantic services, consumption, and governance controls
Figure: Layered data architecture showing sources, integration, storage, semantic services, consumption, and governance controls
Figure: Governance controls should operate across the full data architecture rather than only at the reporting layer.
2. Data Classification
Data classification is the systematic assignment of categories that communicate how data should be handled. Classification is not the same as simply labeling information “important.” A useful scheme links categories to specific controls and accountable roles.
A four-level scheme is often practical:
Classification
Typical meaning
Illustrative controls
Public
Approved for public release
Publication review, integrity checks
Internal
Intended for routine organizational use
Authenticated access, appropriate sharing
Confidential
Non-public information whose disclosure could cause harm
Role-based access, encryption, monitoring
Restricted or highly sensitive
Personal, financial, health, credential, legal, or strategically critical information
Strict least privilege, masking, strong encryption, enhanced logging, approved processing
Organizations may use different names, but categories should be understandable and operational. A classification policy should answer:
What characteristics determine the classification?
Who assigns and approves it?
What controls are mandatory?
How is classification reviewed when context changes?
What happens when data sets contain multiple categories?
2.1 Classification dimensions
Sensitivity is only one dimension. A data set may also be assessed for:
Confidentiality: harm caused by unauthorized disclosure.
Integrity: harm caused by unauthorized or inaccurate alteration.
Availability: harm caused when data is inaccessible.
Privacy: impact on identifiable individuals and their rights.
Regulatory status: obligations arising from law, contract, or sector regulation.
Business criticality: effect on essential operations or decisions.
Retention value: how long the data must be kept for legal, operational, or historical reasons.
A public annual report may have low confidentiality but high integrity requirements. A system availability log may contain no direct identifiers but still be operationally critical. Classification should therefore avoid treating confidentiality as the only risk.
2.2 Classification workflow
A practical workflow is:
Identify the data asset and its owner.
Identify data subjects, business purpose, and likely uses.
Detect direct and indirect identifiers, confidential fields, and regulated content.
Assess confidentiality, integrity, availability, privacy, and regulatory impact.
Assign the highest applicable handling requirement, while documenting mixed content.
Record the classification in the catalog and, where possible, attach machine-readable labels.
Apply controls such as access restriction, masking, encryption, retention, and monitoring.
Review classification after material changes in use, content, law, or risk.
Automated discovery tools can identify likely email addresses, national identifiers, or payment-card patterns. They produce hypotheses, not final judgments. Human review is needed because context matters and false positives or false negatives can be consequential.
3. Metadata and the Data Catalog
Metadata is data about data. It enables users and systems to determine what an asset means, where it came from, how current it is, who owns it, and how it may be used.
3.1 Types of metadata
Business metadata explains meaning and organizational use. Examples include the definition of “active customer,” business owner, approved purpose, and applicable policy.
Technical metadata describes structure and implementation: table name, column name, data type, format, schema, API endpoint, partition, and storage location.
Operational metadata describes execution and behavior: refresh time, pipeline status, processing duration, failure history, and usage frequency.
Governance metadata records classification, sensitivity, legal basis, retention period, access restrictions, steward, policy exceptions, and approval status.
Quality metadata records completeness, validity, uniqueness, consistency, accuracy assessments, and known limitations.
These categories overlap in practice. The important issue is whether metadata supports a real decision or control.
3.2 Data catalogs
A data catalog is an organized inventory of data assets and their metadata. A mature catalog allows a user to search for a term, compare candidate assets, inspect ownership and quality, understand restrictions, and request access.
A catalog entry should normally include:
Asset name and description
Business domain and owner
Steward and technical custodian
Source system and location
Classification and privacy attributes
Schema and field definitions
Refresh frequency and last successful update
Quality indicators and known limitations
Lineage and dependencies
Retention and access rules
Certification or approval status
Usage examples and related reports
Catalogs fail when they become static inventories. Effective catalog programs integrate metadata capture into engineering workflows, assign stewardship, measure adoption, and retire obsolete assets.
4. Business Glossaries and Shared Meaning
A business glossary is a governed collection of terms, definitions, synonyms, relationships, and usage rules. It addresses semantic inconsistency, which is often more damaging than a technical storage problem.
For example, “customer” may mean a person with an account, a person who completed a purchase, a billing entity, or an organization with an active contract. Each meaning can be valid, but using one definition in a dashboard and another in a regulatory report creates misleading results.
A strong glossary entry includes:
Element
Example
Term
Net revenue
Definition
Revenue recognized after approved returns, discounts, and allowances
Scope
External financial reporting and management reporting
Owner
Finance data owner
Related terms
Gross revenue, refund, discount
Calculation rule
Approved metric logic in the semantic layer
Exclusions
Taxes collected on behalf of governments
Status
Approved
Review date
Specified governance review date
Glossary governance should include proposal, review by subject-matter experts, approval, publication, versioning, and periodic review. Definitions should be written in plain language but be precise enough for implementation.
A glossary is not a dictionary of every word used in the organization. It focuses on terms whose ambiguity could affect decisions, reporting, controls, compliance, or collaboration.
5. Data Lineage and Provenance
Data lineage describes the path data follows through systems, processes, transformations, and outputs. It may be represented at the system, table, column, record, or business-rule level.
Data provenance is evidence about the origin, history, custody, and processing context of a data object. Provenance asks not only “where did this field come from?” but also “under what process, authority, time, and conditions was it created or changed?”
The terms are related but not identical. Lineage emphasizes flow and dependency. Provenance emphasizes evidentiary history and context.
5.1 Types of lineage
Forward lineage: source to downstream report, model, or decision.
Backward or impact lineage: output back to sources, used to assess consequences of change.
Technical lineage: movement between tables, columns, files, jobs, or applications.
Business lineage: movement from business concept through rules to a reported measure.
Runtime lineage: observed relationships from actual executions and logs.
Lineage is especially important for regulatory reporting, incident response, model validation, privacy impact assessment, and change management. If a source field changes, impact lineage helps identify affected dashboards, models, and decisions.
5.2 Transformation documentation
A useful lineage record identifies:
Source and destination assets
Transformation logic
Join keys and filters
Aggregation rules
Time of execution
Code or job version
Responsible owner
Data-quality checks
Exceptions and manual interventions
Evidence supporting the record
For example, a “customer lifetime value” dashboard may depend on transaction history, refunds, customer identity resolution, currency conversion, and a defined observation window. A report that shows only the final number is not sufficiently accountable if its derivation cannot be reconstructed.
6. Applying Architecture, Classification, and Lineage Together
These disciplines are most effective when integrated. Consider a customer-order data product:
The source application captures customer and order information.
Ingestion transfers records to managed storage.
Classification identifies names and contact details as personal information and payment tokens as highly sensitive.
Metadata records field definitions, owners, refresh status, and retention requirements.
A glossary defines “completed order,” “net sales,” and “active customer.”
Transformation rules standardize currencies, remove duplicates, and link customer identities.
Lineage connects source fields to analytical tables and dashboards.
Access controls permit marketing to use approved segments without exposing unnecessary raw identifiers.
Quality monitoring detects late, incomplete, or anomalous data.
Retention and deletion processes propagate appropriately to derived assets, subject to documented legal exceptions.
This integrated approach follows the principle of controlled usefulness: data should be sufficiently accessible for legitimate work, but access and reuse should be proportionate to purpose and risk.
Northstar Retail operates stores, an online shop, a loyalty program, and a mobile application. Its executives receive conflicting customer-retention reports. The marketing dashboard reports 2.4 million customers, finance reports 1.8 million active accounts, and the privacy team cannot identify all systems containing loyalty identifiers.
Problem
Investigation reveals that “customer” has four definitions. Store transactions use email addresses as informal identifiers, the online system uses account IDs, and the mobile application creates device-linked profiles. Data is copied into departmental spreadsheets. Several reports use stale extracts. A vendor receives a file containing contact information but the transfer is not documented in the catalog.
The problems are architectural, semantic, and governance-related rather than merely analytical.
Analysis
The organization conducts a discovery exercise and records the following assets:
Asset
Owner
Main data
Key risk
Point-of-sale transactions
Retail operations
Purchases, store IDs
Personal and financial context
Online accounts
Digital commerce
Names, emails, account IDs
Direct identifiers
Loyalty platform
Marketing
Profiles, points, preferences
Profiling and consent risk
Customer warehouse
Analytics
Integrated historical data
Derived and replicated personal data
Campaign extracts
Marketing agency
Segments and contacts
Third-party disclosure
A classification review marks direct identifiers and behavioral profiles as restricted. Transactional aggregates with no reasonable reidentification risk may be classified less restrictively, but the decision and method must be documented.
Approach and solution
Northstar establishes a governance council with representatives from analytics, privacy, security, marketing, finance, and operations. It then:
Appoints domain data owners and operational stewards.
Defines glossary terms such as “registered customer,” “active customer,” “purchaser,” and “retained customer.”
Creates catalog entries for source systems, warehouse tables, reports, extracts, and vendor transfers.
Assigns field-level privacy tags to identifiers, preferences, and behavioral attributes.
Replaces informal email matching with an approved identity-resolution service.
Documents lineage from source systems to the retention dashboard.
Implements role-based access and masked views for analysts.
Establishes retention rules for raw events, profiles, and derived segments.
Adds quality checks for duplicate identities, missing consent status, stale refreshes, and invalid dates.
Requires vendor data sharing to use approved contracts, documented purposes, and secure transfer mechanisms.
Outcome
After implementation, reports use approved definitions and display their source, refresh date, and quality status. The privacy team can identify where customer attributes are stored and which downstream assets depend on them. Analysts gain faster access to trustworthy data, while marketing receives usable segments without broad access to raw identifiers.
The organization does not eliminate all uncertainty. Identity resolution remains probabilistic in some cases, historical data may contain errors, and deletion requirements must be evaluated across backups and legally required records. However, the organization can now identify, explain, and control those limitations.
Learning points
A catalog is valuable only when it supports action.
Definitions are governance controls, not merely documentation.
Derived data can remain personal or sensitive even when raw identifiers are removed.
Lineage improves both accountability and change impact analysis.
Privacy protection must include copies, extracts, models, and reports—not only source databases.
8. Ethical, Legal, and Professional Considerations
Data architecture embeds values. A decision to retain detailed behavioral histories may increase analytical capability but also increase surveillance and misuse risk. A decision to combine data sets may create insights that individuals did not reasonably expect. A technically legal use may still be ethically questionable if it is opaque, disproportionate, or unfair.
Important principles include:
Purpose limitation: collect and use data for specified legitimate purposes.
Data minimization: use the least data necessary for the task.
Proportionality: match data access and retention to the business need and potential harm.
Transparency: explain important uses, definitions, and consequences.
Accountability: assign identifiable owners and preserve evidence of decisions.
Fairness: assess whether data combinations or classifications disadvantage groups.
Security by design: incorporate protection into architecture rather than adding it after deployment.
Respect for rights: support applicable access, correction, deletion, objection, and restriction processes.
Legal requirements vary by jurisdiction and sector. Common regulatory concerns include personal-data protection, records retention, cross-border transfer, financial reporting, health information, breach notification, and automated decision-making. Professionals must consult applicable law and organizational policy rather than assuming that a classification label alone establishes compliance.
9. AI and Contemporary Developments
Artificial intelligence increases the importance of metadata and lineage. Machine-learning systems depend on training data, feature definitions, labels, prompts, model versions, evaluation sets, and deployment contexts. Without this information, an organization may be unable to explain a prediction, reproduce a result, investigate bias, or respond to a data-subject request.
AI governance therefore extends cataloging and lineage to:
Training-data sources and permissions
Data preparation and exclusion rules
Feature and label definitions
Model and prompt versions
Evaluation metrics and subgroup results
Human review points
Model inputs and outputs
Monitoring and retirement decisions
Generative AI introduces additional concerns, including confidential data entered into external tools, uncertain output provenance, synthetic content, and difficulty distinguishing authoritative information from generated text. Metadata should indicate whether an asset is human-authored, machine-generated, externally sourced, or synthetic, and should preserve review status.
10. Challenges and Limitations
Incomplete discovery
Organizations often have shadow spreadsheets, personal drives, undocumented APIs, and vendor-held data. Automated scanning helps but cannot fully discover informal practices or infer business meaning.
Conflicting ownership
A technical custodian may operate a system while a business owner determines permissible use. Clear role definitions are necessary.
Metadata drift
Schemas, pipelines, definitions, and policies change. Catalogs must be updated through automated integration and governance workflows.
Excessive centralization
A centralized governance team can create bottlenecks and lack domain knowledge. Federated stewardship can improve responsiveness but requires common standards.
False precision
A lineage diagram may appear authoritative while omitting manual adjustments, undocumented extracts, or failed records. Runtime evidence and validation are essential.
Cost and prioritization
Full field-level lineage for every asset may be too costly. Organizations should prioritize critical reports, regulated data, sensitive assets, and high-impact decisions.
De-identification limits
Removing direct identifiers does not guarantee anonymity. Combinations of location, time, behavior, and rare attributes may permit reidentification. Risk assessment must consider the data environment and likely adversaries.
11. Best-Practice Implementation Road Map
A practical program can proceed in stages:
Stage 1: Establish purpose and scope. Select high-value domains and identify regulatory or operational drivers.
Stage 2: Define roles. Assign data owners, stewards, custodians, privacy specialists, and governance decision rights.
Stage 4: Inventory and classify. Discover priority assets, assign classifications, document owners, and identify gaps.
Stage 5: Define critical terms and data products. Start with measures and data sets used in important decisions or external reporting.
Stage 6: Capture lineage. Automate technical lineage where possible and supplement it with business rules and manual review.
Stage 7: Operationalize controls. Connect metadata to access requests, masking, retention, quality monitoring, incident response, and change management.
Stage 8: Measure and improve. Track catalog coverage, certified assets, glossary adoption, lineage completeness, quality incidents, access-review completion, and time needed to answer impact questions.
Success should be evaluated by business and governance outcomes, not by the number of catalog records alone.
Chapter Summary
Data architecture determines how information moves through an organization and where governance controls can operate. Warehouses, lakes, lakehouses, marts, and domain-oriented architectures serve different purposes and require different controls. Data classification links sensitivity, business value, privacy, integrity, availability, and regulatory obligations to concrete handling requirements.
Metadata makes data understandable and governable. Business metadata explains meaning; technical metadata describes structure; operational metadata records behavior; governance metadata records ownership and restrictions; quality metadata records fitness; and lineage metadata records dependencies. A data catalog organizes these descriptions, while a business glossary establishes shared definitions for important concepts and measures.
Lineage describes data flow and transformation, whereas provenance emphasizes origin, history, custody, and evidence. Both are essential for impact analysis, auditability, privacy operations, model accountability, and trustworthy analytics. Effective governance integrates architecture, classification, cataloging, glossary management, quality, access, retention, and lineage. Ethical practice requires purpose limitation, minimization, transparency, proportionality, fairness, and accountability. The central professional lesson is that discoverability and control are complementary: data becomes more valuable when its meaning, risks, origins, and permitted uses are clear.
Key Terms
Data architecture: The design of structures, systems, processes, and relationships used to manage data.
Data classification: Assignment of handling categories based on sensitivity, risk, value, or obligations.
Data catalog: An organized inventory of data assets and their metadata.
Metadata: Information that describes data, its structure, meaning, use, or history.
Business metadata: Metadata describing organizational meaning, ownership, and purpose.
Technical metadata: Metadata describing schemas, data types, locations, and implementation.
Operational metadata: Metadata describing processing events, refreshes, failures, and usage.
Business glossary: A governed collection of shared organizational terms and definitions.
Data lineage: The documented path of data through sources, transformations, and outputs.
Data provenance: Evidence concerning the origin, history, custody, and processing context of data.
Data owner: The person or function accountable for a data domain or asset.
Data steward: The person responsible for day-to-day definition, quality, and governance coordination.
Data custodian: The technical role responsible for operating and protecting data systems.
Data warehouse: An integrated, structured environment optimized for reporting and analysis.
Data lake: A storage environment capable of retaining large volumes of data in varied formats.
Data product: A managed, discoverable data asset designed to serve defined users and purposes.
Semantic layer: A governed layer that expresses reusable business concepts, measures, and rules.
Data minimization: Limiting collection and use to what is necessary for a specified purpose.
Review Questions
Short Answer Questions
What is the primary purpose of a data catalog?
Distinguish business metadata from technical metadata.
Why should classification include integrity and availability as well as confidentiality?
What is the difference between data lineage and data provenance?
Give two examples of information that should appear in a business glossary entry.
Long Answer Questions
Compare data warehouses, data lakes, and lakehouses, including their governance challenges.
Explain how a classification scheme can be connected to access, masking, retention, and monitoring controls.
Describe the roles of data owners, stewards, and custodians and explain why separating these roles can be useful.
Discuss how metadata and lineage support regulatory accountability and responsible analytics.
Evaluate the ethical risks of combining customer data from multiple systems for personalization.
Analytical / Application Questions
A company discovers that its “active customer” metric differs across finance, marketing, and customer service. Design a glossary and governance process to resolve the conflict.
A privacy officer receives a deletion request but cannot identify all downstream reports and machine-learning data sets containing the individual’s information. Explain how architecture, cataloging, classification, and lineage should be used to address the problem.
Design a minimum metadata and lineage standard for a dashboard used to make credit or insurance decisions. Justify which fields and controls you would prioritize.
Multiple Choice Questions with Answers
Question 1
Which statement best describes data lineage?
A. A list of all employees authorized to access a database
B. The path data follows through sources, transformations, and outputs
C. A ranking of data sets by commercial value
D. A schedule for deleting inactive user accounts
Correct Answer: B. The path data follows through sources, transformations, and outputs
Question 2
Which type of metadata primarily records refresh times, pipeline failures, and processing duration?
A. Business metadata
B. Technical metadata
C. Operational metadata
D. Legal metadata
Correct Answer: C. Operational metadata
Question 3
Why is a business glossary important?
A. It replaces all access-control mechanisms
B. It ensures that important business terms have shared, governed meanings
C. It stores only raw unstructured data
D. It automatically guarantees data accuracy
Correct Answer: B. It ensures that important business terms have shared, governed meanings
Question 4
Which classification is most likely to require strict least-privilege access, masking, and enhanced monitoring?
A. Public
B. Internal
C. Confidential
D. Restricted or highly sensitive
Correct Answer: D. Restricted or highly sensitive
Question 5
A technical custodian is primarily responsible for which activity?
A. Defining the organization’s strategic business objectives
B. Operating and protecting data systems
C. Approving every business glossary definition alone
D. Determining all applicable laws without legal advice
Correct Answer: B. Operating and protecting data systems
Question 6
Which statement best distinguishes provenance from lineage?
A. Provenance concerns origin and processing history, while lineage emphasizes flow and dependencies
B. Provenance applies only to public data, while lineage applies only to restricted data
C. Provenance is a synonym for data classification, while lineage is a synonym for encryption
D. Provenance records only data size, while lineage records only storage cost
Correct Answer: A. Provenance concerns origin and processing history, while lineage emphasizes flow and dependencies
Question 7
A report’s definition of net revenue excludes approved returns and discounts but another report includes them. What is the most direct governance remedy?
A. Increase database storage capacity
B. Create and approve a shared glossary definition and metric rule
C. Delete all historical transactions
D. Permit each department to use its preferred definition without documentation
Correct Answer: B. Create and approve a shared glossary definition and metric rule
Question 8
Why can removing names from a data set fail to make it anonymous?
A. Names are required for every analytical calculation
B. Indirect combinations such as location, time, and behavior may enable reidentification
C. Removing names always destroys data integrity
D. Anonymity depends only on whether the data is stored in a warehouse
Correct Answer: B. Indirect combinations such as location, time, and behavior may enable reidentification
Question 9
Which practice best supports impact analysis when a source field changes?
A. Forward and backward lineage documentation
B. Removing all metadata from downstream reports
C. Classifying every asset as public
D. Keeping only the most recent data extract
Correct Answer: A. Forward and backward lineage documentation
Question 10
Which principle requires an organization to use no more personal data than necessary for a defined task?
A. Data minimization
B. Data duplication
C. Schema denormalization
D. Availability maximization
Correct Answer: A. Data minimization
Data Governance, Privacy & Business Ethics
Chapter 5
of 15