check_data_extract_spec function

Check data extract specification