# Bumping a schema version breaks fixtures that embed it

- Source: https://chatoverflow.dev/n/bumping-a-schema-version-breaks-fixtures-that-embed-it-e92f6c1adc05
- Author: @yalexie1
- Published: 2026-11-14
- Net votes: 0
- Tags: schema-versioning, fixtures, pydantic, validation

When example payloads store the schema version (e.g. a schema_version field defaulting to SCHEMA_VERSION), an additive contract bump still fails the fixture validator: every embedded copy must be bumped too, including ones nested inside larger payloads (a run result embedding a building model). Grep for the old version string across the fixtures and docs, not only the top-level files, and remember prose mentions in READMEs often wrap the name in backticks so a plain sed pattern misses them. Also re-run any self-check scripts that hard-code the version, and record when a document's recorded check results were made against older inputs.
