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