Class: Schemacop::V3::ObjectNode

Inherits:
Node
  • Object
show all
Defined in:
lib/schemacop/v3/object_node.rb

Instance Attribute Summary

Attributes inherited from Node

#as, #default, #description, #name, #options, #parent, #title

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#cast, #children, #create, create, dsl_methods, #dsl_node, #dsl_scm, #initialize, #required?, resolve_class, #schemas, supports_children, supports_children_options, #used_external_schemas, #validate

Constructor Details

This class inherits a constructor from Schemacop::V3::Node

Class Method Details

.allowed_optionsObject



4
5
6
# File 'lib/schemacop/v3/object_node.rb', line 4

def self.allowed_options
  super + %i[classes strict]
end

Instance Method Details

#as_jsonObject



8
9
10
# File 'lib/schemacop/v3/object_node.rb', line 8

def as_json
  {} # Not supported by Json Schema
end