Configuration AllowedUploadFiles and ImageFileTypes with json

I use Umbraco 9.2 and configure Umbraco using appsettings.json.
I would like to limit the uploading of images and file types. I have followed the instructions(image) on this page, but it shows me a schema mism. The logic is not applied either. I can still upload other images and files.

Does anyone know what I am doing wrong?

Thanks for an answer


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/108078-configuration-alloweduploadfiles-and-imagefiletypes-with-json