Use amount schema

This commit is contained in:
wltsmrz
2015-10-05 13:37:55 -07:00
parent ff2ac6c3cd
commit 64baef431d

View File

@@ -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",