Sha256: d39fd6235e5ad6eafe69959821774207507ef3601c884225ec88988f6cb587e9

Contents?: true

Size: 260 Bytes

Versions: 11

Compression:

Stored size: 260 Bytes

Contents

module JSON
  class Schema

    class HyperDraft2 < Draft2
      def initialize
        super
        @uri = JSON::Util::URI.parse("http://json-schema.org/draft-02/hyper-schema#")
      end

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

Version data entries

11 entries across 10 versions & 3 rubygems

Version Path
json-schema-ouidou-2.9.1 lib/json-schema/validators/hyper-draft2.rb
json-schema-ouidou-2.9.0 lib/json-schema/validators/hyper-draft2.rb
json-schema-3.0.0 lib/json-schema/validators/hyper-draft2.rb
mountapi-0.11.1 vendor/json-schema/lib/json-schema/validators/hyper-draft2.rb
mountapi-0.11.1 vendor/bundle/ruby/2.7.0/bundler/gems/json-schema-2253a5ee6679/lib/json-schema/validators/hyper-draft2.rb
json-schema-2.8.1 lib/json-schema/validators/hyper-draft2.rb
json-schema-2.8.0 lib/json-schema/validators/hyper-draft2.rb
json-schema-2.7.0 lib/json-schema/validators/hyper-draft2.rb
json-schema-2.6.2 lib/json-schema/validators/hyper-draft2.rb
json-schema-2.6.1 lib/json-schema/validators/hyper-draft2.rb
json-schema-2.6.0 lib/json-schema/validators/hyper-draft2.rb