The error itself is caused by the yup validator. As it doesn’t accept the index field from the Content-Type builder form. If you add a field manually to {model}.settings.json it will not use yup validator, this is why it works when you modify the file manually.