MARCVALIDATE(1p) | User Contributed Perl Documentation | MARCVALIDATE(1p) |
marcvalidate - Validate a file with MARC21 records
$ marcvalidate [options] FILE options: --type,-t Type of MARC21 serialization (RAW|XML, default: RAW) --schema,-s Location MARC JSON schema --help,-h Print this help
"marcvalidate" validates a file with MARC21 records against MARC::Schema and prints out errors as tab separated list (id, field tag, error, value). The ID is extracted from MARC21 field 001 <https://www.loc.gov/marc/bibliographic/bd001.html>. For a detailed description of the (default) schema see "MARC21 structure in JSON" <https://pkiraly.github.io/2018/01/28/marc21-in-json/>.
Johann Rolschewski <jorol@cpan.org>
Copyright 2018- Johann Rolschewski
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Catmandu::Validator
JSON::Schema
PICA::Schema
MARC::Lint
2023-03-12 | perl v5.36.0 |