EX-16: Codifying ISO 8000-61 Quality Dimensions (Semantic Accuracy)
Track: Quality & Assertions • Difficulty: Beginner • Mastery Points: 100 PTS
Business Problem Scenario
Rather than writing ad-hoc, unstructured SQL checks, professional enterprise data quality engineering aligns with the DAMA UK framework and the ISO 8000-8 / ISO 8000-61:2016 international standard (Syntactic Accuracy, Semantic Accuracy, Completeness, Consistency/Validity, Uniqueness, and Timeliness/Currency). During a production incident at Global DynaDatum Bank, a decimal misconfiguration in the overnight interest calculation engine generated erroneous negative balances exceeding -£500,000. Under retail banking product rules, the maximum authorized customer overdraft limit is strictly -£5,000.00. Balances below this threshold violate the Semantic Accuracy dimension and must be flagged immediately as Severity 1 defects.
Engineering Objective
Write a Semantic Accuracy assertion query against silver.core_balances to detect unauthorized overdraft breaches. • Expected Columns: account_id, balance_date, ledger_balance • Acceptance Criteria & Boundary Rules: - Filter for accounts where ledger_balance < -5000.00 (exceeding the £5,000 authorized retail overdraft limit). - Order results by ledger_balance ASC to prioritize the most severe balance sheet violations. - Severity 1 Classification: In banking operations, balance violations exceeding customer contracts are critical accounting defects requiring immediate ledger freezes. Key Concepts: - ISO 8000-61 / DAMA Dimensions: Rigorous international taxonomy for enterprise data quality measurement. - Semantic Accuracy: Degree to which data accurately reflects real-world business constraints and valid transactional limits.
Target Table: silver.core_balances (account_id STRING, balance_date DATE, ledger_balance DECIMAL(18,2), available_balance DECIMAL(18,2))
Verification & Architecture Insights
Automated reasonableness assertions aligned with ISO 8000 data quality dimensions prevent catastrophic accounting sign flips or rogue debit polarity from poisoning financial aggregates.