A common problem is when, during development, the structure of the local secrets.json changes, and appsettings.json does not (by forgetfulness and negligence).
What are the options to prevent such errors? The complication is that secrets.json does not relate to the structure and hierarchy of the project, but is taken simply by reference.