forked from datatagsuite/schema
-
Notifications
You must be signed in to change notification settings - Fork 4
/
related_identifier_info_schema.json
51 lines (51 loc) · 1.42 KB
/
related_identifier_info_schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"id": "https://w3id.org/dats/schema/related_identifier_info_schema.json",
"$schema": "http://json-schema.org/draft-04/schema",
"title": "DATS related identifier information schema",
"description": "Information about an idenfier of related resources.",
"type": "object",
"properties": {
"@context": {
"description": "The JSON-LD context",
"anyOf": [
{
"type": "string"
},
{
"type": "object"
},
{
"type": "array"
}
]
},
"@id": {
"description": "The JSON-LD identifier",
"type": "string", "format": "uri"
},
"@type": {
"description": "The JSON-LD type",
"type": "string", "enum": [ "RelatedIdentifier" ]},
"identifier": {
"description": "An identifier of a related resource.",
"type" : "string"
},
"identifierSource": {
"description": "The identifier source represents information about the organisation/namespace responsible for minting the identifiers. It must be provided if the identifier is provided.",
"type" : "string"
},
"relationType": {
"description": "The type of the relationship corresponding to this identifier.",
"anyOf": [
{ "type" : "string" },
{ "type": "string",
"format": "uri"
},
{
"$ref": "annotation_schema.json#"
}
]
}
},
"additionalProperties": false
}