Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

rero/reroils-data-legacy

Repository files navigation

REROILS-DATA

rero21 ils data module

This is an experimental developer preview release.

TODO: Please provide feature overview of module

Further documentation is available on https://reroils-data.readthedocs.io/

DOJSON

MARC21 to JSON

MARC21 to MARCXML

yaz-marcdump -o marcxml MARC21.mrc > MARCXML.xml

MARCXML to JSON

dojson help
dojson --help
create json file
dojson -l marcxml -i MARCXML.xml do marc21tojson > REROILS.json
show missing tags
dojson -l marcxml -i MARCXML.xml missing marc21tojson
validate with json schema
dojson -l marcxml -i MARCXML.xml do marc21tojson validate ./reroils_data/jsonschemas/records/record-v0.0.1.json