Markdown Editor

Data Requirements Specification Template

Data entities, dictionary, ISO/IEC 25012 quality requirements, retention, privacy classification, lineage, interfaces and migration

Requisitos y análisisEstándarISO/IEC 25012:2008 characteristic namesdatamath

Cómo usar: Use it when a system or data product must state the data it captures, holds, exchanges and disposes of. Fill the entities, owners and quality requirements first, using ISO/IEC 25012 characteristic names. The main pitfall is quality requirements with no target or measurement method.

Vista previa

Data Requirements Specification: [System or data product name]

Data requirements specification describing the data a system must capture, hold, exchange and dispose of: entities, a data dictionary, quality targets, retention, privacy classification, lineage, interfaces and migration. Based on common industry practice in data management and business analysis; quality requirements use the characteristic names of ISO/IEC 25012:2008 (Data quality model) and classification levels from the organisation's Data Classification Policy. Replace every [bracketed] value and every row marked Example. Privacy content is a documentation format, not legal advice.

Document control

FieldValue
Document ID[DRS-SYSTEM-001]
System / data product[Name] [release]
Version[0.1]
Status[Draft / In review / Approved / Superseded]
Owner[@data-owner]
Data steward[@data-steward]
Privacy reviewer[@privacy-officer]
Approvers/reviewers[@data-owner], [@data-steward], [@privacy-officer], [@solution-architect]
Classification[Internal]
Last updatedYYYY-MM-DD
Related documents[SRS], [Database design], [DPIA], [Data dictionary]

Approvals

RoleNameDecisionDate
Data owner[@name][Approve / Approve with conditions / Reject]YYYY-MM-DD
Data steward[@name][Decision]YYYY-MM-DD
Privacy reviewer[@name][Decision]YYYY-MM-DD

Revision history

VersionDateAuthorChange summary
0.1YYYY-MM-DD[@name]Initial draft
0.22026-10-24Template maintainersUpdated to ISO/IEC 25012 characteristic names in section 4, classification levels from the Data Classification Policy with a separate personal data column, requirement IDs DQ-REQ-NNN, Document control and approvals
[x.y]YYYY-MM-DD[@name][Change]

Contents

1. Purpose and scope

This specification defines the data requirements for [System name]. It covers the data domains [customer, orders, products] used by the processes [order capture, fulfilment, invoicing]. Out of scope: [data warehouse models, which are specified in DRS-DW-xxx].

Business questions the data must answer:

  • Example: How many orders were placed per channel per day?
  • Example: Which customers have open orders older than 5 days?
  • [Question]

2. Data entities and definitions

EntityDefinition (one record represents)OwnerStewardVolumeGrowth
Example: CustomerA person or organisation that has placed or may place an orderHead of SalesCRM team1.2 M8% / year
Example: OrderA confirmed request from one customer to buy one or more productsHead of OperationsOrder team4 M / year15% / year
Example: Order lineOne product and quantity within an orderHead of OperationsOrder team11 M / year15% / year
Example: ProductAn item offered for sale, at SKU levelHead of MerchandisingCatalogue team40,0005% / year
[Entity][Definition][Role][Team][n][Rate]

The entity relationships are shown below.

3. Data dictionary

The Classification column takes a level from the Data Classification Policy (data/data-classification-policy): Public, Internal, Confidential or Restricted. Whether a field holds personal data is a separate fact, recorded in the Personal data flags column with the policy's flags (PD for personal data, PD-SC for special-category data, PSEUDO for pseudonymised data), because the minimum level and the privacy controls follow from them: PD is at least Confidential, PD-SC is Restricted. Do not invent local labels such as "Sensitive" or "PII" as levels.

