-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlicense_schema.json
63 lines (63 loc) · 1.99 KB
/
license_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
52
53
54
55
56
57
58
59
60
61
62
63
{
"id": "http://biocaddie.github.io/dats/license_schema.json#",
"$schema": "http://json-schema.org/draft-04/schema",
"title": "DATS license schema",
"description": "A legal document giving official permission to do something with a Resource. It is assumed that an external vocabulary will describe with sufficient granularity the permission for redistribution, modification, derivation, reuse, etc. and conditions for citation/acknowledgment.",
"type": "object",
"properties": {
"@context": {
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"@type": { "type": "string", "enum": [ "License" ]},
"identifier": {
"$ref": "http://biocaddie.github.io/dats/identifier_info_schema.json#"
},
"alternateIdentifiers": {
"type": "array",
"items": {
"$ref": "http://biocaddie.github.io/dats/alternate_identifier_info_schema.json#"
}
},
"relatedIdentifiers": {
"type": "array",
"items": {
"$ref": "http://biocaddie.github.io/dats/related_identifier_info_schema.json#"
}
},
"name": {
"description": "The name of the license.",
"type" : "string"
},
"version": {
"description": "The version of the license.",
"type" : "string"
},
"creators" : {
"description": "The person(s) or organization(s) responsible for writing the license.",
"type" : "array",
"items" : {
"oneOf": [
{"$ref" : "http://biocaddie.github.io/dats/person_schema.json#"},
{"$ref" : "http://biocaddie.github.io/dats/organization_schema.json#"}
]
},
"minItems" : 1
},
"extraProperties": {
"description": "Extra properties that do not fit in the previous specified attributes. ",
"type": "array",
"items": {
"$ref" : "http://biocaddie.github.io/dats/category_values_pair_schema.json#"
}
}
},
"additionalProperties": false,
"required": [ "name"]
}