type

DataPoint

The values of a series at one point on each of the two time axes, as resolved by the dataPoint query.

A data point is the unit in which the catalog publishes a change: all values of a series are versioned together, so they share one validFrom and one knownFrom and can never be read at inconsistent states of the two time axes.

Felder

validFrom: LocalDate!

The date from which the values of this data point apply as a matter of law: the first day of the validity interval that this data point opens.

This is a property of the data point, not of the series: the earliest validity date the series covers at all is Series.coveredFrom.

knownFrom: LocalDate!

The date from which this data point was known to the catalog: the day on which its values were published here. For a value that was corrected retroactively, this date is later than its validFrom.

Together with validFrom it identifies the exact version of the value that answered the query, which is what makes a past run reproducible.

draft: Boolean!

Whether this data point is a draft: at least one of its legal sources, whatever its role, refers to a document of type DRAFT. Its values thus rest on a statute or ordinance that has not been promulgated and may still change or never take effect.

The legal sources of a draft describe the law as it would be if every draft among them were promulgated as it stands. A draft of the annual ordinance, for example, is the source with role DECLARING, and a draft statute that amends a provision the values rest on is a source with role AMENDMENT. Drafts are only returned if the query asks for them with includeDrafts; they are meant for planning and must not be used where a binding value is required.

values: [DataPointValue!]!

The values that apply for the requested combination of validOn and knownOn — one entry per value part of the series, so for the reference value of German social insurance one entry for the annual and one for the monthly amount.

Which keys appear follows from the series, not from the individual data point: by convention of the catalog, every data point of a series carries the same value parts. Nothing in the API enforces this, and the order of the entries is the order of the catalog entry rather than a guaranteed part of the contract — address a value by its key, never by its position.

The list itself is never null; a dataPoint query that finds no data point returns null for the whole DataPoint instead.

value(…): DataPointValue

The value of a single value part of this data point: the entry of values whose key equals the argument.

Returns null if this data point carries no value under key. As with the queries, a null result is not an error.

Argumente
key: String!

The key of the value part, matched exactly, for example jahr or monat; one of the keys listed in Series.valueParts.

legalSources: [LegalSource!]!

The legal sources on which the values of this data point rest, each with its role and the exact provision.

The list is the evidence for the values: it names the provision that defines the calculation value, the one that authorizes fixing its amount, the one that states it, and the amendments needed to read them in their current version, which LegalSource.consolidatedText spells out. By convention of the catalog, every data point carries at least one source with role DECLARING. For a draft, the sources describe the law as if its drafts were promulgated as they stand, see DataPoint.draft.

The sources belong to the data point, not to the series, so a correction published later can rest on different sources. The order is the order of the catalog entry and not a guaranteed part of the contract.