Sha256: 014fde8f7a3f40fbaec9573a013cb78852a57e1928e2f6d3686aafdf0ee0cd01
Contents?: true
Size: 496 Bytes
Versions: 6
Compression:
Stored size: 496 Bytes
Contents
# frozen_string_literal: true module JSONSchemer module Draft4 module Vocab ALL = Draft6::Vocab::ALL.dup ALL.transform_keys! { |key| key == '$id' ? 'id' : key } ALL.delete('contains') ALL.delete('propertyNames') ALL.delete('const') ALL.delete('examples') ALL.merge!( 'type' => Validation::Type, 'exclusiveMaximum' => Validation::ExclusiveMaximum, 'exclusiveMinimum' => Validation::ExclusiveMinimum ) end end end
Version data entries
6 entries across 6 versions & 1 rubygems