This repository has been archived by the owner on Jun 28, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmin metadata schema.json
170 lines (170 loc) · 5.33 KB
/
min metadata 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://raw.githubusercontent.com/METASPACE2020/metadata/master/min%20metadata%20schema.json",
"title": "Metadata Submission",
"description": "Minimal metadata for mass spectrometry as developed in the METASPACE project",
"type": "object",
"definitions": {
"person": {
"type": "object",
"description": "Name and contact email for a human",
"required": ["First_Name", "Surname", "Email"],
"properties": {
"First_Name": {
"type": "string",
"minLength": 2
},
"Surname": {
"type": "string",
"minLength": 2
},
"Email": {
"type": "string",
"description": "an email address for contact",
"format": "email"
}
}
}
},
"required": ["Data_Type", "Sample_Information", "Sample_Preparation", "Submitted_By", "MS_Analysis"],
"properties": {
"Data_Type": {
"description": "Type of MS data",
"type": "string",
"minLength": 3
},
"Sample_Information": {
"type": "object",
"required": ["Organism", "Organism_Part", "Condition"],
"description": "Information about the sample that was imaged.",
"properties": {
"Organism": {
"description": "species of organism",
"type": "string",
"minLength": 3
},
"Organism_Part": {
"description": "part of the organism",
"type": "string",
"minLength": 3
},
"Condition": {
"description": "disease state of the organism",
"type": "string",
"minLength": 3
},
"Sample_Growth_Conditions": {
"description": "intervention, treatment group or growth conditions",
"type": "string"
}
}
},
"Sample_Preparation": {
"description": "Information about how the sample was prepared for the experiment",
"type": "object",
"required": ["Sample_Stabilisation", "Tissue_Modification"],
"properties": {
"Sample_Stabilisation": {
"description": "Quenching or preservation method used",
"type": "string",
"minLength": 1
},
"Tissue_Modification": {
"description": "Post stabilisation tissue modification",
"type": "string",
"minLength": 1
}
}
},
"MS_Analysis": {
"type": "object",
"description": "Details of the image acquisition",
"required": ["Polarity", "Ionisation_Source", "Analyzer"],
"properties": {
"Polarity": {
"description": "Instrument polarity used",
"type": "string",
"enum": [
"Positive",
"Negative"
]
},
"Ionisation_Source": {
"description": "Type of ionisation source used",
"type": "string",
"minLength": 1
},
"Analyzer": {
"description": "Mass analyser used",
"type": "string",
"minLength": 1
},
"Detector_Resolving_Power": {
"type": "object",
"title": "Detector Resolving Power",
"description": "Estimate of the resolving power within the dataset, and the m/z at which it was estimated",
"required": ["mz", "Resolving_Power"],
"properties": {
"mz": {
"description": "m/z at which the resolving power was calculated (Orbitrap resolution is quoted at m/z=200)",
"type": "number",
"minimum": 50,
"maximum": 5000,
"default": 200
},
"Resolving_Power": {
"description": "Peak FWHM / m/z",
"type": "number",
"minimum": 10000,
"maximum": 1000000,
"default": 140000
}
}
}
}
},
"Submitted_By": {
"type": "object",
"description": "Information about the uploader",
"required": ["Institution", "Submitter", "Principal_Investigator"],
"properties": {
"Institution": {
"type": "string",
"minLength": 1,
"maxLength": 50
},
"Submitter": {
"$ref": "#/definitions/person",
"required": ["Surname", "First_Name", "Email"]
},
"Principal_Investigator": {
"$ref": "#/definitions/person"
}
}
},
"Additional_Information": {
"type": "object",
"properties": {
"Publication_DOI": {
"type": "string"
},
"Sample_Description_Freetext": {
"description": "Additional sample information (e.g. relevant methods section from a publication)",
"type": "string"
},
"Sample_Preparation_Freetext": {
"description": "Additional sample preparation information (e.g. relevant methods section from a publication)",
"type": "string"
},
"Additional_Information_Freetext": {
"description": "Additional experimental information (e.g the methods section from a publication)",
"type": "string"
},
"Expected_Molecules_Freetext": {
"description": "A \"|\" separated list of molecules or database ids that are known a priori to be present in the sample",
"type": "string"
}
}
}
}
}