This tool is used to validate OCFL content against the requirements of the OCFL specification. Although the validator does not provide complete coverage of all the requirements in the specification, the coverage is almost complete and documented on the validation_status page.
The validator can be run over the entire OCFL storage root, or just over individual OCFL objects.
These instructions include a "quick start" to get an initial, experimental, testing environment setup. Once the basic setup/execution details have been established, the "real" tests should be performed on a production-like system.
git clone https://github.com/zimeon/ocfl-py.git pip install . |
For example:
python3 ocfl-validate.py /tmp/fcrepo/data/ocfl-root/ |
For example:
python3 ocfl-validate.py /tmp/fcrepo/data/ocfl-root/085/648/691/08564869163bce36f95f056928bc4586c2c24c7dbd6473f10db0d71df13027c0/ |