Binary search in oneOf