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 the long form "extracted_dir" and so on. It isnt used that often.