---
title: "AggregationWithKeys"
url: "https://developer.migros.ch/apis/stores-api-1/versions/ac41d15e-28a9-459f-b6e0-277ae334d939/schemas/AggregationWithKeys"
---

> Full API specification: https://developer.migros.ch/apis/stores-api-1/versions/ac41d15e-28a9-459f-b6e0-277ae334d939.md

# AggregationWithKeys

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Stores API
  version: "1.0"
servers:
  - url: https://stores-api.intern.migros.net
components:
  schemas:
    AggregationWithKeys:
      properties:
        buckets:
          items:
            properties:
              count:
                type: number
              name:
                type: string
              term:
                properties:
                  key:
                    type: string
                  value:
                    type: string
                required:
                  - key
                  - value
                type: object
            required:
              - term
              - count
              - name
            type: object
          type: array
        name:
          type: string
        other_count:
          type: number
      required:
        - name
        - other_count
        - buckets
      type: object
```
