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_v4.rb, line 8 def self.required?(schema, options) options[:strict] == true end