I'm working on a web app that allows users to run checks on each MARC record in a MARC batch file, so they can quickly assess the quality of those records. The idea is when batches of records are received (like for shelf ready books), they can generate a report of records to inspect, based on likely indicators of poor record quality.
Some examples (from our cataloger) include:
- If the record status (leader/05) is not 'c' or 'n', the record might be incomplete.
- If the record field 300$a contains "p." or"v." or "pages", but no numbers.
- If none of the subject fields (6xx) has a second indicator of 0 (meaning no LC headings are included)
Users need to be abel to create their own reports, so I'd like to create a form that helps users build queries by suggesting /validating valid permutations of Fields, subfields and indicators. It shouldn't suggest or allow users to create a check for 245$q because that is (hopefully) not going to exist in any record.
The MARCXML schema doesn't validate to that level of detail. Can I find this data in a format I can use programmaticly?