Skip to content

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:

  1. Core syntax -- check that the crate is json-ld, is flat, has a context and a root dataset
  2. [ ] 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:

  1. Core syntax -- check that the crate is json-ld, is flat, has a context and a root dataset
  2. [ ] Metadata compliance -- check that the crate has the right basic metadata, name, datePublished, license. Warnings about common issues, are all the terms defined
  3. DataEntity checking -- optionally check if files are present using a passed-in file access function
  4. Repair options, such as changing missing path-URIs to #references, adding local Classes and Props for missing terms
  5. Call a profile validator for further checking

Will work with the RO-Crate community to:

  1. Define some error codes
  2. Tie these to (a future version on) the RO-Crate spec
Loading