Add JSON schema for "unmanaged-files" scope

This is a replacement for #139. It sacrifices speed for a more thorough validation.
The error messages also would need to be cleaned up.
I would use a pattern here.

"pattern": "^dir$"