Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add descriptions to JSON schemas and organize for documentation gener…
…ation
- Loading branch information
Chris Clark
committed
Nov 13, 2015
1 parent
e267e41
commit 5a8e4be
Showing
85 changed files
with
1,051 additions
and
389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "getAccountInfoParameters", | ||
"description": "Parameters for getAccountInfo", | ||
"type": "object", | ||
"properties": { | ||
"address": { | ||
"$ref": "address", | ||
"description": "The address of the account to get the account info of." | ||
}, | ||
"options": { | ||
"description": "Options that affect what to return.", | ||
"properties": { | ||
"ledgerVersion": { | ||
"$ref": "ledgerVersion", | ||
"description": "Get the account info as of this historical ledger version." | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["address"], | ||
"additionalProperties": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "getBalancesParameters", | ||
"description": "Parameters for getBalances", | ||
"type": "object", | ||
"properties": { | ||
"address": { | ||
"$ref": "address", | ||
"description": "The address of the account to get balances for." | ||
}, | ||
"options": { | ||
"description": "Options to filter and determine which balances to return.", | ||
"properties": { | ||
"counterparty": { | ||
"$ref": "address", | ||
"description": "Only return balances with this counterparty." | ||
}, | ||
"currency": { | ||
"$ref": "currency", | ||
"description": "Only return balances for this currency." | ||
}, | ||
"limit": { | ||
"type": "integer", | ||
"minimum": 1, | ||
"description": "Return at most this many balances." | ||
}, | ||
"ledgerVersion": { | ||
"$ref": "ledgerVersion", | ||
"description": "Return balances as they were in this historical ledger version." | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": ["address"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.