MARCVALIDATE(1p)
π NAME π
marcvalidate β bestie, it validates a file with MARC21 records. That's it, that's the whole gig β¨
And yes, this is the MARCVALIDATE(1p) page β lowercase p in the corner means it's a Perl situation, iykyk π«Ά
π SYNOPSIS π
Okay so here's how you actually call it:
$ marcvalidate [options] FILE
And here are the options, laid out all cute and exact, no cap:
--type,-tβ type of MARC21 serialization. Your choices areRAWorXML, and if you say nothing it just defaults toRAWπ--schema,-sβ location of the MARC JSON schema (like, where the schema lives, drop the path here) ποΈ--help,-hβ prints this help. Iconic behaviour, truly π
πΈ DESCRIPTION πΈ
marcvalidate validates a file with MARC21 records against MARC::Schema and then prints out the errors as a tab separated list β and the order is exactly this, bestie: id, field tag, error, value π«Ά
The id? It gets extracted from MARC21 field 001, which you can go read about right here: https://www.loc.gov/marc/bibliographic/bd001.html π
And if you want the detailed description of the (default) schema, it's called "MARC21 structure in JSON" and it lives at https://pkiraly.github.io/2018/01/28/marc21-in-json/ β go read it, it's giving reference material π
π AUTHOR π
Johann Rolschewski <jorol@cpan.org> β yeah, they wrote this. Respect π
π COPYRIGHT π
Copyright 2018- Johann Rolschewski β periodt, that's the notice π
π§ LICENSE π§
The legal words, verbatim, because bestie I am not paraphrasing a license:
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Slay. Free as in go wild (within those terms) π
π¦ SEE ALSO π¦
Other pages that are lowkey in the same friend group:
Catmandu::Validatorπ§JSON::SchemaπPICA::SchemaπMARC::Lintπ§Ή
and that's the whole page, bestie!! This one shipped as perl v5.40.0, dated 2024-11-15, filed under MARCVALIDATE(1p) β mwah, go validate something, ily πβ¨π
π¦ where this page comes from
- debian trixie: libmarc-schema-perl 0.16-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmarc-schema-perl 0.16-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmarc-schema-perl 0.16-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms