Koha-clms/api/v1/swagger/definitions/patron_balance.json

41 lines
757 B
JSON

{
"type": "object",
"properties": {
"balance": {
"type": "number",
"description": "Signed decimal number"
},
"outstanding_credits": {
"properties": {
"total": {
"type": "number"
},
"lines": {
"type": "array",
"items": {
"$ref": "account_line.json"
}
}
}
},
"outstanding_debits": {
"type": "object",
"properties": {
"total": {
"type": "number"
},
"lines": {
"type": "array",
"items": {
"$ref": "account_line.json"
}
}
}
}
},
"additionalProperties": false,
"required": [
"balance"
]
}