Class: JSON::Schema::HyperDraft3
- Defined in:
- lib/json-schema/validators/hyper-draft3.rb
Instance Attribute Summary
Attributes inherited from Validator
#attributes, #default_formats, #formats, #names, #uri
Instance Method Summary collapse
-
#initialize ⇒ HyperDraft3
constructor
A new instance of HyperDraft3.
Methods inherited from Validator
#extend_schema_definition, #metaschema, #validate
Constructor Details
#initialize ⇒ HyperDraft3
Returns a new instance of HyperDraft3.
4 5 6 7 |
# File 'lib/json-schema/validators/hyper-draft3.rb', line 4 def initialize super @uri = JSON::Util::URI.parse('http://json-schema.org/draft-03/hyper-schema#') end |