move from dict based classes to standard classes

This commit is contained in:
Emi Vasilek 2023-11-18 17:16:26 +01:00
parent 3d49bc044d
commit 39d021da46
2 changed files with 247 additions and 141 deletions

View file

@ -19,7 +19,7 @@
"required": [ "price", "amount", "unit" ],
"properties": {
"price": { "type": "number" },
"amount": { "type": "integer" },
"amount": { "type": "number" },
"unit": { "type": "string" },
"currency": { "type": "string" }
}