Interfaces

SemanticProvenance

Interface: SemanticProvenance

Defined in: src/lib/semantics/types.ts:107

Where the values came from and how old they are. measured_at is when the WORLD was measured — not when the tool ran; a tool that reads a nightly export and answers in 4ms is serving yesterday.

Properties

age_seconds?

readonly optional age_seconds?: number

Defined in: src/lib/semantics/types.ts:112

How stale the data was when the tool answered, in seconds.


measured_at

readonly measured_at: string

Defined in: src/lib/semantics/types.ts:110

When the world was measured (the tool's own clock words). Required whenever the envelope carries series or facts.


source

readonly source: string

Defined in: src/lib/semantics/types.ts:115

The system of record the values were read from. Required with measured_at.


source_export_date?

readonly optional source_export_date?: string

Defined in: src/lib/semantics/types.ts:117

For file-fed collectors: the export the values rode in on.

On this page