{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/BalanceSheetAccountType",
"title": "BalanceSheetAccountType",
"type": "object",
"properties": {
"accountType": {
"type": "string",
"description": "The type of the account. See <a href='https://developer.xero.com/documentation/api/types#AccountTypes'>Account Types</a>"
},
"accounts": {
"type": "array",
"items": {
"$ref": "#/components/schemas/BalanceSheetAccountDetail"
},
"description": "A list of all accounts of this type. Refer to the Account section below for each account element detail."
},
"total": {
"type": "number",
"description": "Total value of all the accounts in this type",
"format": "double",
"x-is-money": true
}
},
"additionalProperties": false
}