Add RO-Crate validation and linting / maybe also some repair functions
No due date
33% complete
This milestone is to track adding validation for Crates that can be run inside other apps such as Crate-0.
There will eventually be four levels:
- Core syntax -- check that the crate is json-ld, is flat, has a context and a root dataset
- [ ] Metadata compliance -- check that the crate has the right basic metadata, name, datePublished, license. Warnings abo…
This milestone is to track adding validation for Crates that can be run inside other apps such as Crate-0.
There will eventually be four levels:
- Core syntax -- check that the crate is json-ld, is flat, has a context and a root dataset
- [ ] Metadata compliance -- check that the crate has the right basic metadata, name, datePublished, license. Warnings about common issues, are all the terms defined
- DataEntity checking -- optionally check if files are present using a passed-in file access function
- Repair options, such as changing missing path-URIs to #references, adding local Classes and Props for missing terms
- Call a profile validator for further checking
Will work with the RO-Crate community to:
- Define some error codes
- Tie these to (a future version on) the RO-Crate spec