Class: JSON::Schema::HyperDraft1

Inherits:
Draft1 show all
Defined in:
lib/json-schema/validators/hyper-draft1.rb

Instance Attribute Summary

Attributes inherited from Validator

#attributes, #default_formats, #formats, #names, #uri

Instance Method Summary collapse

Methods inherited from Validator

#extend_schema_definition, #metaschema, #validate

Constructor Details

#initializeHyperDraft1

Returns a new instance of HyperDraft1.



5
6
7
8
# File 'lib/json-schema/validators/hyper-draft1.rb', line 5

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