Sha256: 07dc603258600a4f304b3ccce94b5daf6bb77661372487bb2a5aabcd8cc500fe

Contents?: true

Size: 254 Bytes

Versions: 9

Compression:

Stored size: 254 Bytes

Contents

module JSON
  class Schema
    class HyperDraft4 < Draft4
      def initialize
        super
        @uri = JSON::Util::URI.parse('http://json-schema.org/draft-04/hyper-schema#')
      end

      JSON::Validator.register_validator(new)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
json-schema-5.1.0 lib/json-schema/validators/hyper-draft4.rb
json-schema-5.0.1 lib/json-schema/validators/hyper-draft4.rb
json-schema-5.0.0 lib/json-schema/validators/hyper-draft4.rb
json-schema-4.3.1 lib/json-schema/validators/hyper-draft4.rb
json-schema-4.3.0 lib/json-schema/validators/hyper-draft4.rb
json-schema-4.2.0 lib/json-schema/validators/hyper-draft4.rb
json-schema-4.1.1 lib/json-schema/validators/hyper-draft4.rb
json-schema-4.1.0 lib/json-schema/validators/hyper-draft4.rb
json-schema-4.0.0 lib/json-schema/validators/hyper-draft4.rb