Sha256: affe83f30a31132d9732f3deb6d6aa177d7c692caa413a2333e80bf1f860c254
Contents?: true
Size: 372 Bytes
Versions: 7
Compression:
Stored size: 372 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[:strict] == true end end end end
Version data entries
7 entries across 6 versions & 3 rubygems