Using Contract Schema to generate test cases

Is there a way or has anyone tried to generate test cases from a schema? If I wanted to do that can anyone point me to where I would start?

Maybe not Test cases but test data?