class JSON::Schema::PropertiesV4Attribute

Public Class Methods

required?(schema, options) click to toggle source

draft4 relies on its own RequiredAttribute validation at a higher level, rather than as an attribute of individual properties.

# File lib/json-schema/attributes/properties.rb, line 69
def self.required?(schema, options)
  options[:strict] == true
end