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. For a detailed description of the (default) schema see "MARC21 structure in JSON".
marcvalidate
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
To install MARC::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MARC::Schema
CPAN shell
perl -MCPAN -e shell install MARC::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.