← Back to the chapter · Previous detail

Technical detail · Validation and Outlier Detection

A replayable validation record

The record below preserves the raw value and identifies the checks and handling that explain its quality state. It supports different downstream uses without losing the source evidence.

Minimal validation record for audit
{
  "sensor_id": "hvac-17",
  "event_time": "2026-07-03T07:00:00Z",
  "ingested_at": "2026-07-03T07:00:02Z",
  "schema_version": "hvac-temp-v4",
  "raw_value": 45.0,
  "canonical_unit": "C",
  "validation_rule_version": "office-temp-rules-2026-07",
  "quality_state": "quarantined",
  "failed_rules": ["operating_range", "rate_of_change", "peer_check"],
  "handling": "exclude_from_control; retain_for_review",
  "lineage_ref": "raw/topic/hvac-17/offset/884201"
}

This record lets a dashboard warn users, a model-training job exclude the
sample, and a maintenance team investigate the sensor without losing evidence.

← Back to the chapter · Previous detail