{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fintecture/main/json-schema/fintecture-transaction-list-schema.json",
  "title": "TransactionList",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fintecture-transactions-api-openapi.yml#/components/schemas/TransactionList",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Transaction"
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer"
        }
      }
    }
  },
  "$defs": {
    "Transaction": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "amount": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "booking_date": {
          "type": "string",
          "format": "date"
        },
        "value_date": {
          "type": "string",
          "format": "date"
        },
        "description": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "debit",
            "credit"
          ]
        },
        "counterparty": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "iban": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}