lib/json-schema/attributes/properties_v4.rb in json-schema-4.0.0 vs lib/json-schema/attributes/properties_v4.rb in json-schema-4.1.0
- old
+ new
@@ -4,10 +4,10 @@
class Schema
class PropertiesV4Attribute < PropertiesAttribute
# draft4 relies on its own RequiredAttribute validation at a higher level, rather than
# as an attribute of individual properties.
def self.required?(schema, options)
- options[:strict] == true
+ options[:allPropertiesRequired] == true
end
end
end
end