Data contract

Schema validation report

Data contract v2. All real records satisfy their schema's required fields.

Schemas

SchemaRequired fieldsExampleValidated
schema.jsonversion, dataset, observations, sources, facts, series, distributionsstructural
observation.schema.jsonid, metricId, subjectType, subjectId, value, asOf, sourceId, confidence, dataModeexample✓ all observations
source.schema.jsonid, title, publisher, url, typeexample✓ all sources
series.schema.jsonid, title, metricId, subjectType, subjectId, unit, cadence, snapshots✓ all series
graph.schema.jsonnodes, edges, summaryexamplestructural
diff.schema.jsonversion, previousVersion, frozenPreviousSnapshot, valueLevelexamplestructural

Schemas are conservative and additive (draft-07): they pin the required, stable fields and allow additional properties, so new export fields never break a consumer. Enums cover stable value sets (subject type, data mode, confidence, source type, cadence). Not a guarantee of completeness or real-time data.

Machine-readable: schema-report/data.json · see the data dictionary and the developer guide.