Checks that every block in the spec references a valid registry entry,
that its parameters are known and properly typed, and that every
parameter flagged required in the registry carries a value.
Examples
spec <- av_report_template_default()
validate_report_spec(spec)