Higher-order function that creates a csvToJson wrapper with schema validation.
Zod or Yup schema
Adapter-specific options
Function that takes csv and options, returns validated data
Higher-order function that creates a csvToJson wrapper with schema validation.