---
title: "Catch a renamed or removed field in Strapi schema files"
description: "A pull request shows that a line in schema.json changed. It does not show which site, search index or report reads the field."
slug: "h1-need"
type: article
locale: en-US
canonical: "https://www.coremodels.io/connector/strapi/h1-need"
updatedAt: "2026-12-04T12:00:00+00:00"
last_updated: "2026-12-04T12:00:00+00:00"
---

# Catch a renamed or removed field in Strapi schema files

Strapi keeps the structure of a content type in `schema.json`. At the next start it makes the database match the file. Since version 5.57 a rename in the Content-Type Builder keeps the data. The name in the API still changes, so each site that reads the old name finds nothing.

## An example

Take FoodAdvisor, the demo application that Strapi publishes. In 2022 its authors replaced the four price values of a restaurant and removed eight fields from the article and the restaurant.

## What an agent sees

An agent that edits `schema.json` sees the file as it is now. It does not see what was there when the sites were built. The governed model keeps that version, so the agent can compare first.

## What you can do today

- The `schema.json` files of your content types. They are in your repository already. CoreModels needs no login to Strapi.
- Your assistant imports them into a CoreModels project.
- After the next change, the assistant audits the new files. The answer is pass or fail and names each removed field and each changed type.
- The same check runs in a pull request with one command.

[See the recorded run, with every prompt and answer](/recipe/strapi/schema-json-change-gate)

## What it does not do

- A field that becomes required is not reported.
- A content type that is deleted is not reported. Its fields are no longer compared.
- CoreModels reads the files you give it. It does not connect to your Strapi server and it runs no database migration.

## Recipes

- [Catch a renamed or removed field in Strapi schema files](https://www.coremodels.io/recipe/strapi/schema-json-change-gate): For every site that reads the API, a renamed field is a field that is gone.

[Start building](https://www.coremodels.io/start)

14-day free trial. Builder $49/mo after the trial. Cancel any time.

## Sitemap

- [Sitemap in markdown](https://www.coremodels.io/sitemap.md)
