add bool value and string regular expression support in schema
add exception type in error output