{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/if/main/json-schema/if-account-statements-list-response-schema.json", "title": "AccountStatementsListResponse", "x-generated": "2026-10-14", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/if-account-api-openapi.yml#/components/schemas/AccountStatementsListResponse", "required": [ "connect", "data", "metadata", "workflow" ], "type": "object", "properties": { "workflow": { "$ref": "#/$defs/AccountStatementsListWorkflowContainer" }, "data": { "$ref": "#/$defs/AccountStatementsListDataContainer" }, "connect": { "$ref": "#/$defs/AccountStatementsListConnectContainer" }, "metadata": { "$ref": "#/$defs/AccountStatementsListMetadataContainer" } }, "$defs": { "AccountStatements": { "type": "object", "properties": { "accountId": { "type": "string", "description": "id of Account", "format": "uuid" }, "transactionNumber": { "type": "string", "description": "transaction number of statement" }, "transactionType": { "type": "string", "description": "transaction type of statement" }, "entryType": { "type": "string", "description": "entry type of statement" }, "entryDateTime": { "type": "string", "description": "date time of statement", "format": "date-time" }, "direction": { "type": "string", "description": "direction (debit/credit) of statement" }, "amount": { "type": "number", "description": "amount of statement" }, "balance": { "type": "number", "description": "balance of account after transaction" }, "currency": { "type": "string", "description": "currency of transaction" }, "narrative": { "type": "string", "description": "narrative of transaction" } }, "readOnly": true }, "AccountStatementsListConnectContainer": { "type": "object" }, "AccountStatementsListDataContainer": { "type": "object", "properties": { "accountStatement": { "$ref": "#/$defs/AccountStatementsResourceQueryInput" }, "accountStatements": { "type": "array", "readOnly": true, "items": { "$ref": "#/$defs/AccountStatements" } } } }, "AccountStatementsListMetadataContainer": { "required": [ "page" ], "type": "object", "properties": { "page": { "$ref": "#/$defs/PageMetadata" } } }, "AccountStatementsListWorkflowContainer": { "type": "object" }, "AccountStatementsResourceQueryInput": { "type": "object", "properties": { "accountId": { "type": "string", "format": "uuid" }, "transactionNumber": { "type": "string" }, "entryDateTimeFrom": { "type": "string", "format": "date-time" }, "entryDateTimeTo": { "type": "string", "format": "date-time" } }, "writeOnly": true }, "PageMetadata": { "required": [ "number", "size", "totalElements", "totalPages" ], "type": "object", "properties": { "size": { "minimum": 0, "type": "integer", "description": "number of elements in this page", "format": "int32" }, "number": { "minimum": 0, "type": "integer", "description": "index of page starting from 0", "format": "int32" }, "totalElements": { "minimum": 0, "type": "integer", "description": "total number of elements in all of the pages", "format": "int64", "readOnly": true }, "totalPages": { "minimum": 0, "type": "integer", "description": "number of total pages", "format": "int32", "readOnly": true } } } } }