check_schema function

Validate a data.frame against a schema