123456789101112131415161718192021222324252627282930313233 |
- {
- "$schema": "http://json-schema.org/draft-04/schema#",
- "title": "getBalanceSheet",
- "description": "getBalanceSheet response",
- "type": "object",
- "properties": {
- "balances": {
- "type": "array",
- "items": {"$ref": "amount"},
- "description": "Amounts issued to the \"hotwallet\" accounts from the request. The keys are the accounts' addresses, and the values are arrays of currency amounts they hold. The issuer (omitted from the currency amounts) is the account from the request."
- },
- "assets": {
- "type": "array",
- "items": {"$ref": "amount"},
- "description": "Total amounts held that are issued by others. For the recommended gateway configuration, there should be none."
- },
- "obligations": {
- "type": "array",
- "items": {
- "type": "object",
- "required": ["currency", "value"],
- "additionalProperties": false,
- "properties": {
- "currency": {"$ref": "currency"},
- "value": {"$ref": "value"}
- },
- "description": "An amount that is owed."
- },
- "description": "Total amounts issued to accounts that are not hot wallets, as a map of currencies to the total value issued."
- }
- },
- "additionalProperties": false
- }
|