MARCVALIDATE(1p)

πŸ“¦
version 0.16 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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 are RAW or XML, and if you say nothing it just defaults to RAW 🌈
  • --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 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