{
    "responses": [
        {
            "hits": {
                "total": {
                    "value": 2
                },
                "hits": [
                    {
                        "_source": {
                            "iban": "AT424321012345678902",
                            "accountnumber": "12345678902",
                            "customernumber": "00001234568",
                            "tenantnumber": "999",
                            "businesstype": "Giro",
                            "product": "Commercial Giro",
                            "creationdate": "2020-08-08",
                            "updatetime": "2021-04-08T08:37:30Z",
                            "disposer": "Howard Joel Wolowitz",
                            "owner": "Wolowitz KG",
                            "accountmanager": "Clara Claton",
                            "currency": "EUR",
                            "tags": [
                                "active",
                                "online"
                            ]
                        }
                    },
                    {
                        "_source": {
                            "iban": "AT424321012345678904",
                            "accountnumber": "12345678904",
                            "customernumber": "00001234569",
                            "tenantnumber": "999",
                            "businesstype": "Giro",
                            "product": "Private Giro",
                            "creationdate": "2020-08-08",
                            "updatetime": "2021-04-08T08:58:30Z",
                            "disposer": "Howard Joel Wolowitz",
                            "accountmanager": "Clara Claton",
                            "currency": "EUR",
                            "tags": [
                                "active"
                            ]
                        }
                    }
                ]
            }
        },
        {
            "hits": {
                "total": {
                    "value": 8
                }
            },
            "aggregations": {
                "product": {
                    "buckets": [
                        {
                            "key": "private loan",
                            "doc_count": 2
                        },
                        {
                            "key": "salary",
                            "doc_count": 2
                        },
                        {
                            "key": "commercial giro",
                            "doc_count": 1
                        },
                        {
                            "key": "housing loan",
                            "doc_count": 1
                        },
                        {
                            "key": "private giro",
                            "doc_count": 1
                        },
                        {
                            "key": "trust",
                            "doc_count": 1
                        }
                    ]
                },
                "currency": {
                    "buckets": [
                        {
                            "key": "eur",
                            "doc_count": 7
                        },
                        {
                            "key": "chf",
                            "doc_count": 1
                        }
                    ]
                },
                "accountmanager": {
                    "buckets": [
                        {
                            "key": "clara claton",
                            "doc_count": 4
                        },
                        {
                            "key": "sarah connor",
                            "doc_count": 3
                        },
                        {
                            "key": "john mcclane",
                            "doc_count": 1
                        }
                    ]
                },
                "businesstype": {
                    "buckets": [
                        {
                            "key": "giro",
                            "doc_count": 5
                        },
                        {
                            "key": "loan",
                            "doc_count": 3
                        }
                    ]
                },
                "tags": {
                    "buckets": [
                        {
                            "key": "active",
                            "doc_count": 7
                        },
                        {
                            "key": "online",
                            "doc_count": 2
                        },
                        {
                            "key": "short-term",
                            "doc_count": 2
                        },
                        {
                            "key": "bullet bond",
                            "doc_count": 1
                        },
                        {
                            "key": "deleted",
                            "doc_count": 1
                        },
                        {
                            "key": "long-term",
                            "doc_count": 1
                        }
                    ]
                }
            }
        },
        {
            "hits": {
                "total": {
                    "value": 1
                },
                "hits": [
                    {
                        "_source": {
                            "tenantnumber": "999",
                            "domain": "Account",
                            "businesstype": "Giro",
                            "name": "Account Overview",
                            "fieldnames": [
                                "iban",
                                "product",
                                "description"
                            ],
                            "fields": [
                                "iban",
                                "prod",
                                "desc"
                            ],
                            "urltemplate": "http://127.0.0.1:5500/example/index.html#overview-{{summaries.accountnumber}}",
                            "defaultsite": true,
                            "creationdate": "2020-10-29",
                            "updatetime": "2021-04-29T08:53:30Z"
                        }
                    }
                ]
            }
        },
        {
            "hits": {
                "total": {
                    "value": 3
                },
                "hits": [
                    {
                        "_source": {
                            "tenantnumber": "999",
                            "domain": "Account",
                            "businesstype": "Giro",
                            "name": "Credit Interests",
                            "fieldnames": [
                                "creditinterest",
                                "bonusinterest"
                            ],
                            "fields": [
                                "crin",
                                "boin"
                            ],
                            "urltemplate": "http://127.0.0.1:5500/example/index.html#creditinterest-{{summaries.accountnumber}}",
                            "creationdate": "2020-10-30",
                            "updatetime": "2021-04-30T09:06:30Z"
                        }
                    },
                    {
                        "_source": {
                            "tenantnumber": "999",
                            "domain": "Account",
                            "businesstype": "Giro",
                            "name": "Debit Interests",
                            "fieldnames": [
                                "debitinterest",
                                "debit interest margin"
                            ],
                            "fields": [
                                "dein",
                                "deim"
                            ],
                            "urltemplate": "http://127.0.0.1:5500/example/index.html#debitinterest-{{summaries.accountnumber}}",
                            "creationdate": "2020-11-07",
                            "updatetime": "2021-04-07T09:06:30Z"
                        }
                    },
                    {
                        "_source": {
                            "tenantnumber": "999",
                            "domain": "Kunde",
                            "name": "Customer Overview",
                            "fieldnames": [
                                "iban",
                                "product",
                                "description"
                            ],
                            "fields": [
                                "iban",
                                "prod",
                                "desc"
                            ],
                            "urltemplate": "http://127.0.0.1:5500/example/index.html#overview-customer-{{details.customernumber}}",
                            "creationdate": "2021-03-31"
                        }
                    }
                ]
            }
        }
    ]
}