def build_schema(**args)
      return args[:serializer].new(self).build_schema(args) if args[:serializer]

      if (serializer = find_serializer(args[:for]))
        return serializer.new(self).build_schema(args)
      end

      Surrealist.build_schema(instance: self, **args)
    end
def build_schema(**args)
      return args[:serializer].new(self).build_schema(args) if args[:serializer]

      if (serializer = find_serializer(args[:for]))
        return serializer.new(self).build_schema(args)
      end

      Surrealist.build_schema(instance: self, **args)
    end
Invokes +Surrealist+'s class method +build_schema+