curvenote / meca

MIT License
0 stars 0 forks source link

Initial MECA validation code #1

Closed rowanc1 closed 1 year ago

rowanc1 commented 1 year ago

The command meca validate meca.zip should:

  1. validate that it is a zip file
  2. has a manifest in there
  3. validate the manifest against the DTD, which will be committed to the repository
  4. make sure there is a JATS article in there (item-type="article-metadata"), this should be validated with JATS as well
  5. validate that the rest is in the meca bundle
  6. we should also provide conventions around the execution environment, etc.

The Programmatic interface should look something like:

This should also write the meca file, this should primarily just be around writing the manifest.xml

rowanc1 commented 1 year ago

Done in #2!