Sha256: 9bc9b06efc14a153d17e8a2156c5e266c95dfdfd8621631303e52658e4abb457

Contents?: true

Size: 1.03 KB

Versions: 19

Compression:

Stored size: 1.03 KB

Contents

# frozen_string_literal: true

module JSI
  module Schema::Application::InplaceApplication::Draft07
    include Schema::Application::InplaceApplication::Ref
    include Schema::Application::InplaceApplication::Dependencies
    include Schema::Application::InplaceApplication::IfThenElse
    include Schema::Application::InplaceApplication::SomeOf

    # @private
    def internal_inplace_applicate_keywords(instance, visited_refs, &block)
      # json-schema 8.  Schema references with $ref
      internal_applicate_ref(instance, visited_refs, throw_done: true, &block)

      # self is the first applicator schema if $ref has not short-circuited it
      block.call(self)

      # 6.5.7.  dependencies
      internal_applicate_dependencies(instance, visited_refs, &block)

      # 6.6.1.  if
      # 6.6.2.  then
      # 6.6.3.  else
      internal_applicate_ifthenelse(instance, visited_refs, &block)

      # 6.7.1.  allOf
      # 6.7.2.  anyOf
      # 6.7.3.  oneOf
      internal_applicate_someOf(instance, visited_refs, &block)
    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

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