Sha256: 6882e83045b6d4b3828a72898a3d925954644f70b380a610d833c1458947a092

Contents?: true

Size: 852 Bytes

Versions: 2

Compression:

Stored size: 852 Bytes

Contents

# frozen_string_literal: true

module JSI
  module Schema::Application::InplaceApplication::Draft04
    include Schema::Application::InplaceApplication
    include Schema::Application::InplaceApplication::Ref
    include Schema::Application::InplaceApplication::Dependencies
    include Schema::Application::InplaceApplication::SomeOf

    # @private
    def internal_inplace_applicate_keywords(instance, visited_refs, &block)
      internal_applicate_ref(instance, visited_refs, throw_done: true, &block)

      # self is the first applicator schema if $ref has not short-circuited it
      yield self

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

      # 5.5.3.  allOf
      # 5.5.4.  anyOf
      # 5.5.5.  oneOf
      internal_applicate_someOf(instance, visited_refs, &block)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jsi-0.7.0 lib/jsi/schema/application/inplace_application/draft04.rb
jsi-0.6.0 lib/jsi/schema/application/inplace_application/draft04.rb