Skip to content

Commit 717be83

Browse files
committed
first draft (TBD and further modified)
1 parent b33ae21 commit 717be83

12 files changed

+167
-108
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"_type": "core:TissueSampleCollectionStateStatistic",
3+
"required": [
4+
"attribute",
5+
"count"
6+
],
7+
"properties": {
8+
"attribute": {
9+
"type": "array",
10+
"minItems": 1,
11+
"uniqueItems": true,
12+
"_instruction": "Add all attributes (including age) common for the specified tissue sample count within the tissue sample collection state.",
13+
"_linkedTypes": [
14+
"controlledTerms:Disease",
15+
"controlledTerms:DiseaseModel",
16+
"controlledTerms:TissueSampleAttribute",
17+
"core:SpecimenAge",
18+
"core:SpecimenWeight"
19+
]
20+
},
21+
"count": {
22+
"type": "integer",
23+
"_instruction": "Enter the tissue sample count within the tissue sample collection to which the defined state attribute(s) apply.",
24+
}
25+
}
26+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"_type": "core:Age",
3+
"required": [
4+
"age",
5+
"reference"
6+
],
7+
"properties": {
8+
"age": {
9+
"_instruction": "Enter the age value.",
10+
"_embeddedTypes": [
11+
"core:QuantitativeValue",
12+
"core:QuantitativeValueRange"
13+
]
14+
},
15+
"reference": {
16+
"_instruction": "Enter the age reference for the specified age value.",
17+
"_linkedTypes": [
18+
"controlledTerms:AgeReference"
19+
]
20+
}
21+
}
22+
}

schemas/research/specimenSet.schema.tpl.json

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,32 +10,13 @@
1010
"type": "string",
1111
"_instruction": "Enter any additional remarks concerning this specimen set."
1212
},
13-
"biologicalSex": {
14-
"type": "array",
15-
"minItems": 1,
16-
"uniqueItems": true,
17-
"_instruction": "Add the biological sex of all specimen in this set.",
18-
"_linkedTypes": [
19-
"controlledTerms:BiologicalSex"
20-
]
21-
},
2213
"internalIdentifier": {
2314
"type": "string",
2415
"_instruction": "Enter the identifier (or label) of this specimen set that is used within the corresponding data files to identify this specimen set."
2516
},
2617
"lookupLabel": {
2718
"type": "string",
2819
"_instruction": "Enter a lookup label for this specimen set that may help you to find this instance more easily."
29-
},
30-
"species": {
31-
"type": "array",
32-
"minItems": 1,
33-
"uniqueItems": true,
34-
"_instruction": "Add the species and/or strain (a sub-type of a genetic variant of species) of all specimen in this set.",
35-
"_linkedTypes": [
36-
"controlledTerms:Species",
37-
"core:Strain"
38-
]
3920
}
4021
}
4122
}

schemas/research/specimenState.schema.tpl.json

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,45 +6,21 @@
66
"additionalRemarks": {
77
"type": "string",
88
"_instruction": "Enter any additional remarks concerning the specimen (set) in this state."
9-
},
10-
"age": {
11-
"_instruction": "Enter the age of the specimen (set) in this state.",
12-
"_embeddedTypes": [
13-
"core:QuantitativeValue",
14-
"core:QuantitativeValueRange"
15-
]
16-
},
9+
}
1710
"internalIdentifier": {
1811
"type": "string",
1912
"_instruction": "Enter the identifier (or label) of this specimen (set) state that is used within the corresponding data files to identify this specimen (set) state."
2013
},
2114
"lookupLabel": {
2215
"type": "string",
2316
"_instruction": "Enter a lookup label for this specimen (set) state that may help you to find this instance more easily."
24-
},
25-
"pathology": {
26-
"type": "array",
27-
"minItems": 1,
28-
"uniqueItems": true,
29-
"_instruction": "Add all (human) diseases and/or conditions that the specimen (set) in this state has and/or is a model for.",
30-
"_linkedTypes": [
31-
"controlledTerms:Disease",
32-
"controlledTerms:DiseaseModel"
33-
]
34-
},
17+
}
3518
"relativeTimeIndication": {
3619
"_instruction": "If there is a temporal relation between the states of a specimen (set), enter the relative time that has passed between this and the preceding specimen (set) state referenced under 'descendedFrom'.",
3720
"_embeddedTypes": [
3821
"core:QuantitativeValue",
3922
"core:QuantitativeValueRange"
4023
]
41-
},
42-
"weight": {
43-
"_instruction": "Enter the weight of the specimen (set) in this state.",
44-
"_embeddedTypes": [
45-
"core:QuantitativeValue",
46-
"core:QuantitativeValueRange"
47-
]
4824
}
4925
}
5026
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"_type": "core:SpecimenWeight",
3+
"required": [
4+
"age",
5+
"reference"
6+
],
7+
"properties": {
8+
"weight": {
9+
"_instruction": "Enter the age value.",
10+
"_embeddedTypes": [
11+
"core:QuantitativeValue",
12+
"core:QuantitativeValueRange"
13+
]
14+
},
15+
"type": {
16+
"_instruction": "Enter the age reference for the specified age value.",
17+
"_linkedTypes": [
18+
"controlledTerms:SpecimenWeightType"
19+
]
20+
}
21+
}
22+
}

