DataCite Metadata Schema Repository
Java
Switch branches/tags
Nothing to show
Pull request Compare This branch is 354 commits behind datacite:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/test/java/org/datacite/schema
www
.gitignore
README.md
pom.xml

README.md

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.

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