logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

marcvalidate - Validate a file with MARC21 records

Author

       Johann Rolschewski <jorol@cpan.org>

Description

       "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/>.

License

       This library is free software; you can redistribute it and/or modify it under the same terms as Perl
       itself.

Name

       marcvalidate - Validate a file with MARC21 records

See Also

       Catmandu::Validator

       JSON::Schema

       PICA::Schema

       MARC::Lint

perl v5.40.0                                       2024-11-15                                   MARCVALIDATE(1p)

Synopsis

         $ 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

See Also