Response Schema
The retrieval contract for get_abs_data, get_rba_table, and get_economic_series is checked in
at
schemas/response.schema.json.
Top-level shape
Section titled “Top-level shape”Every retrieval response is a JSON object with three keys:
metadata: source, dataset or table identifier, retrieval URL, and request-level metadata.series: long-form series descriptors.observations: long-form observations keyed byseries_id.
Metadata
Section titled “Metadata”Common fields include:
sourcedataset_idretrieval_urlretrieved_atserver_versiontruncated
Optional fields appear when relevant:
frequencyupdated_aftertitleandpublication_datesemanticstale,cached_at, andexpires_at
semantic appears on responses returned by get_economic_series. It records the requested
concept, resolved variant, requested bounds, resolved source-native bounds, and ABS/RBA target.
Series and observations
Section titled “Series and observations”series entries include series_id, label, optional unit, optional frequency, and a
dimensions map.
observations entries include date, series_id, nullable value, optional raw_value, a
dimensions map, optional status, and optional ABS comments.
Representative payloads live under
examples/payloads/
and are validated in CI.