validate_spec.RdChecks that the datasets and variables tables carry the columns
write_submission() and check_submission() rely on, that dataset/variable
references are consistent, and that there are no duplicate names. Every
problem found is collected and reported in a single error.
validate_spec(spec)The validated spec, invisibly.