--- type: object properties: balance: type: number description: Signed decimal number outstanding_credits: properties: total: type: number lines: type: array items: $ref: "account_line.yaml" outstanding_debits: type: object properties: total: type: number lines: type: array items: $ref: "account_line.yaml" additionalProperties: false required: - balance