The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

marcvalidate - Validate a file with MARC21 records

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

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. For a detailed description of the (default) schema see "MARC21 structure in JSON".

AUTHOR

Johann Rolschewski <jorol@cpan.org>

COPYRIGHT

Copyright 2018- Johann Rolschewski

LICENSE

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

SEE ALSO

Catmandu::Validator

JSON::Schema

PICA::Schema

MARC::Lint