Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(shared-data): Add "$otSharedSchema" property to labware schema 3 #17421

Draft
wants to merge 8 commits into
base: edge
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,7 @@
},
"result": {
"definition": {
"$otSharedSchema": "#/labware/schemas/3",
Copy link
Contributor Author

@SyntaxColoring SyntaxColoring Feb 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's surprising to me that any analysis snapshots need to change. These are for PAPIv2.21 protocols. PAPIv2.21
was released in robot software v8.2.0. Are schema 3 labware already being used in the wild? Because my understanding was that schema 3 was not ready for that.

It's a bummer if that's the case because it means it'll be difficult to make breaking schema changes. And if we can't make any breaking schema changes then we may as well have stayed on schema 2 in the first place.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. It looks like the answer to this is that these labware have only a schema v3 definition:

  • evotips_flex_96_tiprack_adapter
  • evotips_opentrons_96_labware
  • opentrons_tough_pcr_auto_sealing_lid
  • protocol_engine_lid_stack_object
  • opentrons_flex_tiprack_lid

and what's in these analyses is the thermocycler lid. these haven't shipped yet, so as long as we make sure there's v2 definitions in 8.3 before it ships we're good.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For posterity: the above is EXEC-1179 + EXEC-1180.

"allowedRoles": [
"labware",
"lid"
Expand Down Expand Up @@ -1398,6 +1399,7 @@
},
"result": {
"definition": {
"$otSharedSchema": "#/labware/schemas/3",
"allowedRoles": [
"labware",
"lid"
Expand Down Expand Up @@ -1556,6 +1558,7 @@
},
"result": {
"definition": {
"$otSharedSchema": "#/labware/schemas/3",
"allowedRoles": [
"labware",
"lid"
Expand Down Expand Up @@ -1714,6 +1717,7 @@
},
"result": {
"definition": {
"$otSharedSchema": "#/labware/schemas/3",
"allowedRoles": [
"labware",
"lid"
Expand Down Expand Up @@ -1872,6 +1876,7 @@
},
"result": {
"definition": {
"$otSharedSchema": "#/labware/schemas/3",
"allowedRoles": [
"labware",
"lid"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1925,6 +1925,7 @@
},
"result": {
"definition": {
"$otSharedSchema": "#/labware/schemas/3",
"allowedRoles": [
"labware",
"lid"
Expand Down Expand Up @@ -2083,6 +2084,7 @@
},
"result": {
"definition": {
"$otSharedSchema": "#/labware/schemas/3",
"allowedRoles": [
"labware",
"lid"
Expand Down Expand Up @@ -2241,6 +2243,7 @@
},
"result": {
"definition": {
"$otSharedSchema": "#/labware/schemas/3",
"allowedRoles": [
"labware",
"lid"
Expand Down Expand Up @@ -2399,6 +2402,7 @@
},
"result": {
"definition": {
"$otSharedSchema": "#/labware/schemas/3",
"allowedRoles": [
"labware",
"lid"
Expand Down Expand Up @@ -2557,6 +2561,7 @@
},
"result": {
"definition": {
"$otSharedSchema": "#/labware/schemas/3",
"allowedRoles": [
"labware",
"lid"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
},
"result": {
"definition": {
"$otSharedSchema": "#/labware/schemas/3",
"allowedRoles": [
"labware",
"lid"
Expand Down Expand Up @@ -255,6 +256,7 @@
},
"result": {
"definition": {
"$otSharedSchema": "#/labware/schemas/3",
"allowedRoles": [
"labware",
"lid"
Expand Down Expand Up @@ -413,6 +415,7 @@
},
"result": {
"definition": {
"$otSharedSchema": "#/labware/schemas/3",
"allowedRoles": [
"labware",
"lid"
Expand Down
1 change: 1 addition & 0 deletions shared-data/js/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ export interface LabwareDefinition2 {

export interface LabwareDefinition3 {
version: number
$otSharedSchema: '#/labware/schemas/3'
schemaVersion: 3
namespace: string
metadata: LabwareMetadata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4726,5 +4726,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1163,5 +1163,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -4737,5 +4737,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1178,5 +1178,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -201,5 +201,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -333,5 +333,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5112,5 +5112,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -601,5 +601,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1168,5 +1168,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1157,5 +1157,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1136,5 +1136,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1258,5 +1258,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -226,5 +226,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -231,5 +231,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -255,5 +255,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -247,5 +247,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -326,5 +326,6 @@
"conicalWell": {
"sections": []
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -366,5 +366,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -352,5 +352,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -347,5 +347,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -346,5 +346,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -375,5 +375,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -414,5 +414,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -469,5 +469,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -334,5 +334,6 @@
"conicalWell": {
"sections": []
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -323,5 +323,6 @@
"conicalWell": {
"sections": []
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -347,5 +347,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -367,5 +367,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -353,5 +353,6 @@
}
]
}
}
},
"$otSharedSchema": "#/labware/schemas/3"
}
Loading
Loading