/schema

DataCite Metadata Schema Repository

Primary LanguageJava

DataCite Schema Repository

This repository holds the official metadata schemas from DataCite as required by the DataCite Metadata Store.

It contains the schemas itself along with examples and documentation. There is also a small maven project to test the schemas for consistency.

If you have any comments or questions regarding the schema please post them in our Google Group: https://groups.google.com/forum/?hl=en&fromgroups#!forum/datacite-metadata

Schemas

Each schema has its own folder under /www/meta e.g. /www/meta/kernel-2.0/. This directory is allowed to contain only one xsd. The directory structure is as follow:

/www/meta/{schema-name}/{filename}.xsd   root xsd
/www/meta/{schema-name}/include/         referenced xsd's
/www/meta/{schema-name}/example/         example xml files
/www/meta/{schema-name}/doc/             documentation (pdf's)

The /www directory will be published (as root) at http://schema.datacite.org, e.g.

http://schema.datacite.org/meta/kernel-2.0/metadata.xsd

Tests

There are tests to check the directory structure, existence of examples, validity of the schemas, and validity of the examples.

You can execute the tests via

mvn test