wire up schema infer prototype