lib/schemacop/v3/hash_node.rb in schemacop-3.0.23 vs lib/schemacop/v3/hash_node.rb in schemacop-3.0.24

- old
+ new

@@ -107,9 +107,10 @@ # Validate specified properties # @properties.each_value do |node| result.in_path(node.name) do next if node.name.is_a?(Regexp) + result.error "Key #{node.name} must be given." if node.require_key? && !data_hash.include?(node.name) node._validate(data_hash[node.name], result: result) end end # Validate additional properties #