Files
stacks-blockchain-api/docs/api/rosetta/rosetta-account-balance-request.schema.json
Rafael Cárdenas 666b8a60fb chore: fix openapi schema validation errors, clean up type definitions (#1170)
* fix: openapi lint validator

* fix: balances schema

* fix: add title to all entities

* fix: some additionalProperties and duplicate names

* fix: remove additional properties for rosetta

* fix: rosetta tests

* style: remove empty description
2022-05-13 15:25:11 -05:00

19 lines
722 B
JSON

{
"type": "object",
"title": "RosettaAccountBalanceRequest",
"description": "An AccountBalanceRequest is utilized to make a balance request on the /account/balance endpoint. If the block_identifier is populated, a historical balance query should be performed.",
"required": ["network_identifier", "account_identifier"],
"additionalProperties": false,
"properties": {
"network_identifier": {
"$ref": "./../../entities/rosetta/rosetta-network-identifier.schema.json"
},
"account_identifier": {
"$ref": "./../../entities/rosetta/rosetta-account.schema.json"
},
"block_identifier": {
"$ref": "./../../entities/rosetta/rosetta-partial-block-identifier.schema.json"
}
}
}