-
Notifications
You must be signed in to change notification settings - Fork 179
/
Copy path3.json
250 lines (239 loc) · 7.49 KB
/
3.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"positiveNumber": {
"type": "number",
"minimum": 0
},
"xyzArray": {
"type": "array",
"description": "Array of 3 numbers, [x, y, z]",
"items": { "type": "number" },
"minItems": 3,
"maxItems": 3
},
"unitVector": {
"type": "array",
"description": "Array of 3 unit directions, [x, y, z]",
"items": {
"type": "number",
"enum": [1, -1]
},
"minItems": 3,
"maxItems": 3
},
"boundingBox": {
"type": "object",
"description": "The active area (both pipettes can reach) of a fixture on the deck",
"required": ["xDimension", "yDimension", "zDimension"],
"properties": {
"xDimension": { "$ref": "#/definitions/positiveNumber" },
"yDimension": { "$ref": "#/definitions/positiveNumber" },
"zDimension": { "$ref": "#/definitions/positiveNumber" }
}
},
"pathDValue": {
"type": "string",
"description": "A valid d-attribute value for an svg path. Note: uses physical coordinate system which has origin at the bottom, front, left of the robot's workspace."
},
"feature": {
"type": "object",
"description": "A physical feature of the deck",
"required": ["footprint"],
"properties": {
"footprint": { "$ref": "#/definitions/pathDValue" },
"correspondingLocation": {
"type": "string",
"format": "uri-reference",
"description": "A path to a location entry that corresponds with this feature"
}
}
}
},
"description": "Deck specifications, where x,y,z (0,0,0) is at front the bottom left corner.",
"type": "object",
"additionalProperties": false,
"required": [
"otId",
"schemaVersion",
"cornerOffsetFromOrigin",
"dimensions",
"metadata",
"robot",
"locations",
"layers"
],
"properties": {
"otId": {
"description": "Unique internal ID generated using UUID",
"type": "string"
},
"schemaVersion": {
"description": "Schema version of a deck is a single integer",
"enum": [3]
},
"cornerOffsetFromOrigin": {
"$ref": "#/definitions/xyzArray",
"description": "Position of left-front-bottom corner of entire deck to robot coordinate system origin"
},
"dimensions": {
"$ref": "#/definitions/xyzArray",
"description": "Outer dimensions of a deck bounding box"
},
"metadata": {
"description": "Optional metadata about the Deck",
"type": "object",
"properties": {
"displayName": {
"description": "A short, human-readable name for the deck",
"type": "string"
},
"tags": {
"description": "Tags to be used in searching for this deck",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"robot": {
"type": "object",
"required": ["model"],
"properties": {
"model": {
"description": "Model of the robot",
"type": "string",
"enum": ["OT-2 Standard", "OT-3 Standard"]
}
}
},
"locations": {
"type": "object",
"required": ["orderedSlots", "calibrationPoints"],
"properties": {
"orderedSlots": {
"type": "array",
"description": "Ordered slots available for placing labware",
"items": {
"type": "object",
"required": [
"id",
"position",
"boundingBox",
"displayName",
"compatibleModuleTypes"
],
"properties": {
"id": {
"description": "Unique identifier for slot",
"type": "string"
},
"position": { "$ref": "#/definitions/xyzArray" },
"matingSurfaceUnitVector": {
"$ref": "#/definitions/unitVector",
"description": "An optional diagonal direction of force, defined by spring location, which governs the mating surface of objects placed in slot."
},
"boundingBox": { "$ref": "#/definitions/boundingBox" },
"displayName": {
"description": "An optional human-readable nickname for this slot Eg \"Slot 1\" or \"Fixed Trash\"",
"type": "string"
},
"compatibleModuleTypes": {
"description": "An array of module types that can be placed in this slot.",
"type": "array",
"items": {
"type": "string",
"enum": [
"magneticModuleType",
"temperatureModuleType",
"thermocyclerModuleType",
"heaterShakerModuleType"
]
}
}
}
}
},
"calibrationPoints": {
"type": "array",
"description": "Key points for deck calibration",
"items": {
"type": "object",
"required": ["id", "position", "displayName"],
"properties": {
"id": {
"description": "Unique identifier for calibration point",
"type": "string"
},
"position": { "$ref": "#/definitions/xyzArray" },
"displayName": {
"description": "An optional human-readable nickname for this point Eg \"Slot 3 Cross\" or \"Slot 1 Dot\"",
"type": "string"
}
}
}
},
"fixtures": {
"type": "array",
"description": "Fixed position objects on the deck.",
"items": {
"type": "object",
"required": ["id", "displayName"],
"properties": {
"id": {
"description": "Unique identifier for fixed object",
"type": "string"
},
"labware": {
"description": "Valid labware loadName for fixed object",
"type": "string"
},
"boundingBox": { "$ref": "#/definitions/boundingBox" },
"slot": {
"description": "Slot location of the fixed object",
"type": "string"
},
"position": { "$ref": "#/definitions/xyzArray" },
"displayName": {
"description": "An optional human-readable nickname for this fixture Eg \"Tall Fixed Trash\" or \"Short Fixed Trash\"",
"type": "string"
}
},
"oneOf": [
{
"anyOf": [
{
"required": ["labware", "slot"]
},
{
"required": ["labware", "position"]
}
]
},
{
"anyOf": [
{
"required": ["boundingBox", "slot"]
},
{
"required": ["boundingBox", "position"]
}
]
}
]
}
}
}
},
"layers": {
"type": "object",
"description": "Layered feature groups of the deck.",
"additionalProperties": {
"type": "array",
"description": "Individual features within a layer",
"items": { "$ref": "#/definitions/feature" }
}
}
}
}