A wainwright is a craftsman who builds and repairs wagons as a whole, not just the wheels. However, wagon wheels are often a significant part of their work, so they do have expertise in crafting and maintaining wheels as part of the overall wagon construction.