-
Notifications
You must be signed in to change notification settings - Fork 0
/
study_group_schema.json
61 lines (61 loc) · 1.79 KB
/
study_group_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
{
"id": "http://biocaddie.github.io/dats/study_group_schema.json#",
"$schema": "http://json-schema.org/draft-04/schema",
"title": "DATS study group schema",
"description": "A collection of entities known as study subjects based on a set of specified criteria and rules; synonyms: population, cohort.",
"type": "object",
"properties": {
"@context": {
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"@type": { "type": "string", "enum": [ "StudyGroup" ]},
"identifier": {
"$ref": "http://biocaddie.github.io/dats/identifier_info_schema.json#"
},
"alternateIdentifiers": {
"description": "Alternate identifiers for the study group.",
"type": "array",
"items": {
"$ref": "http://biocaddie.github.io/dats/alternate_identifier_info_schema.json#"
}
},
"relatedIdentifiers": {
"description": "",
"type": "array",
"items": {
"$ref": "http://biocaddie.github.io/dats/related_identifier_info_schema.json#"
}
},
"name": {
"description": "The name of the study group.",
"type" : "string"
},
"size": {
"description": "The number of members in the group.",
"type" : "number"
},
"members" : {
"description": "The entities making up the study group.",
"type" : "array",
"items" : {
"$ref" : "http://biocaddie.github.io/dats/material_schema.json#"
}
},
"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" ]
}