Schema versions and migration
The policy this record holds for the schemas of its own machine surfaces, and what the tree holds under it. It describes the shape of this record's output, and states nothing about any tracked document.
The policy
- Additive only within a major. A schema published at an address may gain a property. No property is removed from it, none is re-typed, and no value set is narrowed. A required key that becomes optional is listed below and not counted as a removal; that is this record's own reading, filed as a decision with the head that wrote this page, and the API contract does not state it.
- A breaking change is a new major. A removal, a re-typing or a narrowing takes a new address, whose major number in the address is one higher, and the earlier major is still emitted beside it for twelve months from the day the new major is first published.
- Every migration is a dated document with test vectors. Each major beyond 1 has one migration document, named for the major it introduces and dated by the commit that first published that major, holding vectors: an object as the earlier major emits it and the same object as the new major emits it.
The additive half of this policy is older than this page. The sentence
“A field is never removed and never re-typed” has stood in the v1 contract on
Developers since commit
a445fcf25, .
Every change listed under Non-additive changes
measured was made under major 1 against that sentence, and no
new major was published for it.
What is published
43 JSON Schema documents are published, under
one major:
v1.
No migration document is held, and none is owed: no major beyond 1 has been published, so no address for one is served.
| Surface | Address | Version |
|---|---|---|
| The OpenAPI document | /api/v1/openapi.json | info.version 1, OpenAPI 3.1.0 |
| The envelope every collection endpoint carries | /api/v1/schema/envelope.json | major 1; schema_version 1 |
| The evidence packet, one per tracked row | One JSON file per tracked row, linked from that row's page | schema_version 1; no JSON Schema document is published for it |
| Schema: address-series | /api/v1/schema/address-series.json | major 1 |
| Schema: archive | /api/v1/schema/archive.json | major 1 |
| Schema: calendar | /api/v1/schema/calendar.json | major 1 |
| Schema: candidates | /api/v1/schema/candidates.json | major 1 |
| Schema: change-events | /api/v1/schema/change-events.json | major 1 |
| Schema: citations | /api/v1/schema/citations.json | major 1 |
| Schema: clause-anchors | /api/v1/schema/clause-anchors.json | major 1 |
| Schema: clause-history | /api/v1/schema/clause-history.json | major 1 |
| Schema: compare | /api/v1/schema/compare.json | major 1 |
| Schema: concordance | /api/v1/schema/concordance.json | major 1 |
| Schema: concordance-occurrences | /api/v1/schema/concordance-occurrences.json | major 1 |
| Schema: conformance-fixtures | /api/v1/schema/conformance-fixtures.json | major 1 |
| Schema: conformance-readings | /api/v1/schema/conformance-readings.json | major 1 |
| Schema: coverage | /api/v1/schema/coverage.json | major 1 |
| Schema: crawlability | /api/v1/schema/crawlability.json | major 1 |
| Schema: definitions | /api/v1/schema/definitions.json | major 1 |
| Schema: diffs | /api/v1/schema/diffs.json | major 1 |
| Schema: events | /api/v1/schema/events.json | major 1 |
| Schema: findings | /api/v1/schema/findings.json | major 1 |
| Observation spec, version 1 | /api/v1/schema/gxp-obs-v1.json | major 1 |
| Observation spec, version 2 | /api/v1/schema/gxp-obs-v2.json | major 1 |
| Schema: instruments | /api/v1/schema/instruments.json | major 1 |
| Schema: modal-sentences | /api/v1/schema/modal-sentences.json | major 1 |
| Schema: observation-bundle | /api/v1/schema/observation-bundle.json | major 1 |
| Schema: observations | /api/v1/schema/observations.json | major 1 |
| Schema: precedents | /api/v1/schema/precedents.json | major 1 |
| Schema: probe | /api/v1/schema/probe.json | major 1 |
| Schema: probe-pointer | /api/v1/schema/probe-pointer.json | major 1 |
| Schema: probe-record | /api/v1/schema/probe-record.json | major 1 |
| Schema: reference-lists | /api/v1/schema/reference-lists.json | major 1 |
| Schema: regression-corpus | /api/v1/schema/regression-corpus.json | major 1 |
| Schema: relations | /api/v1/schema/relations.json | major 1 |
| Schema: revisions | /api/v1/schema/revisions.json | major 1 |
| Schema: rungs | /api/v1/schema/rungs.json | major 1 |
| Schema: search | /api/v1/schema/search.json | major 1 |
| Schema: series | /api/v1/schema/series.json | major 1 |
| Schema: series-index | /api/v1/schema/series-index.json | major 1 |
| Schema: series-pointer | /api/v1/schema/series-pointer.json | major 1 |
| Schema: signals | /api/v1/schema/signals.json | major 1 |
| Schema: timemap | /api/v1/schema/timemap.json | major 1 |
| Schema: timemap-index | /api/v1/schema/timemap-index.json | major 1 |
| Schema: verify-quote | /api/v1/schema/verify-quote.json | major 1 |
| Lifecycle of record, version 1 | /lifecycle/LIFECYCLE-v1.md | 1 |
| Lifecycle of record, version 2 | /lifecycle/LIFECYCLE-v2.md | 2 |
| Normalisation rules, version 1 | on the method page, which names each version's document | 1, in force from 2026-07-28 |
| Normalisation rules, version 2 | on the method page, which names each version's document | 2, in force from 2026-09-07 |
| Normalisation rules, version 3 | on the method page, which names each version's document | 3, in force from 2026-09-07 |
| Normalisation rules, version 4 | on the method page, which names each version's document | 4, in force from 2026-09-14 |
| Quotation rule, version 1 | /normalisation/QUOTATION-v1.md | 1 |
Not listed as schema versions: the derivation identifiers some payloads carry and the dataset version on Papers, which name a derivation or a release and not a schema.
On observation lines
Of 27,272 stored
observation lines with a day,
25,894 carry schema_version 1; 1,378 carry no schema_version.
A further 133,441 stored lines carry no day and are
outside that count, the bot-probe matrix among them:
133,441 carry schema_version 1. The normalisation_version a line states is
4;
how many lines state each, carry it as null or carry no key is counted on
Derivation methods.
The schema versions, the API major and a normalisation version are separate numbers that move separately. A normalisation version changes how a served body is reduced to the text a digest is taken over; it is not a change of schema, and each version is its own document.
Non-additive changes measured
Each schema document in the build is compared with the same document at the first commit that published it (no release holds a copy of the schema documents, and no release is published). Each commit that changed the schema registry is also compared with the one before it, and the build with the last of them, so a property published after a document's first commit and later removed is seen. A non-additive change is a property removed, a property whose type set changed, or a value set narrowed: an enum that loses a value, or an enum or constant where none stood. A change of format or pattern is not compared. A change found between two commits is listed where a deploy receipt shows that the state it ended and the state it made were each let through to the live site; one that no receipt shows on both sides is printed by the check on every run and not listed.
-
/api/v1/schema/archive.json,/$defs/item/properties/file_size: re-typed from integer to integer or null at commit5b2731c73, , under major 1 and without a new major, against the v1 contract. Recorded in a dated correction, which states how the earlier type was false of the payload served. The correction is dated 2026-11-05 because it was written before the commit landed; the commit's day is the day git states for it. -
/api/v1/schema/crawlability.json,/$defs/item/properties/crawlable: re-typed from boolean or null to string at commit5b2731c73, , under major 1 and without a new major, against the v1 contract. Recorded in a dated correction, which states how the earlier type was false of the payload served. The correction is dated 2026-11-05 because it was written before the commit landed; the commit's day is the day git states for it.
Keys no longer required
-
/api/v1/schema/gxp-obs-v2.json:observed_dateandsequenceare no longer required. A consumer that reads those keys can meet an object without them.
Each change listed here is re-derived from git on every build by
scripts/plants/b/test_schema_policy.py, which refuses a
build where a measured change is not listed, where a listed change is not
measured, or where a non-additive change at an address of an existing
major is committed after this page was first committed. That start is
where this record began to check the contract, not where the contract
began.
The API contract these schemas belong to is set out on Developers, and every correction of a published surface is on Corrections.
Last updated: