Sha256: 17c6212b7b0ec3729f45e20b96e4eebc720e3995480446ee500487f6128ec87e
Contents?: true
Size: 261 Bytes
Versions: 2
Compression:
Stored size: 261 Bytes
Contents
module JSON class Schema class HyperDraft1 < Draft1 def initialize super @uri = Addressable::URI.parse("http://json-schema.org/draft-01/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-draft1.rb |
json-schema-2.5.1 | lib/json-schema/validators/hyper-draft1.rb |