module JSI
module Schema::Application::InplaceApplication::Dependencies
def internal_applicate_dependencies(instance, visited_refs, &block)
if keyword?('dependencies')
value = schema_content['dependencies']
if value.respond_to?(:to_hash)
value.each_pair do |property_name, dependency|
if dependency.respond_to?(:to_ary)
else
if instance.respond_to?(:to_hash) && instance.key?(property_name)
subschema(['dependencies', property_name]).each_inplace_applicator_schema(instance, visited_refs: visited_refs, &block)
end
end
end
end
end
end
end
end