Weight Import Fix (#1187)
* weight schema configuration changes * updated weight/weight unit definitions to compy with import expectations. * updated readme
This commit is contained in:
@@ -600,27 +600,6 @@
|
||||
}
|
||||
},
|
||||
"required": ["name"]
|
||||
},
|
||||
|
||||
"weight": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"multipleOf": 0.01
|
||||
},
|
||||
"unit": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"kg",
|
||||
"g",
|
||||
"lb",
|
||||
"oz"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": ["value", "unit"]
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user