mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Use amount schema
This commit is contained in:
@@ -6,29 +6,11 @@
|
||||
"properties": {
|
||||
"balances": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["counterparty", "currency", "value"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"counterparty": {"$ref": "address"},
|
||||
"currency": {"$ref": "currency"},
|
||||
"value": {"$ref": "value"}
|
||||
}
|
||||
}
|
||||
"items": {"$ref": "amount"}
|
||||
},
|
||||
"assets": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["counterparty", "currency", "value"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"counterparty": {"$ref": "address"},
|
||||
"currency": {"$ref": "currency"},
|
||||
"value": {"$ref": "value"}
|
||||
}
|
||||
}
|
||||
"items": {"$ref": "amount"}
|
||||
},
|
||||
"obligations": {
|
||||
"type": "array",
|
||||
|
||||
Reference in New Issue
Block a user