[schema] convert type values to arrays

allows simpler input of types, while ensuring it remains easy to consume