Key facts

  • valid_at is world time; observed_at is system time. Both are on every observation.
  • Where valid_at is unknown it is left empty with a valid_at_bound, the earliest it could have become true. It is never filled with the time of observation.
  • Change events reference both the observation that ended and the one that began, so a change has two dates too.
  • The store can be read as of either clock.

Why two

A single timestamp forces a choice between two lies. If it records when the system noticed, a fact true for years looks like a recent change. If it records when the fact became true, the system cannot say what it knew on any given day, and a correction silently rewrites the past. The database literature settled this decades ago under the names valid time and transaction time, and SQL:2011 standardised them as application-time and system-time periods. Observes applies them to company data, where both questions are asked daily: when did this change, and what did you know when?

How the unknown is handled

A change seen between two polls happened somewhere in the interval. Observes records the previous observation's time as the bound and leaves the valid date empty, so a consumer can reason about the interval without being told a precision that does not exist. The temptation to fill the gap with the observation time is the commonest way temporal data goes quietly wrong, and the rule against it is enforced in code, not in a style guide.

How Observes reads this

A change feed built on two clocks is designed to tell a consumer "the registered office changed on 3 March" and "Observes learned it on 9 March" as two facts, and can show, on any later date, exactly what was known and when it was corrected. That is what makes a record auditable rather than merely current. Nothing is overwritten.

Questions

What if you do not know when something became true?

Then the valid date is left empty, with a bound: the earliest it could have become true, usually the previous time Observes looked and saw the old value. It is never filled in with the date Observes noticed, because that would turn a late observation into a false change.

Can the record say what Observes believed on a past date?

Yes. Read as of an observed date, the store returns what Observes held then, including anything corrected since. Read as of a valid date, it returns what was true then according to the current record. They are different questions and both are answerable. Where the valid date is unknown the answer is a bound, not a date. There is no public query service yet.

The UK Business Cyber Risk Register

Observes records dated, externally observable facts about .uk domains: DNS records, mail authentication records and TLS certificates, each with the date it was observed. Not an official register, and not a rating. Company-to-website links: In evaluation. None is served until a pre-registered accuracy test has been passed.

See what the Register records

Sources

  1. Snodgrass, R. T., Developing Time-Oriented Database Applications in SQL (Morgan Kaufmann, 1999): bitemporal tables
  2. Kulkarni, K. and Michels, J.-E., Temporal features in SQL:2011, SIGMOD Record 41(3), 2012: application-time and system-time periods

Written by Nathan. Last reviewed 22 November 2026.