Welcome to rocrate-validator’s documentation!#
rocrate-validator (available as roc-validator on PyPI) is a Python package to validate RO-Crates
against different profiles, including the base RO-Crate profile and various extensions.
Features#
Validates RO-Crates against the profiles they declare to conform to. Currently, validation for the following profiles is implemented:
RO-Crate 1.3 (base profile, used by default)
RO-Crate 1.2 (base profile)
RO-Crate 1.1 (base profile)
Filters profile validation rules by requirement level (i.e.,
REQUIRED,RECOMMENDED,OPTIONAL).Provides detailed information about the issues found during validation.
Supports validation of RO-Crates stored locally as directories or as ZIP archives (
.zipfiles) or remotely accessible via HTTP or HTTPS (e.g.,http://example.com/ro-crate.zip).Supports CLI-based validation as well as programmatic validation (so it can easily be used by Python code).
Extensible framework: new RO-Crate profiles can be added, implementing profile requirements as SHACL shapes and/or Python code.
Getting Started
Using the Validator
Profile Development
About