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:
Daniel W. Anner
2023-03-09 10:49:38 -05:00
committed by GitHub
parent 877c1ca2e1
commit 242bddaec0
57 changed files with 144 additions and 204 deletions

View File

@@ -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"]
}
}