-
Notifications
You must be signed in to change notification settings - Fork 179
/
Copy path2.json
308 lines (308 loc) · 10.2 KB
/
2.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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
{
"$id": "opentronsLabwareSchemaV2",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"positiveNumber": {
"type": "number",
"minimum": 0
},
"brandData": {
"type": "object",
"additionalProperties": false,
"required": ["brand"],
"properties": {
"brand": {
"type": "string",
"description": "Brand/manufacturer name"
},
"brandId": {
"type": "array",
"description": "An array of manufacture numbers pertaining to a given labware",
"items": {
"type": "string"
}
},
"links": {
"type": "array",
"description": "URLs for manufacturer page(s)",
"items": {
"type": "string"
}
}
}
},
"displayCategory": {
"type": "string",
"enum": [
"tipRack",
"tubeRack",
"reservoir",
"trash",
"wellPlate",
"aluminumBlock",
"other"
]
},
"safeString": {
"description": "a string safe to use for loadName / namespace. Lowercase-only.",
"type": "string",
"pattern": "^[a-z0-9._]+$"
}
},
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"version",
"namespace",
"metadata",
"brand",
"parameters",
"cornerOffsetFromSlot",
"ordering",
"dimensions",
"wells",
"groups"
],
"properties": {
"schemaVersion": {
"description": "Which schema version a labware is using",
"type": "number",
"enum": [2]
},
"version": {
"description": "Version of the labware definition itself (eg myPlate v1/v2/v3). An incrementing integer",
"type": "integer",
"minimum": 1
},
"namespace": {
"$ref": "#/definitions/safeString"
},
"metadata": {
"type": "object",
"description": "Properties used for search and display",
"additionalProperties": false,
"required": ["displayName", "displayCategory", "displayVolumeUnits"],
"properties": {
"displayName": {
"description": "Easy to remember name of labware",
"type": "string"
},
"displayCategory": {
"$ref": "#/definitions/displayCategory",
"description": "Label(s) used in UI to categorize labware"
},
"displayVolumeUnits": {
"description": "Volume units for display",
"type": "string",
"enum": ["µL", "mL", "L"]
},
"tags": {
"type": "array",
"description": "List of descriptions for a given labware",
"items": {
"type": "string"
}
}
}
},
"brand": {
"$ref": "#/definitions/brandData",
"description": "Real-world labware that the definition is modeled from and/or compatible with"
},
"parameters": {
"type": "object",
"description": "Internal describers used to determine pipette movement to labware",
"additionalProperties": false,
"required": [
"format",
"isTiprack",
"loadName",
"isMagneticModuleCompatible"
],
"properties": {
"format": {
"description": "Property to determine compatibility with multichannel pipette",
"type": "string",
"enum": ["96Standard", "384Standard", "trough", "irregular", "trash"]
},
"quirks": {
"description": "Property to classify a specific behavior this labware should have",
"type": "array",
"items": {
"type": "string"
}
},
"isTiprack": {
"description": "Flag marking whether this labware is a tip rack or not",
"type": "boolean"
},
"tipLength": {
"description": "Required if this labware is a tip rack. Specifies the total length of one of this rack's tips, from top to bottom, as specified by technical drawings or as measured with calipers.",
"$ref": "#/definitions/positiveNumber"
},
"tipOverlap": {
"description": "Required if this labware is a tip rack. Specifies how far one of this rack's tips is expected to overlap with the nozzle of a pipette. In other words: tipLength, minus the distance between the bottom of the pipette and the bottom of the tip. A robot's positional calibration may fine-tune this estimate.",
"$ref": "#/definitions/positiveNumber"
},
"loadName": {
"description": "Name used to reference a labware definition",
"$ref": "#/definitions/safeString"
},
"isMagneticModuleCompatible": {
"description": "Flag marking whether a labware is compatible by default with the Magnetic Module",
"type": "boolean"
},
"magneticModuleEngageHeight": {
"description": "Distance to move magnetic module magnets to engage",
"$ref": "#/definitions/positiveNumber"
}
}
},
"ordering": {
"type": "array",
"description": "Generated array that keeps track of how wells should be ordered in a labware",
"items": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
}
},
"cornerOffsetFromSlot": {
"type": "object",
"additionalProperties": false,
"description": "Distance from left-front-bottom corner of slot to left-front-bottom corner of labware bounding box. Used for labware that spans multiple slots. For labware that does not span multiple slots, x/y/z should all be zero.",
"required": ["x", "y", "z"],
"properties": {
"x": { "type": "number" },
"y": { "type": "number" },
"z": { "type": "number" }
}
},
"dimensions": {
"type": "object",
"additionalProperties": false,
"description": "Outer dimensions of a labware",
"required": ["xDimension", "yDimension", "zDimension"],
"properties": {
"yDimension": {
"$ref": "#/definitions/positiveNumber"
},
"zDimension": {
"$ref": "#/definitions/positiveNumber"
},
"xDimension": {
"$ref": "#/definitions/positiveNumber"
}
}
},
"wells": {
"type": "object",
"description": "Unordered object of well objects with position and dimensional information",
"additionalProperties": false,
"minProperties": 1,
"patternProperties": {
"[A-Z]+[0-9]+": {
"type": "object",
"additionalProperties": false,
"required": ["depth", "shape", "totalLiquidVolume", "x", "y", "z"],
"oneOf": [
{ "required": ["xDimension", "yDimension"] },
{ "required": ["diameter"] }
],
"not": {
"anyOf": [
{ "required": ["diameter", "xDimension"] },
{ "required": ["diameter", "yDimension"] }
]
},
"properties": {
"depth": {
"description": "The distance between the top and bottom of this well. If the labware is a tip rack, this will be ignored in favor of tipLength, but the values should match.",
"$ref": "#/definitions/positiveNumber"
},
"x": {
"description": "x location of center-bottom of well in reference to left-front-bottom of labware",
"$ref": "#/definitions/positiveNumber"
},
"y": {
"description": "y location of center-bottom of well in reference to left-front-bottom of labware",
"$ref": "#/definitions/positiveNumber"
},
"z": {
"description": "z location of center-bottom of well in reference to left-front-bottom of labware",
"$ref": "#/definitions/positiveNumber"
},
"totalLiquidVolume": {
"description": "Total well, tube, or tip volume in microliters",
"$ref": "#/definitions/positiveNumber"
},
"xDimension": {
"description": "x dimension of rectangular wells",
"$ref": "#/definitions/positiveNumber"
},
"yDimension": {
"description": "y dimension of rectangular wells",
"$ref": "#/definitions/positiveNumber"
},
"diameter": {
"description": "diameter of circular wells",
"$ref": "#/definitions/positiveNumber"
},
"shape": {
"description": "If 'rectangular', use xDimension and yDimension; if 'circular' use diameter",
"type": "string",
"enum": ["rectangular", "circular"]
}
}
}
}
},
"groups": {
"type": "array",
"description": "Logical well groupings for metadata/display purposes; changes in groups do not affect protocol execution",
"items": {
"type": "object",
"required": ["wells", "metadata"],
"additionalProperties": false,
"properties": {
"wells": {
"type": "array",
"description": "An array of wells that contain the same metadata",
"items": {
"type": "string"
},
"minItems": 1
},
"metadata": {
"type": "object",
"description": "Metadata specific to a grid of wells in a labware",
"required": [],
"additionalProperties": false,
"properties": {
"displayName": {
"type": "string",
"description": "User-readable name for the well group"
},
"displayCategory": {
"$ref": "#/definitions/displayCategory",
"description": "Label(s) used in UI to categorize well groups"
},
"wellBottomShape": {
"type": "string",
"description": "Bottom shape of the well for UI purposes",
"enum": ["flat", "u", "v"]
}
}
},
"brand": {
"$ref": "#/definitions/brandData",
"description": "Brand data for the well group (e.g. for tubes)"
}
}
}
}
}
}