Sha256: 8c05dace01269884789f720332d13732c69d27a277d1f8f8d6ed30edb29f6f29

Contents?: true

Size: 1.7 KB

Versions: 19

Compression:

Stored size: 1.7 KB

Contents

# frozen_string_literal: true

module JSI
  module Schema::Validation
    autoload :Draft04, 'jsi/schema/validation/draft04'
    autoload :Draft06, 'jsi/schema/validation/draft06'
    autoload :Draft07, 'jsi/schema/validation/draft07'

    # ref application
    autoload :Ref, 'jsi/schema/validation/ref'

    # inplace subschema application
    autoload :AllOf, 'jsi/schema/validation/someof'
    autoload :AnyOf, 'jsi/schema/validation/someof'
    autoload :OneOf, 'jsi/schema/validation/someof'
    autoload :IfThenElse, 'jsi/schema/validation/ifthenelse'

    # child subschema application
    autoload :Items,    'jsi/schema/validation/items'
    autoload :Contains,  'jsi/schema/validation/contains'
    autoload :Properties, 'jsi/schema/validation/properties'

    # property names subschema application
    autoload :PropertyNames, 'jsi/schema/validation/property_names'

    # any type validation
    autoload :Type, 'jsi/schema/validation/type'
    autoload :Enum, 'jsi/schema/validation/enum'
    autoload :Const, 'jsi/schema/validation/const'
    autoload :Not,  'jsi/schema/validation/not'

    # object validation
    autoload :Required,    'jsi/schema/validation/required'
    autoload :Dependencies, 'jsi/schema/validation/dependencies'
    autoload :MinMaxProperties, 'jsi/schema/validation/object'

    # array validation
    autoload :ArrayLength, 'jsi/schema/validation/array'
    autoload :UniqueItems, 'jsi/schema/validation/array'

    # string validation
    autoload :StringLength, 'jsi/schema/validation/string'
    autoload :Pattern, 'jsi/schema/validation/pattern'

    # numeric validation
    autoload :MultipleOf, 'jsi/schema/validation/numeric'
    autoload :MinMax,    'jsi/schema/validation/numeric'
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
jsi-0.8.1 lib/jsi/schema/validation.rb
jsi-0.8.0 lib/jsi/schema/validation.rb
jsi-dev-0.0.4 lib/jsi/schema/validation.rb
jsi-dev-0.0.5 lib/jsi/schema/validation.rb
jsi-dev-0.0.6 lib/jsi/schema/validation.rb
jsi-dev-0.0.7 lib/jsi/schema/validation.rb
jsi-dev-0.0.8 lib/jsi/schema/validation.rb
jsi-dev-0.0.8.pre.maruku lib/jsi/schema/validation.rb
jsi-dev-0.0.7.pre.rdiscount lib/jsi/schema/validation.rb
jsi-dev-0.0.6.pre.redcarpet lib/jsi/schema/validation.rb
jsi-dev-0.0.5.pre.kramdown lib/jsi/schema/validation.rb
jsi-dev-0.0.4.pre.commonmarker lib/jsi/schema/validation.rb
jsi-dev-0.0.0.pre.commonmarker lib/jsi/schema/validation.rb
jsi-dev-0.0.0.pre.kramdown lib/jsi/schema/validation.rb
jsi-dev-0.0.0.pre.redcarpet lib/jsi/schema/validation.rb
jsi-dev-0.0.0.pre.rdiscount lib/jsi/schema/validation.rb
jsi-dev-0.0.0.pre.maruku lib/jsi/schema/validation.rb
jsi-dev-0.0.3 lib/jsi/schema/validation.rb
jsi-dev-0.0.2 lib/jsi/schema/validation.rb