forked from alliance-genome/agr_schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
publicationRef.json
18 lines (18 loc) · 1.01 KB
/
publicationRef.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Publication reference",
"description": "An basic entry for defining a ref to a publication",
"id": "publicationRef.json#",
"type": "object",
"properties": {
"modPublicationId": {
"$ref" : "globalId.json#/properties/globalId",
"description": "The ID from the data provider that describes the publication at the data provider site. ie: the pub id from a MOD. This is useful and required as many MODs have non-pubmed ids that are the reference for bulk-submission data, curator annotations, etc..."
},
"pubMedId": {
"$ref" : "globalId.json#/properties/globalId",
"description": "The ID from the data provider that describes the publication at the data provider site. ie: the pub id from a MOD. This is useful and required as many MODs have non-pubmed ids that are the reference for bulk-submission data, curator annotations, etc..."
}
},
"anyOf": [{"required": ["modPublicationId"]},{"required": ["pubMedId"]}]
}