Skip to content

Commit

Permalink
Use amount schema
Browse files Browse the repository at this point in the history
  • Loading branch information
wltsmrz committed Oct 5, 2015
1 parent ff2ac6c commit 64baef4
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions src/api/common/schemas/get-balance-sheet.json
Expand Up @@ -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",
Expand Down

0 comments on commit 64baef4

Please sign in to comment.