Skip to content

Commit 8b5dd3e

Browse files
committed
adding TissueSampleIdentity schema
1 parent 5059a86 commit 8b5dd3e

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

schemas/research/tissueSampleCollectionStatistic.schema.tpl.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"uniqueItems": true,
1212
"_instruction": "Add all attributes common for the specified tissue sample count within the tissue sample collection.",
1313
"_linkedTypes": [
14-
"controlledTerms:SpecimenAttribute"
14+
"controlledTerms:SpecimenAttribute",
15+
"core:TissueSampleIdentity"
1516
]
1617
},
1718
"count": {
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"_type": "core:TissueSampleIdentity",
3+
"required": [
4+
"origin",
5+
"type"
6+
],
7+
"properties": {
8+
"anatomicalLocation": {
9+
"type": "array",
10+
"minItems": 1,
11+
"uniqueItems": true,
12+
"_instruction": "Add all relevant anatomical entities that represent or are present in the tissue sample(s).",
13+
"_linkedCategories": [
14+
"anatomicalLocation"
15+
]
16+
},
17+
"laterality": {
18+
"type": "array",
19+
"maxItems": 2,
20+
"minItems": 1,
21+
"uniqueItems": true,
22+
"_instruction": "Add the body or organ side covered by the tissue sample(s) when applicable.",
23+
"_linkedTypes": [
24+
"controlledTerms:Laterality"
25+
]
26+
},
27+
"origin": {
28+
"_instruction": "Add the anatomical origin of the tissue sample(s).",
29+
"_linkedTypes": [
30+
"controlledTerms:CellType",
31+
"controlledTerms:Organ",
32+
"controlledTerms:OrganismSubstance"
33+
]
34+
},
35+
"type": {
36+
"_instruction": "Add the type of the tissue sample(s).",
37+
"_linkedTypes": [
38+
"controlledTerms:TissueSampleType"
39+
]
40+
}
41+
}
42+
}

0 commit comments

Comments
 (0)