schemas/research/subjectGroup.schema.tpl.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@
44
"required": [
55
"studiedState"
66
],
7-
"properties": {
7+
"properties": {
8+
"attributeStatistic": {
9+
"type": "array",
10+
"minItems": 1,
11+
"uniqueItems": true,
12+
"_instruction": "Add all known statistics for the attributes of this subject group.",
13+
"_embeddedTypes": [
14+
"core:SubjectGroupStatistic"
15+
]
16+
},
817
"numberOfSubjects": {
918
"type": "integer",
1019
"minimum": 2,

schemas/research/subjectGroupState.schema.tpl.json

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,23 @@
22
"_type": "core:SubjectGroupState",
33
"_extends": "research/specimenState.schema.tpl.json",
44
"required": [
5-
"ageCategory"
5+
"attributeStatistic"
66
],
77
"properties": {
8-
"ageCategory": {
8+
"attributeStatistic": {
99
"type": "array",
1010
"minItems": 1,
1111
"uniqueItems": true,
12-
"_instruction": "Add the age category of the subject in this state.",
13-
"_linkedTypes": [
14-
"controlledTerms:AgeCategory"
15-
]
16-
},
17-
"attribute": {
18-
"type": "array",
19-
"minItems": 1,
20-
"uniqueItems": true,
21-
"_instruction": "Add all attributes that can be ascribed to this subject group state.",
22-
"_linkedTypes": [
23-
"controlledTerms:SubjectAttribute"
12+
"_instruction": "Add all known statistics for the attributes of this subject group state.",
13+
"_embeddedTypes": [
14+
"core:SubjectGroupStateStatistic"
2415
]
2516
},
2617
"descendedFrom": {
2718
"_instruction": "Add the previous subject group state.",
2819
"_linkedTypes": [
2920
"core:SubjectGroupState"
3021
]
31-
},
32-
"handedness": {
33-
"type": "array",
34-
"minItems": 1,
35-
"uniqueItems": true,
36-
"_instruction": "Add all preferred types of handedness of the subject group in this state.",
37-
"_linkedTypes": [
38-
"controlledTerms:Handedness"
39-
]
4022
}
4123
}
4224
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"_type": "core:SubjectGroupStateStatistic",
3+
"required": [
4+
"attribute",
5+
"count"
6+
],
7+
"properties": {
8+
"attribute": {
9+
"type": "array",
10+
"minItems": 1,
11+
"uniqueItems": true,
12+
"_instruction": "Add all attributes (including age) common for the specified subject count within the subject group state.",
13+
"_linkedTypes": [
14+
"controlledTerms:AgeCategory",
15+
"controlledTerms:Disease",
16+
"controlledTerms:DiseaseModel",
17+
"controlledTerms:SubjectAttribute",
18+
"core:SpecimenAge",
19+
"core:SpecimenWeight"
20+
]
21+
},
22+
"count": {
23+
"type": "integer",
24+
"_instruction": "Enter the subject count within the subject group to which the defined state attribute(s) apply.",
25+
}
26+
}
27+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"_type": "core:SubjectGroupStatistic",
3+
"required": [
4+
"attribute",
5+
"count"
6+
],
7+
"properties": {
8+
"attribute": {
9+
"type": "array",
10+
"minItems": 1,
11+
"uniqueItems": true,
12+
"_instruction": "Add all attributes common for the specified subject count within the subject group.",
13+
"_linkedTypes": [
14+
"controlledTerms:SpecimenAttribute"
15+
]
16+
},
17+
"count": {
18+
"type": "integer",
19+
"_instruction": "Enter the subject count within the subject group to which the defined attribute(s) apply.",
20+
}
21+
}
22+
}

schemas/research/tissueSampleCollection.schema.tpl.json

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,41 +7,20 @@
77
"type"
88
],
99
"properties": {
10-
"anatomicalLocation": {
10+
"attributeStatistic": {
1111
"type": "array",
1212
"minItems": 1,
1313
"uniqueItems": true,
14-
"_instruction": "Add all anatomical entities that describe the anatomical location of this tissue sample collection.",
15-
"_linkedCategories": [
16-
"anatomicalLocation"
14+
"_instruction": "Add all known statistics for the attributes of this tissue sample collection.",
15+
"_embeddedTypes": [
16+
"core:TissueSampleCollectionStatistic"
1717
]
18-
},
19-
"laterality": {
20-
"type": "array",
21-
"minItems": 1,
22-
"maxItems": 2,
23-
"uniqueItems": true,
24-
"_instruction": "Add one or both sides of the body, bilateral organ or bilateral organ part that this tissue sample collection originates from.",
25-
"_linkedTypes": [
26-
"controlledTerms:Laterality"
27-
]
28-
},
18+
},
2919
"numberOfTissueSamples": {
3020
"type": "integer",
3121
"minimum": 2,
3222
"_instruction": "Enter the number of tissue samples that belong to this tissue sample collection."
3323
},
34-
"origin": {
35-
"type": "array",
36-
"minItems": 1,
37-
"uniqueItems": true,
38-
"_instruction": "Add the biogical origin of all tissue samples in this collection.",
39-
"_linkedTypes": [
40-
"controlledTerms:CellType",
41-
"controlledTerms:Organ",
42-
"controlledTerms:OrganismSubstance"
43-
]
44-
},
4524
"studiedState": {
4625
"type": "array",
4726
"minItems": 1,
@@ -50,15 +29,6 @@
5029
"_linkedTypes": [
5130
"core:TissueSampleCollectionState"
5231
]
53-
},
54-
"type": {
55-
"type": "array",
56-
"minItems": 1,
57-
"uniqueItems": true,
58-
"_instruction": "Add the type of all tissue samples in this collection.",
59-
"_linkedTypes": [
60-
"controlledTerms:TissueSampleType"
61-
]
6232
}
6333
}
6434
}

0 commit comments

Comments
 (0)