change: useless code has been removed.
change: to set .name field into instance of schema data.
fix: should be able to set both of default and notNull values.
fix: should check a pattern whether or not to match a default value if default value exists.
fix: should set an instance name to error message for understandability reasons.
fix: should check a default value whether or not to match a pattern value if pattern value exists.