Create schema out of submission data.