---
title: "Facet"
url: "https://developer-qual.migros.ch/apis/products-related-8/versions/051741b6-0319-4b5e-b1f1-6bdbc778acb6/schemas/Facet"
---

> Full API specification: https://developer-qual.migros.ch/apis/products-related-8/versions/051741b6-0319-4b5e-b1f1-6bdbc778acb6.md

# Facet

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Products Related
  version: "8"
servers:
  - description: Public Kong Gateway URL
    url: https://api-qual.migros.ch
components:
  schemas:
    FacetTerm:
      properties:
        active:
          description: Whether that facet has been used for the current response or not.
          nullable: true
          type: boolean
        count:
          description: Amount of items with that facet.
          type: integer
        name:
          description: Translated name.
          type: string
        slug:
          nullable: true
          type: string
        term:
          description: Term identifier.
          type: string
      required:
        - term
        - count
      type: object
    Facet:
      properties:
        name:
          description: Name of this facet.
          type: string
        terms:
          description: List of terms.
          items:
            $ref: "#/components/schemas/FacetTerm"
          type: array
      required:
        - name
        - terms
      type: object
```
