Sha256: 850ce9d0a82a6a6aeb5d6b4505103460aebaf37ae380b80fcf09b3ed722f9648
Contents?: true
Size: 387 Bytes
Versions: 9
Compression:
Stored size: 387 Bytes
Contents
require 'json-schema/attributes/properties' module JSON 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[:allPropertiesRequired] == true end end end end
Version data entries
9 entries across 9 versions & 1 rubygems