-
Notifications
You must be signed in to change notification settings - Fork 6
Description
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.