EntityFieldTypeLengthFormat / allowed valuesMandatoryValidationSourceOwnerClassificationPersonal data flags
Customercustomer_idString12C + 11 digitsYesUnique; system generatedSystemSalesConfidentialPD
CustomeremailString254RFC 5322 addressYesSyntax check; verified by linkCustomerSalesConfidentialPD
Customerdate_of_birthDate10YYYY-MM-DDNoAge 16 to 120CustomerSalesConfidentialPD
Customercountry_codeString2ISO 3166-1 alpha-2YesIn code listCustomerSalesConfidentialPD (linked to a customer)
Orderorder_idString14ORD- + 10 digitsYesUniqueSystemOperationsInternalNone
Orderplaced_atTimestampn/aISO 8601, UTCYesNot in futureSystemOperationsInternalNone
OrderstatusEnum20Placed, Paid, Shipped, Delivered, CancelledYesValid transition onlySystemOperationsInternalNone
Order linequantityIntegern/a1 to 999YesPositive integerCustomerOperationsInternalNone
Order lineunit_priceDecimal12,2Currency of orderYesAt or above 0CatalogueMerchandisingInternalNone
[Entity][field][Type][n][Format][Yes / No][Rule][Source][Owner][Public / Internal / Confidential / Restricted][None / PD / PD-SC / PSEUDO]

4. Data quality requirements

Quality characteristics below use the names of the ISO/IEC 25012:2008 data quality model. Inherent characteristics: Accuracy, Completeness, Consistency, Credibility, Currentness. Inherent and system-dependent: Accessibility, Compliance, Confidentiality, Efficiency, Precision, Traceability, Understandability. System-dependent: Availability, Portability, Recoverability. Only the names are used here; take definitions and default thresholds from the Data Quality Standard (data/data-quality-standard), and carry each requirement into the Data Contract (data/data-contract) of the dataset that must meet it. Where a team uses a local dimension word (for example uniqueness, validity or timeliness), record the mapping to the ISO/IEC 25012 name in the Data Quality Standard rather than inventing a new characteristic.

IDISO/IEC 25012 characteristicLocal dimensionRuleTargetMeasurementFrequencyAction when breached
DQ-REQ-001AccuracyaccuracyCustomer postal address matches the postal reference file98%Address validation reportWeeklySteward reviews failures
DQ-REQ-002CompletenesscompletenessMandatory fields populated on Order100%Null count queryDailyBlock load; alert team
DQ-REQ-003CompletenesscompletenessCustomer phone number present85%Null ratioMonthlyPrompt at next login
DQ-REQ-004CurrentnesstimelinessOrder visible in reporting after placementWithin 15 min for 99%Lag metricContinuousIncident if over 1 h
DQ-REQ-005ConsistencyconsistencyOrder total equals sum of lines plus tax and shipping100%Reconciliation jobDailyQuarantine record
DQ-REQ-006ConsistencyuniquenessNo duplicate customers by verified email99.5%Duplicate match reportMonthlyMerge process
DQ-REQ-007Complianceconformitycountry_code in the ISO 3166-1 list100%Constraint checkOn writeReject write
DQ-REQ-008Traceabilitycompleteness (of lineage columns)Every Order record carries source system and load batch ID100%Column null checkDailyBlock load
DQ-REQ-009Recoverabilityn/a (system-dependent)Order data restorable to a point within the last 24 hRestore test passesRestore drillQuarterlyRaise incident; review backup policy
[DQ-REQ-nnn][Characteristic][ODCS dimension or n/a][Rule][Target][Method][Frequency][Action]

The Local dimension column uses the operational vocabulary of the Data Quality Standard, which follows the ODCS dimension names (accuracy, completeness, conformity, consistency, coverage, timeliness, uniqueness); validity checks are recorded as conformity. System-dependent characteristics such as recoverability have no ODCS dimension and are verified by operational tests instead. Requirement IDs (DQ-REQ-NNN) belong to this specification; when a requirement is implemented, the contract rule gets its own DQ-<DOMAIN>-NNN ID (for example DQ-ORD-002) and the traceability matrix in section 10 links the two.

Completeness for a field is measured as:

Completeness=records with a valid non-empty valuetotal records in scope×100%\text{Completeness} = \frac{\text{records with a valid non-empty value}}{\text{total records in scope}} \times 100\%

5. Retention and archival

Entity / data setActive retentionArchiveEnd-of-life actionBasis
Example: Order and order line2 years onlineYears 3 to 7 in archive storageDelete after 7 yearsTax record-keeping rules
Example: Customer (inactive)3 years after last activityNoneAnonymisePrivacy policy
Example: Application logs with IP address90 daysNoneDeleteSecurity policy
[Data set][Period][Archive][Action][Source]

Deletion must cover backups within [35] days of the end-of-life date.

6. Privacy classification and lawful basis

Data categoryFieldsPurposeLawful basisSpecial categoryAccess roles
Example: Contact dataemail, phoneOrder communicationPerformance of contractNoSupport, Operations
Example: Date of birthdate_of_birthAge-restricted productsLegal obligationNoCompliance only
Example: Marketing preferencesopt_in flagsNewslettersConsentNoMarketing
[Category][Fields][Purpose][Basis][Yes / No][Roles]

Data subject rights to support: access, rectification, erasure, restriction, portability and objection, each fulfilled within [30] days.

7. Data lineage and sources

EntitySystem of recordUpstream sourceDownstream consumersRefresh
Example: CustomerCRMWeb sign-up, store sign-upOrder system, data warehouse, email platformReal time
Example: ProductPIMSupplier feedsWeb shop, order systemHourly
Example: OrderOrder systemWeb shop, call centreERP, data warehouseReal time
[Entity][System][Source][Consumers][Frequency]

8. Data interfaces

IDInterfaceDirectionEntitiesFormatFrequency / volumeError handling
DI-01Example: Orders to ERPOutOrder, order lineJSON eventsReal time, 15,000 / dayRetry 5 times; dead-letter queue
DI-02Example: Product feed from PIMInProductCSV over SFTPHourly, 40,000 rowsReject file if over 1% invalid rows
[DI-nn][Interface][In / Out][Entities][Format][Frequency][Handling]

9. Data migration requirements

IDRequirementAcceptance
MIG-01Example: Migrate all customers active in the last 3 years from the legacy CRM.Record counts reconcile within 0.1% with documented exclusions
MIG-02Example: Map legacy status codes to the new status list using mapping table MAP-03.100% of codes mapped; no defaults used
MIG-03Example: Remove duplicates before load using the matching rules in DQ-REQ-006.Duplicate rate under 0.5% after load
MIG-04Example: Run two full trial migrations before cut-over.Both trials pass reconciliation
MIG-05Example: Keep the legacy system read-only for 90 days after cut-over.Read access confirmed
[MIG-nn][Requirement][Acceptance]

10. Traceability

RequirementBusiness question or processImplemented byVerified by
DQ-REQ-002 (Example)Orders per channel per dayData contract rule DQ-ORD-002 on the order datasetContract check on every load
DQ-REQ-004 (Example)Orders per channel per dayContract service level latencyFreshness monitor
DQ-REQ-006 (Example)Customers with open ordersMatching rules in the master data designMonthly duplicate report; MIG-03
DI-01 (Example)InvoicingInterface specification for the ERP feedInterface test suite
[ID][Question or process][Contract, design or interface][Test or report]

11. Open issues

IDIssueOwnerDueStatus
OI-01Example: Confirm retention period for call recordings linked to orders[@privacy-officer]YYYY-MM-DDOpen
[OI-nn][Issue][@name]YYYY-MM-DD[Status]

Standard and licence note

Based on common industry practice for data requirements specification in data management and business analysis. Quality characteristic names follow ISO/IEC 25012:2008 (Data quality model); only the names are used, so check the current edition at iso.org. Original text written for this collection; examples are illustrative, and privacy content is a format, not legal advice. Template licence: MIT.

Plantillas relacionadas