fix: transactions can have 0 for values in units / price

This commit is contained in:
SpaceAdmiral 2023-05-21 09:28:14 -07:00
parent 4b62bf3252
commit ec0b708378
2 changed files with 4 additions and 4 deletions

View File

@ -24,17 +24,17 @@
"units": {
"type": "integer",
"description": "The number of units of the transaction.",
"minimum": 1
"minimum": 0
},
"pricePerUnit": {
"type": "integer",
"description": "The price per unit of the transaction.",
"minimum": 1
"minimum": 0
},
"totalPrice": {
"type": "integer",
"description": "The total price of the transaction.",
"minimum": 1
"minimum": 0
},
"timestamp": {
"type": "string",

View File

@ -12,7 +12,7 @@
"price": {
"type": "integer",
"description": "The price of the transaction.",
"minimum": 1
"minimum": 0
},
"agentSymbol": {
"type": "string",