-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrun-schema.json
135 lines (135 loc) · 5.18 KB
/
run-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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"$comment": "version: ga4gh-beacon-biosample-v2.0.0",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"description": "Schema for the experimental run (e.g. sequencing run, array processing...) leading to the raw data for the (computational) analysis.",
"properties": {
"biosampleId": {
"description": "Reference to the biosample ID.",
"examples": [
"008dafdd-a3d1-4801-8c0a-8714e2b58e48"
],
"type": "string"
},
"id": {
"description": "Run ID.",
"examples": [
"SRR10903401"
],
"type": "string"
},
"individualId": {
"description": "Reference to the individual ID.",
"examples": [
"TCGA-AO-A0JJ"
],
"type": "string"
},
"info": {
"description": "Placeholder to allow the Beacon to return any additional information that is necessary or could be of interest in relation to the query or the entry returned. It is recommended to encapsulate additional informations in this attribute instead of directly adding attributes at the same level than the others in order to avoid collision in the names of attributes in future versions of the specification.",
"type": "object"
},
"libraryLayout": {
"description": "Ontology value for the library layout e.g \"PAIRED\", \"SINGLE\" #todo add Ontology name?",
"enum": [
"PAIRED",
"SINGLE"
],
"type": "string"
},
"librarySelection": {
"description": "Selection method for library preparation, e.g \"RANDOM\", \"RT-PCR\"",
"examples": [
"RANDOM",
"RT-PCR"
],
"type": "string"
},
"librarySource": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"description": "Definition of an ontology term.",
"properties": {
"id": {
"description": "A CURIE identifier, e.g. as `id` for an ontology term.",
"examples": [
"ga4gh:GA.01234abcde",
"DUO:0000004",
"orcid:0000-0003-3463-0775",
"PMID:15254584"
],
"pattern": "^\\w[^:]+:.+$",
"type": "string"
},
"label": {
"description": "The text that describes the term. By default it could be the preferred text of the term, but is it acceptable to customize it for a clearer description and understanding of the term in an specific context.",
"type": "string"
}
},
"required": [
"id"
],
"title": "Ontology Term",
"type": "object"
},
"libraryStrategy": {
"description": "Library strategy, e.g. \"WGS\"",
"examples": [
"WGS"
],
"type": "string"
},
"platform": {
"description": "General platform technology label. It SHOULD be a subset of the platformModel and used only for query convenience, e.g. \"return everything sequenced with Illimuna\", where the specific model is not relevant",
"examples": [
"Illumina",
"Oxford Nanopore",
"Affymetrix"
],
"type": "string"
},
"platformModel": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"description": "Definition of an ontology term.",
"properties": {
"id": {
"description": "A CURIE identifier, e.g. as `id` for an ontology term.",
"examples": [
"ga4gh:GA.01234abcde",
"DUO:0000004",
"orcid:0000-0003-3463-0775",
"PMID:15254584"
],
"pattern": "^\\w[^:]+:.+$",
"type": "string"
},
"label": {
"description": "The text that describes the term. By default it could be the preferred text of the term, but is it acceptable to customize it for a clearer description and understanding of the term in an specific context.",
"type": "string"
}
},
"required": [
"id"
],
"title": "Ontology Term",
"type": "object"
},
"runDate": {
"description": "Date at which the experiment was performed.",
"examples": [
"2021-10-18"
],
"format": "date",
"type": "string"
}
},
"required": [
"id",
"individualId",
"biosampleId",
"runDate"
],
"title": "Experimental run",
"type": "object"
}