If you want to raise an error if !data.is_a?(String), you can't wrap that code in a if data.is_a?(String)
Fix merge on lib/json-schema/attributes/format.rb
Re-apply 9adebb51e0d003b4ab6850ae5ea96cbbde943b84 Improved date-time regex to now check if there is zero or one of : in timezone
Remove the line that would never be run in the old version of the format validation code
Merge branch 'patch-1' of https://github.com/jpmckinney/json-schema into jpmckinney-patch-1
Still check for string type on each format currently supported.