Sha256: 8bee822b900a3af3a9f194ce8a8b3fae707dbcbdba9f59b740244344bf156681
Contents?: true
Size: 261 Bytes
Versions: 2
Compression:
Stored size: 261 Bytes
Contents
module JSON class Schema class HyperDraft4 < Draft4 def initialize super @uri = Addressable::URI.parse("http://json-schema.org/draft-04/hyper-schema#") end JSON::Validator.register_validator(self.new) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
json-schema-2.5.2 | lib/json-schema/validators/hyper-draft4.rb |
json-schema-2.5.1 | lib/json-schema/validators/hyper-draft4.rb |