datatagsuite / schema

DATS JSON schemas
https://datatagsuite.github.io/docs/html/dats.html
Other
11 stars 8 forks source link

Relax identifiers "format": "uri" #6

Closed agbeltran closed 6 years ago

agbeltran commented 6 years ago

Currently, the identifier related schemas include "format": "uri" while the original intention was to support both strings (for accession numbers that are not URIs) and URIs when available.

The examples we have at https://github.com/datatagsuite/examples demonstrate this, as we supported strings as identifiers in addition to URIs, but the problem was that the validator wasn't catching the "format": "uri"restriction.

This issue was originated here: https://github.com/dcppc/crosscut-metadata/issues/8 by @jonathancrabtree