Simplified the valid schema types to 4: string, number, date, boolean.