{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mybankstatementanalysis-com/json-schema/mybankstatementanalysis-com-transaction-list-response-schema.json",
  "title": "TransactionListResponse",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-v1-openapi.json#/components/schemas/TransactionListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "date": {
            "type": "string"
          },
          "postedAt": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": "string"
          },
          "merchant": {
            "type": [
              "string",
              "null"
            ]
          },
          "merchantDomain": {
            "type": [
              "string",
              "null"
            ]
          },
          "amount": {
            "type": "number"
          },
          "direction": {
            "type": "string",
            "enum": [
              "credit",
              "debit"
            ]
          },
          "balanceAfter": {
            "type": [
              "number",
              "null"
            ]
          },
          "category": {
            "type": "string"
          },
          "categoryColor": {
            "type": "string"
          },
          "excluded": {
            "type": "boolean"
          },
          "internalTransfer": {
            "type": "boolean"
          },
          "refund": {
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "date",
          "postedAt",
          "description",
          "merchant",
          "merchantDomain",
          "amount",
          "direction",
          "balanceAfter",
          "category",
          "categoryColor",
          "excluded",
          "internalTransfer",
          "refund"
        ],
        "additionalProperties": false
      }
    },
    "total": {
      "type": "number"
    },
    "limit": {
      "type": "number"
    },
    "offset": {
      "type": "number"
    },
    "hasMore": {
      "type": "boolean"
    }
  },
  "required": [
    "data",
    "total",
    "limit",
    "offset",
    "hasMore"
  ],
  "additionalProperties": false
}