Sign inSign up

michaljosefspacek/marc-validator

By michaljosefspacek

•Updated 11 months ago

Tool to validate records in MARC file.

Image
Developer tools
Data science
0

388

michaljosefspacek/marc-validator repository overview

⁠NAME

marc-validator - Tool to validate records in MARC file.

⁠HOW TO USE DOCKER IMAGE

⁠Install

docker pull michaljosefspacek/marc-validator:0.06

⁠Create shell function

⁠bash

$ cat .bashrc

marc-validator() {
        docker run --rm -v "$(realpath "$1"):/marc.xml" michaljosefspacek/marc-validator:0.06 -c "marc-validator -p /marc.xml"
}

⁠ACKNOWLEDGEMENTS

Development of this software has been made possible by institutional support for the long-term strategic development of the National Library of the Czech Republic as a research organization provided by the Ministry of Culture of the Czech Republic (DKRVO 2024–2028), Area 11: Linked Open Data.

⁠SEE ALSO

App::MARC::Validator⁠ App::MARC::Validator::Report⁠ MARC::Validator⁠

⁠AUTHOR

Michal Josef Špaček [email protected]⁠

http://skim.cz⁠

© 2025 Michal Josef Špaček

BSD 2-Clause License

⁠CHANGELOG

⁠0.01

  • First version

⁠0.02

⁠0.03

  • Fix of entry point.

⁠0.04

  • Add -i option to marc-validator tool to defined record id.
  • Fix check in case of invalid leader in Field008 plugin.
  • Fix check in case of invalid leader in Field040 plugin.
  • Fix field 008 presence.
  • Fix field 040e presence.
  • Rewrite identification of record id for reporting. Default value is control field 001. We could change it by definition of 'error_id_def' parameter.

⁠0.05

  • Add plugin for 035 field with checking of duplicite 035a value.

⁠0.06

Tag summary

Content type

Image

Digest

sha256:4060f7005…

Size

103 MB

Last updated

11 months ago

docker pull michaljosefspacek/marc-validator:0.06