There is a lack of types for the slice schema. Making it type safe can make it easier to catch errors. We can make use of the types to validate if the schemas are valid as well. Ideally it should be flagged up when the user uses the struct