-
Notifications
You must be signed in to change notification settings - Fork 0
/
category_values_pair_schema.json
39 lines (39 loc) · 1.23 KB
/
category_values_pair_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
{
"id": "http://biocaddie.github.io/dats/category_values_pair_schema.json#",
"$schema": "http://json-schema.org/draft-04/schema",
"title": "DATS extension mechanism",
"description": "Extension mechanism for DATS, which allows to add extra properties to the entities. It should be used only for cases where there are no specific properties to deal with the desired property.",
"type": "object",
"properties": {
"@context": {
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"@type": { "type": "string", "enum": [ "CategoryValuesPair" ]},
"category": {
"description": "A characteristic or property about the entity this object is associated with.",
"type": "string"
},
"categoryIRI": {
"description": "The IRI corresponding to the category, if associated with an ontology term.",
"type": "string",
"format": "uri"
},
"values": {
"description": "A set of (annotated) values associated with the cateogory.",
"type": "array",
"items": {
"items": {
"$ref" : "http://biocaddie.github.io/dats/annotation_schema.json#"
}
}
}
},
"additionalProperties": false
}