Skip to content

Determine whether DATS Identifiers must always be URIs. #8

@jonathancrabtree

Description

@jonathancrabtree

The following three DATS schemas all define "identifier" as having format "uri":

  • identifier_info_schema.json
  • alternate_identifier_info_schema.json
  • related_identifier_info_schema.json

However, in https://github.com/biocaddie/WG3-MetadataSpecifications/blob/master/json-instances/Uniprot-P77967.json there are identifiers like these:

{
"identifier": "http://identifiers.org/uniprot/P77967",
"identifierSource": "http://identifiers.org"
},
{
"identifier": "BA000022",
"identifierSource": "embl"
},
{
"identifier": "S74805",
"identifierSource": "PIR"
},
{
"identifier": "1NP7",
"identifierSource": "PDBsum"
},

I was under the impression that valid URIs have to specify a scheme, followed by ":", and that isn't the case for any of these ids except the very first one. What's the story here? Am I misunderstanding the meaning of "uri" or is this not DATS-compliant? I believe it does validate although the validator probably isn't checking the string format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions